gst/gstinfo.h: Those two function declarations do actually belong there, revert commi...
[platform/upstream/gstreamer.git] / ChangeLog
1 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
2
3         * gst/gstinfo.h:
4           Those two function declarations do actually belong there, revert
5           commit from yesterday that turned them intro macros.
6
7 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8
9         Patch by: Josep Torre Valles <josep@fluendo.com>
10
11         * gst/gst.c: (gst_init_get_option_group):
12         Fix empty declaration and type mismatch.
13         * gst/gstbin.c: (gst_bin_change_state_func):
14         Fix type mismatch.
15         * gst/gstelement.c: (gst_element_continue_state),
16         (gst_element_set_state_func), (gst_element_change_state),
17         (gst_element_change_state_func):
18         Fix type mismatches.
19         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
20         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
21         Cast as appropriate.
22         * gst/gstobject.c: (gst_class_signal_connect):
23         Cast as appropriate.  The function pointer parameter really
24         has the wrong type but would break API if we change it.
25         * gst/gstquery.c:
26         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
27         order of including string.h.
28         * gst/gstutils.c: (gst_element_state_get_name):
29         Remove unreachable line.
30         * gst/gstxml.c: (gst_xml_parse_doc):
31         Fix type mismatch.
32         All these caught by Forte.
33
34 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
35
36         Patch by: Josep Torre Valles <josep@fluendo.com>
37
38         * common/m4/gst-error.m4:
39         Fixed bug #360151.
40         We need to disable warnings on Forte for empty declarations
41         due to gst-indent adding ;s to lines that just use macros
42         where the macro actually doesn't need a ; at end to end
43         statement.
44
45 2006-10-06  Wim Taymans  <wim@fluendo.com>
46
47         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
48         (gst_file_sink_close_file), (gst_file_sink_event),
49         (gst_file_sink_render):
50         Add some FIXME for the NEWSEGMENT handling.
51
52 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
53
54         * gst/parse/grammar.y:
55         Remove static function gst_parse_element_lock as all it does
56         is return.  Looks like cruft from 0.8.
57
58 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
59
60         Patch by: Josep Torre Valles <josep@fluendo.com>
61
62         * common/m4/gst-error.m4:
63         * configure.ac:
64         * libs/gst/net/Makefile.am:
65         Fix a compilation issue with Forte on Solaris.  inet_aton is in
66         libresolv.
67
68 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
69
70         * gst/gstpad.c: (pre_activate):
71         * gst/gstregistry.c: (gst_registry_scan_path_level):
72         * gst/gstregistryxml.c: (load_plugin):
73         * libs/gst/controller/gstcontroller.c:
74         (gst_controlled_property_set_interpolation_mode):
75         * libs/gst/dataprotocol/dataprotocol.c:
76         (gst_dp_packet_from_event_1_0):
77         * libs/gst/net/gstnetclientclock.c:
78         (gst_net_client_clock_observe_times):
79         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
80           Printf fixes.
81
82 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
83
84         * configure.ac:
85         * docs/gst/gstreamer-sections.txt:
86         * gst/gstconfig.h.in:
87         * gst/gstelement.h:
88         * gst/gstinfo.h:
89           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
90           whether we can use G_GNUC_PRINTF in other header files and at
91           least check the printf format/arguments of debug messages and
92           GST_ELEMENT_ERROR messages when the printf extension is not
93           being used.
94           Replace more tabs with spaces in gstinfo.h and remove two spurious
95           function declarations in GST_DISABLE_DEBUG part with macros.
96
97 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
98
99         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
100           More docs for the sync-message signal (mention that it is not
101           emitted by default); log message structures of messages posted on
102           the bus as well.
103
104 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
105
106         * gst/gst.c: (ensure_current_registry_forking):
107         Use a pipe pair to receive status results from the forked child, and
108         ignore the result from waitpid. Fixes #355499
109
110 2006-10-02  Wim Taymans  <wim@fluendo.com>
111
112         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
113         (gst_ghost_pad_suite):
114         Fix leak in check.
115
116 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
117
118         * gst/gstpad.c:
119           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
120
121 2006-10-02  Edward Hervey  <edward@fluendo.com>
122
123         * docs/design/part-block.txt:
124         Further explain the use of flushing on blocked pads.
125         * docs/gst/gstreamer-sections.txt:
126         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
127         (gst_pad_push_event):
128         * gst/gstpad.h:
129         Added new GstPadFlag : GST_PAD_BLOCKING.
130         Adds the notion of pads really blocking, which enables to properly
131         handle FLUSH_START/FLUSH_STOP events on blocked pads.
132         Fixes #358999
133         API: gst_pad_is_blocking()
134         API: GST_PAD_IS_BLOCKING() macro
135         API: GST_PAD_BLOCKING GstPadFlag
136         
137 2006-10-02  Wim Taymans  <wim@fluendo.com>
138
139         Patch by: mrcgran <mrc.gran at gmail dot com>
140
141         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
142         Filter the proxied caps against the padtemplate if we have one.
143
144         * gst/gstquery.c: (gst_query_new_segment):
145         Add include for gstinfo.h so that compilation with
146         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
147
148 2006-10-02  Wim Taymans  <wim@fluendo.com>
149
150         Patch by: Alessandro Decina  <alessandro at nnva org>
151
152         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
153         (gst_file_sink_set_location), (gst_file_sink_open_file),
154         (gst_file_sink_close_file), (gst_file_sink_event),
155         (gst_file_sink_render):
156         Set file to NULL when closing filesink so that we can set a new filename
157         in READY. Fixes #358613.
158
159 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
160
161         Patch by: Alessandro Decina  <alessandro at nnva org>
162
163         * gst/gstevent.c: (_gst_event_copy):
164           Fix gst_mini_object_make_writable() and gst_event_copy() for events
165           with event structures by setting the parent refcount address of the
166           copied structure to the address of the refcount member of the newly
167           copied event rather than the address of the refcount member of the
168           original event. Fixes #358737.
169
170         * tests/check/gst/gstevent.c: (GST_START_TEST):
171           Unit test for the above.
172
173 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
174
175         * docs/design/Makefile.am:
176           Dist some more files.
177
178 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
179
180         * tests/check/libs/controller.c: (GST_START_TEST),
181         (gst_controller_suite):
182           Add test for the previous fix; add some more tests
183           for correct refcounting behaviour; fix a few leaks
184           in test cases; call gst_controller_init() at start
185           of all tests.
186
187 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
188
189         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
190         (gst_controller_set_from_list):
191           Don't g_return_val_if_fail() on timed values with invalid timestamps
192           inside a critical section without unlocking the mutex. Spotted by
193           René Stadler. (#357617)
194           Also, fix up refcounting properly: when returning an existing
195           controller, we should increase the reference only once and not
196           once per property and when trying to control a property again
197           we should also increase the refcount.
198
199 2006-09-29  Wim Taymans  <wim@fluendo.com>
200
201         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
202         * libs/gst/net/gstnettimeprovider.c:
203         (gst_net_time_provider_thread):
204         Stop reading commands when EOF as well.
205
206         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
207         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
208         * plugins/elements/gstidentity.c: (gst_identity_class_init):
209         Unify description of the dump property.
210
211 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
212
213         * tests/examples/manual/.cvsignore:
214         OK, so it's actually cvsignore that needs changing. Stop laughing.
215
216 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
217
218         * tests/examples/manual/Makefile.am:
219         Gah, declare vars *before* using them
220
221 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
222
223         * gst/gst.c: (init_pre), (scan_and_update_registry),
224         (ensure_current_registry_nonforking),
225         (ensure_current_registry_forking), (ensure_current_registry),
226         (init_post), (gst_debug_help), (gst_deinit):
227         * gst/gst_private.h:
228         * gst/gstregistry.c: (gst_registry_finalize),
229         (gst_registry_remove_features_for_plugin_unlocked),
230         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
231         (gst_registry_scan_path),
232         (_priv_gst_registry_remove_cache_plugins),
233         (_priv_gst_registry_cleanup):
234         * gst/gstregistry.h:
235         Re-commit the registry changes, along with an extra fix:
236           When a cached plugin is encountered at a different file path,
237           update the stored path in the registry cache so that the parent
238           process knows where it actually is now when it re-reads the registry
239           cache. Fixes the thing that broke distcheck with the previous commit.
240
241         * tests/check/Makefile.am:
242         Clean up files named 'core' too when running make clean.
243
244         * tests/examples/manual/Makefile.am:
245         Set up a registry path for running these tests, and clean it properly
246         for distcheck.
247
248 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
249
250         * configure.ac:
251         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
252         want gmodule-no-export-2.0.pc instead so that we don't drag in
253         --export-dynamic on every project that links to GStreamer.
254
255         Also, make our export regex only match the start of symbols, rather 
256         than any symbol that contains '_gst' somewhere.
257
258         * libs/gst/check/Makefile.am:
259         The libgstcheck we build does however need export-dynamic, as it
260         produces some symbols that don't match our _gst... style regex.
261         Fixes: #318031
262
263 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
264
265         * gst/gst.c: (init_pre), (scan_and_update_registry),
266         (ensure_current_registry_nonforking),
267         (ensure_current_registry_forking), (ensure_current_registry),
268         (init_post), (gst_debug_help), (gst_deinit):
269         * gst/gst_private.h:
270         * gst/gstregistry.c: (gst_registry_finalize),
271         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
272         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
273         (_gst_registry_cleanup):
274         * gst/gstregistry.h:
275           Revert previous change until I figure out why it breaks distcheck.
276
277 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
278
279         * gst/gst.c: (init_pre), (scan_and_update_registry),
280         (ensure_current_registry_nonforking),
281         (ensure_current_registry_forking), (ensure_current_registry),
282         (init_post), (gst_debug_help), (gst_deinit):
283
284           Make init_pre and init_post take the full complement of GOptionFunc
285           args so they can return useful GErrors. Make the registry updating
286           functions do so.
287
288           Call _priv_gst_registry_remove_cache_plugins after scanning files to
289           ensure that the registry we're about to write out doesn't contain
290           stale information about old-deleted plugin files.
291
292           Make _priv_gst_registry_remove_cache_plugins return a boolean so
293           that deletion of plugin files is considered a registry change.
294
295         * gst/gst_private.h:
296         * gst/gstregistry.c: (gst_registry_finalize),
297         (gst_registry_remove_features_for_plugin_unlocked),
298         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
299         (gst_registry_scan_path),
300         (_priv_gst_registry_remove_cache_plugins),
301         (_priv_gst_registry_cleanup):
302         * gst/gstregistry.h:
303         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
304         by adding _priv prefix, so that they won't appear in the global
305         symbol table. They still do atm though because of #318031. Move the
306         prototypes to gst_private.h
307
308         When removing a plugin, remove all features for that plugin too. 
309         Fixes #340878.
310
311 2006-09-27  Wim Taymans  <wim@fluendo.com>
312
313         * docs/random/moving-plugins:
314         Make it clear that the "compiled-in descriptions" really mean
315         the element details.
316
317         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
318         (gst_base_sink_wait_preroll):
319         Update docs.
320
321         * docs/libs/gstreamer-libs-sections.txt:
322         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
323         (gst_base_src_get_range), (gst_base_src_activate_push):
324         * libs/gst/base/gstbasesrc.h:
325         Added function to block while waiting for PLAYING, this function
326         is used by live sources that block on the clock.
327         API: gst_base_src_wait_playing()
328
329 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
330
331         Patch by: Peter Kjellerstedt <pkj at axis com>
332
333         * Makefile.am:
334           gst-element-check.m4 is generated and should therefore be
335           copied from the build dir rather than the source dir (#357593).
336           'make distcheck' hasn't noticed this because we were disting
337           the file as well, so stop doing that.
338
339 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
340
341         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
342           Add some tests for gst_caps_intersect().
343
344         * tools/gst-launch.c: (event_loop):
345           Print all buffering percentages we get, even the 100% one.
346
347 2006-09-26  Wim Taymans  <wim@fluendo.com>
348
349         * tools/gst-inspect.c: (print_element_properties_info),
350         (print_signal_info):
351         Fix printing of flags to match the look of enums.
352
353 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
354
355         * gst/gstelementfactory.c:
356           Fix typo in docs blurb.
357
358 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
359
360         * gst/gsturi.c: (search_by_entry):
361           Don't assert/crash here if a uri handler doesn't return any
362           supported protocols. The list of protocols could be generated
363           dynamically at runtime or at plugin registration, and an error
364           in the underlying library shouldn't be fatal (#353301).
365
366 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
367
368         * gst/gstinfo.c:
369           Fix warning if HAVE_PRINTF_EXTENSION is undefined
370           (spotted by Peter Kjellerstedt).
371
372 2006-09-23  Wim Taymans  <wim@fluendo.com>
373
374         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
375
376         * libs/gst/base/gstbasesrc.c:
377         (gst_base_src_default_check_get_range), (gst_base_src_start),
378         (gst_base_src_activate_push), (gst_base_src_activate_pull),
379         (gst_base_src_change_state):
380         Match _start/_stop calls in the activate functions. Remove redundant
381         _stop call from the state change function. Fixes #356910.
382         Turn failure DEBUG into ERROR. 
383
384 2006-09-22  Wim Taymans  <wim@fluendo.com>
385
386         * docs/design/part-buffering.txt:
387         * gst/gstmessage.c: (gst_message_new_buffering),
388         (gst_message_parse_buffering):
389         Update docs about buffering.
390
391         * docs/design/part-trickmodes.txt:
392         Fix typo.
393
394 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
395
396         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
397         (gst_controller_new_list):
398           Ref instances when returning them again (fixes #357180)
399
400 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
401
402         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
403           Don't forget to release proxy lock when there's an error.
404
405 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
406
407         * gst/gstcaps.h:
408           Add extra initialisers for Caps things, to fix some plugin warnings
409           when using -Wextra
410
411 2006-09-18  Wim Taymans  <wim@fluendo.com>
412
413         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
414           Also set template on the internal pad so that a getcaps from the 
415           target pad returns the template caps.
416
417 2006-09-18  Wim Taymans  <wim@fluendo.com>
418
419         * gst/gstelement.c: (gst_element_post_message),
420         (gst_element_dispose):
421         Use _DEBUG_OBJECT some more.
422
423         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
424         Avoid typechecks.
425
426         * tools/gst-launch.c: (main):
427         If the toplevel element is not a GstPipeline, it must be put in a
428         pipeline so that a bus and clock is selected.
429
430 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
431
432         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
433           JITTER, RATE, and LATENCY query should be handled by the
434           default case and not by the CONVERT query code.
435
436 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
437
438         * gst/gstformat.c: (gst_format_register):
439           Fix locking order (must take lock before using n_values).
440
441         * gst/gstvalue.c: (gst_value_serialize_enum),
442         (gst_value_deserialize_enum_iter_cmp),
443         (gst_value_deserialize_enum):
444           Fix serialisation/deserialisation of custom registered GstFormats.
445
446         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
447           Unit test for custom format serialisation/deserialisation.
448
449 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
450
451         * docs/pwg/building-boiler.xml:
452         * plugins/elements/gstcapsfilter.c:
453         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
454         section.
455
456 2006-09-16  Edward Hervey  <edward@fluendo.com>
457
458         * libs/gst/base/gstbasetransform.c:
459         (gst_base_transform_buffer_alloc):
460         Check if requested caps are the same as the sinks caps IF
461         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
462         is FALSE.
463         This fixes the renegotiation issues stated in #352827.
464
465 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
466
467         * configure.ac:
468         * docs/manual/advanced-autoplugging.xml:
469         * tests/examples/Makefile.am:
470         * tests/examples/manual/.cvsignore:
471         * tests/examples/manual/Makefile.am:
472         * tests/examples/manual/extract.pl:
473           Extract the manual examples again like we used to do.
474           Fix one of them.
475
476 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
477
478         * win32/common/config.h:
479           update for version
480
481 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
482
483         * gst/gsterror.c:
484           Documents how to receive errors.
485
486 2006-09-15  Wim Taymans  <wim@fluendo.com>
487
488         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
489         (event_loop), (main):
490         Added some comments here and there.
491         Post an application message when an interrupt is caught instead of doing
492         an uncontrolled state change.
493         Clean up the event loop.
494         Handle buffering messages, pause/resume the pipeline.
495         Make shutdown because of an interrupt more reliable.
496
497 2006-09-15  Wim Taymans  <wim@fluendo.com>
498
499         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
500         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
501         (gst_base_sink_preroll_object):
502         Make sure that our internal state is correct when we commit our state
503         asynchronously. This solves a race where a state change to PLAYING
504         could cause the sink to remain blocked in preroll in some situations.
505
506 2006-09-15  Wim Taymans  <wim@fluendo.com>
507
508         * tools/gst-inspect.c: (print_element_properties_info),
509         (print_signal_info):
510         List flags as hex so it's easier to deal with.
511
512 2006-09-15  Wim Taymans  <wim@fluendo.com>
513
514         * docs/libs/gstreamer-libs-sections.txt:
515         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
516         (gst_base_sink_do_sync):
517         * libs/gst/base/gstbasesink.h:
518         Expose logic to wait for preroll so that subclasses such as audiosink
519         can also use this method.
520         API: gst_base_sink_wait_preroll()
521
522 2006-09-15  Wim Taymans  <wim@fluendo.com>
523
524         * gst/gstobject.c: (gst_object_set_parent):
525         * gst/gstpipeline.c: (do_pipeline_seek):
526         Small cleanups in docs and code.
527
528         * gst/gstsegment.c: (gst_segment_clip):
529         * tests/check/gst/gstsegment.c: (GST_START_TEST):
530         if stop == start and start is in the segment, no clipping should be
531         done. Also add a test for this.
532
533 2006-09-15  Wim Taymans  <wim@fluendo.com>
534
535         * docs/design/part-buffering.txt:
536         * docs/gst/gstreamer-sections.txt:
537         * gst/gstmessage.c: (gst_message_new_buffering),
538         (gst_message_parse_buffering):
539         * gst/gstmessage.h:
540         Added methods to create and parse BUFFERING messages.
541         Added preliminary docs about buffering.
542         API: gst_message_new_buffering
543         API: gst_message_parse_buffering
544
545 2006-09-06  Wim Taymans  <wim@fluendo.com>
546
547         * gst/gstbin.c:
548         Update documentation.
549
550         * gst/gstelement.c: (gst_element_class_init),
551         (gst_element_release_request_pad), (gst_element_set_clock),
552         (gst_element_get_index), (gst_element_add_pad),
553         (gst_element_remove_pad), (gst_element_get_random_pad),
554         (gst_element_send_event), (gst_element_get_query_types),
555         (gst_element_query), (gst_element_post_message),
556         (gst_element_message_full), (gst_element_continue_state),
557         (gst_element_lost_state), (gst_element_save_thyself),
558         (gst_element_restore_thyself):
559         Documentation updates.
560         Rename last bit of the new-pad -> pad-added signal rename.
561         Fix the case where an element query would only work if the source
562         pad was linked.
563         Avoid some useless type checking in message handling.
564
565         * gst/gstevent.c:
566         * gst/gstevent.h:
567         * gst/gstutils.c:
568         Documentation updates.
569
570 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
571
572         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
573           add an INFO line for when we actually update the fd
574
575 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
576
577         * configure.ac:
578           back to TRUNK
579
580 === release 0.10.10 ===
581
582 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
583
584         * configure.ac:
585           releasing 0.10.10, "Pais"
586
587 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
588
589         * docs/manual/advanced-position.xml:
590           Fix typo in sample code.
591
592 2006-09-05  Wim Taymans  <wim@fluendo.com>
593
594         * libs/gst/net/gstnetclientclock.c: (inet_aton),
595         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
596         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
597         * libs/gst/net/gstnetclientclock.h:
598         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
599         * libs/gst/net/gstnettimepacket.h:
600         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
601         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
602         (gst_net_time_provider_thread), (gst_net_time_provider_new):
603         * libs/gst/net/gstnettimeprovider.h:
604         Make stuff compile on windows. Fixes #345295.
605
606 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
607
608         * gst/gst.c: (ensure_current_registry_forking):
609           Print better details when child was terminated by signal.
610
611 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
612
613         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
614           Print a warning rather than g_assert() if a plugin feature
615           is a URI handler but returns no protocols (#353976).
616
617 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
618
619         * docs/random/moving-plugins:
620         Fix two typos.         
621
622 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
623
624         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
625           Fix locking order, handle NULL function values properly.
626
627         * gst/gstinfo.h:
628           Fix docs.
629
630         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
631           Initialise variable before using it and fix debug statement to
632           print the address of the function rather than the address of the
633           variable on the stack holding the address of the function.
634
635 2006-09-01  Wim Taymans  <wim@fluendo.com>
636
637         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
638         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
639         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
640         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
641         (gst_ghost_pad_parent_unset),
642         (gst_ghost_pad_internal_do_activate_push),
643         (gst_ghost_pad_internal_do_activate_pull),
644         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
645         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
646         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
647         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
648         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
649         (gst_ghost_pad_new_no_target_from_template),
650         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
651         More cleanups.
652         Avoid needless typechecking in macros.
653         Since the internal pad is always present and never changes, there is
654         no need to locking or ref when retrieving it.
655         Improve debugging a bit.
656         Handle link errors when setting the target. Fixes #341029.
657
658 2006-09-01  Wim Taymans  <wim@fluendo.com>
659
660         * docs/libs/gstreamer-libs-sections.txt:
661         * docs/plugins/gstreamer-plugins-sections.txt:
662         Fix docs some more.
663
664         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
665         (gst_collect_pads_event):
666         * libs/gst/base/gstcollectpads.h:
667         Documentation updates.
668         Free queued buffer when removing a pad.
669
670 2006-08-31  Michael Smith  <msmith@fluendo.com>
671
672         * gst/gstutils.c: (gst_element_link_pads),
673         (gst_element_link_pads_filtered):
674           Ensure that we set a capsfilter to NULL if we failed to link it
675           when doing filtered linking, to avoid criticals.
676
677           No need to check for unreffing srcpad, which is explicly NULLed
678           above (a trivial code cleanup).
679
680 2006-08-31  Wim Taymans  <wim@fluendo.com>
681
682         * docs/design/part-gstghostpad.txt:
683         Update ascii art in documentation.
684
685         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
686         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
687         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
688         (gst_ghost_pad_internal_do_activate_push),
689         (gst_ghost_pad_internal_do_activate_pull),
690         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
691         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
692         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
693         (gst_ghost_pad_set_target):
694         Small cleanups and leak fixes.
695         Remove some checks now that the internal pad is never NULL.
696         Fix the case where linking pads without a target would create nasty
697         criticals. Fixes #341029.
698         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
699         value of _set_target().
700
701         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
702         (gst_ghost_pad_suite):
703         Some more tests for creating and linking untargeted ghostpads.
704
705 2006-08-31  Edward Hervey  <edward@fluendo.com>
706
707         * docs/gst/gstreamer-sections.txt:
708         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
709         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
710         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
711         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
712         (gst_ghost_pad_new_from_template),
713         (gst_ghost_pad_new_no_target_from_template):
714         * gst/gstghostpad.h:
715         Refactored *_new() functions.
716         Templates are now used as a g_object_new() parameter.
717         Use template in _do_getcaps() if we don't have a target.
718         Small documentation cleanups.
719         Added two new constructors:
720         gst_ghost_pad_new_from_template()
721         gst_ghost_pad_new_no_target_from_template()
722         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
723         (gst_ghost_pad_suite):
724         Added tests for new ghostpad instanciation functions.
725
726         API additions: gst_ghost_pad_new_from_template,
727         gst_ghost_pad_new_no_target_from_template
728
729 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
730
731         * docs/random/ensonic/profiling.txt:
732           Ideas about qos profiling.
733
734 2006-08-29  Wim Taymans  <wim@fluendo.com>
735
736         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
737         Code cleanups.
738         Fix memleak.
739
740 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
741
742         * gst/gstxml.c:
743           Improve and detypofy docs.
744
745         * tests/check/Makefile.am:
746         * tests/check/gst/.cvsignore:
747         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
748           Add a basic test suite for GstXML.
749
750 2006-08-29  Wim Taymans  <wim@fluendo.com>
751
752         * gst/gstelement.c: (activate_pads), (clear_caps),
753         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
754         Clear the pad caps when the element shut down all of the pads and
755         is not streaming data that could modify the caps. 
756         Fixes #352958.
757
758 2006-08-28  Michael Smith  <msmith@fluendo.com>
759
760         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
761           Revert previous change; I misunderstood single-segment mode.
762
763 2006-08-28  Michael Smith  <msmith@fluendo.com>
764
765         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
766           Unset DISCONT on buffers when using single-segment mode.
767
768 2006-08-28  Wim Taymans  <wim@fluendo.com>
769
770         * gst/gstcaps.c: (gst_caps_merge_structure):
771         * gst/gstcaps.h:
772         Fix docs and indentation again.
773
774         * tests/check/gst/gstquery.c: (GST_START_TEST):
775         Fix leak in tests and add some more tests.
776
777 2006-08-28  Edward Hervey  <edward@fluendo.com>
778
779         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
780         Inform GstSegment of the last stop position in order for the current
781         segment to have a proper duration if it doesn't have a specific stop
782         position from which a duration could be calculated.
783         This bug was noticeable when a non-flushing, non-update new segment was
784         followed by another segment (all buffers from the new segment were being
785         dropped).
786
787 2006-08-28  Wim Taymans  <wim@fluendo.com>
788
789         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
790         Small comment update.
791
792         * plugins/elements/gstidentity.c: (gst_identity_class_init),
793         (gst_identity_transform_ip):
794         Drop-probability is broken, mention this in the code with a 
795         FIXME and also in the property description.
796         Make silent also be silent about the drop messages.
797
798 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
799
800         * docs/manual/appendix-win32.xml:
801           Remove mention of popt, we don't depend on that any
802           longer (#353136). Add some comments pointing out that
803           this section is slightly outdated.
804
805 2006-08-28  Wim Taymans  <wim@fluendo.com>
806
807         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
808
809         * gst/gstquery.c: (gst_query_new_segment):
810         * tests/check/gst/gstquery.c: (GST_START_TEST):
811         Initialize variables when creating a new segment query.
812         Fixes #353121.
813
814 2006-08-28  Wim Taymans  <wim@fluendo.com>
815
816         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
817
818         * gst/gstelement.c: (gst_element_get_bus):
819         * tests/check/gst/gstelement.c: (GST_START_TEST):
820         Check for NULL before _reffing the bus. Fixes #353122.
821
822 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
823
824         * docs/manual/basics-bus.xml:
825           Docs update: fix wrong callback return value explanation; add
826           some lines about the implicit relationship between main loop
827           and main context; remove duplicate main loop variable declaration.
828
829 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
830
831         * tests/check/gst/gstcaps.c: (GST_START_TEST):
832           Don't leak caps in unit test; add a few more simple
833           checks. 
834
835 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
836
837         * docs/gst/gstreamer-sections.txt:
838         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
839         (gst_caps_structure_is_subset), (gst_caps_merge),
840         (gst_caps_merge_structure):
841         * gst/gstcaps.h:
842         * libs/gst/base/gstbasetransform.c:
843         (gst_base_transform_transform_caps):
844         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
845           implement caps merging (fixes #352580)
846
847 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
848
849         * tools/Makefile.am:
850         * tools/gst-plot-timeline.py:
851           add debug-log plotting developer tool (#340674)
852
853 2006-08-23  Wim Taymans  <wim@fluendo.com>
854
855         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
856         (gst_pad_stop_task):
857         Improve debugging for task functions.
858
859         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
860         (gst_task_start), (gst_task_pause), (gst_task_join):
861         Make sure that the task function started and finished after a 
862         join(). 
863         Don't try to push the task function on the threadpool multiple
864         times.
865         Improve the g_warning message with some useful suggestions
866         about how to fix the problem. 
867
868 2006-08-23  Wim Taymans  <wim@fluendo.com>
869
870         * gst/gstutils.c: (gst_pad_proxy_getcaps):
871         Handle RESYNC correctly in _proxy_getcaps.
872
873 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
874
875         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
876         (gst_xml_parse_memory), (gst_xml_get_element):
877           Chain up to parent class in dispose function and also
878           unref the elements in the toplevel_elements GList.
879           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
880           Always return a reference in gst_xml_get_element() rather
881           than only sometimes.
882
883         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
884           Don't leak GstXml object.
885
886 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
887
888         * docs/gst/gstreamer-sections.txt:
889         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
890         (gst_caps_merge):
891         * gst/gstcaps.h:
892         * libs/gst/base/gstbasetransform.c:
893         (gst_base_transform_transform_caps):
894           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
895           in a better way
896
897 2006-08-21  Edward Hervey  <edward@fluendo.com>
898
899         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
900         Implement GObject::dispose virtual method in GstXML so we can free the
901         top_elements GList.
902
903 2006-08-21  Wim Taymans  <wim@fluendo.com>
904
905         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
906         (gst_buffer_create_sub):
907         Copy duration/offset_end/caps when creating a subbuffer of the
908         complete parent.
909         Make the subbuffer read-only when we make the metadata writable for
910         now. Fixes #351768.
911
912         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
913         Added check for metadata copy when creating subbuffers.
914
915 2006-08-21  Edward Hervey  <edward@fluendo.com>
916
917         * libs/gst/base/gstbasetransform.c:
918         (gst_base_transform_buffer_alloc):
919         Only call downstream buffer_alloc if transform element is passthrough
920         or always_in_place. Closes #350449.
921
922 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
923
924         * ChangeLog:
925           ChangeLog surgery to add comments to previous changes
926
927 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
928
929         * gst/gst.c:
930           Add comments
931
932         * gst/gstpad.c: (gst_pad_set_active):
933           Be more verbose in the log
934
935         * libs/gst/base/gstbasetransform.c:
936         (gst_base_transform_transform_caps):
937           Simplify caps to get rid of duplicates, fixes #345444
938
939 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
940
941         * gst/gstvalue.c:
942         * gst/gstvalue.h:
943           Use these optimizations only internally.
944
945 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
946
947         * gst/gstvalue.c: (gst_value_compare_list),
948         (gst_value_compare_fraction_range),
949         (gst_value_intersect_fraction_fraction_range),
950         (gst_value_intersect_fraction_range_fraction_range),
951         (gst_value_subtract_fraction_fraction_range),
952         (gst_value_subtract_fraction_range_fraction_range),
953         (gst_value_get_compare_func), (gst_value_compare),
954         (gst_value_compare_with_func):
955         * gst/gstvalue.h:
956           Saves the expensive lookup of the compare function in many cases
957          (#345444)
958
959 2006-08-18  Edward Hervey  <edward@fluendo.com>
960
961         * tests/check/gst/gstinfo.c: (gst_info_suite):
962         Disable test that require gstdebug if it wasn't built in core.
963
964 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
965
966         * docs/random/ensonic/logging.txt:
967           update ideas
968           
969         * gst/gstinfo.c: (gst_debug_log_default):
970           reorder fields, save some columns, add optional color codes for log
971           levels
972
973 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
974
975         * docs/random/ensonic/logging.txt:
976           add ideas about making the logs a bit more useful
977
978 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
979
980         * docs/pwg/advanced-events.xml:
981         * docs/pwg/titlepage.xml:
982           Update for 0.10 API (#340627). Add myself
983           to authors list.
984
985 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
986
987         * docs/libs/gstreamer-libs-docs.sgml:
988         * docs/libs/gstreamer-libs-sections.txt:
989         * libs/gst/check/gstbufferstraw.c:
990           Make gstcheck stuff show up in docs (still needs to
991           be documented properly though).
992
993 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
994
995         * docs/gst/gstreamer-sections.txt:
996         * gst/Makefile.am:
997         * gst/gst.c: (init_post):
998         * gst/gst_private.h:
999         * gst/gstquark.c: (_priv_gst_quarks_initialize):
1000         * gst/gstquark.h:
1001         * gst/gstquery.c: (gst_query_new_position),
1002         (gst_query_set_position), (gst_query_parse_position),
1003         (gst_query_new_duration), (gst_query_set_duration),
1004         (gst_query_parse_duration), (gst_query_new_convert),
1005         (gst_query_set_convert), (gst_query_parse_convert),
1006         (gst_query_new_segment), (gst_query_set_segment),
1007         (gst_query_parse_segment), (gst_query_new_seeking),
1008         (gst_query_set_seeking), (gst_query_parse_seeking):
1009         Add internal helpers for pre-registering quarks from static strings
1010         and using the quark values directly instead of looking them up when
1011         creating and parsing queries. Can be used for event construction too.
1012         Closes #350432.
1013
1014 2006-08-16  Wim Taymans  <wim@fluendo.com>
1015
1016         * gst/gstbin.c:
1017         Fix bogus docs.
1018
1019 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
1020
1021         * gst/gstutils.c: (gst_util_set_value_from_string):
1022           Fix memleak (#351502).
1023
1024         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1025           Add unit test for most of gst_util_set_value_from_string()
1026           (not that one would want to encourage use of this function).
1027
1028 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
1029
1030         * libs/gst/check/gstcheck.h:
1031           Use const gchar * variables in fail_unless_equals_string
1032           macro to avoid compiler warnings (and don't use tabs for
1033           indenting).
1034
1035 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
1036
1037         * tools/gst-launch.c: (print_tag):
1038           More space on the left for the tag names, to cater
1039           for the 'extended comment' tag (not touching the
1040           string for the first line since it's translated).
1041
1042 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
1043
1044         * libs/gst/check/gstcheck.h:
1045           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
1046           print something when they fail.
1047
1048 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
1049
1050         * docs/gst/gstreamer-sections.txt:
1051         * gst/gsttaglist.c: (_gst_tag_initialize):
1052         * gst/gsttaglist.h:
1053           API: add GST_TAG_EXTENDED_COMMENT (#350935).
1054           Also change merge function for GST_TAG_COMMENT to
1055           use_first.
1056
1057 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
1058
1059         * gst/gstinfo.c: (gst_debug_print_object):
1060           Make GST_PTR_FORMAT print messages as well.
1061
1062         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
1063         (GST_START_TEST), (gst_info_suite):
1064           More tests.
1065
1066 2006-08-14  Edward Hervey  <edward@fluendo.com>
1067
1068         * gst/gstelementfactory.c: (gst_element_register):
1069         If the GstElementClass doesn't have a GstElementDetails with all fields
1070         filled up correctly (longname, description AND author), then error out
1071         nicely instead of crashing.
1072
1073 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
1074
1075         * gst/gststructure.c:
1076           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
1077
1078         * gst/gstvalue.h:
1079           Expand on the difference between arrays and lists as we use them.
1080           
1081 2006-08-14  Wim Taymans  <wim@fluendo.com>
1082
1083         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1084         If the parent state change function failed, don't assume we can safely
1085         stop the source, this will be done when the pads are deactivated.
1086
1087 2006-08-14  Wim Taymans  <wim@fluendo.com>
1088
1089         * gst/gstbuffer.c:
1090         * gst/gsttask.c: (gst_task_join):
1091         Small doc updates.
1092
1093         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
1094         (gst_pad_stop_task):
1095         When pad (de)activation failed for some reason, restore the old
1096         activation mode and set the pad to flushing instead of assuming the
1097         pad is deactivated.
1098         If the _task_join() failed, reinstall the task on the pad so that it can
1099         be stopped later and return an error.
1100
1101 2006-08-11  Andy Wingo  <wingo@pobox.com>
1102
1103         * configure.ac:
1104         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1105         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
1106         is only for users of API that don't want to see deprecated
1107         functions in the headers; people that want to compile out
1108         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
1109         CFLAGS. Fixes the build of multifdsink, or will soon..
1110
1111 2006-08-11  Wim Taymans  <wim@fluendo.com>
1112
1113         * docs/gst/gstreamer-sections.txt:
1114         Add GstClockClass vmethod docs.
1115
1116         * gst/gstcaps.h:
1117         Mark #endif with comment for associated #if
1118
1119         * gst/gstclock.c: (gst_clock_id_wait):
1120         * gst/gstclock.h:
1121         Add vmethod wait_jitter to avoid an unneeded _get_time() for
1122         most clock implementations.
1123         Document vmethods.
1124         Flesh out docs about resolution methods.
1125         API: GstClockClass::wait_jitter
1126
1127         * gst/gstsystemclock.c: (gst_system_clock_class_init),
1128         (gst_system_clock_async_thread),
1129         (gst_system_clock_id_wait_jitter_unlocked),
1130         (gst_system_clock_id_wait_jitter):
1131         Use base class wait_jitter variant for improved performance
1132         due to less clock polling.
1133
1134 2006-08-11  Edward Hervey  <edward@fluendo.com>
1135
1136         * gst/gst.c: (gst_init_check), (init_post):
1137         Set gst as being initialized before scanning/updating the registry,
1138         since there might be my python plugin loader that calls gst_init() and
1139         we don't want to loop back in.
1140         Closes #350879
1141
1142 2006-08-11  Wim Taymans  <wim@fluendo.com>
1143
1144         * docs/design/part-qos.txt:
1145         Bring docs in line with the code. Mostly the sign of the jitter was
1146         wrong in the docs. Fixes #349943.
1147
1148         * gst/gstclock.c:
1149         Fix the docs for the jitter.
1150
1151         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
1152         (gst_event_parse_tag), (gst_event_new_buffer_size),
1153         (gst_event_parse_buffer_size), (gst_event_parse_qos),
1154         (gst_event_new_seek), (gst_event_parse_seek),
1155         (gst_event_new_navigation):
1156         Make sure the GstStructure has no parent when creating custom
1157         events.
1158         Add some more argument checking so that we avoid 0.0 rates.
1159         Flesh out the docs for the QoS event some more.
1160
1161 2006-08-11  Wim Taymans  <wim@fluendo.com>
1162
1163         * docs/gst/gstreamer-sections.txt:
1164         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1165         (ensure_current_registry_forking), (ensure_current_registry),
1166         (parse_one_option), (parse_goption_arg), (gst_deinit),
1167         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
1168         * gst/gst.h:
1169         Doc updates.
1170         Added API and command line option to disable registry forking in
1171         addition to the environment variable.
1172         Constify some static arrays.
1173         Added some more debug.
1174         Don't deinit twice.
1175         API: gst_registry_fork_is_enabled()
1176         API: gst_registry_fork_set_enabled()
1177         API: --gst-disable-registry-fork command line option
1178         Fixes #348918.
1179
1180 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
1181
1182         * gst/gst.c: (gst_init):
1183           Fix typo in error message.
1184
1185 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
1186
1187         * libs/gst/controller/gstcontroller.h:
1188           fix ABI size-correction
1189
1190         * tests/check/libs/gdp.c: (gst_dp_suite):
1191           make tests that use deprecated API conditional
1192
1193 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
1194
1195         * docs/libs/gstreamer-libs-sections.txt:
1196         * libs/gst/controller/gstcontroller.c:
1197         (_gst_controller_get_property), (_gst_controller_set_property),
1198         (_gst_controller_init), (_gst_controller_class_init):
1199         * libs/gst/controller/gstcontroller.h:
1200         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
1201         (gst_object_set_control_rate):
1202           API: add gst_object_{s,g}et_control_rate(), add private data section,
1203           fix docs
1204
1205         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1206         * libs/gst/dataprotocol/dataprotocol.h:
1207           add deprecation guards to make gtk-doc happy and allow disabling cruft
1208
1209 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
1210
1211         * tests/check/Makefile.am:
1212         * tests/check/gst/.cvsignore:
1213           Let's enable the new unit test as well.
1214
1215 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
1216
1217         * configure.ac:
1218         * docs/gst/gstreamer-sections.txt:
1219         * gst/gstconfig.h.in:
1220         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
1221         (_gst_info_printf_extension_ptr),
1222         (_gst_info_printf_extension_segment):
1223           API: add GST_SEGMENT_FORMAT, which is a printf extension we
1224           register that lets us easily dump GstSegments into debug
1225           logs (#350419).
1226
1227         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
1228         (info_segment_format_printf_extension), (gst_info_suite):
1229           Add simple unit test that logs a bunch of different segments (not
1230           valgrinded at the moment because of leaks in
1231           gst_debug_add_log_function).
1232
1233 2006-08-09  Edward Hervey  <edward@fluendo.com>
1234
1235         * libs/gst/base/gstbasetransform.c:
1236         (gst_base_transform_buffer_alloc):
1237         Even if we can't figure out the proper format to request downstream,
1238         call buffer_alloc() downstream with the input parameters without setting
1239         the caps on the srcpad. This will force negotiation in the chain
1240         function.
1241         Closes #350449
1242
1243 2006-08-08  Edward Hervey  <edward@fluendo.com>
1244
1245         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
1246         Unlinking from a pad without a target is now a perfectly valid case
1247         which should NOT raise an assertion.
1248         This case would happen if a linked ghostpad its target set to NULL after
1249         it was previously linked.
1250
1251 2006-08-08  Edward Hervey  <edward@fluendo.com>
1252
1253         * tests/check/libs/gdp.c:
1254         Also comment out the test (see below).
1255
1256 2006-08-08  Edward Hervey  <edward@fluendo.com>
1257
1258         * tests/check/libs/gdp.c: (gst_dp_suite):
1259         Use the architecture information from config.h and not gcc macros
1260         in order to properly disable a test that fails on PPC64.
1261
1262 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
1263
1264         * gst/gstelement.c: (gst_element_remove_pad):
1265           Don't crash printing the warning if the pad has no parent.
1266
1267 2006-08-02  Wim Taymans  <wim@fluendo.com>
1268
1269         * libs/gst/dataprotocol/dataprotocol.c:
1270         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
1271         (gst_dp_crc), (gst_dp_header_payload_length),
1272         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
1273         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
1274         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
1275         (gst_dp_event_from_packet), (gst_dp_validate_header),
1276         (gst_dp_validate_payload):
1277         Make debug category static
1278         Constify the crc table.
1279         Do some more arg checking in public functions.
1280         Fix some docs and do some small cleanups.
1281
1282         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
1283         Add some more checks to see if GDP deals with bogus input.
1284
1285 2006-07-31  Wim Taymans  <wim@fluendo.com>
1286
1287         * gst/gstvalue.c: (gst_value_compare_list):
1288         Fix GstValueList comparison code. Fixes #347293.
1289
1290         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1291         Check to test GstValueList comparison.
1292
1293 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1294
1295         * gst/gstelementfactory.c: (gst_element_factory_create):
1296         Remove unnecessary ref/unref pair
1297
1298         * gst/parse/grammar.y:
1299         Make sure to free the parse buffer on all code paths.
1300         Move a g_free up to the error handler where it's easier to see.
1301
1302         * tests/check/gst/gstevent.c: (test_event):
1303         Extending timeout for downstream travelling events to 10 seconds to
1304         hopefully avoid intermittent failure on the buildbots.
1305
1306         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
1307         Don't manually set the state of the src element - it will happen as a
1308         natural consequence of the pipeline changing state, and that way it
1309         will do it in the right order too.
1310
1311 2006-07-31  Wim Taymans  <wim@fluendo.com>
1312
1313         * libs/gst/base/gstbasetransform.c:
1314         (gst_base_transform_buffer_alloc):
1315         Use OBJECT_LOCK and refcounting to get the pad caps in the
1316         buffer_alloc function because the caps could change while we are
1317         busy with them. Fixes #349105
1318
1319 2006-07-31  Wim Taymans  <wim@fluendo.com>
1320
1321         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
1322         Protect _PAD_CAPS with OBJECT_LOCK.
1323
1324 2006-07-31  Wim Taymans  <wim@fluendo.com>
1325
1326         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
1327         (gst_pad_get_property), (gst_pad_activate_pull),
1328         (gst_pad_activate_push), (gst_pad_set_blocked_async),
1329         (gst_pad_set_activate_function),
1330         (gst_pad_set_activatepull_function),
1331         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
1332         (gst_pad_set_getrange_function),
1333         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
1334         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
1335         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
1336         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
1337         (gst_pad_set_acceptcaps_function),
1338         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
1339         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
1340         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
1341         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
1342         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
1343         (gst_pad_configure_sink), (gst_pad_configure_src),
1344         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
1345         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
1346         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
1347         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
1348         (gst_pad_send_event):
1349         Use _DEBUG_OBJECT when it makes sense.
1350         Protect GST_PAD_CAPS with the OBJECT_LOCK.
1351         Small cleanups and code reflows.
1352         Avoid caps refcounting in _accept_caps.
1353         Refactor alloc_buffer so that the code performed on the peer is in a
1354         separate function. Also if the pad does not implement a buffer alloc
1355         function, we should still check if the pad is flushing before falling
1356         back to the default allocator.
1357
1358 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1359
1360         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1361         Make all uses of identity and fakesink have silent=true to avoid
1362         serialising every passing data structure, which is breaking tests
1363         on FC4 for some unknown reason.
1364
1365 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
1366
1367         * gst/parse/Makefile.am:
1368         * gst/parse/grammar.y:
1369         * gst/parse/parse.l:
1370           Reverted previous patch as it required to bump the flex dependency to
1371           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
1372
1373 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
1374
1375         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
1376
1377         * gst/parse/Makefile.am:
1378         * gst/parse/grammar.y:
1379         * gst/parse/parse.l:
1380           push & pop the state of the lexer for reentrant use case
1381           Fixes #349180
1382
1383 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
1384
1385         * libs/gst/base/gstbasesrc.h:
1386           Note in the docs that the ::newsegment vfunc is not actually used by
1387           GstBaseSrc.
1388
1389 2006-07-28  Wim Taymans  <wim@fluendo.com>
1390
1391         * libs/gst/base/gstcollectpads.c:
1392         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
1393         (gst_collect_pads_clear), (gst_collect_pads_flush),
1394         (gst_collect_pads_event), (gst_collect_pads_chain):
1395         When flushing a pad, also clear the queued buffer so that we don't
1396         accidentally use it when we shouldn't.
1397         Fix leaks by inreffing incomming buffer.
1398         Flush out queued buffers in case of errors.
1399         Fixes #347452.
1400
1401 2006-07-28  Wim Taymans  <wim@fluendo.com>
1402
1403         * docs/random/phonon-gst:
1404         Random notes about a Phonon backend.
1405
1406 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
1407
1408         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
1409         Extra debug output
1410         * tests/check/libs/gdp.c: (gst_dp_suite):
1411         Take a whack at fixing the ppc compile using a different define to
1412         disable the broken test.
1413
1414         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1415         Remove excess g_print()
1416
1417 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
1418
1419         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
1420         Oops, meant to uncomment this line too to dampen the noise a bit.
1421
1422 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
1423
1424         * gst/parse/grammar.y:
1425         * gst/parse/parse.l:
1426         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1427         (GST_START_TEST), (parse_suite):
1428         Fix some of the leaks exposed by extending the parse-launch testsuite,
1429         and move the 3 I can't figure out into a separate test that won't run
1430         the pipelines unless the appropriate line is uncommented.
1431
1432 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
1433
1434         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1435           Requesting 0 bytes before the end of the file should result in
1436           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
1437           unit test.
1438
1439 2006-07-27  Wim Taymans  <wim@fluendo.com>
1440
1441         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
1442         Fix useless assert, a uint is always positive.
1443
1444         * gst/gststructure.c: (gst_structure_nth_field_name),
1445         (gst_structure_foreach), (gst_structure_map_in_place):
1446         Check input arguments for public functions to avoid obvious crashes.
1447
1448         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
1449         * plugins/elements/gstfakesink.h:
1450         Do less useless typechecking.
1451
1452 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
1453
1454         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1455           Do not use mmap() by default since there are a number of error
1456           conditions that we would like to handle in a non-fatal way that
1457           will result in a SIGBUS if we use mmap(). Examples: external
1458           devices (USB harddrive, portable music player) being unplugged
1459           while in use; file on mounted CD/DVD that can't be read because
1460           the medium is partly damaged. Fixes #348455 and #348475.
1461
1462 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
1463
1464         * gst/gstquery.h:
1465         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
1466         rates are a gdouble
1467
1468 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
1469
1470         * gst/gstregistry.c:
1471           Move big documentation comment into class section header, so that it
1472           appears in the API docs.
1473
1474 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1475
1476         * docs/gst/gstreamer-sections.txt:
1477         Oops. Commit the docs additions too for new API.
1478         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
1479
1480 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1481
1482         * gst/gststructure.c: (gst_structure_id_set),
1483         (gst_structure_id_set_valist):
1484         * gst/gststructure.h:
1485         Add API for setting values into structures without performing
1486         a quark lookup, if the appropriate quark is already known.
1487
1488         API: gst_structure_id_set
1489         API: gst_structure_id_set_valist
1490
1491         * gst/parse/grammar.y:
1492         * gst/parse/parse.l:
1493         Remove some dead code shown by the coverage information.
1494         Don't throw a critical g_warning when encountering a syntax error,
1495         just warn and let the normal error path handle it.
1496
1497         * plugins/elements/gstelements.c:
1498         Bump the rank of filesink up to PRIMARY so that it is preferred over
1499         gnomevfssink for file:// sink uri's
1500
1501         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1502         (GST_START_TEST), (run_delayed_test),
1503         (gst_parse_test_element_base_init),
1504         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
1505         (gst_parse_test_element_change_state),
1506         (gst_register_parse_element), (parse_suite):
1507         Beef up the tests for parse syntax to check that more error cases
1508         fail as they are supposed to. Increases the test coverage a bit.
1509
1510 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1511
1512         * docs/manual/basics-elements.xml:
1513           Fix gst_element_link() example.
1514
1515         * gst/gstutils.c:
1516           Mention in API docs that one should usually gst_bin_add()
1517           elements to a bin or pipeline before doing the linking.
1518           
1519 2006-07-26  Wim Taymans  <wim@fluendo.com>
1520
1521         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
1522         (gst_subbuffer_get_type), (gst_buffer_create_sub):
1523         Avoid function call for known types by keeping the buffer and
1524         subbuffer GType global.
1525
1526         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1527         Random silly optimisations in read() path.
1528
1529 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1530
1531         * tools/gst-launch.c: (main):
1532           If the top-level of the parse is a normal bin, it doesn't do the
1533           right logic to run as a top-level element, so place it inside a
1534           pipeline.
1535
1536 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
1537
1538         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
1539           Remove superfluous g_object_notify() calls, GObject does
1540           that for us automatically.
1541
1542 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
1543
1544         * gst/gstinfo.h:
1545           on Win32, use dllspec to export the debug category symbols
1546
1547 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
1548
1549         * gst/gsttaglist.c: (_gst_tag_initialize):
1550           Allow more than one GST_TAG_IMAGE per taglist.
1551
1552 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1553
1554         * gst/gstminiobject.c:
1555           update docs
1556         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
1557         (gst_fd_src_create):
1558           log recurring events at LOG level
1559           add more debug for when the fd gets set
1560
1561 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
1562
1563         * gst/gstparse.c: (gst_parse_launch):
1564           Also remove reentrance checks if flex is MT safe (#348179)
1565          Fix my empty ChangeLog entry below
1566
1567 2006-07-21  Andy Wingo  <wingo@pobox.com>
1568
1569         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
1570
1571         * libs/gst/check/Makefile.am
1572         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
1573         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
1574         * libs/gst/check/gstbufferstraw.h:
1575         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
1576         functions, thus proving I am still a GStreamer haxor. OK I wrote
1577         them a long time ago, but anyways.
1578
1579 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
1580
1581         * configure.ac:
1582         * gst/gstparse.c: (gst_parse_launch):
1583           Check for flex version and omit mutex if we have a MT save flex
1584           (fixes #348179)
1585
1586 2006-07-21  Wim Taymans  <wim@fluendo.com>
1587
1588         * gst/gstparse.c: (gst_parse_launch):
1589         Protect recursive calls to _parse with a recursive mutex
1590         and busy flag.
1591
1592 2006-07-21  Wim Taymans  <wim@fluendo.com>
1593
1594         * tests/check/gst/gstpad.c: (GST_START_TEST):
1595         Fix leak in test.
1596
1597 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
1598
1599         * gst/gstparse.c: (gst_parse_launch):
1600           Do not hang on recursive usage of gst_parse_launch()
1601
1602 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
1603
1604         * gst/gsttaglist.c:
1605           Add some more docs, comments and FIXME 0.11s here and there
1606           and also fix some typos.
1607
1608 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
1609
1610         * gst/gstsegment.h:
1611           Convert tabs to spaces for better readability. 
1612
1613 2006-07-20  Edward Hervey  <edward@fluendo.com>
1614
1615         * tests/check/libs/gdp.c: (gst_dp_suite):
1616         the test_buffer test fails at line 140 on ppc64 at the following
1617         check:
1618         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
1619                 GST_BUFFER_FLAG_IN_CAPS),
1620                 "GST_BUFFER_IN_CAPS flag should have been copied !");
1621         See bug #348114 for more details.
1622
1623 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
1624
1625         * docs/pwg/advanced-scheduling.xml:
1626         * gst/gstpad.c:
1627           Fix typos (#348000).
1628
1629 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
1630
1631         * docs/pwg/intro-basics.xml:
1632           Fix wrong links (#347927).
1633
1634 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
1635
1636         * gst/gstregistry.h:
1637         * gst/gstregistryxml.c: (load_feature),
1638         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1639         * win32/common/config.h:
1640           make --disable-index work (#342564)
1641
1642 2006-07-18  Wim Taymans  <wim@fluendo.com>
1643
1644         Patch by: Peter Kjellerstedt <pkj at axis dot com>
1645
1646         * gst/Makefile.am:
1647         * gst/gsttrace.h:
1648         The attached patch adds two missing defines to gsttrace.h when tracing
1649         is disabled.  It also corrects one existing define.
1650         Fixes #347756.
1651
1652 2006-07-17  Wim Taymans  <wim@fluendo.com>
1653
1654         * docs/gst/gstreamer-sections.txt:
1655         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
1656         * gst/gst.h:
1657         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
1658         Add two functions to check and change the SIGSEGV behaviour
1659         when loading plugins.
1660         Don't mess with the SIGSEGV handler when we were told not to.
1661         Fixes #347794.
1662         API: gst_segtrap_is_enabled
1663         API: gst_segtrap_set_enabled
1664
1665 2006-07-14  Wim Taymans  <wim@fluendo.com>
1666
1667         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1668         * tests/check/elements/filesrc.c: (GST_START_TEST):
1669         Revert fix for regression in #347408 after release.
1670
1671 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
1672
1673         Patch by: Antoine Tremblay <hexa00 at gmail com>
1674
1675         * gst/gstutils.c: (gst_element_unlink):
1676           Free iterator when done (#347311).
1677
1678         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1679           And add a test case for this.
1680
1681 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
1682
1683         * configure.ac:
1684         Bump nano back to CVS
1685
1686 === release 0.10.9 ===
1687
1688 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
1689
1690         * configure.ac:
1691           releasing 0.10.9, "On the road again"
1692
1693 2006-07-13  Wim Taymans  <wim@fluendo.com>
1694
1695         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1696         * tests/check/elements/filesrc.c: (GST_START_TEST):
1697         Revert pull-0 fix for release. Disable check. Fixes #347408.
1698
1699 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1700
1701         * libs/gst/dataprotocol/dataprotocol.c:
1702         (gst_dp_event_from_packet_1_0):
1703           Fixes #347337: failure to deserialize event packets with
1704           empty payload (only event type)
1705
1706 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1707
1708         * gst/Makefile.am:
1709           do not install a .c file in the header directory
1710
1711 2006-07-13  Edward Hervey  <edward@fluendo.com>
1712
1713         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
1714         GhostPad no longer implicitely use the padtemplates of the targets.
1715         Fixes #347384
1716
1717 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
1718
1719         * gst/gstvalue.c: (gst_value_compare_list),
1720         (gst_value_compare_array), (_gst_value_initialize):
1721         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1722         Make GstValueArray comparison be order dependent as designed.
1723         Add checks for value lists and value array comparisons.
1724         Fixes #347221
1725
1726 2006-07-11  Edward Hervey  <edward@fluendo.com>
1727
1728         * gst/gstbin.c: (activate_pads),
1729         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
1730         (gst_bin_change_state_func):
1731         (de)activate src pads before calling state_change on the childs.
1732         This is to avoid the case where a src ghostpad is blocked (holding the
1733         stream lock), which would block the deactivation of the ghostpad's
1734         target pad.
1735         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
1736         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
1737         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
1738         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
1739         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
1740         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
1741         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
1742         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
1743         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
1744         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
1745         (gst_ghost_pad_class_init),
1746         (gst_ghost_pad_internal_do_activate_push),
1747         (gst_ghost_pad_internal_do_activate_pull),
1748         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1749         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1750         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
1751         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
1752         GhostPads now create their internal GstProxyPad at creation (and not
1753         when they're linked, as it was being done previously).
1754         The internal and target pads are linked straight away.
1755         The data will also travel through the other pad in order to make
1756         pad blocking and probes non-hackish (the probe/block now really happens
1757         on the GhostPad and not on the target).
1758         * gst/gstpad.c: (gst_pad_set_blocked_async),
1759         (gst_pad_link_prepare), (gst_pad_push_event):
1760         Remove previous ghostpad cruft.
1761         * gst/gstutils.c: (gst_pad_add_data_probe),
1762         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
1763         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
1764         (gst_pad_remove_buffer_probe):
1765         Remove previous ghost pad cruft.
1766         Added more detailed debug statements.
1767         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1768         Fix the testsuite for refcounting changes.
1769         The comments about who has references were correct, but the refcount
1770         being checked wasn't the same (!?!).
1771
1772         Fixes #341029
1773
1774 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
1775
1776         * docs/gst/gstreamer-sections.txt:
1777         * gst/gstconfig.h.in:
1778         More docs for configuration options, add docs to gtk-doc.
1779
1780 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
1781
1782         * gst/Makefile.am:
1783         * gst/gstconfig.h.in:
1784         * win32/common/config.h:
1785         Fix build when disabling tracing (fixes #344016). Also start to document
1786         the defines that disable the sub-systems.
1787
1788 2006-07-10  Edward Hervey  <edward@fluendo.com>
1789
1790         * gst/gst.c: (ensure_current_registry_forking):
1791         let's make valgrind happy...
1792
1793 2006-07-09  Wim Taymans  <wim@fluendo.com>
1794
1795         * gst/gstelement.c: (activate_pads),
1796         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
1797         Better pad activation code: Reset the collect value too on resync.
1798         Add some comments.
1799
1800 2006-07-09  Wim Taymans  <wim@fluendo.com>
1801
1802         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
1803         (gst_pad_activate_push):
1804         Use some more macros where it makes sense.
1805         Allow pad mode switching instead of asserting. When a pad
1806         is activated in one mode and we activate it in another, 
1807         deactivate it first before activating it in a different mode.
1808         Fixes #329198.
1809
1810 2006-07-08  Andy Wingo  <wingo@pobox.com>
1811
1812         * tools/gst-launch.c (main): Handle err == NULL.
1813
1814         * gst/gst.c (init_post, ensure_current_registry)
1815         (ensure_current_registry_forking)
1816         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
1817         factoring out the registry scanning into separate functions. Don't
1818         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
1819         Better environment var name/interface suggestions accepted.
1820
1821 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1822
1823         * gst/gstobject.c: (gst_object_set_name_default),
1824         (gst_object_set_name):
1825           Random micro-optimisation: don't use a hash table
1826           with strings as keys and the usual strdup/strcmp
1827           involved, but rather just use the GQuark of the
1828           type name as key, since it needs to be looked up
1829           anyway to get the type name string.
1830
1831         * tests/check/gst/gstobject.c: (GST_START_TEST):
1832           Fix various leaks.
1833
1834 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1835
1836         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
1837         (gst_bin_iterate_all_by_interface):
1838           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
1839           GTypes are gulongs and thus the top 4 bytes might be cut
1840           off on some platforms when doing GPOINTER_TO_INT, leading
1841           to invalid GTypes and bad things happening (see RH bug #179654).
1842           Also add a check to make sure the type passed in is really
1843           an interface type.
1844
1845 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1846
1847         * .cvsignore:
1848           Ignore more.
1849
1850 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1851
1852         * Makefile.am:
1853         * configure.ac:
1854         * gst-element-check.m4:
1855         * gst-element-check.m4.in:
1856           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
1857           instead of the unversioned gst-inspect (#324176, #168659).
1858
1859 2006-07-06  Wim Taymans  <wim@fluendo.com>
1860
1861         * gst/gstmessage.h:
1862         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
1863         warnings.
1864
1865 2006-07-06  Wim Taymans  <wim@fluendo.com>
1866
1867         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1868         (gst_base_src_wait), (gst_base_src_update_length),
1869         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
1870         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
1871         (gst_base_src_loop), (gst_base_src_start),
1872         (gst_base_src_activate_pull):
1873         Update docs.
1874         blocksize == 0 now means the default blocksize when working in push
1875         based mode.
1876         Remove some pointless asserts in _wait function.
1877         Fix offset/length calculations and EOS handling. We can now pull 0
1878         bytes as well, which is allowed.
1879         use _check_get_range() to decide if we can operate in _pull based
1880         mode.
1881         Fix refcounting leak when check_get_range function was not 
1882         implemented.
1883         API GstBaseSrc::blocksize range can be 0 too now (default)
1884
1885         * tests/check/elements/filesrc.c: (GST_START_TEST),
1886         (filesrc_suite):
1887         Added check to test _get_range() behaviour.
1888
1889 2006-07-06  Wim Taymans  <wim@fluendo.com>
1890
1891         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
1892         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
1893         (gst_pad_pull_range):
1894         * gst/gstpad.h:
1895         Lots of comments and docs added to the pad functions.
1896         Flesh out the expected behaviour of the get_range() functions.
1897
1898 2006-07-06  Wim Taymans  <wim@fluendo.com>
1899
1900         * gst/gstbus.h:
1901         * gst/gstclock.h:
1902         * gst/gstevent.h:
1903         * gst/gstiterator.h:
1904         * gst/gstpad.h:
1905         * gst/gstplugin.h:
1906         * gst/gsttask.h:
1907         Remove comma at end of enumerator list. 
1908
1909 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
1910
1911         * win32/common/libgstbase.def:
1912         * win32/common/libgstdataprotocol.def:
1913         * win32/common/libsgtreamer.def:
1914         Add new exported functions.
1915
1916 2006-07-05  Wim Taymans  <wim@fluendo.com>
1917
1918         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
1919         Add some more docs here and there.
1920
1921 2006-07-05  Wim Taymans  <wim@fluendo.com>
1922
1923         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
1924         (gst_base_sink_loop), (gst_base_sink_get_position):
1925         When operating in pull mode update the offset so that we
1926         read sequentially.
1927
1928 2006-07-05  Wim Taymans  <wim@fluendo.com>
1929
1930         * gst/gstregistryxml.c: (read_string):
1931         Avoid strdup. (will happen in libxml, but hey!)
1932
1933         * gst/gsturi.c:
1934         Add some more docs.
1935
1936 2006-07-05  Wim Taymans  <wim@fluendo.com>
1937
1938         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
1939         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1940         (gst_buffer_suite):
1941         No point in checking if the size of the subbuffer > 0, the
1942         code handles it correclty as demonstrated by unit test.
1943         Also add a unit test for the zero sized _new_and_alloc and
1944         _copy. Fixes #346663.
1945
1946 2006-07-05  Wim Taymans  <wim@fluendo.com>
1947
1948         * libs/gst/base/gstbasetransform.c:
1949         (gst_base_transform_prepare_output_buffer),
1950         (gst_base_transform_buffer_alloc),
1951         (gst_base_transform_handle_buffer):
1952         Make sure the buffer we pass to transform_ip has a refcount of
1953         1 and thus is writable. Fixes #343196
1954
1955 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
1956
1957         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
1958         (gst_file_src_init), (gst_file_src_set_property),
1959         (gst_file_src_get_property), (gst_file_src_map_region):
1960         * plugins/elements/gstfilesrc.h:
1961         Add "sequential" property, off by default, to use madvise and hint
1962         to the kernel that sequential access is desired.
1963         Touch all retrieved pages by default to ensure they are pulled
1964         into memory. (Closes #345720)
1965
1966 2006-07-03  Wim Taymans  <wim@fluendo.com>
1967
1968         * docs/design/part-block.txt:
1969         * docs/design/part-dynamic.txt:
1970         Small docs updates.
1971
1972 2006-07-03  Wim Taymans  <wim@fluendo.com>
1973
1974         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
1975         (gst_caps_unref), (gst_static_caps_get),
1976         (gst_caps_append_structure):
1977         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1978         Use GSlice when the glib we build against is >= 2.10
1979
1980 2006-07-03  Wim Taymans  <wim@fluendo.com>
1981
1982         * gst/gstelement.c: (gst_element_pads_activate):
1983         Small cleanup in pad activation code.
1984
1985 2006-07-03  Wim Taymans  <wim@fluendo.com>
1986
1987         Patch by: Peter Kjellerstedt <pkj at axis dot com>
1988
1989         * gst/gst-i18n-app.h:
1990         * gst/gst-i18n-lib.h:
1991         * tools/gst-inspect.c: (print_signal_info):
1992         The attached patch will make the inclusion of gettext.h unconditional in
1993         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
1994         libintl.h in tools/gst-inspect.c.
1995         This allows use of --disable-nls again and fixes #344642.
1996
1997 2006-07-03  Edward Hervey  <edward@fluendo.com>
1998
1999         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
2000         Implement pad blocking on events according to part-block.txt.
2001         More comments on behaviour.
2002         * tests/check/gst/gstevent.c: (test_event):
2003         Send event to peer pad of blocked pad (else it will block).
2004
2005 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2006
2007         * libs/gst/check/gstcheck.c: (gst_check_message_error),
2008         (gst_check_run_suite):
2009           if we get the wrong message, give us the types as string
2010         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2011           Fix a translatable
2012         * tests/check/elements/filesrc.c: (GST_START_TEST):
2013           add a test for trying to open a non-existing file
2014
2015 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2016
2017         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2018           add a test for adding self
2019
2020 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2021
2022         * libs/gst/check/gstcheck.h:
2023           add some assert_ as alias for fail_unless_*
2024         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
2025           increase test coverage
2026
2027 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2028
2029         * Makefile.am:
2030           include lcov.mak for lcov coverage generation
2031         * tools/Makefile.am:
2032           add to CLEANFILES
2033
2034 2006-07-02  Edward Hervey  <edward@fluendo.com>
2035
2036         * tests/check/elements/.cvsignore:
2037         moaping
2038
2039 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2040
2041         * configure.ac:
2042           don't set CFLAGS and friends for gcov, done from GST_GCOV now
2043         * tests/check/Makefile.am:
2044           clean up gcov files
2045
2046 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2047
2048         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
2049           remove gst_caps_simplify; it was not declared and not used
2050           and deprecated in 0.8
2051
2052 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2053
2054         * docs/faq/gst-uninstalled:
2055           don't put empty paths on PYTHONPATH
2056         * docs/gst/gstreamer-sections.txt:
2057           remove some symbols that are not there
2058
2059 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2060
2061         * gst/gstcaps.c: (gst_caps_compare_structures):
2062           whitespace fixes
2063         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2064         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2065           add more tests
2066
2067 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2068
2069         * libs/gst/dataprotocol/Makefile.am:
2070           build dataprotocol test by linking to the lib, instead of
2071           compiling the source, so we get coverage
2072         * tests/check/Makefile.am:
2073         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
2074         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
2075           add a test for filesrc
2076
2077 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2078
2079         * tests/check/gst/gststructure.c: (GST_START_TEST),
2080         (gst_structure_suite):
2081           Push coverage from 59.04% to 70.00%
2082
2083 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2084
2085         * tests/check/Makefile.am:
2086           gst-inspect every element; this makes sure that we also get
2087           coverage on element's get/set functions
2088
2089 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2090
2091         * configure.ac:
2092           set CFLAGS and friends to -O0 if gcov is being used
2093           add GCOV LIBS
2094         * gst/Makefile.am:
2095         * libs/gst/base/Makefile.am:
2096         * libs/gst/check/Makefile.am:
2097         * libs/gst/controller/Makefile.am:
2098         * libs/gst/dataprotocol/Makefile.am:
2099         * libs/gst/net/Makefile.am:
2100         * plugins/elements/Makefile.am:
2101         * plugins/indexers/Makefile.am:
2102           add makefile rules to generate gcov data and clean up
2103         * tests/check/Makefile.am:
2104           add a coverage target that generates an html overview
2105           of coverage data
2106
2107 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2108
2109         * tests/check/elements/fakesink.c:
2110         * tests/check/elements/fakesrc.c:
2111         * tests/check/elements/fdsrc.c:
2112         * tests/check/elements/identity.c:
2113         * tests/check/generic/sinks.c: (gst_sinks_suite):
2114         * tests/check/generic/states.c:
2115         * tests/check/gst/gst.c:
2116         * tests/check/gst/gstabi.c:
2117         * tests/check/gst/gstbin.c:
2118         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
2119         * tests/check/gst/gstbus.c: (gst_bus_suite):
2120         * tests/check/gst/gstcaps.c: (GST_START_TEST):
2121         * tests/check/gst/gstelement.c:
2122         * tests/check/gst/gstevent.c: (gst_event_suite):
2123         * tests/check/gst/gstghostpad.c:
2124         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
2125         * tests/check/gst/gstmessage.c: (gst_message_suite):
2126         * tests/check/gst/gstminiobject.c:
2127         * tests/check/gst/gstobject.c:
2128         * tests/check/gst/gstpad.c:
2129         * tests/check/gst/gstpipeline.c:
2130         * tests/check/gst/gstplugin.c:
2131         * tests/check/gst/gstquery.c: (gst_query_suite):
2132         * tests/check/gst/gstsegment.c: (gst_segment_suite):
2133         * tests/check/gst/gststructure.c:
2134         * tests/check/gst/gstsystemclock.c:
2135         * tests/check/gst/gsttag.c:
2136         * tests/check/gst/gsttask.c: (gst_task_suite):
2137         * tests/check/gst/gstutils.c:
2138         * tests/check/gst/gstvalue.c:
2139         * tests/check/libs/adapter.c:
2140         * tests/check/libs/basesrc.c:
2141         * tests/check/libs/collectpads.c:
2142         * tests/check/libs/controller.c:
2143         * tests/check/libs/gdp.c: (gst_dp_suite):
2144         * tests/check/libs/gstnetclientclock.c:
2145         * tests/check/libs/gstnettimeprovider.c:
2146         * tests/check/libs/libsabi.c: (libsabi_suite):
2147         * tests/check/libs/typefindhelper.c:
2148         * tests/check/pipelines/cleanup.c:
2149         * tests/check/pipelines/parse-launch.c:
2150         * tests/check/pipelines/simple-launch-lines.c:
2151         * tests/check/pipelines/stress.c: (stress_suite):
2152           use the new macro
2153
2154 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2155
2156         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
2157         * libs/gst/check/gstcheck.h:
2158           create a macro and function so that the simple unit test
2159           case can be just one macro to create main()
2160
2161 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
2162
2163         * gst/gstbin.c: (gst_bin_restore_thyself):
2164         * gst/gstxml.c: (gst_xml_make_element):
2165           Fix deserialisation from XML. Set parent manually
2166           instead of using gst_bin_add(), since gst_bin_add()
2167           will unlink all pads of the element being added.
2168           Fixes #341667.
2169
2170 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
2171
2172         Patch by: Peter Kjellerstedt <pkj at axis com>
2173
2174         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
2175           Fix missing g_strdup() and double free when using the
2176           --gst-plugin-load command line option (#346097).
2177
2178 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
2179
2180         * gst/gstinfo.c:
2181           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
2182
2183         * libs/gst/net/gstnetclientclock.c:
2184         * libs/gst/net/gstnettimeprovider.c:
2185           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
2186
2187 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
2188
2189         * docs/manual/advanced-dataaccess.xml:
2190           Fix buffer probe example compilation in
2191           ADM (#345708).
2192         
2193 2006-06-22  Edward Hervey  <edward@fluendo.com>
2194
2195         * gst/gstelement.c: (gst_element_pads_activate):
2196         We need to deactivate src pads first and then sink pads.
2197         The reason is the src pads might be blocking while holding the streaming
2198         lock, so we need to deactivate them first so that deactivating the sink
2199         pads doesn't block (since it will require the streaming lock).
2200
2201 2006-06-22  Wim Taymans  <wim@fluendo.com>
2202
2203         * libs/gst/base/gstbasetransform.c:
2204         (gst_base_transform_buffer_alloc):
2205         Forgot to remove two unneeded unrefs.
2206         Simplify a check _is_equal allready checks the obvious case.
2207
2208 2006-06-22  Wim Taymans  <wim@fluendo.com>
2209
2210         * docs/design/part-block.txt:
2211         Some docs about what pad_block should do.
2212
2213 2006-06-22  Wim Taymans  <wim@fluendo.com>
2214
2215         * gst/gstcaps.c: (gst_caps_replace):
2216         Fix crasher when passed NULL. Doc clarification.
2217         Optimize for the trivial case.
2218
2219         * gst/gstpipeline.c: (gst_pipeline_change_state):
2220         Small cleanups.
2221
2222         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2223         Small documentation cleanup.
2224
2225         * libs/gst/base/gstbasetransform.c:
2226         (gst_base_transform_buffer_alloc):
2227         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
2228         is what we need and it avoids a whole lot of redundant 
2229         refcount operations.
2230
2231 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
2232
2233         Patch by: Philip Jägenstedt  <philip at lysator liu se>
2234
2235         * docs/manual/advanced-dataaccess.xml:
2236           Fix 'Embedding static elements' section to use
2237           GST_PLUGIN_DEFINE_STATIC (#345607).
2238
2239 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2240
2241         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
2242           Attempt to 'fix' spuriously failing test case: it seems like the
2243           timeout of half a second is simply too small when the system is under
2244           load otherwise, and the timeout doesn't really seem to serve any
2245           particular purpose here. Give the pipeline a few seconds to preroll
2246           first, and then give it another half a second to go from PAUSED to
2247           PLAYING and marshal the message into the main thread.
2248
2249 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2250
2251         * tools/gst-feedback-m.m:
2252           Don't only use unversioned tools, try versioned tools as well
2253           (#345086).
2254
2255 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2256
2257         * gst/gstbus.c: (gst_bus_class_init):
2258           Fix some typos, make docs more explicit.
2259
2260 2006-06-20  Wim Taymans  <wim@fluendo.com>
2261
2262         * tests/check/gst/gstghostpad.c: (block_callback),
2263         (GST_START_TEST), (gst_ghost_pad_suite):
2264         Added some more ghostpad tests, mainly blocking
2265         and probes.
2266
2267 2006-06-16  Wim Taymans  <wim@fluendo.com>
2268
2269         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2270         (gst_file_sink_close_file), (gst_file_sink_do_seek),
2271         (gst_file_sink_event), (gst_file_sink_render):
2272         * plugins/elements/gstfilesink.h:
2273         Check if we can seek in the file instead of assuming
2274         we always can. Post an error when we are asked to seek in a
2275         non-seekable file (like a fifo). Fixes #343312.
2276         Some cleanups.
2277
2278 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
2279
2280         * tools/gst-launch.1.in:
2281           Un-garble (fourcc) bit in filtered caps section.
2282
2283 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
2284
2285         * docs/manual/advanced-autoplugging.xml:
2286         * docs/manual/basics-helloworld.xml:
2287         * docs/manual/highlevel-components.xml:
2288           Don't leak bus reference in sample code.
2289
2290 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
2291
2292         * autogen.sh:
2293           Add default for new --enable-plugin-docs switch.
2294
2295         * configure.ac:
2296           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
2297           Fixes #344039.
2298
2299         * docs/Makefile.am:
2300           Use new ENABLE_PLUGIN_DOCS conditional.
2301
2302 2006-06-14  Wim Taymans  <wim@fluendo.com>
2303
2304         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
2305         Make it clear with a FIXME and a real define what the #if 0
2306         previously disabled.
2307
2308 2006-06-14  Wim Taymans  <wim@fluendo.com>
2309
2310         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2311         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2312         * libs/gst/base/gstbasetransform.c:
2313         (gst_base_transform_sink_eventfunc):
2314         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
2315         Don't randomly and silently reset a segment when the format 
2316         changes as this is a bug somewhere upstream. Fixes #330379.
2317
2318 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2319
2320         Patch by: Wouter Paesen  <wouter at kangaroot net>
2321
2322         * libs/gst/controller/gstcontroller.c:
2323         (gst_controlled_property_new):
2324           Fix controlling of float properties (#344849).
2325
2326         * tests/check/libs/controller.c:
2327         (gst_test_mono_source_get_property),
2328         (gst_test_mono_source_set_property),
2329         (gst_test_mono_source_class_init), (GST_START_TEST):
2330           While we're at it, add some float stuff to unit test.
2331
2332 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2333
2334         * docs/README:
2335         * docs/images/gdp-header.svg:
2336           add a gdp image
2337         * docs/libs/Makefile.am:
2338         * docs/libs/gdp-header.png:
2339         * libs/gst/dataprotocol/dataprotocol.c:
2340           add it to the API docs
2341         * docs/manual/intro-motivation.xml:
2342           fix typo
2343
2344 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
2345
2346         * gst/gst.c: (scan_and_update_registry), (init_post):
2347           If the fork()'ed child process can't write the updated registry cache
2348           file to disk for some reason, make it exit with a failure exit code,
2349           so that the parent can then re-scan the plugins itself and update the
2350           registry structures in memory and work with that (rather than failing
2351           when creating elements because seemingly no plugins are available).
2352           Refactor registry scanning code into separate function for this and
2353           also separate fork() and non-fork() code paths. Fixes #344748.
2354
2355 2006-06-13  Wim Taymans  <wim@fluendo.com>
2356
2357         * docs/manual/advanced-dataaccess.xml:
2358         Fix wrong PluginDesc. Fixes #344755.
2359
2360 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
2361
2362         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2363           Fix silly bug that prevented us from creating
2364           ~/.gstreamer-0.10 and writing the registry in one
2365           go (the first call to g_mkstemp() would overwrite the
2366           placeholder in the template string, so the second call
2367           to g_mkstemp() after creating the missing directory
2368           would then error out with 'invalid argument').
2369
2370 2006-06-13  Edward Hervey  <edward@fluendo.com>
2371
2372         * gst/gst.c: (init_post):
2373         Free string.
2374
2375 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2376
2377         * gst/glib-compat-private.h:
2378         * gst/glib-compat.c:
2379         * gst/glib-compat.h:
2380         * gst/gstvalue.c: (gst_value_serialize_flags):
2381           remove GLib 2.6 compatibility code
2382
2383 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
2384
2385         * gst/parse/Makefile.am:
2386           Fix build with 'make -j N' even more (#340016).
2387
2388 2006-06-12  Wim Taymans  <wim@fluendo.com>
2389
2390         * docs/gst/gstreamer-sections.txt:
2391         Fix docs.
2392
2393 2006-06-12  Wim Taymans  <wim@fluendo.com>
2394
2395         * gst/gstsegment.c: (gst_segment_set_duration),
2396         (gst_segment_set_last_stop), (gst_segment_set_seek),
2397         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2398         (gst_segment_to_running_time), (gst_segment_clip):
2399         Use G_UNLIKELY to help the compiler a bit.
2400
2401 2006-06-12  Wim Taymans  <wim@fluendo.com>
2402
2403         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
2404
2405         * gst/gstevent.c: (gst_event_get_type):
2406         * gst/gstmessage.c:
2407         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2408         (gst_pad_push):
2409         constify quark registration strings. Fixes #344115
2410         Avoid unneeded type checking is _pad_push() by internally
2411         calling gst_pad_chain_unchecked().
2412
2413 2006-06-12  Wim Taymans  <wim@fluendo.com>
2414
2415         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
2416         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
2417         (gst_subbuffer_finalize), (gst_buffer_create_sub),
2418         (gst_buffer_is_span_fast), (gst_buffer_span):
2419         Init _type for consistency.
2420         Use _FLAGS macro to avoid type check.
2421         Avoid unneeded type checks in subbufer code.
2422
2423 2006-06-12  Wim Taymans  <wim@fluendo.com>
2424
2425         * gst/gst.c: (gst_debug_help):
2426         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
2427         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2428         (gst_plugin_feature_list_free):
2429         * gst/gstregistry.c: (gst_registry_add_plugin),
2430         (gst_registry_add_feature), (gst_registry_plugin_filter),
2431         (gst_registry_feature_filter), (gst_registry_find_plugin),
2432         (gst_registry_find_feature), (gst_registry_get_plugin_list),
2433         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
2434         * gst/gstregistryxml.c: (load_feature),
2435         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
2436         * gst/gstminiobject.c: (gst_mini_object_unref),
2437         (gst_mini_object_replace), (gst_value_mini_object_free),
2438         (gst_value_mini_object_copy):
2439         Use _CAST macros to avoid unneeded type checking.
2440         Added some more G_UNLIKELY.
2441
2442 2006-06-12  Wim Taymans  <wim@fluendo.com>
2443
2444         * gst/gstbuffer.h:
2445         Avoid unneeded type checking.
2446         API: GST_BUFFER_IS_DISCONT
2447
2448         * gst/gstminiobject.h:
2449         Avoid type check in flag accessor.
2450
2451         * gst/gstelementfactory.h:
2452         * gst/gstplugin.h:
2453         * gst/gstpluginfeature.h:
2454         Add _CAST macros.
2455         API: GST_ELEMENT_FACTORY_CAST
2456         API: GST_PLUGIN_CAST
2457         API: GST_PLUGIN_FEATURE_CAST
2458
2459 2006-06-12  Wim Taymans  <wim@fluendo.com>
2460
2461         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
2462         (gst_object_unref):
2463         Add G_UNLIKELY in type registration.
2464         Avoid type check in _ref/_unref since that is also
2465         done in glib.
2466
2467 2006-06-12  Wim Taymans  <wim@fluendo.com>
2468
2469         * gst/gsterror.c: (gst_g_error_get_type):
2470         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2471         (gst_static_pad_template_get_type):
2472         * gst/gsttaglist.c: (gst_tag_list_get_type):
2473         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
2474         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
2475         * gst/gsturi.c: (gst_uri_handler_get_type):
2476         * gst/gstvalue.c: (gst_date_get_type):
2477         * gst/gstxml.c: (gst_xml_get_type):
2478         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2479         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2480         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
2481         Add G_UNLIKELY in type registration.
2482
2483 2006-06-12  Wim Taymans  <wim@fluendo.com>
2484
2485         * tools/gst-inspect.c: (print_signal_info):
2486         Properly print enum values.
2487
2488 2006-06-12  Wim Taymans  <wim@fluendo.com>
2489
2490         * gst/gstinfo.c: (gst_debug_set_active),
2491         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
2492         * gst/gstinfo.h:
2493         Add some G_[UN]LIKELY.
2494         Maintain __gst_debug_min to avoid formatting the arguments of
2495         debug messages that will be dropped anyway to avoid a lot of 
2496         overhead from the debugging system.
2497
2498 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2499
2500         * po/POTFILES.in:
2501         * po/POTFILES.skip:
2502           add missing files containing translatable strings, tell intltool about
2503           one exception
2504
2505 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2506
2507         * tests/check/libs/.cvsignore:
2508         add test-binary to ignore list
2509
2510 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2511
2512         * docs/libs/gstreamer-libs-docs.sgml:
2513         reorder (put dp into a chapter) and indent
2514
2515 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2516
2517         * configure.ac:
2518           back to HEAD
2519
2520 === release 0.10.8 ===
2521
2522 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
2523
2524         * configure.ac:
2525           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
2526
2527 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2528
2529         * gst/gst.c: (init_post):
2530           move pid declaration to declaration block
2531
2532 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2533
2534         * gst/gst.c: (init_post):
2535           use _exit() instead of exit() in our forked child; this ensures
2536           that none of the registered exit handlers from whatever is using
2537           GStreamer get executed.  This fixes gnome-mixer-applet failing
2538           to load, because ORBit would shut down.
2539           Spotted by: Edward Hervey  <edward@fluendo.com>
2540           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
2541           Fixes #344474
2542
2543 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2544
2545         * configure.ac:
2546           back to TRUNK
2547
2548 === release 0.10.7 ===
2549
2550 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
2551
2552         * configure.ac:
2553           releasing 0.10.7, "Soepeke, ik zie ou"
2554
2555 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2556
2557         * configure.ac:
2558         * po/af.po:
2559         * po/az.po:
2560         * po/bg.po:
2561         * po/ca.po:
2562         * po/cs.po:
2563         * po/de.po:
2564         * po/en_GB.po:
2565         * po/fr.po:
2566         * po/it.po:
2567         * po/nb.po:
2568         * po/nl.po:
2569         * po/ru.po:
2570         * po/sq.po:
2571         * po/sr.po:
2572         * po/sv.po:
2573         * po/tr.po:
2574         * po/uk.po:
2575         * po/vi.po:
2576         * po/zh_CN.po:
2577         * po/zh_TW.po:
2578         * win32/common/config.h:
2579           0.10.6.2 prerelease
2580
2581 2006-06-07  Wim Taymans  <wim@fluendo.com>
2582
2583         * gst/gstindex.c: (gst_index_gtype_resolver):
2584         * tools/gst-xmlinspect.c: (print_plugin_info):
2585         Fix leak spotted by coverity checker. Fixes #343827
2586         Fix another other leak found by paolo borelli.
2587
2588 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2589
2590         * libs/gst/dataprotocol/dataprotocol.c:
2591         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2592         (gst_dp_version_get_type), (gst_dp_init),
2593         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
2594         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
2595         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
2596         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
2597         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
2598         (gst_dp_packetizer_free):
2599         * libs/gst/dataprotocol/dataprotocol.h:
2600           API: add a GstDPPacketizer object, and create/free functions
2601           API: add GstDPVersion enum
2602           Add 1.0 event function that uses the string serialization
2603           Serialize more useful buffer flags
2604           Fixes #343988
2605
2606 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2607
2608         * tests/check/Makefile.am:
2609         * tests/check/gst/gstabi.c:
2610         * tests/check/gst/struct_ppc64.h:
2611         * tests/check/libs/libsabi.c:
2612         * tests/check/libs/struct_ppc64.h:
2613           add ppc64 structure sizes
2614
2615 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2616
2617         * tests/check/Makefile.am:
2618         * tests/check/gst/gstabi.c:
2619         * tests/check/gst/struct_x86_64.h:
2620         * tests/check/libs/libsabi.c:
2621         * tests/check/libs/struct_x86_64.h:
2622           generate and add structure size lists for x86_64
2623
2624 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2625
2626         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2627         * libs/gst/check/gstcheck.h:
2628           factor out the method from tests that checks size of structures,
2629           and add code to generate the header containing these sizes
2630         * tests/check/gst/gstabi.c: (GST_START_TEST):
2631         * tests/check/gst/struct_i386.h:
2632         * tests/check/libs/libsabi.c: (GST_START_TEST):
2633         * tests/check/libs/struct_i386.h:
2634           use it
2635
2636 2006-06-06  Michael Smith  <msmith@fluendo.com>
2637
2638         * gst/gstsegment.h:
2639           Don't use c++-style comments, fixes #343929
2640
2641 2006-06-05  Edward Hervey  <edward@fluendo.com>
2642
2643         * gst/gst.c:
2644         plugin_paths is not used if we build without registry support.
2645
2646         * gst/gstsegment.c: (gst_segment_copy): 
2647         _copy() was always returning NULL...
2648
2649 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2650
2651         * libs/gst/dataprotocol/dataprotocol.c:
2652         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2653         (gst_dp_packet_from_event):
2654           factor out CRC code
2655
2656 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2657
2658         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
2659           make sure we unset caps
2660
2661 2006-06-02  Michael Smith  <msmith@fluendo.com>
2662
2663         * libs/gst/check/gstcheck.c: (gst_check_init),
2664         (gst_check_chain_func):
2665         * libs/gst/check/gstcheck.h:
2666           Add a cond/mutex to the check support lib, signal this whenever we
2667           add to the buffers list. This will allow tests to not busy-wait on
2668           the buffer-list.
2669
2670 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2671
2672         * libs/gst/dataprotocol/dataprotocol.c:
2673         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2674         (gst_dp_packet_from_event):
2675           factor out some common header init code
2676
2677 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2678
2679         * docs/libs/gstreamer-libs-sections.txt:
2680         * docs/libs/tmpl/gstdataprotocol.sgml:
2681         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
2682         * libs/gst/dataprotocol/dataprotocol.h:
2683           API: make gst_dp_crc() public
2684
2685 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
2686
2687         * plugins/indexers/gstindexers.c: (plugin_init):
2688         conditionally register fileindexer (fixes #343598)
2689
2690 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
2691
2692         * gst/gsttagsetter.h:
2693         Can't cast ifaces to a class
2694
2695         * libs/gst/net/gstnetclientclock.h:
2696         * libs/gst/net/gstnettimeprovider.h:
2697         * plugins/elements/gstfakesink.h:
2698         * plugins/elements/gstfakesrc.h:
2699         * plugins/elements/gstfdsink.h:
2700         * plugins/elements/gstfdsrc.h:
2701         * plugins/elements/gstfilesink.h:
2702         * plugins/elements/gstfilesrc.h:
2703         * plugins/elements/gstidentity.h:
2704         * plugins/elements/gstqueue.h:
2705         * plugins/elements/gsttee.h:
2706         * plugins/indexers/gstfileindex.c:
2707         * plugins/indexers/gstmemindex.c:
2708         * tests/old/examples/plugins/example.h:
2709         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
2710
2711 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2712
2713         * libs/gst/dataprotocol/dataprotocol.c:
2714         (gst_dp_header_from_buffer):
2715           make sure we zero the whole ABI-compatible area
2716
2717 2006-06-01  Wim Taymans  <wim@fluendo.com>
2718
2719         Patch by: Alessandro Decina <alessandro at nnva dot org>
2720
2721         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
2722         Make sure the EOS flag is cleared from pads after a flush
2723         or stop. Fixes #343538.
2724
2725         * tests/check/libs/collectpads.c: (GST_START_TEST),
2726         (gst_collect_pads_suite):
2727         Added test for collectpads reusage after EOS.
2728
2729 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
2730
2731         * gst/gst.c:
2732          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
2733         * win32/common/libgstbase.def:
2734          export gst_collect_pads_set_flushing
2735         * win32/common/libgstreamer.def:
2736          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
2737          gst_value_fraction_multiply
2738         * win32/vs6/gst_inspect.dsp:
2739          add a link to intl.lib
2740
2741 2006-05-30  Wim Taymans  <wim@fluendo.com>
2742
2743         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2744         (gst_collect_pads_chain):
2745         Handle the case where a pad is removed from the collection
2746         that could cause the other pads to become collectable.
2747
2748 2006-05-30  Wim Taymans  <wim@fluendo.com>
2749
2750         * gst/gstelement.c:
2751         Clarify the use of _release_request_pad() and
2752         _get_request_pad() a bit better.
2753
2754         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
2755         (gst_adapter_take_buffer):
2756         Fix some doc and comment typos.
2757
2758 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2759
2760         * docs/gst/gstreamer-sections.txt:
2761         * docs/libs/gstreamer-libs-sections.txt:
2762           add declared symbols
2763
2764 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
2765
2766         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
2767         Add debug that can be enabled using a #define at the top of the file,
2768         for dumping stats about how late/early we were when waking up from
2769         waiting on the clock.
2770
2771 2006-05-30  Wim Taymans  <wim@fluendo.com>
2772
2773         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
2774         When rebuilding the pad list, don't leak the previous list.
2775
2776 2006-05-30  Wim Taymans  <wim@fluendo.com>
2777
2778         Patch by: Lutz Mueller <lutz at topfrose dot de>
2779
2780         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2781         (gst_base_src_get_query_types), (gst_base_src_update_length):
2782         Publish supported query types.
2783         Update last_stop field in get_range mode so the position
2784         query works. Fixes #342321.
2785
2786 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
2787
2788         * docs/gst/gstreamer-sections.txt:
2789         * gst/gsttaglist.c: (_gst_tag_initialize):
2790         * gst/gsttaglist.h:
2791           API: add GST_TAG_PREVIEW_IMAGE (#343341).
2792
2793 2006-05-30  Wim Taymans  <wim@fluendo.com>
2794
2795         Patch by: Alessandro Decina <alessandro at nnva dot org>
2796
2797         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
2798         Unlock mutex when removing an unknown pad.
2799         Fixes #343334.
2800
2801         * tests/check/Makefile.am:
2802         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
2803         (push_event), (setup), (teardown), (GST_START_TEST),
2804         (gst_collect_pads_suite), (main):
2805         Added collecpads check, disabled for now as check crashes for
2806         some reason.
2807
2808 2006-05-29  Wim Taymans  <wim@fluendo.com>
2809
2810         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
2811         Don't leak pads lists.
2812
2813 2006-05-29  Wim Taymans  <wim@fluendo.com>
2814
2815         * docs/libs/gstreamer-libs-sections.txt:
2816         * libs/gst/base/gstcollectpads.c:
2817         (gst_collect_pads_set_flushing_unlocked),
2818         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2819         (gst_collect_pads_stop):
2820         * libs/gst/base/gstcollectpads.h:
2821         API: gst_collect_pads_set_flushing()
2822         Added api to set the pads to flushing, useful for seeking
2823         code in elements using collectpads.
2824         Clear segment when receiving a flush.
2825
2826 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
2827
2828         * gst/gst.c: (add_path_func), (init_post):
2829           Don't scan registry paths passed via --gst-plugin-path immediately
2830           (will crash, because absolutely nothing is set up and no types are
2831           registered etc.); do this later in init_post(). Fixes #343057.
2832
2833 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2834
2835         * gst/gst.c: (init_post):
2836           if we have fork, fork while reading/rebuilding the registry
2837           so the parent doesn't take the hit of having all plugins loaded
2838           in memory.  Fixes #342777.
2839         * configure.ac:
2840           Check if we have fork()
2841         * win32/common/config.h.in:
2842           no fork() on win32
2843
2844 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
2845
2846         * plugins/elements/gstelements.c:
2847         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2848         (gst_file_src_init), (gst_file_src_set_property),
2849         (gst_file_src_get_property), (gst_file_src_start):
2850         * plugins/elements/gstfilesrc.h:
2851           API: GstFileSrc::use-mmap
2852
2853         Add a use-mmap property to enable easier testing of all code paths.
2854         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
2855         in the absence of gnomevfssrc. (Closes #340501)
2856
2857 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2858
2859         * tools/gst-inspect.c:
2860         Add missing include, removes warning of ngettext not being defined on
2861         some arches.
2862
2863 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
2864
2865         * gst/gstvalue.c: (gst_value_deserialize_fraction):
2866         Handle NULL input and output pointers silently as a failed conversion,
2867         rather than g_warnings.
2868
2869 2006-05-25  Wim Taymans  <wim@fluendo.com>
2870
2871         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
2872         Initialize variable before using. Fixes #342820.
2873
2874 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2875
2876         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
2877           Fix off-by-one bug that would only allow peeks of N-1 bytes
2878           from the start even if the buffer to typefind on contains
2879           in fact N bytes of data (makes vorbis typefinding from a
2880           vorbis identification header buffer work).
2881
2882         * tests/check/Makefile.am:
2883         * tests/check/libs/.cvsignore:
2884         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
2885         (gst_typefindhelper_suite), (main), (foobar_typefind),
2886         (plugin_init):
2887           Add very basic unit test for gst_type_find_helper_for_buffer()
2888           that checks for the problem fixed above.
2889
2890 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2891
2892         * tools/gst-inspect.c: (print_interfaces),
2893         (print_element_properties_info), (print_element_list), (main):
2894           add more translatable strings
2895
2896 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
2897
2898         Patch by: Julien Moutte  <julien at moutte net>
2899
2900         * docs/gst/gstreamer-sections.txt:
2901           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
2902           
2903         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2904         (gst_fake_sink_preroll):
2905         * plugins/elements/gstfakesink.h:
2906           API: Add new GstFakeSink::preroll-handoff signal (#337100).
2907
2908 2006-05-23  Wim Taymans  <wim@fluendo.com>
2909
2910         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
2911         * gst/gstpad.h:
2912         Added _CUSTOM error and success GstFlowReturn that can be
2913         used be elements internally. 
2914         Added macro to check for SUCCESS flowreturns.
2915         API: GST_FLOW_CUSTOM_SUCCESS
2916         API: GST_FLOW_CUSTOM_ERROR
2917         API: GST_FLOW_IS_SUCCESS
2918
2919         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2920         Added check for GstFlowReturn sanity.
2921
2922 2006-05-23  Wim Taymans  <wim@fluendo.com>
2923
2924         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2925
2926         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2927         (gst_collect_pads_event):
2928         clear/reset segment info in FLUSH_STOP.
2929         Fixes #336929.
2930
2931 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
2932
2933         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
2934         (gst_collect_pads_check_collected):
2935         Flush queued buffer on _stop(), fixes playing again (#342454)
2936
2937 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
2938
2939         * tests/check/gst/gststructure.c: (GST_START_TEST),
2940         (gst_structure_suite):
2941           add a test for a complete structure
2942
2943 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
2944
2945         * docs/faq/developing.xml:
2946         * docs/faq/faq.xml:
2947         * docs/faq/troubleshooting.xml:
2948         * docs/faq/using.xml:
2949           Some minor FAQ updates that won't change the fact that
2950           our FAQ is badly structured, full of information hardly
2951           anyone new to GStreamer needs to know and lacking lots
2952           of information people constantly ask for.
2953           
2954 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
2955
2956         * gst/gstpad.c: (gst_pad_set_caps):
2957           Short-circuit gst_pad_set_caps if setting the existing
2958           caps pointer again, and avoid printing debug and 
2959           reffing/unreffing the caps.
2960
2961         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2962           There's actually no need to set the caps before pushing -
2963           the acceptcaps method will handle it anyway.
2964
2965 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
2966
2967         * docs/gst/gstreamer-sections.txt:
2968         * win32/common/libgstreamer.def:
2969         * gst/gstutils.c: (gst_element_seek_simple):
2970         * gst/gstutils.h:
2971           API: add gst_element_seek_simple() (#342238).
2972
2973 2006-05-18  Edward Hervey  <edward@fluendo.com>
2974
2975         * gst/gsttypefind.c: (gst_type_find_get_type):
2976         * gst/gsttypefind.h:
2977         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
2978         registered for GstTypeFind pointers. This allows wrapping the structure
2979         in bindings (i.e. gst-python).
2980
2981 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
2982
2983         * gst/gsttagsetter.c:
2984           Docs additions and fixes (see #339918).
2985
2986 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
2987
2988         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2989         The caps intersection algorithm can produce multiple copies of the
2990         caps. Until that is fixed, we need to simplify the result to be
2991         sure whether the allowed caps are fixed or not.
2992
2993         * plugins/elements/gstqueue.c: (gst_queue_init),
2994         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
2995         (gst_queue_push_one):
2996         Proxied buffer alloc should not set the caps on the source pad.
2997         When pushing buffers, we always accept the caps change that triggers.
2998         This prevents negotiation errors caused by caps changing mid-stream 
2999         and then being refused on our source pad (because upstream is now
3000         refusing those caps).
3001
3002 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
3003
3004         * tests/examples/helloworld/helloworld.c: (main):
3005           Must plug audioconvert and audioresample between decoder
3006           and audio sink.
3007
3008 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
3009
3010         * gst/gstregistryxml.c: (read_string), (load_pad_template),
3011         (load_feature), (load_plugin):
3012         Allow empty strings for some of the plugin fields so we don't 
3013         drop valid plugin entries that were written out correctly
3014         (Fixes #341479)
3015
3016 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
3017         
3018         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
3019           Use g_remove and g_rename instead of remove and rename that don't 
3020           handle utf8 characters. rename was failing for users who had specific
3021           characters in their name then the registry was built at each 
3022           gstreamer init.
3023         * win32/vs6/gst_inspect.dsp:
3024         * win32/vs6/gst_launch.dsp:
3025         * win32/vs6/libgstbase.dsp:
3026         * win32/vs6/libgstcoreelements.dsp:
3027         * win32/vs6/libgstreamer.dsp:
3028           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
3029           build of libgstreamer and clean unused libraries in projects link 
3030           settings.
3031
3032 2006-05-17  Edward Hervey  <edward@fluendo.com>
3033
3034         * plugins/elements/gstqueue.c: (gst_queue_push_one):
3035         The queue is not responsible for pushing an EOS when receiving a fatal
3036         flow error. It's up to the real element driving the pipeline to do that.
3037
3038 2006-05-16  Edward Hervey  <edward@fluendo.com>
3039
3040         * plugins/elements/gstqueue.c: (gst_queue_push_one):
3041         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
3042         buffer returned a fatal error. It should just send an EOS and stop
3043         its task.
3044         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
3045         when pushing buffers on the queue and will be able to handle the event.
3046
3047 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
3048
3049         * docs/manual/basics-bins.xml:
3050         * docs/manual/basics-init.xml:
3051           Fix typos and minor errors in sample code (#341856).
3052
3053 2006-05-16  Wim Taymans  <wim@fluendo.com>
3054
3055         * docs/design/part-qos.txt:
3056         Fix indexes in formulas to make more sense.
3057
3058 2006-05-15  Wim Taymans  <wim@fluendo.com>
3059
3060         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3061         Don't report POSITION based on clock time if sync is
3062         disabled in a sink.
3063
3064 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
3065
3066         * gst/gstobject.h:
3067           Add cast to make compiler happy - refcount variable was a gint
3068           in GstObject but is a guint in GObject and g_atomic_int_get()
3069           wants a gint *.
3070
3071 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3072
3073         * gst/parse/Makefile.am:
3074           chain commands using &&, which also makes parallel make work
3075
3076 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
3077
3078         * docs/gst/gstreamer-sections.txt:
3079         * gst/gstevent.c:
3080         * gst/gstevent.h:
3081         * gst/gstmessage.h:
3082           Minor docs fixes.
3083
3084 === release 0.10.6 ===
3085
3086 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
3087
3088         * configure.ac:
3089           releasing 0.10.6, "Take the cannoli"
3090
3091 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
3092
3093         * tools/gst-launch.c: (print_tag):
3094           Fix use of uninitialized variable in the hypothetical
3095           case that some broken plugin creates a GST_TAG_IMAGE
3096           tag containing a NULL buffer (#341667).
3097
3098 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
3099
3100         * tools/gst-launch.c: (print_tag):
3101           Print something more intelligible for image tags when
3102           using the -t switch (#341556).
3103
3104 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3105
3106         * Makefile.am:
3107           updates for win32
3108         * configure.ac:
3109           define GST_MAJORMINOR so we have it available in win32/common/config.h
3110           Possibly remove it from our Makefile.am files later
3111         * win32/common/config.h:
3112         * win32/common/config.h.in:
3113           added GST_MAJORMINOR
3114         * win32/common/gstenumtypes.c: (register_gst_resource_error):
3115         * win32/common/gstversion.h:
3116           updated
3117
3118 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
3119
3120         * win32/MANIFEST:
3121           Update win32 files listing.
3122         * win32/common/gstversion.h:
3123           Add GST_MAJORMINOR definition.
3124         * win32/common/libgstreamer.def:
3125           Add new exported functions.
3126           
3127 2006-05-12  Michael Smith  <msmith@fluendo.com>
3128
3129         * gst/gstplugin.c: (gst_plugin_load_file):
3130           If an so file has no plugin entry point, unload the module.
3131
3132 2006-05-11  Wim Taymans  <wim@fluendo.com>
3133
3134         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
3135         (gst_queue_set_property):
3136         Don't forget to signal the _chain or _loop function 
3137         when the queue size or thresholds change since that might
3138         cause them to make progres again.
3139
3140 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
3141
3142         * gst/gstclock.c: (gst_clock_class_init):
3143         * gst/gstindex.c: (gst_index_class_init):
3144         * gst/gstobject.c: (gst_object_class_init):
3145         * gst/gstpad.c: (gst_pad_class_init):
3146         * gst/gstpipeline.c: (gst_pipeline_class_init):
3147         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3148         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3149         * libs/gst/base/gstbasetransform.c:
3150         (gst_base_transform_class_init):
3151         * libs/gst/net/gstnetclientclock.c:
3152         (gst_net_client_clock_class_init):
3153         * libs/gst/net/gstnettimeprovider.c:
3154         (gst_net_time_provider_class_init):
3155         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3156         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3157         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3158         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3159         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3160         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3161         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3162         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3163         * plugins/elements/gsttee.c: (gst_tee_class_init):
3164         * tests/old/examples/plugins/example.c: (gst_example_class_init):
3165         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3166           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
3167
3168 2006-05-11  Wim Taymans  <wim@fluendo.com>
3169
3170         * gst/gstbuffer.c: (_gst_buffer_initialize):
3171         Register subbufer along with the buffer type so that
3172         it does not accidentally gets registered from N
3173         different streaming threads in a non threadsafe way.
3174
3175 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
3176
3177         * gst/gstbuffer.h:
3178         * gst/gstevent.h:
3179         * gst/gstmessage.h:
3180           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
3181           gst_event_ref() and gst_message_ref() functions again
3182           (ugly hack, please do fix if there's a better way besides
3183           overrides.txt, which doesn't seem to work).
3184
3185 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3186
3187         * libs/gst/check/gstcheck.h:
3188           add an assert for setting state to avoid lots of repetitive code
3189           in the future
3190
3191 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3192
3193         * gst/gstvalue.c: (gst_value_serialize_flags):
3194           fix a leak if no flags are set
3195         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3196           fix leak in tests
3197
3198 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
3199
3200         * docs/manual/basics-pads.xml:
3201           Expand a bit on caps and filtered links and update
3202           examples that were still using the no longer existing
3203           gst_pad_link_filtered() (#338206).
3204
3205 2006-05-10  Wim Taymans  <wim@fluendo.com>
3206
3207         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3208         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3209         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
3210         (gst_collect_pads_stop):
3211         * libs/gst/base/gstcollectpads.h:
3212         No need to call _stop in _finalize.
3213         Iterate the main pad list in _finalize.
3214         Added some more debug.
3215         Free lists and data in the right order.
3216         Also free data whem doing _remove_pad when stopped for
3217         backward compatibility protect ::started with PAD_LOCK as
3218         well.
3219
3220 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3221
3222         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
3223         (gst_structure_parse_value):
3224           add some comments
3225           rename a method so that it actually says what it does better
3226
3227 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3228
3229         * gst/gstevent.c: (_gst_event_initialize):
3230         * gst/gstformat.c: (_gst_format_initialize):
3231           make sure some essential types used by events are registered
3232           as part of gst_init()
3233         * gst/gstvalue.c: (gst_value_serialize_flags):
3234           if no flags are set, serialize them to a value that represents NONE
3235           so that deserializing them works
3236         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3237           add tests for serialization and deserialization of flags
3238
3239 2006-05-10  Wim Taymans  <wim@fluendo.com>
3240
3241         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
3242         (gst_collect_pads_collect_range), (gst_collect_pads_available),
3243         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
3244         (gst_collect_pads_event), (gst_collect_pads_chain):
3245         Update docs.
3246         Better debug info.
3247         Catch and return errors from the collect function
3248         Refuse data on eos pads.
3249
3250 2006-05-10  Edward Hervey  <edward@fluendo.com>
3251
3252         * gst/gstinterface.h:
3253         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
3254         GInterface type checking.
3255         They were previously using non-defined macros.
3256
3257 2006-05-09  Wim Taymans  <wim@fluendo.com>
3258
3259         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
3260         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
3261         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
3262         (gst_collect_pads_start), (gst_collect_pads_stop),
3263         (gst_collect_pads_peek), (gst_collect_pads_pop),
3264         (gst_collect_pads_available), (gst_collect_pads_read),
3265         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
3266         (gst_collect_pads_is_collected), (gst_collect_pads_event),
3267         (gst_collect_pads_chain):
3268         * libs/gst/base/gstcollectpads.h:
3269         Clean up the mess that is collectpads, add comments and
3270         FIXMEs where needed.
3271         Maintain a separate pad list so we can add pads while
3272         collecting the other ones. For this we need a new separate 
3273         lock (see comics).
3274         Fix memory leak in finalize.
3275         Refactor some weird code to set/unset pad flushing flags, mark
3276         with comments.
3277         Don't crash in _available, _read, _flush when we're EOS.
3278
3279         * tests/check/libs/.cvsignore:
3280         Ignore adapter check binary.
3281
3282 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3283
3284         * gst/gstindex.c: (gst_index_resolver_get_type):
3285         * plugins/elements/gstfakesink.c:
3286         (gst_fake_sink_state_error_get_type):
3287         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
3288         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
3289         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3290           Const-ify GEnumValue arrays.
3291
3292 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3293
3294         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3295           Add test case for flags + gst_buffer_make_metadata_writable().
3296
3297 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3298
3299         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
3300           gst_buffer_make_metadata_writable() should maintain the
3301           buffer flags (those that make sense at least) (see #340859).
3302
3303 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3304
3305         * tools/gst-inspect.c:
3306         * tools/gst-launch.c:
3307         * tools/gst-typefind.c:
3308         * tools/gst-xmlinspect.c:
3309         * tools/tools.h:
3310           Fix up includes: need to include stdlib.h in tools.h for exit().
3311
3312 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3313
3314         * gst/gsttaglist.c: (_gst_tag_initialize):
3315         * gst/gsttaglist.h:
3316           API: add GST_TAG_IMAGE tag (#340721).
3317
3318 2006-05-08  Wim Taymans  <wim@fluendo.com>
3319
3320         * gst/gstquery.c:
3321         Added some docs for the segment query.
3322
3323 2006-05-08  Wim Taymans  <wim@fluendo.com>
3324
3325         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3326         (gst_base_src_loop), (gst_base_src_change_state):
3327         Always push non-flushing serialized events in the streaming 
3328         thread.
3329
3330 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3331
3332         * gst/gsterror.c: (_gst_stream_errors_init):
3333           Add a missing error string.
3334
3335 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
3336
3337         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
3338         Add applied_rate to the debug
3339
3340         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3341         Copy applied_rate into the outgoing NEWSEGMENT event
3342
3343 2006-05-08  Wim Taymans  <wim@fluendo.com>
3344
3345         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
3346
3347         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3348         (gst_base_sink_change_state):
3349         call ::unlock before taking the PREROLL_LOCK so we can safely
3350         handle elements that lock in ::render.
3351         Fixes #340174.
3352
3353 2006-05-08  Edward Hervey  <edward@fluendo.com>
3354
3355         * autogen.sh: (CONFIGURE_DEF_OPT): 
3356         Darwin's libtoolize is in fact called glibtoolize.
3357         Adding glibtoolize to the list of accepted names for libtoolize.
3358
3359 2006-05-08  Wim Taymans  <wim@fluendo.com>
3360
3361         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3362         Unify error handling, don't post an error message
3363         when a push() returns EOS but perform our normal EOS
3364         handling code. Fixes #340772.
3365
3366 2006-05-08  Wim Taymans  <wim@fluendo.com>
3367
3368         * docs/design/part-overview.txt:
3369         Make upsteam/downstream concepts more clear.
3370         Give an example of serialized/non-serialized events.
3371
3372         * docs/design/part-events.txt:
3373         * docs/design/part-streams.txt:
3374         Mention applied_rate.
3375
3376         * docs/design/part-trickmodes.txt:
3377         Mention applied rate, flesh out some more use cases.
3378
3379         * gst/gstevent.c: (gst_event_new_new_segment),
3380         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
3381         (gst_event_parse_new_segment_full), (gst_event_new_tag),
3382         (gst_event_parse_tag), (gst_event_new_buffer_size),
3383         (gst_event_parse_buffer_size), (gst_event_new_qos),
3384         (gst_event_parse_qos), (gst_event_parse_seek),
3385         (gst_event_new_navigation):
3386         * gst/gstevent.h:
3387         Add applied_rate field to NEWSEGMENT event.
3388         API: gst_event_new_new_segment_full()
3389         API: gst_event_parse_new_segment_full()
3390
3391         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
3392         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
3393         (gst_segment_to_stream_time), (gst_segment_to_running_time):
3394         * gst/gstsegment.h:
3395         Add applied_rate to GstSegment structure.
3396         Make calculation of stream_time and running_time more correct
3397         wrt rate/applied_rate.
3398         Add some more docs.
3399         API: GstSegment::applied_rate field
3400         API: gst_segment_set_newsegment_full();
3401
3402         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
3403         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
3404         * libs/gst/base/gstbasetransform.c:
3405         (gst_base_transform_sink_eventfunc),
3406         (gst_base_transform_handle_buffer):
3407         Parse and use applied_rate in the GstSegment field.
3408
3409         * tests/check/gst/gstevent.c: (GST_START_TEST):
3410         Add check for applied_rate field.
3411
3412         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3413         (gstsegments_suite):
3414         Add more checks for various GstSegment operations.
3415
3416 2006-05-08  Wim Taymans  <wim@fluendo.com>
3417
3418         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3419         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
3420         (gst_base_sink_get_position), (gst_base_sink_change_state):
3421         Store the sync time of the buffer end position separatly in a
3422         new variable eos_rtime so we can properly sync the EOS event.
3423         Fixes #340697.
3424         Fix the docs for gst_base_sink_set_qos_enabled().
3425         Don't set segment start to invalid value when we receive a 
3426         non TIME newsegment.
3427         get closer to handling position reporting for negative rates 
3428         correctly.
3429
3430 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
3431
3432         * gst/gstcaps.c:
3433         Docs about how to print caps for debug purposes.
3434
3435         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
3436         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
3437
3438 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
3439
3440         * gst/gstelement.c:
3441           use full enum names and preprend a '%' in docs strings to make recent 
3442           gtk-doc turn that into a link
3443
3444 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3445
3446         * docs/manual/basics-bins.xml:
3447         * docs/manual/basics-bus.xml:
3448         * docs/manual/basics-pads.xml:
3449           Some typo fixes, some additions, some clarifications. 
3450
3451 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3452
3453         * tools/gst-inspect.c: (main):
3454         * tools/gst-launch.c: (main):
3455         * tools/gst-run.c: (main):
3456         * tools/gst-typefind.c: (main):
3457         * tools/gst-xmlinspect.c: (main):
3458           Use the string passed to g_option_context_new() for
3459           what it's intended for - the program name is already
3460           printed elsewhere.
3461
3462 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3463
3464         * tools/Makefile.am:
3465         * tools/gst-inspect.c: (main):
3466         * tools/gst-launch.c: (main):
3467         * tools/gst-xmlinspect.c: (main):
3468         * tools/tools.h:
3469           Add back --version command line option (#340460).
3470
3471         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
3472           Add --version option and use GOption for argument parsing; refactor a
3473           bit; accept directories as arguments and recurse into them; lastly,
3474           print a decent error message when things go wrong.
3475
3476 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3477
3478         * docs/manual/basics-bins.xml:
3479         Don't mention GstThread (#340611)
3480         * docs/manual/basics-elements.xml:
3481         Update link to GObject tutorial (#340607)
3482         
3483 2006-05-05  Wim Taymans  <wim@fluendo.com>
3484
3485         * gst/gstbuffer.h:
3486         * gst/gstminiobject.c:
3487         Add note about refcounting and miniobject/buffer writeability
3488         to docs. Fixes #340604
3489
3490         * gst/gstelementfactory.h:
3491         Added some explanation about @klass.
3492
3493 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3494
3495         * docs/manual/intro-motivation.xml:
3496         * docs/manual/manual.xml:
3497         Avoid CORBA & Bonobo references (#340598)
3498
3499 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3500
3501         * docs/manual/basics-bus.xml:
3502         * docs/manual/basics-pads.xml:
3503         Fix up some inaccuracies and omissions (#340609)
3504         
3505 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3506
3507         * gst/gstghostpad.c:
3508           Small typo in docs (#340625)
3509
3510 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3511
3512         * gst/parse/Makefile.am:
3513           Make 'make -j' proof (see #340698).
3514
3515 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3516
3517         * configure.ac:
3518           Require GLib-2.8 here as well.
3519
3520 2006-05-05  Wim Taymans  <wim@fluendo.com>
3521
3522         * gst/glib-compat.c:
3523         * gst/gst.c: (init_pre):
3524         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3525         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
3526         (gst_object_dispatch_properties_changed):
3527         * gst/gstobject.h:
3528         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3529         * gst/gststructure.c: (gst_structure_set_valist):
3530         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3531         Remove pre glib2.8 compatibility, fixes #340508
3532
3533 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3534
3535         * gst/gsttaglist.h:
3536           Mention type of tags in doc blurbs.
3537
3538 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
3539
3540         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3541         (gst_pad_configure_src), (gst_pad_push):
3542         Restore acceptcaps checking behaviour now that good plugins have
3543         been released.
3544
3545 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3546
3547         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
3548
3549         * gst/gst.c:
3550         * gst/gstbus.c:
3551         * gst/gstclock.c:
3552         * gst/gstevent.c:
3553         * gst/gstformat.c:
3554         * gst/gstmessage.c:
3555         * gst/gstparse.c:
3556         * gst/gstquery.c:
3557         * gst/gstutils.c:
3558         * gst/parse/Makefile.am:
3559         * libs/gst/base/gstadapter.c:
3560         * libs/gst/base/gstbasesrc.c:
3561         * libs/gst/base/gstpushsrc.c:
3562         * libs/gst/base/gsttypefindhelper.c:
3563         * plugins/elements/gstfakesrc.c:
3564         * plugins/elements/gstidentity.c:
3565           Make sure gstprivate.h and/or config.h are
3566           always included first, otherwise some of our
3567           defines (like _FILE_OFFSET_BITS) might be
3568           redefined in the system headers. Fixes build
3569           on opensolaris (#340016).
3570
3571 2006-05-04  Wim Taymans  <wim@fluendo.com>
3572
3573         * docs/libs/gstreamer-libs-sections.txt:
3574         API: addition: gst_adapter_take_buffer()
3575         
3576         * libs/gst/base/gstadapter.c: (gst_adapter_push),
3577         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
3578         (gst_adapter_available_fast):
3579         * libs/gst/base/gstadapter.h:
3580         Prepare for optimizing the hell out of this hugely inefficient
3581         piece of code. 
3582         Added gst_adapter_take_buffer() so we can at least start thinking
3583         about subbuffering and merging.
3584         Added some comments.
3585
3586         * tests/check/Makefile.am:
3587         * tests/check/libs/adapter.c: (GST_START_TEST),
3588         (gst_adapter_suite), (main):
3589         Added GstAdapter check.
3590
3591 2006-05-04  Wim Taymans  <wim@fluendo.com>
3592
3593         * docs/design/part-overview.txt:
3594         Fix some typos, add blurb about buffer flags.
3595
3596 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3597
3598         * docs/libs/gstreamer-libs-sections.txt:
3599           make sure GstBaseTransformClass shows up in the docs
3600         * libs/gst/base/gstbasetransform.c:
3601         * libs/gst/base/gstbasetransform.h:
3602           move docs so gtk-doc picks it up now
3603
3604 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
3605
3606         * docs/libs/gstreamer-libs-sections.txt:
3607           add missing symbols to docs
3608
3609 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
3610
3611         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3612           back out the newsegment handling change, see #340060 for ongoing
3613           discussion
3614
3615 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
3616
3617         * tools/gst-run.c: (get_candidates), (main):
3618           Fix wrong g_file_test() usage (see glib docs for why it doesn't
3619           work); fix typo in error message. Fixes #340079.
3620
3621 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3622
3623         * common/Makefile.am:
3624         * docs/Makefile.am:
3625         * docs/faq/Makefile.am:
3626         * docs/gst/Makefile.am:
3627         * docs/libs/Makefile.am:
3628         * docs/manual/Makefile.am:
3629         * docs/plugins/Makefile.am:
3630         * docs/pwg/Makefile.am:
3631         * docs/slides/Makefile.am:
3632         * docs/upload.mak:
3633         * common/upload.mak:
3634           move upload.mak to common
3635
3636 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3637
3638         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3639           add more asserts on refcounts
3640           do more cleanup at end of tests
3641           fix test leaks showing in FC5
3642
3643 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
3644
3645         * plugins/elements/gsttypefindelement.c:
3646         (gst_type_find_element_handle_event):
3647         reverted wrong change and reflowed code to avoid others falling into
3648         this trap
3649
3650 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3651
3652         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3653           fix changelog entry about last collectpads change,
3654           add notes about proper fix
3655
3656 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3657
3658         * gst/gst.c:
3659         * gst/gstregistry.c: (gst_registry_scan_path_level),
3660         (gst_registry_scan_path):
3661         * gst/gstregistry.h:
3662           only write out registry if it has changed, fixes #338339
3663
3664 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3665
3666         * gst/gstbin.c:
3667         * gst/gstpipeline.c:
3668         * plugins/elements/gstcapsfilter.c:
3669         * plugins/elements/gstfakesink.c:
3670         * plugins/elements/gstfakesrc.c:
3671         * plugins/elements/gstfdsink.c:
3672         * plugins/elements/gstfdsrc.c:
3673         * plugins/elements/gstfilesink.c:
3674         * plugins/elements/gstfilesrc.c:
3675         * plugins/elements/gstidentity.c:
3676         * plugins/elements/gstqueue.c:
3677         * plugins/elements/gsttee.c:
3678         * plugins/elements/gsttypefindelement.c:
3679         (gst_type_find_element_handle_event):
3680           make GstElementDetails const
3681
3682 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3683
3684         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3685         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3686         (gst_collect_pads_is_collected), (gst_collect_pads_event):
3687           more detailed debug and formatting cleanup,
3688           forward newsegments to src-pad (so that e.g. adder not eats them)
3689
3690 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3691
3692         * gst/gstutils.c: (gst_element_link_pads):
3693           cleanup double code
3694
3695 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3696
3697         * libs/gst/controller/gstcontroller.c:
3698         (gst_controller_sync_values):
3699           some little tuning
3700         * tests/check/libs/controller.c: (GST_START_TEST),
3701         (gst_controller_suite):
3702           a new test for live value handling
3703
3704 2006-04-28  Wim Taymans  <wim@fluendo.com>
3705
3706         * gst/gstutils.c: (push_and_ref):
3707         Added some more docs.
3708         Fix refcount issue whith gst_element_found_tags() helper 
3709         function. Fixes #338335
3710
3711         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3712         Added testsuite for gst_element_found_tags().
3713
3714 2006-04-28  Michael Smith  <msmith@fluendo.com>
3715
3716         * gst/gstvalue.c: (gst_value_serialize_flags):
3717           Avoid NULL dereference when trying to serialize flags containing
3718           invalid values.
3719
3720 2006-04-28  Michael Smith  <msmith@fluendo.com>
3721
3722         * plugins/elements/gsttypefindelement.c:
3723         (gst_type_find_element_handle_event):
3724           If we get EOS before any data is accumulated, don't use
3725           uninitialised local variables.
3726
3727 2006-04-28  Michael Smith  <msmith@fluendo.com>
3728
3729         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3730         (gst_dp_event_from_packet):
3731           Fixes in reading/writing events over GDP (not currently used?) - 
3732           dereferencing NULL events for unknown/invalid event types, memory
3733           leak, and change g_warning to GST_WARNING.
3734
3735 2006-04-28  Wim Taymans  <wim@fluendo.com>
3736
3737         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
3738         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3739         (gst_base_sink_get_position), (gst_base_sink_change_state):
3740         When frame dropping is enabled, we should not ignore frames
3741         without a duration.
3742         Update some documentation.
3743
3744 2006-04-28  Wim Taymans  <wim@fluendo.com>
3745
3746         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3747         (gst_base_src_send_event), (gst_base_src_change_state):
3748         Documentation updates.
3749
3750 2006-04-28  Wim Taymans  <wim@fluendo.com>
3751
3752         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
3753         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
3754         handle EAGAIN, EINTR and short writes correctly. Also clean
3755         up some error cases, avoid a deadlock on bad file descriptors and
3756         use GST_DEBUG_OBJECT.
3757         Fixes #339843
3758
3759 2006-04-28  Wim Taymans  <wim@fluendo.com>
3760
3761         * gst/gstvalue.c: (gst_value_serialize_buffer),
3762         (gst_value_deserialize_buffer):
3763         Don't try to serialize a GValue with a NULL buffer. 
3764         Fixes #339821.
3765
3766         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3767         Added check for serialisation of NULL buffers.
3768
3769 2006-04-28  Wim Taymans  <wim@fluendo.com>
3770
3771         * gst/gstminiobject.c: (gst_value_take_mini_object):
3772         Taking a NULL miniobject is valid, fix the case where
3773         we try to unref the NULL miniobject.
3774
3775 2006-04-28  Wim Taymans  <wim@fluendo.com>
3776
3777         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
3778
3779         * gst/gstbin.c: (gst_bin_handle_message_func):
3780         Update docs.
3781         Don't leak bin refcount when a state recalc is
3782         in progress and we delay another one #339808.
3783
3784 2006-04-28  Wim Taymans  <wim@fluendo.com>
3785
3786         * docs/design/part-TODO.txt:
3787         Mention QoS as an ongoing work item.
3788
3789         * docs/design/part-buffering.txt:
3790         New doc about buffering that needs to be fleshed out
3791         at some point.
3792
3793         * docs/design/part-qos.txt:
3794         More QoS policy for decoders/demuxers/transforms
3795
3796         * docs/design/part-trickmodes.txt:
3797         Small update.
3798
3799 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3800
3801         * configure.ac:
3802           back to HEAD
3803
3804 === release 0.10.5 ===
3805
3806 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
3807
3808         * configure.ac:
3809           releasing 0.10.5, "Fogo"
3810
3811 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
3812
3813         patch by: Wim Taymans
3814
3815         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3816         (gst_pad_configure_src), (gst_pad_push):
3817         * gst/gstpipeline.c: (gst_pipeline_init):
3818           Fix internal data flow errors.  Fixes #338711.
3819
3820 2006-04-12  Wim Taymans  <wim@fluendo.com>
3821
3822         * tests/check/gst/gstelement.c: (GST_START_TEST):
3823         Don't leak the factory.
3824
3825 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3826
3827         * configure.ac:
3828         * win32/common/config.h:
3829           prerelease
3830
3831 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3832
3833         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3834         (gst_controller_unset_all):
3835           Free allocated GstTimedValues when freeing list nodes.
3836           Should fix leaks 'make check-valgrind' complains about.
3837
3838         * win32/common/libgstcontroller.def:
3839           Add gst_controller_unset_all.
3840
3841 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
3842
3843         * docs/libs/gstreamer-libs-sections.txt:
3844         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3845         (gst_controller_unset_all):
3846         * libs/gst/controller/gstcontroller.h:
3847         API: Added new method gst_controller_unset_all()
3848         fixed gst_controller_unset()
3849         * tests/check/libs/controller.c: (GST_START_TEST),
3850         (gst_controller_suite):
3851         Added two testcases for new and fixed method
3852
3853 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
3854
3855         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3856           MSG_DONTWAIT is not defined on Cygwin, so work
3857           around that (fixes #317048).
3858           
3859 2006-04-11  Wim Taymans  <wim@fluendo.com>
3860
3861         * gst/gstelementfactory.c: (gst_element_register),
3862         (gst_element_factory_create), (gst_element_factory_make):
3863         Some cleanups.
3864         Fixed a FIXME.
3865         Updated docs (Fixes #131079)
3866
3867         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3868         Small cleanups.
3869
3870         * tests/check/gst/gstelement.c: (GST_START_TEST),
3871         (gst_element_suite):
3872         Added testcase for elementfactory class field.
3873
3874 2006-04-10  Wim Taymans  <wim@fluendo.com>
3875
3876         * gst/gstsegment.c:
3877         Added some more docs.
3878
3879         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
3880         (gst_base_sink_reset_qos):
3881         Calculate more accurate rate values.
3882
3883 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
3884
3885         * gst/gst_private.h:
3886           add a new #ifdef to use __declspec(dllimport) only for
3887           other modules and not for gstreamer core
3888         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
3889           use gst_guint64_to_gdouble for conversion
3890         * win32/common/libgstreamer.def:
3891           add new exported functions
3892         * win32/vs6/gst_inspect.dsp:
3893         * win32/vs6/gst_launch.dsp:
3894         * win32/vs6/libgstbase.dsp:
3895         * win32/vs6/libgstcontroller.dsp:
3896         * win32/vs6/libgstcoreelements.dsp:
3897         * win32/vs6/libgstdataprotocol.dsp:
3898         * win32/vs6/libgstnet.dsp:
3899           update project files
3900
3901 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
3902
3903         * gst/gstbuffer.c: (gst_subbuffer_class_init):
3904         * gst/gstclock.c: (gst_clock_class_init):
3905         * gst/gstelement.c: (gst_element_class_init):
3906         * gst/gstindex.c: (gst_index_class_init):
3907         * gst/gstindexfactory.c: (gst_index_factory_class_init):
3908         * gst/gstobject.c: (gst_object_class_init),
3909         (gst_signal_object_class_init):
3910         * gst/gstpad.c: (gst_pad_class_init):
3911         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
3912         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
3913         * gst/gstregistry.c: (gst_registry_class_init):
3914         * gst/gstsystemclock.c: (gst_system_clock_class_init):
3915         * gst/gsttask.c: (gst_task_class_init):
3916         * gst/gstxml.c: (gst_xml_class_init):
3917         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3918         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3919         (gst_base_src_loop):
3920         * libs/gst/controller/gstcontroller.c:/
3921         (_gst_controller_class_init):
3922         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3923         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3924         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
3925         * tests/old/examples/plugins/example.c: (gst_example_class_init):
3926         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3927         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
3928
3929 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
3930
3931         * gst/gstpad.c: (gst_pad_link):
3932           Must set peer pads before calling the link function, otherwise
3933           a task started from a link function might get a flow-not-linked
3934           result when trying to push because the other thread where the
3935           linking happens hasn't had a chance to set the peers yet. This
3936           might happen for example when a queue gets linked to a downstream
3937           element, as queue starts a streaming task when its source pad
3938           gets linked. Happens in real life when playing back flac/musepack
3939           files in playbin (#332390).
3940           
3941 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
3942
3943         * gst/gstindex.h:
3944         * gst/gstxml.h:
3945         * libs/gst/base/gstadapter.h:
3946         * libs/gst/base/gstbasesink.h:
3947         * libs/gst/base/gstbasesrc.h:
3948         * libs/gst/base/gstbasetransform.h:
3949         * libs/gst/base/gstcollectpads.h:
3950         * libs/gst/base/gstpushsrc.h:
3951         Fix broken GObject macros
3952
3953 2006-04-07  Wim Taymans  <wim@fluendo.com>
3954
3955         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3956         Initialize start and stop times, thanks valgrind.
3957
3958 2006-04-07  Wim Taymans  <wim@fluendo.com>
3959
3960         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3961         Be a bit nicer to badly behaving upstream elements that expect
3962         us to deal with non TIME segments and timestamps (such as fakesrc
3963         in the testsuite).
3964
3965 2006-04-07  Wim Taymans  <wim@fluendo.com>
3966
3967         * gst/gstbus.c:
3968         Small documentation clarification about the signal watch.
3969
3970         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3971         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
3972         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3973         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3974         (gst_base_sink_get_position_last),
3975         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
3976         Convert and store timestamps in stream time and running time, the
3977         raw timestamps are not usefull, also document this better.
3978         Use different window sizes for good and bad QoS observations so
3979         we react to badness a little quicker.
3980         Keep track of the amount of rendered and dropped buffers.
3981         Send QoS timestamps in running time.
3982
3983         * libs/gst/base/gstbasetransform.c:
3984         (gst_base_transform_sink_eventfunc),
3985         (gst_base_transform_handle_buffer):
3986         Compare QoS timestamps against running time.
3987
3988 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
3989
3990         * gst/gstpad.c:
3991           Typo fixes in docs.
3992
3993 2006-04-06  Michael Smith  <msmith@fluendo.com>
3994
3995         * gst/gstpad.c: (gst_pad_set_property):
3996           Use g_value_get_object() instead of g_value_dup_gst_object(),
3997           to avoid double-reffing the pad template (which we then sink,
3998           so this worked previously if (and only if) the pad template
3999           was floating.
4000
4001         * gst/gstpadtemplate.c: (gst_pad_template_init),
4002         (gst_pad_template_pad_created):
4003           Never return floating references to pad templates, create
4004           them as initially-sunken.
4005
4006           Document an extra function (and make this stop sinking our
4007           pad template, since that is now guaranteed to do nothing,
4008           since we created it sunken).
4009
4010         * gst/gstghostpad.c:
4011           Fix docs typo.
4012
4013 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
4014
4015         * gst/gstinfo.c: (__gst_in_valgrind):
4016           Add some newlines.
4017
4018         * plugins/elements/gsttypefindelement.c:
4019         (gst_type_find_element_chain):
4020           Don't leak buffer caps.
4021
4022 2006-04-06  Michael Smith  <msmith@fluendo.com>
4023
4024         * gst/parse/grammar.y:
4025           Fix a leak in parse-launch for any source-or-sink named element 
4026           references used.
4027
4028         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4029           Unref the pipeline if it exists after we've failed parsing.
4030
4031 2006-04-05  Michael Smith  <msmith@fluendo.com>
4032
4033         * gst/gstpipeline.c: (gst_pipeline_init):
4034           When we create a pipeline bus, initially create it in flushing mode.
4035           Fixes leaks in at least one test, and makes a new pipeline work the
4036           same as one that has gone to READY and then back to NULL.
4037
4038         * gst/gstelement.c:
4039           Typo fix in docs.
4040
4041 2006-04-05  Michael Smith  <msmith@fluendo.com>
4042
4043         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4044           Unref a pad we reffed.
4045         * tests/check/gst/gstutils.c: (GST_START_TEST):
4046           Unref bins
4047
4048 2006-04-05  Michael Smith  <msmith@fluendo.com>
4049
4050         * gst/gstquery.c: (gst_query_set_formats),
4051         (gst_query_set_formatsv):
4052           Fix leaking GValues in queries, as shown by valgrind/testsuite.
4053
4054 2006-04-05  Michael Smith  <msmith@fluendo.com>
4055
4056         * tests/check/generic/sinks.c: (GST_START_TEST):
4057           Fix a variety of memleaks in sinks check, which are only sometimes 
4058           shown by running the tests under valgrind (weird?).
4059
4060 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
4061
4062         * docs/version.entities.in:
4063           Fix the substituted entity name after thomas' changes on the
4064           weekend.
4065
4066 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4067
4068         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
4069         VALGRIND_PRINTF
4070         
4071 2006-04-05  Andy Wingo  <wingo@pobox.com>
4072
4073         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
4074
4075         * libs/gst/base/gstbasetransform.c
4076         (gst_base_transform_sink_eventfunc): When resetting our segment on
4077         FLUSH_STOP, also update the flag saying we haven't seen a
4078         newsegment.
4079
4080 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
4081
4082         Patch by: Paolo Borelli  <pborelli at katamail dot com>
4083
4084         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
4085         (gst_plugin_check_license):
4086           minor clean-ups: G_DEFINE_TYPE already takes care of the
4087           parent_class stuff, no need to do it twice. Mark array of
4088           license strings as constant. (#337103)
4089           
4090 2006-04-04  Michael Smith  <msmith@fluendo.com>
4091
4092         * tools/gst-inspect.c: (print_element_list):
4093           Free the right plugin list; fixes a memory leak.
4094
4095 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
4096
4097         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
4098
4099         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4100           Don't error out on empty buffers (#336945).
4101           
4102 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
4103
4104         * docs/libs/gstreamer-libs-sections.txt:
4105         * gst/gsttaglist.c:
4106         * libs/gst/base/gstbasesink.c:
4107         * libs/gst/base/gstbasesink.h:
4108         * libs/gst/base/gstbasesrc.c:
4109         * libs/gst/base/gstbasesrc.h:
4110           Documentation updates. Make BaseSink and BaseSrc docs contain the
4111           class structure so that people can actually see the prototypes for
4112           virtual functions they're supposed to be overriding.
4113
4114 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
4115
4116         * plugins/elements/gsttypefindelement.c:
4117         (gst_type_find_element_chain):
4118           More debug info; when skipping typefinding, send cached
4119           events in all cases.
4120
4121 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4122
4123         * configure.ac:
4124           use new AS_VERSION and AS_NANO macros
4125         * gst/gst-i18n-lib.h:
4126         * gst/gst.c:
4127         * gst/gsterror.c:
4128         * gst/gstversion.h.in:
4129         * win32/common/config.h:
4130         * win32/common/config.h.in:
4131           update accordingly
4132
4133 2006-03-31  Michael Smith  <msmith@fluendo.com>
4134
4135         * plugins/elements/gsttypefindelement.c:
4136         (gst_type_find_element_chain):
4137           Do not typefind content if the buffers already have caps.
4138           Neccesary for icydemux (#333657), and the right thing to do anyway.
4139
4140 2006-03-30  Wim Taymans  <wim@fluendo.com>
4141
4142         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4143         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
4144         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
4145         (gst_base_sink_record_qos_observation),
4146         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4147         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4148         (gst_base_sink_change_state):
4149         More QoS measurements as described in the design doc.
4150         Get rid of ringbuffer with observations, running average is
4151         more simple and equally good.
4152         Calculates valid proportion now.
4153         Added beginning of flood measurement.
4154
4155 2006-03-29  Wim Taymans  <wim@fluendo.com>
4156
4157         * docs/design/part-qos.txt:
4158         * gst/gstclock.c:
4159         Small documentation updates and additions.
4160
4161 2006-03-29  Wim Taymans  <wim@fluendo.com>
4162
4163         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4164         (gst_base_src_send_event), (gst_base_src_loop),
4165         (gst_base_src_change_state):
4166         Perform the EOS logic when we reach the segment stop position.
4167         Fix compilation on gcc4.1
4168
4169 2006-03-29  Wim Taymans  <wim@fluendo.com>
4170
4171         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
4172
4173         * plugins/elements/gstqueue.c: (gst_queue_init),
4174         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
4175         (gst_queue_set_property):
4176         * plugins/elements/gstqueue.h:
4177         In queue, when EOS is received, if minimum threshold > max_size -
4178         current_level, there is chance that queue blocks forever in conditional
4179         item del wait. This is because the queue is not emptied completely due
4180         to minimum threshold.  Here is another approach. Instead of setting
4181         cur_levels to max in EOS, just zero all minimum threshold levels. This
4182         should make sure that queue gives out all data. When going to READY
4183         (stop) state, just reset the original minimum threshold levels.
4184         Fixes #336336.
4185
4186 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
4187
4188         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
4189         (gst_type_find_element_handle_event),
4190         (gst_type_find_element_send_cached_events),
4191         (gst_type_find_element_change_state):
4192         * plugins/elements/gsttypefindelement.h:
4193           When typefinding is done in push mode, we should cache
4194           events we receive during typefinding instead of just
4195           dropping them (e.g. newsegment, custom events from
4196           dvdreadsrc etc.) and then send them out once we've
4197           determined the type of the stream (and decodebin
4198           has had a chance to plug in a decoder/demuxer).
4199           
4200 2006-03-27  Wim Taymans  <wim@fluendo.com>
4201
4202         * docs/design/part-qos.txt:
4203         First QoS ideas.
4204
4205 2006-03-27  Wim Taymans  <wim@fluendo.com>
4206
4207         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
4208
4209         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4210         (gst_base_src_send_event), (gst_base_src_change_state):
4211         Handle element seek correctly when we are streaming.
4212         Fixes #326998.
4213
4214 2006-03-24  Michael Smith  <msmith@fluendo.com>
4215
4216         * docs/faq/gst-uninstalled:
4217           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
4218           allow you to correctly run intalled applications built against old 
4219           core, using plugins that require updated core (e.g. running
4220           installed totem against a full uninstalled gstreamer stack)
4221
4222 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
4223
4224         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
4225         more debug details
4226
4227 2006-03-24  Wim Taymans  <wim@fluendo.com>
4228
4229         * docs/gst/gstreamer-sections.txt:
4230         Rearrange the order of the methods so that related methods
4231         are grouped together in sections.
4232
4233 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
4234
4235         * gst/gstelement.c:
4236           Little clarification in the docs
4237
4238 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
4239
4240         * docs/README:
4241         formatting fix
4242         * plugins/elements/gstidentity.c:
4243         * plugins/elements/gstqueue.c:
4244         * plugins/elements/gsttee.c:
4245         * plugins/elements/gsttypefindelement.c:
4246         GST_ELEMENT_DETAILS formatting
4247
4248 2006-03-24  Wim Taymans  <wim@fluendo.com>
4249
4250         * libs/gst/base/gstbasesink.h:
4251         Only add fields, not insert or we break ABI.
4252
4253 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
4254
4255         * win32/common/libgstbase.def:
4256         * win32/common/libgstreamer.def:
4257           Update, add recently added functions.
4258
4259 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
4260
4261         * docs/gst/gstreamer-sections.txt:
4262         * gst/gstutils.c: (gst_pad_query_peer_position),
4263         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
4264         * gst/gstutils.h:
4265           API: add some new utility functions:
4266            - gst_pad_query_peer_position()
4267            - gst_pad_query_peer_duration()
4268            - gst_pad_query_peer_convert()
4269           
4270 2006-03-23  Wim Taymans  <wim@fluendo.com>
4271
4272         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4273         (gst_base_sink_init), (gst_base_sink_finalize),
4274         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
4275         (gst_base_sink_set_property), (gst_base_sink_get_property),
4276         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
4277         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4278         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
4279         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4280         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4281         (gst_base_sink_preroll_object), (gst_base_sink_event),
4282         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
4283         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4284         (gst_base_sink_query), (gst_base_sink_change_state):
4285         Decouple max-lateness and the fact that QoS messages are generated
4286         with a new property (qos).
4287         added API: GstBaseSink::async_play()
4288         Add vmethod so subclasses can be notified of ASYNC playing
4289         state changes.
4290         Collect timestamp start and stop to report better current
4291         position in EOS/PLAYING/PAUSED/READY/NULL.
4292         Refactor QoS/frame dropping and other measurements.
4293         API: GstBaseSrc::qos
4294         Fixes #326311
4295
4296         * libs/gst/base/gstbasesink.h:
4297         Added Private struct.
4298         API: gst_base_sink_set_qos_enabled()
4299         API: gst_base_sink_is_qos_enabled()
4300
4301 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
4302
4303         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
4304           If compiling against GLib-2.8 or newer, try to read the
4305           registry file using GMappedFile first before falling back
4306           to fopen() + fread() (#332151).
4307
4308 2006-03-22  Wim Taymans  <wim@fluendo.com>
4309
4310         * gst/gstinfo.c: (gst_debug_set_active),
4311         (gst_debug_category_set_threshold):
4312         Disable debugging unless explicitly activated.
4313         Fixes #335480.
4314
4315 2006-03-22  Wim Taymans  <wim@fluendo.com>
4316
4317         * gst/gstelement.c: (gst_element_set_locked_state),
4318         (gst_element_dispose):
4319         Cleanup the error case.
4320
4321         * gst/gstobject.c: (gst_object_dispose):
4322         print a critical when some object was disposed with
4323         a parent, also revive the object since it might
4324         crash the parent.
4325
4326 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
4327
4328         * tools/gst-launch.1.in:
4329           Fix another typo.
4330
4331 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4332
4333         * configure.ac:
4334         * tests/check/Makefile.am:
4335           disable some tests when we don't have a registry
4336         * tests/check/gst/gstutils.c: (gst_utils_suite):
4337           don't build the part that needs parsing
4338
4339 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4340
4341         * gst/Makefile.am
4342         * tests/examples/Makefile.am:
4343           fix --disable-parse build
4344
4345 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4346
4347         * tools/gst-feedback.1.in:
4348           Fix typo: s/feeback/feedback/ (#133494).
4349
4350 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4351
4352         * tools/Makefile.am:
4353         * tools/gst-launch.1.in:
4354           Add FILES section and correct entry about GST_REGISTRY_PATH
4355           environment variable (#133495; #133494).
4356
4357 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4358
4359         * tools/Makefile.am:
4360         * tools/gst-md5sum.1.in:
4361         * tools/gst-md5sum.c:
4362           Remove gst-md5sum and man page (the md5sink element
4363           required was removed ages ago)
4364
4365 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4366
4367         * gst/gststructure.c: (gst_structure_id_set_value):
4368           Make sure that string fields in structures/taglists
4369           contain valid UTF-8 - we don't want to pass rubbish to
4370           applications because of a buggy plugin (cp. #334167).
4371
4372 2006-03-21  Edward Hervey  <edward@fluendo.com>
4373
4374         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
4375         (gst_bin_handle_message_func):
4376         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
4377         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
4378         (gst_element_set_bus_func):
4379         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
4380         * gst/gstminiobject.c: (gst_value_set_mini_object),
4381         (gst_value_take_mini_object):
4382         * gst/gstpad.c: (gst_pad_set_pad_template):
4383         * gst/gstpipeline.c: (gst_pipeline_dispose),
4384         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4385         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
4386         (gst_collect_pads_chain):
4387         * libs/gst/net/gstnettimeprovider.c:
4388         (gst_net_time_provider_set_property):
4389         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
4390         It's in fact all issues with gst_*object_replace().
4391
4392 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4393
4394         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
4395         
4396         * pkgconfig/gstreamer-check-uninstalled.pc.in:
4397         * pkgconfig/gstreamer-check.pc.in:
4398           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
4399
4400 2006-03-21  Edward Hervey  <edward@fluendo.com>
4401
4402         * gst/gstbuffer.h:
4403         * gst/gstevent.h:
4404         * gst/gstmessage.h:
4405         gst_[buffer|event|message]_ref() macros are replaced by a static
4406         inline functions because gcc-4.1 will about if the return value
4407         isn't used.
4408         * tests/check/gst/gstevent.c: (event_probe):
4409         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
4410
4411 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
4412
4413         * gst/gstutils.h:
4414         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
4415         the type' case. (Closes: #335195 for now). In the future, when we
4416         depend on GLib 2.10, we could also intern the type name using
4417         g_intern_static_string()
4418
4419 2006-03-20  Wim Taymans  <wim@fluendo.com>
4420
4421         * gst/gstbin.c: (gst_bin_handle_message_func),
4422         (bin_query_max_init), (bin_query_position_fold),
4423         (bin_query_position_done), (gst_bin_query):
4424         Position query should also take max of all streams.
4425
4426 2006-03-20  Wim Taymans  <wim@fluendo.com>
4427
4428         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4429         (gst_fake_src_finalize):
4430         Fix leaks in fakesrc.
4431
4432         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4433         Fix leaks in the testcase.
4434
4435 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
4436
4437         * gst/gst_private.h:
4438           add win32 specific import decoration(__declspec(dllimport)) 
4439           for all extern GstDebugCategory * variables
4440         * win32/common/libgstbase.def:
4441         * win32/common/libgstcontroller.def:
4442         * win32/common/libgstreamer.def:
4443           Add some exports, remove empty lines
4444         * win32/common/libgstdataprotocol.def:
4445         * win32/common/libgstdataprotocol.dsp:
4446         * win32/common/libgstnet.def:
4447         * win32/common/libgstnet.dsp:
4448           new project files and exportation files added
4449         
4450 2006-03-19  Wim Taymans  <wim@fluendo.com>
4451
4452         * tests/check/libs/basesrc.c: (eos_event_counter):
4453         Use proper return value for probe.
4454
4455 2006-03-17  Wim Taymans  <wim@fluendo.com>
4456
4457         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4458         (gst_pad_push):
4459         Don't leak buffers, caps and pads on negotiation errors.
4460
4461 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
4462
4463         * docs/faq/cvs.xml:
4464         * docs/faq/dependencies.xml:
4465         * docs/faq/developing.xml:
4466         * docs/faq/faq.xml:
4467         * docs/faq/general.xml:
4468         * docs/faq/getting.xml:
4469         * docs/faq/legal.xml:
4470         * docs/faq/troubleshooting.xml:
4471         * docs/faq/using.xml:
4472         Faq review and update.
4473
4474 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
4475
4476         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4477         (gst_pad_push):
4478         Don't pound the cpu to pieces by checking get_caps when accept_caps
4479         is called with the same caps as the pad already has.
4480         Use GST_DEBUG_OBJECT when outputting caps change information.
4481
4482 2006-03-15  Wim Taymans  <wim@fluendo.com>
4483
4484         * gst/gstclock.c: (gst_clock_class_init):
4485         Fix docs.
4486
4487 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
4488
4489         * gst/gstbuffer.h:
4490         Documentation fix.
4491
4492         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
4493         (gst_pad_accept_caps), (gst_pad_configure_sink),
4494         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
4495         Make the default acceptcaps behaviour be to check the requested 
4496         caps against the gst_pad_get_caps output. 
4497
4498         Ensure that gst_pad_accept_caps is used to check caps when a pad
4499         doesn't have a setcaps function, so that pads automatically refuse 
4500         caps that they don't allow in their pad template. (Fixes #332986)
4501
4502         When a buffer with attached caps is pushed, ensure that the source 
4503         pad receives those caps even if the element didn't call
4504         gst_pad_set_caps first.
4505
4506 2006-03-15  Wim Taymans  <wim@fluendo.com>
4507
4508         * libs/gst/base/gstadapter.c:
4509         Add some docs.
4510
4511 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
4512
4513         * win32/common/libgstbase.def:
4514         * win32/common/libgstcontroller.def:
4515         * win32/common/libgstreamer.def:
4516           Add a whole bunch of missing functions (#334434).
4517
4518 2006-03-14  Wim Taymans  <wim@fluendo.com>
4519
4520         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4521         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4522         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
4523         Better debug info when we receive a segment event.
4524         Reorganize a bit so we can pass the get_times() results around.
4525         Use the segment format when calculating the running time.
4526         Don't do QoS is sync is disabled or we have no clock or the
4527         element does not want us to sync to the clock.
4528         Don't drop buffers if QoS is disabled for now.
4529
4530 2006-03-14  Wim Taymans  <wim@fluendo.com>
4531
4532         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
4533         Marked the stats property as unimplemented so people don't get
4534         wild ideas.
4535         Add debug message when regression goes wrong.
4536         Added some more docs.
4537
4538 2006-03-14  Wim Taymans  <wim@fluendo.com>
4539
4540         * gst/gstsegment.c: (gst_segment_to_stream_time):
4541         Return correct return type in case of errors.
4542
4543 2006-03-14  Wim Taymans  <wim@fluendo.com>
4544
4545         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
4546           Don't segfault on invalid formats.
4547
4548 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4549
4550         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4551           Can't use gst_segment_to_running_time() when the segment
4552           is not in GST_TIME_FORMAT (like with filesink, for example).
4553           Stops flac encoding pipelines from spewing critical warnings
4554           at EOS (#331248).
4555           
4556 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4557
4558         * gst/gstpipeline.c: (gst_pipeline_class_init):
4559           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
4560
4561         * plugins/elements/gsttypefindelement.c:
4562         (gst_type_find_element_handle_event):
4563           Don't try to typefind empty streams.
4564
4565 2006-03-14  Wim Taymans  <wim@fluendo.com>
4566
4567         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4568         (gst_base_sink_do_qos):
4569         Separate QoS calculation.
4570         Only drop buffers when lateness is bigger than the 
4571         duration of the buffer.
4572
4573 2006-03-13  Wim Taymans  <wim@fluendo.com>
4574
4575         * gst/gstpipeline.c: (gst_pipeline_set_property),
4576         (gst_pipeline_get_property), (do_pipeline_seek),
4577         (gst_pipeline_change_state), (gst_pipeline_set_delay),
4578         (gst_pipeline_get_delay):
4579         Don't deadlock when reading properties.
4580
4581 2006-03-13  Wim Taymans  <wim@fluendo.com>
4582
4583         * libs/gst/base/gstbasetransform.c:
4584         (gst_base_transform_class_init), (gst_base_transform_init),
4585         (gst_base_transform_sink_event),
4586         (gst_base_transform_sink_eventfunc),
4587         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
4588         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4589         (gst_base_transform_set_property),
4590         (gst_base_transform_get_property),
4591         (gst_base_transform_change_state), (gst_base_transform_update_qos),
4592         (gst_base_transform_set_qos_enabled),
4593         (gst_base_transform_is_qos_enabled):
4594         * libs/gst/base/gstbasetransform.h:
4595         Make basetransform virtual method for src events too.
4596         Handle QOS in basetransform.
4597         API: gst_base_transform_update_qos()
4598         API: gst_base_transform_set_qos_enabled()
4599         API: gst_base_transform_is_qos_enabled()
4600
4601 2006-03-13  Wim Taymans  <wim@fluendo.com>
4602
4603         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4604         (gst_base_sink_do_sync):
4605         Small cleanups.
4606         Use QOS debug category.
4607
4608 2006-03-13  Wim Taymans  <wim@fluendo.com>
4609
4610         * plugins/elements/gstqueue.c:
4611         Very small doc update.
4612
4613 2006-03-13  Wim Taymans  <wim@fluendo.com>
4614
4615         * gst/gst_private.h:
4616         * gst/gstinfo.c: (_gst_debug_init):
4617         Added QOS debug category
4618
4619 2006-03-13  Wim Taymans  <wim@fluendo.com>
4620
4621         * docs/gst/gstreamer-sections.txt:
4622         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
4623         * gst/gstbin.h:
4624         * gst/gstbus.c: (gst_bus_class_init):
4625         * gst/gstbus.h:
4626         * gst/gstclock.c:
4627         * gst/gstelement.c: (gst_element_set_locked_state):
4628         * gst/gstsegment.c:
4629         Documentation updates.
4630
4631         * gst/gstpipeline.c: (gst_pipeline_get_type),
4632         (gst_pipeline_class_init), (gst_pipeline_init),
4633         (gst_pipeline_dispose), (gst_pipeline_set_property),
4634         (gst_pipeline_get_property), (do_pipeline_seek),
4635         (gst_pipeline_send_event), (gst_pipeline_change_state),
4636         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
4637         (gst_pipeline_get_delay):
4638         * gst/gstpipeline.h:
4639         Added methods for setting the delay.
4640         API: gst_pipeline_set_delay()
4641         API: gst_pipeline_get_delay()
4642         Add pipeline debug category
4643         Various cleanups.
4644         Updated docs.
4645         Don't reset stream time when seek failed.
4646
4647 2006-03-13  Wim Taymans  <wim@fluendo.com>
4648
4649         * docs/design/draft-klass.txt:
4650         * docs/design/part-clocks.txt:
4651         * docs/design/part-events.txt:
4652         * docs/design/part-gstbin.txt:
4653         * docs/design/part-gstpipeline.txt:
4654         * docs/design/part-messages.txt:
4655         * docs/design/part-negotiation.txt:
4656         * docs/design/part-overview.txt:
4657         * docs/design/part-preroll.txt:
4658         * docs/design/part-seeking.txt:
4659         * docs/design/part-states.txt:
4660         * docs/design/part-streams.txt:
4661         Documentation updates.
4662
4663 2006-03-12  Julien MOUTTE  <julien@moutte.net>
4664
4665         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
4666         us to leak strings...
4667
4668 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4669
4670         * libs/gst/net/gstnettimeprovider.c:
4671           fix docs
4672         * win32/common/config.h:
4673           update
4674
4675 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
4676
4677         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
4678
4679         * configure.ac:
4680           Don't check for libgnomeui (leftover from old examples
4681           that aren't built or disted any longer) (#334303).
4682           
4683 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
4684
4685         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4686         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4687           Emit RESOURCE_NO_SPACE_LEFT error here as well when
4688           there's no space left on the device.
4689
4690 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
4691
4692         * gst/gstclock.h:
4693           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
4694           to cast the input to GstClockTime before comparing with
4695           another GstClockTime value.
4696
4697 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4698
4699         * configure.ac:
4700           back to trunk
4701
4702 === release 0.10.4 ===
4703
4704 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
4705
4706         * configure.ac:
4707           releasing 0.10.4, "Light"
4708
4709 2006-03-10  Michael Smith  <msmith@fluendo.com>
4710
4711         * libs/gst/dataprotocol/dataprotocol.c:
4712           Fix docs for dataprocotol to not get the return types completely
4713           wrong for a few functions.
4714
4715 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4716
4717         * docs/gst/gstreamer-sections.txt:
4718         * gst/gstpipeline.c: (gst_pipeline_class_init),
4719         (gst_pipeline_init), (gst_pipeline_set_property),
4720         (gst_pipeline_get_property), (gst_pipeline_change_state),
4721         (gst_pipeline_set_auto_flush_bus),
4722         (gst_pipeline_get_auto_flush_bus):
4723         * gst/gstpipeline.h:
4724           Add new API: gst_pipeline_set_auto_flush_bus() and
4725           gst_pipeline_get_auto_flush_bus() to disable automatic
4726           flushing of the pipeline's GstBus when going from READY
4727           to NULL state (#332045).
4728
4729 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4730
4731         * docs/gst/gstreamer-sections.txt:
4732         * gst/gsturi.c: (gst_uri_has_protocol):
4733         * gst/gsturi.h:
4734            Add new API: gst_uri_has_protocol() (#333779).
4735
4736 2006-03-09  Wim Taymans  <wim@fluendo.com>
4737
4738         * gst/gstclock.c: (gst_clock_entry_new),
4739         (gst_clock_id_compare_func), (gst_clock_id_wait),
4740         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
4741         (gst_clock_init), (gst_clock_get_internal_time),
4742         (gst_clock_set_master), (do_linear_regression),
4743         (gst_clock_add_observation), (gst_clock_set_property):
4744         * gst/gstclock.h:
4745         Review docs.
4746         Small cleanups.
4747         Fix a possible segfault when the window-size is made smaller.
4748         Calculate jitter before performing the clock wait. Ideally
4749         the clock implementation should calculate jitter but we need
4750         API breakage for that.
4751
4752         * gst/gstsystemclock.c: (gst_system_clock_init):
4753         Docs review.
4754         
4755         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4756         Remove leftover else
4757
4758         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4759         (gst_systemclock_suite):
4760         Added check to test GST_CLOCK_DIFF.
4761
4762 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4763
4764         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
4765         (gst_type_find_helper_get_range):
4766           If we are provided with the size, we should implement
4767           GstTypeFind::get_length, so that typefind functions who
4768           want to can actually peek at the middle of a file.
4769
4770 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
4771
4772         * docs/manual/advanced-dataaccess.xml:
4773           Add some very very basic error checking.
4774
4775         * docs/pwg/appendix-checklist.xml:
4776           Some updates to the list of things to check when writing an element.
4777
4778 2006-03-08  Wim Taymans  <wim@fluendo.com>
4779
4780         * docs/design/part-element-transform.txt:
4781         Added some docs about the design of tranform elements.
4782
4783         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4784         (gst_base_src_loop), (gst_base_src_change_state):
4785         Mark buffers with the DISCONT flag.
4786
4787 2006-03-08  Michael Smith  <msmith@fluendo.com>
4788
4789         * gst/gstregistry.h:
4790         * gst/gstregistryxml.c: (gst_registry_save),
4791         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
4792         (gst_registry_xml_save_pad_template),
4793         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
4794         (gst_registry_xml_write_cache):
4795           Rewrite registry-saving to avoid race conditions and check for
4796           failed writes.
4797
4798 2006-03-08  Wim Taymans  <wim@fluendo.com>
4799
4800         * libs/gst/base/gstbasetransform.c:
4801         (gst_base_transform_transform_caps),
4802         (gst_base_transform_transform_size),
4803         (gst_base_transform_prepare_output_buffer),
4804         (gst_base_transform_get_unit_size),
4805         (gst_base_transform_buffer_alloc),
4806         (gst_base_transform_handle_buffer),
4807         (gst_base_transform_change_state):
4808         Cleanups, separate normal flow from errors, add sensible
4809         DEBUG lines.
4810         Don't try to renegotiate when allocating an output buffer.
4811         Also copy DISCONT buffer flag when copying a buffer.
4812         Reset the transform after we finish streaming, not during.
4813
4814 2006-03-08  Wim Taymans  <wim@fluendo.com>
4815
4816         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4817         Use last buffer timestamp in qos message.
4818
4819 2006-03-07  Wim Taymans  <wim@fluendo.com>
4820
4821         Patch by: Christophe Fergeau
4822
4823         * docs/pwg/advanced-tagging.xml:
4824         * docs/pwg/building-pads.xml:
4825           fixes #333416
4826
4827 2006-03-07  Wim Taymans  <wim@fluendo.com>
4828
4829         * docs/libs/gstreamer-libs-sections.txt:
4830         Added basesink new methods.
4831
4832         * gst/gstevent.c:
4833         * gst/gstevent.h:
4834         Docs updates. Flesh out the QoS docs.
4835
4836         * libs/gst/base/gstadapter.c:
4837         Small doc clarification about ownership and flushing.
4838
4839         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
4840         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4841         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
4842         (gst_base_sink_get_property), (gst_base_sink_do_sync):
4843         * libs/gst/base/gstbasesink.h:
4844         API additions: 
4845         Added new methods to allow subclass to control max-lateness 
4846         and sync.
4847         Generate very basic QoS events based on last sync observation.
4848         Updated docs, fix typo, added some QoS blurb.
4849
4850         * libs/gst/base/gstbasesrc.c:
4851         Remove obsolete _get_state() calls from docs.
4852
4853 2006-03-07  Wim Taymans  <wim@fluendo.com>
4854
4855         * docs/libs/gstreamer-libs-sections.txt:
4856         * libs/gst/base/gstbasetransform.h:
4857         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
4858         Fix docs for GstBaseSrc.
4859
4860 2006-03-07  Wim Taymans  <wim@fluendo.com>
4861
4862         * docs/gst/gstreamer-sections.txt:
4863         * gst/gstbuffer.h:
4864         * gst/gstvalue.c:
4865         * libs/gst/base/gstbasetransform.h:
4866         Small documentation fixes.
4867
4868 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4869
4870         * gst/gstvalue.c:
4871           Document thread-unsafety of gst_value_register_foo_func()
4872           when used at the same time as gst_value_foo() (#322628).
4873
4874 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4875
4876         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
4877         (gst_push_src_check_get_range):
4878           Push sources don't support pull mode by default.
4879
4880 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
4881
4882         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4883         (gst_base_src_init), (gst_base_src_pad_check_get_range),
4884         (gst_base_src_default_check_get_range):
4885         * libs/gst/base/gstbasesrc.h:
4886           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
4887           provide default implementation, and rename
4888           gst_base_src_check_get_range() to
4889           gst_base_src_pad_check_get_range() for clarity.
4890
4891 2006-03-06  Wim Taymans  <wim@fluendo.com>
4892
4893         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4894         Make property overridable.
4895
4896 2006-03-06  Wim Taymans  <wim@fluendo.com>
4897
4898         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4899         (gst_base_sink_init), (gst_base_sink_set_property),
4900         (gst_base_sink_get_property), (gst_base_sink_do_sync):
4901         * libs/gst/base/gstbasesink.h:
4902         API addition: Make max-lateness a property.
4903
4904 2006-03-06  Wim Taymans  <wim@fluendo.com>
4905
4906         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
4907         (gst_base_sink_do_sync), (gst_base_sink_render_object):
4908         Don't ever draw a frame that is >10ms late.
4909
4910 2006-03-06  Michael Smith  <msmith@fluendo.com>
4911
4912         * gst/gstmessage.c: (_gst_message_copy):
4913           When copying a message, set the parent_refcount of the enclosed
4914           structure to point at the copy, not the original message.
4915
4916 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
4917
4918         Patch by: Christophe Fergeau
4919
4920         * gst/gstutils.h:
4921           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
4922           usable in c++ code (#333417)
4923
4924 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4925
4926         * gst/gstclock.h:
4927           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
4928
4929 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
4930
4931         * libs/gst/base/gstbasetransform.c:
4932         (gst_base_transform_transform_caps):
4933           Make sure caps are writable before passing them to
4934           gst_caps_append().
4935
4936 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
4937
4938         * gst/gsterror.h:
4939           Fix some minor docs errors.
4940
4941 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
4942
4943           Patch by: Ross Burton <ross at burtonini dot com>
4944
4945         * gst/gsterror.c: (_gst_resource_errors_init):
4946         * gst/gsterror.h:
4947           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
4948
4949 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
4950
4951         * gst/gst.c:
4952         Add a check and output a g_warning when GStreamer is built
4953         against GLib 2.6 but running against 2.8 or higher, and vice 
4954         versa. (Closes: #323542)
4955
4956 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
4957
4958         * gst/parse/parse.l:
4959           Commit patch for parse_launch syntax from #331255. Removes 
4960           support for quoted strings and mimetypes when writing filtered 
4961           caps. See the bug report for more details - I'm pretty sure this
4962           obscure feature is not in use by _anyone_ anywhere.
4963
4964           With this simple change, the size of the gstreamer.so here 
4965           drops from 2193KB to 1565KB.
4966
4967 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4968
4969         * plugins/elements/gsttypefindelement.h:
4970         * plugins/elements/gsttypefindelement.c:
4971         (gst_type_find_element_src_event), (start_typefinding),
4972         (stop_typefinding), (gst_type_find_element_handle_event),
4973         (gst_type_find_element_chain),
4974         (gst_type_find_element_chain_do_typefinding):
4975           Use gst_type_find_helper_for_buffer() for chain-based
4976           typefinding.
4977
4978 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4979
4980         * plugins/elements/gsttypefindelement.c:
4981         (gst_type_find_element_class_init),
4982         (gst_type_find_element_set_property),
4983         (gst_type_find_element_get_property):
4984           Deprecate "maximum" property (not only was it only taken into
4985           account for typefinding in push-mode anyway, it also was never
4986           actually possible to set it in the first place because the
4987           property was registered with the numeric property ID for the
4988           "minimum" property). Register "maximum" property correctly,
4989           for the sake of future copy'n'pasters. Remove some cruft
4990           from property get/set functions.
4991
4992 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4993
4994         * plugins/elements/gsttypefindelement.c:
4995         (gst_type_find_element_activate):
4996           Use gst_type_find_helper_get_range() here, so we
4997           can honour the "minimum" property and also emit
4998           the signal with the correct probability of the found caps.
4999
5000 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
5001
5002         * docs/libs/gstreamer-libs-sections.txt:
5003         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5004         (helper_find_suggest), (gst_type_find_helper_get_range),
5005         (gst_type_find_helper):
5006         * libs/gst/base/gsttypefindhelper.h:
5007           New API: gst_type_find_helper_get_range() (#333042).
5008
5009 2006-03-02  Michael Smith  <msmith@fluendo.com>
5010
5011         * gst/gstregistryxml.c: (load_feature):
5012           Asserting on a failure to read part of the registry is Not Cool.
5013           Just log a warning and return NULL (which is already handled)
5014
5015 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
5016
5017         * win32/common/libgstbase.def:
5018           added export of gst_type_find_helper_for_buffer
5019         * win32/common/libgstbase.def:
5020           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
5021           gst_ghost_pad_get_target
5022
5023 2006-02-28  Wim Taymans  <wim@fluendo.com>
5024
5025         * docs/design/draft-klass.txt:
5026         We use Filter now.
5027         Added Connector to mark elements that are only used to
5028         allow pipeline connections.
5029         Moved Debug to extra feature since most of them are 
5030         functionally something else.
5031
5032 2006-02-28  Wim Taymans  <wim@fluendo.com>
5033
5034         * docs/design/draft-klass.txt:
5035         Some updates and clarifications.
5036
5037 2006-02-28  Wim Taymans  <wim@fluendo.com>
5038
5039         * docs/design/draft-klass.txt:
5040         Proposal for klass field values.
5041
5042         * docs/design/part-streams.txt:
5043         Start of a doc describing stream anatomy.
5044
5045 2006-02-28  Wim Taymans  <wim@fluendo.com>
5046
5047         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
5048         Help the compiler a bit with type registration.
5049         Use existing forward cod path instead of duplicating it when 
5050         handling a message.
5051         
5052         * gst/gstbus.c: (gst_bus_get_type):
5053         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
5054         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
5055         * gst/gstclock.c: (gst_clock_get_type):
5056         * gst/gstelement.c: (gst_element_get_type),
5057         * gst/gstelementfactory.c: (gst_element_factory_get_type):
5058         * gst/gstindexfactory.c: (gst_index_factory_get_type):
5059         * gst/gstminiobject.c: (gst_mini_object_get_type):
5060         * gst/gstpad.c: (gst_pad_get_type):
5061         * gst/gstsegment.c: (gst_segment_get_type):
5062         * gst/gststructure.c: (gst_structure_get_type):
5063         * gst/gstsystemclock.c: (gst_system_clock_get_type):
5064         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
5065         * gst/gstvalue.c:
5066         Help compiler with type registration.
5067
5068         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
5069         Small doc update.
5070
5071 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5072
5073         * plugins/elements/gsttypefindelement.c:
5074         (gst_type_find_element_handle_event):
5075           When we get an EOS event and have not found a type yet
5076           (most likely because we had not yet accumulated
5077           TYPE_FIND_MIN_SIZE of data yet), try to determine the
5078           type given the data we have so far. Fixes typefinding
5079           for very short streams again, most notably quicktime
5080           redirections as used on Apple's trailer site (#331701).
5081
5082 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5083
5084         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
5085         (gst_type_find_helper):
5086           Try typefinding factories with the highest rank first.
5087
5088 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5089
5090         * docs/libs/gstreamer-libs-docs.sgml:
5091         * docs/libs/gstreamer-libs-sections.txt:
5092         * libs/gst/base/gsttypefindhelper.c:
5093           Add section for typefind helper and add documentation
5094           for the old and the new function.
5095
5096 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5097
5098         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
5099         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
5100         (gst_type_find_helper_for_buffer):
5101         * libs/gst/base/gsttypefindhelper.h:
5102           New API: gst_type_find_helper_for_buffer() (#332723).
5103           
5104 2006-02-27  Michael Smith  <msmith@fluendo.com>
5105
5106         Patch by: Loïc Minier
5107
5108         * configure.ac:
5109         * docs/Makefile.am:
5110         * docs/slides/Makefile.am:
5111           prevent CVS directories getting disted.
5112
5113 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5114
5115         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
5116           Use the REFCOUNTING category for caps refcounting.
5117           
5118 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
5119
5120         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
5121           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
5122
5123 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
5124
5125         * plugins/elements/gsttypefindelement.c:
5126         (gst_type_find_element_activate):
5127           Use gst_pad_check_pull_range() before _activate_pull()
5128           to avoid unnecessary open/close (see #331690).
5129
5130 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
5131
5132         * gst/gstutils.c:
5133           Docs enhancement: make it crystal clear what the
5134           gst_pad_add_*_probe() callbacks should look like.
5135
5136 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
5137
5138         * libs/gst/base/gstbasesrc.c:
5139           Document how applications can stop recording from
5140           live sources (see #330996).
5141
5142 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5143
5144         * tests/check/Makefile.am:
5145         * tests/check/libs/basesrc.c: (eos_event_counter),
5146         (basesrc_eos_events_pull), (basesrc_eos_events_push),
5147         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
5148         (gst_basesrc_suite), (main):
5149           ... and add some tests for the base source EOS stuff.
5150
5151 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5152
5153         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
5154           Test case originally showed the problem fixed below,
5155           but was then amended. Add checks back at the place
5156           where they used to be.
5157
5158 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5159
5160         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5161         (gst_base_src_init), (gst_base_src_loop),
5162         (gst_base_src_activate_push), (gst_base_src_activate_pull),
5163         (gst_base_src_change_state):
5164         * libs/gst/base/gstbasesrc.h:
5165           Don't unconditionally send EOS when going from PAUSED to
5166           READY state, esp. make sure we don't send two EOS events
5167           in some cases (e.g. one when reaching EOS and one when
5168           going from PAUSED to READY). Also, we don't want to send
5169           EOS events when operating in pull mode. However, we do
5170           want to send an EOS event when shutting down a live
5171           source explicitly, for example (fixes #330996).
5172           
5173 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5174
5175         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5176           Update src->read_position after a seek when not using mmap.
5177           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
5178
5179 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
5180
5181         * gst/Makefile.am:
5182         * gst/gstparse.h:
5183         * gst/gstutils.c:
5184         * gst/gstutils.h:
5185         Make things work with --disable-parse as they do with 
5186         --disable-load-save - the symbols involved disappear, but the
5187         header is still installed and GST_DISABLE_PARSE is included via
5188         gstconfig.h
5189
5190 2006-02-20  Julien MOUTTE  <julien@moutte.net>
5191
5192         * libs/gst/base/gstbasetransform.c:
5193         (gst_base_transform_change_state): Fix a stupid bug. I was 
5194         sure I compiled that.
5195
5196 2006-02-20  Julien MOUTTE  <julien@moutte.net>
5197
5198         * gst/gstpad.c: (gst_pad_set_blocked_async):
5199         * gst/gstutils.c: (gst_pad_add_data_probe),
5200         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5201         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5202         (gst_pad_remove_buffer_probe): Make those function act on the
5203         ghostpad target when it's a ghostpad. (Closes #331727)
5204
5205 2006-02-20  Julien MOUTTE  <julien@moutte.net>
5206
5207         * libs/gst/base/gstbasetransform.c:
5208         (gst_base_transform_change_state): Make basetransform reusable.
5209         (Closes #331898)
5210
5211 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
5212
5213         * docs/random/release:
5214         Move the current documentation of how to do a release to the top
5215         of the file.
5216
5217         * gst/gstbin.c: (gst_bin_class_init),
5218         (gst_bin_handle_message_func):
5219         Allow multiple state-recalculation threads. (Closes #328873)
5220
5221 2006-02-19  Julien MOUTTE  <julien@moutte.net>
5222
5223         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
5224         * gst/gstpad.c: (gst_pad_set_event_function),
5225         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5226         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
5227         2 strings. You can't use the STR_NULL macro on that.
5228
5229 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
5230
5231         * gst/gstpad.c: (gst_pad_set_event_function),
5232         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5233         (gst_pad_set_getcaps_function)
5234         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
5235           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
5236           So now, we can use --gst-debug-level=5 on Windows
5237         * win32/common/libgstcontroller.def:
5238           Added export of gst_controller_init
5239         * win32/vs6/libgstcontroller.dsp:
5240           Fixed Release post build configuration
5241
5242 2006-02-17  Wim Taymans  <wim@fluendo.com>
5243
5244         * tests/check/gst/gstquery.c: (GST_START_TEST):
5245         Added another check.
5246
5247 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
5248
5249         * plugins/elements/gsttypefindelement.c: (find_peek):
5250           We can do peeks at non-zero offsets, as long as they
5251           fall within the buffer we have.
5252
5253 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
5254
5255         * tests/check/Makefile.am:
5256         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
5257         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
5258         (parse_suite), (main):
5259           Add testsuite for parse launch syntax
5260
5261 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
5262
5263         * plugins/elements/gsttypefindelement.c:
5264         (gst_type_find_element_chain):
5265           When typefinding is unsuccessful in the chain function, don't
5266           error out immediately. Only error out with NO_CAPS_FOUND if
5267           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
5268           otherwise simply wait for more data so we can try typefinding
5269           again with more data later. Also, don't attempt to typefind
5270           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
5271           this should improve typefinding from network sources where the
5272           size of the first buffer can be somewhat random.
5273
5274 2006-02-14  Wim Taymans  <wim@fluendo.com>
5275
5276         * docs/gst/gstreamer-sections.txt:
5277         * gst/gstpadtemplate.c:
5278         * gst/gstpadtemplate.h:
5279         Fix padtemplate docs, fixes #328805.
5280
5281 2006-02-14  Wim Taymans  <wim@fluendo.com>
5282
5283         * tools/gst-launch.c: (main):
5284         NO_PREROLL is not an ERROR so don't send confusing messages
5285         to the user.
5286
5287 2006-02-14  Wim Taymans  <wim@fluendo.com>
5288
5289         Patch by: Torsten Schoenfeld
5290
5291         * gst/gstregistry.c: (gst_registry_get_default),
5292         (_gst_registry_cleanup):
5293         Protect default registry with lock and ref/sink it.
5294         Fixes #324818
5295
5296 2006-02-14  Wim Taymans  <wim@fluendo.com>
5297
5298         * gst/gstbuffer.c:
5299         * gst/gstquery.c: (gst_query_list_add_format),
5300         (gst_query_set_formatsv), (gst_query_parse_formats_length),
5301         (gst_query_parse_formats_nth):
5302         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5303         Docs fixes.
5304
5305 2006-02-14  Wim Taymans  <wim@fluendo.com>
5306
5307         * docs/gst/gstreamer-sections.txt:
5308         Reworked query docs.
5309
5310         * gst/gstquery.c: (gst_query_new_formats),
5311         (gst_query_list_add_format), (gst_query_set_formats),
5312         (gst_query_set_formatsv), (gst_query_parse_formats_length),
5313         (gst_query_parse_formats_nth):
5314         * gst/gstquery.h:
5315         Flesh out formats query, added some new methods.
5316         Fix part of #324398.
5317
5318         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
5319         Added query creation tests.
5320
5321 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
5322
5323         * gst/gstpad.c: (fixate_value):
5324         Add a default fixation for fraction lists.
5325
5326 2006-02-13  Wim Taymans  <wim@fluendo.com>
5327
5328         * gst/gsttask.c: (gst_task_init), (gst_task_func),
5329         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
5330         (gst_task_join):
5331         * gst/gsttask.h:
5332         Detect and warn for obvious deadlocks. fixes #320340
5333         Fix error case where lock was not released.
5334
5335         * tests/check/Makefile.am:
5336         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
5337         (task_func), (gst_element_suite), (main):
5338         Add task check.
5339
5340 2006-02-13  Wim Taymans  <wim@fluendo.com>
5341
5342         * docs/gst/gstreamer-sections.txt:
5343         * gst/gstbus.c:
5344         Add new functions to docs.
5345
5346 2006-02-13  Wim Taymans  <wim@fluendo.com>
5347
5348         * docs/design/part-TODO.txt:
5349         Updated TODO list, basesrc supports seeking to non-bytes
5350         formats.
5351
5352         * docs/design/part-element-sink.txt:
5353         Update docs.
5354
5355         * gst/gstbin.c: (bin_replace_message),
5356         (gst_bin_handle_message_func):
5357         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
5358         * gst/gstevent.c: (gst_event_finalize):
5359         * gst/gstpad.c: (gst_pad_event_default_dispatch),
5360         (gst_pad_send_event):
5361         Use shiny new _TYPE_NAME macros.
5362
5363         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5364         Move debug statement up.
5365
5366         * gst/gstelement.c: (gst_element_set_locked_state):
5367         Add some debugging.
5368
5369 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
5370
5371         * docs/gst/gstreamer-sections.txt:
5372         * gst/gstmessage.h:
5373         * gst/gstquery.h:
5374           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
5375           macros (#330906). Also, document the already existing
5376           GST_QUERY_TYPE macro.
5377
5378 2006-02-13  Wim Taymans  <wim@fluendo.com>
5379
5380         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
5381         (event_probe), (GST_START_TEST):
5382         Only events up to the pipeline EOS are counted, there are
5383         some more when going to NULL currently which we don't care
5384         about for now.
5385
5386 2006-02-13  Wim Taymans  <wim@fluendo.com>
5387
5388         * gst/gstpad.c: (gst_pad_send_event):
5389         Correctly check flushing and emit probes. fixes #330125
5390
5391 2006-02-10  Andy Wingo  <wingo@pobox.com>
5392
5393         * gst/gstbus.c (gst_bus_class_init): Declare our private data
5394         structure.
5395         (gst_bus_init): Cache the location of the private data in the
5396         instance structure.
5397         (gst_bus_enable_sync_message_emission) 
5398         (gst_bus_disable_sync_message_emission): Implement new public
5399         functions.
5400         (gst_bus_post): Emit the sync-message signal if the user asked for
5401         it. Fixes #330684.
5402
5403         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
5404         location of the bus-private structure.
5405         (gst_bus_enable_sync_message_emission)
5406         (gst_bus_disable_sync_message_emission): API addition
5407
5408 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
5409
5410         Patch by: Vincent Torri
5411
5412         * docs/pwg/building-boiler.xml:
5413         PWG patch from #326800
5414
5415 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
5416
5417         * configure.ac:
5418         * docs/Makefile.am:
5419         * docs/design/Makefile.am:
5420           Dist design docs.
5421
5422 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
5423
5424         * configure.ac:
5425           back to CVS
5426
5427 === release 0.10.3 ===
5428
5429 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
5430
5431         * configure.ac:
5432           releasing 0.10.3, "Like a virgin"
5433
5434 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
5435
5436         * configure.ac:
5437           2nd prerelease of 0.10.3
5438           Bump libtool versioning.
5439
5440 2006-02-07  Andy Wingo  <wingo@pobox.com>
5441
5442         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
5443         update last_stop if we're in TIME format and the timestamp is
5444         valid.
5445
5446         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
5447         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
5448         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
5449         If we get a new newsegment with a different format, adapt
5450         accordingly.
5451
5452         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
5453         of 0. Not a problem, really.
5454
5455         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
5456         warn if sync=true.
5457
5458 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
5459
5460         * configure.ac:
5461           Prelease of 0.10.3
5462
5463 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
5464
5465         * win32/vs7:
5466           project files updated to the default vs7 configuration
5467         * win32/common/libgstbase.def:
5468         * win32/common/libgstreamer.def:
5469           added new symbols,
5470           removed empty lines,
5471           sorted all exported symbols alphabetically
5472         * win32/common/dirent.c:
5473         * win32/common/dirent.h:
5474         * win32/common/gchar.h:
5475           use windows line end.
5476           
5477 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
5478
5479         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5480           Send EOS event when stopping.
5481
5482 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
5483
5484         * docs/README:
5485           Tell folks what to do if the plugin-foobar.xml file
5486           hasn't been generated for a newly-added plugin.
5487
5488 2006-02-05  Julien MOUTTE  <julien@moutte.net>
5489
5490         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5491         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5492         (gst_collect_pads_start), (gst_collect_pads_stop),
5493         (gst_collect_pads_event): Collectpads now holds a reference
5494         to the GstPad that was added. Indeed we don't want to look
5495         at pads that might just go away with no warning...
5496
5497 2006-02-05  Julien MOUTTE  <julien@moutte.net>
5498
5499         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5500         (gst_collect_pads_start), (gst_collect_pads_stop),
5501         (gst_collect_pads_event), (gst_collect_pads_chain):
5502         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
5503         Mark Nauwelaerts's patch on bug #328491.
5504
5505 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
5506
5507         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
5508         (gst_utils_suite):
5509           Add some simple tests for gst_parse_bin_from_description() and
5510           gst_bin_find_unconnected_pad() (#329069).
5511
5512 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
5513
5514         * tools/gst-launch.c: (event_loop), (main):
5515           Catch errors during preroll (#320084).
5516
5517 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
5518
5519         * plugins/elements/gsttypefindelement.c:
5520         (gst_type_find_element_activate):
5521           Post TYPE_NOT_FOUND error message when typefinding
5522           is unsuccessful in the activate function as well.
5523
5524 2006-02-02  Wim Taymans  <wim@fluendo.com>
5525
5526         * docs/design/part-element-sink.txt:
5527         Updated doc.
5528
5529 2006-02-02  Wim Taymans  <wim@fluendo.com>
5530
5531         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5532         (gst_base_sink_render_object),
5533         (gst_base_sink_queue_object_unlocked):
5534         Only keep track of prerollable items when we are 
5535         prerolling.
5536         Before rendering after preroll, always check if we
5537         have queued items.
5538         Added some more debugging.
5539
5540 2006-02-02  Wim Taymans  <wim@fluendo.com>
5541
5542         * gst/gstelement.c: (gst_element_continue_state),
5543         (gst_element_set_state_func), (gst_element_change_state):
5544         Fixed #326576, been running this for quite some time with
5545         no regressions at all.
5546
5547 2006-02-02  Wim Taymans  <wim@fluendo.com>
5548
5549         * common/gst.supp:
5550         Added more suppressions
5551
5552 2006-02-02  Wim Taymans  <wim@fluendo.com>
5553
5554         * docs/design/part-element-sink.txt:
5555         Updated document.
5556
5557         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5558         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
5559         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
5560         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5561         (gst_base_sink_do_sync), (gst_base_sink_render_object),
5562         (gst_base_sink_preroll_object),
5563         (gst_base_sink_queue_object_unlocked),
5564         (gst_base_sink_queue_object), (gst_base_sink_event),
5565         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
5566         (gst_base_sink_loop), (gst_base_sink_activate_pull),
5567         (gst_base_sink_get_position), (gst_base_sink_change_state):
5568         * libs/gst/base/gstbasesink.h:
5569         Totally refactored matching the design doc.
5570         Use two segments, one to clip incomming buffers and another to
5571         perform sync.
5572         Handle queueing correctly, bypass the queue when playing.
5573         Make EOS cancelable.
5574         Handle errors correctly when operating in pull based mode.
5575
5576         * tests/check/elements/fakesink.c: (GST_START_TEST),
5577         (fakesink_suite):
5578         Added new check for sinks.
5579
5580 2006-02-02  Wim Taymans  <wim@fluendo.com>
5581
5582         * gst/gstsegment.c: (gst_segment_clip):
5583         No reason to refuse to clip when start == -1
5584
5585 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
5586
5587         * docs/README:
5588         * docs/manual/intro-basics.xml:
5589         * docs/manual/intro-preface.xml:
5590         * docs/manual/manual.xml:
5591         * docs/pwg/advanced-dparams.xml:
5592         * docs/pwg/intro-basics.xml:
5593         * docs/pwg/intro-preface.xml:
5594         * docs/pwg/pwg.xml:
5595           describe dparams (controller) for plugins
5596           unify docs a little more
5597
5598 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
5599
5600         * docs/gst/gstreamer-sections.txt:
5601         * gst/gstutils.c: (element_find_unconnected_pad),
5602         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
5603         * gst/gstutils.h:
5604           Add new API: gst_parse_bin_from_description() and
5605           gst_bin_find_unconnected_pad() (#329069).
5606
5607 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
5608
5609         * docs/manual/README:
5610           uncover a nasty detail of the docs build
5611
5612 2006-01-31  Wim Taymans  <wim@fluendo.com>
5613
5614         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
5615         Don't cache duration messages if we're not going to use or
5616         free them.
5617
5618 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
5619
5620         * docs/manual/advanced-dparams.xml:
5621         * docs/pwg/advanced-dparams.xml:
5622           more dparam docs
5623         * gst/gstindex.c:
5624           fix docs
5625         * libs/gst/controller/lib.c: (gst_controller_init):
5626           init just once
5627
5628 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
5629
5630         * gst/gstelement.c: (gst_element_message_full):
5631           also show file/line/func if no additional debug was given
5632
5633 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
5634         
5635         * win32/vs7/grammar.vcproj:
5636           activate copy of autogenerated files for Release mode
5637
5638 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
5639         
5640         * win32/common/libgstreamer.def:
5641           export gst_value_compare
5642
5643 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
5644
5645         * plugins/elements/Makefile.am:
5646         * plugins/elements/gstelements.c:
5647         * plugins/elements/gstfdsink.c: (_do_init),
5648         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
5649         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
5650         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
5651         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
5652         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
5653         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
5654         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
5655         * plugins/elements/gstfdsink.h:
5656         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
5657
5658 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
5659
5660         * docs/manual/advanced-dparams.xml:
5661           describe controller
5662         * docs/manual/advanced-position.xml:
5663         * docs/manual/basics-init.xml:
5664         * docs/manual/manual.xml:
5665         * docs/manual/titlepage.xml:
5666         * docs/pwg/pwg.xml:
5667         * docs/pwg/titlepage.xml:
5668           cleanup xml (more to come)
5669         * libs/gst/controller/gstcontroller.c:
5670           fix typo
5671
5672 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
5673         
5674         * win32/vs6/grammar.dsp:
5675           add autogen of gstmarshal.c,h for Release mode
5676                 
5677 2006-01-30  Wim Taymans  <wim@fluendo.com>
5678
5679         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5680         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
5681         (gst_base_sink_handle_object), (gst_base_sink_event),
5682         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
5683         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5684         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
5685         (gst_base_sink_deactivate), (gst_base_sink_activate),
5686         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
5687         (gst_base_sink_query), (gst_base_sink_change_state):
5688         Basesink cleanups, remove some old code.
5689         Handle the case where a subclass can preroll in the render
5690         method (mostly audiosinks).
5691         Handle more events.
5692         Remove some locks around variables that are now protected
5693         with the PREROLL_LOCK (clock_id, flushing, ..).
5694         Optimize position query some more, do correct locking.
5695         Remove old code to push queue in state change, this is not
5696         needed anymore since preroll blocks on all prerollable items 
5697         now.
5698         Almost implemented as described in design doc.
5699
5700 2006-01-30  Wim Taymans  <wim@fluendo.com>
5701
5702         * tests/check/gst/gstbin.c: (GST_START_TEST):
5703         Wait for refcount to settle down before checking.
5704
5705 2006-01-30  Wim Taymans  <wim@fluendo.com>
5706
5707         * docs/design/part-element-sink.txt:
5708         Pseudo code overview of desired sink behaviour regarding
5709         preroll.
5710
5711 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5712         * win32/vs6/grammar.dsp:
5713           fix some bugs in Release mode for autogenerated files
5714                 
5715 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5716         * win32/common/libgstbase.def:
5717         * win32/common/libgstreamer.def:
5718           export some new symbols: gst_base_src_set_format,
5719           gst_iterator_next, gst_structure_set_valist
5720
5721 2006-01-29  Julien MOUTTE  <julien@moutte.net>
5722
5723         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5724         Set pad functions unconditionally. Fixes #329105.
5725
5726 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5727         * win32/vs8:
5728           add vs8 project files created by Sergey Scobich
5729
5730 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
5731
5732         * gst/gstutils.c: (gst_element_unlink_pads):
5733         Don't leak pad references.
5734
5735         * tests/check/elements/fakesink.c: (GST_START_TEST):
5736         * tests/check/generic/sinks.c: (GST_START_TEST):
5737         * tests/check/generic/states.c: (GST_START_TEST):
5738         * tests/check/gst/gstbin.c: (GST_START_TEST):
5739         * tests/check/gst/gstcaps.c: (GST_START_TEST):
5740         * tests/check/gst/gstelement.c: (GST_START_TEST):
5741         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5742         * tests/check/gst/gstiterator.c: (GST_START_TEST):
5743         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5744         Fix a bunch of leaks. Make generic/sinks.c
5745         use a bit less cpu by slowing the buffer rate
5746         between fakesrc and fakesink.
5747         
5748 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
5749         * gst/gstcaps.c:
5750         * gst/gstelement.c: (gst_element_send_event):
5751         * gst/gstevent.c:
5752         * gst/gstinfo.c:
5753         * gst/gstiterator.c:
5754         * gst/gstiterator.h:
5755         * gst/gstpad.c: (gst_pad_send_event):
5756         * gst/gststructure.c:
5757         * gst/gsturi.c:
5758         * gst/gstutils.c:
5759         * gst/gstvalue.c:
5760         * libs/gst/base/gstadapter.c:
5761           doc fixes, to link to function, just write gst_cool_function(), don't
5762           prefix with '#'
5763
5764 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5765
5766         * plugins/elements/gsttee.c: (gst_tee_do_push),
5767         (gst_tee_handle_buffer):
5768         Always prefer an actual return value from a src
5769         pad in place of NOT_LINKED. This means we return
5770         WRONG_STATE when all src pads are WRONG_STATE
5771         instead of NOT_LINKED.
5772
5773         Lock when replacing the last message to prevent
5774         racing with the get_property method.
5775
5776         Add debug output
5777
5778 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5779
5780         * tests/check/Makefile.am:
5781         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
5782         (main):
5783         Add a very simple check that should have caught the memleak I fixed
5784         last night (if not for the slice allocator hiding it)
5785
5786 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5787
5788         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
5789         (gst_bin_remove_func), (gst_bin_handle_message_func),
5790         (bin_query_duration_fold), (bin_query_generic_fold):
5791         Clean up references to the clock provider when disposed or when
5792         handling a clock-lost message from it.
5793
5794         Unref sinks when performing a query via gst_iterator_fold, as the
5795         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
5796
5797         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
5798         (gst_clock_set_master):
5799         Drop our reference to the master clock, if any, when we are disposed.
5800
5801         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
5802         Chain up in dispose. 
5803
5804 2006-01-26  Wim Taymans  <wim@fluendo.com>
5805
5806         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5807         Add some debugging.
5808
5809 2006-01-26  Julien MOUTTE  <julien@moutte.net>
5810
5811         * plugins/elements/gsttee.c: (gst_tee_do_push),
5812         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
5813         handles pad being NOT_LINKED or in WRONG_STATE.
5814
5815 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
5816
5817         * win32/MANIFEST:
5818           more updating
5819
5820 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
5821
5822         * win32/MANIFEST:
5823           remove obsolete entry
5824
5825 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
5826
5827         * docs/gst/gstreamer-sections.txt:
5828         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
5829         (gst_bin_iterate_sources), (gst_bin_send_event):
5830         * gst/gstbin.h:
5831         * gst/gstelement.c: (gst_element_send_event):
5832         * gst/gstevent.c:
5833         * gst/gstpad.c: (gst_pad_send_event):
5834           added code for downstream events, reviewed docs in gstevent.c
5835
5836 2006-01-25  Julien MOUTTE  <julien@moutte.net>
5837
5838         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5839         We only query position using the clock in the playing state.
5840         Query peer in the other cases.
5841         * win32/common/config.h: Updates.
5842
5843 2006-01-24  Wim Taymans  <wim@fluendo.com>
5844
5845         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5846         A clock entry that is scheduled for the exact time of the
5847         clock is still in time.
5848
5849         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5850         (gst_base_sink_do_sync):
5851         Add some more debug info.
5852
5853 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
5854
5855         * win32/vs7:
5856           Add new vs7 project files and solution.
5857
5858 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
5859
5860         * win32/vs7:
5861           all files removed as they were out-dated.
5862
5863 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5864
5865         * docs/random/release:
5866           update notes
5867         * gst/gstbin.c: (gst_bin_init):
5868         * gst/gstbus.c: (gst_bus_new):
5869         * gst/gstbus.h:
5870         * gst/gstpipeline.c: (gst_pipeline_init):
5871           use gst_bus_new(), improve logging, fix docs
5872         * win32/common/config.h:
5873           update for cvs build
5874
5875 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5876
5877         * autogen.sh:
5878           up required version of automake to 1.7
5879
5880 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
5881
5882         * win32/common/libgstreamer.def:
5883           export gst_buffer_is_metadata_writable
5884
5885 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
5886
5887         * docs/gst/gstreamer-sections.txt:
5888         * gst/gstevent.h:
5889           Add gst_event_replace() (#327001)
5890
5891 2006-01-20  Wim Taymans  <wim@fluendo.com>
5892
5893         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
5894         Make it actually compile too..
5895
5896 2006-01-20  Wim Taymans  <wim@fluendo.com>
5897
5898         * gst/gstcaps.c:
5899         Clarify behaviour of _is_equal() when passing NULL parameters.
5900
5901         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5902         (gst_pad_set_caps):
5903         Cleanups. Don't unref NULL caps.
5904         When setting the same caps, protect caps of the pad with
5905         proper lock.
5906         Use full functionality of _is_equal() when comparing caps.
5907
5908 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
5909
5910         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
5911         Don't loop infinitely if there are no buffers to present. Partially
5912         fixes #327197, but collectpads is just broken for reusing elements
5913         to do multiple encodes atm.
5914
5915 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
5916
5917         * tools/gst-inspect.c: (print_element_features):
5918         * tools/gst-xmlinspect.c: (main):
5919         URL_HANDLER is not a plugin feature we can search for in
5920         the registry.
5921
5922 2006-01-19  Edward Hervey  <edward@fluendo.com>
5923
5924         * gst/gstelement.c: (gst_element_pads_activate): 
5925         When activating, do src pads first, then sink pads.
5926         When de-activating, do sink pads first, then src pads.
5927
5928 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5929
5930         * docs/gst/gstreamer-sections.txt:
5931         Add gst_index_add_associationv to the docs
5932
5933 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5934
5935         * gst/gstevent.c:
5936           Fix docs typo
5937
5938         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
5939         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
5940           Do some refactoring. Doesn't actually change functionality,
5941           but makes landing the DRAIN event easier later.
5942
5943 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
5944
5945         * docs/pwg/advanced-scheduling.xml:
5946           Update from 0.9.x to 0.10 API and make example a bit
5947           clearer.
5948
5949 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5950
5951         * docs/gst/gstreamer-sections.txt:
5952         Add gst_buffer_(is|make)_metadata_writable methods.
5953
5954 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5955
5956         * docs/design/part-sparsestreams.txt:
5957         Update sparse streams doc, hopefully for greater clarity
5958
5959 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
5960
5961         * docs/design/part-events.txt:
5962         Remove mention of FILLER events.
5963         Add DRAIN event.
5964
5965         * docs/design/part-sparsestreams.txt:
5966         Write some things about using NEWSEGMENT to keep sparse streams
5967         flowing.
5968
5969 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
5970
5971         * gst/gstbin.c: (gst_bin_dispose):
5972           Guard gst_object_unref call against a NULL object (dispose
5973           can theoretically be called multiple times).
5974           
5975 2006-01-18  Wim Taymans  <wim@fluendo.com>
5976
5977         * gst/gstbin.c: (gst_bin_element_set_state):
5978         * gst/gstclock.c: (gst_clock_id_wait):
5979         Added some more debug info.
5980
5981         * libs/gst/base/gstadapter.c:
5982         Added more docs.
5983
5984         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5985         (gst_base_sink_do_sync), (gst_base_sink_chain):
5986         Added some comments.
5987
5988 2006-01-18  Wim Taymans  <wim@fluendo.com>
5989
5990         * tests/check/Makefile.am:
5991         * tests/check/elements/fakesink.c: (chain_async_buffer),
5992         (chain_async), (chain_async_return), (GST_START_TEST),
5993         (fakesink_suite), (main):
5994         Added fakesink test that checks prerolling and clipping
5995         behaviour.
5996
5997         * tests/check/gst/gstutils.c: (GST_START_TEST):
5998         Make check run faster so that buildbots don't timeout.
5999
6000 2006-01-18  Wim Taymans  <wim@fluendo.com>
6001
6002         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6003         (gst_base_sink_do_sync):
6004         Some cleanups.
6005         When the sink finishes blocking on the preroll buffer, it can
6006         immediatly render it instead of rendering when the next buffer
6007         arrives.
6008
6009 2006-01-18  Wim Taymans  <wim@fluendo.com>
6010
6011         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
6012         (gst_base_sink_get_property), (gst_base_sink_do_sync),
6013         (gst_base_sink_chain):
6014         Small cleanups.
6015         GST_ELEMENT_CLOCK and sync are protected with LOCK.
6016         Don't store _last_stop if the buffer is dropped.
6017
6018 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
6019
6020         * plugins/elements/gsttypefindelement.c:
6021         (gst_type_find_element_class_init):
6022           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
6023           object method handler that sets the caps on the pad and we want
6024           that to happen before we emit the signal (fixes e.g. feeding a
6025           plain text file to decodebin).
6026
6027 2006-01-18  Christian Schaller  <Christian@fluendo.com>
6028
6029         * gst/gstplugin.c: Add MPL and Proprietary as license options
6030
6031 2006-01-18  Andy Wingo  <wingo@pobox.com>
6032
6033         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
6034         symbol was exported before, it appears this was just an oversight.
6035         Fixes #168703.
6036         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
6037
6038         * gst/gstindex.c (gst_index_add_associationv): Changed int in
6039         prototype to gint. OK since this prototype was not in the header.
6040
6041 2006-01-17  Andy Wingo  <wingo@pobox.com>
6042
6043         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
6044         registry while we remove plugins.
6045
6046         * tools/gst-inspect.c (print_element_info): Don't unref the
6047         factory arg, that should be the responsibility of whatever code
6048         received the ref. Fixes a double-free when called from
6049         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
6050         (main): Unref the factory if we have one.
6051         (print_element_list): No change -- relies on the
6052         plugin_feature_list_free to free the list of features.
6053
6054 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
6055
6056         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
6057         (gst_buffer_make_metadata_writable):
6058         * gst/gstbuffer.h:
6059         * libs/gst/base/gstbasetransform.c:
6060         (gst_base_transform_prepare_output_buf):
6061         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6062         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6063           Replace gst_buffer_(make|is)_metadata_writable patch now
6064           that the release is out.
6065
6066 2006-01-17  Andy Wingo  <wingo@pobox.com>
6067
6068         * gst/gstregistry.c: Reflow design comment. Update so as to speak
6069         in the present tense without reference to versions.
6070
6071         * gst/gstregistry.c (gst_registry_add_plugin)
6072         (gst_registry_remove_plugin, gst_registry_remove_feature)
6073         (gst_registry_find_feature, gst_registry_get_feature_list)
6074         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
6075         (gst_registry_lookup, gst_registry_scan_path)
6076         (_gst_registry_remove_cache_plugins)
6077         (gst_registry_get_feature_list_by_plugin): Add argument
6078         validation.
6079
6080 === release 0.10.2 ===
6081
6082 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
6083
6084         * configure.ac:
6085           releasing 0.10.2, "If man is five"
6086
6087 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
6088
6089         * gst/gstbuffer.c:
6090         * gst/gstbuffer.h:
6091         * libs/gst/base/gstbasetransform.c:
6092         (gst_base_transform_prepare_output_buf):
6093         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6094         * tests/check/gst/gstbuffer.c: (gst_test_suite):
6095           Back out patch until after the release.
6096
6097 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
6098
6099         * gst/gstminiobject.c:
6100           Spelling fix in docs.
6101         * ChangeLog - remove conflict indicator
6102
6103 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
6104
6105         Reviewed By: Andy Wingo
6106
6107         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
6108         (gst_buffer_make_metadata_writable):
6109         * gst/gstbuffer.h:
6110           Add gst_buffer_(is|make)_metadata_writable as analogues of
6111           gst_buffer_(is|make)_writable.
6112
6113         * libs/gst/base/gstbasetransform.c:
6114         (gst_base_transform_prepare_output_buf):
6115         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6116           Use name gst_buffer_(is|make)_metadata_writable functions.
6117
6118         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6119           Test gst_buffer_(is|make)_metadata_writable
6120         
6121           (Closes: #324162)
6122
6123 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6124
6125         * docs/manual/Makefile.am:
6126           don't do parallel make
6127         * configure.ac:
6128           AC_SUBST HOST_CPU
6129         * win32/common/config.h.in:
6130           add generations for HOST_CPU and GST_MAJORMINOR
6131         * win32/common/config.h:
6132           commit generated result
6133
6134 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
6135
6136         * docs/manual/appendix-integration.xml:
6137           Update GNOME integration section to use gst_init_get_option_group()
6138           instead of the old popt stuff (#322911). Also, GNOME applications
6139           should  now use gconf*sink and gconf*src instead of the old gconf
6140           helper lib we had.
6141
6142 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
6143
6144
6145         * docs/gst/gstreamer-docs.sgml:
6146         * docs/gst/gstreamer-sections.txt:
6147         * docs/libs/gstreamer-libs-sections.txt:
6148           add new API entries to the docs
6149         * libs/gst/controller/Makefile.am:
6150         * libs/gst/controller/gstcontroller.c:
6151         * libs/gst/controller/gstcontroller.h:
6152         * libs/gst/controller/gstcontrollerprivate.h:
6153         * libs/gst/controller/gsthelper.c:
6154         * libs/gst/controller/gstinterpolation.c:
6155           move private structs to private header
6156         * po/README:
6157           gstreamer-0.7 -> gstreamer-0.10
6158         * tests/check/libs/struct_i386.h:
6159           remove private structs
6160
6161 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6162
6163         * plugins/indexers/Makefile.am:
6164           Fixes as part of #317048
6165
6166 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6167
6168         * plugins/indexers/Makefile.am:
6169           fix #316086 - compilation when mmap is missing
6170
6171 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
6172
6173         * libs/gst/base/gstbasesink.c:
6174           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
6175           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
6176         * win32/common/config.h:
6177           added some defines GST_MAJORMINOR and HOST_CPU
6178         * win32/common/libgstbase.def:
6179         * win32/common/libgstreamer.def:
6180           added some exported functions.
6181
6182 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
6183
6184         * libs/gst/controller/gstcontroller.c:
6185         (gst_controlled_property_set_interpolation_mode),
6186         (gst_controlled_property_new):
6187         * libs/gst/controller/gstcontroller.h:
6188         * libs/gst/controller/gstinterpolation.c:
6189         (interpolate_none_get_string_value_array):
6190           make G_TYPE_STRING controlable
6191
6192 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
6193
6194         * tools/README:
6195         * tools/gst-feedback.1.in:
6196         * tools/gst-inspect.1.in:
6197         * tools/gst-launch.1.in:
6198         * tools/gst-md5sum.1.in:
6199         * tools/gst-typefind.1.in:
6200         * tools/gst-xmlinspect.1.in:
6201         * tools/gst-xmllaunch.1.in:
6202           cleanup man-pages, remove reference to gst-register, document env-vars
6203
6204 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
6205
6206         * gst/gstbuffer.c: (gst_buffer_span):
6207           gst_buffer_span should copy the timestamp of the first buffer
6208           if they were both originally overlapping subbuffers of the 
6209           same parent, using the same logic as the 'slow copy' case.
6210
6211 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
6212
6213         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
6214           Need to awaken ALL the pads when we pop a buffer, otherwise
6215           collectpads only works when there is 2 input streams.
6216
6217 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
6218
6219         * docs/random/ensonic/media-device-daemon.txt:
6220           more ideas (dbus)
6221         * gst/gstbuffer.c:
6222           fix doc example, add clarification
6223         * tools/gst-launch.1.in:
6224           add initial info about GST_PLUGIN_PATH, needs more work
6225
6226 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
6227
6228         * docs/manual/basics-bins.xml:
6229         * docs/manual/basics-elements.xml:
6230         * docs/manual/intro-basics.xml:
6231           Some more minor docs additions and updates.
6232
6233 2006-01-11  Wim Taymans  <wim@fluendo.com>
6234
6235         * docs/manual/basics-bins.xml:
6236         * docs/manual/basics-elements.xml:
6237         Some small fixes as pointed out by Ser-ver on IRC.
6238
6239 2006-01-10  Edward Hervey  <edward@fluendo.com>
6240
6241         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6242         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
6243         the single-segment mode.
6244
6245 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
6246
6247         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6248
6249         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
6250         (gst_base_src_perform_seek), (gst_base_src_send_event),
6251         (gst_base_src_set_property), (gst_base_src_get_property),
6252         (gst_base_src_loop), (gst_base_src_start),
6253         (gst_base_src_activate_push):
6254         * libs/gst/base/gstbasesrc.h:
6255           Name (private) union; makes Sun's Forte compiler happy (#324900).
6256
6257 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
6258
6259         * README:
6260           gst-register is gone.
6261
6262 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
6263
6264         * gst/gstvalue.c: (_gst_value_initialize):
6265           make the G_TYPE_DATE instantiation work if debug is disabled
6266
6267 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
6268
6269         * gst/gstmessage.c: (gst_message_parse_tag),
6270         (gst_message_parse_error), (gst_message_parse_warning):
6271           Don't crash when return location for error/warning debug
6272           string is NULL; add fact that return locations can be
6273           NULL to docs where appropriate.
6274
6275 2006-01-05  Wim Taymans  <wim@fluendo.com>
6276
6277         * gst/gstplugin.c: (gst_plugin_load_file):
6278         Replace strdup by g_strdup.
6279
6280 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6281
6282         * docs/pwg/advanced-types.xml:
6283           fix doc borkage
6284
6285 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6286
6287         submitted by: Abel Cheung
6288
6289         * po/LINGUAS:
6290         * po/zh_TW.po:
6291           Added Chinese (traditional) translation
6292
6293 2006-01-04  Wim Taymans  <wim@fluendo.com>
6294
6295         * docs/manual/basics-pads.xml:
6296         * docs/plugins/Makefile.am:
6297         * docs/plugins/gstreamer-plugins-docs.sgml:
6298         * docs/plugins/gstreamer-plugins-sections.txt:
6299         * docs/pwg/advanced-clock.xml:
6300         * docs/pwg/advanced-scheduling.xml:
6301         * docs/pwg/advanced-types.xml:
6302         * plugins/elements/gstfdsink.c:
6303         * plugins/elements/gstfdsrc.c:
6304         * plugins/elements/gstfdsrc.h:
6305         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6306         * plugins/elements/gstidentity.h:
6307         * plugins/elements/gstqueue.h:
6308         * plugins/elements/gsttee.c:
6309         * plugins/elements/gsttee.h:
6310         * plugins/elements/gsttypefindelement.c:
6311         (gst_type_find_element_class_init):
6312         * plugins/elements/gsttypefindelement.h:
6313         Small updates to various docs.
6314         Added core plugins to docs.
6315
6316 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6317
6318         * common/gst.supp:
6319           add a suppression for liboil's uninitialized variable
6320
6321 2006-01-02  James Livingston  <jrl at ids dot org dot au>
6322
6323         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6324
6325         * gst/gstutils.h:
6326           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
6327           macro, so that gcc doesn't complain if the -Wmissing-prototypes
6328           compiler switch is being used (#325429).
6329
6330 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
6331
6332         * gst/gstbin.c: (gst_bin_query):
6333           Disable duration query caching in bins until it gets
6334           fixed (see #324807).
6335
6336 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
6337
6338         * tools/gst-inspect.c: (print_element_properties_info):
6339           Handle properties of POINTER and BOXED type.
6340
6341 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
6342
6343         * gst/gst.c: (init_post):
6344           Init tags stuff and some other things before loading
6345           any static plugins (there may be other static plugins
6346           than just the GStreamer ones, and they may want to
6347           register their own tags or formats or whatever, and
6348           preferably without segfaulting).
6349
6350         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6351           Print at least a warning in the debug logs if we drop a
6352           query just because we don't know how to adjust the value
6353           in the particular format.
6354
6355 2005-12-24  David Schleef  <ds@schleef.org>
6356
6357         * tools/gstreamer-completion:
6358           Replacement for gst-complete written in sh and sed.  Only
6359           completes names of features, but that's 90% of what I want
6360           it for.  Properties are not available in registry.xml.  (Maybe
6361           they should be...)
6362
6363 === release 0.10.1 ===
6364
6365 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
6366
6367         * configure.ac:
6368           releasing 0.10.1, "Nollaig chridheil"
6369
6370 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
6371
6372         * docs/faq/cvs.xml:
6373           Add missing quote, should be make ERROR_CFLAGS="".
6374
6375 2005-12-20  Wim Taymans  <wim@fluendo.com>
6376
6377         * docs/design/part-trickmodes.txt:
6378         More documentation on trickmodes.
6379
6380 2005-12-20  Edward Hervey  <edward@fluendo.com>
6381
6382         * gst/gstcaps.c: (gst_static_caps_get_type):
6383         * gst/gstcaps.h:
6384           API addition: GST_TYPE_STATIC_CAPS
6385         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
6386         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
6387         * gst/gstpadtemplate.h:
6388           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
6389         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
6390         bindings.
6391
6392 2005-12-18  Wim Taymans  <wim@fluendo.com>
6393
6394         * libs/gst/base/gstadapter.c:
6395         * libs/gst/base/gstadapter.h:
6396         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6397         (gst_base_sink_get_position):
6398         * libs/gst/base/gstbasesink.h:
6399         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6400         (gst_base_src_default_query), (gst_base_src_default_do_seek),
6401         (gst_base_src_do_seek), (gst_base_src_perform_seek),
6402         (gst_base_src_send_event), (gst_base_src_update_length),
6403         (gst_base_src_get_range), (gst_base_src_loop),
6404         (gst_base_src_start):
6405         * libs/gst/base/gstbasesrc.h:
6406         * libs/gst/base/gstbasetransform.h:
6407         * libs/gst/base/gstcollectpads.h:
6408         * libs/gst/base/gstpushsrc.c:
6409         * libs/gst/base/gstpushsrc.h:
6410         * libs/gst/dataprotocol/dataprotocol.c:
6411         * libs/gst/dataprotocol/dataprotocol.h:
6412         * libs/gst/net/gstnetclientclock.h:
6413         * libs/gst/net/gstnettimeprovider.h:
6414         Documentation updates.
6415
6416 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
6417
6418         * docs/manual/basics-helloworld.xml:
6419           Remove superfluous closing bracket in helloworld example.
6420
6421 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
6422
6423         * tools/gst-launch.1.in:
6424           Update gst-launch man page; add a section with useful
6425           environment variables. Fixes #323882.
6426
6427 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
6428
6429         * gst/gst.c:
6430         * gst/gst_private.h:
6431           change some char* into char[]
6432
6433 2005-12-16  Wim Taymans  <wim@fluendo.com>
6434
6435         * gst/gstregistryxml.c: (load_feature):
6436         Cleanups.
6437         Don't use g_object_unref on GstObjects so that we avoid
6438         leaks on unsafe glibs.
6439
6440 2005-12-16  Wim Taymans  <wim@fluendo.com>
6441
6442         * gst/gstbin.c: (gst_bin_recalc_state):
6443         Small doc updates.
6444
6445 2005-12-16  Wim Taymans  <wim@fluendo.com>
6446
6447         * common/check.mak:
6448         Added make forever target for check.
6449
6450 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6451
6452         * gst/gst.c: (init_post):
6453           make the registry cache file HOST_CPU-dependent
6454
6455 2005-12-16  Andy Wingo  <wingo@pobox.com>
6456
6457         * plugins/elements/gstbufferstore.c
6458         (gst_buffer_store_cleared_func): Pay attention to g_list_append
6459         return value.
6460
6461         * tests/check/gst/gstobject.c
6462         (test_fake_object_name_threaded_unique): Pay attention to
6463         g_list_sort return value.
6464
6465 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
6466
6467         * tools/gst-feedback-m.m:
6468           Update for 0.9/0.10 (fixes #323870).
6469
6470 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
6471
6472         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
6473           Fix lcopy for mini objects, the mini object needs to be ref'ed.
6474           
6475         * tests/check/gst/gstminiobject.c: (my_foo_init),
6476         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
6477         (test_value_collection), (gst_mini_object_suite):
6478           Add test to ensure refcounts end up as expected when passing
6479           GstMiniObjects through g_object_get() and g_object_set().
6480
6481 2005-12-14  Julien MOUTTE  <julien@moutte.net>
6482
6483         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6484         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
6485         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
6486         of collectpads. This version removes a lot of races without
6487         touching API/ABI. Yay !
6488
6489 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
6490
6491         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
6492           Don't allow activation of a srcpad in pull_range if it has no
6493           getrange function.
6494           Change some debug statements to be a little clearer
6495
6496         * plugins/elements/gsttypefindelement.c:
6497         (gst_type_find_handle_src_query):
6498           Check that we have a peer before executing queries thereupon.
6499
6500         * tests/examples/metadata/read-metadata.c: (message_loop):
6501           Use gst_bus_pop instead of gst_bus_poll when we just want it to
6502           immediately return us any available message with 0 timeout.
6503
6504 2005-12-12  Michael Smith  <msmith@fluendo.com>
6505
6506         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6507           Don't unref factories after calling them.
6508         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
6509         * plugins/elements/gsttypefindelement.c:
6510         (gst_type_find_element_chain):
6511           Free lists of factories after using them. Fixing typefinding memory
6512           leaks.
6513
6514 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6515
6516         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6517         (gst_plugin_feature_load):
6518           more meaningful debug output
6519         * configure.ac:
6520         * tests/Makefile.am:
6521         * tests/old/examples/Makefile.am:
6522           make make distcheck happy again
6523
6524 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6525
6526         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6527           Catch the special case where we are operating chain-based,
6528           but the downstream peer pad has no chain function. Emit a
6529           custom error message in this case instead of letting the
6530           core generate one implying that this is some sort of core
6531           bug. It's not, it just means that whatever got plugged
6532           into the pipeline downstream when we announced the type
6533           can only operate pull-based, while our source can only
6534           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
6535           Error string has not been marked for translation yet, as
6536           it probably needs some more work first.
6537
6538         (gst_type_find_element_get_best_possibility):
6539           Add helper function to find the best of all available
6540           found possibilities that qualify given the min. threshold.
6541
6542         (gst_type_find_element_handle_event):
6543           Fix the case where we get an EOS while still in TYPEFIND
6544           mode (we want to chose the best of all possible types,
6545           not just the first type that happens to be in our unsorted
6546           list of possible types).
6547
6548         (gst_type_find_element_chain):
6549           Make sure we return GST_FLOW_ERROR when we errored out
6550           in stop_typefinding(); also, don't just find the best of
6551           all found type entries and then use the last examined
6552           type entry, but actually use the best entry.
6553
6554 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6555
6556         * tests/examples/typefind/typefind.c: (type_found):
6557         * tests/examples/xml/runxml.c: (xml_loaded):
6558           More gcc4 fixes and a mem leak fix.
6559
6560 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6561
6562         * tests/examples/xml/createxml.c: (object_saved):
6563           gcc 4 fixes
6564
6565 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6566
6567         * tests/Makefile.am:
6568           enable the examples even more
6569
6570 2005-12-12  Andy Wingo  <wingo@pobox.com>
6571
6572         * libs/gst/net/gstnettimeprovider.c
6573         (gst_net_time_provider_class_init, gst_net_time_provider_init)
6574         (gst_net_time_provider_set_property)
6575         (gst_net_time_provider_get_property):
6576         API addition: Export "active" as a GObject property.
6577         (gst_net_time_provider_thread): Only respond to time queries if
6578         the time provider is active.
6579
6580         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
6581         NetTimeProvider, preserving binary compat.
6582
6583 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6584
6585         * tests/examples/controller/audio-example.c: (main):
6586         * tests/examples/launch/Makefile.am:
6587           convert comments again
6588
6589 2005-12-12  Wim Taymans  <wim@fluendo.com>
6590
6591         * libs/gst/base/gstpushsrc.c:
6592         Fix typo.
6593
6594 2005-12-12  Wim Taymans  <wim@fluendo.com>
6595
6596         * docs/libs/gstreamer-libs-sections.txt:
6597         Added new symbol to docs.
6598
6599         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6600         (gst_base_src_init), (gst_base_src_set_format),
6601         (gst_base_src_default_query), (gst_base_src_query),
6602         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
6603         (gst_base_src_perform_seek), (gst_base_src_send_event),
6604         (gst_base_src_default_event), (gst_base_src_event_handler),
6605         (gst_base_src_set_property), (gst_base_src_get_property),
6606         (gst_base_src_wait), (gst_base_src_do_sync),
6607         (gst_base_src_update_length), (gst_base_src_get_range),
6608         (gst_base_src_check_get_range), (gst_base_src_loop),
6609         (gst_base_src_default_negotiate), (gst_base_src_start),
6610         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6611         (gst_base_src_change_state):
6612         * libs/gst/base/gstbasesrc.h:
6613         Implement seeking to other formats than _BYTES.
6614         Implement more seeking methods correctly.
6615         Doc updates.
6616         Added query vmethod.
6617         Added do_seek vmethod to make life easier for subclasses
6618         when seeking.
6619         API addition: gst_base_src_set_format()
6620
6621 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6622
6623         * tests/examples/Makefile.am:
6624           added that too
6625
6626 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6627
6628         * configure.ac:
6629         * docs/random/ensonic/media-device-daemon.txt:
6630         * tests/examples/controller/.cvsignore:
6631         * tests/examples/controller/Makefile.am:
6632         * tests/examples/controller/audio-example.c: (main):
6633         * tests/examples/helloworld/.cvsignore:
6634         * tests/examples/helloworld/Makefile.am:
6635         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
6636         * tests/examples/launch/.cvsignore:
6637         * tests/examples/launch/Makefile.am:
6638         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
6639         * tests/examples/metadata/.cvsignore:
6640         * tests/examples/metadata/Makefile.am:
6641         * tests/examples/metadata/read-metadata.c: (message_loop),
6642         (make_pipeline), (print_tag), (main):
6643         * tests/examples/queue/.cvsignore:
6644         * tests/examples/queue/Makefile.am:
6645         * tests/examples/queue/queue.c: (event_loop), (main):
6646         * tests/examples/typefind/.cvsignore:
6647         * tests/examples/typefind/Makefile.am:
6648         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
6649         (main):
6650         * tests/examples/xml/.cvsignore:
6651         * tests/examples/xml/Makefile.am:
6652         * tests/examples/xml/createxml.c: (object_saved), (main):
6653         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
6654         * tests/old/examples/Makefile.am:
6655         * tests/old/examples/TODO:
6656         * tests/old/examples/controller/.cvsignore:
6657         * tests/old/examples/controller/Makefile.am:
6658         * tests/old/examples/controller/audio-example.c:
6659         * tests/old/examples/helloworld/.cvsignore:
6660         * tests/old/examples/helloworld/Makefile.am:
6661         * tests/old/examples/helloworld/helloworld.c:
6662         * tests/old/examples/launch/.cvsignore:
6663         * tests/old/examples/launch/Makefile.am:
6664         * tests/old/examples/launch/mp3parselaunch.c:
6665         * tests/old/examples/launch/mp3play:
6666         * tests/old/examples/manual/Makefile.am:
6667         * tests/old/examples/metadata/Makefile.am:
6668         * tests/old/examples/metadata/read-metadata.c:
6669         * tests/old/examples/queue/.cvsignore:
6670         * tests/old/examples/queue/Makefile.am:
6671         * tests/old/examples/queue/queue.c:
6672         * tests/old/examples/typefind/.cvsignore:
6673         * tests/old/examples/typefind/Makefile.am:
6674         * tests/old/examples/typefind/typefind.c:
6675         * tests/old/examples/xml/.cvsignore:
6676         * tests/old/examples/xml/Makefile.am:
6677         * tests/old/examples/xml/createxml.c:
6678         * tests/old/examples/xml/runxml.c:
6679           applied some simple fixing to some examples
6680           re-enabled the working examples
6681
6682 2005-12-12  Wim Taymans  <wim@fluendo.com>
6683
6684         * gst/gstsegment.c: (gst_segment_init),
6685         (gst_segment_set_last_stop), (gst_segment_set_seek),
6686         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6687         (gst_segment_to_running_time):
6688         Added more documentation.
6689         Make sure the last_pos value is updated properly.
6690         Make sure to_stream_time and to_running_time don't
6691         operate on wrong values.
6692
6693         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6694         Update check.
6695
6696 2005-12-12  Michael Smith  <msmith@fluendo.com>
6697
6698         * plugins/elements/gsttypefindelement.c: (free_entry),
6699         (gst_type_find_element_chain):
6700           Now that we're not leaking factories, make sure we keep references
6701           to them while we need them.
6702
6703 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6704
6705         * tests/check/gst/struct_i386.h:
6706           ifdef out the XML structs
6707
6708 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6709
6710         * gst/gstvalue.c: (gst_value_transform_double_fraction):
6711           floor is not needed, F is always positive; this obviates the
6712           need for adding -lm when building without libxml
6713
6714 2005-12-12  Wim Taymans  <wim@fluendo.com>
6715
6716         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6717         Take current playback rate into account when reporting
6718         the position.
6719
6720 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6721
6722         * docs/manual/mime-world.fig:
6723           Let's try this again, this time with a file that is
6724           actually in XFig format.
6725
6726 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6727
6728         * docs/manual/mime-world.fig:
6729           Add audioconvert element to diagram so that it
6730           matches the text and the code (fixes #319526).
6731
6732 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6733
6734         * docs/pwg/building-chainfn.xml:
6735         * docs/pwg/building-pads.xml:
6736         * docs/pwg/building-state.xml:
6737         * docs/pwg/other-source.xml:
6738           Update state change stuff for 0.10 (fixes #322969).
6739
6740 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6741
6742         * docs/manual/advanced-dataaccess.xml:
6743         * docs/manual/appendix-checklist.xml:
6744         * docs/manual/appendix-programs.xml:
6745         * docs/manual/basics-pads.xml:
6746         * docs/manual/highlevel-components.xml:
6747         * docs/manual/manual.xml:
6748           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
6749           add converters in front of pipelines; remove curly
6750           brackets for threads stuff, they no longer exist; use
6751           GST_TYPE_FRACTION for framerates; update some pieces of
6752           code to 0.10, but there's plenty more to do.
6753
6754         * docs/manual/appendix-porting.xml:
6755           Expand on asynchroneous state changes; s/0.9/0.10/;
6756           mention disappearance of gst_init_get_popt_table()
6757           (fixes #322916).
6758
6759 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6760
6761         * docs/faq/using.xml:
6762           Spider no longer exists, and neither does gst-launch-ext.
6763           Update examples to use decodebin and playbin and put
6764           converters in front of sinks (fixes #323726).
6765
6766 2005-12-09  Michael Smith  <msmith@fluendo.com>
6767
6768         * plugins/elements/gsttypefindelement.c: (find_peek),
6769         (gst_type_find_element_chain):
6770           Fix leaking element factories in typefinding.
6771           Fix problem where we forgot about a probable type on non-seekable
6772           files, and thus later mis-typefound it.
6773
6774 2005-12-09  Michael Smith  <msmith@fluendo.com>
6775
6776         * common/m4/gst-makecontext.m4:
6777         * common/m4/gst-mcsc.m4:
6778         * configure.ac:
6779         * win32/common/config.h:
6780         * win32/common/config.h.in:
6781           Remove makecontext stuff; not used in 0.10 and causes problems on
6782           HPUX according to bug #322441
6783
6784 2005-12-07  Wim Taymans  <wim@fluendo.com>
6785
6786         * tests/check/Makefile.am:
6787         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
6788         (main):
6789         * tests/check/libs/struct_i386.h:
6790         Added ABI check for libs
6791
6792 2005-12-07  Wim Taymans  <wim@fluendo.com>
6793
6794         * tests/check/Makefile.am:
6795         And add the struct_i386.h to dist.
6796
6797 2005-12-07  Wim Taymans  <wim@fluendo.com>
6798
6799         * tests/check/Makefile.am:
6800         * tests/check/gst/.cvsignore:
6801         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
6802         (main):
6803         * tests/check/gst/struct_i386.h:
6804         Added check for ABI compatibility.
6805
6806 2005-12-07  Wim Taymans  <wim@fluendo.com>
6807
6808         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6809         (gst_fake_src_get_times), (gst_fake_src_create):
6810         Fix broken sync option, fixes #323259
6811
6812 2005-12-07  Wim Taymans  <wim@fluendo.com>
6813
6814         * gst/gstbuffer.c:
6815         Small docs update.
6816
6817         * gst/gstcaps.c: (gst_caps_is_equal):
6818         Don't assert on NULL <--> X. Fixes #323260
6819
6820         * gst/gstminiobject.c: (gst_mini_object_replace):
6821         If we're doing atomic operations, we might just as well use
6822         the proper way to get an atomic pointer.
6823
6824         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6825         Clean up debugging.
6826
6827 2005-12-07  Michael Smith  <msmith@fluendo.com>
6828
6829         * gst/parse/grammar.y:
6830           Remove handling of { } for threads.
6831
6832 2005-12-06  David Schleef  <ds@schleef.org>
6833
6834         * libs/gst/base/gstbasetransform.c: speling fix.
6835
6836 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6837
6838         * docs/libs/tmpl/gstdataprotocol.sgml:
6839         * docs/random/omega/testing/gstobject.c:
6840         * gst/gst.c:
6841         * gst/gstclock.c:
6842         * gst/gstelement.c:
6843         * gst/gstelementfactory.c:
6844         * gst/gsterror.c:
6845         * gst/gstevent.c:
6846         * gst/gstghostpad.c:
6847         * gst/gstinfo.c:
6848         * gst/gstpadtemplate.c:
6849         * gst/gstregistryxml.c:
6850         * gst/gsttaglist.c:
6851         * gst/gsttagsetter.c:
6852         * gst/gsttypefind.c:
6853         * gst/gstvalue.c:
6854         * libs/gst/base/gstbasesrc.c:
6855         * libs/gst/net/gstnetclientclock.c:
6856         * libs/gst/net/gstnettimeprovider.c:
6857         * plugins/elements/gstfakesrc.c:
6858         * plugins/elements/gstfdsrc.c:
6859         * plugins/elements/gstfilesrc.c:
6860         * plugins/elements/gstidentity.c:
6861         * plugins/elements/gstqueue.c:
6862         * plugins/elements/gsttypefindelement.c:
6863         * plugins/indexers/gstfileindex.c:
6864         * plugins/indexers/gstmemindex.c:
6865         * tests/check/gst/gsttag.c:
6866         * tests/old/examples/cutter/cutter.c:
6867         * tests/old/examples/mixer/mixer.c:
6868         * tests/old/examples/xml/runxml.c: (main):
6869         * tests/old/testsuite/caps/normalisation.c:
6870         * tests/old/testsuite/debug/global.c:
6871         * tests/old/testsuite/parse/parse1.c:
6872         * tools/gst-xmlinspect.c:
6873         * win32/common/dirent.c:
6874           expand tabs
6875
6876 === release 0.10.0 ===
6877
6878 2005-12-05   <thomas (at) apestaart (dot) org>
6879
6880         * configure.ac:
6881           releasing 0.10.0, "Maroilles"
6882
6883 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6884
6885         submitted by: Funda Wang <fundawang@linux.net.cn>
6886
6887         * po/LINGUAS:
6888         * po/zh_CN.po:
6889           added Chinese (Traditional) translation
6890
6891 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6892
6893         * docs/gst/gstreamer-sections.txt:
6894         * docs/libs/tmpl/gstdataprotocol.sgml:
6895         * docs/random/thomasvs/TODO:
6896         * gst/gstutils.c:
6897         * gst/gstutils.h:
6898           fix docs
6899
6900 2005-12-05  Andy Wingo  <wingo@pobox.com>
6901
6902         patch by: Wim Taymans <wim@fluendo.com>
6903
6904         * libs/gst/base/gstbasetransform.c
6905         (gst_base_transform_prepare_output_buf)
6906         (gst_base_transform_buffer_alloc):
6907         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
6908         alloc_buffer_and_set_caps.
6909
6910         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
6911         set_caps on the source pad.
6912         (gst_pad_alloc_buffer_and_set_caps): New function, does what
6913         alloc_buffer used to do. Fixes #322874.
6914
6915         * docs/gst/gstreamer-sections.txt: 
6916         * docs/design/part-negotiation.txt: 
6917         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
6918         changes.
6919
6920 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6921
6922         patch by: Sebastien Moutte
6923
6924         * win32/MANIFEST:
6925         * win32/common/config.h.in:
6926         * win32/vs6/libgstcontroller.dsp:
6927           win32 build fixes
6928
6929 2005-12-05  Wim Taymans  <wim@fluendo.com>
6930
6931         * gst/gstcaps.c: (gst_caps_is_equal):
6932         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6933         (gst_fake_src_create):
6934         Back out previous code changes, leave doc updates, file bugs 
6935         instead. 
6936
6937 2005-12-05  Wim Taymans  <wim@fluendo.com>
6938
6939         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6940         (gst_fake_src_get_times), (gst_fake_src_create):
6941         * plugins/elements/gstfakesrc.h:
6942         Fix broken sync code.
6943
6944 2005-12-05  Wim Taymans  <wim@fluendo.com>
6945
6946         * gst/gstcaps.c: (gst_caps_is_equal):
6947         Comparing NULL against !NULL yields different caps, not a
6948         failure.
6949
6950 2005-12-05  Wim Taymans  <wim@fluendo.com>
6951
6952         * gst/gstpipeline.c:
6953         Fix small typo in docs.
6954
6955 2005-12-05  Andy Wingo  <wingo@pobox.com>
6956
6957         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
6958
6959         * gst/gst.c (init_post): remove hard-coded 0.9 location for
6960         registries/plugins with a MAJORMINOR one.
6961         (plugin_desc): Rename library from gstcoreleements to
6962         staticelements. Fixes #323222.
6963
6964 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
6965
6966         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
6967           Change debug category to 'collectpads' from 'collect_pads'
6968           (fixes #323250).
6969
6970 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
6971
6972         patch by: Sebastien Moutte
6973
6974         * libs/gst/controller/gstinterpolation.c:
6975           use convert function for uint64/double
6976         * win32/vs6/libgstcontroller.dsp:
6977           link to GLib
6978
6979 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
6980
6981         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
6982         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
6983         * gst/gstutils.h:
6984         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6985           add tests that seem to show that the guint64/gdouble conversions
6986           are correct.
6987
6988 2005-12-02  Wim Taymans  <wim@fluendo.com>
6989
6990         * gst/gstregistry.c: (gst_registry_add_path):
6991         * gst/gstregistry.h:
6992         * gst/gstregistryxml.c:
6993         Fix docs again.
6994
6995 2005-12-02  Wim Taymans  <wim@fluendo.com>
6996
6997         * gst/gstutils.c: (gst_util_uint64_scale_int64),
6998         (gst_util_uint64_scale_int):
6999         Small cleanup.
7000
7001         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7002         Add debug log line.
7003
7004         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
7005         Add FIXME.
7006
7007 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7008
7009         * win32/MANIFEST:
7010         * win32/common/config.h:
7011         * win32/vs6/gstreamer.dsw:
7012         * win32/vs6/libgstcoreelements.dsp:
7013         * win32/vs6/libgstelements.dsp:
7014           renamed core elements plugin
7015
7016 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7017
7018         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
7019         (get_candidates):
7020           do piece-wise major/minor comparison so 0.9 < 0.10
7021           also allow .exe extensions for tools
7022
7023 2005-12-02  Michael Smith  <msmith@fluendo.com>
7024
7025         * gst/gst.c:
7026           Escape a % to make gtkdoc happier; bug 322958.
7027
7028 === release 0.9.7 ===
7029
7030 2005-12-01   <thomas (at) apestaart (dot) org>
7031
7032         * configure.ac:
7033           releasing 0.9.7, "My Dog Has No Nose"
7034
7035 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7036
7037         * common/gst-xmlinspect.py:
7038         * configure.ac:
7039         * docs/libs/tmpl/gstdataprotocol.sgml:
7040         * docs/random/release:
7041         * po/af.po:
7042         * po/az.po:
7043         * po/bg.po:
7044         * po/ca.po:
7045         * po/cs.po:
7046         * po/de.po:
7047         * po/en_GB.po:
7048         * po/fr.po:
7049         * po/it.po:
7050         * po/nb.po:
7051         * po/nl.po:
7052         * po/ru.po:
7053         * po/sq.po:
7054         * po/sr.po:
7055         * po/sv.po:
7056         * po/tr.po:
7057         * po/uk.po:
7058         * po/vi.po:
7059         * win32/common/config.h:
7060         * win32/common/config.h.in:
7061         * win32/vs6/gst_inspect.dsp:
7062         * win32/vs6/gst_launch.dsp:
7063         * win32/vs6/libgstbase.dsp:
7064         * win32/vs6/libgstelements.dsp:
7065         * win32/vs6/libgstreamer.dsp:
7066         * win32/vs7/GStreamer.vcproj:
7067         * win32/vs7/gst-inspect.vcproj:
7068         * win32/vs7/gst-launch.vcproj:
7069         * win32/vs7/libgstbase.vcproj:
7070           bump GST_MAJORMINOR to 0.10
7071           reset libtool version
7072
7073 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7074
7075         * po/LINGUAS:
7076         * po/bg.po:
7077           Added Bulgarian translation by (Alexander Shopov)
7078
7079 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7080
7081         * tests/check/gst/gstplugin.c:
7082           fix test
7083
7084 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7085
7086         * common/gst-xmlinspect.py:
7087         * common/gtk-doc-plugins.mak:
7088         * configure.ac:
7089         * docs/Makefile.am:
7090         * docs/gst/Makefile.am:
7091         * docs/gst/gstreamer-docs.sgml:
7092         * docs/gst/gstreamer-sections.txt:
7093         * docs/gst/gstreamer.types:
7094         * docs/gst/gstreamer.types.in:
7095         * docs/plugins/Makefile.am:
7096         * docs/plugins/gstreamer-plugins-docs.sgml:
7097         * docs/plugins/gstreamer-plugins-sections.txt:
7098         * docs/plugins/gstreamer-plugins.types:
7099         * docs/plugins/inspect.stamp:
7100         * docs/plugins/inspect/plugin-coreelements.xml:
7101         * docs/plugins/inspect/plugin-coreindexers.xml:
7102         * docs/plugins/scanobj-build.stamp:
7103         * gstreamer.spec.in:
7104         * plugins/elements/Makefile.am:
7105         * plugins/elements/gstelements.c:
7106         * plugins/elements/gstfakesink.c:
7107         * plugins/elements/gstfakesrc.c:
7108         * plugins/elements/gstfilesink.c:
7109         * plugins/elements/gstfilesrc.c:
7110         * plugins/elements/gstqueue.c:
7111         * plugins/indexers/Makefile.am:
7112         * plugins/indexers/gstindexers.c:
7113           document core plugins in a separate document just like all the
7114           others
7115           rename these plugins to something starting with core
7116
7117 2005-12-01  Andy Wingo  <wingo@pobox.com>
7118
7119         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
7120         padding here before, but it missed the commit.
7121
7122 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7123
7124         * libs/gst/controller/gstinterpolation.c:
7125           whitespace prices have crashed, we should feel free to use some now
7126           use gst_guint64_to_gdouble
7127
7128 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7129
7130         * libs/gst/controller/gstcontroller.c:
7131         * libs/gst/controller/gsthelper.c:
7132         * libs/gst/controller/gstinterpolation.c:
7133         * libs/gst/controller/lib.c:
7134           wrap config.h include
7135
7136 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7137
7138         * docs/gst/gstreamer-sections.txt:
7139           update docs
7140
7141 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7142
7143         * plugins/elements/gstelements.c:
7144         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
7145         (gst_fd_sink__class_init), (gst_fd_sink__init),
7146         (gst_fd_sink__chain), (gst_fd_sink__set_property),
7147         (gst_fd_sink__get_property):
7148         * plugins/elements/gstfdsink.h:
7149         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
7150         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
7151         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
7152         (gst_fd_src_unlock), (gst_fd_src_set_property),
7153         (gst_fd_src_get_property), (gst_fd_src_create),
7154         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
7155         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
7156         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
7157         (gst_fd_src_uri_handler_init):
7158         * plugins/elements/gstfdsrc.h:
7159         * plugins/elements/gstqueue.c: (gst_queue_get_type):
7160           more anal cleanup
7161
7162 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7163
7164         * docs/gst/Makefile.am:
7165         * docs/gst/gstreamer.types.in:
7166         * gst/Makefile.am:
7167           fix the docs build
7168
7169 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7170
7171         * configure.ac:
7172         * gst/Makefile.am:
7173         * gst/gst.c:
7174         * gst/gstplugin.h:
7175         * gst/gstregistry.h:
7176         * tests/benchmarks/complexity.c:
7177         * tests/benchmarks/mass-elements.c:
7178         * tests/check/Makefile.am:
7179         * tools/Makefile.am:
7180         * tools/gst-inspect.c:
7181         * tools/gst-xmlinspect.c:
7182           various fixes to make
7183           --disable-nls --disable-registry --disable-loadsave
7184           --disable-parse --disable-gst-debug
7185           work and get the core .so down to 360444 bytes after stripping
7186
7187 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7188
7189         * Makefile.am:
7190         * configure.ac:
7191           descend into tests
7192         * docs/random/thomasvs/TODO:
7193         * tests/Makefile.am:
7194         * tests/README:
7195           add a README
7196
7197 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7198
7199         * win32/GStreamer.vcproj:
7200         * win32/MANIFEST:
7201         * win32/Makefile:
7202         * win32/Makefile.inspect:
7203         * win32/Makefile.launch:
7204         * win32/Makefile.register:
7205         * win32/README.txt:
7206         * win32/gst-inspect.vcproj:
7207         * win32/gst-launch.vcproj:
7208         * win32/gst-register.vcproj:
7209         * win32/gstelements.vcproj:
7210         * win32/gstgetbits.def:
7211         * win32/gstgetbits.vcproj:
7212         * win32/gstreamer-dbg.def:
7213         * win32/gstreamer.def:
7214         * win32/libgstbase.def:
7215         * win32/libgstbase.vcproj:
7216         * win32/link_oldruntime.c:
7217         * win32/mman.c:
7218         * win32/mman.h:
7219         * win32/mman.inl:
7220         * win32/msvc71.sln:
7221           move even more stuff, win32/ is nice and clean now
7222
7223 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7224
7225         * libs/gst/control/.cvsignore:
7226         * win32/MANIFEST:
7227         * win32/config.h:
7228         * win32/dirent.c:
7229         * win32/dirent.h:
7230         * win32/gstbytestream.def:
7231         * win32/gstbytestream.vcproj:
7232         * win32/gstconfig.h:
7233         * win32/gstenumtypes.c:
7234         * win32/gstenumtypes.h:
7235         * win32/gstoptimalscheduler.vcproj:
7236         * win32/gstversion.h:
7237         * win32/gtchar.h:
7238         * win32/testsuite/bins.vcproj:
7239         * win32/testsuite/bytestream.vcproj:
7240         * win32/testsuite/caps.vcproj:
7241         * win32/testsuite/cleanup.vcproj:
7242         * win32/testsuite/clock.vcproj:
7243         * win32/testsuite/debug.vcproj:
7244         * win32/testsuite/dlopen.vcproj:
7245         * win32/testsuite/dynparams.vcproj:
7246         * win32/testsuite/elements.vcproj:
7247         * win32/testsuite/ghostpads.vcproj:
7248         * win32/testsuite/indexers.vcproj:
7249         * win32/testsuite/negotiation.vcproj:
7250         * win32/testsuite/parse.vcproj:
7251         * win32/testsuite/plugin.vcproj:
7252         * win32/testsuite/refcounting.vcproj:
7253         * win32/testsuite/schedulers.vcproj:
7254         * win32/testsuite/states.vcproj:
7255         * win32/testsuite/tags.vcproj:
7256         * win32/testsuite/threads.vcproj:
7257           remove old win32 stuff that isn't maintained and should be
7258           reorganized
7259
7260 2005-11-30  Andy Wingo  <wingo@pobox.com>
7261
7262         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
7263         loading the gst.interfaces python module bork.
7264
7265         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
7266         available since GLib 2.2. Fixes #318031.
7267
7268 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7269
7270         * Makefile.am:
7271         * check/.cvsignore:
7272         * check/Makefile.am:
7273         * check/elements/.cvsignore:
7274         * check/elements/fakesrc.c:
7275         * check/elements/fdsrc.c:
7276         * check/elements/identity.c:
7277         * check/generic/.cvsignore:
7278         * check/generic/states.c:
7279         * check/gst-libs/.cvsignore:
7280         * check/gst-libs/controller.c:
7281         * check/gst-libs/gdp.c:
7282         * check/gst/.cvsignore:
7283         * check/gst/capslist.h:
7284         * check/gst/gst.c:
7285         * check/gst/gstbin.c:
7286         * check/gst/gstbuffer.c:
7287         * check/gst/gstbus.c:
7288         * check/gst/gstcaps.c:
7289         * check/gst/gstelement.c:
7290         * check/gst/gstevent.c:
7291         * check/gst/gstghostpad.c:
7292         * check/gst/gstiterator.c:
7293         * check/gst/gstmessage.c:
7294         * check/gst/gstminiobject.c:
7295         * check/gst/gstobject.c:
7296         * check/gst/gstpad.c:
7297         * check/gst/gstpipeline.c:
7298         * check/gst/gstplugin.c:
7299         * check/gst/gstsegment.c:
7300         * check/gst/gststructure.c:
7301         * check/gst/gstsystemclock.c:
7302         * check/gst/gsttag.c:
7303         * check/gst/gstutils.c:
7304         * check/gst/gstvalue.c:
7305         * check/net/.cvsignore:
7306         * check/net/gstnetclientclock.c:
7307         * check/net/gstnettimeprovider.c:
7308         * check/pipelines/.cvsignore:
7309         * check/pipelines/cleanup.c:
7310         * check/pipelines/simple_launch_lines.c:
7311         * check/pipelines/stress.c:
7312         * check/states/.cvsignore:
7313         * check/states/sinks.c:
7314         * configure.ac:
7315         * examples/Makefile.am:
7316         * examples/appreader/.cvsignore:
7317         * examples/appreader/Makefile.am:
7318         * examples/appreader/appreader.c:
7319         * examples/controller/.cvsignore:
7320         * examples/controller/Makefile.am:
7321         * examples/controller/audio-example.c:
7322         * examples/cutter/.cvsignore:
7323         * examples/cutter/Makefile.am:
7324         * examples/cutter/cutter.c:
7325         * examples/cutter/cutter.h:
7326         * examples/events/Makefile.am:
7327         * examples/events/seek.c:
7328         * examples/helloworld/.cvsignore:
7329         * examples/helloworld/Makefile.am:
7330         * examples/helloworld/helloworld.c:
7331         * examples/helloworld2/.cvsignore:
7332         * examples/helloworld2/Makefile.am:
7333         * examples/helloworld2/helloworld2.c:
7334         * examples/launch/.cvsignore:
7335         * examples/launch/Makefile.am:
7336         * examples/launch/mp3parselaunch.c:
7337         * examples/launch/mp3play:
7338         * examples/manual/.cvsignore:
7339         * examples/manual/Makefile.am:
7340         * examples/manual/extract.pl:
7341         * examples/metadata/Makefile.am:
7342         * examples/metadata/read-metadata.c:
7343         * examples/mixer/.cvsignore:
7344         * examples/mixer/Makefile.am:
7345         * examples/mixer/mixer.c:
7346         * examples/mixer/mixer.h:
7347         * examples/pingpong/.cvsignore:
7348         * examples/pingpong/Makefile.am:
7349         * examples/pingpong/pingpong.c:
7350         * examples/plugins/.cvsignore:
7351         * examples/plugins/Makefile.am:
7352         * examples/plugins/example.c:
7353         * examples/plugins/example.h:
7354         * examples/pwg/.cvsignore:
7355         * examples/pwg/Makefile.am:
7356         * examples/pwg/extract.pl:
7357         * examples/queue/.cvsignore:
7358         * examples/queue/Makefile.am:
7359         * examples/queue/queue.c:
7360         * examples/queue2/.cvsignore:
7361         * examples/queue2/Makefile.am:
7362         * examples/queue2/queue2.c:
7363         * examples/queue3/.cvsignore:
7364         * examples/queue3/Makefile.am:
7365         * examples/queue3/queue3.c:
7366         * examples/queue4/.cvsignore:
7367         * examples/queue4/Makefile.am:
7368         * examples/queue4/queue4.c:
7369         * examples/retag/.cvsignore:
7370         * examples/retag/Makefile.am:
7371         * examples/retag/retag.c:
7372         * examples/retag/transcode.c:
7373         * examples/thread/.cvsignore:
7374         * examples/thread/Makefile.am:
7375         * examples/thread/thread.c:
7376         * examples/typefind/.cvsignore:
7377         * examples/typefind/Makefile.am:
7378         * examples/typefind/typefind.c:
7379         * examples/xml/.cvsignore:
7380         * examples/xml/Makefile.am:
7381         * examples/xml/createxml.c:
7382         * examples/xml/runxml.c:
7383         * tests/Makefile.am:
7384         * tests/check/Makefile.am:
7385         * testsuite/.cvsignore:
7386         * testsuite/Makefile.am:
7387         * testsuite/Rules:
7388         * testsuite/caps/.cvsignore:
7389         * testsuite/caps/Makefile.am:
7390         * testsuite/caps/app_fixate.c:
7391         * testsuite/caps/audioscale.c:
7392         * testsuite/caps/caps.c:
7393         * testsuite/caps/caps.h:
7394         * testsuite/caps/caps_strings:
7395         * testsuite/caps/compatibility.c:
7396         * testsuite/caps/deserialize.c:
7397         * testsuite/caps/enumcaps.c:
7398         * testsuite/caps/eratosthenes.c:
7399         * testsuite/caps/filtercaps.c:
7400         * testsuite/caps/fixed.c:
7401         * testsuite/caps/fraction-convert.c:
7402         * testsuite/caps/fraction-multiply-and-zero.c:
7403         * testsuite/caps/intersect2.c:
7404         * testsuite/caps/intersection.c:
7405         * testsuite/caps/normalisation.c:
7406         * testsuite/caps/random.c:
7407         * testsuite/caps/renegotiate.c:
7408         * testsuite/caps/sets.c:
7409         * testsuite/caps/simplify.c:
7410         * testsuite/caps/string-conversions.c:
7411         * testsuite/caps/structure.c:
7412         * testsuite/caps/subtract.c:
7413         * testsuite/caps/union.c:
7414         * testsuite/debug/.cvsignore:
7415         * testsuite/debug/Makefile.am:
7416         * testsuite/debug/category.c:
7417         * testsuite/debug/commandline.c:
7418         * testsuite/debug/global.c:
7419         * testsuite/debug/output.c:
7420         * testsuite/debug/printf_extension.c:
7421         * testsuite/dlopen/.cvsignore:
7422         * testsuite/dlopen/Makefile.am:
7423         * testsuite/dlopen/dlopen_gst.c:
7424         * testsuite/dlopen/loadgst.c:
7425         * testsuite/elements/.cvsignore:
7426         * testsuite/elements/Makefile.am:
7427         * testsuite/elements/gst-inspect-check.in:
7428         * testsuite/elements/struct_i386.h:
7429         * testsuite/elements/struct_size.c:
7430         * testsuite/indexers/.cvsignore:
7431         * testsuite/indexers/Makefile.am:
7432         * testsuite/indexers/cache1.c:
7433         * testsuite/indexers/indexdump.c:
7434         * testsuite/parse/.cvsignore:
7435         * testsuite/parse/Makefile.am:
7436         * testsuite/parse/parse1.c:
7437         * testsuite/parse/parse2.c:
7438         * testsuite/plugin/.cvsignore:
7439         * testsuite/plugin/Makefile.am:
7440         * testsuite/plugin/README:
7441         * testsuite/plugin/dynamic.c:
7442         * testsuite/plugin/linked.c:
7443         * testsuite/plugin/loading.c:
7444         * testsuite/plugin/registry.c:
7445         * testsuite/plugin/static.c:
7446         * testsuite/plugin/static2.c:
7447         * testsuite/plugin/testplugin.c:
7448         * testsuite/plugin/testplugin2.c:
7449         * testsuite/plugin/testplugin2_s.c:
7450         * testsuite/plugin/testplugin_s.c:
7451         * testsuite/refcounting/.cvsignore:
7452         * testsuite/refcounting/Makefile.am:
7453         * testsuite/refcounting/bin.c:
7454         * testsuite/refcounting/element.c:
7455         * testsuite/refcounting/element_pad.c:
7456         * testsuite/refcounting/mainloop.c:
7457         * testsuite/refcounting/mem.c:
7458         * testsuite/refcounting/mem.h:
7459         * testsuite/refcounting/object.c:
7460         * testsuite/refcounting/pad.c:
7461         * testsuite/refcounting/sched.c:
7462         * testsuite/refcounting/thread.c:
7463         * testsuite/states/.cvsignore:
7464         * testsuite/states/Makefile.am:
7465         * testsuite/states/bin.c:
7466         * testsuite/states/locked.c:
7467         * testsuite/states/parent.c:
7468         * testsuite/threads/.cvsignore:
7469         * testsuite/threads/159566.c:
7470         * testsuite/threads/159852.c:
7471         * testsuite/threads/Makefile.am:
7472         * testsuite/threads/queue.c:
7473         * testsuite/threads/signals.c:
7474         * testsuite/threads/staticrec.c:
7475         * testsuite/threads/thread.c:
7476         * testsuite/threads/threadb.c:
7477         * testsuite/threads/threadc.c:
7478         * testsuite/threads/threadd.c:
7479         * testsuite/threads/threade.c:
7480         * testsuite/threads/threadf.c:
7481         * testsuite/threads/threadg.c:
7482         * testsuite/threads/threadh.c:
7483         * testsuite/threads/threadi.c:
7484           move all of these under tests
7485
7486 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7487
7488         * configure.ac:
7489         * tests/Makefile.am:
7490           fix distcheck
7491
7492 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7493
7494         * docs/gst/gstreamer-sections.txt:
7495         * tests/sched/.cvsignore:
7496         * tests/sched/Makefile.am:
7497         * tests/sched/cases/(fs-fs).xml:
7498         * tests/sched/cases/(fs-i-fs).xml:
7499         * tests/sched/cases/(fs-i-i-fs).xml:
7500         * tests/sched/cases/(fs-i-q[i-fs]).xml:
7501         * tests/sched/dynamic-pipeline.c:
7502         * tests/sched/interrupt1.c:
7503         * tests/sched/interrupt2.c:
7504         * tests/sched/interrupt3.c:
7505         * tests/sched/runtestcases:
7506         * tests/sched/runxml.c:
7507         * tests/sched/sched-stress.c:
7508         * tests/sched/sort.c:
7509         * tests/sched/testcases:
7510         * tests/sched/testcases1.tc:
7511         * tests/seeking/.cvsignore:
7512         * tests/seeking/Makefile.am:
7513         * tests/seeking/seeking1.c:
7514         * tests/threadstate/.cvsignore:
7515         * tests/threadstate/Makefile.am:
7516         * tests/threadstate/test1.c:
7517         * tests/threadstate/test2.c:
7518         * tests/threadstate/threadstate1.c:
7519         * tests/threadstate/threadstate2.c:
7520         * tests/threadstate/threadstate3.c:
7521         * tests/threadstate/threadstate4.c:
7522         * tests/threadstate/threadstate5.c:
7523           remove obsolete tests
7524         * configure.ac:
7525         * tests/bench-complexity.scm:
7526         * tests/bench-mass_elements.scm:
7527         * tests/complexity.c:
7528         * tests/complexity.gnuplot:
7529         * tests/instantiate/.cvsignore:
7530         * tests/instantiate/Makefile.am:
7531         * tests/instantiate/caps.c:
7532         * tests/mass_elements.c:
7533         * tests/network-clock-utils.scm:
7534         * tests/network-clock.scm:
7535         * tests/plot-data:
7536         First pass at cleaning up tests/ dir before moving the rest
7537         Combined with CVS surgery
7538
7539 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7540
7541         * po/POTFILES.in:
7542           queue has moved, update
7543
7544 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7545
7546         * docs/gst/gstreamer-sections.txt:
7547           remove double entries from the docs
7548         * gst/gst_private.h:
7549         * gst/gstinfo.c: (_gst_debug_init):
7550           remove the THREAD debug category
7551         * gst/Makefile.am:
7552         * gst/gstqueue.c:
7553         * gst/gstqueue.h:
7554         * docs/gst/gstreamer.types:
7555         * plugins/elements/gstqueue.c: (gst_queue_get_type),
7556         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
7557           completely move queue and fix up debugging categories
7558
7559 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7560
7561         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7562           make initialization portable, using LL is not
7563
7564 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7565
7566         * win32/common/gstconfig.h:
7567           add large padding
7568
7569 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7570
7571         * win32/common/libgstreamer.def:
7572           rename symbols; sort base section
7573
7574 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7575
7576         * gst/gstclock.c: (do_linear_regression):
7577           remove crack non-portable handrolled DEBUG macro
7578
7579 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7580
7581         * docs/random/release:
7582           update notes
7583         * win32/common/gstenumtypes.c: (register_gst_object_flags),
7584         (gst_object_flags_get_type), (register_gst_bin_flags),
7585         (gst_bin_flags_get_type), (register_gst_buffer_flag),
7586         (gst_buffer_flag_get_type), (register_gst_bus_flags),
7587         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7588         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
7589         (gst_caps_flags_get_type), (register_gst_clock_return),
7590         (gst_clock_return_get_type), (register_gst_clock_entry_type),
7591         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7592         (gst_clock_flags_get_type), (register_gst_state),
7593         (gst_state_get_type), (register_gst_state_change_return),
7594         (gst_state_change_return_get_type), (register_gst_state_change),
7595         (gst_state_change_get_type), (register_gst_element_flags),
7596         (gst_element_flags_get_type), (register_gst_core_error),
7597         (gst_core_error_get_type), (register_gst_library_error),
7598         (gst_library_error_get_type), (register_gst_resource_error),
7599         (gst_resource_error_get_type), (register_gst_stream_error),
7600         (gst_stream_error_get_type), (register_gst_event_type_flags),
7601         (gst_event_type_flags_get_type), (register_gst_event_type),
7602         (gst_event_type_get_type), (register_gst_seek_type),
7603         (gst_seek_type_get_type), (register_gst_seek_flags),
7604         (gst_seek_flags_get_type), (register_gst_format),
7605         (gst_format_get_type), (register_gst_index_certainty),
7606         (gst_index_certainty_get_type), (register_gst_index_entry_type),
7607         (gst_index_entry_type_get_type),
7608         (register_gst_index_lookup_method),
7609         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7610         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7611         (gst_index_resolver_method_get_type), (register_gst_index_flags),
7612         (gst_index_flags_get_type), (register_gst_debug_level),
7613         (gst_debug_level_get_type), (register_gst_debug_color_flags),
7614         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7615         (gst_iterator_result_get_type), (register_gst_iterator_item),
7616         (gst_iterator_item_get_type), (register_gst_message_type),
7617         (gst_message_type_get_type), (register_gst_mini_object_flags),
7618         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7619         (gst_pad_link_return_get_type), (register_gst_flow_return),
7620         (gst_flow_return_get_type), (register_gst_activate_mode),
7621         (gst_activate_mode_get_type), (register_gst_pad_direction),
7622         (gst_pad_direction_get_type), (register_gst_pad_flags),
7623         (gst_pad_flags_get_type), (register_gst_pad_presence),
7624         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7625         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7626         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7627         (gst_plugin_error_get_type), (register_gst_plugin_flags),
7628         (gst_plugin_flags_get_type), (register_gst_rank),
7629         (gst_rank_get_type), (register_gst_query_type),
7630         (gst_query_type_get_type), (register_gst_tag_merge_mode),
7631         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7632         (gst_tag_flag_get_type), (register_gst_task_state),
7633         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7634         (gst_alloc_trace_flags_get_type),
7635         (register_gst_type_find_probability),
7636         (gst_type_find_probability_get_type), (register_gst_uri_type),
7637         (gst_uri_type_get_type), (register_gst_parse_error),
7638         (gst_parse_error_get_type):
7639         * win32/common/gstenumtypes.h:
7640         * win32/common/gstversion.h:
7641           update visual studio generated files
7642
7643 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7644
7645         * win32/vs6/libgstbase.dsp:
7646         * win32/vs6/libgstelements.dsp:
7647           update project files for new locations
7648
7649 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7650
7651         * Makefile.am:
7652           remove some files
7653         * README:
7654           reinstate and update
7655         * DEVEL:
7656         * REQUIREMENTS:
7657           removed
7658         * LICENSE:
7659         * docs/random/LICENSE:
7660           moved to random
7661
7662 2005-11-30  Edward Hervey  <edward@fluendo.com>
7663
7664         * gst/gsttypefind.c: (gst_type_find_register):
7665         * gst/gsttypefind.h:
7666         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
7667         (gst_type_find_factory_dispose):
7668         * gst/gsttypefindfactory.h:
7669         Fix memory leak in GstTypeFindFactory.
7670
7671 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7672
7673         * gst/gst.c:
7674         * plugins/elements/Makefile.am:
7675         * plugins/elements/gstelements.c:
7676         * plugins/elements/gstqueue.c:
7677           move queue from core to the elements plugin
7678
7679 2005-11-29  Andy Wingo  <wingo@pobox.com>
7680
7681         * libs/gst/base/gstbasetransform.h: 
7682         * libs/gst/base/gstbasesrc.h: 
7683         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
7684
7685         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
7686         of pointers by which to pad very extensible base classes (like the
7687         ones in libs/gst/base).
7688
7689 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7690
7691         * docs/gst/gstreamer-docs.sgml:
7692         * docs/gst/gstreamer-sections.txt:
7693         * docs/libs/gstreamer-libs-docs.sgml:
7694         * docs/libs/gstreamer-libs-sections.txt:
7695           moving documentation from core to lib
7696
7697 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7698
7699         * check/Makefile.am:
7700         * configure.ac:
7701         * docs/gst/Makefile.am:
7702         * gst/Makefile.am:
7703         * gst/base/.cvsignore:
7704         * gst/base/Makefile.am:
7705         * gst/base/README:
7706         * gst/base/gstadapter.c:
7707         * gst/base/gstadapter.h:
7708         * gst/base/gstbasesink.c:
7709         * gst/base/gstbasesink.h:
7710         * gst/base/gstbasesrc.c:
7711         * gst/base/gstbasesrc.h:
7712         * gst/base/gstbasetransform.c:
7713         * gst/base/gstbasetransform.h:
7714         * gst/base/gstcollectpads.c:
7715         * gst/base/gstcollectpads.h:
7716         * gst/base/gstpushsrc.c:
7717         * gst/base/gstpushsrc.h:
7718         * gst/base/gsttypefindhelper.c:
7719         * gst/base/gsttypefindhelper.h:
7720         * gst/check/Makefile.am:
7721         * gst/check/gstcheck.c:
7722         * gst/check/gstcheck.h:
7723         * gst/net/Makefile.am:
7724         * gst/net/gstnet.h:
7725         * gst/net/gstnetclientclock.c:
7726         * gst/net/gstnetclientclock.h:
7727         * gst/net/gstnettimepacket.c:
7728         * gst/net/gstnettimepacket.h:
7729         * gst/net/gstnettimeprovider.c:
7730         * gst/net/gstnettimeprovider.h:
7731         * libs/gst/Makefile.am:
7732         * libs/gst/base/Makefile.am:
7733         * libs/gst/base/gstbasetransform.c:
7734         * libs/gst/check/Makefile.am:
7735         * plugins/elements/Makefile.am:
7736         * po/POTFILES.in:
7737           CVS surgery + support to move base, check, and net out of gst
7738           and into libs/gst
7739
7740 2005-11-29  Andy Wingo  <wingo@pobox.com>
7741
7742         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
7743
7744         * gst/gststructure.h (struct _GstStructure): Only one pointer of
7745         padding.
7746
7747         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
7748
7749         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
7750
7751         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
7752
7753         * gst/gstobject.h: (struct _GstObject): Only one pointer of
7754         padding; reduces object size by about 30%. We don't expect
7755         anything else to go into gstobject.
7756
7757         * gst/gstminiobject.h (struct _GstMiniObject)
7758         (struct _GstMiniObjectClass): Only one pointer of padding; the
7759         payload is only a pointer and two ints anyway. For the class there
7760         are only two methods as well.
7761         
7762         * gst/gstelement.h (struct _GstElementClass): Removed
7763         the state_changed signal callback, it is not used.
7764
7765 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7766
7767         * docs/gst/gstreamer.types:
7768           fix includes, though they are a little dinky
7769
7770 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7771
7772         * check/Makefile.am:
7773           look in the right place for elements, a lot more chance of
7774           success
7775         * gst/Makefile.am:
7776           remove indexers and elements subdirs
7777         * plugins/Makefile.am:
7778           make indexers conditional
7779
7780 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7781
7782         * Makefile.am:
7783         * configure.ac:
7784         * plugins/elements/Makefile.am:
7785         * plugins/elements/gstcapsfilter.c:
7786         * plugins/elements/gstfilesink.c:
7787         * plugins/elements/gstfilesrc.c:
7788         * plugins/elements/gstidentity.c:
7789         * plugins/indexers/Makefile.am:
7790           do CVS surgery and related build fixery to move elements
7791           and indexers in a new gstreamer/plugins directory, out of the
7792           gst/ directory
7793
7794 2005-11-29  Andy Wingo  <wingo@pobox.com>
7795
7796         * check/Makefile.am:
7797         * pkgconfig/gstreamer-net-uninstalled.pc.in:
7798         * pkgconfig/gstreamer-net.pc.in:
7799         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
7800         #322257.
7801
7802 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7803
7804         * tools/Makefile.am:
7805         * tools/gst-complete.1.in:
7806         * tools/gst-complete.c:
7807         * tools/gst-compprep.1.in:
7808         * tools/gst-compprep.c:
7809           removing -compprep and -complete
7810
7811 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7812
7813         * gst/gstevent.c: (gst_event_new_new_segment),
7814         (gst_event_parse_new_segment):
7815         * gst/gstevent.h:
7816           fix #320529 - clean up new_segment API and structure.
7817           Let's hope everyone was using the methods, and not the structure.
7818
7819 2005-11-29  Edward Hervey  <edward@fluendo.com>
7820
7821         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7822         (gst_base_sink_event), (gst_base_sink_do_sync),
7823         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7824         Properly handle non GST_FORMAT_TIME segment
7825         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7826         Properly handle non GST_FORMAT_TIME segment
7827         * gst/gstsegment.c:
7828         This function is valid if the accumulator is 0 and the format
7829         is different from the requested format.
7830         
7831 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
7832
7833         * docs/gst/gstreamer-sections.txt:
7834         Add gst_query_new_seeking and gst_query_parse_seeking to the
7835         docs.
7836
7837 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
7838
7839         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7840           Treat a pad alloc with new caps the same as if we were not
7841           negotiated, in order to allow a changing upstream output
7842           to produce a new format of data.
7843
7844 2005-11-29  Edward Hervey  <edward@fluendo.com>
7845
7846         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7847         (gst_base_transform_event), (gst_base_transform_eventfunc):
7848         The event virtual method is now properly implemented, with a default
7849         handler
7850         Sub classes should call the parent_class event method. They should
7851         return FALSE if they had a problem handling the given event, or don't
7852         want GstBaseTransform to send that even downstream
7853         * gst/elements/gstidentity.c: (gst_identity_class_init),
7854         (gst_identity_init), (gst_identity_event),
7855         (gst_identity_transform_ip), (gst_identity_set_property),
7856         (gst_identity_get_property):
7857         * gst/elements/gstidentity.h:
7858         Added the single-segment boolean property.
7859         If set to TRUE, it will output a single segment of data, starting from
7860         0, will eat up all incoming newsegment, and modify the timestamp of the
7861         buffers accordingly
7862
7863 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
7864
7865         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
7866           Don't ref NULL target pad (#322751). Improve docs.
7867
7868 2005-11-29  Michael Smith  <msmith@fluendo.com>
7869
7870         * gst/gstregistryxml.c: (load_plugin):
7871           Don't crash if we failed to load a feature from a plugin. 
7872
7873 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7874
7875         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7876         (GST_START_TEST):
7877           use more check API and less GLib API
7878
7879 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7880
7881         * Makefile.am:
7882           don't run checks if we don't have check
7883         * common/check.mak:
7884           remove the registry when running make torture
7885         * docs/gst/gstreamer-sections.txt:
7886           remove second multiply
7887         * gst/gstqueue.c: (gst_queue_loop):
7888           fix a compile warning when disabling debug
7889
7890 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
7891
7892         * gst/gstinfo.h:
7893         Hey! Let's print the pad name if the pointer != NULL instead
7894         of when it == NULL :-)
7895
7896 2005-11-28  Wim Taymans  <wim@fluendo.com>
7897
7898         * check/gst/gstutils.c: (GST_START_TEST):
7899         Updated check, add some scaling accuracy checking code.
7900
7901         * gst/gstutils.c: (gst_util_div128_64),
7902         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
7903         (gst_util_uint64_scale_int):
7904         Fix 6 times faster division code. Optimize for common 
7905         1/1 and less common X/1 cases.
7906
7907 2005-11-28  Wim Taymans  <wim@fluendo.com>
7908
7909         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7910         More checks.
7911
7912         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
7913         (do_linear_regression), (gst_clock_add_observation):
7914         Cleanups.
7915         Release lock when the clock cannot be slaved.
7916         Catch the case where the regression returned an invalid denominator.
7917
7918         * gst/gstutils.c: (gst_util_div128_64_iterate),
7919         (gst_util_div128_64), (gst_util_uint64_scale_int64),
7920         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7921         Add protentially more performant non-iterative 128/64 divide function
7922         that unfortunatly does not work yet.
7923         Shortcut the trivial 0/X = 0 case.
7924         Remove the warnings on overflow.
7925
7926 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7927
7928         * gst/gstplugin.c: (gst_plugin_register_func):
7929           everything causing a plugin not to load should be at least a WARNING
7930
7931 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
7932
7933         * docs/random/ensonic/dparams.txt:
7934           some TODOs for the next dev cycle
7935         * libs/gst/controller/gstcontroller.c:
7936         (gst_controlled_property_set_interpolation_mode),
7937         (gst_controlled_property_new):
7938         * libs/gst/controller/gstcontroller.h:
7939           use base type to assign acccessor functions
7940
7941 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
7942
7943         * check/Makefile.am:
7944         Oops, that should have been top_srcdir
7945
7946 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
7947
7948         * check/Makefile.am:
7949         * check/elements/fdsrc.c: (GST_START_TEST):
7950         Use a cmdline define to specify the location of a file to use for
7951         testing, to avoid breaking distcheck.
7952
7953 2005-11-28  Andy Wingo  <wingo@pobox.com>
7954
7955         * gst/gstpad.c (fixate_value): Use array functions for arrays.
7956
7957 2005-11-28  Edward Hervey  <edward@fluendo.com>
7958
7959         * tools/gst-launch.c: (main):
7960         Clarify the output strings, makes it easier to translate.
7961         Fixes #322626
7962
7963 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7964
7965         * gst/Makefile.am:
7966           don't try and build net if we don't even have <sys/socket.h>
7967
7968 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
7969
7970         * check/Makefile.am:
7971         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
7972         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
7973           Add tests for fdsrc seekability
7974
7975         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
7976         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
7977         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
7978         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
7979         * gst/elements/gstfdsrc.h:
7980           fdsrc should not be a 'live' source.
7981           Implement seeking on seekable fd's.
7982
7983         * gst/gstquery.c: (gst_query_new_seeking),
7984         (gst_query_parse_seeking):
7985         * gst/gstquery.h:
7986           Implement SEEKING query functions: 
7987             *_new_seeking and *_parse_seeking
7988
7989 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
7990
7991         * gst/gstelement.c: (gst_element_dispose):
7992           don't loop forever
7993
7994         * gst/gstiterator.c:
7995         * gst/gststructure.c:
7996           doc fixes
7997
7998         * libs/gst/controller/gstcontroller.c:
7999         (gst_controlled_property_set_interpolation_mode):
8000         * libs/gst/controller/gstcontroller.h:
8001         * libs/gst/controller/gstinterpolation.c:
8002         (interpolate_none_get_enum_value_array):
8003           support controlling enums
8004
8005 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
8006
8007         * gst/gstvalue.c:
8008           Improve documentation for gst_value_union().
8009
8010         * gst/gstvalue.h:
8011           Change return value for union, intersect and subtract functions
8012           from gint to gboolean.
8013
8014 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
8015
8016         * gst/gstvalue.c: (gst_value_serialize_any_list),
8017         (gst_value_transform_any_list_string),
8018         (gst_value_deserialize_list), (gst_value_deserialize_array),
8019         (gst_value_set_int_range), (gst_value_deserialize_int_range),
8020         (gst_value_set_double_range), (gst_value_deserialize_double_range),
8021         (gst_value_set_fraction_range_full),
8022         (gst_value_deserialize_fraction_range),
8023         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
8024         (gst_value_deserialize_boolean),
8025         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
8026         (gst_value_serialize_float), (gst_value_deserialize_float),
8027         (gst_string_wrap), (gst_value_deserialize_string),
8028         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
8029         (gst_value_union_int_range_int_range),
8030         (gst_value_intersect_int_range_int_range),
8031         (gst_value_intersect_double_range_double_range),
8032         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
8033         (gst_value_subtract_int_range_int_range),
8034         (gst_value_subtract_double_double_range),
8035         (gst_value_subtract_double_range_double_range),
8036         (gst_value_deserialize_fraction):
8037         * gst/gstvalue.h:
8038           Use gint, gdouble and gchar in our API instead of int, double and
8039           char (and make usage in gstvalue.c more consistent).
8040
8041 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
8042
8043         * check/Makefile.am:
8044         * libs/gst/controller/Makefile.am:
8045         * libs/gst/dataprotocol/Makefile.am:
8046           fix up Makefile.am and remove GST_ENABLE_NEW
8047
8048 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
8049
8050         * configure.ac:
8051         * gst/Makefile.am:
8052         * gst/base/Makefile.am:
8053         * gst/check/Makefile.am:
8054         * gst/elements/Makefile.am:
8055         * gst/net/Makefile.am:
8056           update LDFLAGS use some more
8057
8058 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
8059
8060         * common/m4/gst-doc.m4:
8061           Fixes #312589
8062
8063 2005-11-26  Edward Hervey  <edward@fluendo.com>
8064
8065         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8066         This shouldn't issue a g_warning since it returns NULL if it
8067         couldn't find the plugin, and all functions using this behave
8068         properly on a NULL return. Switching to a GST_WARNING.
8069
8070 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
8071
8072         * gst/gstbin.c: (gst_bin_handle_message_func):
8073         Don't leak clock messages.
8074
8075 2005-11-25  Wim Taymans  <wim@fluendo.com>
8076
8077         * gst/gstutils.c: (gst_util_uint64_scale_int64),
8078         (gst_util_uint64_scale_int):
8079         Optimisations, remove unneeded vars.
8080
8081 2005-11-25  Wim Taymans  <wim@fluendo.com>
8082
8083         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8084         Added more checks for the high precision uint64 cases.
8085
8086         * gst/gstutils.c: (gst_util_uint64_scale_int64),
8087         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
8088         Implement high precision (guint64 * guint64) / guint64.
8089
8090 2005-11-24  Wim Taymans  <wim@fluendo.com>
8091
8092         * gst/base/gstbasesrc.c: (gst_base_src_query):
8093         Fix wrong percentage query.
8094
8095         * gst/gstutils.c: (gst_util_uint64_scale),
8096         (gst_util_uint64_scale_int):
8097         Add some more common cases that can be handled 
8098         efficiently to _scale.
8099
8100 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8101
8102         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
8103         (gst_mini_object_suite):
8104           don't use check calls from threads; check probably isn't
8105           threadsafe and using a lock to make it threadsafe would
8106           defeat the purpose of this check
8107         * gst/check/gstcheck.c:
8108         * gst/check/gstcheck.h:
8109           use GST_DEBUG some more
8110
8111 2005-11-24  Wim Taymans  <wim@fluendo.com>
8112
8113         * gst/gstutils.c: (gst_util_uint64_scale),
8114         (gst_util_uint64_scale_int):
8115         Chain trivial case to _scale_int.
8116
8117 2005-11-24  Wim Taymans  <wim@fluendo.com>
8118
8119         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8120         Added test for scaling.
8121
8122         * gst/gstclock.h:
8123         Small doc fix.
8124
8125         * gst/gstutils.c: (gst_util_uint64_scale_int):
8126         Implemented high precision scaling code.
8127
8128 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
8129
8130         * gst/gstinfo.h:
8131           do not crash on pad==NULL
8132
8133 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8134
8135         Patch by: Stefan Kost
8136
8137         * common/gtk-doc.mak:
8138         * docs/gst/Makefile.am:
8139         * docs/libs/Makefile.am:
8140           Fix distcheck issues for the libraries docs build
8141           Closes #319599.
8142
8143 2005-11-24  Michael Smith <msmith@fluendo.com>
8144
8145         * docs/manual/basics-helloworld.xml:
8146           Fix bug #315027: memory leak in example code in docs.
8147
8148 2005-11-24  Michael Smith <msmith@fluendo.com>
8149
8150         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8151           Unlock the PREROLL_LOCK in a failure case.
8152
8153 2005-11-24  Wim Taymans  <wim@fluendo.com>
8154
8155         * docs/gst/gstreamer-sections.txt:
8156         * gst/base/gstadapter.h:
8157         * gst/base/gstbasesink.h:
8158         * gst/base/gstbasesrc.h:
8159         * gst/base/gstbasetransform.h:
8160         * gst/base/gstpushsrc.h:
8161         * gst/elements/gstfakesink.h:
8162         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
8163         * gst/elements/gstfakesrc.h:
8164         * gst/elements/gstfilesink.h:
8165         * gst/elements/gstfilesrc.h:
8166         * gst/gst.c:
8167         * gst/gstbin.c:
8168         * gst/gstbuffer.c: (_gst_buffer_copy):
8169         * gst/gstbus.h:
8170         * gst/gstcaps.c:
8171         * gst/gstchildproxy.c:
8172         * gst/gstclock.c:
8173         * gst/gstelement.c:
8174         * gst/gstelementfactory.c:
8175         * gst/gstelementfactory.h:
8176         * gst/gstevent.c:
8177         * gst/gstghostpad.h:
8178         * gst/gstindex.h:
8179         * gst/gstinterface.h:
8180         * gst/gstminiobject.c:
8181         * gst/gstminiobject.h:
8182         * gst/gstpad.c:
8183         * gst/gstpad.h:
8184         * gst/gstpadtemplate.h:
8185         * gst/gstpipeline.h:
8186         * gst/gstpluginfeature.h:
8187         * gst/gstquery.h:
8188         * gst/gstqueue.h:
8189         * gst/gsttaglist.c:
8190         * gst/gsttaglist.h:
8191         * gst/gsttagsetter.c:
8192         * gst/gsttagsetter.h:
8193         * gst/gsttrace.c:
8194         * gst/gsttrace.h:
8195         * gst/gsttypefind.h:
8196         * gst/gsturi.h:
8197         * gst/gstvalue.c:
8198         * gst/net/gstnetclientclock.c:
8199         * gst/net/gstnetclientclock.h:
8200         * gst/net/gstnettimepacket.c:
8201         * gst/net/gstnettimeprovider.c:
8202         * gst/net/gstnettimeprovider.h:
8203         Doc fixes.
8204
8205 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8206
8207         * configure.ac: back to HEAD
8208
8209 === release 0.9.6 ===
8210
8211 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
8212
8213         * configure.ac:
8214           releasing 0.9.6, "Always On Time"
8215
8216 2005-11-23  Wim Taymans  <wim@fluendo.com>
8217
8218         * docs/gst/gstreamer-sections.txt:
8219         * gst/glib-compat.c:
8220         * gst/gsttagsetter.c:
8221         * gst/gstvalue.c:
8222         * gst/net/gstnetclientclock.c:
8223         * gst/net/gstnettimepacket.h:
8224         Doc updates.
8225
8226 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8227
8228         * docs/faq/using.xml:
8229         * docs/libs/tmpl/gstcontrol.sgml:
8230         * docs/manual/advanced-dparams.xml:
8231         * docs/manual/appendix-checklist.xml:
8232         * docs/manual/basics-elements.xml:
8233         * docs/pwg/other-source.xml:
8234         * docs/random/moving-plugins:
8235         * gst/gstpad.c:
8236         * tools/gst-launch.1.in:
8237           remove mentions of sinesrc
8238
8239 2005-11-23  Michael Smith <msmith@fluendo.com>
8240
8241         * docs/gst/gstreamer-sections.txt:
8242           Update for new API and API changes.
8243         * gst/gstobject.h:
8244           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
8245         * gst/gstvalue.c:
8246           Documentation typo fix.
8247         * gst/net/gstnettimepacket.c:
8248           Documentation fixes for arguments.
8249
8250 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
8251
8252         * gst/gststructure.c: (gst_structure_get_fraction),
8253         (gst_structure_parse_value),
8254         (gst_structure_fixate_field_nearest_fraction):
8255         * gst/gststructure.h:
8256         * gst/gstutils.c: (gst_util_uint64_scale_int):
8257         * gst/gstutils.h:
8258         * scripts/update-funcnames:
8259         API Changes. 
8260         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
8261         Make gst_structure_fixate_field_nearest_fraction take a numerator
8262         and denominator argument instead of a GValue
8263         add gst_structure_get_fraction helper function.
8264
8265 2005-11-23  Wim Taymans  <wim@fluendo.com>
8266
8267         * docs/design/part-TODO.txt:
8268         Update TODO.
8269
8270         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8271         * gst/net/gstnetclientclock.h:
8272         Use parent fields for timeout and window_size.
8273
8274 2005-11-23  Andy Wingo  <wingo@pobox.com>
8275
8276         * check/net/gstnetclientclock.c (test_functioning): Adjust to
8277         rate_num/rate_denom change.
8278
8279         * gst/net/gstnetclientclock.c
8280         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
8281         OBJECT_LOCK. Don't call add_observation with the lock.
8282
8283         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
8284         fraction.
8285         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
8286         rate fraction.
8287         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
8288         deal with rate as a fraction whose numerator and denominator are
8289         GstClockTime values.
8290         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
8291         master; the other fields are protected by the SLAVE_LOCK.
8292         (do_linear_regression): Note that this must be called with the
8293         SLAVE_LOCK.
8294         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
8295         OBJECT_LOCK. Call set_calibration instead of touching the
8296         variables directly.
8297         (gst_clock_set_property, gst_clock_get_property): Protect
8298         master/slave parameters with the SLAVE_LOCK.
8299
8300         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
8301         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
8302         note that all of the instance variables that add_observation and
8303         the set_master functions use are protected by that lock and not
8304         the OBJECT_LOCK.
8305         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
8306
8307         * gst/gstclock.c (gst_clock_add_observation): No longer requires
8308         the caller to take the object lock.
8309
8310 2005-11-23  Wim Taymans  <wim@fluendo.com>
8311
8312         * gst/gsterror.c: (_gst_core_errors_init):
8313         * gst/gsterror.h:
8314         Add error for clock stuff.
8315
8316         * gst/gstpipeline.c: (gst_pipeline_change_state),
8317         (gst_pipeline_set_clock):
8318         Post clock error when clock cannot be used in a pipeline.
8319
8320 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
8321
8322         * docs/gst/gstreamer-sections.txt:
8323           make two symbols from gstinfo private for the docs
8324         * gst/base/gstcollectpads.h:
8325         * gst/gstutils.c:
8326           fix doc typos, update docs
8327
8328 2005-11-22  Wim Taymans  <wim@fluendo.com>
8329
8330         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
8331         (gst_base_sink_wait), (gst_base_sink_do_sync),
8332         (gst_base_sink_handle_event):
8333         * gst/base/gstbasesink.h:
8334         No need to store the clock, the parent element class already
8335         has it.
8336
8337         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
8338         Updates for clock_set returning a gboolean
8339
8340         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
8341         (gst_clock_id_wait_async), (gst_clock_class_init),
8342         (gst_clock_init), (gst_clock_finalize),
8343         (gst_clock_get_internal_time), (gst_clock_get_time),
8344         (gst_clock_slave_callback), (gst_clock_set_master),
8345         (gst_clock_get_master), (do_linear_regression),
8346         (gst_clock_add_observation), (gst_clock_set_property),
8347         (gst_clock_get_property):
8348         * gst/gstclock.h:
8349         Implement master/slave. When setting a clock as a slave, a
8350         periodic timeout is scheduled to sample master and slave times.
8351         Then the slave clock is recalibrated to match offset and rate
8352         of the master clock.
8353         Update logging a bit.
8354         Add flag so that a clock can state that is cannot be slaved to
8355         another clock.
8356
8357         * gst/gstelement.c: (gst_element_set_clock):
8358         * gst/gstelement.h:
8359         The set clock returns a gboolean for when an element cannot
8360         deal with the selected clock in the pipeline. 
8361
8362         * gst/gstpipeline.c: (gst_pipeline_change_state),
8363         (gst_pipeline_set_clock):
8364         * gst/gstpipeline.h:
8365         Handle the case where the selected clock cannot be set on
8366         the pipeline.
8367
8368         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
8369         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8370         (gst_net_client_clock_set_property),
8371         (gst_net_client_clock_get_property),
8372         (gst_net_client_clock_observe_times):
8373         * gst/net/gstnetclientclock.h:
8374         Use regression code in GstClock parent, remove duplicated
8375         functionality.
8376
8377 2005-11-22  Michael Smith <msmith@fluendo.com>
8378
8379         * gst/gstutils.c: (gst_util_clock_time_scale):
8380         * gst/gstutils.h:
8381         * docs/gst/gstreamer-sections.txt:
8382           Rename method to have extra underscore.
8383
8384 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8385
8386         * gst/elements/Makefile.am:
8387         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
8388         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8389         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8390         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
8391         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
8392         * gst/elements/gstfakesrc.h:
8393         * gst/gstqueue.c: (queue_leaky_get_type):
8394           correctly fix GEnumValues so that nick is the short lowercase
8395           dashed tag
8396         * tools/gst-inspect.c: (print_element_properties_info):
8397           also show the nick, since it's useful to use from parse_launch
8398           syntax
8399           Fixes #322139
8400
8401 2005-11-22  Michael Smith <msmith@fluendo.com>
8402
8403         * gst/gstutils.c: (gst_util_clocktime_scale):
8404         * gst/gstutils.h:
8405         * docs/gst/gstreamer-sections.txt:
8406           Add util method for scaling a clocktime by a fraction. Useful 
8407           implementation is left as an exercise for the reader.
8408
8409 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8410
8411         * gst/gstvalue.c: (gst_value_collect_fraction_range):
8412         If needed, allocate storage in the destination value during
8413         collection.
8414
8415 2005-11-22  Edward Hervey  <edward@fluendo.com>
8416
8417         * docs/gst/gstreamer-sections.txt:
8418         * gst/Makefile.am:
8419         * gst/gst.h:
8420         * gst/gsturitype.c:
8421         * gst/gsturitype.h:
8422         * gst/gstutils.c: (gst_util_set_object_arg):
8423         * tools/gst-compprep.c: (main):
8424         * tools/gst-inspect.c: (print_element_properties_info):
8425         Removed GstURI, closes bug #321061
8426
8427 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8428
8429         * check/gst/gststructure.c: (GST_START_TEST):
8430         * gst/gststructure.c: (gst_structure_parse_value):
8431           Oops, broke automatic string type parsing.
8432           Add a test to catch it in future.
8433
8434 2005-11-22  Andy Wingo  <wingo@pobox.com>
8435
8436         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
8437         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
8438         Actually rename the function implementations. Grr.
8439
8440 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8441
8442         * check/gst/capslist.h:
8443           Comment test cases
8444         * check/gst/gststructure.c: (GST_START_TEST),
8445         (gst_structure_suite):
8446           Test automatic value type detection in gst_structure_from_string.
8447         * gst/gststructure.c: (gst_structure_parse_value):
8448           Add fraction as a type we try and guess automatically in
8449           caps/structure strings.
8450
8451 2005-11-22  Andy Wingo  <wingo@pobox.com>
8452
8453         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
8454
8455         * gst/gsttagsetter.h:
8456         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
8457         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
8458         (gst_tag_setter_add_tag_valist)
8459         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
8460         _add_values, _add_valist, and _add_valist_values. Since this is an
8461         interface the function suffixes should be more explicit so
8462         language binding don't end up with element.add_valist ->
8463         gst_tag_setter_add_valist, for example. Fixes #322069.
8464
8465 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8466
8467         * check/gst/gstcaps.c: (GST_START_TEST):
8468           Extend caps string tests to check that a caps to string
8469           conversion is reversible and produces the same caps.
8470
8471         * gst/gststructure.c: (gst_structure_value_get_generic_type):
8472           Output "fraction" as the generic type fraction range, so caps
8473           serialisation and deserialisation works.
8474         * check/gst/capslist.h:
8475         * gst/gstvalue.c: (gst_value_deserialize_fraction):
8476           Support 'MIN' and 'MAX' for deserialising fractions.
8477
8478 2005-11-22  Andy Wingo  <wingo@pobox.com>
8479
8480         * gst/gstevent.h (gst_event_new_new_segment)
8481         (gst_event_parse_new_segment, gst_event_new_buffer_size)
8482         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
8483         Renamed from *_newsegment, *_buffersize, *_notarget.
8484
8485         * scripts/update-funcnames: New script, performs the changes
8486         listed above.
8487
8488 2005-11-22  Wim Taymans  <wim@fluendo.com>
8489
8490         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8491         Make sure the GstFlowReturn is returned.
8492
8493         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
8494         (gst_bus_add_signal_watch):
8495         * gst/gstbus.h:
8496         add gst_bus_add_signal_watch_full.
8497
8498         * gst/gstplugin.c: (gst_plugin_load_file):
8499         Small style cleanup.
8500
8501 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8502
8503         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
8504           Block the fakesrc srcpad when we send an event, to avoid
8505           contention on the stream_lock causing random test failures.
8506
8507 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8508
8509         * check/gst/gstvalue.c: (GST_START_TEST):
8510         * gst/gstvalue.c: (gst_value_fraction_subtract):
8511           Fix subtraction.
8512
8513 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
8514
8515         * gst/gst.h:
8516           include "gstchildproxy.h"
8517         * gst/gstchildproxy.h:
8518         * libs/gst/controller/gstcontroller.h:
8519           use G_GNUC_NULL_TERMINATED
8520
8521 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8522
8523         * check/gst/capslist.h:
8524         * check/gst/gstcaps.c: (GST_START_TEST):
8525         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8526         * gst/gststructure.c: (gst_structure_parse_range),
8527         (gst_structure_fixate_field_nearest_fraction):
8528         * gst/gststructure.h:
8529         * gst/gstvalue.c: (gst_value_init_fraction_range),
8530         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
8531         (gst_value_collect_fraction_range),
8532         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
8533         (gst_value_set_fraction_range_full),
8534         (gst_value_get_fraction_range_min),
8535         (gst_value_get_fraction_range_max),
8536         (gst_value_serialize_fraction_range),
8537         (gst_value_transform_fraction_range_string),
8538         (gst_value_compare_fraction_range),
8539         (gst_value_deserialize_fraction_range),
8540         (gst_value_intersect_fraction_fraction_range),
8541         (gst_value_intersect_fraction_range_fraction_range),
8542         (gst_value_subtract_fraction_fraction_range),
8543         (gst_value_subtract_fraction_range_fraction),
8544         (gst_value_subtract_fraction_range_fraction_range),
8545         (gst_value_collect_fraction), (gst_value_fraction_multiply),
8546         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
8547         (gst_value_transform_string_fraction), (_gst_value_initialize):
8548         * gst/gstvalue.h:
8549           Implement fraction ranges and extend GstFraction to support
8550           arithmetic subtraction, as well as deserialization from integer
8551           strings such as "100"
8552           Add a testsuite as for int and double range set operations
8553
8554 2005-11-21  Andy Wingo  <wingo@pobox.com>
8555
8556         * gst/gsttaglist.h: 
8557         * gst/gstcaps.h: 
8558         * gst/gststructure.h: Add glib-compat.h.
8559
8560 2005-11-21  Wim Taymans  <wim@fluendo.com>
8561
8562         * gst/gstbin.c: (gst_bin_change_state_func):
8563         Fix for #321595
8564
8565 2005-11-21  Wim Taymans  <wim@fluendo.com>
8566
8567         * gst/gstsegment.h:
8568         And add a nice define too.
8569
8570 2005-11-21  Wim Taymans  <wim@fluendo.com>
8571
8572         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
8573         (gst_segment_new), (gst_segment_free), (gst_segment_init),
8574         (gst_segment_set_duration), (gst_segment_set_last_stop),
8575         (gst_segment_set_seek), (gst_segment_set_newsegment),
8576         (gst_segment_to_stream_time), (gst_segment_to_running_time),
8577         (gst_segment_clip):
8578         * gst/gstsegment.h:
8579         Make binding friendly.
8580
8581 2005-11-21  Andy Wingo  <wingo@pobox.com>
8582
8583         * gst/gsttagsetter.h: 
8584         * gst/gsttaglist.h: 
8585         * gst/gststructure.h: 
8586         * gst/gstcaps.h: 
8587         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
8588         #319940.
8589
8590         * gst/gsterror.c (_gst_core_errors_init):
8591         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
8592         category.
8593
8594         * gst/Makefile.am (gst_headers): Add glib-compat.h.
8595         (noinst_HEADERS): noinst the -private.
8596
8597 2005-11-21  Michael Smith <msmith@fluendo.com>
8598
8599         * gst/gstplugin.h:
8600         * gst/gstregistry.h:
8601           Remove unimplemented declarations for which we can see no sensible
8602           use.
8603
8604 2005-11-21  Andy Wingo  <wingo@pobox.com>
8605
8606         * gst/gst.h: Include glib-compat.h.
8607
8608         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
8609
8610         * gst/glib-compat.c: Include the public and the private header.
8611
8612         * gst/glib-compat-private.h: Copied here from glib-compat.h.
8613
8614         * gst/gstvalue.c: 
8615         * gst/gstpad.c: 
8616         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
8617
8618         * check/gst/gstevent.c (create_custom_events): Check that
8619         FLUSH_STOP is serialized.
8620
8621         * check/elements/identity.c (event_func): 
8622         * check/elements/fakesrc.c (event_func): No stream lock, the core
8623         takes it.
8624
8625         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
8626         stream lock taking, yay.
8627
8628         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
8629         ensure that core takes the stream lock.
8630
8631         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
8632         lock name change.
8633
8634         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
8635         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
8636         it already. For the flush start we do take it though so we get the
8637         right preroll state change messages.
8638
8639         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
8640         the stream lock here, the core does it for us.
8641
8642         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
8643         GST_STREAM_GET_LOCK.
8644         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
8645         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
8646         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
8647         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
8648         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
8649         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
8650
8651         * gst/gstpad.c: Update for stream lock name change.
8652
8653         * gst/base/gstbasesink.c: Update for preroll lock name change.
8654
8655 2005-11-21  Wim Taymans  <wim@fluendo.com>
8656
8657         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
8658         (gst_clock_get_master):
8659         * gst/gstclock.h:
8660         * gst/gstsystemclock.c: (gst_system_clock_init):
8661         Convert Clock flags to object flags.
8662         Added methods to manage master/slave clocks.
8663
8664 2005-11-21  Wim Taymans  <wim@fluendo.com>
8665
8666         * check/gst/gstsegment.c: (GST_START_TEST):
8667         * docs/design/part-TODO.txt:
8668         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8669         (gst_base_sink_event), (gst_base_sink_do_sync),
8670         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8671         (gst_base_sink_query), (gst_base_sink_change_state):
8672         * gst/base/gstbasesink.h:
8673         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8674         (gst_base_src_default_newsegment),
8675         (gst_base_src_configure_segment), (gst_base_src_do_seek),
8676         (gst_base_src_get_range), (gst_base_src_loop),
8677         (gst_base_src_change_state):
8678         * gst/base/gstbasesrc.h:
8679         * gst/base/gstbasetransform.c:
8680         (gst_base_transform_prepare_output_buf),
8681         (gst_base_transform_event), (gst_base_transform_change_state):
8682         * gst/base/gstbasetransform.h:
8683         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8684         (gst_collect_pads_event):
8685         * gst/base/gstcollectpads.h:
8686         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
8687         (gst_fake_src_create):
8688         * gst/elements/gstfakesrc.h:
8689         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8690         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8691         (gst_segment_set_last_stop), (gst_segment_set_seek),
8692         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
8693         (gst_segment_to_running_time), (gst_segment_clip):
8694         * gst/gstsegment.h:
8695         More segment updates, replace code in plugins with segment
8696         helper functions.
8697
8698 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8699
8700         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
8701         Don't ignore sscanf results
8702
8703 2005-11-21  Andy Wingo  <wingo@pobox.com>
8704
8705         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
8706
8707         * *.h:
8708         * *.c: Ran scripts/update-macros. Oh yes.
8709
8710         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
8711         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
8712         GST_GET_LOCK, etc.
8713
8714         * scripts/update-macros: New script. Run it on your files to
8715         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
8716         well.
8717
8718 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
8719
8720         * docs/gst/Makefile.am:
8721         * docs/gst/gstreamer-docs.sgml:
8722         * docs/gst/gstreamer-sections.txt:
8723         * docs/gst/gstreamer.types:
8724         * gst/gstinfo.h:
8725           more docs fixes, add new api to the docs
8726
8727 2005-11-21  Andy Wingo  <wingo@pobox.com>
8728
8729         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
8730         state_broadcast call.
8731
8732         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
8733
8734 2005-11-21  Julien MOUTTE  <julien@moutte.net>
8735
8736         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
8737         function calls for arrays.
8738
8739 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
8740
8741         * docs/random/ensonic/media-device-daemon.txt:
8742           wild idea, can this be done?
8743         * docs/gst/gstreamer-sections.txt:
8744         * gst/gsterror.h:
8745         * gst/gstfilter.c:
8746         * gst/gstfilter.h:
8747         * gst/gstplugin.h:
8748         * gst/gstpluginfeature.c:
8749         * gst/gsttrace.c:
8750         * gst/gstvalue.c:
8751         * gst/gstvalue.h:
8752           doc fixes and additions
8753
8754 2005-11-21  Andy Wingo  <wingo@pobox.com>
8755
8756         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
8757         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
8758         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
8759         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
8760         private to the basesrc implementation.
8761
8762         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
8763         behalf of event function if necessary. It should no longer be
8764         necessary to take the stream lock in pad's event functions. Fixes
8765         #320299.
8766
8767 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8768         * docs/gst/gstreamer-sections.txt:
8769         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
8770         (gst_structure_fixate_field_nearest_double),
8771         (gst_structure_fixate_field_boolean):
8772         * gst/gststructure.h:
8773         * win32/common/libgstreamer.def:
8774         * win32/gstreamer.def:
8775
8776         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
8777         (#322027)
8778
8779 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8780
8781         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
8782         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
8783         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
8784         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
8785         (gst_fdsrc_uri_handler_init):
8786         * gst/elements/gstfdsrc.h:
8787           Port fd:// URI handler from 0.8 to fdsrc
8788
8789 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8790
8791         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
8792         (gst_value_serialize_fourcc):
8793         * gst/gstvalue.h:
8794           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
8795           consistent with our other format defines (#320324).
8796
8797 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8798
8799         * gst/gstvalue.c: (gst_value_is_fixed):
8800           Revert previous commit. Value lists are by definition
8801           not fixed, as they are a list of possible values.
8802
8803 2005-11-21  Andy Wingo  <wingo@pobox.com>
8804
8805         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
8806         during the stable series if we need it. Fixes #319178.
8807
8808         * gst/gstevent.c (gst_event_new_filler): Removed.
8809
8810         * check/gst/gstevent.c: Update comment about filler events.
8811
8812 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8813
8814         * gst/gstvalue.c: (gst_value_is_fixed):
8815           Should handle both value arrays and value lists.
8816
8817 2005-11-21  Andy Wingo  <wingo@pobox.com>
8818
8819         patch by: Alessandro Dessina <alessandro nnva org>
8820
8821         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
8822         functions to access arrays. Fixes #321962.
8823
8824 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8825
8826         * docs/gst/gstreamer.types:
8827           gst_collectpads_get_type => gst_collect_pads_get_type.
8828           
8829         * gst/base/gstbasetransform.c:
8830           Remove unused SIGNAL_HANDOFF enum.
8831
8832 2005-11-21  Andy Wingo  <wingo@pobox.com>
8833
8834         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
8835         the event type (upstream, downstream, serialized). Renamed
8836         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
8837         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
8838         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
8839
8840         * gst/gstevent.c: Update for new CUSTOM event names.
8841
8842         * check/gst/gstevent.c: Update check for new CUSTOM event names.
8843
8844         * gst/gstevent.h:
8845         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
8846         bug #319392.
8847
8848 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8849
8850         * docs/gst/gstreamer-sections.txt:
8851         * win32/common/libgstbase.def:
8852         * win32/libgstbase.def:
8853         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8854         (gst_collect_pads_class_init), (gst_collect_pads_init),
8855         (gst_collect_pads_finalize), (gst_collect_pads_new),
8856         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
8857         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
8858         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
8859         (gst_collect_pads_start), (gst_collect_pads_stop),
8860         (gst_collect_pads_peek), (gst_collect_pads_pop),
8861         (gst_collect_pads_available), (gst_collect_pads_read),
8862         (gst_collect_pads_flush), (gst_collect_pads_event),
8863         (gst_collect_pads_chain):
8864         * gst/base/gstcollectpads.h:
8865           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
8866           unimplemented functions as unimplemented. Add padding to
8867           GstCollectData. (#320766, #320423)
8868
8869 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8870
8871         * gst/gstmessage.c:
8872           Improve docs for DURATION message (usage of duration parameter)
8873           (#320113)
8874
8875 2005-11-20  Wim Taymans  <wim@fluendo.com>
8876
8877         * check/Makefile.am:
8878         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
8879         (main):
8880         * gst/Makefile.am:
8881         * gst/gst.h:
8882         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8883         (gst_segment_set_seek), (gst_segment_set_newsegment),
8884         (gst_segment_to_stream_time), (gst_segment_to_running_time),
8885         (gst_segment_clip):
8886         * gst/gstsegment.h:
8887         Added segment helper structure and methods. Not fully implemented
8888         yet.
8889         Added segment check.
8890
8891 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
8892
8893         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8894           Add a deserialisation test for fractions
8895         * examples/metadata/read-metadata.c: (message_loop),
8896         (make_pipeline), (main):
8897           Fix up metadata reading sample.
8898         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8899           Debug format fix
8900         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8901           Don't try and fixate empty caps
8902         * gst/gst_private.h:
8903           Wrap in G_BEGIN_DECLS/G_END_DECLS
8904         * gst/gstvalue.c: (gst_value_collect_fraction),
8905         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
8906         (gst_value_transform_string_fraction),
8907         (gst_value_compare_fraction):
8908           Add some extra guards to ensure that we don't end up 
8909           with an invalid denominator of 0 in a gstfraction and
8910           that fractions always get reduced.
8911
8912 2005-11-20  Wim Taymans  <wim@fluendo.com>
8913
8914         * docs/gst/gstreamer-sections.txt:
8915         * gst/gstbuffer.h:
8916         * gst/gstelement.c:
8917         * gst/gstformat.c:
8918         * gst/gstformat.h:
8919         * gst/gstindex.h:
8920         * gst/gstquery.c:
8921         * gst/gstquery.h:
8922         * gst/gstvalue.c:
8923         Doc fixes.
8924
8925 2005-11-20  Wim Taymans  <wim@fluendo.com>
8926
8927         * docs/design/part-TODO.txt:
8928         * gst/gstcaps.h:
8929         Make a proper enum of the flag.
8930
8931 2005-11-19  Wim Taymans  <wim@fluendo.com>
8932
8933         * docs/design/part-TODO.txt:
8934         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
8935         (gst_format_to_quark), (gst_format_register):
8936         * gst/gstformat.h:
8937         * gst/gstquery.c: (_gst_query_initialize),
8938         (gst_query_type_get_name), (gst_query_type_to_quark),
8939         (gst_query_type_register):
8940         * gst/gstquery.h:
8941         Add type to quark and type to string conversions.
8942
8943 2005-11-19  Andy Wingo  <wingo@pobox.com>
8944
8945         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
8946         #320097.
8947
8948 2005-11-19  Wim Taymans  <wim@fluendo.com>
8949
8950         * docs/design/part-TODO.txt:
8951         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
8952         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
8953         (gst_bin_handle_message_func):
8954         * gst/gstbin.h:
8955         Make message handling overridable.
8956
8957 2005-11-19  Andy Wingo  <wingo@pobox.com>
8958
8959         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
8960
8961         * gst/gstclock.h:
8962         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
8963         be a GstClockTime.
8964         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
8965         is a GstClockTime. Fixes #321710.
8966
8967         * gst/gstclock.h (GstClock): Remove offset property. Add
8968         internal_calibration and external_calibration. Fix padding. Pad
8969         also by GstClockTime so we don't run into problems.
8970
8971         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
8972         (gst_clock_get_rate_offset): Remove.
8973         (gst_clock_set_time_adjust): Remove. Fixes #321712.
8974
8975         * gst/gstutils.h:
8976         * gst/gstutils.c (g_static_rec_cond_wait)
8977         (g_static_rec_cond_timed_wait): Removed, no longer needed.
8978
8979         * gst/gstbin.c: Remove terrible continue_state prototype.
8980
8981         * gst/gstelement.h (gst_element_continue_state): Make public.
8982
8983         * gst/gstelement.h:
8984         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
8985         by continue_state. Fixes #319389.
8986
8987         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
8988         Really fixes #168438. However I don't see anywhere where the
8989         filter function is called... stupid GStreamer...
8990         
8991         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
8992         don't have a dispose function, so it won't get called when the
8993         object is unreffed, but oh well!
8994
8995         * gst/gstindex.c (gst_index_set_filter_full): New API function,
8996         allows a destroy function to be set so user_data can be freed.
8997         Fixes #168438.
8998         (gst_index_set_filter): Call gst_index_set_filter_full.
8999
9000         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
9001
9002         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
9003         string should produce an error, given the lack of a way to
9004         represent NULL strings. Fixes #165650.
9005         
9006         * gst/gstvalue.h: 
9007         * gst/gstvalue.c (gst_value_array_append_value) 
9008         (gst_value_array_prepend_value, gst_value_array_get_size) 
9009         (gst_value_array_get_value): New API, copied from
9010         gst_value_list_*, only operates on arrays.
9011         (gst_value_list_append_value, gst_value_list_prepend_value) 
9012         (gst_value_list_concat, gst_value_list_get_size) 
9013         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
9014
9015         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
9016         init_list, because it works on both.
9017         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
9018         (gst_value_copy_list_or_array): Renamed from copy_list.
9019         (gst_value_free_list_or_array): Renamed from free_list.
9020         (gst_value_collect_list_or_array): Renamed from collect_list.
9021         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
9022         (gst_value_list_or_array_peek_pointer): Renamed from
9023         list_peek_pointer.
9024         (_gst_value_array_value_table, _gst_value_list_value_table):
9025         Update value table functions.
9026         (gst_value_compare_list_or_array): Renamed from compare_list.
9027
9028         * gsttaglist.h: Whoops, foreach function returns void. Also fix
9029         some constness.
9030
9031         * gst/gsttaglist.c:
9032         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
9033         GstTagList*. Fixes #143472.
9034
9035         * gst/gststructure.h: Clarify what the foreach/map functions can
9036         or can't do to their arguments.
9037
9038 2005-11-18  Wim Taymans  <wim@fluendo.com>
9039
9040         * gst/gstclock.c: (gst_clock_set_calibration),
9041         (gst_clock_get_calibration):
9042         Doc and API fixes.
9043         Calibration can be set with internal time equal to current
9044         internal time too.
9045
9046 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
9047
9048         * gst/gsterror.c:
9049         * gst/gsterror.h:
9050           document
9051
9052 2005-11-18  Andy Wingo  <wingo@pobox.com>
9053
9054         * configure.ac: 
9055         * pkgconfig/gstreamer-net.pc.in:
9056         * pkgconfig/gstreamer-net-uninstalled.pc.in:
9057         * pkgconfig/Makefile.am: Add net pkgconfig files.
9058
9059 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
9060
9061         * gst/gstcaps.c:
9062         * gst/gstghostpad.c:
9063         * gst/gsttrace.c:
9064         * gst/gstvalue.c:
9065         * gst/gstvalue.h:
9066           docs fixes
9067
9068 2005-11-18  Andy Wingo  <wingo@pobox.com>
9069
9070         * gst/net/gstnetclientclock.c: Turn off debugging.
9071
9072         * check/net/gstnetclientclock.c (test_functioning): Assert that the
9073         times connverge somewhat. Can't make a real test.
9074
9075         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
9076         integer arithmetic. Return the minimum of the domain, which can be
9077         set as "internal" for gst_clock_set_calibration.
9078         (gst_net_client_clock_observe_times): Call _set_calibration.
9079         (gst_net_client_clock_new): Call _set_calibration instead of
9080         rate_offset.
9081
9082         * check/net/gstnetclientclock.c (test_functioning): Use the right
9083         adjustment api.
9084
9085         * gst/gstclock.h:
9086         * gst/gstclock.c (gst_clock_get_calibration) 
9087         (gst_clock_set_calibration): New functions, obsolete the ones I
9088         added yesterday. Doh. Precision issues mean we have to extrapolate
9089         from a point in the more recent past than 1970.
9090         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
9091         obsolete.
9092         (gst_clock_adjust_unlocked): Use the right calibration data.
9093
9094 2005-11-18  Edward Hervey  <edward@fluendo.com>
9095
9096         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
9097         Also reset the ->current_* values in READY->PAUSED
9098
9099 2005-11-18  Andy Wingo  <wingo@pobox.com>
9100
9101         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
9102         Whoops, check the right fd. Also add some debugging.
9103         (gst_net_client_clock_observe_times): Adjust for int64 offset.
9104         (do_linear_regression): Add a crapload of debugging. Subtract off
9105         the minimum values from the input series to discard unneeded bits.
9106         Use only int arithmetic. There is still double arithmetic when
9107         calculating the intercept that needs fixing. Return boolean to
9108         indicate success; FALSE would mean the domain or range is too
9109         great. Still needs fixes.
9110
9111 2005-11-18  Wim Taymans  <wim@fluendo.com>
9112
9113         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
9114         For the current position in stream time, we need to subtract
9115         accumulated time.
9116         
9117         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
9118         Release lock before calling the callback function of async
9119         entries.
9120
9121 2005-11-18  Andy Wingo  <wingo@pobox.com>
9122
9123         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
9124         Port goes all the way to MAXUINT16.
9125
9126         * gst/net/gstnettimeprovider.c: Make the port range the same as
9127         for the kernel: 0 assigns, otherwise ports are less than
9128         MAXUINT16.
9129
9130         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
9131         port change.
9132
9133         * check/net/gstnetclientclock.c (test_functioning): Add the start
9134         of another test. 
9135
9136 2005-11-18  Wim Taymans  <wim@fluendo.com>
9137
9138         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9139         (gst_bin_remove_func), (bin_bus_handler):
9140         * gst/gstbin.h:
9141         Removing a clock provider from a bin, triggers a clock lost message
9142         so that a new clock will be selected.
9143         Adding a clock to a bin triggers a clock provider message.
9144         Make sure we reselect a clock when we received a clock lost message.
9145         Keep a reference to the element that provided the clock.
9146
9147 2005-11-18  Andy Wingo  <wingo@pobox.com>
9148
9149         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
9150         the clock initially so it produces values around the base time.
9151         (gst_net_client_clock_class_init): Typo fix.
9152         (gst_net_client_clock_thread): Add note on when the socket gets
9153         closed.
9154
9155 2005-11-17  Wim Taymans  <wim@fluendo.com>
9156
9157         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
9158         Free remote and local time arrays.
9159
9160 2005-11-17  Wim Taymans  <wim@fluendo.com>
9161
9162         * gst/net/gstnetclientclock.c: (do_linear_regression),
9163         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
9164         Fix compilation, uninitialized vars and a forgotten continue.
9165
9166 2005-11-17  Andy Wingo  <wingo@pobox.com>
9167
9168         * check/Makefile.am (check_PROGRAMS): 
9169         * check/net/gstnetclientclock.c: Add a most minimal test for the
9170         net client clock. More to come later.
9171
9172         * gst/net/gstnet.h: 
9173         * gst/net/Makefile.am: Add netclientclock.
9174
9175         * gst/net/gstnetclientclock.h:
9176         * gst/net/gstnetclientclock.c: New files, implement an untested
9177         GstClock that takes its time from a network time provider.
9178         Implements the algorithm in network-clock.scm.
9179
9180         * tests/network-clock.scm (*window-size*): Rename from
9181         *queue-length*.
9182         * tests/network-clock.scm (network-time): 
9183         * tests/network-clock-utils.scm (q-push): Update callers.
9184
9185 2005-11-17  Wim Taymans  <wim@fluendo.com>
9186
9187         * gst/gstbin.c: (gst_bin_provide_clock_func),
9188         (gst_bin_sort_iterator_new):
9189         And unref the child too..
9190
9191 2005-11-17  Wim Taymans  <wim@fluendo.com>
9192
9193         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9194         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
9195         Refactor the sort iterator so it can be used while holding the
9196         LOCK too.
9197         Make clock selection select a clock closest to the source.
9198
9199 2005-11-17  Michael Smith <msmith@fluendo.com>
9200
9201         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
9202         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
9203         * gst/gstclock.h:
9204           Anonymous structs are a gcc (and some other compilers) extension, so
9205           don't use them. Since this is only for ABI-compatibility, and our
9206           API/ABI freeze is over in a few days, this whole thing will only
9207           last a few days, so don't bother trying to think up a meaningful
9208           name for the struct.
9209
9210 2005-11-17  Andy Wingo  <wingo@pobox.com>
9211
9212         * gst/gstclock.h (GstClock): Add rate and offset properties,
9213         preserving ABI stability. Add rate/offset accessors. Will file bug
9214         for the freeze break.
9215
9216         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
9217         and offset, trying to keep precision and avoiding
9218         underflow/overflow.
9219         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
9220         functions. Make gst_clock_set_time_adjust obsolete.
9221         (gst_clock_set_time_adjust): Note that this function is obsolete.
9222         Will file bug soon.
9223
9224         * gst/base/gstbasetransform.h: Make the ABI-stability hack
9225         greppable by using GST_PADDING-1+1.
9226
9227 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
9228
9229         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9230
9231         * gst/gstmessage.c: (gst_message_parse_clock_lost):
9232           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
9233
9234         * gst/gstpadtemplate.h:
9235         * gst/gstpluginfeature.h:
9236           Don't use c++ style comments in headers (#321638).
9237
9238 2005-11-16  Andy Wingo  <wingo@pobox.com>
9239
9240         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
9241         buffer.
9242
9243         * check/net/gstnettimeprovider.c: Check to see that the time
9244         provider actually provides times. Works, yo!
9245
9246 2005-11-16  Wim Taymans  <wim@fluendo.com>
9247
9248         * check/Makefile.am:
9249         Enable more tests.
9250
9251         * check/elements/fakesrc.c: (GST_START_TEST):
9252         Set element to NULL before disposing it.
9253
9254 2005-11-16  Andy Wingo  <wingo@pobox.com>
9255
9256         * gst/net/Makefile.am:
9257         * gst/net/gstnet.h:
9258         * gst/net/gstnettimeprovider.c: 
9259         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
9260         provider, include it from gstnet.h, and add it to the build.
9261
9262         * gst/net/gstnettimepacket.h: 
9263         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
9264         sending and receiving.
9265
9266 2005-11-16  Wim Taymans  <wim@fluendo.com>
9267
9268         * check/Makefile.am:
9269         Enable valgrind check.
9270
9271         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
9272         (gst_fake_src_alloc_buffer):
9273         Fix memleak.
9274
9275 2005-11-16  Wim Taymans  <wim@fluendo.com>
9276
9277         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
9278         Call parent finalize too.
9279
9280 2005-11-16  Wim Taymans  <wim@fluendo.com>
9281
9282         * check/Makefile.am:
9283         Enable valgrind check that should work fine now.
9284
9285         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9286         * gst/gstqueue.c: (gst_queue_init):
9287         Fix memleaks in pad allocation.
9288
9289 2005-11-16  Andy Wingo  <wingo@pobox.com>
9290
9291         * gst/net/Makefile.am:
9292         * gst/net/gstnet.h: New part of core to hold network elements and
9293         objects. Put in core because it exposes API that applications want
9294         to use. The library is named libgstnet-tempname right now because
9295         of the existing libgstnet in gst-plugins-base. Solution is
9296         probably to rename the one in plugins-base; will file a bug for
9297         the freeze break.
9298
9299         * gst/net/gstnettimeprovider.c: 
9300         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
9301         get_time call over the network.
9302
9303         * configure.ac: 
9304         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
9305
9306         * check/Makefile.am:
9307         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
9308         get additions shortly.
9309
9310 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9311
9312         * gst/gstpad.c: (gst_pad_new_from_static_template):
9313         * gst/gstpad.h:
9314           add gst_pad_new_from_static_template functions
9315         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
9316         (gst_check_setup_sink_pad):
9317         * gst/elements/gsttee.c: (gst_tee_init):
9318           and use them
9319
9320 2005-11-16  Wim Taymans  <wim@fluendo.com>
9321
9322         * gst/gstpad.c: (gst_pad_pause_task):
9323         Removed warning, it's not really an error either.
9324
9325 2005-11-16  Wim Taymans  <wim@fluendo.com>
9326
9327         * gst/base/gstbasetransform.c:
9328         (gst_base_transform_prepare_output_buf),
9329         (gst_base_transform_event):
9330         Check if the caps are NULL, this can happen if the element
9331         is shutting down and the pad caps are set to NULL.
9332
9333 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9334
9335         * gst/elements/gsttee.c: (gst_tee_init):
9336           fix pad template leak in tee
9337
9338 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9339
9340         * gst/glib-compat.c: (g_value_dup_gst_object):
9341         * gst/glib-compat.h:
9342         * gst/gstpad.c: (gst_pad_set_property):
9343           use gst_object_ref when setting the pad template; this will
9344           trigger the pad template leaks on GLib 2.6 and the slaves
9345
9346 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9347
9348         * gst/glib-compat.c: (gst_flags_get_first_value):
9349         * gst/glib-compat.h:
9350         * gst/gstregistryxml.c:
9351           remove functions copied from GLib 2.6
9352
9353 2005-11-16  Michael Smith <msmith@fluendo.com>
9354
9355         * gst/Makefile.am:
9356           Don't link against VALGRIND_LIBS. That was always the wrong thing to
9357           do, but only breaks with newer valgrind versions. We're not a
9358           valgrind tool, we have no link-time dependencies on libcoregrind.
9359
9360 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9361
9362         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9363           some debug changes
9364         * gst/gstmessage.h:
9365           typo fixes
9366
9367 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9368
9369         * gst/base/gstbasesrc.c: (gst_base_src_init):
9370         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9371         * gst/gstqueue.c: (gst_queue_init):
9372         * gst/gstregistryxml.c: (load_feature):
9373           Revert all these unrefs, they don't even pass make check !
9374
9375 2005-11-15  Johan Dahlin  <johan@gnome.org>
9376
9377         * gst/base/gstbasesrc.c: (gst_base_src_init):
9378         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9379         * gst/gstqueue.c: (gst_queue_init): 
9380         Free pad templates, fixes a couple of leaks.
9381
9382 2005-11-15  Daniel Fischer  <dan at f3c dot com>
9383
9384         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9385
9386         * gst/gstpad.c: (gst_pad_get_property):
9387           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
9388           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
9389           (#321452)
9390
9391 2005-11-15  Wim Taymans  <wim@fluendo.com>
9392
9393         * gst/gstevent.c:
9394         Small doc update.
9395
9396 2005-11-15  Andy Wingo  <wingo@pobox.com>
9397
9398         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
9399
9400         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
9401         using GST_CLOCK_TIME_NONE to disable base time management.
9402         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
9403         time if it was NONE before.
9404         (gst_pipeline_change_state): Only munge the base time if
9405         stream_time != GST_CLOCK_TIME_NONE.
9406
9407         * check/gst/gstpipeline.c (test_base_time): Punt around the
9408         problem of the probe not being called, because that's not the
9409         issue I'm looking at. Add a check that setting stream_time to NONE
9410         disables base time management.
9411         
9412 2005-11-15  Wim Taymans  <wim@fluendo.com>
9413
9414         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9415         segment_stop == -1 at startup.
9416
9417         * gst/base/gstbasetransform.c: (gst_base_transform_event),
9418         (gst_base_transform_change_state):
9419         Init segment values at start.
9420
9421 2005-11-15  Wim Taymans  <wim@fluendo.com>
9422
9423         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9424         0 segment values are 0 in any format.
9425
9426         * gst/base/gstbasetransform.c: (gst_base_transform_event):
9427         * gst/base/gstbasetransform.h:
9428         Parse newsegment correctly in basetransform
9429
9430         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
9431         Sync to clock using updated segment values.
9432
9433 2005-11-15  Andy Wingo  <wingo@pobox.com>
9434
9435         * check/gst/gstpipeline.c (test_base_time): Add check that the
9436         base time and stream time are reset correctly.
9437
9438 2005-11-15  Wim Taymans  <wim@fluendo.com>
9439
9440         * docs/design/part-TODO.txt:
9441         Some more TODO items.
9442
9443 2005-11-15  Andy Wingo  <wingo@pobox.com>
9444
9445         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
9446         error if the user selected "no clock" as the clocking method.
9447
9448         * check/gst/gstpipeline.c (test_base_time): New test for buffer
9449         timestamps with live capture.
9450
9451         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
9452         is 0 but we are a live source, timestamp the buffers using the
9453         element's clock.
9454
9455 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
9456
9457         * docs/gst/gstreamer-sections.txt:
9458         * gst/gsterror.c:
9459         * gst/gstghostpad.c:
9460         * gst/gstobject.h:
9461         * gst/gstxml.c:
9462           more section docs
9463
9464 2005-11-14  Wim Taymans  <wim@fluendo.com>
9465
9466         * common/gst.supp:
9467           add suppressions from Wim's Debian machine
9468
9469 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9470
9471         * common/gst.supp:
9472           add suppressions from Andy's AMD64 Ubuntu machine
9473
9474 2005-11-14  Andy Wingo  <wingo@pobox.com>
9475
9476         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
9477         STATE_LOCK not necessary. Fixes #311489.
9478
9479         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
9480         #305291.
9481
9482         * gst/gstindex.c (gst_index_add_object): Note in the docs that
9483         this function is not implemented.
9484
9485 2005-11-14  Julien MOUTTE  <julien@moutte.net>
9486
9487         * gst/base/gstbasetransform.c:
9488         (gst_base_transform_prepare_output_buf):
9489         Ref the source pad caps while we need them.
9490         Fixes (#321386)
9491
9492 2005-11-11  Wim Taymans  <wim@fluendo.com>
9493
9494         * docs/gst/gstreamer-sections.txt:
9495         Added some docs for GstCollectData.
9496
9497         * gst/base/gstadapter.c:
9498         Some small code example fix.
9499
9500         * gst/base/gstcollectpads.c:
9501         * gst/base/gstcollectpads.h:
9502         Document some more.
9503
9504 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9505
9506         * configure.ac: back to HEAD
9507
9508 === release 0.9.5 ===
9509
9510 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
9511
9512         * configure.ac:
9513           releasing 0.9.5, "Bike Lunch Day"
9514
9515 2005-11-11  Wim Taymans  <wim@fluendo.com>
9516
9517         * gst/gstbuffer.c: (_gst_buffer_copy):
9518         Copy more flags.
9519
9520         * gst/gstcaps.c: (gst_caps_is_equal):
9521         Fix some docs.
9522         Make _is_equal fast in the trivial cases.
9523
9524         * gst/gstminiobject.c:
9525         * gst/gstminiobject.h:
9526         More docs. Spifify .h file.
9527
9528         * gst/gstutils.c:
9529         Small doc update.
9530
9531 2005-11-11  Wim Taymans  <wim@fluendo.com>
9532
9533         * gst/base/gstbasetransform.c:
9534         (gst_base_transform_prepare_output_buf),
9535         (gst_base_transform_handle_buffer):
9536         Small cleanups.
9537         If we're processing a buffer and need to allocate an output
9538         buffer, we cannot accept a format change. If we did get a 
9539         format change, we have to alloc a buffer ourselves of the 
9540         right size.
9541
9542 2005-11-11  Wim Taymans  <wim@fluendo.com>
9543
9544         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
9545         While checking the flag for reentrancy in the gstcaps function
9546         is nice to detect recursive invocations, it also makes it 
9547         impossible to call getcaps from multiple threads, which must be
9548         possible. So, checking for recursive calls has to go.
9549
9550 2005-11-11  Michael Smith <msmith@fluendo.com>
9551
9552         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9553           Don't sync on buffers that fall partially outside our current
9554           segment. Prevents an assertion failure/abort playing some files.
9555
9556 2005-11-10  Andy Wingo  <wingo@pobox.com>
9557
9558         * check/gst/gstbin.c (test_message_state_changed_children): Style
9559         fix..
9560
9561         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
9562         gst_bus_poll with the signal watch. Ensures that poll and a signal
9563         watch see the same messages.
9564
9565         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
9566         a poll and a watch at the same time get the same messages.
9567
9568 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9569
9570         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
9571         * gst/gstcaps.c: (gst_caps_intersect):
9572           Don't call gst_caps_do_simplify - it doesn't respect order of caps
9573           and it's not needed.
9574
9575 2005-11-10  Wim Taymans  <wim@fluendo.com>
9576
9577         * docs/design/part-TODO.txt:
9578         Updated todo.
9579
9580 2005-11-10  Wim Taymans  <wim@fluendo.com>
9581
9582         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9583         * gst/base/gstbasesrc.c: (gst_base_src_wait),
9584         (gst_base_src_do_sync), (gst_base_src_get_range):
9585         Implement clock sync in base class.
9586
9587 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9588
9589         patch by: Tim-Philipp Müller <tim at centricular dot net>
9590
9591         * gst/gststructure.c: (gst_structure_parse_field),
9592         (gst_structure_from_string):
9593           Forward-port a 0.8 patch to handle escaped spaces in structure string,
9594           so that gst_parse_launch() can deal with spaces in filtered link
9595           caps (fixes #164479)
9596         * check/gst/capslist.h:
9597         * check/gst/gststructure.c: (GST_START_TEST):
9598           add unit tests for this change
9599
9600 2005-11-10  Wim Taymans  <wim@fluendo.com>
9601
9602         * docs/gst/gstreamer-sections.txt:
9603         * gst/gstelement.c:
9604         * gst/gstelement.h:
9605         Fix docs, move some STATE macros to private.
9606
9607 2005-11-10  Wim Taymans  <wim@fluendo.com>
9608
9609         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9610         Added check for bug #317341
9611
9612         * gst/gstbuffer.c:
9613         * gst/gstbuffer.h:
9614         Some more spiffifying.
9615
9616         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
9617         Call peer linkfunction if we are a source pad. Totally fixes
9618         #317341
9619
9620         * gst/gstpad.c:
9621         Update docs, source pads should call the peer linkfunction
9622         so they can atomically perform the pad link.
9623
9624 2005-11-09  Wim Taymans  <wim@fluendo.com>
9625
9626         * gst/gstbuffer.c:
9627         * gst/gstbuffer.h:
9628         Uber-spiffy-spiffify some more.
9629
9630 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
9631
9632         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
9633         * gst/elements/gstfilesink.c: (gst_file_sink_init):
9634         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9635         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
9636         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
9637         * gst/gstpad.c: (gst_pad_init):
9638           Use GST_DEBUG_FUNCPTR() more extensively.
9639
9640 2005-11-09  Wim Taymans  <wim@fluendo.com>
9641
9642         * gst/gstobject.c: (gst_object_class_init):
9643         * gst/gstobject.h:
9644         Documentation fixes.
9645
9646 2005-11-09  Edward Hervey  <edward@fluendo.com>
9647
9648         * gst/gsttypefindfactory.c:
9649         Fix docs.
9650         
9651 2005-11-09  Edward Hervey  <edward@fluendo.com>
9652
9653         * gst/base/gsttypefindhelper.c:
9654         * gst/gsttypefind.c:
9655         * gst/gsttypefind.h:
9656         Fix docs.
9657
9658 2005-11-09  Wim Taymans  <wim@fluendo.com>
9659
9660         * gst/gstiterator.c:
9661         Fix revision data.
9662
9663         * gst/gsttask.c:
9664         * gst/gsttask.h:
9665         Fix docs.
9666
9667 2005-11-09  Wim Taymans  <wim@fluendo.com>
9668
9669         * gst/gstevent.h:
9670         * gst/gsturi.h:
9671         Fix docs.
9672
9673 2005-11-09  Wim Taymans  <wim@fluendo.com>
9674
9675         * docs/gst/gstreamer-sections.txt:
9676         Moved the message async delivery private lock and cond
9677         to the private section.
9678
9679         * gst/gstmessage.c:
9680         * gst/gstmessage.h:
9681         Fixed docs.
9682
9683 2005-11-09  Edward Hervey  <edward@fluendo.com>
9684
9685         * docs/gst/gstreamer-sections.txt:
9686         * gst/gsturi.c:
9687         * gst/gsturi.h:
9688         Document GstURIHandler
9689
9690 2005-11-09  Wim Taymans  <wim@fluendo.com>
9691
9692         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
9693         (gst_iterator_find_custom):
9694         * gst/gstiterator.h:
9695         Fix iterator docs.
9696
9697 2005-11-09  Wim Taymans  <wim@fluendo.com>
9698
9699         * gst/gstbin.h:
9700         Document another field.
9701
9702         * gst/gststructure.c:
9703         * gst/gststructure.h:
9704         Document.
9705
9706 2005-11-09  Wim Taymans  <wim@fluendo.com>
9707
9708         * gst/gstbin.h:
9709         Documented structs.
9710
9711 2005-11-09  Wim Taymans  <wim@fluendo.com>
9712
9713         * docs/gst/gstreamer-sections.txt:
9714         Added some new macros.
9715
9716         * gst/gstclock.c:
9717         * gst/gstclock.h:
9718         * gst/gstobject.h:
9719         Docs updates.
9720
9721 2005-11-09  Wim Taymans  <wim@fluendo.com>
9722
9723         * docs/design/part-TODO.txt:
9724         Some more items for the TODO
9725
9726         * gst/gstcaps.c:
9727         * gst/gstcaps.h:
9728         Document GstCaps.
9729
9730 2005-11-09  Andy Wingo  <wingo@pobox.com>
9731
9732         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
9733         to work on something else now tho...
9734
9735         * gst/base/gstadapter.c: More adapter docs.
9736
9737         * gst/elements/gstfilesink.c (gst_file_sink_start) 
9738         (gst_file_sink_stop): New functions, replace the state change
9739         handler.
9740         (gst_file_sink_class_init): Hook up the start and stop functions.
9741         (gst_file_sink_base_init): Don't set the state change handler any
9742         more. It was a bit ugly too, being set from here...
9743         (gst_file_sink_get_property, gst_file_sink_set_property):
9744         Cleanups...
9745         (gst_file_sink_set_location): More robust check that doesn't call
9746         GST_STATE. Ugggggg.
9747
9748 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9749
9750         * gst/base/gstbasetransform.c: (gst_base_transform_event):
9751           Hold STREAM_LOCK while pushing newsegment or tag events as well.
9752
9753 2005-11-08  Wim Taymans  <wim@fluendo.com>
9754
9755         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9756         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9757         (gst_base_sink_chain), (gst_base_sink_change_state):
9758         * gst/base/gstbasesink.h:
9759         * gst/base/gstbasesrc.h:
9760         * gst/gstelement.h:
9761         * gst/gstevent.h:
9762         Avoid excessive typechecking in macros.
9763
9764         * gst/gstminiobject.c: (gst_mini_object_get_type),
9765         (gst_mini_object_init), (gst_mini_object_new),
9766         (gst_mini_object_free):
9767         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9768         (gst_object_finalize):
9769         Remove cruft code, optimize alloc_trace.
9770
9771 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9772
9773         * docs/faq/gst-uninstalled:
9774           fix up PS1 for systems that try to reset it
9775
9776 2005-11-07  Wim Taymans  <wim@fluendo.com>
9777
9778         * gst/base/gstbasesrc.c: (gst_base_src_init),
9779         (gst_base_src_get_range):
9780         Set the segment_end to -1 initially. Fixed typefind.
9781
9782 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9783
9784         * gst/base/gstadapter.c:
9785           Debug category should be 'adapter', not 'GstAdapter'.
9786           
9787         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
9788         (gst_collectpads_class_init), (gst_collectpads_init),
9789         (gst_collectpads_peek), (gst_collectpads_pop),
9790         (gst_collectpads_event), (gst_collectpads_chain):
9791           Add debug category and some debugging output. Use boilerplate
9792           macros. Remove some extraneous words from docs.
9793
9794 2005-11-05  Andy Wingo  <wingo@pobox.com>
9795
9796         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
9797         macro.
9798
9799 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
9800
9801         * docs/gst/gstreamer-sections.txt:
9802         * gst/gstcaps.h:
9803         * gst/gstinfo.c:
9804         * gst/gstminiobject.h:
9805         * gst/gstobject.h:
9806         * gst/gstutils.h:
9807           more docs added
9808
9809 2005-11-04  Wim Taymans  <wim@fluendo.com>
9810
9811         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9812         Small update to stop at the configured segment_end
9813         position.
9814
9815 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
9816
9817         * gst/gstregistry.c:
9818         * gst/gstregistry.h:
9819           added missing docs
9820
9821 2005-11-04  Edward Hervey  <edward@fluendo.com>
9822
9823         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9824         Check if we are doing a segment seek and have arrived at the
9825         end of that segment.
9826
9827 2005-11-04  Wim Taymans  <wim@fluendo.com>
9828
9829         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
9830         Don't leak a mutex unlock in case of an error.
9831
9832         * gst/gstbus.h:
9833         Doc fixes.
9834
9835 2005-11-04  Wim Taymans  <wim@fluendo.com>
9836
9837         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
9838         (gst_bus_post):
9839         Get the context to wake up only once.
9840
9841 2005-11-03  Wim Taymans  <wim@fluendo.com>
9842
9843         * check/states/sinks.c: (GST_START_TEST):
9844         Uncomment fixed check.
9845
9846         * docs/design/part-TODO.txt:
9847         Updated TODO.
9848
9849         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9850         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9851         (gst_base_sink_get_position):
9852         If we are going to PLAYING, post the right pending state
9853         when we post the intermediate paused message.
9854
9855         * gst/gstelement.c: (gst_element_continue_state),
9856         (gst_element_set_state_func), (gst_element_change_state):
9857         Don't post state changes that were between the same state
9858         and were not ASYNC.
9859
9860 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
9861
9862         * docs/gst/gstreamer-sections.txt:
9863         * gst/gstcaps.h:
9864         * gst/gstinfo.c:
9865         * gst/gstminiobject.h:
9866         * gst/gstobject.h:
9867         * gst/gstutils.h:
9868           more docs and doc style fixes
9869
9870 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
9871
9872         * docs/gst/gstreamer-sections.txt:
9873         * gst/gstelement.c:
9874         * gst/gstminiobject.c:
9875         doc fixes
9876
9877 2005-11-03  Andy Wingo  <wingo@pobox.com>
9878
9879         * check/states/sinks.c (test_livesrc_sink): Add checks that the
9880         state-changed messages actually have the right order and the right
9881         values.
9882
9883 2005-11-03  Wim Taymans  <wim@fluendo.com>
9884
9885         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
9886         Added some more checks. Specifically the case where NO_PREROLL
9887         elements are in the pipeline.
9888
9889         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9890         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9891         (gst_base_sink_get_position):
9892         Post READY->PAUSED state change messages too.
9893         Fix bug where VOID was posted as pending state...
9894
9895         * gst/gstbin.c: (gst_bin_recalc_state):
9896         use _element_continue_state() to continue the state change.
9897
9898         * gst/gstelement.c: (gst_element_continue_state),
9899         (gst_element_commit_state), (gst_element_set_state_func),
9900         (gst_element_change_state), (gst_element_change_state_func):
9901         Lots of state change cleanups, assign the STATE_RETURN in
9902         a new continue_state() function that also propagates the
9903         last return value from a state change to the app.
9904         Update some debug statements with proper category.
9905
9906 2005-11-03  Wim Taymans  <wim@fluendo.com>
9907
9908         * docs/design/part-events.txt:
9909         * docs/design/part-gstpipeline.txt:
9910         * docs/design/part-messages.txt:
9911         * docs/design/part-overview.txt:
9912         * docs/design/part-seeking.txt:
9913         * docs/design/part-states.txt:
9914         * docs/design/part-trickmodes.txt:
9915         * docs/manual/advanced-position.xml:
9916         Small docs updates.
9917
9918         * gst/gstobject.h:
9919         People think !! is ugly, this looks better.
9920
9921         * gst/gstpad.c: (gst_pad_set_blocked_async):
9922         Remove !! since it's fixed elsewhere now.
9923
9924 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
9925
9926         * gst/gstminiobject.h:
9927         * gst/gstobject.h:
9928           Add !! to _FLAG_IS_SET macros to make the result boolean.
9929
9930 2005-11-03  Edward Hervey  <edward@fluendo.com>
9931
9932         * gst/gstpad.c: (gst_pad_set_blocked_async):
9933         comparing a flag and a gboolean rarely returns coherent results...
9934         Added two characters (!!) to make that work correctly.
9935         
9936 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
9937
9938         * gst/gstbus.c: (gst_bus_class_init):
9939           Fix some typos.
9940           
9941         * gst/gstqueue.c: (gst_queue_loop):
9942           Don't assume a miniobject that isn't a buffer is an
9943           event (it could be that there is a refcounting
9944           problem somewhere and the pointer is stale and
9945           refers to an already destroyed miniobject).
9946
9947 2005-11-03  Julien MOUTTE  <julien@moutte.net>
9948
9949         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
9950
9951 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
9952
9953         * docs/manual/advanced-position.xml:
9954           Update seek example and explanations to current 0.9 API.
9955
9956         * gst/elements/gsttypefindelement.c:
9957         (gst_type_find_element_activate):
9958           Remove FIXME comment now that the found caps
9959           are unreffed.
9960
9961 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9962
9963         * gst/gstregistryxml.c: (load_feature):
9964           Add another GST_STR_NULL instance
9965
9966 2005-11-02  Edward Hervey  <edward@fluendo.com>
9967
9968         * gst/gstpad.c: (handle_pad_block):
9969         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
9970         
9971 2005-11-02  Wim Taymans  <wim@fluendo.com>
9972
9973         * gst/gstbin.c:
9974         Fix typo in docs.
9975
9976         * gst/gstelement.c: (gst_element_commit_state):
9977         Remove unused value.
9978
9979         * gst/gstiterator.c:
9980         Mention that the returned element is reffed in the docs.
9981
9982 2005-11-02  Wim Taymans  <wim@fluendo.com>
9983
9984         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
9985         (gst_pad_push), (gst_pad_push_event):
9986         Unlock blocked pads when they are flushed.
9987
9988 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9989
9990         * docs/README:
9991         * docs/gst/gstreamer-sections.txt:
9992         * gst/gstbin.c:
9993           doc updates
9994         * gst/gstregistry.c: (gst_registry_scan_path_level):
9995           fix for a nasty little missed situation where an installed plug-in
9996           which was in the cache did not get overridden by an uninstalled one
9997           which was earlier in the plugin path because the newly created plugin
9998           for the uninstalled one (not in the registry) didn't get its
9999           ->registered set to TRUE
10000
10001 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
10002
10003         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
10004         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
10005         (gst_collectpads_is_active), (gst_collectpads_collect),
10006         (gst_collectpads_collect_range), (gst_collectpads_start),
10007         (gst_collectpads_stop), (gst_collectpads_peek),
10008         (gst_collectpads_pop), (gst_collectpads_available),
10009         (gst_collectpads_read), (gst_collectpads_flush):
10010           Guard public API with assertions.
10011         
10012         * gst/gstpad.c:
10013           Fix docs for gst_pad_set_link_function().
10014
10015 2005-11-02  Johan Dahlin  <johan@gnome.org>
10016
10017         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
10018         Unref found_caps after we used it.
10019
10020 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
10021
10022         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
10023           Don't try to ref NULL.
10024
10025 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10026
10027         * win32/common/config.h.in:
10028           provide a GST_FUNCTION that just gives a string for now
10029
10030 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10031
10032         * win32/common/gstenumtypes.c: (register_gst_object_flags),
10033         (gst_object_flags_get_type), (register_gst_bin_flags),
10034         (gst_bin_flags_get_type), (register_gst_buffer_flag),
10035         (gst_buffer_flag_get_type), (register_gst_bus_flags),
10036         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10037         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
10038         (gst_clock_return_get_type), (register_gst_clock_entry_type),
10039         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10040         (gst_clock_flags_get_type), (register_gst_state),
10041         (gst_state_get_type), (register_gst_state_change_return),
10042         (gst_state_change_return_get_type), (register_gst_state_change),
10043         (gst_state_change_get_type), (register_gst_element_flags),
10044         (gst_element_flags_get_type), (register_gst_core_error),
10045         (gst_core_error_get_type), (register_gst_library_error),
10046         (gst_library_error_get_type), (register_gst_resource_error),
10047         (gst_resource_error_get_type), (register_gst_stream_error),
10048         (gst_stream_error_get_type), (register_gst_event_type),
10049         (gst_event_type_get_type), (register_gst_seek_type),
10050         (gst_seek_type_get_type), (register_gst_seek_flags),
10051         (gst_seek_flags_get_type), (register_gst_format),
10052         (gst_format_get_type), (register_gst_index_certainty),
10053         (gst_index_certainty_get_type), (register_gst_index_entry_type),
10054         (gst_index_entry_type_get_type),
10055         (register_gst_index_lookup_method),
10056         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10057         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10058         (gst_index_resolver_method_get_type), (register_gst_index_flags),
10059         (gst_index_flags_get_type), (register_gst_debug_level),
10060         (gst_debug_level_get_type), (register_gst_debug_color_flags),
10061         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10062         (gst_iterator_result_get_type), (register_gst_iterator_item),
10063         (gst_iterator_item_get_type), (register_gst_message_type),
10064         (gst_message_type_get_type), (register_gst_mini_object_flags),
10065         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10066         (gst_pad_link_return_get_type), (register_gst_flow_return),
10067         (gst_flow_return_get_type), (register_gst_activate_mode),
10068         (gst_activate_mode_get_type), (register_gst_pad_direction),
10069         (gst_pad_direction_get_type), (register_gst_pad_flags),
10070         (gst_pad_flags_get_type), (register_gst_pad_presence),
10071         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10072         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10073         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10074         (gst_plugin_error_get_type), (register_gst_plugin_flags),
10075         (gst_plugin_flags_get_type), (register_gst_rank),
10076         (gst_rank_get_type), (register_gst_query_type),
10077         (gst_query_type_get_type), (register_gst_tag_merge_mode),
10078         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10079         (gst_tag_flag_get_type), (register_gst_task_state),
10080         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10081         (gst_alloc_trace_flags_get_type),
10082         (register_gst_type_find_probability),
10083         (gst_type_find_probability_get_type), (register_gst_uri_type),
10084         (gst_uri_type_get_type), (register_gst_parse_error),
10085         (gst_parse_error_get_type):
10086         * win32/common/gstversion.h:
10087           update win32 copies
10088
10089 2005-11-01  Luca Ognibene  <luogni@tin.it>
10090
10091         * gst/gst.c:
10092           fix docs. popt is dead, long live GOption.
10093
10094 2005-10-31  Wim Taymans  <wim@fluendo.com>
10095
10096         * gst/gstbuffer.h:
10097         Small doc fix.
10098
10099 2005-10-31  Andy Wingo  <wingo@pobox.com>
10100
10101         * Boo!
10102
10103         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
10104
10105         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
10106         need to serialize property notifications on GLib 2.8. GLib 2.6 has
10107         the possibility of deadlocks here if code calling notify() or
10108         set() has a lock that can be taken in another notify handler (ABBA
10109         with class lock and e.g. python GIL state lock).
10110
10111 2005-10-28  Julien MOUTTE  <julien@moutte.net>
10112
10113         * gst/gstbus.c: Doc updates.
10114
10115 2005-10-28  Wim Taymans  <wim@fluendo.com>
10116
10117         * docs/design/part-TODO.txt:
10118         * gst/gstiterator.c:
10119         * gst/gstsystemclock.c:
10120         * gst/gstsystemclock.h:
10121         Doc updates.
10122
10123 2005-10-28  Edward Hervey  <edward@fluendo.com>
10124
10125         * docs/gst/gstreamer-docs.sgml:
10126         * docs/gst/gstreamer-sections.txt:
10127         the GstURIType documentation page is private, it only defines GstURIType
10128         which should be defined in the GstURIHandler page
10129         
10130 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10131
10132         * gst/gstbin.c: (gst_bin_class_init):
10133         * gst/gstbin.h:
10134         * gst/gstutils.c:
10135         Documentation updates.
10136
10137 2005-10-28  Wim Taymans  <wim@fluendo.com>
10138
10139         * docs/gst/gstreamer-sections.txt:
10140         * gst/gstclock.c:
10141         * gst/gstclock.h:
10142         Documented the clocks.
10143
10144 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
10145
10146         * docs/gst/gstreamer-sections.txt:
10147           move some macros to private sections
10148         * gst/gstminiobject.c:
10149         * gst/gstminiobject.h:
10150           add descriptions provided by ds and some more
10151         * gst/gstpad.h:
10152           mark macro as to be removed
10153
10154 2005-10-28  Wim Taymans  <wim@fluendo.com>
10155
10156         * docs/design/part-TODO.txt:
10157         Add an item to TODO.
10158
10159         * gst/gstiterator.c: (gst_iterator_fold),
10160         (gst_iterator_find_custom):
10161         * gst/gstiterator.h:
10162         Add iterator docs.
10163
10164 2005-10-28  Wim Taymans  <wim@fluendo.com>
10165
10166         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10167         (gst_base_transform_init):
10168         Don't leak class.
10169
10170         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
10171         An EOS event marks the queue as completely filled.
10172
10173 2005-10-27  Wim Taymans  <wim@fluendo.com>
10174
10175         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10176         (gst_base_sink_do_sync), (gst_base_sink_get_position):
10177         Some more debugging.
10178
10179         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
10180         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
10181         (gst_base_transform_event), (gst_base_transform_getrange),
10182         (gst_base_transform_chain):
10183         * gst/base/gstbasetransform.h:
10184         Fix debugging,
10185         Protect transform and concurrent buffer alloc with a new lock.
10186         Try not to break ABI/API.
10187
10188 2005-10-27  Wim Taymans  <wim@fluendo.com>
10189
10190         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10191         (gst_base_src_init), (gst_base_src_query),
10192         (gst_base_src_default_newsegment),
10193         (gst_base_src_configure_segment), (gst_base_src_do_seek),
10194         (gst_base_src_send_event), (gst_base_src_event_handler),
10195         (gst_base_src_pad_get_range), (gst_base_src_loop),
10196         (gst_base_src_unlock), (gst_base_src_default_negotiate),
10197         (gst_base_src_start), (gst_base_src_deactivate),
10198         (gst_base_src_activate_push), (gst_base_src_change_state):
10199         Move some stuff around and cleanup things.
10200
10201 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
10202
10203         * gst/base/gstbasesrc.c: (gst_base_src_query):
10204           Add missing break statements.
10205
10206 2005-10-27  Wim Taymans  <wim@fluendo.com>
10207
10208         * check/gst/gstbin.c: (GST_START_TEST):
10209         An extra refcount is taken in basesrc.
10210
10211         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
10212         (gst_base_src_get_range), (gst_base_src_pad_get_range),
10213         (gst_base_src_loop):
10214         Small cleanups, check for flushing after being unlocked from the 
10215         LIVE_LOCK. take refcounts correctly (not yet everywhere).
10216         Don't send out EOS when going to READY.
10217
10218 2005-10-27  Wim Taymans  <wim@fluendo.com>
10219
10220         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10221         (gst_base_sink_get_position):
10222         Some more debug.
10223
10224         * gst/gstbin.c: (message_check), (bin_replace_message),
10225         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10226         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10227         (bin_query_duration_init), (bin_query_duration_fold),
10228         (bin_query_duration_done), (bin_query_generic_fold),
10229         (gst_bin_query):
10230         * tools/gst-launch.c: (main):
10231         Remove old option.
10232
10233 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
10234
10235         * examples/controller/audio-example.c: (main):
10236         * examples/queue/queue.c: (event_loop):
10237         * gst/base/gstbasetransform.h:
10238         * gst/gstelement.c: (gst_element_send_event):
10239         * gst/gstevent.h:
10240         * gst/gstpad.c: (gst_pad_send_event):
10241           fixing examples
10242           fixing docs typos
10243           changing log priority in error situations
10244
10245 2005-10-25  Wim Taymans  <wim@fluendo.com>
10246
10247         * gst/gstbin.c: (message_check), (bin_replace_message),
10248         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10249         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10250         (bin_query_duration_init), (bin_query_duration_fold),
10251         (bin_query_duration_done), (bin_query_generic_fold),
10252         (gst_bin_query):
10253         Some doc and debug updates.
10254         Cache previously requested query DURATION for speed. invalidate
10255         cached duration if element posts a DURATION message.
10256
10257 2005-10-25  Wim Taymans  <wim@fluendo.com>
10258
10259         * docs/design/part-TODO.txt:
10260         Update TODO.
10261
10262         * gst/gstbin.c: (message_check), (bin_replace_message),
10263         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10264         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10265         (bin_query_duration_init), (bin_query_duration_fold),
10266         (bin_query_duration_done), (bin_query_generic_fold),
10267         (gst_bin_query):
10268         Handle SEGMENT_START/DONE messages correctly.
10269         More evolved query algorithm that handles duration queries
10270         correctly.
10271
10272         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
10273         (gst_element_get_state_func), (gst_element_abort_state),
10274         (gst_element_commit_state), (gst_element_lost_state):
10275         Some more debugging.
10276
10277         * gst/gstmessage.h:
10278         Added doc.
10279
10280 2005-10-25  Wim Taymans  <wim@fluendo.com>
10281
10282         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
10283         Don't use invalid stream_time.
10284
10285         * gst/gstevent.c: (gst_event_new_newsegment):
10286         stream_time in newsegment cannot be undefined.
10287
10288 2005-10-24  Wim Taymans  <wim@fluendo.com>
10289
10290         * gst/gstbus.c:
10291         Doc fix.
10292
10293         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10294         (gst_queue_loop):
10295         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
10296
10297 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
10298
10299         * docs/libs/tmpl/gstdparam.sgml:
10300         * docs/libs/tmpl/gstdplinint.sgml:
10301         * docs/libs/tmpl/gstdpman.sgml:
10302         * docs/libs/tmpl/gstdpsmooth.sgml:
10303         * docs/libs/tmpl/gstunitconvert.sgml:
10304           these are obsolete
10305
10306 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10307
10308         * configure.ac:
10309           back to HEAD
10310
10311 === release 0.9.4 ===
10312
10313 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10314
10315         * configure.ac:
10316           releasing 0.9.4, "Tyrannosaurus Rex"
10317
10318 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
10319
10320         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10321         (gst_file_sink_get_current_offset):
10322           Use fseeko() and ftello() if available. When falling back on
10323           lseek() to get the current offset, fflush() first to make sure
10324           everything is up-to-date and we get the right offset.
10325
10326 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10327
10328         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10329         * gst/base/gstbasesrc.c: (gst_base_src_loop):
10330         * gst/gsterror.c: (_gst_stream_errors_init):
10331         * gst/gsterror.h:
10332         * gst/gstqueue.c: (gst_queue_loop):
10333         * po/POTFILES.in:
10334           remove prematurely added error category and clean up the instances
10335
10336 2005-10-21  Wim Taymans  <wim@fluendo.com>
10337
10338         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10339         (gst_base_sink_get_position), (gst_base_sink_query),
10340         (gst_base_sink_change_state):
10341         Simply set the right flag when going to playing, that's all
10342         we need to do instead of calling a function inside the object
10343         lock (that could take the lock as well and deadlock)
10344
10345 2005-10-21  Wim Taymans  <wim@fluendo.com>
10346
10347         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
10348         (gst_base_src_loop):
10349         Don't warn, the peer element knows what to do best when
10350         the seek failed, it might try something else.
10351
10352 2005-10-21  Wim Taymans  <wim@fluendo.com>
10353
10354         * gst/base/gstbasesrc.c: (gst_base_src_init),
10355         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
10356         Fix seeking.
10357
10358 2005-10-21  Wim Taymans  <wim@fluendo.com>
10359
10360         * docs/design/part-segments.txt:
10361         More docs.
10362
10363         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10364         Correctly set caps, even on the subbufer.
10365
10366 2005-10-21  Wim Taymans  <wim@fluendo.com>
10367
10368         * docs/gst/gstreamer-docs.sgml:
10369         * docs/gst/gstreamer-sections.txt:
10370         * gst/gstelement.h:
10371         * gst/gstevent.c:
10372         * gst/gstevent.h:
10373         * gst/gstmessage.h:
10374         * gst/gstpad.h:
10375         * gst/gstparse.h:
10376         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
10377         * gst/gsttask.h:
10378         * gst/gstutils.c:
10379         * gst/gstutils.h:
10380         And 2% more doc coverage.
10381
10382 2005-10-21  Andy Wingo  <wingo@pobox.com>
10383
10384         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
10385         position reporting.
10386
10387 2005-10-20  Wim Taymans  <wim@fluendo.com>
10388
10389         * gst/gsterror.c: (gst_error_get_message):
10390         * gst/gstparse.h:
10391         * gst/gstquery.h:
10392         * gst/gststructure.c:
10393         * gst/gsttrace.c:
10394         * gst/gstutils.c:
10395         More docs.
10396
10397 2005-10-20  Wim Taymans  <wim@fluendo.com>
10398
10399         * gst/gstbuffer.h:
10400         * gst/gstpad.c:
10401         * gst/gstparse.c:
10402         Another 1% more coverage.
10403
10404 2005-10-20  Wim Taymans  <wim@fluendo.com>
10405
10406         * docs/gst/gstreamer-sections.txt:
10407         * gst/gstelement.c: (gst_element_get_state_func),
10408         (gst_element_abort_state), (gst_element_commit_state),
10409         (gst_element_lost_state):
10410         * gst/gstevent.h:
10411         * gst/gstquery.c: (gst_query_set_position),
10412         (gst_query_parse_position), (gst_query_set_duration),
10413         (gst_query_parse_duration), (gst_query_new_convert):
10414         * gst/gstutils.c:
10415         Yay! 1% more docs coverage.
10416
10417 2005-10-20  Wim Taymans  <wim@fluendo.com>
10418
10419         * gst/gstpad.h:
10420         * gst/gstquery.c: (gst_query_set_position),
10421         (gst_query_parse_position), (gst_query_set_duration),
10422         (gst_query_parse_duration), (gst_query_new_convert):
10423         * gst/gstquery.h:
10424         * gst/gstutils.c: (gst_element_query_convert):
10425         * gst/gstutils.h:
10426         Docs and consistency fixes.
10427
10428 2005-10-20  Wim Taymans  <wim@fluendo.com>
10429
10430         * gst/gsttask.c:
10431         * gst/gsttask.h:
10432         More docs.
10433
10434 2005-10-20  Wim Taymans  <wim@fluendo.com>
10435
10436         * gst/gstbin.c: (message_check), (bin_replace_message),
10437         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10438         (update_degree), (gst_bin_sort_iterator_next),
10439         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
10440         Reworked the message handling a bit, cache the messages instead of
10441         only the senders. alows us to do more in the future.
10442
10443 2005-10-20  Wim Taymans  <wim@fluendo.com>
10444
10445         * docs/design/part-TODO.txt:
10446         Update TODO
10447
10448         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10449         (gst_base_sink_query):
10450         Don't use clock time to report position when in EOS.
10451
10452 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
10453
10454         * tools/gst-inspect.c: (print_interfaces),
10455         (print_element_properties_info), (print_element_info):
10456           Fix interface output with gst-inspect -a; don't print
10457           newlines after double/float properties.
10458
10459 2005-10-20  Wim Taymans  <wim@fluendo.com>
10460
10461         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10462         (gst_base_sink_query):
10463         Speed up current position calculation.
10464
10465         * gst/base/gstbasesrc.c: (gst_base_src_query),
10466         (gst_base_src_default_newsegment):
10467         Correctly set stream position in newsegment.
10468
10469         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
10470         (update_degree), (gst_bin_sort_iterator_next),
10471         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
10472         * gst/gstmessage.c: (gst_message_new_custom):
10473         Clean up debugging info
10474
10475         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
10476         (gst_queue_loop), (gst_queue_handle_src_query):
10477         Pause task faster.
10478
10479 2005-10-19  Wim Taymans  <wim@fluendo.com>
10480
10481         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10482         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10483         Fix query handling again.
10484
10485 2005-10-19  Wim Taymans  <wim@fluendo.com>
10486
10487         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10488         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10489         * gst/base/gstbasesrc.c: (gst_base_src_query):
10490         * gst/elements/gstfilesink.c: (gst_file_sink_query):
10491         * gst/elements/gsttypefindelement.c:
10492         (gst_type_find_handle_src_query), (find_element_get_length),
10493         (gst_type_find_element_activate):
10494         API change fix.
10495
10496         * gst/gstquery.c: (gst_query_new_position),
10497         (gst_query_set_position), (gst_query_parse_position),
10498         (gst_query_new_duration), (gst_query_set_duration),
10499         (gst_query_parse_duration), (gst_query_set_segment),
10500         (gst_query_parse_segment):
10501         * gst/gstquery.h:
10502         Bundling query position/duration is not a good idea since duration
10503         does not change much and we don't want to recalculate it for every
10504         position query, so they are separated again..
10505         Base value in segment query is not needed.
10506
10507         * gst/gstqueue.c: (gst_queue_handle_src_query):
10508         * gst/gstutils.c: (gst_element_query_position),
10509         (gst_element_query_duration), (gst_pad_query_position),
10510         (gst_pad_query_duration):
10511         * gst/gstutils.h:
10512         Updates for query API change.
10513         Added some docs here and there.
10514
10515 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10516
10517         * check/gst/gstbin.c: (GST_START_TEST):
10518         * check/gst/gstghostpad.c: (GST_START_TEST):
10519         * check/pipelines/cleanup.c: (GST_START_TEST):
10520           wait on thread to die so we can check refcount correctly
10521
10522 2005-10-18  Wim Taymans  <wim@fluendo.com>
10523
10524         * check/pipelines/stress.c: (GST_START_TEST):
10525         Make check a little more time consuming.
10526
10527 2005-10-18  Wim Taymans  <wim@fluendo.com>
10528
10529         * check/Makefile.am:
10530         * check/pipelines/stress.c: (GST_START_TEST),
10531         (simple_launch_lines_suite), (main):
10532         Small state change torture test.
10533
10534         * docs/design/part-states.txt:
10535         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10536         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
10537         (gst_base_sink_change_state):
10538         Never take state lock from streaming thread, clean up ugly
10539         hacks. Unfortunatly core does not yet support nice ways to
10540         async commit state.
10541         
10542         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
10543         (bin_bus_handler):
10544         Start state recalc if a STATE_DIRTY message is posted, but only
10545         on the toplevel bin.
10546
10547         * gst/gstelement.c: (gst_element_sync_state_with_parent),
10548         (gst_element_get_state_func), (gst_element_abort_state),
10549         (gst_element_commit_state), (gst_element_lost_state),
10550         (gst_element_set_state_func), (gst_element_change_state):
10551         * gst/gstelement.h:
10552         State variables are now protected with the LOCK, the state
10553         lock is only used to serialize _set_state().
10554
10555 2005-10-18  Wim Taymans  <wim@fluendo.com>
10556
10557         * check/gst/gstbin.c: (GST_START_TEST):
10558         * check/gst/gstmessage.c: (GST_START_TEST):
10559         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10560         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
10561         (bin_bus_handler):
10562         * gst/gstelement.c: (gst_element_abort_state),
10563         (gst_element_commit_state), (gst_element_lost_state):
10564         * gst/gstmessage.c: (gst_message_new_state_changed),
10565         (gst_message_new_state_dirty), (gst_message_new_segment_start),
10566         (gst_message_new_segment_done), (gst_message_new_duration),
10567         (gst_message_parse_state_changed),
10568         (gst_message_parse_segment_start),
10569         (gst_message_parse_segment_done), (gst_message_parse_duration):
10570         * gst/gstmessage.h:
10571         * tools/gst-launch.c: (event_loop):
10572         Seriously, this is better than a previous commit as we only need
10573         to notify the fact that an element changed state in a streaming
10574         thread, marking the state of the parents dirty, hence the 
10575         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
10576         message.
10577
10578 2005-10-18  Wim Taymans  <wim@fluendo.com>
10579
10580         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
10581         (gst_bin_recalc_func):
10582         * gst/gstelement.c: (gst_element_set_clock),
10583         (gst_element_abort_state), (gst_element_lost_state):
10584         Cleanups, prepare for state change fixes.
10585
10586 2005-10-18  Wim Taymans  <wim@fluendo.com>
10587
10588         * gst/gstbin.h:
10589         * gst/gstelement.c: (gst_element_class_init),
10590         (gst_element_set_state), (gst_element_set_state_func):
10591         * gst/gstelement.h:
10592         Pending ABI changes.
10593         GThreadPool in GstBinClass to monitor async state changes.
10594         state_cookie in GstElement to detect concurrent gst/set state.
10595         set_state is now virtual too in case a very complicated element
10596         has to be constructed.
10597
10598 2005-10-18  Wim Taymans  <wim@fluendo.com>
10599
10600         * check/gst/gstbin.c: (GST_START_TEST):
10601         * check/gst/gstmessage.c: (GST_START_TEST):
10602         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10603         * gst/gstbin.c: (bin_bus_handler):
10604         * gst/gstelement.c: (gst_element_commit_state),
10605         (gst_element_lost_state):
10606         * gst/gstmessage.c: (gst_message_new_state_changed),
10607         (gst_message_new_segment_start), (gst_message_new_segment_done),
10608         (gst_message_new_duration), (gst_message_parse_state_changed),
10609         (gst_message_parse_segment_start),
10610         (gst_message_parse_segment_done), (gst_message_parse_duration):
10611         * gst/gstmessage.h:
10612         * tools/gst-launch.c: (event_loop):
10613         Make messages future proof.
10614         state-change gets a flag if it was a message comming from the
10615         streaming thread.
10616         segment-start/stop can also be specified in other formats.
10617         A message to notify an app that a pipeline changed playback 
10618         duration.
10619         Also fix a GstMessage leak in -launch
10620
10621 2005-10-18  Andy Wingo  <wingo@pobox.com>
10622
10623         * gst/gstelement.c (gst_element_dispose): More helpful message.
10624
10625 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10626
10627         reviewed by: <delete if not using a buddy>
10628
10629         * common/gtk-doc.mak:
10630
10631 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10632
10633         * gst/gstregistry.c: (gst_registry_scan_path_level):
10634           unref a plug-in we get that was already initialized
10635
10636 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
10637
10638         * docs/gst/gstreamer-sections.txt:
10639         * docs/libs/gstreamer-libs-sections.txt:
10640         * gst/gstelement.h:
10641           add new api entries
10642           hide internal macro
10643
10644 2005-10-17  Andy Wingo  <wingo@pobox.com>
10645
10646         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
10647         cleanup.
10648
10649         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
10650
10651         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
10652
10653         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
10654         (gst_element_get_state_func): Better debug message.
10655         (gst_element_commit_state): s/INFO/DEBUG/.
10656         (gst_element_lost_state, gst_element_change_state): 
10657
10658         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
10659         (gst_message_new_custom): s/INFO/LOG/.
10660
10661 2005-10-17  Michael Smith <msmith@fluendo.com>
10662
10663         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10664           Check if end time is valid using end time, not start time.
10665
10666 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
10667
10668         * check/gst-libs/controller.c: (GST_START_TEST),
10669         (gst_controller_suite):
10670         * libs/gst/controller/gstcontroller.c:
10671         (gst_controlled_property_set_interpolation_mode):
10672         * libs/gst/controller/gstcontroller.h:
10673         * libs/gst/controller/gstinterpolation.c:
10674         * testsuite/controller/.cvsignore:
10675         * testsuite/controller/Makefile.am:
10676         * testsuite/controller/interpolator.c:
10677           merge controller testsuites
10678           fix broken tests
10679           remove mem-chunk from docs
10680
10681 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10682
10683         * gst/gstmemchunk.c:
10684         * gst/gstmemchunk.h:
10685         * gst/gsttrashstack.c:
10686         * gst/gsttrashstack.h:
10687           out.  get out.  you're fired.  to the Attic !
10688
10689 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10690
10691         * gst/gstcaps.c: (gst_caps_intersect):
10692           fix signedness issues in a (hopefully) correct way
10693         * gst/gstelement.c: (gst_element_pads_activate):
10694           some debugging
10695         * gst/gstobject.c: (gst_object_set_parent):
10696           some debugging
10697
10698 2005-10-17  Julien MOUTTE  <julien@moutte.net>
10699
10700         * gst/gstvalue.h: Fix prototypes.
10701
10702 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10703
10704         * docs/gst/gstreamer-sections.txt:
10705         * gst/gst.c: (gst_version_string):
10706         * gst/gst.h:
10707         * gst/gstversion.h.in:
10708         * win32/common/libgstreamer.def:
10709           add gst_version_string ()
10710
10711 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10712
10713         * configure.ac:
10714           clean up further
10715         * gst/gst.c: (init_post):
10716         * win32/common/config.h.in:
10717           it's PLUGINDIR now
10718         * gst/gstcaps.c: (gst_caps_intersect):
10719           use gint64, the range could be bigger than a guint
10720
10721 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10722
10723         * gst/gstclock.h:
10724           document potential problem in 2038
10725
10726 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10727
10728         * gst/gstcaps.c: (gst_caps_intersect):
10729           Fix guint j diving under 0
10730
10731 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10732
10733         * configure.ac:
10734         * win32/common/config.h:
10735         * win32/common/config.h.in:
10736           check for process.h, declares getpid() on Windows
10737         * gst/gstinfo.c:
10738           include process.h if we have it
10739         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
10740         * gst/gstmemchunk.h:
10741           fix signedness issues
10742         * win32/common/libgstreamer.def:
10743           fix get_type's
10744
10745 2005-10-16  Julien MOUTTE  <julien@moutte.net>
10746
10747         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
10748         fix. Because of unsigned ints, caps intersection was going nuts and
10749         trying to access structures with G_MAXUINT index. That fixes
10750         videotestsrc ! ffmpegcolorspace ! fakesink
10751         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
10752         consistency.
10753
10754 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10755
10756         * configure.ac:
10757           use the gettext macro
10758         * gst/elements/gstelements.c:
10759         * gst/gst.c:
10760         * gst/indexers/gstindexers.c:
10761           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
10762         * win32/common/config.h:
10763           updated config.h
10764         * win32/common/config.h.in:
10765           add the template to generate config.h
10766         * win32/common/gstenumtypes.c:
10767         * win32/common/gstversion.h:
10768           updated copies
10769
10770 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10771
10772         * gst/gst.c: (gst_version):
10773         * gst/gstversion.h.in:
10774           add the nano
10775
10776 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
10777
10778         * gst/gstevent.h:
10779           Oops, add missing closing bracket.
10780
10781 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10782
10783         * configure.ac:
10784           use common m4's for argument checking
10785
10786 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
10787
10788         * docs/gst/gstreamer-sections.txt:
10789         * gst/gstevent.h:
10790           Add GST_EVENT_TYPE_NAME() macro.
10791
10792 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10793
10794         * gst/gstinfo.c:
10795         * gst/gstpluginfeature.c:
10796         * gst/gsttask.c:
10797           privatize more symbols
10798
10799 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10800
10801         * configure.ac:
10802           add srcdir, builddir includes to GST_ALL_CFLAGS, since
10803           everything that uses GStreamer API should have the includes
10804
10805 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10806
10807         * docs/gst/gstreamer-sections.txt:
10808         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10809         * gst/gstvalue.h:
10810           give each value a _get_type, removes the DATA exports
10811
10812 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10813
10814         * gst/gst.c:
10815         * gst/gst.h:
10816           remove _gst_registry_auto_load, not used anymore
10817         * gst/gstbin.c: (gst_bin_get_type):
10818         * gst/gstbin.h:
10819         * gst/gstelement.c: (gst_element_get_type):
10820         * gst/gstelement.h:
10821         * gst/gstobject.c: (gst_object_get_type):
10822         * gst/gstobject.h:
10823         * gst/gstpad.c: (gst_pad_get_type):
10824         * gst/gstpad.h:
10825           make _get_type functions similar, fixes data export from library
10826
10827 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10828
10829         * configure.ac:
10830           correctly make conditionals
10831         * gst/elements/Makefile.am:
10832         * gst/elements/gstelements.c:
10833           fix typo causing fdsrc not to build
10834
10835 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10836
10837         * testsuite/Makefile.am:
10838         * testsuite/bytestream/.cvsignore:
10839         * testsuite/bytestream/Makefile.am:
10840         * testsuite/bytestream/filepadsink.c:
10841         * testsuite/bytestream/gstbstest.c:
10842         * testsuite/bytestream/test1.c:
10843         * testsuite/bytestream/testfile1:
10844         * testsuite/caps/normalisation.c:
10845         * testsuite/caps/random.c: (main):
10846         * testsuite/cleanup/.cvsignore:
10847         * testsuite/cleanup/Makefile.am:
10848         * testsuite/cleanup/cleanup1.c:
10849         * testsuite/cleanup/cleanup2.c:
10850         * testsuite/cleanup/cleanup3.c:
10851         * testsuite/cleanup/cleanup4.c:
10852         * testsuite/cleanup/cleanup5.c:
10853         * testsuite/controller/interpolator.c:
10854         * testsuite/debug/printf_extension.c: (main):
10855         * testsuite/elements/tee.c:
10856         * testsuite/negotiation/.cvsignore:
10857         * testsuite/negotiation/Makefile.am:
10858         * testsuite/negotiation/pad_link.c:
10859         * testsuite/pad/Makefile.am:
10860         * testsuite/pad/chainnopull.c:
10861         * testsuite/pad/getnopush.c:
10862         * testsuite/pad/link.c:
10863         * testsuite/refcounting/sched.c: (create_pipeline):
10864         * testsuite/registry/Makefile.am:
10865         * testsuite/registry/gst-print-formats.c:
10866         * testsuite/schedulers/.cvsignore:
10867         * testsuite/schedulers/142183-2.c:
10868         * testsuite/schedulers/142183.c:
10869         * testsuite/schedulers/143777-2.c:
10870         * testsuite/schedulers/143777.c:
10871         * testsuite/schedulers/147713.c:
10872         * testsuite/schedulers/147819.c:
10873         * testsuite/schedulers/147894-2.c:
10874         * testsuite/schedulers/147894.c:
10875         * testsuite/schedulers/Makefile.am:
10876         * testsuite/schedulers/group_link.c:
10877         * testsuite/schedulers/queue_link.c:
10878         * testsuite/schedulers/relink.c:
10879         * testsuite/schedulers/unlink.c:
10880         * testsuite/schedulers/unref.c:
10881         * testsuite/schedulers/useless_iteration.c:
10882         * testsuite/states/bin.c:
10883           clean out/remove some stuff from the testsuite directories
10884
10885 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10886
10887         * configure.ac:
10888           check for some headers
10889         * gst/elements/Makefile.am:
10890         * gst/elements/gstelements.c:
10891           don't compile fdsrc without sys/socket.h
10892         * gst/indexers/Makefile.am:
10893         * gst/indexers/gstindexers.c: (plugin_init):
10894           don't compile fileindex without mmap
10895
10896 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10897
10898         * configure.ac:
10899           reorganize
10900           clean up
10901           document more
10902           remove cruft
10903         * check/Makefile.am:
10904         * docs/gst/Makefile.am:
10905         * examples/helloworld/Makefile.am:
10906         * gst/Makefile.am:
10907         * gst/base/Makefile.am:
10908         * gst/check/Makefile.am:
10909         * gst/elements/Makefile.am:
10910         * gst/indexers/Makefile.am:
10911         * gst/parse/Makefile.am:
10912         * libs/gst/controller/Makefile.am:
10913         * libs/gst/dataprotocol/Makefile.am:
10914         * examples/helloworld/helloworld.c: (event_loop):
10915           compile fixes, though it's not being compiled currently
10916
10917 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
10918
10919         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
10920           Add some simple tests for the new taglist date API.
10921
10922 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
10923
10924         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
10925         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
10926           Beautify 'last-message' output: print 'none' for buffer timestamps
10927           and durations if none is set; improve alignment with next messages.
10928
10929 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
10930
10931         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
10932         * gst/gstpluginfeature.h:
10933         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
10934         * gst/gstregistry.h:
10935         * docs/gst/gstreamer-sections.txt:
10936           Add new API to check plugin feature version requirements.
10937
10938         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
10939           Some basic tests for the above.         
10940
10941 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10942
10943         * gst/gststructure.c: (gst_structure_to_string):
10944           guard against NULL printf - happens when for example
10945           a message structure with GstClock gets serialized
10946
10947 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
10948
10949         * gst/base/gstcollectpads.c: (gst_collectpads_event):
10950           Fix presumable copy'n'pasto.
10951
10952 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10953
10954         * gst/elements/gstfakesrc.h:
10955         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
10956         * gst/elements/gsttypefindelement.c:
10957           fix some signedness
10958         * gst/elements/gstfilesink.c: (gst_file_sink_render):
10959           I wonder if this could actually write +2GB files before
10960
10961 2005-10-13  Andy Wingo  <wingo@pobox.com>
10962
10963         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
10964         Fix Timmeke Waymans bug.
10965         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
10966         string of the proper length to gst_caps_from_string. There's a
10967         potential for, before this fix, that this could cause someone
10968         connecting over the network to cause a segfault if the payload is
10969         not NUL-terminated.
10970
10971 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
10972
10973         * docs/design/draft-push-pull.txt:
10974         * docs/design/part-overview.txt:
10975         * docs/random/TODO-pre-0.9:
10976         * docs/random/old/ChangeLog.gstreamer:
10977         * gst/base/gstpushsrc.c:
10978         * gst/gstclock.c:
10979           fixed typos
10980
10981 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10982
10983         * gst/glib-compat.c: (gst_flags_get_first_value):
10984         * gst/glib-compat.h:
10985         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
10986         (gst_value_compare_double), (gst_value_serialize_flags):
10987           GLib 2.6 g_flags_get_first_value has a bug that triggers an
10988           infinite loop
10989
10990 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10991
10992         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10993         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10994           fix up debugging
10995         * tools/gst-launch.c: (event_loop):
10996           print out clock nicely
10997
10998 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
10999
11000         * docs/gst/gstreamer-sections.txt:
11001         * gst/gsttaglist.h:
11002         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
11003         (gst_tag_list_get_date_index):
11004           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
11005           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
11006
11007 2005-10-13  Julien MOUTTE  <julien@moutte.net>
11008
11009         * gst/base/gstcollectpads.c: (gst_collectpads_event),
11010         (gst_collectpads_chain):
11011         * gst/base/gstcollectpads.h: Handle newsegment and store informations
11012         in CollectData.
11013
11014 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
11015
11016         * docs/gst/gstreamer-sections.txt:
11017         * gst/gst.c:
11018         * gst/gsterror.h:
11019         * tools/gst-inspect.c: (main):
11020         * tools/gst-launch.c: (main):
11021         * tools/gst-run.c: (main):
11022         * tools/gst-xmlinspect.c: (main):
11023           fix GOption context leaks
11024           doc fixes
11025
11026 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11027
11028         * gst/gstbus.c:
11029           use HAVE_UNISTD_H
11030         * win32/common/config.h:
11031           update config
11032         * win32/vs6/grammar.dsp:
11033         * win32/vs6/libgstelements.dsp:
11034         * win32/vs6/libgstreamer.dsp:
11035           update vs6 files
11036
11037 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11038
11039         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11040         * gst/base/gstbasesrc.c: (gst_base_src_query):
11041           fix more guint64<->gdouble conversions
11042
11043 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11044
11045         * Makefile.am:
11046           add win32-update target
11047         * win32/common/gstconfig.h:
11048         * win32/common/gstenumtypes.c:
11049         * win32/common/gstenumtypes.h:
11050         * win32/common/gstversion.h:
11051           add files that visual studio can't generate
11052
11053 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11054
11055         * Makefile.am:
11056           add a win32-update target
11057         * configure.ac:
11058
11059 2005-10-12  Wim Taymans  <wim@fluendo.com>
11060
11061         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11062         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
11063         * gst/gstelement.c: (gst_element_commit_state),
11064         (gst_element_set_state):
11065         Protect flags with proper lock.
11066         unref provided cached clock in dispose.
11067
11068 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
11069
11070         * gst/gst.c:
11071         * gst/gstminiobject.h:
11072         * gst/gstpad.h:
11073         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
11074           removed unused flags from miniobject
11075           doc fixes
11076
11077 2005-10-12  Wim Taymans  <wim@fluendo.com>
11078
11079         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
11080         (gst_file_sink_event), (gst_file_sink_render):
11081         Flush before seeking.
11082
11083 2005-10-12  Andy Wingo  <wingo@pobox.com>
11084
11085         * gst/gst.c (gst_init_check): Ignore unknown options, as has
11086         always been the case.
11087
11088 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
11089
11090         * check/gst/gstbin.c: (GST_START_TEST):
11091         * docs/gst/gstreamer-sections.txt:
11092         * gst/base/gstbasesink.c: (gst_base_sink_init):
11093         * gst/base/gstbasesrc.c: (gst_base_src_init),
11094         (gst_base_src_get_range), (gst_base_src_check_get_range),
11095         (gst_base_src_start), (gst_base_src_stop):
11096         * gst/base/gstbasesrc.h:
11097         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
11098         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11099         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
11100         (bin_bus_handler):
11101         * gst/gstbin.h:
11102         * gst/gstbuffer.h:
11103         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
11104         * gst/gstbus.h:
11105         * gst/gstelement.c: (gst_element_is_locked_state),
11106         (gst_element_set_locked_state), (gst_element_commit_state),
11107         (gst_element_set_state):
11108         * gst/gstelement.h:
11109         * gst/gstindex.c: (gst_index_init):
11110         * gst/gstindex.h:
11111         * gst/gstminiobject.h:
11112         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
11113         (gst_object_set_parent):
11114         * gst/gstobject.h:
11115         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
11116         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
11117         * gst/gstpad.h:
11118         * gst/gstpadtemplate.h:
11119         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
11120         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
11121         * gst/gstpipeline.h:
11122         * gst/indexers/gstfileindex.c: (gst_file_index_load),
11123         (gst_file_index_commit):
11124         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
11125         * testsuite/pad/link.c: (gst_test_src_init),
11126         (gst_test_filter_init), (gst_test_sink_init):
11127         * testsuite/states/locked.c: (main):
11128           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
11129           moved bitshift from macro to enum definition
11130
11131 2005-10-12  Wim Taymans  <wim@fluendo.com>
11132
11133         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
11134         * gst/elements/gstfilesink.c: (gst_file_sink_event),
11135         (gst_file_sink_render):
11136         Some more debugging info.
11137
11138 2005-10-12  Wim Taymans  <wim@fluendo.com>
11139
11140         * docs/design/part-states.txt:
11141         * tools/gst-launch.c: (main):
11142         Some doc updates.
11143         Revert non-intentional change.
11144
11145 2005-10-12  Wim Taymans  <wim@fluendo.com>
11146
11147         * check/gst/gstbin.c: (GST_START_TEST):
11148         * check/gst/gstelement.c: (GST_START_TEST):
11149         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
11150         * check/gst/gstghostpad.c: (GST_START_TEST):
11151         * check/gst/gstpipeline.c: (GST_START_TEST):
11152         * check/pipelines/simple_launch_lines.c: (run_pipeline):
11153         * check/states/sinks.c: (GST_START_TEST):
11154         * gst/elements/gsttypefindelement.c: (stop_typefinding):
11155         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11156         (gst_bin_remove_func), (gst_bin_get_state_func),
11157         (gst_bin_recalc_state), (gst_bin_change_state_func),
11158         (bin_bus_handler):
11159         * gst/gstelement.c: (gst_element_get_state_func),
11160         (gst_element_get_state), (gst_element_abort_state),
11161         (gst_element_commit_state), (gst_element_set_state),
11162         (gst_element_change_state), (gst_element_change_state_func):
11163         * gst/gstelement.h:
11164         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
11165         (gst_pipeline_provide_clock_func):
11166         * gst/gstutils.c: (gst_element_link_pads_filtered):
11167         * tools/gst-launch.c: (main):
11168         * tools/gst-typefind.c: (main):
11169         Use GstClockTime in _get_state() instead of GTimeVal.
11170         Remove old code in gstutils.c
11171
11172 2005-10-12  Andy Wingo  <wingo@pobox.com>
11173
11174         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
11175         removed.
11176
11177         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
11178         there is no task. Shouldn't affect any code, as nothing in our
11179         plugins checks this return value.
11180         (gst_pad_stop_task): Also take the stream lock if the pad has no
11181         task. Docs updated.
11182
11183 2005-10-12  Wim Taymans  <wim@fluendo.com>
11184
11185         * gst/gstpad.c: (pre_activate), (post_activate),
11186         (gst_pad_activate_pull), (gst_pad_activate_push):
11187         Cleanup activation code. Reset old state if
11188         activation failed.
11189
11190 2005-10-12  Wim Taymans  <wim@fluendo.com>
11191
11192         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11193         (gst_base_sink_change_state):
11194         No need to prerol after receiving EOS.
11195
11196         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
11197         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
11198         * gst/elements/gstidentity.c: (gst_identity_event):
11199         Print events more verbosely.
11200
11201 2005-10-12  Wim Taymans  <wim@fluendo.com>
11202
11203         * check/Makefile.am:
11204         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
11205         * check/states/sinks2.c:
11206         Moved sinks2 testcode in sinks check.
11207
11208         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11209         (gst_bin_remove_func), (gst_bin_recalc_state),
11210         (gst_bin_change_state_func), (bin_bus_handler):
11211         Fix potential race condition when _get_state() iterated over an
11212         ASYNC element right before it posted a state completion.
11213
11214         * gst/gstclock.h:
11215         Do proper cast here.
11216
11217         * gst/gstevent.c: (gst_event_new_newsegment),
11218         (gst_event_parse_newsegment):
11219         A playback rate of 0.0 is not allowed.
11220
11221 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11222
11223         * win32/common/config.h:
11224         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
11225         (_trewinddir), (_ttelldir), (_tseekdir):
11226         * win32/common/dirent.h:
11227         * win32/common/gtchar.h:
11228         * win32/common/libgstbase.def:
11229         * win32/common/libgstreamer.def:
11230         * win32/vs6/grammar.dsp:
11231         * win32/vs6/gst_inspect.dsp:
11232         * win32/vs6/gst_launch.dsp:
11233         * win32/vs6/gstreamer.dsw:
11234         * win32/vs6/libgstbase.dsp:
11235         * win32/vs6/libgstelements.dsp:
11236         * win32/vs6/libgstreamer.dsp:
11237           Visual Studio 6 project files, and a new common directory.
11238           Phear.
11239
11240 2005-10-11  Wim Taymans  <wim@fluendo.com>
11241
11242         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11243         (gst_base_sink_do_sync), (gst_base_sink_query),
11244         (gst_base_sink_change_state):
11245         * gst/base/gstbasesink.h:
11246         Correctly parse newsegment info.
11247
11248 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11249
11250         * gst/gst.c: (init_post):
11251           split plugin paths correctly
11252
11253 2005-10-11  Wim Taymans  <wim@fluendo.com>
11254
11255         * check/gst/gstevent.c: (GST_START_TEST):
11256         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11257         (gst_base_sink_change_state):
11258         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
11259         * gst/base/gstbasetransform.c: (gst_base_transform_event):
11260         * gst/elements/gstfilesink.c: (gst_file_sink_event):
11261         * gst/gstevent.c: (gst_event_new_newsegment),
11262         (gst_event_parse_newsegment):
11263         * gst/gstevent.h:
11264         Added extra flag to newsegment for future API freeze.
11265         Updated check and base elements.
11266
11267 2005-10-11  Julien MOUTTE  <julien@moutte.net>
11268
11269         * gst/base/gstcollectpads.c: (gst_collectpads_init),
11270         (gst_collectpads_add_pad), (gst_collectpads_pop),
11271         (gst_collectpads_event), (gst_collectpads_chain):
11272         * gst/base/gstcollectpads.h: Handle EOS correctly.
11273
11274 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11275
11276         * tools/gst-launch.c: (main):
11277           more null protecting
11278
11279 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11280
11281         * gst/gst-i18n-lib.h:
11282           check for ENABLE_NLS, not GETTEXT_PACKAGE
11283         * gst/gstregistry.c: (gst_registry_add_plugin),
11284         (gst_registry_scan_path_level),
11285         (_gst_registry_remove_cache_plugins):
11286           protect possibly NULL strings
11287         * gst/parse/types.h:
11288           config.h already included before
11289         * tools/gst-inspect.c: (main):
11290           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
11291           check for ENABLE_NLS, not GETTEXT_PACKAGE
11292         * tools/gst-launch.c: (main):
11293           check for ENABLE_NLS, not GETTEXT_PACKAGE
11294
11295 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11296
11297         * configure.ac:
11298           if we don't have glib, fail before testing 2.8
11299         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
11300           fix a leak, should fix plugins-base testsuite
11301
11302 2005-10-11  Andy Wingo  <wingo@pobox.com>
11303
11304         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
11305         take the mode we're going to as an arg. Go head and set the mode
11306         and flushing flags now, so that if the activate function starts a
11307         thread all the flags will be in the right state.
11308         (post_activate): Renamed also. Just handle making sure streaming
11309         finishes for the deactivation case, and setting the deactivated
11310         mode.
11311         (gst_pad_set_active): Complain loudly if deactivation fails.
11312         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
11313         (gst_pad_activate_push): Adapt to pre/post_activate changes,
11314         remove the terrible hack.
11315
11316 2005-10-11  Wim Taymans  <wim@fluendo.com>
11317
11318         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11319         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
11320         (gst_bin_recalc_state), (gst_bin_change_state_func),
11321         (gst_bin_dispose), (bin_bus_handler):
11322         * gst/gstbin.h:
11323         Prepare to make current EOS message queue more generic.
11324         Fix some typos.
11325
11326         * gst/gstevent.c: (gst_event_new_newsegment),
11327         (gst_event_parse_newsegment):
11328         * gst/gstevent.h:
11329         Rename base to stream_time.
11330
11331         * gst/gstmessage.h:
11332         Fix typo in docs.
11333
11334 2005-10-11  Wim Taymans  <wim@fluendo.com>
11335
11336         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11337         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
11338         (gst_bin_change_state_func), (bin_bus_handler):
11339         * gst/gstbin.h:
11340         Work on proper clock selection.
11341
11342 2005-10-11  Edward Hervey  <edward@fluendo.com>
11343
11344         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
11345         * libs/gst/controller/gstcontroller.h:
11346         Added GList* version of _remove_properties() in order to be able to wrap
11347         it in bindings.
11348
11349 2005-10-11  Wim Taymans  <wim@fluendo.com>
11350
11351         * docs/design/part-states.txt:
11352         Some more docs.
11353
11354         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
11355         (gst_bin_change_state_func), (bin_bus_handler):
11356         Doc updates. Don't distribute the same clock over and over again.
11357
11358         * gst/gstclock.c:
11359         * gst/gstclock.h:
11360         Doc updates.
11361
11362         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
11363         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
11364         (gst_pad_send_event):
11365         * gst/gstpad.h:
11366         Make probe emission threadsafe again.
11367         Register quarks and move _get_name() from utils.
11368         Doc updates.
11369
11370         * gst/gstpipeline.c: (gst_pipeline_class_init),
11371         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11372         Only redistribute the clock of it changed.
11373
11374         * gst/gstsystemclock.h:
11375         Doc updates. 
11376
11377         * gst/gstutils.c:
11378         * gst/gstutils.h:
11379         Moved the _flow_get_name() to GstPad.
11380
11381 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11382
11383         * check/gst-libs/gdp.c: (GST_START_TEST):
11384         * check/gst/gstcaps.c: (GST_START_TEST):
11385         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
11386         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
11387         (gst_dp_packet_from_caps):
11388           fix more valgrind warnings before turning up the heat
11389
11390 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11391
11392         * gst/parse/grammar.y:
11393           some cleanup before the hacking
11394
11395 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11396
11397         * gst/base/gstbasesrc.c: (gst_base_src_query):
11398           use conversions
11399         * gst/gstutils.c: (gst_guint64_to_gdouble),
11400         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
11401         * gst/gstutils.h:
11402           externalize, basesrc uses it
11403           obviously the implementation needs testing
11404
11405 2005-10-10  Wim Taymans  <wim@fluendo.com>
11406
11407         * tests/sched/Makefile.am:
11408         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
11409         (make_pipeline3), (make_pipeline4), (print_elem), (main):
11410
11411 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11412
11413         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
11414           apparently converting from guint64 to double is not implemented
11415           on MSVC
11416
11417 2005-10-10  Wim Taymans  <wim@fluendo.com>
11418
11419         * check/Makefile.am:
11420         * check/generic/states.c: (GST_START_TEST):
11421         * check/gst/gstbin.c: (GST_START_TEST):
11422         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11423         * check/states/sinks.c: (GST_START_TEST):
11424         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
11425         (main):
11426         Check fixes, use API as stated in design docs, remove hacks.
11427
11428         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11429         (gst_base_sink_change_state):
11430         Catch stopping our task while we're shutting down.
11431
11432         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
11433         (gst_bin_remove_func), (gst_bin_get_state_func),
11434         (gst_bin_recalc_state), (gst_bin_change_state_func),
11435         (bin_bus_handler):
11436         * gst/gstbin.h:
11437         * gst/gstelement.c: (gst_element_init),
11438         (gst_element_get_state_func), (gst_element_abort_state),
11439         (gst_element_commit_state), (gst_element_lost_state),
11440         (gst_element_set_state), (gst_element_change_state),
11441         (gst_element_change_state_func):
11442         * gst/gstelement.h:
11443         New state change algorithm (see #318116)
11444
11445         * gst/gstpipeline.c: (gst_pipeline_class_init),
11446         (gst_pipeline_init), (gst_pipeline_set_property),
11447         (gst_pipeline_get_property), (do_pipeline_seek),
11448         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11449         * gst/gstpipeline.h:
11450         Remove crude state change hacks.
11451
11452         * gst/gstutils.h:
11453         Remove crude hacks.
11454
11455         * tools/gst-launch.c: (main):
11456         Fixes for state change. Needs some more work to fully use the
11457         new stuff.
11458
11459 2005-10-10  Andy Wingo  <wingo@pobox.com>
11460
11461         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
11462
11463         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
11464         this flag, but it's not even in GLib 2.6. Odd. Hack around the
11465         issue.
11466
11467 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11468
11469         * gst/gstiterator.c: (gst_iterator_new):
11470           Fix my previous commit: GTypes passed to gst_iterator_new()
11471           can be fundamental types.
11472
11473 2005-10-10  Wim Taymans  <wim@fluendo.com>
11474
11475         * gst/gstelement.c: (gst_element_iterate_pad_list),
11476         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
11477         (gst_element_iterate_sink_pads):
11478         Use src/sink pads lists for the respective iterators instead
11479         of filtering.
11480
11481 2005-10-10  Andy Wingo  <wingo@pobox.com>
11482
11483         Merged in popt removal + GOption addition patch from Ronald, bug
11484         #169772.
11485
11486         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
11487         GstElement macros around, remove popt-related symbols, add goption
11488         stuff.
11489
11490         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
11491         
11492         * docs/gst/Makefile.am:
11493         * docs/libs/Makefile.am: No POPT_CFLAGS.
11494         
11495         * examples/manual/Makefile.am:
11496         * docs/manual/basics-init.xml: Doc updates with an example.
11497         
11498         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11499         (gst_init), (parse_one_option), (parse_goption_arg):
11500         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
11501         bit of hand merging and debugging to get the GOption stuff working
11502         tho.
11503         
11504         * tests/Makefile.am:
11505         * tools/Makefile.am:
11506         * tools/gst-inspect.c: (main):
11507         * tools/gst-launch.c: (main):
11508         * tools/gst-run.c: (main):
11509         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
11510
11511 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11512
11513         * gst/gstiterator.c: (gst_iterator_new):
11514           Add assertions to make sure passed GType is likely to really
11515           be a GType (as the compiler won't catch it if the size and
11516           GType arguments get mixed up, see #318447).
11517
11518 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
11519
11520         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11521
11522         * gst/gstbin.c: (gst_bin_iterate_sorted):
11523           Pass GType and size arguments to gst_iterator_new() in the right
11524           order (maybe we should make _new() take the GType as first argument
11525           just like _new_list()?) (#318447).
11526           
11527
11528 2005-10-10  Wim Taymans  <wim@fluendo.com>
11529
11530         * gst/gstelement.c: (gst_element_finalize):
11531         And free the GStaticRecMutex too
11532
11533 2005-10-10  Andy Wingo  <wingo@pobox.com>
11534
11535         * gst/gstelement.c (gst_element_init, gst_element_finalize):
11536         Allocate and free the mutex properly.
11537
11538         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
11539         New macros.
11540         (GstElement): The state_lock is now recursive. Rebuild your
11541         plugins, suckers. Old macros adapted.
11542
11543         * docs/gst/gstreamer-sections.txt: Doc updates.
11544
11545         * gst/gstutils.h:
11546         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
11547         (g_static_rec_cond_wait): Ported from state changes patch, while
11548         we wait on bug #317802 to be solved in a well-distributed GLib.
11549
11550         * gst/gstelement.c (gst_element_change_state_func): Renamed from
11551         gst_element_change_state, variable name changes.
11552         (gst_element_change_state): Split out of gst_element_set_state in
11553         preparation for the state change merge. Doesn't pay attention to
11554         the 'transition' argument.
11555         (gst_element_set_state): Updates, hopefully purely cosmetic.
11556         (gst_element_sync_state_with_parent): MT-safety. Ported from the
11557         state change patch.
11558         (gst_element_get_state_func): Renamed from get_state, cosmetic
11559         changes.
11560
11561 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11562
11563         * gst/elements/gstelements.c:
11564         * win32/GStreamer.vcproj:
11565         * win32/config.h:
11566         * win32/dirent.c: (_tseekdir):
11567         * win32/gst-inspect.vcproj:
11568         * win32/gst-launch.vcproj:
11569         * win32/gstconfig.h:
11570         * win32/gstelements.vcproj:
11571         * win32/gstenumtypes.c: (gst_object_flags_get_type):
11572         * win32/gstreamer.def:
11573         * win32/msvc71.sln:
11574           updates for the win32 build (patch from Sebastien Moutte)
11575
11576 2005-10-10  Andy Wingo  <wingo@pobox.com>
11577
11578         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
11579         gst_bin_get_state, cleaned up (but no logic changes).
11580         (bin_element_is_sink): Comment updates.
11581         (sink_iterator_filter): Remove needless cast.
11582         (gst_bin_iterate_sinks): Doc update.
11583         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
11584         cleaned up (but no logic changes).
11585
11586         * check/states/sinks.c (test_src_sink): Cleanups from the state
11587         change patch.
11588         (test_livesrc_sink): Sync on the state.
11589
11590         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
11591         the state change patch.
11592
11593         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
11594         change patch.
11595
11596         * check/gst/gstbin.c: Merge in some style fixes and additional
11597         checks from Wim's state change patch.
11598
11599 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11600
11601         * gst/base/gsttypefindhelper.c: (helper_find_peek),
11602         (gst_type_find_helper):
11603           Check whether we have the requested data already in our list of
11604           cached buffers before pulling a new buffer; also make the buffer
11605           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
11606
11607 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11608
11609         * gst/gstcaps.c:
11610         * gst/gstevent.c:
11611           doc updates
11612         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11613           don't use long long, it's not portable.  Replacing with
11614           gint64 seems to work; let's hope no skeletons fall out of the closet.
11615
11616 2005-10-10  Andy Wingo  <wingo@pobox.com>
11617
11618         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
11619
11620 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
11621
11622         * docs/gst/gstreamer-sections.txt:
11623         * gst/gstevent.c:
11624         * gst/gstevent.h:
11625         * gst/gstinfo.c:
11626         * gst/gstinfo.h:
11627         * gst/gstmessage.c: (gst_message_parse_state_changed):
11628         * gst/gstpad.c:
11629         * gst/gstpad.h:
11630           more docs, fix compilation
11631
11632 2005-10-09  Philippe Khalaf <burger@speedy.org>
11633         * gst/gstmessage.c:
11634           Fixed a few forgotten variables on previous commit
11635
11636 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11637
11638         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11639           Fix evil typefind crasher: getrange() might return a short
11640           buffer at the end of a file, but gst_type_find_peek() must
11641           either return the full data as requested or NULL, but
11642           never a short buffer.
11643
11644 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11645
11646         * gst/gstmessage.c: (gst_message_new_state_changed),
11647         (gst_message_parse_state_changed):
11648         * gst/gstmessage.h:
11649           don't use "new", it's a C++ keyword
11650
11651 2005-10-08  Wim Taymans  <wim@fluendo.com>
11652
11653         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
11654         * gst/gstelement.c: (gst_element_post_message):
11655         * gst/gstpipeline.c: (gst_pipeline_change_state):
11656         Small docs and debug updates.
11657
11658 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
11659
11660         * docs/gst/gstreamer-sections.txt:
11661         * gst/gstelementfactory.c:
11662         * gst/gstevent.c:
11663         * gst/gsttaglist.c:
11664           more docs
11665
11666 2005-10-08  Wim Taymans  <wim@fluendo.com>
11667
11668         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
11669         (gst_bin_dispose), (bin_bus_handler):
11670         Fix typos, add comments.
11671         Clear EOS list when going to PAUSED from any direction and do it
11672         in a threadsafe way.
11673         Get base time in a threadsafe way too.
11674         Fix confusing debug in the change_state function.
11675         Various other small cleanups.
11676         
11677         * gst/gstelement.c: (gst_element_post_message):
11678         Fix very verbose bus posting code.
11679
11680         * gst/gstpipeline.c: (gst_pipeline_class_init),
11681         (gst_pipeline_set_property), (gst_pipeline_get_property),
11682         (gst_pipeline_change_state):
11683         Small ARG_ -> PROP_ cleanup
11684
11685 2005-10-08  Wim Taymans  <wim@fluendo.com>
11686
11687         * gst/gstbin.c: (is_eos), (bin_bus_handler):
11688         Do a less CPU demanding EOS check because we can.
11689
11690 2005-10-08  Wim Taymans  <wim@fluendo.com>
11691
11692         * libs/gst/dataprotocol/dataprotocol.c:
11693         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11694         (gst_dp_packet_from_event):
11695         * libs/gst/dataprotocol/dataprotocol.h:
11696         * libs/gst/dataprotocol/dp-private.h:
11697         It's about time we bump the version number.
11698         Since event types don't fit in the guint8 anymore describing
11699         the payload type, make payload type 16 bits wide.
11700
11701 2005-10-08  Wim Taymans  <wim@fluendo.com>
11702
11703         * docs/design/part-TODO.txt:
11704         * docs/design/part-clocks.txt:
11705         * docs/design/part-events.txt:
11706         * docs/design/part-gstbin.txt:
11707         * docs/design/part-gstelement.txt:
11708         * docs/design/part-gstpipeline.txt:
11709         * docs/design/part-live-source.txt:
11710         * docs/design/part-messages.txt:
11711         * docs/design/part-overview.txt:
11712         * docs/design/part-states.txt:
11713         Many doc updates.
11714
11715 2005-10-08  Wim Taymans  <wim@fluendo.com>
11716
11717         * gst/gstevent.c:
11718         * gst/gstevent.h:
11719         Fix event quark registration.
11720         Add some space between events so we can insert them in the
11721         right groups.
11722
11723 2005-10-08  Wim Taymans  <wim@fluendo.com>
11724
11725         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11726         (gst_base_sink_handle_buffer):
11727         Better log message.
11728
11729         * gst/gstbus.h:
11730         * gst/gstelement.h:
11731         More docs.
11732
11733         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11734         (gst_queue_set_property), (gst_queue_get_property):
11735         * gst/gstqueue.h:
11736         Remove old unused properties.
11737
11738 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
11739         * docs/gst/gstreamer-sections.txt:
11740         * gst/gstmessage.c:
11741         * gst/gstmessage.h:
11742         * gst/gstminiobject.c:
11743         * gst/gstminiobject.h:
11744         * gst/gstobject.h:
11745         * gst/gstpad.h:
11746         * gst/gstutils.h:
11747           lots of new docs and doc fixes
11748
11749 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11750
11751         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
11752         * gst/gstplugin.h:
11753         * gst/gstregistry.c: (gst_registry_lookup_locked),
11754         (gst_registry_scan_path_level):
11755         * gst/gstregistryxml.c: (load_plugin):
11756           Only ever load one plugin for a given plugin basename.
11757           This ensures correct overriding of GST_PLUGIN_PATH over
11758           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
11759           system installed plugins.
11760
11761 2005-10-08  Wim Taymans  <wim@fluendo.com>
11762
11763         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11764         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
11765         Prepare for doing QOS.
11766
11767 2005-10-08  Wim Taymans  <wim@fluendo.com>
11768
11769         * check/gst/gstbin.c: (GST_START_TEST):
11770         * check/pipelines/cleanup.c: (GST_START_TEST):
11771         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
11772         Allow new clock message too.
11773
11774 2005-10-08  Wim Taymans  <wim@fluendo.com>
11775
11776         * gst/gstmessage.c: (gst_message_new_error),
11777         (gst_message_new_warning), (gst_message_new_tag),
11778         (gst_message_new_state_changed), (gst_message_new_clock_provide),
11779         (gst_message_new_clock_lost), (gst_message_new_new_clock),
11780         (gst_message_new_segment_start), (gst_message_new_segment_done),
11781         (gst_message_parse_state_changed),
11782         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
11783         (gst_message_parse_new_clock):
11784         * gst/gstmessage.h:
11785         Also carry the clock in question.
11786
11787 2005-10-08  Wim Taymans  <wim@fluendo.com>
11788
11789         * gst/gstmessage.c: (gst_message_new_custom),
11790         (gst_message_new_eos), (gst_message_new_error),
11791         (gst_message_new_warning), (gst_message_new_tag),
11792         (gst_message_new_state_changed), (gst_message_new_clock_provide),
11793         (gst_message_new_new_clock), (gst_message_new_segment_start),
11794         (gst_message_new_segment_done), (gst_message_parse_state_changed),
11795         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
11796         * gst/gstmessage.h:
11797         Clean up.
11798         Added clock related messages.
11799
11800         * gst/gstpipeline.c: (gst_pipeline_change_state):
11801         Post message when the clock changed.
11802
11803         * tools/gst-launch.c: (event_loop):
11804         Print new clock.
11805
11806 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
11807
11808         * tools/gst-inspect.c: (print_element_properties_info):
11809           Can't pass NULL strings to g_print() on windows.
11810
11811 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11812
11813         * docs/Makefile.am:
11814         * docs/gst/Makefile.am:
11815         * docs/gst/gstreamer-docs.sgml:
11816         * docs/gst/running.xml:
11817         * docs/version.entities.in:
11818           add a chapter on running GStreamer.
11819           document GST_DEBUG and GST_PLUGIN* env vars
11820
11821 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11822
11823         * Makefile.am:
11824           remove include dir
11825         * configure.ac:
11826           remove PLUGINS_BUILDDIR stuff
11827         * gst/gst.c: (init_post):
11828           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
11829         * idiottest.mak:
11830           remove, it was condescending and not needed
11831
11832 2005-10-08  Wim Taymans  <wim@fluendo.com>
11833
11834         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
11835         (gst_base_sink_handle_object), (gst_base_sink_event),
11836         (gst_base_sink_wait), (gst_base_sink_handle_event),
11837         (gst_base_sink_change_state):
11838         * gst/base/gstbasesink.h:
11839         Repost EOS message while going to PLAYING if still EOS.
11840         Make sure that when receiving a FLUSH_START we don't attempt
11841         to sync on the clock anymore.
11842
11843 2005-10-08  Wim Taymans  <wim@fluendo.com>
11844
11845         * tools/gst-launch.c: (event_loop):
11846         Better message printout.
11847
11848 2005-10-08  Wim Taymans  <wim@fluendo.com>
11849
11850         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
11851         (gst_bin_child_proxy_get_children_count):
11852         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
11853         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
11854         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
11855         (gst_child_proxy_set_valist):
11856         * gst/parse/grammar.y:
11857         Make ChildProxy threadsafe and fix mem leaks.
11858
11859 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11860
11861         * gst/gst.c: (init_post):
11862           debug the GST_PLUGIN_ env vars
11863
11864 2005-10-08  Wim Taymans  <wim@fluendo.com>
11865
11866         * check/gst/gstbin.c: (GST_START_TEST):
11867         * check/gst/gstmessage.c: (GST_START_TEST):
11868         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
11869         * gst/gstelement.c: (gst_element_commit_state),
11870         (gst_element_lost_state):
11871         * gst/gstmessage.c: (gst_message_new_state_changed),
11872         (gst_message_parse_state_changed):
11873         * gst/gstmessage.h:
11874         * tools/gst-launch.c: (event_loop):
11875         Added extra field to STATE_CHANGE message with the pending
11876         state, which will be different from the new state soon.
11877
11878 2005-10-08  Wim Taymans  <wim@fluendo.com>
11879
11880         * gst/gstbus.c: (gst_bus_pop):
11881         * gst/gstclock.c:
11882         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11883         Small cleanups and doc updates.
11884
11885 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11886
11887         * gst/gst.c: (init_pre):
11888         * gst/gstbin.c: (gst_bin_add_func):
11889           log distributing clocks and base time
11890         * gst/gstregistry.c: (gst_registry_add_plugin),
11891         (gst_registry_scan_path_level), (gst_registry_scan_path):
11892           clean up the debugging output a little
11893         * gst/gstutils.c: (gst_element_state_get_name):
11894           warn about a memleak (I've actually seen this be used, though
11895           it was probably a bug)
11896
11897 2005-10-07  Wim Taymans  <wim@fluendo.com>
11898
11899         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11900         (gst_base_src_init), (gst_base_src_default_newsegment),
11901         (gst_base_src_newsegment), (gst_base_src_do_seek),
11902         (gst_base_src_loop), (gst_base_src_start):
11903         * gst/base/gstbasesrc.h:
11904         Make the newsegment event customizable by subclasses.
11905
11906 2005-10-07  Wim Taymans  <wim@fluendo.com>
11907
11908         * gst/gstevent.c: (gst_event_new_buffersize),
11909         (gst_event_parse_buffersize):
11910         * gst/gstevent.h:
11911         New event for future idea.
11912
11913 2005-10-07  Andy Wingo  <wingo@pobox.com>
11914
11915         * gst/gstelement.c (gst_element_post_message): Doc update.
11916
11917         * docs/gst/gstreamer-sections.txt: Update.
11918
11919         * gst/gstmessage.c (gst_message_new_application): Made into a
11920         function like honest API calls.
11921         (gst_message_new_element): New message type.
11922
11923         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
11924
11925         * check/elements/fakesrc.c (test_no_preroll): New check, checks
11926         that setting a live fakesrc to PAUSED returns NO_PREROLL both
11927         times.
11928
11929         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
11930         NO_PREROLL from gst_element_change_state to fall through.
11931
11932 2005-10-07  Wim Taymans  <wim@fluendo.com>
11933
11934         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
11935         (gst_ghost_pad_do_activate_push):
11936         Activating a ghostpad with no internal pad in push mode
11937         is ok.
11938
11939 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
11940
11941         * gst/gstobject.h:
11942           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
11943           Fixes compilation on Windows.
11944
11945 2005-10-07  Michael Smith <msmith@fluendo.com>
11946
11947         * tools/gst-inspect.c:
11948           Print out feature and plugin count at the end when printing out
11949           all features.
11950
11951 2005-10-04  Michael Smith <msmith@fluendo.com>
11952
11953         * gst/gsterror.c: (_gst_stream_errors_init):
11954           Add another error string used in a few existing plugins.
11955
11956         * gst/gstplugin.c:
11957         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11958         * tools/gst-inspect.c: (print_element_info):
11959           When a feature disappears from a plugin (and the feature exists in
11960           the cached registry file), things went horribly wrong. This isn't a
11961           complete fix, we should actually be removing the 'missing' features
11962           from the features list when we load the actual plugin. That's not
11963           yet implemented. 
11964
11965 2005-10-04  Johan Dahlin  <johan@gnome.org>
11966
11967         * check/gst/gstiterator.c: (GST_START_TEST):
11968         * gst/gstbin.c: (gst_bin_iterate_elements),
11969         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
11970         * gst/gstelement.c: (gst_element_iterate_pads):
11971         * gst/gstformat.c: (gst_format_iterate_definitions):
11972         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11973         (gst_iterator_new_list), (gst_iterator_filter):
11974         * gst/gstiterator.h:
11975         * gst/gstquery.c: (gst_query_type_iterate_definitions):
11976         Add a GType to GstIterator, update callsites and tests.
11977
11978 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11979
11980         * gst/gstpad.c: (gst_pad_event_default_dispatch):
11981           give events a chance to be handled by event probes when the pad
11982           is not linked
11983
11984 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11985
11986         * gst/gstevent.c: (gst_event_type_get_name),
11987         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
11988         * gst/gstevent.h:
11989           add string representations for event types
11990
11991 2005-10-06  Wim Taymans  <wim@fluendo.com>
11992
11993         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
11994         Don't use NULL pointers.
11995
11996 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11997
11998         * gst/gst_private.h:
11999         * gst/gstbus.c:
12000         * gst/gstelement.c:
12001         * gst/gstinfo.c:
12002         * gst/gstpluginfeature.c:
12003           widen the debug category in output to fit the biggest one we have
12004           add a bus category and use it
12005           play with the colors
12006           fix up some categories
12007
12008 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12009
12010         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
12011           add push activation of sink ghost pads.
12012           Andye, please verify
12013
12014 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12015
12016         * gst/gstutils.c: (gst_element_link_pads):
12017           fix a bug in the case where neither element has a pad
12018         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
12019           add a test for that case
12020
12021 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12022
12023         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
12024           emit have-data before checking for peers.  This allows
12025           for probe handlers to connect elements.  This helps autopluggers.
12026         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
12027         (gst_pad_suite):
12028           add six checks, linked/unlinked with no/true/false probe
12029
12030 2005-10-04  Wim Taymans  <wim@fluendo.com>
12031
12032         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
12033         (gst_fake_sink_event), (gst_fake_sink_preroll),
12034         (gst_fake_sink_render), (gst_fake_sink_change_state):
12035         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
12036         (gst_fake_src_get_property), (gst_fake_src_create),
12037         (gst_fake_src_stop):
12038         * gst/elements/gstidentity.c: (gst_identity_stop):
12039         Protect last_message with lock.
12040
12041 2005-10-04  Edward Hervey  <edward@fluendo.com>
12042
12043         * gst/gstformat.h: 
12044         Added precision in the comments for GST_FORMAT_DEFAULT
12045
12046 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
12047
12048         * tools/gst-launch.c: (main):
12049           Don't try to run erroneous pipelines.
12050
12051 2005-10-04  Julien MOUTTE  <julien@moutte.net>
12052
12053         * gst/gstbus.c: We don't need this header.
12054
12055 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12056
12057         * configure.ac:
12058           back to development
12059
12060 === release 0.9.3 ===
12061
12062 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12063
12064         * README:
12065         * configure.ac:
12066           Releasing 0.9.3, "Unregistered"
12067
12068 2005-10-03  Andy Wingo  <wingo@pobox.com>
12069
12070         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
12071         whereby calling a pad's activatepush() function can start a thread
12072         that starts to push or pull before the pad gets the FLUSHING flag
12073         unset. Hack around it by holding the stream lock until the flag is
12074         set. Need to replace this with a proper solution. Together with
12075         the ghost pad fixes, this fixes mp3 playing/tagreading.
12076
12077         * docs/design/part-gstghostpad.txt: Add a note about activation of
12078         proxy pads outside of ghost pads.
12079
12080         * gst/gstghostpad.c: Implement the ghost pad activation design.
12081
12082 2005-10-02  Andy Wingo  <wingo@pobox.com>
12083
12084         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
12085         It is volatile, after all.
12086
12087         * docs/design/part-gstghostpad.txt: Flesh out activation with
12088         ghost pads.
12089
12090         * gst/base/gstbasesrc.c (gst_base_src_init): Use
12091         GST_DEBUG_FUNCPTR.
12092
12093 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12094
12095         * configure.ac:
12096           Fix (unused) AM_CONDITIONAL tests.
12097
12098 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
12099
12100         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12101
12102         * gst/gstutils.c: (gst_pad_query_convert):
12103           Add assertion that makes sure src_val is >=0, just like
12104           gst_query_new_convert() has. (#315895)
12105
12106 2005-09-30  Edward Hervey  <edward@fluendo.com>
12107
12108         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
12109         Let's not iterate pads we're not interested in, it avoids getting 
12110         sky-high refcounts on sinkpad.
12111
12112 2005-09-30  Wim Taymans  <wim@fluendo.com>
12113
12114         * gst/gstelement.c: (gst_element_set_state),
12115         (gst_element_change_state):
12116         Small tweak, element in ASYNC remains ASYNC.
12117
12118 2005-09-30  Wim Taymans  <wim@fluendo.com>
12119
12120         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12121         Only error is an error.
12122
12123         * gst/gstbin.c: (gst_bin_change_state):
12124         Better debugging.
12125
12126         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
12127         Also call pad_block in pad alloc.
12128
12129         * gst/gstutils.c: (gst_flow_get_name):
12130         Better debugging.
12131
12132 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12133
12134         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12135         (gst_base_src_get_range):
12136           Fix documentation typos. Add some more debug info.
12137
12138 2005-09-29  David Schleef  <ds@schleef.org>
12139
12140         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
12141           more end-user friendly.
12142         * tools/gst-inspect.c: (main): Check if command-line argument is
12143           a file and attempt to load that file as a plugin.
12144
12145 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12146
12147         * check/gst/gstbin.c:
12148         * check/states/sinks.c:
12149           fix tests for the new warning
12150         * check/gst/gstpipeline.c:
12151           add a test for pipeline and bus interaction
12152         * gst/gstelement.c:
12153           elements should be NULL if they get disposed; add a warning if not
12154
12155 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12156
12157         * gst/gstobject.c:
12158           for 2.6 refcounting, make debug log more correct by printing
12159           the actual refcounts at the time of swap (Wim)
12160
12161 2005-09-29  Andy Wingo  <wingo@pobox.com>
12162
12163         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
12164         removes signal watches previously added via
12165         gst_bus_add_signal_watch.
12166         (gst_bus_add_signal_watch): Don't return the source id, just store
12167         it on the bus if there wasn't an id already.
12168
12169         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
12170         add_signal_watch and remove_signal_watch.
12171
12172 2005-09-29  Edward Hervey  <edward@fluendo.com>
12173
12174         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
12175         Better if we actually iterate the list :)
12176
12177 2005-09-29  Wim Taymans  <wim@fluendo.com>
12178
12179         * check/gst/gstbin.c: (GST_START_TEST):
12180         Change for new bus API.
12181
12182         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
12183         (send_messages), (GST_START_TEST), (gstbus_suite):
12184         Change for new bus signal API.
12185
12186         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
12187         (gst_bus_source_prepare), (gst_bus_source_check),
12188         (gst_bus_create_watch), (gst_bus_add_watch_full),
12189         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
12190         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
12191         * gst/gstbus.h:
12192         Remove support for multiple GSources operating on different
12193         message types as it is too complex and unneeded when using
12194         signals.
12195         Added support for receiving signals from the bus.
12196
12197 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12198
12199         * docs/libs/tmpl/gstdataprotocol.sgml:
12200         * docs/manual/advanced-dataaccess.xml:
12201         * gst/elements/gstcapsfilter.c:
12202         * gst/gstutils.c:
12203           rename filter-caps to caps property
12204
12205 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12206
12207         * gst/gstvalue.c: (gst_value_deserialize_fraction):
12208           More robust fraction string parsing.
12209
12210         * docs/pwg/appendix-porting.xml:
12211           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
12212
12213 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12214
12215         * gst/gstcaps.c: (gst_caps_do_simplify):
12216           Thou shalt not free a structure and then continue using it
12217           in the next loop iteration.
12218
12219         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
12220         (gst_caps_suite):
12221           Add test case for caps simplification.
12222
12223 2005-09-29  Wim Taymans  <wim@fluendo.com>
12224
12225         * check/gst/gstbin.c: (GST_START_TEST):
12226         Oops.
12227
12228 2005-09-29  Wim Taymans  <wim@fluendo.com>
12229
12230         * check/gst/gstbin.c: (GST_START_TEST):
12231         Add bus to bin.
12232
12233         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
12234         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12235         (find_element), (gst_bin_sort_iterator_next),
12236         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12237         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12238         (gst_bin_change_state), (gst_bin_dispose):
12239         A bin does not have a bus, it gets the bus from the parent.
12240
12241         * gst/gstelement.c: (gst_element_requires_clock),
12242         (gst_element_provides_clock), (gst_element_is_indexable),
12243         (gst_element_is_locked_state), (gst_element_change_state),
12244         (gst_element_set_bus_func):
12245         Small cleanups.
12246
12247         * gst/gstpipeline.c: (gst_pipeline_class_init),
12248         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
12249         The pipeline provides a bus.
12250
12251 2005-09-28  Johan Dahlin  <johan@gnome.org>
12252
12253         * gst/gstmessage.c (gst_message_parse_state_changed): Use
12254         gst_structure_get_enum instead of gst_structure_get_int
12255
12256         * gst/gststructure.c (gst_structure_get_enum): Impl.
12257
12258         * gst/gststructure.h (gst_structure_get_enum): Add
12259
12260         * docs/gst/gstreamer-sections.txt: Ditto
12261
12262         * gst/gstmessage.c (gst_message_new_state_changed): Use
12263         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
12264         which does introspection.
12265         Reviewed by Christian Schaller
12266
12267 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
12268
12269         * gst/gstinfo.c: (gst_debug_log_default):
12270           don't do dummy g_strdup()s
12271         * libs/gst/controller/gstcontroller.c:
12272         (on_object_controlled_property_changed),
12273         (gst_controlled_property_new), (gst_controller_new_valist),
12274         (gst_controller_new_list),
12275         (gst_controller_remove_properties_valist), (gst_controller_set),
12276         (gst_controller_get), (gst_controller_sync_values),
12277         (gst_controller_get_value_array), (_gst_controller_class_init),
12278         (gst_controller_get_type):
12279         * libs/gst/controller/gstcontroller.h:
12280         * libs/gst/controller/gstinterpolation.c:
12281         (gst_controlled_property_find_timed_value_node):
12282           convert // to /**/ comments
12283
12284 2005-09-28  Wim Taymans  <wim@fluendo.com>
12285
12286         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
12287         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
12288         (gst_bus_sync_signal_handler):
12289         * gst/gstbus.h:
12290         Added async-message and sync-message signals to the bus.
12291         Added helper BusFunc to emit signals for all posted messages.
12292
12293         * gst/gstmessage.c: (gst_message_type_get_name),
12294         (gst_message_type_to_quark), (gst_message_get_type):
12295         * gst/gstmessage.h:
12296         Register quarks for message names.
12297
12298 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
12299
12300         * docs/libs/gstreamer-libs-sections.txt:
12301         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12302         (gst_controller_new_list):
12303         * libs/gst/controller/gstcontroller.h:
12304           added another constructor for language bindings
12305
12306 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12307
12308         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
12309           add another check
12310         * gst/gstbus.c:
12311           add some doc
12312         * gst/gstinfo.c: (_gst_debug_init):
12313           slightly more readable color for refcount debugging
12314
12315 2005-09-28  Wim Taymans  <wim@fluendo.com>
12316
12317         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
12318         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12319         (find_element), (gst_bin_sort_iterator_next),
12320         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12321         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12322         (gst_bin_change_state), (gst_bin_dispose):
12323         Small doc fixes. get_clock -> provide_clock.
12324
12325         * gst/gstelement.c: (gst_element_class_init),
12326         (gst_element_provides_clock), (gst_element_provide_clock),
12327         (gst_element_get_clock), (gst_element_commit_state),
12328         (gst_element_lost_state):
12329         * gst/gstelement.h:
12330         Make get/set_clock() symetric. Add provide_clock vmethod since
12331         that is actually what this function does.
12332
12333         * gst/gstpipeline.c: (gst_pipeline_class_init),
12334         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
12335         (gst_pipeline_get_clock):
12336         get_clock -> provide_clock.
12337
12338 2005-09-28  Andy Wingo  <wingo@pobox.com>
12339
12340         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
12341         lieu of real docs...
12342
12343         * gst/elements/gstfdsrc.c: Cleaned up a bit.
12344
12345 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
12346
12347         * gst/elements/gstcapsfilter.c:
12348         * gst/elements/gstfakesink.c:
12349         * gst/elements/gstfakesrc.c:
12350         * gst/elements/gstfdsink.c:
12351         * gst/elements/gstfdsrc.c:
12352         * gst/elements/gstfilesink.c:
12353         * gst/elements/gstfilesrc.c:
12354         * gst/elements/gstidentity.c:
12355         * gst/elements/gsttee.c:
12356         * gst/elements/gsttypefindelement.c:
12357           Make element details static.
12358
12359 2005-09-28  Wim Taymans  <wim@fluendo.com>
12360
12361         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12362         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12363         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12364         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12365         (gst_bin_change_state), (gst_bin_dispose):
12366         Some documentation updates.
12367         Clean up dispose handlers.
12368
12369         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
12370         * gst/gstpad.c: (gst_pad_dispose):
12371         Clean up dispose handler.
12372
12373         * gst/gstpipeline.c: (gst_pipeline_change_state):
12374         Removed spurious UNLOCK.
12375
12376 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
12377
12378         * docs/gst/gstreamer-sections.txt:
12379         * gst/base/gstbasesrc.h:
12380         * gst/gstelement.h:
12381         * gst/gstevent.h:
12382         * gst/gstobject.h:
12383         * gst/gstpad.h:
12384         * gst/gstpipeline.c:
12385         * gst/gstpipeline.h:
12386         * gst/gstutils.h:
12387         * gst/gstxml.h:
12388           added two new functions to the docs
12389                 documents all undocumented GstXXXFlags
12390                 completed some incomplete docs 
12391
12392 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12393
12394         * gst/gstbin.c: (gst_bin_dispose):
12395         * gst/gstelement.c: (gst_element_dispose):
12396           remove now useless and leaky resurrection code in dispose
12397         * gst/base/gstbasesrc.c: (gst_base_src_init):
12398         * gst/gstelementfactory.c: (gst_element_factory_create):
12399         * gst/gstobject.c: (gst_object_set_parent):
12400           add some debugging
12401
12402 2005-09-27  Wim Taymans  <wim@fluendo.com>
12403
12404         * docs/design/part-TODO.txt:
12405         Update TODO.
12406
12407         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12408         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12409         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12410         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12411         (gst_bin_change_state):
12412         * gst/gstelement.h:
12413         Remove element variable, we keep element info in the iterator now.
12414
12415 2005-09-27  Andy Wingo  <wingo@pobox.com>
12416
12417         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
12418         values.
12419
12420 2005-09-27  Wim Taymans  <wim@fluendo.com>
12421
12422         * check/gst/gstbin.c: (GST_START_TEST):
12423         Enable check that works now.
12424
12425         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12426         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12427         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12428         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12429         (gst_bin_change_state):
12430         * gst/gstbin.h:
12431         Redid the state change algorithm using a topological sort algo.
12432         Handles all cases correctly.
12433         Exposed iterator for state change order.
12434
12435         * gst/gstelement.h:
12436         Temp storage for state changes. Need to get rid of this soon.
12437
12438 2005-09-27  Wim Taymans  <wim@fluendo.com>
12439
12440         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
12441         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
12442         (link_fold_func), (gst_pad_proxy_setcaps):
12443         Leak fixes, the fold functions need to unref the passed object and
12444         _get_parent_*() returns ref to parent.
12445
12446 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12447
12448         * check/gst/gstbuffer.c: (test_make_writable):
12449           Plug leak in test case and fix 'make check-valgrind'
12450
12451 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12452
12453         * gst/gstbuffer.c: (gst_subbuffer_init):
12454           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
12455           works correctly in all circumstances (we could have just copied
12456           the parent buffer's readonly flag, but conceptually it seems
12457           cleaner to mark all subbuffers as read-only). (based on patch
12458           by Alessandro Decina, #314710).
12459         
12460         * check/gst/gstbuffer.c: (create_read_only_buffer),
12461         (test_make_writable), (test_subbuffer_make_writable),
12462         (gst_test_suite):
12463           Add some tests for gst_buffer_make_writable().
12464
12465 2005-09-27  Wim Taymans  <wim@fluendo.com>
12466
12467         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
12468         use gst_object_has_ancestor().
12469
12470         * gst/gstobject.c: (gst_object_has_ancestor):
12471         * gst/gstobject.h:
12472         gst_object_has_ancestor() copied from gstbin.c as it is a
12473         usefull function.
12474
12475         * tests/instantiate/create.c: (create_all_elements):
12476         * tests/lat.c: (handoff_src), (handoff_sink):
12477         * tests/sched/runxml.c: (main):
12478         * tests/seeking/seeking1.c: (main):
12479         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
12480         (main):
12481         Fix compilation of some tests.
12482
12483 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12484
12485         * gst/gsterror.h:
12486           Remove comment. GST_TYPE_G_ERROR is here to stay,
12487           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
12488           (#316961, #300610).
12489
12490 2005-09-26  Wim Taymans  <wim@fluendo.com>
12491
12492         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12493         Added check that shows error in state change order.
12494
12495 2005-09-26  Wim Taymans  <wim@fluendo.com>
12496
12497         * gst/gstbin.c: (gst_bin_change_state):
12498         Make state change function use 3 queues again, we were
12499         adding elements in the wrong order.
12500
12501         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12502         Some debug info,
12503
12504         * gst/gstpad.c: (gst_pad_dispose):
12505         Added some debug info first.
12506
12507 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
12508
12509         * docs/design/draft-push-pull.txt:
12510         * docs/design/part-events.txt:
12511         * docs/design/part-overview.txt:
12512         * docs/design/part-scheduling.txt:
12513           Replace all _pull_region() with _pull_range()
12514           
12515 2005-09-26  Andy Wingo  <wingo@pobox.com>
12516
12517         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
12518
12519         * check/gst-libs/controller.c: Update for controller api change.
12520
12521         * configure.ac: 
12522         * tests/Makefile.am:
12523         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
12524         over by GLib bug 118439.
12525         
12526         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
12527         routines to a function.
12528
12529         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
12530
12531         * libs/gst/controller/gsthelper.c:
12532         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
12533         (gst_object_sync_values): Renamed from sink_values. Ugh.
12534
12535         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
12536
12537         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
12538         Renamed from controller_key, as it is exported.
12539
12540         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
12541
12542 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
12543
12544         * gst/Makefile.am:
12545         * gst/gst.h:
12546         * gst/gstpad.h:
12547         * gst/gstpadtemplate.h:
12548         * gst/gstquery.c:
12549         * gst/gstquery.h:
12550         * gst/gstqueryutils.c:
12551         * gst/gstqueryutils.h:
12552           remove queryutils headers after moving the two used functions
12553           to gstquery.  also fixes build problem for gstsiddec
12554
12555 2005-09-26  Michael Smith <msmith@fluendo.com>
12556
12557         * tools/gst-launch.1.in:
12558         Correct documentation in manpage of debug syntax
12559
12560 2005-09-26  Wim Taymans  <wim@fluendo.com>
12561
12562         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
12563         (gst_base_src_is_seekable), (gst_base_src_change_state):
12564         Some more debugging info.
12565
12566 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12567
12568         * docs/gst/gstreamer-sections.txt:
12569         * gst/base/gstbasetransform.h:
12570         * gst/gstindex.h:
12571           added more docs
12572
12573 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12574
12575         * docs/gst/.cvsignore:
12576         * docs/gst/tmpl/.cvsignore:
12577         * docs/gst/tmpl/gstpipeline.sgml:
12578         * docs/gst/tmpl/gstplugin.sgml:
12579         * gst/gstpipeline.c:
12580         * gst/gstplugin.c:
12581         * gst/gstplugin.h:
12582           inlined the last two docs files
12583           removed the tmpl directory from cvs (no more conflicts here!)
12584
12585 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12586
12587         * docs/gst/gstreamer-sections.txt:
12588         * docs/gst/tmpl/.cvsignore:
12589         * docs/gst/tmpl/gstpad.sgml:
12590         * docs/gst/tmpl/gstpadtemplate.sgml:
12591         * gst/Makefile.am:
12592         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12593         (gst_pad_finalize), (gst_pad_set_pad_template):
12594         * gst/gstpad.h:
12595         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12596         (gst_pad_template_class_init), (gst_pad_template_init),
12597         (gst_pad_template_dispose), (name_is_valid),
12598         (gst_static_pad_template_get), (gst_pad_template_new),
12599         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
12600         (gst_pad_template_pad_created):
12601         * gst/gstpadtemplate.h:
12602           inlined two more docs
12603           factored gstpadtemplate out of gstpad
12604
12605 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
12606
12607         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12608         (test_children_state_change_order_semi_sink):
12609           Fix test case: we can't rely on a fixed state change order when
12610           going from READY => PAUSED because the sink might commit its 
12611           new state first when the first buffer created by the source 
12612           reaches the sink before the source has finished its change state.
12613           (Test case still fails at times, see #316856, comment 5 onwards)
12614
12615 2005-09-24  Wim Taymans  <wim@fluendo.com>
12616
12617         * docs/design/part-events.txt:
12618         * docs/design/part-gstbus.txt:
12619         * docs/design/part-gstpipeline.txt:
12620         * docs/design/part-messages.txt:
12621         * docs/design/part-overview.txt:
12622         * docs/design/part-segments.txt:
12623         * gst/gstbin.c:
12624         * gst/gstbuffer.c:
12625         * gst/gstclock.c:
12626         * gst/gstelement.c:
12627         * gst/gstevent.c:
12628         * gst/gstfilter.c:
12629         * gst/gstiterator.c:
12630         Various documentation updates.
12631
12632 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12633
12634         * gst/gstclock.h:
12635           Well, that's embarassing.  Luckily we weren't using
12636           GST_CLOCK_DIFF anywhere.
12637
12638 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12639
12640         * common/gtk-doc.mak:
12641           don't fail on building XML, FC4 slave shows a bunch of doc
12642           missing bits that I don't get
12643         * gst/gstpad.c:
12644         * gst/gstpipeline.c:
12645         * gst/gststructure.c:
12646           some doc updates
12647
12648 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
12649
12650         * docs/design/part-gstbin.txt:
12651         * docs/design/part-gstbus.txt:
12652         * gst/gstbus.c:
12653           Add blurb about how the bus goes into flushing mode and
12654           drops all messages when its bin goes from READY into NULL 
12655           state.
12656
12657 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12658
12659         * docs/gst/gstreamer-sections.txt:
12660         * gst/gststructure.c: (gst_structure_get_clock_time):
12661         * gst/gststructure.h:
12662           add a method to get a GstClockTime out of a structure
12663
12664 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
12665
12666         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12667         (test_children_state_change_order_semi_sink), (gst_bin_suite):
12668           Added test to check state change order in bins (can still be made
12669           to fail here under heavy disk load; bails out with 'Push on pad
12670           fakesink:sink0, but it was not activated in push mode').
12671
12672         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
12673           Fix state change order when there is only a semi sink (#316856)
12674
12675         * gst/gstbus.c: (gst_bus_class_init):
12676           Use _class_peek_parent(), not _class_ref(); fix docs to say
12677           'default main context' instead of 'mainloop' where that is
12678           what's meant.
12679
12680         * gst/gstelement.c: (gst_element_commit_state),
12681         (gst_element_set_state):
12682           Fix typos in debug messages
12683
12684 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12685
12686         * docs/README:
12687         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
12688         * gst/gstpluginfeature.c:
12689         * gst/gstutils.c:
12690           various doc updates
12691         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12692           change an assert into an error until it gets fixed properly
12693
12694 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
12695
12696         * docs/gst/gstreamer-sections.txt:
12697         * docs/gst/tmpl/.cvsignore:
12698         * docs/gst/tmpl/gstelement.sgml:
12699         * docs/gst/tmpl/gstinfo.sgml:
12700         * docs/gst/tmpl/gstobject.sgml:
12701         * gst/gstelement.c:
12702         * gst/gstelement.h:
12703         * gst/gstinfo.c:
12704         * gst/gstinfo.h:
12705         * gst/gstobject.c: (gst_object_class_init):
12706         * gst/gstobject.h:
12707           inlined 3 more biiiig doc files and added some missing docs on the fly
12708
12709 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12710
12711         * check/gst/.cvsignore:
12712         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
12713         * gst/gstregistryxml.c: (load_plugin),
12714         (gst_registry_xml_save_plugin):
12715           put back source in registry.  add checks for find_plugin.
12716         * testsuite/states/bin.c: (assert_state), (empty_bin),
12717         (test_adding_one_element), (main):
12718         * testsuite/states/locked.c: (main):
12719           some compile/run fixes
12720
12721 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12722
12723         * check/gst/gstvalue.c: (GST_START_TEST):
12724           fix leaks in the test itself
12725
12726 2005-09-22  Wim Taymans  <wim@fluendo.com>
12727
12728         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12729         (gst_base_sink_send_event), (gst_base_sink_peer_query),
12730         (gst_base_sink_query):
12731         Prepare for more accurate position reporting and query
12732         handling.
12733
12734         * gst/gstelement.c: (gst_element_send_event),
12735         (gst_element_set_state):
12736         Add some comment.
12737
12738 2005-09-22  Wim Taymans  <wim@fluendo.com>
12739
12740         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
12741         (gst_query_parse_segment):
12742         * gst/gstquery.h:
12743         More documentation.
12744         Add segment query for future use.
12745
12746 2005-09-22  Wim Taymans  <wim@fluendo.com>
12747
12748         * gst/gstbin.c: (gst_bin_add_func):
12749         Some more debug info.
12750
12751         * gst/gstelement.c: (gst_element_send_event):
12752         Simplify send_event
12753
12754         * gst/gstelement.h:
12755         Don't know how flags got broken.
12756
12757         * gst/gstquery.h:
12758         Added new query.
12759
12760 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12761
12762         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
12763           Add simplistic test suite for GST_TYPE_DATE serialisation and
12764           deserialisation.
12765
12766 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12767
12768         * docs/gst/gstreamer-sections.txt:
12769         * gst/gststructure.c: (gst_structure_set_valist),
12770         (gst_structure_get_date):
12771         * gst/gststructure.h:
12772         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
12773         (gst_date_copy), (gst_value_compare_date),
12774         (gst_value_serialize_date), (gst_value_deserialize_date),
12775         (gst_value_transform_date_string),
12776         (gst_value_transform_string_date), (_gst_value_initialize):
12777         * gst/gstvalue.h:
12778           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
12779           bunch of utility functions along with a hack that checks that
12780           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
12781           is required. Part of the grand scheme in #170777.
12782
12783 2005-09-22  Andy Wingo  <wingo@pobox.com>
12784
12785         * gst/gstconfig.h.in: Psych out gtk-doc.
12786
12787         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
12788
12789         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
12790
12791         * tools/gst-inspect.c (print_element_list): Plug some
12792         inconsequential leaks.
12793
12794         * gst/gstregistry.c (gst_registry_get_default): Doc.
12795
12796         * check/gst/gstplugin.c: 
12797         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
12798         * gst/gstelementfactory.c (gst_element_factory_create): 
12799         * gst/gstindexfactory.c (gst_index_factory_create): Update for
12800         refcount changes.
12801
12802         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
12803         (gst_plugin_feature_load): Doc, don't eat refs.
12804
12805         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
12806         (gst_plugin_list_free): Doc.
12807         (gst_plugin_load_file): Doc updates.
12808
12809         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
12810         accessors returning refcounted objects, return a ref.
12811
12812         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
12813         accessor for caps. IDEMPOTENCE. Oh yes.
12814
12815 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
12816
12817         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12818
12819         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
12820         (_gst_debug_register_funcptr):
12821           Add mutex to serialise access to the hash table with
12822           the function pointer => function name string mapping;
12823           make that hash table static scope (#316809).
12824
12825         * gst/registries/.cvsignore:
12826           Remove left-over file.
12827
12828 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
12829
12830         * docs/pwg/appendix-porting.xml:
12831           And something about newsegment events and caps-on-buffers to
12832           the porting guide (feel free to improve).
12833
12834 2005-09-21  Andy Wingo  <wingo@pobox.com>
12835
12836         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
12837         data and event probes on the same pad.
12838         (test_buffer_probe_once): Test that removing probes from within
12839         the probe functions works.
12840
12841 2005-09-21  Andy Wingo  <wingo@pobox.com>
12842
12843         * check/gst/gstutils.c: New file.
12844         (test_buffer_probe_n_times): A simple buffer probe test. More to
12845         come, foolios.
12846
12847         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
12848         have-data::buffer, not have-data.
12849         (gst_pad_add_event_probe): Likewise for have-data::event.
12850         (gst_pad_add_data_probe): More docs. The part about 'resolving the
12851         peer' isn't quite right yet though.
12852         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
12853         (gst_pad_remove_data_probe): Change to take the guint handler_id
12854         as their arg, not the function+data, which is more glib-like.
12855
12856         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
12857         the signal emission to indicate if the data is a buffer or an
12858         event.
12859         (gst_pad_get_type): Initialize buffer and event quarks.
12860         (gst_pad_class_init): have-data is now a detailed signal, yes it
12861         is.
12862
12863 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
12864
12865         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
12866         * gst/gstutils.c: (gst_util_set_value_from_string),
12867         (gst_util_set_object_arg):
12868           Don't put functional code in g_return_if_fail() or
12869           g_return_val_if_fail() statements, otherwise things will 
12870           break when G_DISABLE_CHECKS is defined during compilation.
12871
12872 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12873
12874         * docs/gst/tmpl/.cvsignore:
12875         * docs/gst/tmpl/gstvalue.sgml:
12876         * gst/gstvalue.c:
12877         * gst/gstvalue.h:
12878           inlied another one and added  some obvious docs
12879
12880 2005-09-21  Wim Taymans  <wim@fluendo.com>
12881
12882         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12883         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
12884         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
12885         (gst_fdsrc_get_property), (gst_fdsrc_create):
12886         * gst/elements/gstfdsrc.h:
12887         Properly implement fdsrc. Removed signal and timeout,
12888         better implemented somewhere else.
12889
12890 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12891
12892         * docs/gst/tmpl/.cvsignore:
12893         * docs/gst/tmpl/gstimplementsinterface.sgml:
12894         * gst/gstinterface.c:
12895           inlined more docs
12896
12897 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12898
12899         * docs/gst/gstreamer-sections.txt:
12900         * docs/gst/tmpl/.cvsignore:
12901         * docs/gst/tmpl/gstenumtypes.sgml:
12902           remove obsolete doc file
12903
12904 2005-09-21  David Schleef  <ds@schleef.org>
12905
12906         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
12907         little beer, fix a little leak.
12908
12909 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12910
12911         * docs/gst/gstreamer-docs.sgml:
12912         * docs/gst/gstreamer-sections.txt:
12913         * docs/gst/tmpl/.cvsignore:
12914         * gst/Makefile.am:
12915         * gst/gst.h:
12916         * gst/gstbin.c:
12917         * gst/gstelement.h:
12918         * gst/gstindex.c: (gst_index_class_init):
12919         * gst/gstindex.h:
12920         * gst/gstindexfactory.c: (gst_index_factory_get_type),
12921         (gst_index_factory_class_init), (gst_index_factory_init),
12922         (gst_index_factory_finalize), (gst_index_factory_new),
12923         (gst_index_factory_destroy), (gst_index_factory_find),
12924         (gst_index_factory_create), (gst_index_factory_make):
12925         * gst/gstindexfactory.h:
12926         * gst/gstpluginfeature.c:
12927         * gst/gstpluginfeature.h:
12928         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12929           more docs inlined, splitted gstindex.{c,h}
12930
12931 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12932
12933         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12934           fix a leak
12935
12936 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
12937
12938         * gst/elements/gstfilesink.c: (gst_file_sink_init):
12939           Set sync to FALSE by default.
12940
12941 2005-09-20  Wim Taymans  <wim@fluendo.com>
12942
12943         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12944         (gst_base_sink_init):
12945         Make sync property settable from subclass.
12946
12947         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
12948         (gst_fake_sink_change_state):
12949         Set sync to FALSE by default.
12950
12951 2005-09-20  Wim Taymans  <wim@fluendo.com>
12952
12953         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
12954         * tools/gst-launch.c: (main):
12955         The timeout handler should have lower priority than the source
12956         so we don't timeout before popping a message with 0 timeout.
12957         Dump error messages after failed state change.
12958
12959 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
12960
12961         * tools/gst-inspect.c: (print_element_properties_info):
12962           Fix two typos.
12963
12964 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12965
12966         * check/gst/gstevent.c:
12967         * gst/elements/gstfakesink.c:
12968         * gst/elements/gstfakesink.h:
12969           remove the sync property from fakesink.
12970           has the side effect of setting sync TRUE
12971           for fakesink, which is a change.  Anyone who knows how
12972           to fix this nicely in a GObject-y way, feel free.
12973
12974 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12975
12976         * docs/gst/gstreamer-docs.sgml:
12977           remove probe refsection
12978
12979 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12980
12981         * check/Makefile.am:
12982           disable valgrinding the controller test again
12983         * docs/gst/gstreamer-sections.txt:
12984           update for api-changes
12985
12986 2005-09-20  Wim Taymans  <wim@fluendo.com>
12987
12988         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12989         (gst_base_sink_set_property), (gst_base_sink_get_property),
12990         (gst_base_sink_do_sync):
12991         * gst/base/gstbasesink.h:
12992         Added sync property to basesink to disable clock sync.
12993
12994 2005-09-20  Andy Wingo  <wingo@pobox.com>
12995
12996         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
12997         eating the caller's refcount.
12998
12999         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
13000         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
13001         refcount.
13002
13003         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
13004         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
13005         of GLib 2.8 public, so we can know which refcount to check in
13006         tests.
13007
13008         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
13009         (gst_object_init): Only set the gst refcount if we're going ahead
13010         with the refcount hack.
13011
13012 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
13013
13014         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
13015         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13016           more leaks plumbed, added more debug-logging
13017         * gst/gstmacros.h:
13018           whitespace fix
13019
13020 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13021
13022         * gst/gstmessage.c:
13023           remove include of gstmemchunk.h
13024
13025 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13026
13027         * gst/gstclock.c: (_gst_clock_id_free):
13028           Commit from the Political Party For More Atomic CVS Commits,
13029           so that people don't waste too much of their day fishing
13030           out obvious leaks out of massive commits.
13031           Oh, and fix a pretty damn obvious leak in the memchunk
13032           removal code.
13033
13034 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
13035
13036         * check/Makefile.am:
13037         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
13038           plug mem-leak, re-add to valgrindable tests
13039
13040 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13041
13042         * gst/gstplugin.h:
13043           unbreak the build for those who have chronic arthritis
13044           and typing "make check" is just too taxing on the hands
13045
13046 2005-09-20  Andy Wingo  <wingo@pobox.com>
13047
13048         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
13049         really want it out, you should fix plugins at the same time.
13050
13051 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
13052
13053         * configure.ac:
13054         * docs/gst/gstreamer-sections.txt:
13055         * gst/gstobject.c:
13056           added missing symbols to api docs
13057           disable ref-count hack if we have glib >= 2.8
13058
13059 2005-09-19  David Schleef  <ds@schleef.org>
13060
13061         * docs/gst/Makefile.am: Ignore a few more internal headers
13062         * docs/gst/gstreamer-docs.sgml: Remove old sections
13063         * docs/gst/gstreamer-sections.txt: Remove old sections
13064         * docs/gst/tmpl/gstobject.sgml: update
13065         * docs/gst/tmpl/gstplugin.sgml: update
13066         * docs/gst/tmpl/gstpluginfeature.sgml: update
13067         * docs/random/ds/0.9-suggested-changes: update.
13068         * gst/Makefile.am: remove memchunk and trashstack, since they're
13069           not used.
13070         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
13071         * gst/gst.h: don't include some headers
13072         * gst/gstchildproxy.c: add gstmarshal.h
13073         * gst/gstclock.c: Don't use memchunks
13074         * gst/gstminiobject.c: Add some docs
13075         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
13076         * gst/gstobject.h: same
13077         * gst/gstplugin.c: include gstmacros.h
13078         * gst/gstplugin.h: don't include gstmacros.h, since it's private
13079         * gst/gstquery.c: don't use memchunks
13080         * gst/gstregistry.c: rename gst_registry_deinit()
13081         * gst/gstregistry.h: same
13082
13083 2005-09-19  David Schleef  <ds@schleef.org>
13084
13085         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
13086         * docs/libs/gstreamer-libs-sections.txt:
13087         * docs/libs/tmpl/gstgetbits.sgml:
13088         * docs/libs/tmpl/gstputbits.sgml:
13089
13090 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
13091
13092         * win32/gstenumtypes.c:
13093         * win32/gstenumtypes.h:
13094           Update.
13095
13096 2005-09-19  Wim Taymans  <wim@fluendo.com>
13097
13098         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
13099         Automatically PAUSE and RESUME a pipeline when a flushing seek
13100         is performed.
13101
13102 2005-09-19  Andy Wingo  <wingo@pobox.com>
13103
13104         * gst/gstregistry.h: Spacing fixen.
13105
13106 2005-09-19  Wim Taymans  <wim@fluendo.com>
13107
13108         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
13109         Handle state change failure more correctly.
13110
13111 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13112
13113         * check/Makefile.am:
13114         * check/pipelines/cleanup.c: (run_pipeline):
13115         * check/pipelines/simple_launch_lines.c: (run_pipeline),
13116         (GST_START_TEST):
13117           enable cleanup again after fixing the leak
13118         * docs/README:
13119           some more info on docs
13120
13121 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13122
13123         * check/Makefile.am:
13124           re-enable tests now that leaks are plugged
13125         * check/gst/gst.c:
13126         * check/gst/gstbin.c:
13127         * check/gst/gstpipeline.c:
13128           add some more tests while fixing leaks
13129         * common/check.mak:
13130           make sure binaries are uptodate when valgrinding/gdbing
13131         * gst/gst.c:
13132         * gst/gstelementfactory.c:
13133           remove a ref too many, and add a FIXME for when we get
13134           round to disposing of classes
13135         * gst/gstplugin.c:
13136           fix the refcounting when loading a plugin from a file and
13137           the code pretends that the pointer is the same even though
13138           of course it can change
13139         * gst/gstpluginfeature.c:
13140           unref plugins marked cached (a bit confusing as a name)
13141           as the docs state should be done
13142           various doc additions to explain refcounting
13143         * gst/gstregistry.c:
13144         * gst/gstregistryxml.c:
13145           debugging
13146
13147 2005-09-19  Wim Taymans  <wim@fluendo.com>
13148
13149         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
13150         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
13151         (send_messages), (GST_START_TEST), (gstbus_suite):
13152         * check/gst/gstpipeline.c: (GST_START_TEST):
13153         * check/pipelines/cleanup.c: (run_pipeline):
13154         * check/pipelines/simple_launch_lines.c: (run_pipeline),
13155         (GST_START_TEST):
13156         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
13157         (gst_bus_source_check), (gst_bus_source_dispatch),
13158         (gst_bus_create_watch), (gst_bus_add_watch_full),
13159         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
13160         * gst/gstbus.h:
13161         * tools/gst-launch.c: (event_loop):
13162         * tools/gst-md5sum.c: (event_loop):
13163         GstBusHandler -> GstBusFunc, return value has the same meaning as
13164         any other GSource (FALSE == remove source).
13165         _add_watch() and _add_watch_full() now take a MessageType mask to
13166         only handle specific types of messages.
13167         _poll() returns the GstMessage instead of the message type to avoid
13168         race conditions.
13169         _have_pending() takes a MessageType mask now too.
13170         Added testsuite for multiple bus watches.
13171         Fix testsuites and applications for new bus API.
13172
13173 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13174
13175         * check/Makefile.am:
13176           mark a bunch of the tests as to fix until we fix them
13177
13178 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13179
13180         * common/check.mak:
13181           use GST_PLUGIN settings for valgrind tests as well, so we're
13182           valgrinding the correct thing
13183         * gst/gst.c: (init_post):
13184           plug another leak
13185
13186 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13187
13188         * gst/gst.c: (init_post), (gst_deinit):
13189         * gst/gstelementfactory.c: (gst_element_factory_class_init),
13190         (gst_element_factory_finalize), (gst_element_factory_cleanup):
13191         * gst/gstindex.c: (gst_index_factory_class_init),
13192         (gst_index_factory_finalize):
13193         * gst/gstobject.c: (gst_object_dispose):
13194         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13195         (gst_plugin_load_file), (gst_plugin_desc_free):
13196         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
13197         (gst_plugin_feature_finalize):
13198         * gst/gstregistry.c: (gst_registry_class_init),
13199         (gst_registry_init), (gst_registry_finalize),
13200         (gst_registry_get_default), (gst_registry_deinit):
13201         * gst/gstregistry.h:
13202         * gst/gstregistryxml.c: (load_feature), (load_plugin):
13203           various cleanups and memleak plugging.  make valgrind is happy now.
13204
13205 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13206
13207         * common/check.mak:
13208           add a check-valgrind target
13209
13210 2005-09-18  David Schleef  <ds@schleef.org>
13211
13212         * tools/gst-inspect.c: Revert the GOption code.
13213
13214 2005-09-17  David Schleef  <ds@schleef.org>
13215
13216         * check/Makefile.am: Fix environment variables.
13217         * check/gst/gstplugin.c: Fix for API changes.
13218         * tools/gst-inspect.c: Fix for API changes.
13219         * tools/gst-xmlinspect.c: Fix for API changes.
13220         * gst/gstelementfactory.c:
13221         * gst/gstplugin.c:
13222         * gst/gstplugin.h:
13223         * gst/gstpluginfeature.c:
13224         * gst/gstpluginfeature.h:
13225         * gst/gstregistry.c:
13226         * gst/gstregistry.h:
13227         * gst/gstregistryxml.c:
13228         * gst/gsttypefind.c:
13229         * gst/gsttypefindfactory.c:
13230         * gst/indexers/gstfileindex.c:
13231         * gst/indexers/gstmemindex.c:
13232         * gst/schedulers/Makefile.am:
13233           Change registry to keep track of both plugins and features,
13234           removing the feature tracking from plugins themselves.
13235
13236 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13237
13238         * check/Makefile.am:
13239         * tools/gst-register.1.in:
13240           remove gst-register
13241
13242 2005-09-15  David Schleef  <ds@schleef.org>
13243
13244         * check/gst/gstplugin.c:
13245         * gst/gstelementfactory.c:
13246         * gst/gstplugin.c:
13247         * gst/gstpluginfeature.c:
13248         * gst/gstregistry.c:
13249           Getting tired of debugging.  Disabled all the unreffing of
13250           plugins and features, which fixes the segfaults, but of
13251           course leaks like crazy.  At least playbin works.
13252
13253 2005-09-15  David Schleef  <ds@schleef.org>
13254
13255         * check/gst/gstplugin.c: (register_check_elements),
13256         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
13257         More testing
13258         * gst/elements/gsttypefindelement.c: Fix refcounting.
13259         * gst/gsttypefind.c:
13260         * gst/gsttypefindfactory.c:
13261         * gst/gsttypefindfactory.h:
13262
13263 2005-09-15  David Schleef  <ds@schleef.org>
13264
13265         * gst/gstindex.c: get refcounting correct.
13266         * gst/gstregistry.c: Handle the case where a feature/plugin is
13267           not found.
13268
13269 2005-09-15  David Schleef  <ds@schleef.org>
13270
13271         * check/Makefile.am:
13272         * check/gst/gstplugin.c: Add test
13273         * gst/gstplugin.c: Fix problems noticed by testsuite
13274         * gst/gstplugin.h:
13275         * gst/gstregistry.c: 
13276         * gst/gstregistry.h:
13277
13278 2005-09-15  David Schleef  <ds@schleef.org>
13279
13280         * gst/gstplugin.c: Implement semi-decent recounting and locking
13281           in plugins and plugin features.
13282         * gst/gstplugin.h:
13283         * gst/gstpluginfeature.c:
13284         * gst/gstpluginfeature.h:
13285         * gst/gstregistry.c:
13286
13287 2005-09-15  Michael Smith <msmith@fluendo.com>
13288
13289         * gst/gstregistry.c: (gst_registry_get_feature_list):
13290           Implement this. Makes oggdemux work; decodebin still broken.
13291
13292 2005-09-14  David Schleef  <ds@schleef.org>
13293
13294         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
13295           #316076)
13296         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
13297         * gst/check/Makefile.am:
13298         * libs/gst/controller/Makefile.am:
13299         * libs/gst/dataprotocol/Makefile.am:
13300
13301 2005-09-14  David Schleef  <ds@schleef.org>
13302
13303         * configure.ac: Remove getbits library.  Nothing uses it, and
13304           it should be in something like liboil if someone did want
13305           to use it.
13306         * libs/gst/Makefile.am:
13307         * libs/gst/getbits/Makefile.am:
13308         * libs/gst/getbits/gbtest.c:
13309         * libs/gst/getbits/getbits.c:
13310         * libs/gst/getbits/getbits.h:
13311         * libs/gst/getbits/gstgetbits_generic.c:
13312         * libs/gst/getbits/gstgetbits_i386.s:
13313         * libs/gst/getbits/gstgetbits_inl.h:
13314
13315 2005-09-14  David Schleef  <ds@schleef.org>
13316
13317         * gst/Makefile.am: Dist glib-compat.h
13318
13319 2005-09-14  David Schleef  <ds@schleef.org>
13320
13321         * configure.ac: Remove gst/registries, since it's no longer used.
13322         * gst/registries/Makefile.am:
13323         * gst/registries/gstlibxmlregistry.c:
13324         * gst/registries/gstlibxmlregistry.h:
13325         * gst/registries/gstxmlregistry.c:
13326         * gst/registries/gstxmlregistry.h:
13327         * gst/registries/registrytest.c:
13328
13329 2005-09-14  David Schleef  <ds@schleef.org>
13330
13331         * gst/glib-compat.h:
13332         * gst/gstregistryxml.c:
13333           Convergence is near.  Seriously.
13334
13335 2005-09-14  David Schleef  <ds@schleef.org>
13336
13337         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13338         * gst/glib-compat.h:
13339           Attempt #4 to appease the buildbots.
13340
13341 2005-09-14  David Schleef  <ds@schleef.org>
13342
13343         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13344           Attempt #3.
13345
13346 2005-09-14  David Schleef  <ds@schleef.org>
13347
13348         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13349         Attempt #2.
13350
13351 2005-09-14  David Schleef  <ds@schleef.org>
13352
13353         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
13354           the new functions.
13355
13356 2005-09-14  David Schleef  <ds@schleef.org>
13357
13358         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13359         * gst/glib-compat.h: Add some functions that are in newer versions
13360           of glib than we care to require.
13361         * gst/gstregistryxml.c: Use them.
13362
13363 2005-09-14  David Schleef  <ds@schleef.org>
13364
13365         * po/POTFILES.in: remove gst-register.c
13366
13367 2005-09-14  David Schleef  <ds@schleef.org>
13368
13369         * docs/gst/gstreamer-docs.sgml:
13370         * docs/gst/gstreamer-sections.txt:
13371         * docs/gst/gstreamer.types:
13372         * docs/gst/tmpl/gstelement.sgml:
13373         * docs/gst/tmpl/gstplugin.sgml:
13374         * docs/gst/tmpl/gstpluginfeature.sgml:
13375           Documentation updates for registry changes.
13376
13377 2005-09-14  David Schleef  <ds@schleef.org>
13378
13379         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
13380           because we don't require glib-2.8.
13381
13382 2005-09-14  David Schleef  <ds@schleef.org>
13383
13384         * gst/gstregistryxml.c: Added.  Essentially moved out of the
13385           registries directory.
13386
13387 2005-09-14  David Schleef  <ds@schleef.org>
13388
13389         * check/Makefile.am:
13390         * check/generic/states.c:
13391         * gst/Makefile.am:
13392         * gst/gst.c:
13393         * gst/gst.h:
13394         * gst/gst_private.h:
13395         * gst/gstelementfactory.c:
13396         * gst/gstindex.c:
13397         * gst/gstinfo.c:
13398         * gst/gstplugin.c:
13399         * gst/gstplugin.h:
13400         * gst/gstpluginfeature.c:
13401         * gst/gstpluginfeature.h:
13402         * gst/gstregistry.c:
13403         * gst/gstregistry.h:
13404         * gst/gstregistrypool.c: remove
13405         * gst/gstregistrypool.h: remove
13406         * gst/gsttypefind.c:
13407         * gst/gsttypefindfactory.c:
13408         * gst/gsturi.c:
13409         * tools/Makefile.am:
13410         * tools/gst-compprep.c:
13411         * tools/gst-inspect.c:
13412         * tools/gst-register.c: remove
13413         * tools/gst-xmlinspect.c:
13414           Registry rewrite.  Changes registry from being a file created
13415           by a tool into a simple cache file created automatically by 
13416           libgstreamer.  Removed gst-register (because it's no longer
13417           needed).  Remove registry pools, because we only have one
13418           registry implementation (XML).  Fix up other subsystems as
13419           necessary.
13420
13421 2005-09-13  Michael Smith <msmith@fluendo.com>
13422
13423         * gst/gstconfig.h.in:
13424           Don't Use windows linking attributes for MinGW. Fixes #316157
13425
13426 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13427
13428         * gst/gstutils.c: (set_state_async_thread_func),
13429         (gst_element_set_state_async):
13430           Apparently people think it's better if this function doesn't
13431           try to set the state to whatever state was asked for on the first
13432           call to this function for any object.  Seriously.
13433
13434 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13435
13436         * check/gst/gstpipeline.c: (GST_START_TEST):
13437         * docs/gst/gstreamer-sections.txt:
13438         * gst/gstutils.c: (set_state_async_thread_func),
13439         (gst_element_set_state_async):
13440         * gst/gstutils.h:
13441           add a "gst_element_set_state_async" method that
13442           sets the state and starts a thread to make sure the state
13443           change completes as best as it can
13444
13445 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13446
13447         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13448           codify design+behaviour in testsuite after discussion
13449
13450 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13451
13452         * docs/gst/tmpl/gstelement.sgml:
13453         * docs/manual/appendix-quotes.xml:
13454           add a quote
13455         * gst/gstelement.c: (gst_element_set_state):
13456           add some debug
13457
13458 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
13459
13460         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13461         (gst_base_transform_prepare_output_buf),
13462         (gst_base_transform_handle_buffer):
13463         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
13464         (gst_capsfilter_prepare_buf):
13465           Remove the requirement for sub-classes to call the parent
13466           implementation of prepare_output_buffer with a wrapper function.
13467           
13468         * gst/gsttaglist.h:
13469         * gst/gsttagsetter.h:
13470           Fix #define wrapper
13471
13472 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
13473
13474         * docs/gst/gstreamer-sections.txt:
13475           more doc cleanups
13476
13477 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13478
13479         * docs/gst/gstreamer-sections.txt:
13480         * docs/gst/tmpl/gstelement.sgml:
13481         * docs/gst/tmpl/gstplugin.sgml:
13482         * gst/gstminiobject.c:
13483         * gst/gstvalue.h:
13484           docs now stop throwing warnings
13485
13486 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13487
13488         * docs/gst/gstreamer-sections.txt:
13489         * docs/gst/gstreamer.types:
13490         * docs/gst/tmpl/gstpad.sgml:
13491         * docs/gst/tmpl/gsttypes.sgml:
13492         * gst/base/gstadapter.h:
13493         * gst/base/gstbasesink.h:
13494         * gst/base/gstbasesrc.h:
13495         * gst/gstbin.h:
13496         * gst/gstbuffer.h:
13497         * gst/gstbus.h:
13498         * gst/gstcaps.h:
13499         * gst/gstclock.h:
13500         * gst/gstelement.h:
13501         * gst/gstevent.h:
13502         * gst/gstmessage.h:
13503         * gst/gstpad.h:
13504         * gst/gststructure.c:
13505         * gst/registries/gstlibxmlregistry.h:
13506           various documentation fixes
13507
13508 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13509
13510         * docs/gst/gstreamer-sections.txt:
13511         * docs/gst/tmpl/gstvalue.sgml:
13512           rearrange gstvalue section
13513         * gst/gstutils.c: (gst_element_state_get_name):
13514           NONE -> VOID
13515         * gst/gstvalue.c: (_gst_value_initialize):
13516         * gst/gstvalue.h:
13517           doc updates
13518
13519 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
13520
13521         * check/gst-libs/controller.c:
13522           Header include fix.
13523         * gst/base/gstbasetransform.c:
13524         (gst_base_transform_default_prepare_buf),
13525         (gst_base_transform_handle_buffer):
13526         * gst/base/gstbasetransform.h:
13527           Some more basetransform changes and fixes to enable sub-classes
13528           that modify buffer metadata only.
13529         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
13530         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
13531         (gst_capsfilter_prepare_buf):
13532           If the output pad has fixed allowed caps and input buffers 
13533           don't have any, set the fixed caps on outgoing buffers.
13534
13535 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
13536         * check/elements/identity.c: (GST_START_TEST):
13537           Make the error a little clearer when the test fails because
13538           identity made a copy of the buffer.
13539         * docs/gst/gstreamer-sections.txt:
13540           New symbols in gstbasetransform.h
13541         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13542         (gst_base_transform_init), (gst_base_transform_transform_size),
13543         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13544         (gst_base_transform_default_prepare_buf),
13545         (gst_base_transform_get_unit_size),
13546         (gst_base_transform_buffer_alloc),
13547         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13548         (gst_base_transform_change_state),
13549         (gst_base_transform_set_passthrough),
13550         (gst_base_transform_set_in_place),
13551         (gst_base_transform_is_in_place):
13552         * gst/base/gstbasetransform.h:
13553           Change BaseTransform to separate in_place operate from same_caps
13554           output. in_place implies that the element can perform the transform
13555           on incoming buffers in-place, even if the caps on the output are
13556           different.
13557           Sub-class elements can now implement special buffer allocation
13558           methods for outgoing buffers if they wish to.
13559           Big documentation addition.
13560         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
13561         * gst/elements/gstelements.c:
13562           Changes for basetransform modifications.
13563         * gst/elements/Makefile.am:
13564         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
13565           Compile fix. Extra debug output.
13566
13567 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13568
13569         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
13570         (gst_pad_suite):
13571           add tests for valid pad naming
13572         * gst/check/gstcheck.c: (gst_check_log_message_func),
13573         (gst_check_log_critical_func):
13574           add ASSERT_WARNING
13575           remove printing of code, it is fragile when the code contains
13576           % and the line number is enough info
13577         * gst/check/gstcheck.h:
13578         * gst/gstpad.c: (gst_pad_template_new):
13579           fix memleaks
13580
13581 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13582
13583         * configure.ac:
13584           say what CHECK flags we use
13585         * docs/libs/gstreamer-libs.types:
13586         * libs/gst/controller/Makefile.am:
13587         * libs/gst/controller/gst-controller.c:
13588         * libs/gst/controller/gst-controller.h:
13589         * libs/gst/controller/gst-helper.c:
13590         * libs/gst/controller/gst-interpolation.c:
13591         * libs/gst/controller/gstcontroller.c:
13592         * libs/gst/controller/gsthelper.c:
13593         * libs/gst/controller/gstinterpolation.c:
13594         * tools/gst-inspect.c: (print_plugin_info):
13595           we don't use dashes in header names
13596
13597 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13598
13599         * check/Makefile.am:
13600         * check/gst/.cvsignore:
13601         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
13602         (gst_pipeline_suite), (main):
13603           adding a test for pipelines and state changes
13604         * gst/gstutils.c: (get_state_func):
13605           add some debugging
13606         * gstreamer.spec.in:
13607           fix up spec file
13608
13609 2005-09-08  Michael Smith <msmith@fluendo.com>
13610
13611         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
13612         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
13613         (gst_file_src_is_seekable), (gst_file_src_get_size),
13614         (gst_file_src_start):
13615         * gst/elements/gstfilesrc.h:
13616           Various fixes for unseekable, unmmapable, and non-normal files, so
13617           that fallback to read() rather than mmap() works.
13618         * gst/gstevent.c: (gst_event_new_newsegment):
13619           Allow newsegment events with segment_start == segment_end, as will
13620           correctly happen if you use filesrc on a zero-size file, for
13621           example.
13622
13623 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
13624
13625         * gst/gstplugin.c: (gst_plugin_load_file):
13626           Call g_module_close when we don't load the module
13627
13628         * gst/registries/gstlibxmlregistry.c:
13629         (gst_xml_registry_get_property):
13630           Port leak fix from 0.8
13631
13632 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13633
13634         * docs/gst/gstreamer-docs.sgml:
13635         * docs/gst/tmpl/.cvsignore:
13636         * docs/gst/tmpl/gsttrace.sgml:
13637         * docs/gst/tmpl/gsttrashstack.sgml:
13638         * gst/Makefile.am:
13639         * gst/gst.h:
13640         * gst/gstelement.h:
13641         * gst/gstevent.h:
13642         * gst/gstmessage.c:
13643         * gst/gstmessage.h:
13644         * gst/gsttag.c:
13645         * gst/gsttag.h:
13646         * gst/gsttaginterface.c:
13647         * gst/gsttaginterface.h:
13648         * gst/gsttaglist.c:
13649         * gst/gsttaglist.h:
13650         * gst/gsttagsetter.c:
13651         * gst/gsttagsetter.h:
13652         * gst/gsttrace.c:
13653         * gst/gsttrace.h:
13654         * gst/gsttrashstack.c:
13655           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
13656           inlined docs for gsttrace, gsttrashstack
13657
13658 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13659
13660         * gst/Makefile.am:
13661         * gst/elements/gstbufferstore.h:
13662         * gst/elements/gsttypefindelement.c:
13663         * gst/elements/gsttypefindelement.h:
13664         * gst/gst.h:
13665         * gst/gsttypefind.c:
13666         * gst/gsttypefind.h:
13667         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
13668         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
13669         (gst_type_find_factory_dispose),
13670         (gst_type_find_factory_unload_thyself),
13671         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
13672         (gst_type_find_factory_get_caps),
13673         (gst_type_find_factory_get_extensions),
13674         (gst_type_find_factory_call_function):
13675         * gst/gsttypefindfactory.h:
13676         * gst/registries/gstlibxmlregistry.c:
13677         * gst/registries/gstxmlregistry.c:
13678           splitted gsttypefind into gsttypefind, gsttypefindfactory
13679
13680 2005-09-07  Andy Wingo  <wingo@pobox.com>
13681
13682         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
13683         condition whereby the pad's task function is entered before the
13684         pad_mode variable was set.
13685
13686 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
13687
13688         * gst/gstpad.c: (gst_pad_alloc_buffer):
13689           Catch misbehaving pad_alloc functions that don't
13690           set up caps and do it for them.
13691
13692 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13693
13694         * check/pipelines/simple_launch_lines.c: (run_pipeline):
13695           test for pipe!=NULL
13696         * docs/gst/tmpl/.cvsignore:
13697         * docs/gst/tmpl/gstmemchunk.sgml:
13698         * docs/gst/tmpl/gstparse.sgml:
13699         * docs/gst/tmpl/gsttaglist.sgml:
13700         * docs/gst/tmpl/gsttagsetter.sgml:
13701         * docs/gst/tmpl/gsttypefind.sgml:
13702         * docs/gst/tmpl/gsttypefindfactory.sgml:
13703         * gst/gstmemchunk.c:
13704         * gst/gstparse.c:
13705         * gst/gsttag.c:
13706         * gst/gsttaginterface.c:
13707         * gst/gsttypefind.c:
13708         * gst/gsttypefind.h:
13709           inlined more docs
13710
13711 === release 0.9.2 ===
13712
13713 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13714
13715         * NEWS:
13716         * RELEASE:
13717         * configure.ac:
13718           releasing 0.9.2, "South"
13719
13720 2005-09-05  Andy Wingo  <wingo@pobox.com>
13721
13722         * gst/registries/gstxmlregistry.h:
13723         * gst/registries/gstxmlregistry.c: Um... resurrect...
13724         
13725         * gst/registries/gstxmlregistry.h:
13726         * gst/registries/gstxmlregistry.c: and update to newer API.
13727         Incidentally they should be a bit faster now that they don't have
13728         to parse the caps.
13729         
13730 2005-09-05  Andy Wingo  <wingo@pobox.com>
13731
13732         * gst/registries/gstxmlregistry.h:
13733         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
13734         replaced by the libxml registry a while back
13735
13736 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13737
13738         * docs/gst/tmpl/gstplugin.sgml:
13739         * gst/elements/gstelements.c:
13740         * gst/gst.c:
13741         * gst/gstplugin.c: (gst_plugin_register_func),
13742         (gst_plugin_desc_copy), (gst_plugin_desc_free),
13743         (gst_plugin_get_source):
13744         * gst/gstplugin.h:
13745         * gst/registries/gstlibxmlregistry.c: (load_plugin),
13746         (gst_xml_registry_save_plugin):
13747         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
13748         (gst_xml_registry_save_plugin):
13749         * tools/gst-inspect.c: (print_plugin_info):
13750           add a "source" plugin description field, to represent the source
13751           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
13752           will set it to PACKAGE, which is automake's idea of the name of
13753           the source project.
13754
13755 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13756
13757         * Makefile.am:
13758         * autogen.sh:
13759         * configure.ac:
13760         * docs/Makefile.am:
13761         * docs/faq/Makefile.am:
13762         * docs/gst/tmpl/gstelement.sgml:
13763         * docs/gst/tmpl/gsttypes.sgml:
13764         * docs/htmlinstall.mak:
13765         * docs/manual/Makefile.am:
13766         * docs/pwg/Makefile.am:
13767           reorganize doc build a little
13768           split out docbook and gtk-doc stuff
13769           have two separate --enable's and enable them through autogen
13770           but disable by default in configure (to be similar to other
13771           projects)
13772         * gstreamer.spec.in:
13773           clean up docs install
13774         * po/af.po:
13775         * po/az.po:
13776         * po/ca.po:
13777         * po/cs.po:
13778         * po/de.po:
13779         * po/en_GB.po:
13780         * po/fr.po:
13781         * po/it.po:
13782         * po/nb.po:
13783         * po/nl.po:
13784         * po/ru.po:
13785         * po/sq.po:
13786         * po/sr.po:
13787         * po/sv.po:
13788         * po/tr.po:
13789         * po/uk.po:
13790         * po/vi.po:
13791           translation updates
13792
13793 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
13794
13795         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
13796           Add comment.
13797           
13798         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13799         (gst_fake_sink_change_state):
13800           Make state change function thread-safe.
13801           
13802         * gst/gstpad.c: (gst_pad_alloc_buffer):
13803           Set offset on generic buffer allocated by fallback.
13804
13805 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
13806
13807         * docs/gst/gstreamer-sections.txt:
13808         * docs/gst/tmpl/gstelement.sgml:
13809         * gst/gstpad.c:
13810         * libs/gst/controller/gst-controller.c:
13811         (gst_controlled_property_set_interpolation_mode),
13812         (gst_controlled_property_new),
13813         (gst_controller_find_controlled_property):
13814          run the wingo-magic script against the docs
13815
13816 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
13817
13818         * docs/gst/gstreamer-docs.sgml:
13819         * docs/gst/gstreamer-sections.txt:
13820         * docs/gst/tmpl/.cvsignore:
13821         * docs/gst/tmpl/gstelementdetails.sgml:
13822         * docs/gst/tmpl/gstelementfactory.sgml:
13823         * gst/gst.c:
13824         * gst/gstbus.c:
13825         * gst/gstelementfactory.c:
13826         * gst/gstelementfactory.h:
13827           merged elementdetails docs into elementfactory docs
13828           inlined both
13829
13830 2005-09-02  Andy Wingo  <wingo@pobox.com>
13831
13832         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
13833         consider this enum an enum and not a flags.
13834
13835 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
13836
13837         * docs/gst/gstreamer-docs.sgml:
13838         * docs/gst/tmpl/.cvsignore:
13839         * docs/gst/tmpl/gstghostpad.sgml:
13840         * docs/gst/tmpl/gstiterator.sgml:
13841         * docs/gst/tmpl/gstmacros.sgml:
13842         * docs/gst/tmpl/gstrealpad.sgml:
13843         * docs/gst/tmpl/gstregistry.sgml:
13844         * docs/gst/tmpl/gstregistrypool.sgml:
13845         * docs/gst/tmpl/gststructure.sgml:
13846         * docs/gst/tmpl/gstsystemclock.sgml:
13847         * docs/gst/tmpl/gsttrace.sgml:
13848         * gst/gstghostpad.c:
13849         * gst/gstmacros.h:
13850         * gst/gstmemchunk.c:
13851         * gst/gstmemchunk.h:
13852         * gst/gstqueue.c:
13853         * gst/gstregistry.c:
13854         * gst/gstregistrypool.c:
13855         * gst/gststructure.c:
13856         * gst/gstsystemclock.c:
13857           more docs inlined
13858
13859 2005-09-02  Andy Wingo  <wingo@pobox.com>
13860
13861         * gst/gstelement.h (GstState): Renamed from GstElementState,
13862         changed to be a normal enum instead of flags.
13863         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
13864         munged to be GST_STATE_CHANGE_*.
13865         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
13866         work with the new state representation.
13867         (GstStateChange): New enumeration of possible state transitions.
13868         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
13869         (GstElementClass::change_state): Pass the GstStateChange along as
13870         an argument. Helps language bindings, so they don't have to use
13871         tricky lock-needing macros like GST_STATE_CHANGE ().
13872
13873         * scripts/update-states (file): New script. Run it on a file to
13874         update it for state naming and API changes. Updates files in
13875         place.
13876
13877         * All files updated for the new API.
13878
13879 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13880
13881         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
13882         * gst/gstutils.c: (gst_util_set_value_from_string),
13883         (gst_util_set_object_arg):
13884           fix a bunch of unchecked return values
13885         * tools/gst-complete.c: (main):
13886         * gstreamer.spec.in:
13887           clean up a little
13888
13889 2005-09-01  Wim Taymans  <wim@fluendo.com>
13890
13891         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13892         (gst_base_sink_event), (gst_base_sink_do_sync),
13893         (gst_base_sink_handle_event):
13894         * gst/base/gstbasesink.h:
13895         Handle newsegments more correctly.
13896
13897         * gst/gstbus.c:
13898         Fix docs.
13899
13900         * gst/gstevent.c: (gst_event_new_newsegment):
13901         A newsegment cannot have a start_time of -1
13902
13903 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
13904
13905         * win32/gstenumtypes.c:
13906         * win32/gstenumtypes.h:
13907           Update
13908
13909 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
13910
13911         * libs/gst/controller/gst-controller.c:
13912         (gst_controlled_property_set_interpolation_mode),
13913         (gst_controlled_property_new):
13914          fixed boolean again
13915
13916 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
13917
13918         * docs/faq/gst-uninstalled:
13919           add -good
13920         * gst/gstevent.c:
13921         * gst/gstevent.h:
13922           remove wrong docs
13923         * gst/gstutils.c: (gst_element_link_filtered):
13924         * gst/gstutils.h:
13925           add gst_element_link_filtered
13926
13927 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
13928
13929         * docs/gst/gstreamer-docs.sgml:
13930         * docs/gst/gstreamer-sections.txt:
13931         * docs/gst/tmpl/.cvsignore:
13932         * docs/gst/tmpl/gsterror.sgml:
13933         * docs/gst/tmpl/gstfilter.sgml:
13934         * docs/gst/tmpl/gsturihandler.sgml:
13935         * docs/gst/tmpl/gsturitype.sgml:
13936         * docs/gst/tmpl/gstutils.sgml:
13937         * docs/gst/tmpl/gstxml.sgml:
13938         * gst/gsterror.c:
13939         * gst/gsterror.h:
13940         * gst/gstfilter.c:
13941         * gst/gsturi.c:
13942         * gst/gsturitype.c:
13943         * gst/gstutils.c:
13944         * gst/gstxml.c:
13945           inlined more docs, fixed double id-ref
13946
13947 2005-08-31  Wim Taymans  <wim@fluendo.com>
13948
13949         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13950         (gst_base_transform_handle_buffer):
13951         Passthrough elements don't need the caps as they don't care.
13952
13953 2005-08-31  Wim Taymans  <wim@fluendo.com>
13954
13955         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13956         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
13957         Don't leak refcounts on buffers.
13958
13959 2005-08-31  Wim Taymans  <wim@fluendo.com>
13960
13961         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
13962         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
13963         (gst_base_transform_chain), (gst_base_transform_change_state):
13964         * gst/base/gstbasetransform.h:
13965         Handle the case where we are not negotiated more gracefully.
13966
13967 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
13968
13969         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
13970         (gst_file_src_map_region):
13971           Set READONLY flag on mmap'ed buffers, otherwise
13972           gst_buffer_make_writable() won't work properly (#314708).
13973
13974 2005-08-31  Wim Taymans  <wim@fluendo.com>
13975
13976         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
13977         passthrough elements can even do inplace on non writable
13978         buffers (as they don't touch them).
13979
13980 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
13981
13982         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
13983         (gst_test_mono_source_set_property),
13984         (gst_test_mono_source_class_init), (GST_START_TEST),
13985         (gst_controller_suite):
13986           more tests (hehe I have the most)
13987         * gst/gstbus.c:
13988           describe popping messages whenusing mulltiple sources
13989         * libs/gst/controller/gst-controller.c:
13990         (gst_controlled_property_set_interpolation_mode),
13991         (gst_controlled_property_new):
13992         * libs/gst/controller/gst-controller.h:
13993         * libs/gst/controller/gst-interpolation.c:
13994           implement boolean properties
13995
13996 2005-08-31  Wim Taymans  <wim@fluendo.com>
13997
13998         * gst/gstminiobject.c: (gst_mini_object_ref):
13999         Cannot assert that the refcount has to be positive
14000         since a disposed object can be resurrected.
14001
14002 2005-08-31  Wim Taymans  <wim@fluendo.com>
14003
14004         * gst/gstpad.c: (gst_pad_init):
14005         Revert change, need to first fix badly behaving 
14006         apps.
14007
14008 2005-08-30  Wim Taymans  <wim@fluendo.com>
14009
14010         * check/elements/fakesrc.c: (setup_fakesrc):
14011         * check/elements/identity.c: (setup_identity):
14012         Activate pads before using them.
14013
14014 2005-08-30  Wim Taymans  <wim@fluendo.com>
14015
14016         * gst/base/gstadapter.c: (gst_adapter_flush):
14017         Flushing out 0 bytes is ok for this function.
14018
14019         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14020         no newsegment gives a warning and sets the start/stop to 
14021         invalid.
14022
14023         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
14024         (gst_base_transform_set_passthrough):
14025         Some debug info.
14026
14027         * gst/gstminiobject.c: (gst_mini_object_ref):
14028         Check refcount here too.
14029
14030         * gst/gstpad.c: (gst_pad_init):
14031         Pads are initially flushing and refusing data.
14032
14033         * gst/gstutils.c: (gst_element_link_pads_filtered):
14034         When adding a capsfilter element make sure it has the
14035         same state as the parent bin.
14036
14037 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
14038
14039         * docs/gst/tmpl/.cvsignore:
14040         * docs/gst/tmpl/gstformat.sgml:
14041         * docs/gst/tmpl/gstversion.sgml:
14042         * gst/gstbus.h:
14043         * gst/gstformat.c:
14044         * gst/gstformat.h:
14045         * gst/gstversion.h.in:
14046           more docs and two more inlined
14047
14048 2005-08-30  Wim Taymans  <wim@fluendo.com>
14049
14050         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
14051         Don't sync to clock.
14052
14053 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
14054
14055         * docs/gst/gstreamer-sections.txt:
14056           ultral33t func10ns deserve to appear in the docs actually
14057         * docs/gst/tmpl/.cvsignore:
14058         * docs/gst/tmpl/gstcompat.sgml:
14059         * docs/gst/tmpl/gstconfig.sgml:
14060         * gst/check/gstcheck.c:
14061         * gst/gstcompat.h:
14062         * gst/gstconfig.h.in:
14063           inlined more docs
14064
14065 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
14066
14067         * docs/gst/tmpl/.cvsignore:
14068         * docs/gst/tmpl/gstquery.sgml:
14069         * docs/gst/tmpl/gstutils.sgml:
14070         * gst/gstquery.c:
14071         * gst/gstquery.h:
14072           inlined and extended docs
14073
14074 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
14075
14076         * check/gst-libs/controller.c: (GST_START_TEST),
14077         (gst_controller_suite):
14078           more tests
14079         * docs/gst/tmpl/gstutils.sgml:
14080         * docs/libs/gstreamer-libs-sections.txt:
14081         * docs/libs/tmpl/gstdataprotocol.sgml:
14082           include path fixes
14083         * examples/controller/audio-example.c: (main):
14084           controller example works now
14085         * gst/gstclock.h:
14086           doc fixes
14087         * tools/gst-inspect.c: (print_element_properties_info):
14088           show param spec flags
14089
14090 2005-08-29  Andy Wingo  <wingo@pobox.com>
14091
14092         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
14093
14094 2005-08-28  Andy Wingo  <wingo@pobox.com>
14095
14096         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
14097         as having two arguments instead of just one. Allows superclasses
14098         to access information on subclasses -- see the terrible for() loop
14099         in gtype.c:g_type_create_instance for the reason why. All callers
14100         changed.
14101
14102 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
14103
14104         * docs/design/part-messages.txt:
14105           update info
14106         * docs/gst/tmpl/.cvsignore:
14107         * docs/gst/tmpl/gstcaps.sgml:
14108         * docs/gst/tmpl/gstclock.sgml:
14109         * gst/gstbus.c:
14110         * gst/gstcaps.c:
14111         * gst/gstcaps.h:
14112         * gst/gstclock.c:
14113         * gst/gstclock.h:
14114         * gst/gstmessage.c:
14115           added descriptions for bus and message
14116           inline caps and clock docs
14117
14118 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
14119
14120         * gst/gstmessage.c:
14121         * gst/gstmessage.h:
14122           doc fixes
14123
14124 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
14125
14126         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
14127           fix div-by-zero
14128
14129 2005-08-26  Andy Wingo  <wingo@pobox.com>
14130
14131         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
14132         element_set_state's return val.
14133         (test_2_elements): Add test that's been disabled for months.
14134
14135         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
14136         can-activate-pull properties.
14137
14138         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
14139         can-activate-pull properties. Implement is_seekable so fakesrc can
14140         operate in pull mode.
14141
14142         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
14143         properties.
14144         (gst_base_sink_activate, gst_base_sink_activate_pull)
14145         (gst_base_sink_activate_push): Make activation mode choosing work.
14146         Cleanups.
14147         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
14148         is right. Make pull mode work. Post an eos before pausing in pull
14149         mode.
14150         (gst_base_sink_change_state): Pay attention to the core's
14151         change_state() return val.
14152         
14153         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
14154         has-getrange properties. Cleanups.
14155         
14156         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
14157         has_getrange and replace with can_activate_pull and
14158         can_activate_push.
14159
14160         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
14161         locking comments. Remove has_loop, has_chain and replace with
14162         can_activate_pull and can_activate_push.
14163
14164 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
14165
14166         * configure.ac:
14167         * examples/Makefile.am:
14168         * examples/metadata/Makefile.am:
14169         * examples/metadata/read-metadata.c: (message_loop),
14170         (have_pad_handler), (make_pipeline), (print_tag), (main):
14171           Add metadata reading example that loops over a list of filenames,
14172           dumping any tags found.
14173
14174         * gst/gstbus.c: (gst_bus_dispose):
14175         * gst/gstelement.c: (gst_element_dispose):
14176           Release a few potentially-held references in dispose.
14177
14178 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
14179
14180         * docs/gst/tmpl/gstminiobject.sgml:
14181           do *not* add tmpl/*.sgml files to CVS!
14182
14183 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
14184
14185         * libs/gst/bytestream/.cvsignore:
14186         * libs/gst/bytestream/Makefile.am:
14187         * libs/gst/bytestream/adapter.c:
14188         * libs/gst/bytestream/adapter.h:
14189         * libs/gst/bytestream/bytestream.c:
14190         * libs/gst/bytestream/bytestream.h:
14191         * libs/gst/bytestream/filepad.c:
14192         * libs/gst/bytestream/filepad.h:
14193           removing obsolete files
14194
14195 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
14196
14197         * docs/gst/gstreamer-docs.sgml:
14198         * docs/libs/gstreamer-libs-docs.sgml:
14199           disabed additional index entries again, as this makes docs-gen just
14200           slow and they aren't useful yet
14201         * docs/libs/gstreamer-libs-sections.txt:
14202           little -section.txt cleanup for libs
14203
14204 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
14205
14206         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14207         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
14208           fix up some debugging
14209         (gst_base_transform_get_unit_size),
14210         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
14211         (gst_base_transform_handle_buffer):
14212         * gst/base/gstbasetransform.h:
14213           handle and store timed NEWSEGMENT events so that subclasses that
14214           calculate time by counting samples have a segment_start time they
14215           need to add to their timestamps - see audioresample
14216
14217 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
14218
14219         * gst/gstbin.h:
14220           removed ';' from the end of macro defs
14221         * docs/gst/gstreamer-docs.sgml:
14222         * docs/gst/gstreamer-sections.txt:
14223         * docs/gst/tmpl/.cvsignore:
14224         * gst/gstbus.h:
14225         * gst/gstelement.c: (gst_element_class_init),
14226         (gst_element_set_state), (activate_pads),
14227         (gst_element_save_thyself):
14228         * gst/gstevent.c: (gst_event_new_newsegment):
14229         * gst/gstevent.h:
14230         * gst/gstiterator.c:
14231         * gst/gstiterator.h:
14232         * gst/gstpad.c:
14233         * gst/gstprobe.h:
14234         * gst/gstutils.c: (gst_pad_query_convert):
14235         * gst/gstutils.h:
14236           fixed parameter name mismatches between source, header and docs
14237           added some more docs, resolved the last batch of unused elements in
14238           docs (now someone needs to doc them)
14239
14240 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
14241
14242         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
14243         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
14244           don't walk through the plugins backwards.  Where is all this
14245           reversed logic coming from ?
14246
14247 2005-08-25  Wim Taymans  <wim@fluendo.com>
14248
14249         * gst/base/gstbasetransform.c: (gst_base_transform_init),
14250         (gst_base_transform_transform_size),
14251         (gst_base_transform_configure_caps),
14252         (gst_base_transform_get_unit_size),
14253         (gst_base_transform_buffer_alloc),
14254         (gst_base_transform_change_state):
14255         * gst/base/gstbasetransform.h:
14256         Cache caps unit_size.
14257         Make sure we cannot negotiate up and downstream at the
14258         same time.
14259
14260 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
14261
14262         * gst/gst.c: (init_pre), (init_post):
14263           register the installed plugin path after the env var
14264         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
14265         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
14266           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
14267           directories, so the tests can prefer uninstalled over installed
14268
14269 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
14270
14271         * gst/base/gstbasetransform.h:
14272           comment
14273         * gst/gstpad.c:
14274           add to docs
14275
14276 2005-08-25  Wim Taymans  <wim@fluendo.com>
14277
14278         * gst/gstbin.c: (bin_bus_handler):
14279         Be a bit more conservative about the posted message.
14280         
14281         * gst/gstbus.c: (gst_bus_post):
14282         Some cleanups, warn wrong return values.
14283
14284 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
14285
14286         * check/gst/gstbin.c: (GST_START_TEST):
14287         * gst/gstbin.c: (bin_bus_handler):
14288         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14289         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14290         (gst_message_new_warning), (gst_message_new_tag),
14291         (gst_message_new_state_changed), (gst_message_new_segment_start),
14292         (gst_message_new_segment_done), (gst_message_new_custom):
14293         * gst/gstmessage.h:
14294         * tools/gst-launch.c: (event_loop):
14295         * tools/gst-md5sum.c: (event_loop):
14296           Revert unpopular change for GST_MESSAGE_SRC to GObject.
14297
14298 2005-08-25  Wim Taymans  <wim@fluendo.com>
14299
14300         * check/generic/states.c: (GST_START_TEST):
14301         Cleanup can be done at the end.
14302
14303         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
14304         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14305         (gst_task_get_state), (gst_task_start), (gst_task_pause):
14306         Oh boy.. Thanks for finding this, Thomas. 
14307
14308 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
14309
14310         * docs/gst/gstreamer.types:
14311           added missing types
14312
14313 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
14314
14315         * docs/gst/gstreamer-docs.sgml:
14316         * docs/gst/gstreamer-sections.txt:
14317         * docs/gst/tmpl/.cvsignore:
14318         * gst/gstbin.c:
14319         * gst/gstiterator.c:
14320         * gst/gstutils.c:
14321         * gst/registries/gstxmlregistry.h:
14322           added missing classes and symbols (123 more to go)
14323           removed removed symbols from section file
14324           fixed many doc-comments
14325
14326 2005-08-24  Wim Taymans  <wim@fluendo.com>
14327
14328         * check/generic/states.c: (GST_START_TEST):
14329         Make sure all tasks are stopped.
14330
14331         * check/gst/gstbin.c: (GST_START_TEST):
14332         Unref after usage for proper valgrinding.
14333
14334         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
14335         Really wait for the task to stop before destroying the
14336         mutex.
14337
14338         * gst/gstqueue.c: (gst_queue_sink_activate_push),
14339         (gst_queue_src_activate_push):
14340         Small cleanups. Don't stop the task when we did not start
14341         it.
14342
14343         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
14344         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14345         (gst_task_get_state), (gst_task_start), (gst_task_pause),
14346         (gst_task_join):
14347         * gst/gsttask.h:
14348         Protect the stream lock with the object lock.
14349         Disallow setting the stream lock when running.
14350         Add cleanup_all to wait for the threadpool to finish.
14351         Remove code to autoallocate a mutex if none was provided.
14352         Add _join() to wait for a task to stop.
14353         Protect the thread pool with a global lock.
14354
14355 2005-08-24  Wim Taymans  <wim@fluendo.com>
14356
14357         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14358         (gst_base_sink_get_times), (gst_base_sink_do_sync),
14359         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
14360         * gst/base/gstbasesink.h:
14361         Handle newsegment events correctly.
14362         Drop buffers out of the segment range.
14363
14364 2005-08-22  Andy Wingo  <wingo@pobox.com>
14365
14366         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
14367         macro, implements an interface and gstimplementsinterface for a
14368         new type.
14369
14370 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14371
14372         * check/Makefile.am:
14373         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
14374           add a test that does a bunch of state changes on elements
14375           needs some fixing for valgrind
14376         * check/states/sinks.c: (gst_object_suite):
14377           whitespace
14378         * gst/gstcaps.h:
14379           add prototype for gst_caps_is_equal_fixed
14380         * gst/gstplugin.c:
14381         * gst/gstregistrypool.c:
14382           doc fixes
14383
14384 2005-08-24  Andy Wingo  <wingo@pobox.com>
14385
14386         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
14387         convert a negative value. Doesn't make much sense. Mostly this is
14388         here to force callers to ensure -1 maps to -1.
14389
14390 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
14391
14392         * docs/pwg/advanced-types.xml:
14393           Well done to Michael for catching my deliberate introduction
14394           of this spelling mistake. 
14395         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
14396         * gst/gstelement.h:
14397           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
14398           unlink pads before removing the element from the bin.
14399
14400 2005-08-24  Andy Wingo  <wingo@pobox.com>
14401
14402         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
14403         the same thing as GST_DEBUG=*:4.
14404         (parse_debug_level, parse_debug_category): New helper parsers.
14405
14406 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14407
14408         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14409         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
14410         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
14411         (gst_base_transform_buffer_alloc),
14412         (gst_base_transform_handle_buffer):
14413           use gboolean return values and pointers to size so we can use the
14414           full GST_BUFFER_SIZE range (guint) for buffer sizes
14415           use GstPadDirection for transform_caps
14416         * gst/base/gstbasetransform.h:
14417           rename get_size to get_unit_size since that's what it is
14418         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
14419           use GstPadDirection for transform_caps
14420         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14421         * gst/gstutils.h:
14422           cleanup and debugging
14423
14424 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
14425
14426         * gst/gstelement.c: (gst_element_class_init),
14427         (gst_element_set_state), (activate_pads),
14428         (gst_element_save_thyself):
14429         * tools/gst-compprep.c: (main):
14430         * tools/gst-inspect.c: (print_element_properties_info):
14431         * tools/gst-xmlinspect.c: (print_element_properties):
14432           Fixed long standing mem-leak
14433
14434 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
14435
14436         * check/gst/gstbin.c: (GST_START_TEST):
14437         * gst/gstbin.c: (bin_bus_handler):
14438         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14439         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14440         (gst_message_new_warning), (gst_message_new_tag),
14441         (gst_message_new_state_changed), (gst_message_new_segment_start),
14442         (gst_message_new_segment_done), (gst_message_new_custom):
14443         * gst/gstmessage.h:
14444         * tools/gst-launch.c: (event_loop):
14445         * tools/gst-md5sum.c: (event_loop):
14446           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
14447           that applications can sensibly post custom messages with references
14448           to their own objects.
14449
14450 2005-08-24  Andy Wingo  <wingo@pobox.com>
14451
14452         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
14453         already.
14454
14455 2005-08-24  Wim Taymans  <wim@fluendo.com>
14456
14457         * gst/base/gstbasetransform.c: (gst_base_transform_init),
14458         (gst_base_transform_transform_caps),
14459         (gst_base_transform_transform_size),
14460         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14461         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14462         (gst_base_transform_handle_buffer):
14463         * gst/base/gstbasetransform.h:
14464         Many fixes and new features added by Thomas. Can now also do
14465         transforms with variable sizes and a custom fixate_caps function.
14466
14467 2005-08-24  Wim Taymans  <wim@fluendo.com>
14468
14469         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14470         Some debugging.
14471
14472         * gst/gstclock.h:
14473         Cast to ClockTime before formatting to time.
14474
14475         * gst/gstutils.h:
14476         Cleanups.
14477
14478 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
14479
14480         * check/gst-libs/controller.c: (GST_START_TEST),
14481         (gst_controller_suite):
14482         * docs/gst/tmpl/gstcaps.sgml:
14483         * docs/gst/tmpl/gstghostpad.sgml:
14484         * docs/gst/tmpl/gstquery.sgml:
14485         * docs/gst/tmpl/gstutils.sgml:
14486         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
14487         (gst_object_sink_values), (gst_object_get_value_arrays),
14488         (gst_object_get_value_array):
14489           gracefully handle helper method calls to objects that are not beeing
14490           controlled, added test case for that          
14491
14492 2005-08-23  Wim Taymans  <wim@fluendo.com>
14493
14494         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
14495         (gst_event_new_newsegment), (gst_event_parse_newsegment),
14496         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
14497         (gst_event_parse_qos), (gst_event_new_seek),
14498         (gst_event_parse_seek):
14499         * gst/gstevent.h:
14500         Some more debugging output and doc cleanups.
14501
14502         * gst/gstqueue.c: (gst_queue_handle_sink_event):
14503         Fix possible deadlock.
14504
14505 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14506
14507         * docs/gst/gstreamer-docs.sgml:
14508         * docs/gst/gstreamer-sections.txt:
14509         * docs/gst/gstreamer.types:
14510         * docs/gst/tmpl/.cvsignore:
14511         * gst/gstbin.h:
14512         * gst/gstbus.c:
14513         * gst/gstelement.c:
14514         * gst/gstevent.h:
14515           added 100 symbols from gstreamer-unused.txt to the right sections
14516           fixed more broken comments
14517           added GstBus to docs
14518
14519 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14520
14521         * docs/gst/gstreamer-sections.txt:
14522         * docs/gst/tmpl/.cvsignore:
14523         * docs/gst/tmpl/gstbin.sgml:
14524         * docs/gst/tmpl/gstbuffer.sgml:
14525         * gst/base/gstbasesrc.c:
14526         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
14527         * gst/gstbuffer.c:
14528         * gst/gstbuffer.h:
14529         * tools/gst-launch.1.in:
14530           inlined more doc comments, added missing comments and fixed comments
14531           fixed typos
14532
14533 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14534
14535         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14536           some debugging
14537         * gst/gstcaps.h:
14538           whitespace fixes
14539         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
14540           more debugging
14541         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
14542         * gst/gststructure.h:
14543           add a fixate function for booleans; add a FIXME that these func
14544           names should probably be gst_structure_fixate_*
14545
14546 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14547
14548         * docs/gst/gstreamer-docs.sgml:
14549         * docs/gst/gstreamer-sections.txt:
14550         * gst/Makefile.am:
14551         * gst/gstbin.c: (gst_bin_get_type),
14552         (gst_bin_child_proxy_get_child_by_index),
14553         (gst_bin_child_proxy_get_children_count),
14554         (gst_bin_child_proxy_init):
14555         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14556         (gst_child_proxy_get_child_by_index),
14557         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
14558         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
14559         (gst_child_proxy_get), (gst_child_proxy_set_property),
14560         (gst_child_proxy_set_valist), (gst_child_proxy_set),
14561         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
14562         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
14563         * gst/gstchildproxy.h:
14564         * gst/parse/grammar.y:
14565         * tools/gst-inspect.c: (print_interfaces),
14566         (print_element_properties_info), (print_element_info):
14567           ported gstchildproxy over from 0.8
14568           ported gst-inspect fixes and enhancements over from 0.8
14569
14570 2005-08-22  Wim Taymans  <wim@fluendo.com>
14571
14572         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14573         (gst_base_transform_handle_buffer):
14574         Also call the transform function if we have ANY caps.
14575
14576         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
14577         Fix debug info.
14578
14579 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
14580
14581         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
14582           Don't pretend to handle seek events if the source is not seekable
14583
14584 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
14585
14586         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14587           Remove extra parameter to debug output
14588
14589         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14590         (gst_base_src_do_seek), (gst_base_src_activate_push):
14591           Fix seek event handling.
14592
14593         * gst/gstpipeline.c: (gst_pipeline_change_state):
14594         * gst/gstqueue.c: (gst_queue_handle_sink_event),
14595         (gst_queue_src_activate_push):
14596           Don't start the src pad task on FLUSH_STOP if the pad
14597           isn't linked.
14598           Debug changes.
14599
14600 2005-08-22  Wim Taymans  <wim@fluendo.com>
14601
14602         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14603         Added check for gst_static_caps_get() refcounting.
14604
14605 2005-08-22  Wim Taymans  <wim@fluendo.com>
14606
14607         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
14608         Make _static_caps_get() refcounting sane.
14609         
14610         * gst/gstelement.c: (gst_element_set_state):
14611         Add g_return_val_if_fail() to protect against segfaults.
14612
14613 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
14614
14615         * docs/gst/tmpl/gstevent.sgml:
14616         * gst/gstevent.c:
14617         * gst/gstevent.h:
14618           inlined remaining docs, added missing doc comments
14619
14620 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14621
14622         * check/gst/gstbin.c: (GST_START_TEST):
14623           since we don't know when preroll is done, use refcount range
14624           check for the sink
14625         * gst/check/gstcheck.h:
14626           add macro for checking refcount range
14627
14628 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14629
14630         * check/Makefile.am:
14631           clean up environment for when registry gets built versus
14632           when actual tests are run; valgrind seems to not report
14633           leaks if GST_PLUGIN_PATH is set to some specific values
14634         * check/gst/gstbin.c: (GST_START_TEST):
14635           add more refcounting checks; maybe this exposes a
14636           preroll lock bug ?
14637         * common/check.mak:
14638         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14639         * gst/check/gstcheck.h:
14640         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
14641         (gst_bin_change_state):
14642         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
14643           add/fix debugging/whitespace
14644
14645 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
14646
14647         * check/gst/gstevent.c: (event_probe), (test_event),
14648         (GST_START_TEST):
14649          Er, don't call gst_bin_watch_for_state_change you idiot.
14650
14651 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
14652
14653         * check/Makefile.am:
14654           Use CHECK_CFLAGS and CHECK_LIBS
14655         * check/gst/gstevent.c: (event_probe), (test_event),
14656         (GST_START_TEST):
14657           Don't leak events.
14658         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14659         (gst_base_src_start), (gst_base_src_stop),
14660         (gst_base_src_activate_push), (gst_base_src_activate_pull),
14661         (gst_base_src_change_state):
14662           Sprinkle gst_base_src_stop liberally around error paths to fix
14663           problems reusing a source after failed state changes.
14664         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14665         (helper_find_suggest), (gst_type_find_helper):
14666           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
14667         * gst/gstevent.h:
14668         * docs/gst/tmpl/gstevent.sgml:
14669           Migrate part of the docs from the SGML file. Wait for ensonic to
14670           tell me how I did it wrong ;)
14671         * tools/gst-typefind.c: (main):
14672           Extra robustness to state changes between files.
14673
14674 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14675
14676         * check/Makefile.am:
14677           don't valgrind the controller test - it's leaking - Stefan, HELP
14678         * gst/check/gstcheck.c: (gst_check_message_error),
14679         (gst_check_chain_func), (gst_check_setup_element),
14680         (gst_check_teardown_element), (gst_check_setup_src_pad),
14681         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
14682         (gst_check_teardown_sink_pad):
14683         * gst/check/gstcheck.h:
14684           add a bunch of methods to set up elements, and src and sink pads
14685         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
14686         * check/elements/identity.c: (setup_identity), (cleanup_identity),
14687         (GST_START_TEST):
14688           use them
14689         * gst/gstmessage.c:
14690         * gst/gsttag.h:
14691           whitespace/doc fixes
14692
14693 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14694
14695         * gst/gstelement.h:
14696           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
14697           be handled by the application and not always printed as well
14698
14699 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14700
14701         * check/Makefile.am:
14702           set GST_TOOLS_DIR
14703         * gst/check/gstcheck.c: (gst_check_message_error):
14704         * gst/check/gstcheck.h:
14705           add a fail_unless_equals_int
14706           add fail_unless for error messages
14707
14708 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14709
14710         * check/Makefile.am:
14711         * check/gst.supp:
14712         * common/Makefile.am:
14713         * common/check.mak:
14714         * common/gst.supp:
14715           factor out some of the common stuff so we can use it
14716
14717 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14718
14719         * check/Makefile.am:
14720         * check/gst/gstiterator.c: (GST_START_TEST):
14721         * check/gst/gstsystemclock.c: (GST_START_TEST),
14722         (gst_systemclock_suite):
14723         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14724         * gst/gstclock.c:
14725           valgrind more tests
14726
14727 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14728
14729         * check/elements/.cvsignore:
14730         * check/elements/gstfakesrc.c:
14731           rename to name of element
14732         * check/elements/identity.c: (chain_func), (event_func),
14733         (setup_identity), (cleanup_identity), (GST_START_TEST),
14734         (identity_suite), (main):
14735           add a test for identity
14736         * check/Makefile.am:
14737         * pkgconfig/Makefile.am:
14738         * pkgconfig/gstreamer-check.pc.in:
14739         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14740         * gst/check:
14741         * gst/Makefile.am:
14742         * configure.ac:
14743           move the check stuff to a library that gets installed
14744         * check/gst-libs/controller.c: (GST_START_TEST):
14745         * check/gst-libs/gdp.c:
14746         * check/gst/gst.c: (GST_START_TEST):
14747         * check/gst/gstbin.c:
14748         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14749         * check/gst/gstbus.c:
14750         * check/gst/gstcaps.c: (GST_START_TEST):
14751         * check/gst/gstelement.c:
14752         * check/gst/gstghostpad.c:
14753         * check/gst/gstiterator.c:
14754         * check/gst/gstmessage.c:
14755         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
14756         * check/gst/gstobject.c:
14757         * check/gst/gstpad.c: (GST_START_TEST):
14758         * check/gst/gststructure.c: (GST_START_TEST):
14759         * check/gst/gstsystemclock.c: (GST_START_TEST),
14760         (gst_systemclock_suite):
14761         * check/gst/gsttag.c: (gst_tag_suite):
14762         * check/gst/gstvalue.c:
14763         * check/pipelines/cleanup.c:
14764         * check/pipelines/simple_launch_lines.c:
14765         * check/states/sinks.c:
14766           change include statement
14767
14768         * docs/gst/gstreamer-sections.txt:
14769         * docs/gst/tmpl/gstpad.sgml:
14770           document more pad stuff
14771         * gst/gstminiobject.c: (gst_mini_object_ref),
14772         (gst_mini_object_unref):
14773           debug refcounting
14774
14775 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
14776
14777         * docs/gst/tmpl/gst.sgml:
14778         * gst/gst.c:
14779           eliminate another tmpl file, fix spelling in the long-description
14780
14781 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14782
14783         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14784         (test_event), (timediff), (gstevents_suite):
14785           Should fix build on 64-bit arch's
14786
14787 2005-08-18  Andy Wingo  <wingo@pobox.com>
14788
14789         Make sure that when a pipeline goes to PLAYING, that data has
14790         actually hit the sink.
14791
14792         * check/states/sinks.c (test_sink): A sink that doesn't get any
14793         data shouldn't return SUCCESS for going to either PLAYING or
14794         PAUSED. Test also the return values on the way back down.
14795
14796         * gst/gstelement.c (gst_element_set_state): When changing the
14797         state of an element currently changing state asynchronously, go to
14798         lost-state after commiting the pending state. Makes future calls
14799         to get_state continue to return ASYNC.
14800
14801         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
14802         ASYNC when going to PLAYING if we still don't have preroll, as can
14803         happen with live sources.
14804
14805 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14806
14807         * docs/pwg/advanced-types.xml:
14808           Hack long paragraph into 2 chunks as a workaround for buggy
14809           jadetex version in sid and breezy that loops infinitely and
14810           eats all RAM.
14811
14812 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14813
14814         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14815         (test_event), (timediff), (gstevents_suite):
14816           Provide more error margin in clock measurements to allow for 
14817           g_get_current_time inaccuracies.
14818
14819 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14820
14821         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14822         (test_event), (timediff), (gstevents_suite):
14823            Fix error message output so I might be able to tell why the
14824            test works here but fails on the build farm.
14825
14826 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14827
14828         * check/Makefile.am:
14829         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14830         (test_event), (timediff), (gstevents_suite), (main):
14831           I wrote a test!
14832
14833         * docs/design/part-seeking.txt:
14834           Spelling correction
14835
14836         * docs/gst/tmpl/gstevent.sgml:
14837         * docs/gst/tmpl/gstfakesrc.sgml:
14838           Docs updates.
14839
14840         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14841           Treat a buffer-without-newsegment the same as a receiving 
14842           a newsegment not in time format, and disable syncing to the clock
14843           with a warning.
14844
14845         * gst/gstbus.c: (gst_bus_set_sync_handler):
14846           Assert if anyone tries to replace the existing sync_handler for bus, 
14847           as only the owner should be setting it.
14848
14849         * gst/gstevent.h:
14850           Have a fixed set of custom event enums with events identified by
14851           their structure name (as in 0.8), rather than a free-for-all
14852           allowing collisions between enum values from different plugins.
14853
14854         * gst/gstpad.c: (gst_pad_class_init):
14855           Docs change.
14856           
14857         * gst/gstqueue.c: (gst_queue_handle_sink_event):
14858           Handle out-of-band downstream events from the sending thread.
14859
14860 2005-08-17  Andy Wingo  <wingo@pobox.com>
14861
14862         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
14863         play-timeout==0 to mean no timeout at all. In that case, don't
14864         bother with a get_state or a warning, just return directly, even
14865         if it's ASYNC.
14866
14867         * gst/base/gstbasetransform.c: Debug changes.
14868
14869         * gst/gstutils.h:
14870         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
14871         ensure bins post state change messages. A bit of a hack but I can't
14872         think of a way to avoid it.
14873
14874         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
14875
14876 2005-08-16  Andy Wingo  <wingo@pobox.com>
14877
14878         * gst/base/gstadapter.h:
14879         * gst/base/gstadapter.c (gst_adapter_take): New function, like
14880         peek() but you own the data. Not terribly efficient atm.
14881
14882 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14883
14884         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
14885         (gst_element_found_tags):
14886         * gst/gstutils.h:
14887           Add two utility functions for tag handling.
14888
14889 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14890
14891         * docs/manual/advanced-dataaccess.xml:
14892         * docs/manual/basics-helloworld.xml:
14893           Fix docs to use _bin_add() before _link(), which fixes the examples
14894           with recent core versions (reported by Madhan Raj M
14895           <raj_madan@rediffmail.com>, #313199).
14896
14897 2005-08-16  Wim Taymans  <wim@fluendo.com>
14898
14899         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14900         Added subtract checks.
14901
14902         * docs/design/part-events.txt:
14903         Some more docs about newsegment
14904
14905         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
14906         Fix FIXME
14907
14908         * gst/gstcaps.c: (gst_caps_to_string):
14909         Add comments, cleanups.
14910         
14911         * gst/gstelement.c: (gst_element_save_thyself):
14912         cleanups
14913         
14914         * gst/gstvalue.c: (gst_value_collect_int_range),
14915         (gst_string_unwrap), (gst_value_union_int_int_range),
14916         (gst_value_union_int_range_int_range),
14917         (gst_value_intersect_int_int_range),
14918         (gst_value_intersect_int_range_int_range),
14919         (gst_value_intersect_double_double_range),
14920         (gst_value_intersect_double_range_double_range),
14921         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
14922         (gst_value_subtract_int_range_int),
14923         (gst_value_subtract_double_range_double),
14924         (gst_value_subtract_double_range_double_range),
14925         (gst_value_subtract_from_list), (gst_value_subtract_list),
14926         (gst_value_can_compare), (gst_value_compare_fraction):
14927         Cleanups, add comments, remove unneeded asserts.
14928
14929 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14930
14931         * tools/gst-launch.c: (event_loop):
14932           don't convert NULL structures to strings
14933
14934 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
14935
14936         * docs/gst/gstreamer-sections.txt:
14937           made some defines private
14938         * docs/gst/tmpl/gstconfig.sgml:
14939         * docs/gst/tmpl/gstqueue.sgml:
14940         * docs/gst/tmpl/gsttaglist.sgml:
14941         * docs/gst/tmpl/gsttypes.sgml:
14942         * docs/gst/tmpl/gstutils.sgml:
14943         * docs/pwg/appendix-porting.xml:
14944         * gst/base/gstbasesink.h:
14945         * gst/base/gstbasesrc.c:
14946         * gst/base/gstbasesrc.h:
14947         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
14948         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
14949         * gst/gstelement.c: (gst_element_class_init):
14950         * gst/gstpad.c: (gst_pad_class_init):
14951         * gst/gstqueue.c: (gst_queue_class_init):
14952         * gst/gstxml.c: (gst_xml_class_init):
14953           documented all undocumented signal inline
14954         * libs/gst/controller/gst-controller.h:
14955           added padding
14956
14957 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14958
14959         * docs/pwg/appendix-porting.xml:
14960           Document _set_link_function -> _set_setcaps_function.
14961
14962 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14963
14964         * check/Makefile.am:
14965           add a .check target for running the check
14966         * check/gst-libs/controller.c: (GST_START_TEST):
14967           cosmetic fixups
14968         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14969           complete checks for gstbuffer; would be nice if I could get the
14970           gcov stuff to work so I can see if I actually completed gstbuffer.c
14971         * check/gstcheck.h:
14972           add ASSERT_BUFFER_REFCOUNT
14973
14974 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
14975
14976         * docs/gst/gstreamer-sections.txt:
14977         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
14978         * gst/gsttag.h:
14979           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
14980           spew out a warning if a tag that is already registered
14981           is re-registered, unless it is re-registered with a 
14982           different type (#308438).
14983
14984 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
14985
14986         * docs/pwg/appendix-porting.xml:
14987         * docs/pwg/building-state.xml:
14988           Add some paragraphs about state changes in 0.9 to the PWG
14989           and the porting guide, in particular about the new meaning
14990           of GST_STATE_PAUSED and how to write state change functions
14991           with concurrent access by multiple threads in mind.
14992
14993 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
14994
14995         * docs/gst/gstreamer-docs.sgml:
14996         * docs/libs/gstreamer-libs-docs.sgml:
14997           added deprecation and since indexes
14998         * libs/gst/controller/gst-controller.c:
14999         * libs/gst/controller/gst-helper.c:
15000           added since tags
15001
15002
15003 2005-08-11  Wim Taymans  <wim@fluendo.com>
15004
15005         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
15006         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
15007         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
15008         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
15009         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
15010         (gst_ghost_pad_set_target):
15011         Actually implement (re)setting the target on a ghostpad
15012         as described in the docs.
15013
15014 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
15015
15016         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
15017           Check whether GST_DEBUG_NO_COLOR environment variable is
15018           set and disable coloured debug output if that is the case.
15019
15020 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
15021
15022         * gst/base/gsttypefindhelper.c: (helper_find_peek),
15023         (gst_type_find_helper):
15024           The memory returned by gst_type_find_peek() needs to
15025           stay valid until the end of a typefind function, and
15026           typefind functions may keep results from different 
15027           offsets around, so we can't just unref the buffer from
15028           the previous _peek(), but have to save all buffers 
15029           returned by _peek() until typefinding is done and only
15030           free them then.
15031
15032 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
15033
15034         * docs/gst/gstreamer-sections.txt:
15035         * gst/gstutils.h:
15036           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
15037
15038 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15039
15040         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
15041           Fix a pretty good memleak.
15042
15043 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
15044
15045         * gst/gstiterator.h:
15046           Fix wrong include and 'make distcheck'.
15047
15048 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15049
15050         * gst/gstbin.c: (bin_bus_handler):
15051           Use gst_element_post_message() instead.
15052
15053 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
15054
15055         * gst/base/gstadapter.h:
15056         * gst/base/gstbasesink.h:
15057         * gst/base/gstbasesrc.h:
15058         * gst/base/gstbasetransform.h:
15059         * gst/base/gstcollectpads.h:
15060         * gst/base/gstpushsrc.h:
15061         * gst/gstiterator.h:
15062           Add padding to our base elements' class and instance structs and
15063           to GstIterator (you will need to rebuild all plugins and apps!)
15064
15065 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15066
15067         * gst/gstbin.c: (bin_bus_handler):
15068           Make default message forwarding from child->bus to bin->bus
15069           threadsafe and make it not emit warnings if the parent has no bus.
15070
15071 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15072
15073         * gst/gstelement.c: (activate_pads):
15074           On paused->ready, set pad->caps to NULL, as is the documented
15075           behaviour in this state change. Fixes playback of series of
15076           media files when visualization is enabled in Totem.
15077
15078 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15079
15080         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
15081           Allow NULL as filter-caps (which means "any").
15082
15083 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
15084
15085         * docs/libs/gstreamer-libs-sections.txt:
15086         * libs/gst/controller/gst-controller.c:
15087         * libs/gst/controller/gst-controller.h:
15088         * libs/gst/controller/gst-helper.c:
15089           adding more entries to the docs and fix small doc-bugs
15090
15091 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
15092
15093         * docs/gst/gstreamer-docs.sgml:
15094         * docs/gst/gstreamer-sections.txt:
15095         * docs/gst/gstreamer.types:
15096         * docs/gst/tmpl/gstbasesink.sgml:
15097         * docs/gst/tmpl/gstbasesrc.sgml:
15098         * docs/gst/tmpl/gstbasetransform.sgml:
15099         * docs/gst/tmpl/gstfakesrc.sgml:
15100         * gst/base/gstcollectpads.c:
15101         * gst/base/gstcollectpads.h:
15102         * libs/gst/controller/gst-controller.c:
15103         * libs/gst/controller/gst-controller.h:
15104         * libs/gst/controller/gst-helper.c:
15105         * libs/gst/controller/gst-interpolation.c:
15106         * libs/gst/controller/lib.c:
15107           added long/short desc for controller docs
15108           added collectpads base class docs
15109           added correct includes to base-class docs
15110
15111 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
15112
15113         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
15114         (gst_test_mono_source_set_property),
15115         (gst_test_mono_source_class_init), (GST_START_TEST),
15116         (gst_controller_suite):
15117         * docs/gst/gstreamer-docs.sgml:
15118         * docs/gst/gstreamer-sections.txt:
15119         * docs/gst/gstreamer.types:
15120         * docs/libs/gstreamer-libs-docs.sgml:
15121         * docs/libs/gstreamer-libs-sections.txt:
15122         * gst/base/gstadapter.c:
15123         * libs/gst/controller/gst-controller.c:
15124         (gst_controlled_property_new), (gst_controlled_property_free),
15125         (gst_controller_new_valist),
15126         (gst_controller_remove_properties_valist),
15127         (gst_controller_sink_values), (_gst_controller_finalize):
15128         * libs/gst/controller/gst-controller.h:
15129         * libs/gst/controller/gst-helper.c:
15130         (gst_object_control_properties), (gst_object_uncontrol_properties),
15131         (gst_object_get_controller), (gst_object_set_controller),
15132         (gst_object_sink_values), (gst_object_get_value_arrays),
15133         (gst_object_get_value_array):
15134           more tests (and fixes) for the controller
15135           more docs for the controller
15136           integrated companies docs for the adapter 
15137
15138 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15139
15140         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
15141         (GST_START_TEST), (fakesrc_suite):
15142           add tests for sizetype
15143
15144 2005-08-04  Andy Wingo  <wingo@pobox.com>
15145
15146         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
15147         fixes buffer_alloc proxying among other things.
15148
15149         * gst/base/gstbasetransform.c:
15150         * gst/base/gstbasetransform.h:
15151         Revert patch to gstbasetransform from 7-28 removing
15152         delay_configure.
15153
15154         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
15155         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
15156         Semantics changed, should return not the size of the output buffer
15157         but the byte size of a buffer with a given caps.
15158
15159         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
15160         debug object.
15161         (gst_base_transform_configure_caps): Don't set out_size here: (in,
15162         out) are not the pad caps until setcaps finishes.
15163         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
15164         not-in-place case as well. Deal with changing from in-place to
15165         not-in-place within calling pad_alloc_buffer. Still a bit
15166         concerned about the overhead here...
15167
15168 2005-08-03  Andy Wingo  <wingo@pobox.com>
15169
15170         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
15171         fixating is an error.
15172
15173 2005-08-04  Edward Hervey  <edward@fluendo.com>
15174
15175         * gst/base/gstadapter.h: 
15176         Added gst_adapter_get_type() to the header
15177
15178 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
15179
15180         * check/Makefile.am:
15181         * check/gst-libs/controller.c:
15182         * libs/gst/controller/gst-controller.c:
15183         (gst_controller_new_valist):
15184           added check test suite for the controller
15185         * gst/base/gstpushsrc.c:
15186           fixed a doc typo
15187
15188 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
15189
15190         * docs/gst/Makefile.am:
15191         * docs/gst/gstreamer-docs.sgml:
15192         * docs/gst/gstreamer-sections.txt:
15193         * docs/gst/gstreamer.types:
15194         * docs/gst/tmpl/gstfakesrc.sgml:
15195         * gst/base/README:
15196         * gst/base/gstbasesink.c:
15197         * gst/base/gstbasesink.h:
15198         * gst/base/gstbasesrc.c:
15199         * gst/base/gstbasesrc.h:
15200         * gst/base/gstbasetransform.c:
15201         * gst/base/gstpushsrc.c:
15202         * gst/base/gstpushsrc.h:
15203           add short/long description docs to base classes
15204           add pushsrc to the docs
15205           remove consolidated doc fragments
15206
15207 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
15208
15209         * configure.ac:
15210         * docs/libs/Makefile.am:
15211         * docs/libs/gstreamer-libs-docs.sgml:
15212         * docs/libs/gstreamer-libs-sections.txt:
15213         * docs/libs/gstreamer-libs.types:
15214         * examples/Makefile.am:
15215         * examples/controller/.cvsignore:
15216         * examples/controller/Makefile.am:
15217         * examples/controller/audio-example.c: (main):
15218         * libs/gst/Makefile.am:
15219         * libs/gst/controller/.cvsignore:
15220         * libs/gst/controller/Makefile.am:
15221         * libs/gst/controller/gst-controller.c:
15222         (on_object_controlled_property_changed), (gst_timed_value_compare),
15223         (gst_timed_value_find),
15224         (gst_controlled_property_set_interpolation_mode),
15225         (gst_controlled_property_new), (gst_controlled_property_free),
15226         (gst_controller_find_controlled_property),
15227         (gst_controller_new_valist), (gst_controller_new),
15228         (gst_controller_remove_properties_valist),
15229         (gst_controller_remove_properties), (gst_controller_set),
15230         (gst_controller_set_from_list), (gst_controller_unset),
15231         (gst_controller_get), (gst_controller_get_all),
15232         (gst_controller_sink_values), (gst_controller_get_value_arrays),
15233         (gst_controller_get_value_array),
15234         (gst_controller_set_interpolation_mode),
15235         (_gst_controller_finalize), (_gst_controller_init),
15236         (_gst_controller_class_init), (gst_controller_get_type):
15237         * libs/gst/controller/gst-controller.h:
15238         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
15239         (g_object_uncontrol_properties), (g_object_get_controller),
15240         (g_object_set_controller), (g_object_sink_values),
15241         (g_object_get_value_arrays), (g_object_get_value_array):
15242         * libs/gst/controller/gst-interpolation.c:
15243         (gst_controlled_property_find_timed_value_node),
15244         (interpolate_none_get), (interpolate_trigger_get),
15245         (interpolate_trigger_get_value_array):
15246         * libs/gst/controller/lib.c: (gst_controller_init):
15247         * pkgconfig/Makefile.am:
15248         * pkgconfig/gstreamer-control-uninstalled.pc.in:
15249         * pkgconfig/gstreamer-control.pc.in:
15250         * testsuite/Makefile.am:
15251         * testsuite/controller/.cvsignore:
15252         * testsuite/controller/Makefile.am:
15253         * testsuite/controller/interpolator.c: (main):
15254           added controller code
15255           removed dparam pc files
15256
15257 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
15258         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
15259         (gst_collectpads_stop):
15260           Broadcast the condition when shutting down, to make sure we wake all
15261           threads up. Shut down pads on finalize, for safety.
15262
15263 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
15264         * gst/base/gstbasetransform.c: (gst_base_transform_init),
15265         (gst_base_transform_handle_buffer),
15266         (gst_base_transform_change_state):
15267           Handle PAUSED->READY->PAUSED transition after negotiation
15268           occurred already.
15269         * gst/gstmessage.c: (gst_message_init):
15270           Extra piece of debug for new messages.
15271
15272 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
15273
15274         * configure.ac:
15275         * docs/gst/tmpl/gstbasesrc.sgml:
15276         * docs/gst/tmpl/gstelement.sgml:
15277         * docs/gst/tmpl/gstevent.sgml:
15278         * docs/gst/tmpl/gstfakesrc.sgml:
15279         * docs/gst/tmpl/gstformat.sgml:
15280         * docs/gst/tmpl/gstghostpad.sgml:
15281         * docs/gst/tmpl/gstpad.sgml:
15282         * docs/gst/tmpl/gstquery.sgml:
15283         * docs/gst/tmpl/gststructure.sgml:
15284         * docs/gst/tmpl/gsttaglist.sgml:
15285         * docs/gst/tmpl/gstvalue.sgml:
15286         * docs/libs/gstreamer-libs-docs.sgml:
15287         * docs/libs/gstreamer-libs-sections.txt:
15288         * docs/libs/gstreamer-libs.types:
15289         * libs/gst/Makefile.am:
15290         * libs/gst/control/.cvsignore:
15291         * libs/gst/control/Makefile.am:
15292         * libs/gst/control/control.c:
15293         * libs/gst/control/control.h:
15294         * libs/gst/control/dparam.c:
15295         * libs/gst/control/dparam.h:
15296         * libs/gst/control/dparam_smooth.c:
15297         * libs/gst/control/dparam_smooth.h:
15298         * libs/gst/control/dparamcommon.h:
15299         * libs/gst/control/dparammanager.c:
15300         * libs/gst/control/dparammanager.h:
15301         * libs/gst/control/dplinearinterp.c:
15302         * libs/gst/control/dplinearinterp.h:
15303         * libs/gst/control/unitconvert.c:
15304         * libs/gst/control/unitconvert.h:
15305         * testsuite/Makefile.am:
15306         * testsuite/dynparams/.cvsignore:
15307         * testsuite/dynparams/Makefile.am:
15308         * testsuite/dynparams/dparamstest.c:
15309         * tools/Makefile.am:
15310         * tools/gst-inspect.c: (print_element_info), (main):
15311         * tools/gst-xmlinspect.c: (print_element_info), (main):
15312           deactivate and remove dparams (libgstcontrol)
15313
15314 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
15315
15316         * gst/elements/gsttypefindelement.c:
15317         (gst_type_find_element_have_type), (gst_type_find_element_init),
15318         (stop_typefinding), (gst_type_find_element_handle_event),
15319         (gst_type_find_element_chain), (gst_type_find_element_getrange):
15320         * gst/elements/gsttypefindelement.h:
15321           Set caps on all outgoing buffers, not just the first one.
15322
15323 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
15324
15325         * gst/elements/gsttypefindelement.c:
15326         (gst_type_find_element_have_type),
15327         (gst_type_find_element_check_set_buffer_caps),
15328         (gst_type_find_element_init), (stop_typefinding),
15329         (gst_type_find_element_handle_event),
15330         (gst_type_find_element_chain), (gst_type_find_element_getrange):
15331         * gst/elements/gsttypefindelement.h:
15332           Set caps on first outgoing buffer when we've found the type.
15333
15334 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
15335
15336         * docs/gst/gstreamer-docs.sgml:
15337         * docs/gst/gstreamer-sections.txt:
15338         * docs/gst/tmpl/gstscheduler.sgml:
15339         * docs/gst/tmpl/gstschedulerfactory.sgml:
15340           Remove some old cruft from docs.
15341
15342 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
15343
15344         * gst/gstpad.h:
15345           Fix inline docs for GstPadLinkReturn.
15346           
15347         * gst/gststructure.c: (gst_structure_has_name):
15348         * gst/gststructure.h:
15349         * docs/gst/gstreamer-sections.txt:
15350           New API: gst_structure_has_name().
15351
15352 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
15353
15354         * configure.ac:
15355           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
15356           and _LARGEFILE_SOURCE in config.h as required. Do not 
15357           export those flags in our .pc files any longer (#142209).
15358
15359           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
15360
15361         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
15362         (gst_file_sink_do_seek), (gst_file_sink_event),
15363         (gst_file_sink_get_current_offset), (gst_file_sink_render):
15364           Redo seek/tell calls with large file support in mind; add some
15365           debugging messages; add log message that tells us when large
15366           file support is unavailable or not enabled for some reason.
15367
15368         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
15369           Add log message that tells us when large file support 
15370           is unavailable or not enabled for some reason.
15371
15372 2005-07-29  Wim Taymans  <wim@fluendo.com>
15373
15374         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15375         Added test for removing an element with ghostpad from a bin.
15376         Fixed test as current implementation does the right thing.
15377
15378         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
15379         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
15380         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
15381         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
15382         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
15383         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
15384         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
15385         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
15386         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
15387         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
15388         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
15389         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
15390         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
15391         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
15392         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
15393         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
15394         * gst/gstghostpad.h:
15395         Clean up ghostpads, remove properties for internal stuff.
15396         Make threadsafe.
15397         Fix refcounting.
15398         Prepare for switching targets, not all use cases work yet.
15399
15400 2005-07-29  Wim Taymans  <wim@fluendo.com>
15401
15402         * docs/design/part-gstghostpad.txt:
15403         Small update.
15404
15405         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15406         (gst_bin_remove_func):
15407         Unlinking pads while holding the bin LOCK is not a good
15408         idea.
15409
15410         * gst/gstpad.c: (gst_pad_class_init),
15411         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
15412         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
15413         No prob setting template after creating the pad.
15414
15415 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
15416
15417         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
15418         (gst_bus_peek), (gst_bus_source_dispatch),
15419         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
15420         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
15421           gst_bus_poll may be called from other threads. Handle
15422           this nicely by not making poll_data disappear off the
15423           stack once gst_bus_poll returns.
15424           gst_bus_peek now increments the refcount on the returned
15425           message.
15426
15427 2005-07-29  Wim Taymans  <wim@fluendo.com>
15428
15429         * docs/design/part-gstghostpad.txt:
15430         Overview of current GhostPad datastructures and use
15431         cases for changing the target.
15432
15433 2005-07-28  Wim Taymans  <wim@fluendo.com>
15434
15435         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15436         Added checks for hierarchy consistency whan adding linked
15437         elements to bins.
15438
15439         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15440         Added check to test element scheduling without bin/pipeline.
15441
15442         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15443         First add elements to bin, then link.
15444         
15445         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15446         (gst_bin_remove_func):
15447         Unlink pads from elements added/removed from bin to maintain
15448         hierarchy consistency.
15449
15450 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15451
15452         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
15453         (gst_base_transform_handle_buffer):
15454         * gst/base/gstbasetransform.h:
15455           Remove broken delay_configure (fixes renegotiation of software
15456           scaling pipelines); remove some leftover printf()s.
15457
15458 2005-07-28  Wim Taymans  <wim@fluendo.com>
15459
15460         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15461         Added some more tests for wrong hierarchy
15462
15463         * docs/design/part-overview.txt:
15464         Some updates.
15465
15466         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
15467         Cleanups.
15468
15469         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
15470         (gst_element_dispose):
15471         Some more cleanups.
15472
15473         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15474         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
15475         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15476         (gst_pad_set_caps), (gst_pad_send_event):
15477         Check for correct hierarchy when linking pads. Moving to
15478         strict requirement for ghostpads when linking elements in
15479         different bins.
15480
15481         * gst/gstpad.h:
15482         Clean ups. Added WRONG_HIERARCHY return value.
15483
15484 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15485
15486         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15487           Better debug if no transform is possible.
15488
15489 2005-07-27  Wim Taymans  <wim@fluendo.com>
15490
15491         * docs/random/wtay/network-transp:
15492         Some old doc I had.
15493
15494 2005-07-27  Wim Taymans  <wim@fluendo.com>
15495
15496         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15497         (gst_dp_event_from_packet):
15498         Fix serialization of seek events.
15499
15500 2005-07-27  Wim Taymans  <wim@fluendo.com>
15501
15502         * check/gst-libs/gdp.c: (GST_START_TEST):
15503         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15504         Fix compilation and fix event serialization.
15505
15506 2005-07-27  Wim Taymans  <wim@fluendo.com>
15507
15508         * CHANGES-0.9:
15509         * docs/design/part-TODO.txt:
15510         * docs/design/part-events.txt:
15511         Some docs updates
15512
15513         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15514         (gst_base_sink_event), (gst_base_sink_do_sync),
15515         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15516         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15517         (gst_base_src_do_seek), (gst_base_src_event_handler),
15518         (gst_base_src_loop):
15519         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15520         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15521         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15522         (gst_base_transform_event), (gst_base_transform_handle_buffer),
15523         (gst_base_transform_set_passthrough),
15524         (gst_base_transform_is_passthrough):
15525         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15526         * gst/elements/gstfilesink.c: (gst_file_sink_event):
15527         Event updates.
15528
15529         * gst/gstbuffer.h:
15530         Use faster casts.
15531
15532         * gst/gstelement.c: (gst_element_seek):
15533         * gst/gstelement.h:
15534         Update gst_element_seek.
15535
15536         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
15537         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
15538         (gst_event_new_flush_start), (gst_event_new_flush_stop),
15539         (gst_event_new_eos), (gst_event_new_newsegment),
15540         (gst_event_parse_newsegment), (gst_event_new_tag),
15541         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
15542         (gst_event_parse_qos), (gst_event_new_seek),
15543         (gst_event_parse_seek), (gst_event_new_navigation):
15544         * gst/gstevent.h:
15545         Make GstEvent use GstStructure. Add parsing code, make sure the
15546         API is sufficiently generic.
15547         Mark possible directions of events and serialization.
15548
15549         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
15550         (_gst_message_copy), (gst_message_new_segment_start),
15551         (gst_message_new_segment_done), (gst_message_new_custom),
15552         (gst_message_parse_segment_start),
15553         (gst_message_parse_segment_done):
15554         Small cleanups.
15555
15556         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15557         (gst_pad_set_caps), (gst_pad_send_event):
15558         Update for new events. 
15559         Catch events sent in wrong directions.
15560
15561         * gst/gstqueue.c: (gst_queue_link_src),
15562         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15563         (gst_queue_handle_src_query):
15564         Event updates.
15565
15566         * gst/gsttag.c:
15567         * gst/gsttag.h:
15568         Remove event code from this file.
15569
15570         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15571         (gst_dp_event_from_packet):
15572         Event updates.
15573
15574 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15575
15576         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
15577         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15578         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
15579           Make debugging actually useful.
15580
15581 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15582
15583         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
15584         (gst_pad_fixate_caps):
15585           Implement default fixation once again, so that gst_pad_fixate()
15586           actually does anything at all. This probably needs to be some
15587           sort of a last resort, and use profile-based fixation first, but
15588           since that doesn't exist yet, this is the best we have. Fixes
15589           visualization in Totem.
15590
15591 2005-07-22  Wim Taymans  <wim@fluendo.com>
15592
15593         * docs/design/part-events.txt:
15594         Small update.
15595
15596         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15597         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
15598         (gst_base_sink_activate_pull):
15599         Some more comments.
15600
15601         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
15602         (gst_fake_src_create):
15603         Fix handoff marshall.
15604
15605         * gst/elements/gstidentity.c: (gst_identity_class_init),
15606         (gst_identity_transform_ip):
15607         We're a real inplace element.
15608
15609         * gst/gstbus.c: (gst_bus_post):
15610         Added some comments.
15611
15612         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
15613         * tests/muxing/case1.c: (main):
15614         * tests/sched/dynamic-pipeline.c: (main):
15615         * tests/sched/interrupt1.c: (main):
15616         * tests/sched/interrupt2.c: (main):
15617         * tests/sched/interrupt3.c: (main):
15618         * tests/sched/runxml.c: (main):
15619         * tests/sched/sched-stress.c: (main):
15620         * tests/seeking/seeking1.c: (event_received), (main):
15621         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15622         (main):
15623         * tests/threadstate/threadstate3.c: (main):
15624         * tests/threadstate/threadstate4.c: (main):
15625         * tests/threadstate/threadstate5.c: (main):
15626         Fix the tests.
15627
15628 2005-07-21  Wim Taymans  <wim@fluendo.com>
15629
15630         * docs/design/part-seeking.txt:
15631         Some small additions.
15632
15633         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15634         (gst_base_sink_get_times), (gst_base_sink_do_sync),
15635         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15636         * gst/base/gstbasesink.h:
15637         discont values are gint64, handle the math correctly.
15638
15639         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15640         Make the basesrc report error if the source pad is not linked.
15641
15642         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15643         (gst_queue_loop), (gst_queue_handle_src_query),
15644         (gst_queue_src_activate_push):
15645         Make queue collect data even if the srcpad is not linked.
15646         Start pushing out data as soon as it is linked.
15647
15648         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
15649         * gst/gstutils.h:
15650         Added gst_flow_get_name() to ease error reporting.
15651
15652 2005-07-20  Wim Taymans  <wim@fluendo.com>
15653
15654         * gst/gstmessage.c: (gst_message_new_segment_start),
15655         (gst_message_new_segment_done), (gst_message_parse_segment_start),
15656         (gst_message_parse_segment_done):
15657         * gst/gstmessage.h:
15658         Added a bunch of messages for advanced seeking.
15659
15660         * gst/parse/grammar.y:
15661         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
15662         (gst_dpman_state_changed):
15663         Fix some new-pad -> pad-added signals
15664
15665 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15666
15667         * docs/manual/appendix-porting.xml:
15668         * docs/pwg/appendix-porting.xml:
15669           Document new-pad/state-change signal renames and the FixedList
15670           type rename.
15671
15672 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15673
15674         * docs/manual/advanced-autoplugging.xml:
15675         * docs/manual/basics-helloworld.xml:
15676         * docs/manual/basics-pads.xml:
15677         * docs/random/ds/0.9-suggested-changes:
15678         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
15679         * gst/gstelement.h:
15680         * gst/gstevent.h:
15681         * gst/gstformat.h:
15682         * gst/gstquery.h:
15683         * gst/gststructure.c: (gst_structure_value_get_generic_type),
15684         (gst_structure_parse_array), (gst_structure_parse_value):
15685         * gst/gstvalue.c: (gst_type_is_fixed),
15686         (gst_value_list_prepend_value), (gst_value_list_append_value),
15687         (gst_value_list_get_size), (gst_value_list_get_value),
15688         (gst_value_transform_array_string), (gst_value_serialize_array),
15689         (gst_value_deserialize_array), (gst_value_intersect_array),
15690         (gst_value_is_fixed), (_gst_value_initialize):
15691         * gst/gstvalue.h:
15692           GstElement::new-pad -> pad-added, GstElement::state-change ->
15693           state-changed, GstValueFixedList -> GstValueArray, add format and
15694           flags as their own arguments in gst_element_seek() (should improve
15695           "bindeability"), remove function generators since they don't work
15696           under a whole bunch of compilers (they were deprecated already
15697           anyway).
15698
15699 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15700
15701         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15702         (_gst_debug_register_funcptr):
15703         * gst/gstinfo.h:
15704           Fix illegal cast on some platforms (#309253).
15705
15706 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15707
15708         * gst/gstmessage.c: (gst_message_new_custom):
15709         * gst/gstmessage.h:
15710           Add _new_custom, make _new_application a macro to _new_custom.
15711
15712 2005-07-20  Wim Taymans  <wim@fluendo.com>
15713
15714         * gst/base/gstbasesrc.c: (gst_base_src_init),
15715         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15716         * gst/base/gstbasesrc.h:
15717         Add a gboolean to decide when to push out a discont.
15718
15719         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15720         (gst_queue_loop), (gst_queue_handle_src_query),
15721         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
15722         (gst_queue_set_property), (gst_queue_get_property):
15723         Some cleanups.
15724
15725         * tests/threadstate/threadstate1.c: (main):
15726         Make a thread test compile and run... very silly..
15727
15728
15729 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15730
15731         * docs/manual/appendix-porting.xml:
15732           Mention removal of libgstgconf-0.9.la and existence of gconf
15733           elements.
15734
15735 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15736
15737         * docs/pwg/advanced-clock.xml:
15738         * docs/pwg/appendix-porting.xml:
15739         * docs/pwg/intro-preface.xml:
15740         * docs/pwg/other-base.xml:
15741         * docs/pwg/other-manager.xml:
15742         * docs/pwg/other-nton.xml:
15743         * docs/pwg/other-ntoone.xml:
15744         * docs/pwg/other-oneton.xml:
15745         * docs/pwg/pwg.xml:
15746           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
15747           demuxer), remove n-to-n (was never written), fix some code examples
15748           and links and update the porting section to include all this.
15749
15750 2005-07-19  Wim Taymans  <wim@fluendo.com>
15751
15752         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
15753         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
15754         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
15755         (gst_queue_src_activate_push), (gst_queue_change_state),
15756         (gst_queue_get_property):
15757         * gst/gstqueue.h:
15758         Propagate GstFlowReturn more intelligently upstream and output
15759         an ERROR/EOS when streaming stopped due to fatal error.
15760
15761 2005-07-19  Wim Taymans  <wim@fluendo.com>
15762
15763         * tools/gst-launch.c: (check_intr), (event_loop), (main):
15764         Don't block forever for the state change to complete, the
15765         pipeline already did with a sensible timeout.
15766
15767 2005-07-19  Wim Taymans  <wim@fluendo.com>
15768
15769         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15770         Make sure we never call the create function is we
15771         got deactivated.
15772
15773 2005-07-19  Andy Wingo  <wingo@pobox.com>
15774
15775         * gst/parse/parse.l: Attempt to solve bug #172815.
15776
15777 2005-07-19  Wim Taymans  <wim@fluendo.com>
15778
15779         * docs/design/part-clocks.txt:
15780         * docs/design/part-events.txt:
15781         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
15782         Small docs updates.
15783         Only update the seeking values when we are not
15784         busy streaming.
15785
15786 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
15787
15788         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15789           Oops, ignore the result of gst_pad_push_event here.
15790
15791 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
15792
15793         * gst/base/gstbasesrc.c: (gst_base_src_loop),
15794         (gst_base_src_activate_push):
15795           Send discont event from the loop function, as pads
15796           aren't activated yet in the activate_push handler.
15797
15798         * gst/gstbin.c: (bin_bus_handler):
15799           Don't leak element name.
15800
15801 2005-07-18  Andy Wingo  <wingo@pobox.com>
15802
15803         * configure.ac: Use AS_LIBTOOL_TAGS.
15804
15805 2005-07-18  Wim Taymans  <wim@fluendo.com>
15806
15807         * docs/gst/gstreamer.types:
15808         Remove deleted types.
15809
15810 2005-07-18  Wim Taymans  <wim@fluendo.com>
15811
15812         * check/elements/gstfakesrc.c: (GST_START_TEST):
15813         * configure.ac:
15814         * gst/Makefile.am:
15815         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
15816         (init_popt_callback):
15817         * gst/gst.h:
15818         * gst/gst_private.h:
15819         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
15820         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
15821         * gst/gstbin.h:
15822         * gst/gstbus.h:
15823         * gst/gstconfig.h.in:
15824         * gst/gstelement.c: (gst_element_class_init),
15825         (gst_element_set_base_time), (gst_element_get_base_time),
15826         (iterator_fold_with_resync), (gst_element_change_state),
15827         (gst_element_dispose), (gst_element_get_bus):
15828         * gst/gstelement.h:
15829         * gst/gstelementfactory.h:
15830         * gst/gsterror.c: (_gst_core_errors_init):
15831         * gst/gsterror.h:
15832         * gst/gstevent.h:
15833         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15834         * gst/gstindex.c:
15835         * gst/gstinfo.c: (_gst_debug_init):
15836         * gst/gstmessage.c: (_gst_message_copy):
15837         * gst/gstmessage.h:
15838         * gst/gstminiobject.h:
15839         * gst/gstobject.c:
15840         * gst/gstobject.h:
15841         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15842         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
15843         * gst/gstpad.h:
15844         * gst/gstparse.h:
15845         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
15846         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15847         (gst_pipeline_get_last_stream_time):
15848         * gst/gstpipeline.h:
15849         * gst/gstpluginfeature.h:
15850         * gst/gstquery.h:
15851         * gst/gstscheduler.c:
15852         * gst/gstscheduler.h:
15853         * gst/gststructure.h:
15854         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
15855         (gst_task_finalize), (gst_task_func), (gst_task_create),
15856         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
15857         (gst_task_stop), (gst_task_pause):
15858         * gst/gsttask.h:
15859         * gst/gsttypefind.h:
15860         * gst/gsttypes.h:
15861         * gst/registries/gstlibxmlregistry.c: (load_feature),
15862         (gst_xml_registry_load), (gst_xml_registry_save_feature):
15863         * gst/registries/gstxmlregistry.c:
15864         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
15865         * gst/schedulers/threadscheduler.c:
15866         * libs/gst/control/dparammanager.h:
15867         * tools/gst-inspect.c: (print_element_list),
15868         (print_plugin_features), (print_element_features):
15869         * tools/gst-xmlinspect.c: (print_element_list),
15870         (print_plugin_info), (main):
15871         Removed plugable schedulers.
15872         Removed Scheduler/Manager from elements.
15873         Removed gsttypes.h, rearranged includes.
15874         Removed dependency pad<->element, element<>pipeline, and
15875         various others,  fix includes.
15876         implement gst_pad_get_parent() with gst_object_get_parent()
15877         Make GstTask sefcontained.
15878         Fix _get_state() on GstBin, it did not return ASYNC with a 0
15879         timeout.
15880         Fix endless loop in iterator_fold_with_resync.
15881
15882
15883 2005-07-18  Wim Taymans  <wim@fluendo.com>
15884
15885         * gst/Makefile.am:
15886         * gst/gstarch.h:
15887         Remove old file.
15888
15889 2005-07-18  Wim Taymans  <wim@fluendo.com>
15890
15891         * gst/Makefile.am:
15892         No more cothreads.h
15893
15894 2005-07-18  Wim Taymans  <wim@fluendo.com>
15895
15896         * gst/cothreads.c:
15897         * gst/cothreads.h:
15898         Let's remove these.
15899
15900 2005-07-18  Wim Taymans  <wim@fluendo.com>
15901
15902         * docs/design/part-dynamic.txt:
15903         * docs/design/part-events.txt:
15904         * docs/design/part-seeking.txt:
15905         Some more docs in the works.
15906
15907         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15908         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
15909         (gst_base_transform_setcaps), (gst_base_transform_get_size),
15910         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
15911         (gst_base_transform_handle_buffer),
15912         (gst_base_transform_sink_activate_push),
15913         (gst_base_transform_src_activate_pull),
15914         (gst_base_transform_set_passthrough),
15915         (gst_base_transform_is_passthrough):
15916         Refcounting fixes.
15917
15918         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
15919         Cleanups.
15920
15921         * gst/gstevent.c: (gst_event_finalize):
15922         Set SRC to NULL.
15923
15924         * gst/gstutils.c: (gst_element_unlink),
15925         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
15926         (gst_pad_proxy_setcaps):
15927         * gst/gstutils.h:
15928         Add _get_parent_element() to get a pads parent as an element.
15929
15930 2005-07-18  Wim Taymans  <wim@fluendo.com>
15931
15932         * check/gst/gstbin.c: (GST_START_TEST):
15933         Remove bogus test.
15934
15935 2005-07-18  Wim Taymans  <wim@fluendo.com>
15936
15937         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
15938         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
15939         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
15940         (gst_base_sink_event), (gst_base_sink_do_sync),
15941         (gst_base_sink_chain), (gst_base_sink_loop),
15942         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
15943         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
15944         Refcounting fixes.
15945         Fix logic for returning ASYNC when not prerolled.
15946
15947 2005-07-18  Wim Taymans  <wim@fluendo.com>
15948
15949         * gst/gstqueue.c: (gst_queue_handle_sink_event):
15950         Fix nasty refcount bug.
15951
15952 2005-07-16 Philippe Khalaf <burger@speedy.org>
15953
15954         * gst/elements/gstfdsrc.c:
15955         * gst/elements/gstfdsrc.h:
15956         * gst/elements/gstelements.c:
15957         * gst/elements/Makefile.am:
15958         Ported fdsrc to 0.9.
15959
15960 2005-07-16  Wim Taymans  <wim@fluendo.com>
15961
15962         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15963         (gst_base_sink_do_sync):
15964         Fix compile error.
15965
15966 2005-07-16  Wim Taymans  <wim@fluendo.com>
15967
15968         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15969         (gst_base_sink_event), (gst_base_sink_get_times),
15970         (gst_base_sink_do_sync), (gst_base_sink_change_state):
15971         * gst/base/gstbasesink.h:
15972         Store and use discont values when syncing buffers as described
15973         in design docs.
15974         
15975         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15976         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
15977         (gst_base_src_activate_push):
15978         Push discont event when starting.
15979
15980         * gst/elements/gstidentity.c: (gst_identity_transform):
15981         Small cleanups.
15982
15983         * gst/gstbin.c: (gst_bin_change_state):
15984         Small cleanups in base_time  distribution.
15985
15986         * gst/gstelement.c: (gst_element_set_base_time),
15987         (gst_element_get_base_time), (gst_element_change_state):
15988         * gst/gstelement.h:
15989         Added methods for the base_time of the element.
15990         Some MT fixes.
15991
15992         * gst/gstpipeline.c: (gst_pipeline_send_event),
15993         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15994         (gst_pipeline_get_last_stream_time):
15995         * gst/gstpipeline.h:
15996         MT fixes.
15997         Handle seeking as described in design doc, remove stream_time
15998         hack.
15999         Cleanups clock and stream_time selection code. Added accessors
16000         for the stream_time.
16001         
16002
16003 2005-07-16  Andy Wingo  <wingo@pobox.com>
16004
16005         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
16006         (#305291).
16007
16008 2005-07-16  Wim Taymans  <wim@fluendo.com>
16009
16010         * check/gst/gstbin.c: (GST_START_TEST):
16011         Make elements silent as the deep_notify refs the
16012         parent, which might make the test fail.
16013
16014         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
16015         Don't hold the lock for too long.
16016
16017 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
16018
16019         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
16020           Don't unref the caps we passed to gst_caps_make_writable() after
16021           passing them. gst_caps_make_writable() will do that for us.
16022
16023 2005-07-15  Andy Wingo  <wingo@pobox.com>
16024
16025         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
16026         (#157311).
16027
16028         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
16029         own marshalling function for the handoff signal. Properly type the
16030         buffer as a buffer. Fixes some warnings. Should do a more general
16031         solution.
16032         (gst_identity_class_init): Plug into the right marshaller.
16033
16034 2005-07-15  Wim Taymans  <wim@fluendo.com>
16035
16036         * docs/design/part-TODO.txt:
16037         * docs/design/part-clocks.txt:
16038         * docs/design/part-element-sink.txt:
16039         * docs/design/part-events.txt:
16040         * docs/design/part-gstpipeline.txt:
16041         Updated docs, mostly DISCONT related.
16042
16043 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
16044
16045         * docs/pwg/building-pads.xml:
16046           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
16047
16048 2005-07-15  Andy Wingo  <wingo@pobox.com>
16049
16050         * tools/gst-typefind.c: Update, add copyright block.
16051
16052         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
16053         Normalize and truncate caps before fixation.
16054
16055         * gst/gstcaps.h:
16056         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
16057         discards all but the first structure from its argument.
16058
16059 2005-07-15  Wim Taymans  <wim@fluendo.com>
16060
16061         * gst/base/gstbasetransform.c: (gst_base_transform_init),
16062         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
16063         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16064         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
16065         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
16066         (gst_base_transform_chain), (gst_base_transform_change_state),
16067         (gst_base_transform_set_passthrough),
16068         (gst_base_transform_is_passthrough):
16069         * gst/base/gstbasetransform.h:
16070         Make passthrough work using the bufferpools.
16071         Changed API a bit, subclasses have to write into a buffer
16072         provided by the base class.
16073         More debug info in nego functions.
16074         
16075         * gst/elements/gstidentity.c: (gst_identity_init),
16076         (gst_identity_transform):
16077         Port to new base class.
16078
16079 2005-07-15  Wim Taymans  <wim@fluendo.com>
16080
16081         * gst/gstmessage.c: (gst_message_new_state_changed):
16082         * tools/gst-launch.c: (event_loop), (main):
16083         Totally dump messages in -launch with the -m option.
16084         Fix message name for State messages,
16085
16086 2005-07-14  Wim Taymans  <wim@fluendo.com>
16087
16088         * gst/base/gstbasesrc.c: (gst_base_src_loop):
16089         Post error messages on errors.
16090
16091 2005-07-14  Wim Taymans  <wim@fluendo.com>
16092
16093         * gst/gstcaps.c: (gst_caps_do_simplify):
16094         Remove debug info.
16095
16096         * gst/gsterror.h:
16097         Define error for stream stopped.
16098
16099         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16100         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
16101         Do proper return values.
16102
16103         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16104         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
16105         (gst_pad_get_range):
16106         Better return values.
16107
16108         * gst/gstpad.h:
16109         Reorganise return values, add macro to check for fatal errors.
16110
16111         * gst/gstqueue.c: (gst_queue_chain):
16112         Return proper GstFlowReturn values,
16113
16114 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
16115
16116         * docs/gst/gstreamer-sections.txt:
16117         * docs/gst/gstreamer.types:
16118         * docs/gst/tmpl/gst.sgml:
16119         * docs/gst/tmpl/gstbasesink.sgml:
16120         * docs/gst/tmpl/gstbasesrc.sgml:
16121         * docs/gst/tmpl/gstbasetransform.sgml:
16122         * docs/gst/tmpl/gstbin.sgml:
16123         * docs/gst/tmpl/gstbuffer.sgml:
16124         * docs/gst/tmpl/gstcaps.sgml:
16125         * docs/gst/tmpl/gstclock.sgml:
16126         * docs/gst/tmpl/gstcompat.sgml:
16127         * docs/gst/tmpl/gstconfig.sgml:
16128         * docs/gst/tmpl/gstelement.sgml:
16129         * docs/gst/tmpl/gstelementdetails.sgml:
16130         * docs/gst/tmpl/gstelementfactory.sgml:
16131         * docs/gst/tmpl/gstenumtypes.sgml:
16132         * docs/gst/tmpl/gsterror.sgml:
16133         * docs/gst/tmpl/gstevent.sgml:
16134         * docs/gst/tmpl/gstfakesink.sgml:
16135         * docs/gst/tmpl/gstfakesrc.sgml:
16136         * docs/gst/tmpl/gstfilesink.sgml:
16137         * docs/gst/tmpl/gstfilesrc.sgml:
16138         * docs/gst/tmpl/gstfilter.sgml:
16139         * docs/gst/tmpl/gstformat.sgml:
16140         * docs/gst/tmpl/gstghostpad.sgml:
16141         * docs/gst/tmpl/gstimplementsinterface.sgml:
16142         * docs/gst/tmpl/gstindex.sgml:
16143         * docs/gst/tmpl/gstindexfactory.sgml:
16144         * docs/gst/tmpl/gstinfo.sgml:
16145         * docs/gst/tmpl/gstiterator.sgml:
16146         * docs/gst/tmpl/gstmacros.sgml:
16147         * docs/gst/tmpl/gstmemchunk.sgml:
16148         * docs/gst/tmpl/gstminiobject.sgml:
16149         * docs/gst/tmpl/gstobject.sgml:
16150         * docs/gst/tmpl/gstpad.sgml:
16151         * docs/gst/tmpl/gstpadtemplate.sgml:
16152         * docs/gst/tmpl/gstparse.sgml:
16153         * docs/gst/tmpl/gstpipeline.sgml:
16154         * docs/gst/tmpl/gstplugin.sgml:
16155         * docs/gst/tmpl/gstpluginfeature.sgml:
16156         * docs/gst/tmpl/gstquery.sgml:
16157         * docs/gst/tmpl/gstqueue.sgml:
16158         * docs/gst/tmpl/gstregistry.sgml:
16159         * docs/gst/tmpl/gstregistrypool.sgml:
16160         * docs/gst/tmpl/gstscheduler.sgml:
16161         * docs/gst/tmpl/gstschedulerfactory.sgml:
16162         * docs/gst/tmpl/gststructure.sgml:
16163         * docs/gst/tmpl/gstsystemclock.sgml:
16164         * docs/gst/tmpl/gsttaglist.sgml:
16165         * docs/gst/tmpl/gsttagsetter.sgml:
16166         * docs/gst/tmpl/gsttrace.sgml:
16167         * docs/gst/tmpl/gsttrashstack.sgml:
16168         * docs/gst/tmpl/gsttypefind.sgml:
16169         * docs/gst/tmpl/gsttypefindfactory.sgml:
16170         * docs/gst/tmpl/gsttypes.sgml:
16171         * docs/gst/tmpl/gsturihandler.sgml:
16172         * docs/gst/tmpl/gsturitype.sgml:
16173         * docs/gst/tmpl/gstutils.sgml:
16174         * docs/gst/tmpl/gstvalue.sgml:
16175         * docs/gst/tmpl/gstversion.sgml:
16176         * docs/gst/tmpl/gstxml.sgml:
16177         * docs/libs/tmpl/gstcontrol.sgml:
16178         * docs/libs/tmpl/gstdataprotocol.sgml:
16179         * docs/libs/tmpl/gstdparam.sgml:
16180         * docs/libs/tmpl/gstdplinint.sgml:
16181         * docs/libs/tmpl/gstdpman.sgml:
16182         * docs/libs/tmpl/gstdpsmooth.sgml:
16183         * docs/libs/tmpl/gstgetbits.sgml:
16184         * docs/libs/tmpl/gstunitconvert.sgml:
16185         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
16186         (gst_push_src_base_init), (gst_push_src_class_init),
16187         (gst_push_src_init), (gst_push_src_create):
16188         * gst/base/gstpushsrc.h:
16189         * gst/elements/gstelements.c:
16190         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
16191         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
16192         (gst_fake_sink_init), (gst_fake_sink_set_property),
16193         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
16194         (gst_fake_sink_event), (gst_fake_sink_preroll),
16195         (gst_fake_sink_render), (gst_fake_sink_change_state):
16196         * gst/elements/gstfakesink.h:
16197         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
16198         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
16199         (gst_fake_src_base_init), (gst_fake_src_class_init),
16200         (gst_fake_src_init), (gst_fake_src_event_handler),
16201         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
16202         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
16203         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
16204         (gst_fake_src_create_buffer), (gst_fake_src_create),
16205         (gst_fake_src_start), (gst_fake_src_stop):
16206         * gst/elements/gstfakesrc.h:
16207         * gst/elements/gstfilesink.c: (_do_init),
16208         (gst_file_sink_base_init), (gst_file_sink_class_init),
16209         (gst_file_sink_init), (gst_file_sink_dispose),
16210         (gst_file_sink_set_location), (gst_file_sink_set_property),
16211         (gst_file_sink_get_property), (gst_file_sink_open_file),
16212         (gst_file_sink_close_file), (gst_file_sink_query),
16213         (gst_file_sink_event), (gst_file_sink_render),
16214         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
16215         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
16216         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
16217         * gst/elements/gstfilesink.h:
16218         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
16219         (gst_file_src_class_init), (gst_file_src_init),
16220         (gst_file_src_finalize), (gst_file_src_set_location),
16221         (gst_file_src_set_property), (gst_file_src_get_property),
16222         (gst_file_src_map_region), (gst_file_src_map_small_region),
16223         (gst_file_src_create_mmap), (gst_file_src_create_read),
16224         (gst_file_src_create), (gst_file_src_is_seekable),
16225         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
16226         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
16227         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
16228         (gst_file_src_uri_handler_init):
16229         * gst/elements/gstfilesrc.h:
16230           more autistic cleanliness in functions/names/defines
16231
16232 2005-07-13  Andy Wingo  <wingo@pobox.com>
16233
16234         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
16235         source couldn't negotiate.
16236
16237         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
16238         connections again.
16239
16240         * gst/gstutils.h:
16241         * gst/gstutils.c (gst_element_link_pads_filtered): New old
16242         function. I am channeling Hades. Put your boots on suckers!!!
16243
16244 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16245
16246         * testsuite/caps/Makefile.am:
16247         * testsuite/caps/value_compare.c:
16248         * testsuite/caps/value_intersect.c:
16249         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16250           move two testsuite apps over to the check dir
16251
16252 2005-07-12  Wim Taymans  <wim@fluendo.com>
16253
16254         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
16255         Added more debug info in the negotiate process.
16256
16257         * gst/gstmessage.h:
16258         Prepare for segment playback.
16259
16260         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
16261         Better debugging.
16262
16263         * gst/gstutils.c:
16264         Some more docs.
16265
16266         * tools/gst-launch.c: (main):
16267         NULL pipeline on errors.
16268
16269 2005-07-12  Andy Wingo  <wingo@pobox.com>
16270
16271         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
16272         not it comes from a malloc region. Make sure our copy gets freed.
16273
16274 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16275
16276         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16277         * check/gst/gstmessage.c: (GST_START_TEST):
16278         * check/gst/gststructure.c: (GST_START_TEST),
16279         (gst_structure_suite), (main):
16280           more testing
16281         * gst/gstelement.c: (gst_element_message_full):
16282           clean up GError and debug string now that they get copied
16283         * gst/gstmessage.c: (gst_message_new_error),
16284         (gst_message_new_warning), (gst_message_parse_error),
16285         (gst_message_parse_warning):
16286           use GST_TYPE_G_ERROR for structure_new, and take copies of
16287           arguments, so that we don't mess up refcounting
16288
16289 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16290
16291         * check/Makefile.am:
16292           add per-test valgrind targets
16293         * check/gst-libs/gdp.c: (GST_START_TEST),
16294         (gst_data_protocol_suite), (main):
16295           clean up
16296
16297 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16298
16299         * check/Makefile.am:
16300           instate more valgrindable tests
16301         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16302         (GST_START_TEST), (fakesrc_suite):
16303         * check/gst/gstpad.c: (GST_START_TEST):
16304         * check/gst/gststructure.c: (GST_START_TEST):
16305           fix test leaks
16306         * docs/gst/tmpl/gstminiobject.sgml:
16307         * gst/gstpad.c: (gst_pad_finalize):
16308           fix the static mutex leak
16309
16310 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16311
16312         * check/Makefile.am:
16313           add two more tests for valgrinding
16314         * check/gst/gstvalue.c: (GST_START_TEST):
16315           test refcount of deserialized buffer, found a leak
16316         * docs/gst/gstreamer-docs.sgml:
16317         * docs/gst/gstreamer-sections.txt:
16318         * docs/gst/gstreamer.types:
16319         * docs/gst/tmpl/gstminiobject.sgml:
16320           add miniobject to docs
16321         * gst/gstminiobject.c:
16322           add some docs
16323         * gst/gstvalue.c: (gst_value_deserialize_buffer),
16324         (gst_string_unwrap):
16325           fix a hard-to-find invalid write for one of the tests
16326           fix a leak for deserialized buffers
16327
16328 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16329
16330         * docs/pwg/advanced-events.xml:
16331         * docs/pwg/advanced-request.xml:
16332         * docs/pwg/advanced-scheduling.xml:
16333         * docs/pwg/appendix-porting.xml:
16334         * docs/pwg/building-boiler.xml:
16335         * docs/pwg/intro-preface.xml:
16336         * docs/pwg/other-ntoone.xml:
16337           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
16338           of example code and explanation for pad activation, loop() and
16339           getrange() functions and a bit more. Remove old comments pointing
16340           to loop-functions.
16341         * examples/pwg/Makefile.am:
16342           Add loop/getrange examples.
16343
16344 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16345
16346         * configure.ac:
16347           check for valgrind binary + some fixes
16348         * check/gst.supp:
16349           valgrind suppressions for the tests
16350         * check/Makefile.am:
16351           add a valgrind: target that valgrinds the unit tests
16352         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
16353         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16354         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16355         * check/gst/gstghostpad.c:
16356           added some cleanup
16357         * check/gst/gstdata.c:
16358           removed
16359         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
16360         (thread_unref), (gst_mini_object_suite), (main):
16361           added
16362         * gst/gst.c: (gst_deinit):
16363         * gst/gst.h:
16364           add a method to clean up.
16365         * gst/gstsystemclock.c: (gst_system_clock_dispose),
16366         (gst_system_clock_obtain):
16367           allow for disposing the system clock.
16368         * tools/gst-launch.c: (main):
16369           deinit
16370
16371 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16372
16373         * docs/gst/tmpl/gstbasesrc.sgml:
16374         * docs/gst/tmpl/gstfakesrc.sgml:
16375         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16376         (gst_base_src_init), (gst_base_src_set_property),
16377         (gst_base_src_get_property), (gst_base_src_get_range),
16378         (gst_base_src_start):
16379         * gst/base/gstbasesrc.h:
16380           add num-buffers property
16381         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16382         (gst_fakesrc_init), (gst_fakesrc_set_property),
16383         (gst_fakesrc_get_property), (gst_fakesrc_create),
16384         (gst_fakesrc_start):
16385           remove num-buffers property
16386
16387 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16388
16389         * docs/gst/gstreamer-sections.txt:
16390         * docs/gst/tmpl/gstbasesink.sgml:
16391         * docs/gst/tmpl/gstbasesrc.sgml:
16392         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16393         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16394         (gst_base_sink_finalize), (gst_base_sink_set_clock),
16395         (gst_base_sink_set_property), (gst_base_sink_get_property),
16396         (gst_base_sink_handle_object), (gst_base_sink_event),
16397         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16398         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
16399         (gst_base_sink_loop), (gst_base_sink_deactivate),
16400         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
16401         (gst_base_sink_change_state):
16402         * gst/base/gstbasesink.h:
16403         * gst/base/gstbasesrc.h:
16404         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
16405         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16406         (gst_filesink_init):
16407           more macro splitting
16408
16409 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16410
16411         * gst/gstelement.c: (gst_element_get_bus):
16412           add debug
16413         * tools/gst-launch.c: (check_intr), (event_loop):
16414           fix bus leaks
16415
16416 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16417
16418         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16419           fix a caps leak
16420
16421 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16422
16423         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16424         (gst_base_src_finalize):
16425           add finalize method and clean up properly
16426         * gst/gstpipeline.c: (gst_pipeline_dispose):
16427           add debug
16428
16429 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16430
16431         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
16432         (gst_bin_suite):
16433           add more things to check
16434         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
16435         * gst/gstelement.c:
16436           more debug
16437
16438 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16439
16440         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16441         (GST_START_TEST), (fakesrc_suite):
16442         * check/gst-libs/gdp.c: (GST_START_TEST):
16443         * check/gst/gst.c: (GST_START_TEST):
16444         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
16445         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16446         * check/gst/gstbus.c: (GST_START_TEST):
16447         * check/gst/gstcaps.c: (GST_START_TEST):
16448         * check/gst/gstdata.c: (GST_START_TEST):
16449         * check/gst/gstelement.c: (GST_START_TEST):
16450         * check/gst/gstghostpad.c: (GST_START_TEST):
16451         * check/gst/gstiterator.c: (GST_START_TEST):
16452         * check/gst/gstmessage.c: (GST_START_TEST):
16453         * check/gst/gstobject.c: (GST_START_TEST):
16454         * check/gst/gstpad.c: (GST_START_TEST):
16455         * check/gst/gststructure.c: (GST_START_TEST):
16456         * check/gst/gstsystemclock.c: (GST_START_TEST),
16457         (gst_systemclock_suite):
16458         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
16459         * check/gst/gstvalue.c: (GST_START_TEST):
16460         * check/pipelines/cleanup.c: (GST_START_TEST):
16461         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16462         * check/states/sinks.c: (GST_START_TEST):
16463         * check/gstcheck.c: (gst_check_init):
16464         * check/gstcheck.h:
16465           add debugging category
16466           use GST_START_TEST now, so we add a debug line
16467
16468 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16469
16470         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
16471           add test for state change message on a bin
16472         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
16473           add another test
16474         * gst/gstbin.c: (gst_bin_init):
16475         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
16476         * gst/gstelement.c: (gst_element_post_message),
16477         (gst_element_set_state):
16478         * gst/gstelementfactory.c: (gst_element_factory_create):
16479         * gst/gstmessage.c: (gst_message_new):
16480         * gst/gstscheduler.c:
16481           various debugging additions and cleanups
16482
16483 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16484
16485         * check/Makefile.am:
16486         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
16487         (main):
16488           adding tests for elements
16489         * gst/gstelement.c: (gst_element_dispose):
16490
16491 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16492
16493         * gst/registries/gstlibxmlregistry.c: (load_feature):
16494           plug more leaks.  A simple gst_init() now is leakfree, yay.
16495
16496 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16497
16498         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
16499         (gst_xml_registry_load):
16500           plug another memleak
16501
16502 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16503
16504         * configure.ac:
16505           use GST_SET_ERROR_CFLAGS
16506         * docs/faq/cvs.xml:
16507           change to ERROR_CFLAGS
16508
16509 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16510
16511         * configure.ac:
16512           make GST_ERROR_CFLAGS overridable and re-enable Werror
16513         * docs/faq/cvs.xml:
16514           add a note about error CFLAGS
16515         * docs/gst/tmpl/gstfakesrc.sgml:
16516         * gst/elements/gstfakesrc.c:
16517           comment out some unused code
16518         * gst/gst.c: (split_and_iterate):
16519         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
16520         (load_feature):
16521           plug some memleaks
16522
16523 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16524
16525         * common/Makefile.am:
16526         * common/gtk-doc.mak:
16527         * docs/gst/Makefile.am:
16528           factor out gtk-doc.mak
16529
16530 2005-07-07  Wim Taymans  <wim@fluendo.com>
16531
16532         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
16533         (gst_thread_scheduler_dispose):
16534         Unlock the STREAM_LOCK completely.
16535
16536 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16537
16538         * check/Makefile.am:
16539         * check/elements/.cvsignore:
16540         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16541         (START_TEST), (fakesrc_suite), (main):
16542         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16543         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16544         (gst_fakesrc_create), (gst_fakesrc_start):
16545         * gst/elements/gstfakesrc.h:
16546           adding a first element test
16547
16548 2005-07-07  Andy Wingo  <wingo@pobox.com>
16549
16550         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
16551         debug message.
16552
16553 2005-07-07  Wim Taymans  <wim@fluendo.com>
16554
16555         * gst/gstquery.c:
16556         * gst/gstquery.h:
16557         Remove old types
16558
16559 2005-07-07  Wim Taymans  <wim@fluendo.com>
16560
16561         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16562         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
16563         Allow subclasses to implement their own negotiation.
16564
16565 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16566
16567         * docs/design/part-gstbin.txt:
16568         * docs/design/part-gstpipeline.txt:
16569           Update design notes to reflect the movement of
16570           responsibility for bus handling from GstPipeline to
16571           GstBin
16572
16573 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16574
16575         * configure.ac:
16576           Remove unnecessary queue2/3/4 examples.
16577
16578 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16579
16580         * examples/Makefile.am:
16581         * examples/helloworld/helloworld.c: (event_loop), (main):
16582         * examples/queue/queue.c: (event_loop), (main):
16583         * examples/queue2/queue2.c: (main):
16584           Update a couple of the examples to work again.
16585
16586         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16587         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
16588          Spelling corrections and extra debug.
16589         
16590         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
16591         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
16592         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
16593         * gst/gstbin.h:
16594         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16595         (gst_pipeline_change_state):
16596         * gst/gstpipeline.h:
16597           Move the bus handler for children to the GstBin, and create a
16598           separate bus for receiving messages from children to the one the
16599           bus sends 'upwards' on.
16600
16601 2005-07-06  Wim Taymans  <wim@fluendo.com>
16602
16603         * gst/base/README:
16604         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16605         (gst_base_sink_handle_object), (gst_base_sink_loop),
16606         (gst_base_sink_change_state):
16607         * gst/base/gstbasesink.h:
16608         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16609         (gst_base_src_init), (gst_base_src_setcaps),
16610         (gst_base_src_getcaps), (gst_base_src_loop),
16611         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
16612         (gst_base_src_start), (gst_base_src_change_state):
16613         * gst/base/gstbasesrc.h:
16614         Make basesrc negotiate.
16615         Handle the case where preroll fails in basesink.
16616         Update README.
16617
16618 2005-07-06  Wim Taymans  <wim@fluendo.com>
16619
16620         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
16621         Implement the fixate function.
16622         Clean up acceptcaps.
16623
16624 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16625
16626         * docs/pwg/building-filterfactory.xml:
16627         * docs/pwg/pwg.xml:
16628           Remove never-written filter-factory chapter; I'll add the various
16629           base classes to part 4 ("other element types") later on.
16630
16631 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16632
16633         * docs/pwg/advanced-negotiation.xml:
16634         * docs/pwg/building-boiler.xml:
16635         * docs/pwg/building-pads.xml:
16636         * docs/pwg/pwg.xml:
16637         * examples/pwg/Makefile.am:
16638           Add a chapter on caps negotiation, simplify the original code
16639           samples a bit w.r.t. caps negotiation, add link to the advanced
16640           section. Add a bunch of examples showing different use cases of
16641           different types of caps negotiation. Upstream renegotiation isn't
16642           fully documented yet since nobody knows how that works.
16643
16644 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16645
16646         * check/gst/gstpad.c:
16647         * check/gstcheck.c:
16648         * gst/gstpad.c: (gst_pad_get_internal_links_default):
16649           if pad has no parent, return NULL as list of internal links
16650
16651 2005-07-05  Andy Wingo  <wingo@pobox.com>
16652
16653         * gst/elements/gstfilesrc.c:
16654         * gst/elements/gstfakesrc.c: 
16655         * gst/base/gstpushsrc.c:
16656         * gst/base/gstbasesrc.h: 
16657         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
16658         
16659 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
16660
16661         * Makefile.am:
16662           better report generation target (lcov needs a patch)
16663
16664 2005-07-05  Andy Wingo  <wingo@pobox.com>
16665
16666         * gst/elements, testsuite: Null if we got it...
16667
16668 2005-07-05  Wim Taymans  <wim@fluendo.com>
16669
16670         * configure.ac:
16671         * libs/gst/dataprotocol/Makefile.am:
16672         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
16673         * libs/gst/dataprotocol/dataprotocol.h:
16674         * pkgconfig/Makefile.am:
16675         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
16676         * pkgconfig/gstreamer-dataprotocol.pc.in:
16677         Ported dataprotol to 0.9. 
16678         Added pkgconfig files.
16679
16680 2005-07-05  Andy Wingo  <wingo@pobox.com>
16681
16682         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
16683         Default to returning TRUE for the case when tranform_caps returns
16684         a fixed caps, like for identity or volume.
16685
16686         * check/gst/gstbus.c (pound_bus_with_messages): 
16687         * check/gst/gstmessage.c (START_TEST): 
16688         * check/pipelines/simple_launch_lines.c (got_handoff): Application
16689         message API change.
16690
16691         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
16692         logic weaks here: always run transform_caps, trying passthrough
16693         operation only if the original caps intersects with the transform.
16694
16695         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
16696         source and sink caps.
16697
16698         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
16699         Intersect the peer caps with the pad template before going into
16700         transform_caps.
16701         (gst_base_transform_transform_caps): More debugging.
16702
16703         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
16704         src argument.
16705
16706 2005-07-04  Edward Hervey  <edward@fluendo.com>
16707
16708         * gst/gstutils.c:
16709         * gst/gstutils.h:
16710         (gst_pad_add_*_probe): now returns the signal id for better wrapping
16711         in bindings.
16712
16713 2005-07-04  Andy Wingo  <wingo@pobox.com>
16714
16715         * check/gst/gstpad.c: Only set explicit caps on pads.
16716
16717 2005-07-01  Andy Wingo  <wingo@pobox.com>
16718
16719         * tests/network-clock.scm: Commentary update.
16720
16721         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
16722         Didn't really make sense, not implementable with basetransform,
16723         etc.
16724         (gst_identity_transform): Unref inbuf via make_writable. Feeble
16725         attempt at implementing the sync property, needs an unlock method.
16726
16727         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
16728         New func, by default returns the same caps (the identity
16729         transformation).
16730         (gst_base_transform_getcaps): Uses transform_caps to return
16731         something sensible.
16732         (gst_base_transform_setcaps): Complicated logic to get caps on
16733         both pads, even if they are different, and to call set_caps once
16734         for every time both pads get their caps set.
16735         (gst_base_transform_handle_buffer): Give the ref to the transform
16736         function. Allows in-place modification of the buffer.
16737
16738         * gst/base/gstbasetransform.h (transform_caps): New class method.
16739         Given caps on one side, what can I do on the other.
16740         (set_caps): Take two caps, one for each side of the element.
16741
16742         * gst/gstpad.h:
16743         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
16744         caps in place. This is safe because we can check the mutability of
16745         the caps, and a good idea because fixate functions are just called
16746         as a matter of last resort. (Not actually implemented.)
16747         (gst_pad_set_caps): If the caps we're setting is actually the same
16748         as the existing pad caps, just update the pointer without calling
16749         setcaps. Assert that caps is either NULL or fixed, as per the
16750         docs.
16751
16752         * gst/gstghostpad.c: Update for fixate changes.
16753
16754 2005-07-02  Andy Wingo  <wingo@pobox.com>
16755
16756         * gst/gstcaps.c:
16757         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
16758         two refcounts makes it immutable, which is enough. Doc more.
16759
16760 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
16761
16762         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
16763           Put the mini_object into GValue as a mini_object,
16764           not a gpointer, since that's how we declared
16765           the signal.
16766
16767 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16768
16769         * examples/pwg/Makefile.am:
16770           Fix buildbot again.
16771
16772 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16773
16774         * docs/pwg/building-testapp.xml:
16775           Add extra check.
16776         * examples/pwg/Makefile.am:
16777           Fix buildbot.
16778
16779 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16780
16781         * configure.ac:
16782         * examples/Makefile.am:
16783         * examples/pwg/Makefile.am:
16784         * examples/pwg/extract.pl:
16785           Enable building the PWG examples.
16786         * docs/pwg/advanced-interfaces.xml:
16787           Add URI interface stub.
16788         * docs/pwg/advanced-types.xml:
16789         * docs/pwg/other-autoplugger.xml:
16790         * docs/pwg/appendix-porting.xml:
16791         * docs/pwg/pwg.xml:
16792           Add porting guide (mostly stubs), remove autoplugging (see ADM).
16793         * docs/pwg/building-boiler.xml:
16794         * docs/pwg/building-chainfn.xml:
16795         * docs/pwg/building-pads.xml:
16796         * docs/pwg/building-props.xml:
16797         * docs/pwg/building-state.xml:
16798         * docs/pwg/building-testapp.xml:
16799           Update the building-*.xml parts for 0.9 changes. All examples
16800           code blocks compile in examples/pwg/*.
16801
16802 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16803
16804         * docs/manual/advanced-autoplugging.xml:
16805         * docs/manual/appendix-checklist.xml:
16806         * docs/manual/appendix-integration.xml:
16807         * docs/manual/highlevel-components.xml:
16808           Fix playbin/decodebin examples, update docs a bit, mention bus
16809           instead of signals in various places, mention kmplayer and
16810           kaffeine since they have a working GStreamer backend in the KDE
16811           section.
16812
16813 2005-06-30  Wim Taymans  <wim@fluendo.com>
16814
16815         * CHANGES-0.9:
16816         * docs/design/draft-ghostpads.txt:
16817         * docs/design/draft-push-pull.txt:
16818         * docs/design/draft-query.txt:
16819         * docs/design/part-TODO.txt:
16820         * docs/design/part-query.txt:
16821         Added CHANGES-0.9 doc, updated status of other docs.
16822         
16823         * gst/gstquery.h:
16824         Remove "hmm" macro
16825
16826 2005-06-30  Wim Taymans  <wim@fluendo.com>
16827
16828         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16829         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16830         (gst_base_sink_change_state):
16831         * gst/base/gstbasesink.h:
16832         Some tweaks, only EOS and a buffer complete a preroll.
16833
16834 2005-06-30  Andy Wingo  <wingo@pobox.com>
16835
16836         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
16837         activate_push down to the internal pad as well.
16838
16839 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
16840
16841         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16842
16843         * gst/gsttaginterface.c:
16844           Some documentation fixes (#307394 and #307397).
16845
16846 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
16847
16848         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16849
16850         * gst/gstvalue.c: (gst_value_intersect_list):
16851           Fix memleak (#309125).
16852
16853 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16854
16855         * docs/manual/advanced-dataaccess.xml:
16856           Fix fakesrc example to compile; doesn't work, bug somewhere...?
16857         * docs/manual/basics-pads.xml:
16858           Add reference for filtered caps to above chapter.
16859
16860 2005-06-30  Wim Taymans  <wim@fluendo.com>
16861
16862         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
16863         (gst_bin_change_state):
16864         Probes are gone.
16865         Lame attempt at making the state change function a bit
16866         more readable.
16867
16868 2005-06-30  Wim Taymans  <wim@fluendo.com>
16869
16870         * docs/design/part-clocks.txt:
16871         * docs/design/part-element-sink.txt:
16872         * docs/design/part-events.txt:
16873         * docs/design/part-preroll.txt:
16874         * docs/design/part-states.txt:
16875         Some more tweeks and additions to the docs.
16876
16877 2005-06-30  Wim Taymans  <wim@fluendo.com>
16878
16879         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16880         (default_have_data), (gst_pad_class_init), (gst_pad_init),
16881         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16882         (gst_pad_check_pull_range), (gst_pad_get_range),
16883         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
16884         * gst/gstpad.h:
16885         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
16886         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16887         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16888         (gst_pad_remove_buffer_probe):
16889         Removed atomic operations, use existing LOCK.
16890         Move exception handling out of main code path.
16891
16892 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16893
16894         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16895         (silly_return_true_function), (gst_pad_class_init),
16896         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16897         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
16898         (gst_pad_send_event):
16899           Fix accumulator, add default value by using _emitv() instead
16900           of _emit() for signal emission.
16901
16902 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16903
16904         * docs/manual/advanced-dataaccess.xml:
16905         * examples/manual/Makefile.am:
16906           Add probe example.
16907         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
16908           Make work (??).
16909
16910 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
16911
16912         * gst/elements/gstfilesink.c: (gst_filesink_render):
16913           Simplify code so that we don't have to handle short
16914           writes and return GST_FLOW_ERROR if an error occured.
16915
16916 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16917
16918         * docs/gst/gstreamer-docs.sgml:
16919           Remove probes more.
16920
16921 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16922
16923         * docs/gst/gstreamer-sections.txt:
16924         * docs/gst/tmpl/gstpad.sgml:
16925         * docs/gst/tmpl/gstprobe.sgml:
16926         * gst/Makefile.am:
16927         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16928         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
16929         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
16930         (gst_pad_push_event), (gst_pad_send_event):
16931         * gst/gstpad.h:
16932         * gst/gstutils.c: (gst_pad_add_data_probe),
16933         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16934         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16935         (gst_pad_remove_buffer_probe):
16936         * gst/gstutils.h:
16937           Remove old probes, add new g-signal-based probes and some utility
16938           functions.
16939
16940 2005-06-29  Edward Hervey  <edward@fluendo.com>
16941
16942         * gst/gstelementfactory.c:
16943         * gst/gstutils.h:
16944         * gst/gstutils.c:
16945         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
16946         the definition to the header file.
16947
16948 2005-06-29  Andy Wingo  <wingo@pobox.com>
16949
16950         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
16951         plugins from the source directory.
16952
16953 2005-06-29  Wim Taymans  <wim@fluendo.com>
16954
16955         * docs/gst/tmpl/gstbuffer.sgml:
16956         * docs/gst/tmpl/gstclock.sgml:
16957         Some fixings for blantently wrong text.
16958
16959 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16960
16961         * check/Makefile.am:
16962         * gst/gst.c: (add_path_func), (init_pre):
16963         * gst/gstregistry.c: (gst_registry_add_path):
16964           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
16965           only scan the GST_PLUGIN_PATH locations, and not add
16966           system locations
16967
16968 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16969
16970         * docs/gst/gstreamer-sections.txt:
16971         * docs/gst/tmpl/gstbasesrc.sgml:
16972         * gst/gstelement.c:
16973         * gst/gstelement.h:
16974         * gst/gstevent.c:
16975         * gst/gstutils.c:
16976           doc fixes
16977
16978 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16979
16980         * docs/manual/advanced-autoplugging.xml:
16981           Fix autoplugging example.
16982
16983 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16984
16985         * docs/manual/advanced-autoplugging.xml:
16986         * docs/manual/mime-world.fig:
16987           Try to get autoplugging working, fix type detection. Fix text
16988           in hello-world image.
16989
16990 2005-06-29  Wim Taymans  <wim@fluendo.com>
16991
16992         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16993         (gst_base_sink_change_state):
16994         Small debug line.
16995
16996         * gst/gstclock.h:
16997         map SIGNAL and BROADCAST to the right function.
16998
16999         * gst/gstobject.h:
17000         Remove redundant braces.
17001
17002         * gst/gstpad.c: (gst_pad_set_caps):
17003         Don't call setcaps function when reseting caps to NULL.
17004
17005         * gst/gstsystemclock.c: (gst_system_clock_dispose),
17006         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
17007         (gst_system_clock_id_unschedule):
17008         Use BROADCAST as this is what we do.
17009
17010 2005-06-29  Wim Taymans  <wim@fluendo.com>
17011
17012         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17013         We are actually prerolling before commiting the state
17014         change. 
17015
17016 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17017
17018         * docs/manual/advanced-clocks.xml:
17019         * docs/manual/advanced-interfaces.xml:
17020         * docs/manual/advanced-metadata.xml:
17021         * docs/manual/advanced-position.xml:
17022         * docs/manual/advanced-schedulers.xml:
17023         * docs/manual/advanced-threads.xml:
17024         * docs/manual/appendix-porting.xml:
17025         * docs/manual/basics-bins.xml:
17026         * docs/manual/basics-bus.xml:
17027         * docs/manual/basics-elements.xml:
17028         * docs/manual/basics-helloworld.xml:
17029         * docs/manual/basics-pads.xml:
17030         * docs/manual/highlevel-components.xml:
17031         * docs/manual/manual.xml:
17032         * docs/manual/thread.fig:
17033           Update (until threads/scheduling) Application Development Manual;
17034           remove GstThread, add GstBus, add simple porting checklist, add
17035           documentation for tag writing, clocks, make all examples until this
17036           part compile and run.
17037         * examples/manual/Makefile.am:
17038           Update from changes to Application Development Manual; add bus
17039           example, remove thread example.
17040
17041 2005-06-28  Wim Taymans  <wim@fluendo.com>
17042
17043         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
17044         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
17045         (gst_bus_source_dispatch):
17046         Add debugging messages.
17047         Make internal methods static.
17048         Handle the case where the bus is flushed in the handler.
17049         
17050         * gst/gstelement.c: (gst_element_get_bus):
17051         Fix refcount in _get_bus();
17052
17053         * gst/gstpipeline.c: (gst_pipeline_change_state),
17054         (gst_pipeline_get_clock_func):
17055         Clock refcounting fixes.
17056         Handle the case where preroll timed out more gracefully.
17057         
17058         * gst/gstsystemclock.c: (gst_system_clock_dispose):
17059         Clean up the internal thread in dispose. This is needed
17060         for subclasses that actually get disposed.
17061         
17062         * gst/schedulers/threadscheduler.c:
17063         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
17064         (gst_thread_scheduler_dispose):
17065         Free thread pool in dispose.
17066
17067 2005-06-28  Andy Wingo  <wingo@pobox.com>
17068
17069         * tests/network-clock-utils.scm (debug, print-event): New utils.
17070
17071         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
17072         (*packet-loss*): Unified loss probability.
17073         (network-time): Report out-of-band events.
17074
17075         * tests/plot-data: Add support for out-of-band events. Hack it
17076         into this script instead of passing it down the pipe; should fix
17077         this later.
17078
17079 2005-06-28  Wim Taymans  <wim@fluendo.com>
17080
17081         * docs/gst/gstreamer.types:
17082         * docs/gst/tmpl/gstbasesrc.sgml:
17083         * docs/gst/tmpl/gstpad.sgml:
17084         Docs fixes.
17085
17086 2005-06-28  Wim Taymans  <wim@fluendo.com>
17087
17088         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17089         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
17090         (gst_proxy_pad_do_fixatecaps):
17091         Correctly proxy the check_pull_range function.
17092
17093 2005-06-28  Andy Wingo  <wingo@pobox.com>
17094
17095         * tests/network-clock.scm: Removed need for slib.
17096         
17097 2005-06-28  Wim Taymans  <wim@fluendo.com>
17098
17099         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
17100         (gst_basesink_preroll_queue_flush):
17101         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
17102         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
17103         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17104         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
17105         (gst_proxy_pad_set_property):
17106         * gst/gstpad.c:
17107         * gst/gstpad.h:
17108         * gst/gstqueue.c: (gst_queue_init):
17109         The deprecated pad loop function is removed now.
17110
17111 2005-06-28  Andy Wingo  <wingo@pobox.com>
17112
17113         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
17114         New parameters, simulate network packet loss.
17115
17116         * tests/network-clock-utils.scm: Initialize the RNG.
17117
17118 2005-06-28  Wim Taymans  <wim@fluendo.com>
17119
17120         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
17121         (gst_basesink_event), (gst_basesink_deactivate):
17122         Flushing the preroll queue always needs to unlock the waiters.
17123
17124 2005-06-28  Edward Hervey  <edward@fluendo.com>
17125
17126         * gst/gstpipeline.c: (gst_pipeline_send_event): 
17127         Wheen a seek was successful on a pipeline, set the stream_time to the
17128         seek offset in order to have a synchronized stream_time.
17129
17130 2005-06-28  Wim Taymans  <wim@fluendo.com>
17131
17132         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17133         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
17134         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
17135         (gst_proxy_pad_do_fixatecaps):
17136         Call wrapper function instead of just calling the function
17137         pointers. This takes care of any locking and whatmore.
17138
17139 2005-06-28  Wim Taymans  <wim@fluendo.com>
17140
17141         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
17142         (gst_pad_pull_range):
17143         * gst/gstpad.h:
17144         CONNECTED -> LINKED.
17145
17146 2005-06-28  Andy Wingo  <wingo@pobox.com>
17147
17148         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
17149         source-munging commit!!!
17150
17151         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
17152         (gst_object_sink): Take gpointer arguments, not GstObject --
17153         avoids casts. Like GLib.
17154
17155         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
17156         activate.
17157
17158 2005-06-27  Andy Wingo  <wingo@pobox.com>
17159
17160         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
17161         remaining buffer.
17162
17163         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
17164         returns a sorted copy of the trace list.
17165         (gst_alloc_trace_print_live): New API, only prints traces with
17166         live objects. Sort the list.
17167         (gst_alloc_trace_print_all): Sort the list.
17168         (gst_alloc_trace_print): Align columns.
17169
17170         * gst/elements/gstttypefindelement.c:
17171         * gst/elements/gsttee.c:
17172         * gst/base/gstbasesrc.c:
17173         * gst/base/gstbasesink.c:
17174         * gst/base/gstbasetransform.c:
17175         * gst/gstqueue.c: Adapt for pad activation changes.
17176
17177         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
17178         sched.
17179         (gst_pipeline_dispose): Drop ref on sched.
17180
17181         * gst/gstpad.c (gst_pad_init): Set the default activate func.
17182         (gst_pad_activate_default): Push mode by default.
17183         (pre_activate_switch, post_activate_switch): New stubs, things to
17184         do before and after switching activation modes on pads.
17185         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
17186         the pad's activate function to choose which mode to activate.
17187         Shortcut on deactivation and call the right function directly.
17188         (gst_pad_activate_pull): New API, (de)activates a pad in pull
17189         mode.
17190         (gst_pad_activate_push): New API, same for push mode.
17191         (gst_pad_set_activate_function) 
17192         (gst_pad_set_activatepull_function) 
17193         (gst_pad_set_activatepush_function): Setters for new API.
17194
17195         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
17196         Trace all miniobjects.
17197         (gst_mini_object_make_writable): Unref the arg if we copy, like
17198         gst_caps_make_writable.
17199
17200         * gst/gstmessage.c (_gst_message_initialize): No trace init.
17201
17202         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
17203         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
17204         Adapt for new pad API.
17205
17206         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
17207
17208         * gst/gstelement.h:
17209         * gst/gstelement.c (gst_element_iterate_src_pads) 
17210         (gst_element_iterate_sink_pads): New API functions.
17211         
17212         * gst/gstelement.c (iterator_fold_with_resync): New utility,
17213         should fold into gstiterator.c in some form.
17214         (gst_element_pads_activate): Simplified via use of fold and
17215         delegation of decisions to gstpad->activate.
17216
17217         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
17218         help in debugging.
17219
17220         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
17221         class once in init, like gstmessage. Didn't run into this issue
17222         but it seems correct. Don't initialize a trace, gstminiobject does
17223         that.
17224
17225         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
17226         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
17227         to the bus.
17228         (assert_live_count): New util function, uses alloc traces to check
17229         cleanup.
17230
17231         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
17232         To be modified when unlink drops the internal pad.
17233
17234 2005-06-27  Wim Taymans  <wim@fluendo.com>
17235
17236         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
17237         (gst_bin_change_state):
17238         Cleanup the get_state() function a little, make sure it
17239         iterates the same set of elements.
17240         Added stub iterate_state_order().
17241
17242 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17243
17244         * docs/gst/gstreamer-docs.sgml:
17245         * docs/gst/gstreamer-sections.txt:
17246         * docs/gst/gstreamer.types:
17247         * docs/gst/tmpl/gstbasesink.sgml:
17248         * docs/gst/tmpl/gstbasesrc.sgml:
17249         * docs/gst/tmpl/gstbasetransform.sgml:
17250         * docs/gst/tmpl/gstelement.sgml:
17251         * docs/gst/tmpl/gstiterator.sgml:
17252         * gst/base/gstbasesrc.c:
17253         * gst/base/gstbasesrc.h:
17254         * gst/base/gstbasetransform.h:
17255         * gst/gstelement.c:
17256         * gst/gstiterator.h:
17257           adding basetransform and iterator docs
17258
17259 2005-06-27  Andy Wingo  <wingo@pobox.com>
17260
17261         * docs/design/part-activation.txt: Notes on how activation should
17262         work -- not quite implemented yet.
17263
17264 2005-06-25  Wim Taymans  <wim@fluendo.com>
17265
17266         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
17267         At least get the chain function correct, needs more
17268         fixing.
17269
17270 2005-06-25  Wim Taymans  <wim@fluendo.com>
17271
17272         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17273         (gst_basesink_handle_object), (gst_basesink_event),
17274         (gst_basesink_do_sync), (gst_basesink_handle_event),
17275         (gst_basesink_change_state):
17276         * gst/gsttask.h:
17277         Right, two problems here: ghostpads don't take locks and
17278         glib _rec_mutex_lock_full() with depth==0 still locks.
17279         Catch illegal locking and g_warn them.
17280
17281 2005-06-25  Wim Taymans  <wim@fluendo.com>
17282
17283         * check/states/sinks.c: (START_TEST), (gst_object_suite):
17284         Have to check for completion now...
17285
17286 2005-06-25  Wim Taymans  <wim@fluendo.com>
17287
17288         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17289         (gst_basesink_handle_object), (gst_basesink_event),
17290         (gst_basesink_do_sync), (gst_basesink_handle_event),
17291         (gst_basesink_change_state):
17292         * gst/gstpad.h:
17293         Unlock STREAM_LOCK whatever the recursion was.
17294
17295 2005-06-25  Wim Taymans  <wim@fluendo.com>
17296
17297         * gst/base/gstbasesink.c: (gst_basesink_set_property),
17298         (gst_basesink_preroll_queue_empty),
17299         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
17300         (gst_basesink_event), (gst_basesink_do_sync),
17301         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
17302         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
17303         (gst_basesink_change_state):
17304         Reworked the base sink, handle event and buffer serialisation
17305         correctly and removed possible deadlock.
17306         Handle EOS correctly.
17307
17308 2005-06-25  Wim Taymans  <wim@fluendo.com>
17309
17310         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
17311         (gst_pipeline_change_state):
17312         * tools/gst-launch.c: (check_intr), (event_loop), (main):
17313         Allow elements to post EOS in the state change function.
17314         Fix up -launch, make it exit the poll loop when the
17315         pipeline actually changed state.
17316         Fix up warning parsing in -launch.
17317
17318 2005-06-25  Wim Taymans  <wim@fluendo.com>
17319
17320         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
17321         (gst_tee_sink_activate):
17322         Core takes STREAM_LOCK for us now.
17323
17324 2005-06-25  Wim Taymans  <wim@fluendo.com>
17325
17326         * gst/gstelement.c: (gst_element_get_state_func),
17327         (gst_element_set_state):
17328         * gst/gstelement.h:
17329         * gst/gstmessage.c: (gst_message_parse_error),
17330         (gst_message_parse_warning):
17331         Keep track of current target state while performing a state
17332         change so that subclasses can do something interesting.
17333         Fix parsing of warning/error messages when GError is NULL.
17334
17335 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17336
17337         * docs/gst/Makefile.am:
17338         * docs/gst/gstreamer-docs.sgml:
17339         * docs/gst/gstreamer-sections.txt:
17340         * docs/gst/gstreamer.types:
17341         * docs/gst/tmpl/gstbasesink.sgml:
17342         * docs/gst/tmpl/gstbasesrc.sgml:
17343         * docs/gst/tmpl/gstbin.sgml:
17344         * docs/gst/tmpl/gstcompat.sgml:
17345         * docs/gst/tmpl/gstfakesink.sgml:
17346         * docs/gst/tmpl/gstfakesrc.sgml:
17347         * docs/gst/tmpl/gstfilesink.sgml:
17348         * docs/gst/tmpl/gstfilesrc.sgml:
17349         * docs/gst/tmpl/gstindex.sgml:
17350         * docs/manual/appendix-quotes.xml:
17351         * gst/base/gstbasesrc.h:
17352         * gst/elements/gstfakesrc.h:
17353         * gst/gstmessage.h:
17354           start pulling in base classes and elements in our docs
17355
17356 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
17357
17358         * docs/gst/Makefile.am:
17359         * docs/libs/Makefile.am:
17360           fixed make distcheck with gtk-doc 1.3
17361
17362 2005-06-23  Wim Taymans  <wim@fluendo.com>
17363
17364         * gst/gstelement.c: (gst_element_get_state_func),
17365         (gst_element_set_state), (gst_element_change_state):
17366         When the state did not change, also report NO_PREROLL
17367         when it matters.
17368
17369 2005-06-23  Wim Taymans  <wim@fluendo.com>
17370
17371         * gst/gstpad.c: (gst_pad_event_default):
17372         * gst/gstqueue.c: (gst_queue_loop):
17373         No unsafe task pausing please.
17374
17375 2005-06-23  Wim Taymans  <wim@fluendo.com>
17376
17377         * gst/schedulers/threadscheduler.c:
17378         (gst_thread_scheduler_task_start),
17379         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
17380         Ref the task before pushing it on the threadpool. This
17381         makes sure that we have a ref when the threadfunction is
17382         actually called.
17383
17384 2005-06-23  Andy Wingo  <wingo@pobox.com>
17385
17386         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
17387         offset is greater than the file's size.
17388
17389         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
17390         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
17391         * gst/gstobject.c (gst_object_class_init): Make the class lock
17392         recursive. Wim won't let me drop deep_notify. Decodebin works
17393         again, whoopdy doo.
17394
17395         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
17396         internal pad, and hacks accordingly. Doesn't do it on the target
17397         pad because we change its caps. Probably catches all cases of
17398         interest tho.
17399         (gst_ghost_pad_set_property): Connect to notify::caps as
17400         appropritate.
17401
17402         * tests/network-clock.scm (plot-simulation): Pipe data to the
17403         elite python skript.
17404
17405         * tests/network-clock-utils.scm (define-parameter): New macro,
17406         defines a parameter that can be set via the command line.
17407         (set-parameter!, parse-parameter-arguments): Command line args
17408         parser.
17409
17410         * tests/plot-data: Simple matplotlib-based plotter, takes input on
17411         stdin.
17412
17413 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
17414
17415         * gst/elements/gsttypefindelement.c:
17416         (gst_type_find_element_handle_event):
17417           Don't restart typefinding on a discont.
17418         * gst/gstelement.c: (gst_element_set_state):
17419           Debug spelling fix.
17420         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
17421           Allow changing mode of an active pad.
17422           Debug output fixes.
17423         * gst/registries/gstlibxmlregistry.c: (load_feature):
17424           Don't cast a static pad template to a normal pad template.
17425
17426 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17427
17428         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17429         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17430           remove gst_strtoll completely, since it didn't actually do
17431           anything more than what g_ascii_strtoull already does.
17432           check for range errors when deserializing
17433           do a cast for the unsigned cases; but further fixing needs
17434           a decision on what the interpretation of "(int)" and
17435           deserialization should be for values that fall outside the
17436           type's boundaries (ie, refuse, or interpret as casting)
17437
17438 2005-06-23  Wim Taymans  <wim@fluendo.com>
17439
17440         * check/Makefile.am:
17441         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
17442         * docs/design/part-live-source.txt:
17443         * docs/design/part-states.txt:
17444         * gst/base/gstbasesrc.c: (gst_basesrc_init),
17445         (gst_basesrc_set_live), (gst_basesrc_is_live),
17446         (gst_basesrc_get_range), (gst_basesrc_activate),
17447         (gst_basesrc_change_state):
17448         * gst/base/gstbasesrc.h:
17449         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17450         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
17451         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
17452         * gst/gstelement.c: (gst_element_get_state_func),
17453         (gst_element_set_state):
17454         * gst/gstelement.h:
17455         * gst/gsttypes.h:
17456         * tools/gst-launch.c: (event_loop), (main):
17457         Added support for live sources and other elements that
17458         cannot do preroll.
17459         Updated design docs, added live-source design doc.
17460         Implemented live source functionality in basesrc
17461         Fix error condition in _bin_get_state()
17462         Implement live source handling in -launch.
17463         Added check for live sources.
17464         Fixed case in GstBin where elements were changed state
17465         multiple times.
17466
17467
17468 2005-06-23  Andy Wingo  <wingo@pobox.com>
17469
17470         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
17471         borken refcounting.
17472
17473         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
17474         gst_caps_replace takes care of this for us.
17475
17476         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
17477         gst_pad_set_caps on the target, not just its setcaps() function.
17478
17479         * tests/network-clock.scm: 
17480         * tests/network-clock-utils.scm: A network clock simulator.
17481         Something of an algorithmic testbed before doing something in C.
17482
17483 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17484
17485         * check/Makefile.am:
17486         * check/gst/capslist.h:
17487           copy over from 0.8, and add two with bitmasks specified with
17488           (int) 0xFF...
17489         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17490           add test to parse everything from capslist.h
17491         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
17492         (main):
17493           add test for structure deserialization
17494         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17495           add tests for deserialization of strings to int types
17496         * gst/gststructure.c: (gst_structure_nth_field_name):
17497         * gst/gststructure.h:
17498           add a way to get the name of a field referenced by index
17499         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17500           instead of checking if the resulting long long lies between
17501           min and max, we check if the long long would fit into
17502           a number of bytes for the final type.
17503           This fixes cases where a string represents 2^32 - 1, which
17504           when cast to int would be the (valid) -1, but is bigger than
17505           G_MAXINT
17506
17507 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17508
17509         * gst/parse/grammar.y:
17510           add a log line for type deserialization
17511
17512 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17513
17514         * check/gst/gstvalue.c: (START_TEST):
17515         * gst/gstvalue.c: (gst_value_deserialize):
17516           return long long, not int, so gint64 deserialization actually
17517           works.  Is there any flag that makes the compiler check this ?
17518           Fixes #308559
17519
17520 2005-06-22  Wim Taymans  <wim@fluendo.com>
17521
17522         * gst/gstbuffer.h:
17523         Added convenience macros for setting buffers in GValue.
17524
17525 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17526
17527         * check/gst/.cvsignore:
17528         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17529           add a test deserializing int64, and comment part out because
17530           it fails, yay !
17531
17532 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17533
17534         * check/Makefile.am:
17535         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
17536         * testsuite/Makefile.am:
17537         * testsuite/caps/Makefile.am:
17538         * testsuite/caps/value_serialize.c:
17539         * testsuite/test_gst_init.c:
17540           move a value_serialize test over
17541
17542 2005-06-20  Wim Taymans  <wim@fluendo.com>
17543
17544         * gst/gstpad.c:
17545         Small doc updates.
17546         
17547         * gst/gstvalue.c: (gst_value_compare_buffer),
17548         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
17549         (gst_value_compare_flags), (gst_value_serialize_flags),
17550         (gst_value_deserialize_flags), (_gst_value_initialize):
17551         Fix serialisation of buffers, they are not boxed types anymore
17552
17553 2005-06-20  Wim Taymans  <wim@fluendo.com>
17554
17555         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17556         Testcase to show error in buffer-on-caps serialisation.
17557
17558 2005-06-20  Andy Wingo  <wingo@pobox.com>
17559
17560         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
17561         will be adding to later.
17562
17563         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
17564         if its socks fill with rocks.
17565         (gst_system_clock_obtain): Set the name on object construction.
17566         Avoid double-checked locking.
17567
17568 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
17569
17570         * gst/gsturi.c: (gst_element_make_from_uri):
17571           Fix potential endless loop.
17572
17573 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17574
17575         * check/Makefile.am:
17576           add gsttag
17577         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
17578         (main):
17579           move over from testsuite dir and clean up
17580         * configure.ac:
17581         * gst/gsttag.c:
17582         * testsuite/Makefile.am:
17583         * testsuite/tags/.cvsignore:
17584         * testsuite/tags/Makefile.am:
17585         * testsuite/tags/merge.c:
17586           remove testsuite/tags
17587
17588 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17589
17590         * docs/gst/gstreamer-sections.txt:
17591         * docs/gst/tmpl/gstenumtypes.sgml:
17592         * win32/gstenumtypes.c:
17593           clean up documentation build a little
17594
17595 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17596
17597         * check/gstcheck.h:
17598           add macros for checking refcounts on objects and caps
17599         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
17600           add some more unit tests
17601         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17602         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
17603           fix leaked refcounts (I hope :)) so unittest works
17604         * gst/gstpad.h:
17605           whitespace removal
17606
17607 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17608
17609         * configure.ac: back to HEAD
17610
17611 === release 0.9.1 ===
17612
17613 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17614
17615         * NEWS:
17616         * RELEASE:
17617           updated
17618
17619 2005-06-17  Andy Wingo  <wingo@pobox.com>
17620
17621         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
17622         assert; it's always possible that the pad gets deactivated in
17623         between the checks in gstpad.c and the implementation. Rely on
17624         finish_preroll() to return a FLUSHING or similar instead of on the
17625         assert.
17626         
17627         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
17628         clock and post an EOS message if we come out of finish_preroll in
17629         the playing state.
17630
17631 2005-06-16  David Schleef  <ds@schleef.org>
17632
17633         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17634         (gst_capsfilter_set_property): Allow NULL as possible value
17635         for filter_caps property, indicating GST_CAPS_ANY.
17636
17637 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17638
17639         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
17640           fix debug output
17641         * gst/schedulers/Makefile.am:
17642           use libgst prefix
17643         * gstreamer.spec.in:
17644           fix spec for it
17645
17646 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17647
17648         * gstreamer.spec.in:
17649           clean up
17650
17651 2005-06-08  Andy Wingo  <wingo@pobox.com>
17652
17653         * gst/gstutils.c: RPAD fixes all around.
17654         (gst_element_link_pads): Refcounting fixes.
17655
17656         * tools/gst-inspect.c:
17657         * tools/gst-xmlinspect.c:
17658         * parse/grammar.y:
17659         * gst/base/gsttypefindhelper.c:
17660         * gst/base/gstbasesink.c:
17661         * gst/gstqueue.c: RPAD fixes.
17662
17663         * gst/gstghostpad.h:
17664         * gst/gstghostpad.c: New ghost pad implementation as full proxy
17665         pads. The tricky thing is they provide both source and sink
17666         interfaces, since they proxy the internal pad for the external
17667         pad, and vice versa. Implement with lower-level ProxyPad objects,
17668         with the interior proxy pad as a child of the exterior ghost pad.
17669         Should write a doc on this.
17670         
17671         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
17672         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
17673         gst_object API.
17674         
17675         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
17676         pads are real pads. No ghost pads in this file. Not documenting
17677         the myriad s/RPAD/PAD/ and REALIZE fixes.
17678         (gst_pad_class_init): Add properties for "direction" and
17679         "template". Both are construct-only, so they can't change during
17680         the life of the pad. Fixes properly deriving from GstPad.
17681         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
17682         derived objects, just set properties when creating the objects via
17683         g_object_new.
17684         (gst_pad_get_parent): Implement as a function, return NULL if the
17685         parent is not an element.
17686         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
17687         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
17688         
17689         * gst/gstobject.c (gst_object_class_init): Make name a construct
17690         property. Don't set it in the object init.
17691
17692         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
17693         with UNKNOWN direction.
17694         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
17695         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
17696         (gst_element_remove_pad): Remove ghost-pad special cases.
17697         (gst_element_pads_activate): Remove rpad cruft.
17698
17699         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
17700         catch the pad's-parent-not-an-element case.
17701
17702         * gst/gst.h: Include gstghostpad.h.
17703
17704         * gst/gst.c (init_post): No more real, ghost pads.
17705
17706         * gst/Makefile.am: Add gstghostpad.[ch].
17707
17708         * check/Makefile.am:
17709         * check/gst/gstbin.c:
17710         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
17711         into a bin creates ghost pads, and that the refcounts are right.
17712         Partly moved from gstbin.c.
17713
17714 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17715
17716         * check/gst-libs/.cvsignore:
17717         * check/gst/.cvsignore:
17718         * check/pipelines/.cvsignore:
17719           ignore more
17720         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
17721         (START_TEST), (cleanup_suite), (main):
17722           add some tests related to cleanup after running pipelines
17723
17724 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17725
17726         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
17727           add a testsuite for GstBuffer
17728
17729 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17730
17731         * gst/gstminiobject.h:
17732           add defines for accessing the refcount
17733
17734 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
17735
17736         * Makefile.am: added support for html unit test coverage reports
17737
17738 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
17739
17740         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17741           Free existing caps if the capsfilter changes. Add a FIXME about
17742           setting those caps on the pads.
17743
17744         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
17745           Before adding a ghost pad to a parent bin, check that there isn't
17746           already one for the element on the bin. Prevents infinite recursion
17747           when using decodebin in parse pipelines. Andy says he'll rewrite the
17748           way this works anyway, so ignore the hack.
17749
17750 2005-06-02  Andy Wingo  <wingo@pobox.com>
17751
17752         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
17753         file size, pass it on to the type find helper.
17754
17755         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
17756         segment_start and segment_end properly according to the seek
17757         method. Segment_end is still a bit flaky because offset can be
17758         negative for CUR and END cases, but it takes -1 as an "unset"
17759         value.
17760
17761 2005-06-02  Wim Taymans  <wim@fluendo.com>
17762
17763         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
17764         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
17765         (gst_basesink_activate):
17766         * gst/base/gstbasesink.h:
17767         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17768         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17769         (gst_pad_query), (gst_pad_start_task):
17770         * gst/gstpad.h:
17771         * gst/gstqueue.c: (gst_queue_bufferalloc),
17772         (gst_queue_handle_sink_event), (gst_queue_chain):
17773         Bufferalloc: return GstFlowReturn to more accuratly report
17774         why allocation failed.
17775
17776 2005-06-02  Wim Taymans  <wim@fluendo.com>
17777
17778         * gst/gstpipeline.c: (gst_pipeline_send_event):
17779         Take snapshot of state without blocking.
17780
17781 2005-06-02  Wim Taymans  <wim@fluendo.com>
17782
17783         * docs/design/part-TODO.txt:
17784         * docs/design/part-caps.txt:
17785         * docs/design/part-clocks.txt:
17786         * docs/design/part-negotiation.txt:
17787         * docs/design/part-preroll.txt:
17788         Small doc updates 
17789
17790 2005-05-30  Wim Taymans  <wim@fluendo.com>
17791
17792         * gst/elements/gstidentity.c: (gst_identity_event),
17793         (gst_identity_transform), (gst_identity_get_property):
17794         Protect last_message property as it is accessed from
17795         multiple threads.
17796
17797 2005-05-30  Wim Taymans  <wim@fluendo.com>
17798
17799         * gst/gstelement.c: (gst_element_init),
17800         (gst_element_pads_activate), (gst_element_change_state):
17801         Slicker pad activation code.
17802
17803 2005-05-30  Wim Taymans  <wim@fluendo.com>
17804
17805         * gst/Makefile.am:
17806         * gst/gstelement.h:
17807         * gst/gstelementfactory.h:
17808         * gst/gsttypes.h:
17809         Move elementfactory methods to separate .h file.
17810
17811 2005-05-30  Wim Taymans  <wim@fluendo.com>
17812
17813         * docs/design/part-overview.txt:
17814         * gst/gstsystemclock.h:
17815         Small typo fixes, doc updates.
17816
17817 2005-05-30  Wim Taymans  <wim@fluendo.com>
17818
17819         * gst/gst.c: (gst_init_get_popt_table), (init_post),
17820         (init_popt_callback):
17821         Remove cpu-opt flag.
17822
17823 2005-05-30  Wim Taymans  <wim@fluendo.com>
17824
17825         * gst/gstbuffer.c: (gst_subbuffer_finalize),
17826         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
17827         * gst/gstbuffer.h:
17828         Avoid typechecking in places where not needed.
17829         Added accessor for malloc_data.
17830
17831 2005-05-30  Wim Taymans  <wim@fluendo.com>
17832
17833         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
17834         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
17835         (gst_pad_configure_sink), (gst_pad_configure_src),
17836         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
17837         (gst_pad_start_task):
17838         Propagate errors from _set_caps() in configure_src/sink
17839         functions instead of returning TRUE.
17840         FLUSH events can travel up and downstream
17841
17842
17843 2005-05-30  Wim Taymans  <wim@fluendo.com>
17844
17845         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17846         (gst_basesink_activate):
17847         Handle EOS in preroll.
17848
17849 2005-05-30  Wim Taymans  <wim@fluendo.com>
17850
17851         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17852         (gst_queue_loop), (gst_queue_handle_src_event):
17853         Remove old pieces of code
17854         Flushing the queue in an upstream event is a very bad idea.
17855
17856 2005-05-26  Andy Wingo  <wingo@pobox.com>
17857
17858         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
17859         gst_value_set_mini_object so as to add a ref on the object (which
17860         will be removed when the value is unset).
17861
17862         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
17863         arg type in ::handoff.
17864
17865         * gst/gstelement.c (gst_element_change_state): Also deactivate
17866         pads in READY->NULL, just in case the element didn't make it to
17867         PAUSED. Wingo tested, Wim approved.
17868
17869 2005-05-26  Wim Taymans  <wim@fluendo.com>
17870
17871         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17872         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17873         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
17874         A flushing pad cannot be used to alloc_buffer from.
17875
17876 2005-05-26  Wim Taymans  <wim@fluendo.com>
17877
17878         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
17879         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
17880         (gst_bus_source_dispatch), (gst_bus_source_finalize),
17881         (gst_bus_create_watch), (gst_bus_add_watch_full):
17882         * gst/gstbus.h:
17883         Implement a real GSource and use g_main_context_wakeup() to
17884         signal new messages instead of the socketpair.
17885
17886 2005-05-25  Wim Taymans  <wim@fluendo.com>
17887
17888         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
17889         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
17890         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17891         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17892         (gst_pad_send_event), (gst_pad_start_task):
17893         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
17894         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
17895         (gst_queue_sink_activate), (gst_queue_src_activate),
17896         (gst_queue_change_state):
17897         * gst/gstqueue.h:
17898         Fix state changes for non sinks. We now change sinks, then elements
17899         with unconnected srcpads, then the rest.
17900         More efficient queue unlocking in flush and state changes.
17901         Set the pad activate mode even if it does not have an activate
17902         function.
17903
17904 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17905
17906         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
17907           Don't go in pull mode for non-seekable sources.
17908         * gst/elements/gsttypefindelement.h:
17909         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
17910         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
17911         (free_entry), (stop_typefinding),
17912         (gst_type_find_element_handle_event), (find_peek),
17913         (gst_type_find_element_chain), (do_pull_typefind),
17914         (gst_type_find_element_change_state):
17915           Allow typefinding (w/o seeking) in push-mode, simplified version
17916           of what was in 0.8.
17917         * gst/gstutils.c: (gst_buffer_join):
17918         * gst/gstutils.h:
17919           gst_buffer_join() from 0.8.
17920
17921 2005-05-25  Wim Taymans  <wim@fluendo.com>
17922
17923         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17924         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17925         (gst_pad_send_event), (gst_pad_start_task):
17926         Disable attempt at mode switching until it is figured out.
17927
17928 2005-05-25  Wim Taymans  <wim@fluendo.com>
17929
17930         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
17931         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17932         (gst_basesink_finish_preroll), (gst_basesink_chain),
17933         (gst_basesink_loop), (gst_basesink_activate),
17934         (gst_basesink_change_state):
17935         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
17936         (gst_basesrc_get_range), (gst_basesrc_loop),
17937         (gst_basesrc_activate):
17938         * gst/elements/gsttee.c: (gst_tee_sink_activate):
17939         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
17940         (gst_real_pad_init), (gst_real_pad_set_property),
17941         (gst_real_pad_get_property), (gst_pad_set_active),
17942         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
17943         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
17944         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
17945         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
17946         (gst_pad_event_default_dispatch), (gst_pad_event_default),
17947         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
17948         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
17949         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17950         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
17951         (gst_pad_stop_task):
17952         * gst/gstpad.h:
17953         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17954         (gst_queue_loop), (gst_queue_src_activate):
17955         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
17956         (gst_task_get_state):
17957         * gst/gsttask.h:
17958         * gst/schedulers/threadscheduler.c:
17959         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
17960         Implement gst_pad_pause/start/stop_task(), take STREAM lock
17961         in task function.
17962         Remove ACTIVE pad flag, use FLUSHING everywhere
17963         Added _pad_chain(), _pad_get_range() to call chain/getrange 
17964         functions.
17965         Add locks around IS_FLUSHING when reading.
17966         Take STREAM lock in chain(), get_range() functions so plugins
17967         don't need to take it anymore.
17968         
17969
17970
17971 2005-05-25  Wim Taymans  <wim@fluendo.com>
17972
17973         * tools/gst-launch.c: (event_loop):
17974         Unref message after using its contents instead of
17975         before.
17976
17977 2005-05-24  Wim Taymans  <wim@fluendo.com>
17978
17979         * docs/design/draft-ghostpads.txt:
17980         * docs/design/draft-push-pull.txt:
17981         * docs/design/draft-query.txt:
17982         * docs/design/part-overview.txt:
17983         Docs updates, added general overview doc.
17984
17985 2005-05-21  David Schleef  <ds@schleef.org>
17986
17987         * docs/gst/tmpl/old/GstBin.sgml:
17988         * docs/gst/tmpl/old/GstBuffer.sgml:
17989         * docs/gst/tmpl/old/GstCaps.sgml:
17990         * docs/gst/tmpl/old/GstClock.sgml:
17991         * docs/gst/tmpl/old/GstCompat.sgml:
17992         * docs/gst/tmpl/old/GstData.sgml:
17993         * docs/gst/tmpl/old/GstElement.sgml:
17994         * docs/gst/tmpl/old/GstEvent.sgml:
17995         * docs/gst/tmpl/old/GstIndex.sgml:
17996         * docs/gst/tmpl/old/GstStructure.sgml:
17997         * docs/gst/tmpl/old/GstTag.sgml:
17998         * docs/gst/tmpl/old/cothreads.sgml:
17999         * docs/gst/tmpl/old/cothreads_compat.sgml:
18000         * docs/gst/tmpl/old/gettext.sgml:
18001         * docs/gst/tmpl/old/gobject2gtk.sgml:
18002         * docs/gst/tmpl/old/grammar.tab.sgml:
18003         * docs/gst/tmpl/old/gst-i18n-app.sgml:
18004         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
18005         * docs/gst/tmpl/old/gst_private.sgml:
18006         * docs/gst/tmpl/old/gstaggregator.sgml:
18007         * docs/gst/tmpl/old/gstarch.sgml:
18008         * docs/gst/tmpl/old/gstatomic_impl.sgml:
18009         * docs/gst/tmpl/old/gstbufferstore.sgml:
18010         * docs/gst/tmpl/old/gstdata_private.sgml:
18011         * docs/gst/tmpl/old/gstdisksink.sgml:
18012         * docs/gst/tmpl/old/gstdisksrc.sgml:
18013         * docs/gst/tmpl/old/gstelementfactory.sgml:
18014         * docs/gst/tmpl/old/gstextratypes.sgml:
18015         * docs/gst/tmpl/old/gstfakesink.sgml:
18016         * docs/gst/tmpl/old/gstfakesrc.sgml:
18017         * docs/gst/tmpl/old/gstfdsink.sgml:
18018         * docs/gst/tmpl/old/gstfdsrc.sgml:
18019         * docs/gst/tmpl/old/gstfilesink.sgml:
18020         * docs/gst/tmpl/old/gstfilesrc.sgml:
18021         * docs/gst/tmpl/old/gsthttpsrc.sgml:
18022         * docs/gst/tmpl/old/gstidentity.sgml:
18023         * docs/gst/tmpl/old/gstindexfactory.sgml:
18024         * docs/gst/tmpl/old/gstmarshal.sgml:
18025         * docs/gst/tmpl/old/gstmd5sink.sgml:
18026         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
18027         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
18028         * docs/gst/tmpl/old/gstpadtemplate.sgml:
18029         * docs/gst/tmpl/old/gstpipefilter.sgml:
18030         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
18031         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
18032         * docs/gst/tmpl/old/gstshaper.sgml:
18033         * docs/gst/tmpl/old/gstspider.sgml:
18034         * docs/gst/tmpl/old/gstspideridentity.sgml:
18035         * docs/gst/tmpl/old/gststatistics.sgml:
18036         * docs/gst/tmpl/old/gsttee.sgml:
18037         * docs/gst/tmpl/old/gsttimecache.sgml:
18038         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
18039         * docs/gst/tmpl/old/gstxmlregistry.sgml:
18040         * docs/gst/tmpl/old/gthread-cothreads.sgml:
18041         * docs/gst/tmpl/old/types.sgml:
18042           I didn't intend to add these or check them in.
18043
18044 2005-05-19  David Schleef  <ds@schleef.org>
18045
18046         * configure.ac: Use -no-common everywhere.  In a sane world, it
18047           would be the default in libtool, because without it, you can't
18048           build DLLs on Windows.
18049         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
18050         * docs/gst/gstreamer-sections.txt:
18051         * docs/gst/tmpl/gstcpu.sgml:
18052         * docs/gst/tmpl/gstdata.sgml:
18053         * docs/gst/tmpl/gstthread.sgml:
18054
18055 2005-05-19  David Schleef  <ds@schleef.org>
18056
18057         * gst/gstminiobject.c: (gst_value_set_mini_object),
18058         (gst_value_take_mini_object), (gst_value_get_mini_object):
18059         * gst/gstminiobject.h: Add GValue set/get functions.
18060
18061 2005-05-19  Wim Taymans  <wim@fluendo.com>
18062
18063         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
18064         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
18065         (gst_subbuffer_init), (gst_buffer_is_span_fast):
18066         * gst/gstbuffer.h:
18067         * gst/gstbus.c: (gst_bus_post):
18068         * gst/gstelement.c: (gst_element_get_random_pad):
18069         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
18070         Make subbufer unref the parent in finalize.
18071         some more debugging info.
18072
18073
18074 2005-05-19  Wim Taymans  <wim@fluendo.com>
18075
18076         * gst/base/gstbasesink.c: (gst_basesink_class_init),
18077         (gst_basesink_init), (gst_basesink_finalize),
18078         (gst_basesink_activate), (gst_basesink_change_state):
18079         Don't free preroll queue too early.
18080
18081 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18082
18083         * gst/Makefile.am:
18084         * gst/ROADMAP:
18085           Hi, I'm outdated. Please shoot me.
18086
18087 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18088
18089         * gst/gstpipeline.c: (gst_pipeline_send_event):
18090           Do not access variables after they have been deleted.
18091
18092 2005-05-19  Wim Taymans  <wim@fluendo.com>
18093
18094         * tools/gst-inspect.c: (print_plugin_features):
18095         A plugin feature does unfortunatly not use the
18096         object name yet...
18097
18098 2005-05-18  Wim Taymans  <wim@fluendo.com>
18099
18100         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
18101         Port _span() functions to new subbuffers.
18102
18103 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18104
18105         * gst/gstbin.c: (gst_bin_add_func):
18106           Fix clock settery in bins when adding kids after the clock has
18107           been selected.
18108
18109 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18110
18111         * gst/elements/gstidentity.c: (gst_identity_class_init):
18112           Workaround until signals support GstMiniObject.
18113
18114 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
18115
18116         * gst/gstbuffer.c:
18117         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
18118
18119 2005-05-18  Wim Taymans  <wim@fluendo.com>
18120
18121         * gst/base/Makefile.am:
18122         * gst/base/gstadapter.c: (gst_adapter_base_init),
18123         (gst_adapter_class_init), (gst_adapter_init),
18124         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
18125         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
18126         (gst_adapter_flush), (gst_adapter_available),
18127         (gst_adapter_available_fast):
18128         * gst/base/gstadapter.h:
18129         Ported and added adapter to the base classes.
18130
18131 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18132
18133         * gst/gst.c:
18134         * gst/gstmessage.c:
18135           Make sure the class is reffed/unreffed once before threads can be
18136           used.  Fixes #304551.
18137
18138 2005-05-17  Wim Taymans  <wim@fluendo.com>
18139
18140         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
18141         (gst_basesink_chain_unlocked), (gst_basesink_activate):
18142         * gst/gstminiobject.c: (gst_mini_object_get_type),
18143         (gst_mini_object_free):
18144         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
18145         (gst_pad_push), (gst_pad_push_event):
18146         * gst/gstqueue.c: (gst_queue_change_state):
18147         Don't queue buffers in basesink when we are flushing.
18148         Unref buffer when flushing in basesink.
18149         Flush queue when going to READY
18150         Unref buffer when _push() returns an error.
18151         Don't free MiniObject instance when refcount is incremented
18152         in _finalize() so that we can recover objects.
18153
18154 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
18155
18156         * docs/manual/advanced-schedulers.xml:
18157         * docs/manual/appendix-checklist.xml:
18158         * docs/pwg/advanced-clock.xml:
18159         * docs/pwg/advanced-interfaces.xml:
18160         * docs/pwg/advanced-request.xml:
18161         * docs/pwg/advanced-types.xml:
18162         * docs/pwg/intro-preface.xml:
18163         * examples/plugins/example.c: (gst_example_get_type),
18164         (gst_example_class_init), (gst_example_chain),
18165         (gst_example_set_property), (gst_example_get_property),
18166         (gst_example_change_state), (plugin_init):
18167         * examples/plugins/example.h:
18168           small doc fixes
18169
18170 2005-05-17  Wim Taymans  <wim@fluendo.com>
18171
18172         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
18173         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
18174         * gst/gstqueue.c: (gst_queue_change_state):
18175         Clear queue when going to READY.
18176         Remove IN_SETCAPS flag too.
18177
18178 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
18179
18180         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
18181           Remove implicit cast from gboolean to GstElementStateReturn;
18182           make sure we still return failure in paused => ready case if
18183           the parent class fails to change state and our own stop 
18184           vfunc succeeds.
18185
18186 2005-05-17  Wim Taymans  <wim@fluendo.com>
18187
18188         * tools/gst-launch.c: (event_loop):
18189         Message was unreffed too soon.
18190
18191 2005-05-16  Andy Wingo  <wingo@pobox.com>
18192
18193         * gst/gstbin.c (sink_iterator_filter): Err... um...
18194
18195         * check/gst/gstbin.c (test_ghost_pads): New test for the
18196         ghosting-if-elements-not-in-same-bin behavior.
18197
18198 2005-05-16  David Schleef  <ds@schleef.org>
18199
18200         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
18201         accessing refcount directly.
18202
18203 2005-05-15  David Schleef  <ds@schleef.org>
18204
18205         * check/Makefile.am: remove GstData checks
18206         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
18207         * gst/Makefile.am: add miniobject, remove data
18208         * gst/gst.h: add miniobject, remove data
18209         * gst/gstdata.c: remove
18210         * gst/gstdata.h: remove
18211         * gst/gstdata_private.h: remove
18212         * gst/gsttypes.h: remove GstEvent and GstMessage
18213         * gst/gstelement.c: (gst_element_post_message): fix for API changes
18214         * gst/gstmarshal.list: change BOXED -> OBJECT
18215
18216         Implement GstMiniObject.
18217         * gst/gstminiobject.c:
18218         * gst/gstminiobject.h:
18219
18220         Modify to be subclasses of GstMiniObject.
18221         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
18222         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
18223         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
18224         (gst_subbuffer_get_type), (gst_subbuffer_init),
18225         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
18226         (gst_buffer_span):
18227         * gst/gstbuffer.h:
18228         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
18229         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
18230         (_gst_event_copy), (gst_event_new):
18231         * gst/gstevent.h:
18232         * gst/gstmessage.c: (_gst_message_initialize),
18233         (gst_message_get_type), (gst_message_class_init),
18234         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
18235         (gst_message_new), (gst_message_new_error),
18236         (gst_message_new_warning), (gst_message_new_tag),
18237         (gst_message_new_state_changed), (gst_message_new_application):
18238         * gst/gstmessage.h:
18239         * gst/gstprobe.c: (gst_probe_perform),
18240         (gst_probe_dispatcher_dispatch):
18241         * gst/gstprobe.h:
18242         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
18243         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
18244         (_gst_query_copy), (gst_query_new):
18245
18246         Update elements for GstData -> GstMiniObject changes
18247         * gst/gstquery.h:
18248         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
18249         (gst_queue_chain), (gst_queue_loop):
18250         * gst/elements/gstbufferstore.c:
18251         (gst_buffer_store_add_buffer_func),
18252         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
18253         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18254         (gst_fakesink_render):
18255         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
18256         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
18257         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
18258         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
18259         (gst_filesrc_create_read):
18260         * gst/elements/gstidentity.c: (gst_identity_class_init):
18261         * gst/elements/gsttypefindelement.c:
18262         (gst_type_find_element_src_event), (free_entry_buffers),
18263         (gst_type_find_element_handle_event):
18264         * libs/gst/dataprotocol/dataprotocol.c:
18265         (gst_dp_header_from_buffer):
18266         * libs/gst/dataprotocol/dataprotocol.h:
18267         * libs/gst/dataprotocol/dp-private.h:
18268
18269 2005-05-15  David Schleef  <ds@schleef.org>
18270
18271         * gst/elements/gstelements.c: Don't include headers that were
18272         just removed.
18273
18274 2005-05-15  David Schleef  <ds@schleef.org>
18275
18276         * gst/elements/Makefile.am: Remove some elements that don't
18277         need to be in the core (or even exist at all).
18278         * gst/elements/gstaggregator.c:
18279         * gst/elements/gstaggregator.h:
18280         * gst/elements/gstmd5sink.c:
18281         * gst/elements/gstmd5sink.h:
18282         * gst/elements/gstmultifilesrc.c:
18283         * gst/elements/gstmultifilesrc.h:
18284         * gst/elements/gstpipefilter.c:
18285         * gst/elements/gstpipefilter.h:
18286         * gst/elements/gstshaper.c:
18287         * gst/elements/gstshaper.h:
18288         * gst/elements/gststatistics.c:
18289         * gst/elements/gststatistics.h:
18290         * po/POTFILES.in: Remove above files.
18291
18292 2005-05-14  Andy Wingo  <wingo@pobox.com>
18293
18294         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
18295         so as to get the refs right.
18296         (sink_iterator_filter): New function, wraps bin_element_is_sink,
18297         unreffing objects that don't pass the filter.
18298
18299         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
18300         gst_element_set_bus.
18301         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
18302         normal cases, this will destroy the bus.
18303
18304         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
18305         object.
18306
18307         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
18308         has no sinks.
18309
18310 2005-05-13  Andy Wingo  <wingo@pobox.com>
18311
18312         * gst/gstutils.c (gst_element_link_pads): Instead of calling
18313         gst_pad_link, call pad_link_maybe_ghosting,
18314         (pad_link_maybe_ghosting): Links pads, making sure that the
18315         elements being linked are in the same bin.
18316         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
18317         Helpers for pad_link_maybe_ghosting.
18318
18319 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
18320
18321         * configure.ac:
18322           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
18323
18324 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
18325
18326         * docs/design/part-element-source.txt:
18327           Mention GstPushSrc
18328
18329 2005-05-12  Wim Taymans  <wim@fluendo.com>
18330
18331         * gst/base/gstbasesink.c: (gst_basesink_init),
18332         (gst_basesink_activate):
18333         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
18334         (gst_basesrc_is_seekable):
18335         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18336         (bin_element_is_sink), (gst_bin_change_state):
18337         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18338         * gst/gstelement.h:
18339         Identify sinks by their flag to avoid overly complicated
18340         checks (fow now).
18341         Do state changes even for elements not reachable from the
18342         sinks.
18343         BaseSink is a sink now :)
18344         Some more debugging info in the basesrc.
18345
18346
18347 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18348
18349         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
18350           Implement _query on a bin, similar to _send_event.
18351
18352 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
18353
18354         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
18355           Discont event offset format should be GST_FORMAT_BYTES,
18356           not GST_FORMAT_TIME.
18357
18358 2005-05-12  Wim Taymans  <wim@fluendo.com>
18359
18360         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
18361         Same fix as Ronald's but without the signal. 
18362
18363 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18364
18365         * gst/gstutils.c: (gst_element_query_position):
18366           No, an element is not a pad.
18367
18368 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18369
18370         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
18371         (gst_bin_get_state):
18372           If a child is removed from a bin while we remove the child from
18373           the bin and while we're retrieving its state, signal this to the
18374           get_state function so we abort the wait (instead of waiting for
18375           a timeout) and can immediately re-iterate over all other elements.
18376
18377 2005-05-12  Wim Taymans  <wim@fluendo.com>
18378
18379         * gst/base/Makefile.am:
18380         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
18381         (gst_basesrc_start):
18382         * gst/base/gstbasesrc.h:
18383         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
18384         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
18385         (gst_pushsrc_init), (gst_pushsrc_create):
18386         * gst/base/gstpushsrc.h:
18387         Added is_seekable to BaseSrc
18388         Added simple PushSrc.
18389
18390 2005-05-11  Wim Taymans  <wim@fluendo.com>
18391
18392         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18393         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18394         (gst_element_link_pads), (gst_element_query_position),
18395         (gst_element_query_convert), (intersect_caps_func),
18396         (gst_pad_query_position), (gst_pad_query_convert):
18397         Fix refcounting in utils function.
18398         No point in trying to activate a pad when it's added, it could
18399         be added from the state change function and then we deadlock, the
18400         element has to decide what to do.
18401
18402 2005-05-10  Andy Wingo  <wingo@pobox.com>
18403
18404         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
18405         *all* the arguments.
18406
18407         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
18408         stream lock if it's a FLUSH_DONE; normal flushes don't get the
18409         lock (according to the docs -- if this is wrong change the docs).
18410
18411         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
18412         flush messages in the NULL state.
18413
18414         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
18415         message immediately and return.
18416         (gst_bus_set_flushing): New function. If a bus is flushing, it
18417         flushes out any queued messages and immediately unrefs new
18418         messages. This is so when an element goes to NULL, all of the
18419         unhandled messages coming from it can be freed, and their
18420         references to the element dropped. In other words: message source
18421         ref considered harmful :P
18422
18423         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
18424         we're finished with it.
18425
18426         * gst/gstmessage.c (gst_message_new_state_changed): 
18427
18428 2005-05-10  Wim Taymans  <wim@fluendo.com>
18429
18430         * gst/gstvalue.c: (gst_value_compare_flags),
18431         (gst_value_serialize_flags), (gst_value_deserialize_flags),
18432         (_gst_value_initialize):
18433         Added flags serialize/deserialize/compare code.
18434
18435 2005-05-09  Andy Wingo  <wingo@pobox.com>
18436
18437         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
18438         Intersect the peer's caps with our caps.
18439
18440 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18441
18442         * gst/base/gsttypefindhelper.c: (helper_find_peek):
18443         * gst/elements/gsttypefindelement.c: (find_peek):
18444           Handle negative offsets better. Fixes decodebin.
18445
18446 2005-05-09  Wim Taymans  <wim@fluendo.com>
18447
18448         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
18449         (gst_base_transform_event):
18450         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
18451         Implement accept_caps.
18452         Fix silly lock/unlock mismatch in base class.
18453
18454 2005-05-09  Wim Taymans  <wim@fluendo.com>
18455
18456         * docs/design/draft-push-pull.txt:
18457         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
18458         * gst/elements/gstfilesink.c: (gst_filesink_init),
18459         (gst_filesink_query):
18460         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18461         (gst_type_find_handle_src_query), (find_element_get_length):
18462         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
18463         * gst/gstelement.h:
18464         * gst/gstmessage.c:
18465         * gst/gstmessage.h:
18466         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
18467         (gst_real_pad_get_caps_unlocked),
18468         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
18469         (gst_pad_event_default_dispatch), (gst_pad_event_default),
18470         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
18471         (gst_real_pad_dispose), (gst_real_pad_finalize),
18472         (gst_pad_load_and_link), (gst_pad_save_thyself),
18473         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
18474         (gst_pad_check_pull_range), (gst_pad_pull_range),
18475         (gst_pad_template_get_type), (gst_pad_template_class_init),
18476         (gst_pad_template_init), (gst_pad_template_dispose),
18477         (name_is_valid), (gst_static_pad_template_get),
18478         (gst_pad_template_new), (gst_static_pad_template_get_caps),
18479         (gst_pad_template_get_caps), (gst_pad_set_element_private),
18480         (gst_pad_get_element_private), (gst_pad_start_task),
18481         (gst_pad_pause_task), (gst_pad_stop_task),
18482         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
18483         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
18484         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
18485         (gst_ghost_pad_new):
18486         * gst/gstpad.h:
18487         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
18488         (gst_query_new_position), (gst_query_set_position),
18489         (gst_query_parse_position), (gst_query_new_convert),
18490         (gst_query_set_convert), (gst_query_parse_convert):
18491         * gst/gstquery.h:
18492         * gst/gstqueryutils.c:
18493         * gst/gstqueryutils.h:
18494         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18495         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18496         (gst_queue_handle_src_query):
18497         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18498         (gst_element_query_position), (gst_element_query_convert),
18499         (intersect_caps_func), (gst_pad_query_position),
18500         (gst_pad_query_convert):
18501         * gst/gstutils.h:
18502         * tools/gst-inspect.c: (print_pad_info):
18503         * tools/gst-xmlinspect.c: (print_element_info):
18504         Remove old query functions. Ported old code.
18505         Added position/convert helper functions to gstutils.
18506         Reordered gstpad.c code, grouping relevant things.
18507         Remove gst_message_new(), always need to speficy a specific
18508         message.
18509
18510
18511 2005-05-09  Andy Wingo  <wingo@pobox.com>
18512
18513         * gst/gstiterator.h: Add some includes.
18514
18515         * gst/gstqueryutils.h: Include more headers.
18516
18517         * gst/gstpad.h:
18518         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
18519         some uses of gst_pad_query.
18520
18521         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
18522         NULL out parameters.
18523         (gst_query_new_position): New proc, allocates a new position
18524         query.
18525
18526         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
18527         gstqueryutils.c to the build.
18528
18529         * gst/gststructure.c (gst_structure_set_valist): Implement with
18530         the generic G_VALUE_COLLECT.
18531         
18532 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
18533
18534         * gst/Makefile.am: (gst_headers):
18535         Added gstqueryutils.h to the list of headers to install, that was
18536         a 'nachty' move wingo :)
18537
18538 2005-05-06  Andy Wingo  <wingo@pobox.com>
18539
18540         * gst/gstquery.h
18541         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
18542         GstData, init a memchunk.
18543         (standard_definitions): Add a few query types, deprecate a few.
18544         (gst_query_get_type): New proc.
18545         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
18546         implementation.
18547         (gst_query_new_application, gst_query_get_structure): New public
18548         procs.
18549
18550         * docs/design/draft-query.txt: Removed LINKS from the query types,
18551         because all the rest can be dispatched to other pads -- seemed
18552         ugly to have a query that couldn't be dispatched. internal_links
18553         is fine as a pad method.
18554
18555         * gst/gstpad.h: Add query2 as a pad method, add the new functions
18556         in gstpad.c, but maintain binary compatibility for the moment.
18557         Will fix before 0.9 is out.
18558
18559         * gst/gstqueryutils.c: 
18560         * gst/gstqueryutils.h: New files, implement 3 methods for each
18561         query type: parse_query, parse_response, and set. Probably need an
18562         allocator as well.
18563
18564         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
18565
18566         * gst/elements/gstfilesink.c (gst_filesink_query2):
18567         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
18568         query_types, and formats methods.
18569
18570         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
18571         (gst_pad_set_query2_function): New functions.
18572         (gst_real_pad_init): Set query2_default as the default query2
18573         function. Basically just dispatches to internally linked pads.
18574
18575         Needs review!
18576         
18577         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
18578         without using the atomic operations. Only one thread can possibly
18579         be accessing the data at this point. Changed so as to avoid
18580         gst_atomic operations.
18581
18582 2005-05-06  Wim Taymans  <wim@fluendo.com>
18583
18584         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
18585         Also set caps if we use the fallback buffer alloc.
18586
18587 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
18588
18589         * docs/gst/Makefile.am:
18590         * docs/gst/gstreamer-docs.sgml:
18591         * docs/gst/gstreamer-sections.txt:
18592         * docs/gst/tmpl/gstatomic.sgml:
18593         * docs/gst/tmpl/gstmemchunk.sgml:
18594         * testsuite/elements/struct_i386.h:
18595         * win32/GStreamer.vcproj:
18596         * win32/Makefile:
18597           Purge GstAtomic stuff from docs and win32 makefiles as well
18598
18599 2005-05-06  Wim Taymans  <wim@fluendo.com>
18600
18601         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
18602         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
18603         * gst/gstpad.c: (gst_pad_peer_get_caps):
18604         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18605         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18606         (gst_queue_src_activate), (gst_queue_change_state):
18607         * gst/gstqueue.h:
18608         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18609         (intersect_caps_func):
18610         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
18611         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
18612         Some fixes for the peer_get_caps() change.
18613
18614 2005-05-06  Wim Taymans  <wim@fluendo.com>
18615
18616         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18617         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
18618         (gst_basesink_activate):
18619         Actually do something with error codes returned from the push
18620         functions.
18621
18622 2005-05-06  Wim Taymans  <wim@fluendo.com>
18623
18624         * docs/design/part-element-sink.txt:
18625         * docs/design/part-element-source.txt:
18626         * gst/base/gstbasesink.c: (gst_basesink_class_init),
18627         (gst_basesink_event), (gst_basesink_activate):
18628         * gst/base/gstbasesink.h:
18629         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
18630         (gst_basesrc_activate):
18631         * gst/base/gstbasesrc.h:
18632         * gst/gstelement.c: (gst_element_pads_activate):
18633         Some more documentation.
18634         Fixed scheduling decision in _pads_activate().
18635
18636 2005-05-05  Andy Wingo  <wingo@pobox.com>
18637
18638         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
18639         the test suite.
18640
18641 2005-05-05  Wim Taymans  <wim@fluendo.com>
18642
18643         * gst/base/Makefile.am:
18644         * gst/base/gstbasesink.h:
18645         * gst/base/gstbasesrc.c: (gst_basesrc_init),
18646         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
18647         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
18648         (gst_collectpads_class_init), (gst_collectpads_init),
18649         (gst_collectpads_finalize), (gst_collectpads_new),
18650         (gst_collectpads_set_function), (gst_collectpads_add_pad),
18651         (find_pad), (gst_collectpads_remove_pad),
18652         (gst_collectpads_is_active), (gst_collectpads_collect),
18653         (gst_collectpads_collect_range), (gst_collectpads_start),
18654         (gst_collectpads_stop), (gst_collectpads_peek),
18655         (gst_collectpads_pop), (gst_collectpads_available),
18656         (gst_collectpads_read), (gst_collectpads_flush),
18657         (gst_collectpads_chain):
18658         * gst/base/gstcollectpads.h:
18659         * gst/elements/Makefile.am:
18660         * gst/elements/gstelements.c:
18661         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18662         (gst_fakesink_get_times), (gst_fakesink_event),
18663         (gst_fakesink_preroll), (gst_fakesink_render):
18664         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18665         (gst_filesink_init), (gst_filesink_set_location),
18666         (gst_filesink_open_file), (gst_filesink_close_file),
18667         (gst_filesink_pad_query), (gst_filesink_event),
18668         (gst_filesink_render), (gst_filesink_change_state):
18669         * gst/elements/gstfilesink.h:
18670         Added object to help in making collect pad based elements.
18671         Ported filesink.
18672         Make event function in sink baseclass return gboolean.
18673
18674 2005-05-05  Wim Taymans  <wim@fluendo.com>
18675
18676         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
18677         (gst_bin_get_by_name):
18678         * gst/gstbuffer.h:
18679         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
18680         (gst_clock_finalize):
18681         * gst/gstdata.c: (gst_data_replace):
18682         * gst/gstdata.h:
18683         * gst/gstelement.c: (gst_element_request_pad),
18684         (gst_element_pads_activate):
18685         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
18686         (gst_object_unref):
18687         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18688         (gst_pad_set_checkgetrange_function),
18689         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
18690         (gst_pad_check_pull_range), (gst_pad_pull_range),
18691         (gst_static_pad_template_get_caps), (gst_pad_start_task),
18692         (gst_pad_pause_task), (gst_pad_stop_task):
18693         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18694         (gst_element_request_pad), (gst_pad_proxy_getcaps):
18695         Fix name lookup in GstBin.
18696         Added _data_replace() function and _buffer_replace()
18697         Use finalize method to clean up clock.
18698         Fix refcounting on request pads.
18699         Fix pad schedule mode error.
18700         Some more object refcounting debug info,
18701
18702
18703 2005-05-04  Andy Wingo <wingo@pobox.com>
18704
18705         * check/Makefile.am:
18706         * docs/gst/tmpl/gstatomic.sgml:
18707         * docs/gst/tmpl/gstplugin.sgml:
18708         * gst/base/gstbasesink.c: (gst_basesink_activate):
18709         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
18710         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
18711         (gst_basesrc_query), (gst_basesrc_set_property),
18712         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
18713         (gst_basesrc_activate):
18714         * gst/base/gstbasesrc.h:
18715         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
18716         (gst_base_transform_src_activate):
18717         * gst/elements/gstelements.c:
18718         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18719         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
18720         * gst/elements/gsttee.c: (gst_tee_sink_activate):
18721         * gst/elements/gsttypefindelement.c: (find_element_get_length),
18722         (gst_type_find_element_checkgetrange),
18723         (gst_type_find_element_activate):
18724         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
18725         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
18726         (gst_caps_load_thyself):
18727         * gst/gstelement.c: (gst_element_pads_activate),
18728         (gst_element_save_thyself), (gst_element_restore_thyself):
18729         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
18730         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
18731         * gst/gstpad.h:
18732         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
18733         (gst_xml_parse_file), (gst_xml_parse_memory),
18734         (gst_xml_get_element), (gst_xml_make_element):
18735         * gst/indexers/gstfileindex.c: (gst_file_index_load),
18736         (_file_index_id_save_xml), (gst_file_index_commit):
18737         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
18738         (read_enum), (load_pad_template), (load_feature), (load_plugin),
18739         (load_paths):
18740         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
18741         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
18742         * tools/gst-complete.c: (main):
18743         * tools/gst-compprep.c: (main):
18744         * tools/gst-inspect.c: (print_element_properties_info):
18745         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
18746         * tools/gst-xmlinspect.c: (print_element_properties):
18747         GCC 4 fixen.
18748         
18749 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18750
18751         * gst/gstplugin.c: (gst_plugin_check_module),
18752         (gst_plugin_check_file), (gst_plugin_load_file):
18753             apply patch from #172526 to make register work on MacOSX
18754
18755 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18756
18757         * docs/gst/tmpl/gstconfig.sgml:
18758         * gst/gstconfig.h.in:
18759           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
18760         * testsuite/debug/printf_extension.c: (main):
18761           Do not use GST_PTR_FORMAT on pointers to types with
18762           sizeof < sizeof(gpointer).  Fixes test on 64-bit
18763         * testsuite/elements/property.h:
18764           use correct printf format
18765
18766 2005-05-02  Wim Taymans  <wim@fluendo.com>
18767
18768         * docs/design/draft-push-pull.txt:
18769         * docs/design/draft-query.txt:
18770         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
18771         (gst_basesrc_start):
18772         Added draft for new query API.
18773         Added draft for better selecting scheduling methods.
18774         Make basesrc ignore length if the subclass does not support
18775         it.
18776
18777 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18778
18779         * gst/Makefile.am:
18780           possible fixes for automake-1.5 - _LIBADD is reserved
18781
18782 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18783
18784         * docs/faq/Makefile.am:
18785         * docs/manual/Makefile.am:
18786         * docs/manuals.mak:
18787         * docs/pwg/Makefile.am:
18788         * gst/Makefile.am:
18789           possible fixes for automake-1.5
18790
18791 2005-04-28  Wim Taymans  <wim@fluendo.com>
18792
18793         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18794         (gst_basesink_pad_getcaps), (gst_basesink_init),
18795         (gst_basesink_do_sync):
18796         * gst/gstclock.c: (gst_clock_entry_new):
18797         * gst/gstevent.c: (gst_event_discont_get_value):
18798         * gst/gstpipeline.c: (pipeline_bus_handler),
18799         (gst_pipeline_change_state):
18800         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18801         Better debugging of clocking info.
18802         Allow NULL values when getting discont values.
18803
18804 2005-04-27  Wim Taymans  <wim@fluendo.com>
18805
18806         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
18807         * check/gst/gstpad.c: (gst_pad_suite):
18808         Increase timeout for checks.
18809
18810 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18811
18812         * check/Makefile.am:
18813           fix the broken rule for cleanup.  Apparently this rule is
18814           only needed on FC2, so maybe this warrants further autotool
18815           inspection.
18816
18817 2005-04-26  Wim Taymans  <wim@fluendo.com>
18818
18819         * gst/gsttrashstack.h:
18820         Ooohh. a nasty one! After having a failed pop() from the stack,
18821         it's possible that the stack is empty. In that case, don't
18822         follow the NULL pointer.
18823
18824 2005-04-25  Wim Taymans  <wim@fluendo.com>
18825
18826         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18827         (gst_pad_set_checkgetrange_function),
18828         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
18829         (gst_pad_check_pull_range), (gst_pad_pull_range),
18830         (gst_static_pad_template_get_caps), (gst_pad_start_task),
18831         (gst_pad_pause_task), (gst_pad_stop_task):
18832         * gst/gstplugin.c: (gst_plugin_load):
18833         * gst/gstplugin.h:
18834         Remove gst_library_load as it does more harm than good with
18835         the new g_module flags.
18836         Revert bogus caps template check in pad linking, pad caps
18837         are important when linking not the template, which is more
18838         general than the current caps.
18839
18840 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18841
18842         * gst/autoplug/.cvsignore:
18843         * gst/autoplug/Makefile.am:
18844         * gst/autoplug/gstsearchfuncs.c:
18845         * gst/autoplug/gstsearchfuncs.h:
18846         * gst/autoplug/gstspider.c:
18847         * gst/autoplug/gstspider.h:
18848         * gst/autoplug/gstspideridentity.c:
18849         * gst/autoplug/gstspideridentity.h:
18850         * gst/autoplug/spidertest.c:
18851           Die, spider, die.
18852
18853 2005-04-25  Wim Taymans  <wim@fluendo.com>
18854
18855         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18856         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18857         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
18858         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
18859         * gst/gstpad.h:
18860         Added stubs for unimplemented functions. 
18861
18862 2005-04-24  David Schleef  <ds@schleef.org>
18863
18864         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
18865         please fix.
18866
18867 2005-04-24  David Schleef  <ds@schleef.org>
18868
18869         Convert everything from GstAtomicInt to g_atomic_int_*, and
18870         remove gstatomic.
18871         * gst/Makefile.am:
18872         * gst/gstatomic.c:
18873         * gst/gstatomic.h:
18874         * gst/gstatomic_impl.h:
18875         * gst/gstbuffer.c:
18876         * gst/gstcaps.c:
18877         * gst/gstcaps.h:
18878         * gst/gstclock.c:
18879         * gst/gstclock.h:
18880         * gst/gstdata.c:
18881         * gst/gstdata.h:
18882         * gst/gstdata_private.h:
18883         * gst/gstevent.c:
18884         * gst/gstinfo.c:
18885         * gst/gstinfo.h:
18886         * gst/gstmessage.c:
18887         * gst/gstobject.c:
18888         * gst/gstobject.h:
18889         * gst/gststructure.c:
18890         * gst/gststructure.h:
18891         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
18892         * gst/gstutils.h:
18893
18894 2005-04-24  David Schleef  <ds@schleef.org>
18895
18896         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
18897         make the regressions tests work.  Remove some code that is no
18898         longer true.
18899         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
18900         Disable warning for pads without templates.
18901
18902 2005-04-24  David Schleef  <ds@schleef.org>
18903
18904         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
18905         functions that handle filtered links.
18906         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
18907         removed functions.
18908         * gst/gstutils.c: Fix/remove utility functions that handle
18909         filtered caps.
18910         * gst/gstutils.h:
18911         * gst/gstvalue.c: Add serialization/deserialization of caps
18912         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
18913         requires fixing so that the filter caps notation creates
18914         a capsfilter element and sets the filter_caps property.  I
18915         think everyone probably wants to keep the shorthand notation.
18916         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
18917         * docs/gst/tmpl/gstpad.sgml:
18918
18919         * gst/elements/gstelements.c: Register capsfilter element.
18920         * gst/Makefile.am: fix spacing
18921         * docs/random/ds/0.9-suggested-changes: random
18922
18923 2005-04-23  David Schleef  <ds@schleef.org>
18924
18925         * gst/elements/Makefile.am:
18926         * gst/elements/gstcapsfilter.c: New element that acts like an
18927         identity, but filters caps.  Will eventually replace filtered
18928         caps in pad linking.
18929         * gst/gstutils.c: (gst_element_create_all_pads): New function
18930         to create all the ALWAYS pads that are registered with an
18931         element class.  This functionality should eventually be
18932         merged in with GstElement initialization.
18933         * gst/gstutils.h:
18934         * testsuite/trigger/README: part of trigger test code that should
18935         have been checked in a long time ago.
18936
18937 2005-04-23  David Schleef  <ds@schleef.org>
18938
18939         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
18940         needed with new versions of libtool (nobody will confirm this),
18941         and hard to carry around.
18942         * gst/autoplug/Makefile.am:
18943         * gst/base/Makefile.am:
18944         * gst/elements/Makefile.am:
18945         * gst/indexers/Makefile.am:
18946         * gst/schedulers/Makefile.am:
18947         * libs/gst/bytestream/Makefile.am:
18948         * libs/gst/control/Makefile.am:
18949         * libs/gst/dataprotocol/Makefile.am:
18950         * libs/gst/getbits/Makefile.am:
18951
18952 2005-04-21  Wim Taymans  <wim@fluendo.com>
18953
18954         * docs/design/draft-push-pull.txt:
18955         * docs/design/part-MT-refcounting.txt:
18956         * docs/design/part-TODO.txt:
18957         * docs/design/part-caps.txt:
18958         * docs/design/part-events.txt:
18959         * docs/design/part-gstbus.txt:
18960         * docs/design/part-gstpipeline.txt:
18961         * docs/design/part-messages.txt:
18962         * docs/design/part-push-pull.txt:
18963         * docs/design/part-query.txt:
18964         Some more docs.
18965
18966 2005-04-21  Wim Taymans  <wim@fluendo.com>
18967
18968         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
18969         (gst_message_new), (gst_message_new_error),
18970         (gst_message_new_warning), (gst_message_new_tag),
18971         (gst_message_new_state_changed), (gst_message_new_application),
18972         (gst_message_get_structure):
18973         * gst/gstmessage.h:
18974         * gst/gststructure.c: (gst_structure_set_parent_refcount),
18975         (gst_structure_copy_conditional):
18976         Use parent refcount in GstMessage to ensure GstStructure
18977         consistency.
18978         Cleaned up headers a bit.
18979         
18980
18981 2005-04-20  Wim Taymans  <wim@fluendo.com>
18982
18983         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18984         (gst_basesink_pad_getcaps), (gst_basesink_init),
18985         (gst_basesink_chain_unlocked):
18986         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
18987         (gst_type_find_helper):
18988         * gst/elements/gsttypefindelement.c:
18989         (gst_type_find_element_have_type), (gst_type_find_element_init),
18990         (stop_typefinding), (gst_type_find_element_handle_event),
18991         (find_suggest), (gst_type_find_element_chain),
18992         (gst_type_find_element_checkgetrange),
18993         (gst_type_find_element_getrange), (do_typefind),
18994         (gst_type_find_element_activate):
18995         * gst/gstbuffer.c: (_gst_buffer_sub_free),
18996         (gst_buffer_default_free), (gst_buffer_default_copy),
18997         (gst_buffer_set_caps):
18998         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
18999         (gst_caps_replace):
19000         * gst/gstmessage.c: (gst_message_new),
19001         (gst_message_new_state_changed):
19002         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19003         (gst_pad_set_checkgetrange_function),
19004         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
19005         (gst_pad_set_caps), (gst_pad_check_pull_range),
19006         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
19007         * gst/gstpad.h:
19008         * gst/gsttypefind.c: (gst_type_find_register):
19009         Make gst_caps_replace() work like other _replace() functions.
19010         Use _caps_replace() where possible.
19011         Make sure _message_new() initialises its field.
19012         Add gst_static_pad_template_get_caps()
19013
19014
19015 2005-04-18  Andy Wingo  <wingo@pobox.com>
19016
19017         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
19018         on the peer, not the pad. I think that was a typo. Pass an extra
19019         arg to see if random access is possible. Activate the pads as
19020         PULL_RANGE if possible.
19021
19022         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
19023
19024         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
19025         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
19026         to PROP_....
19027
19028 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19029
19030         * docs/faq/using.xml:
19031           Add note on gstreamer-properties (#154996).
19032
19033 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19034
19035         * docs/random/bbb/optional-properties:
19036           Some analysis on optional properties.
19037
19038 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19039
19040         * docs/gst/tmpl/gstelementfactory.sgml:
19041         * gst/gstelement.h:
19042         * gst/gstelementfactory.c: (gst_element_factory_init),
19043         (gst_element_factory_cleanup), (gst_element_register),
19044         (__gst_element_factory_add_static_pad_template),
19045         (gst_element_factory_get_static_pad_templates),
19046         (gst_element_factory_can_src_caps),
19047         (gst_element_factory_can_sink_caps):
19048         * gst/registries/Makefile.am:
19049         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
19050         (gst_xml_registry_class_init), (gst_xml_registry_init),
19051         (gst_xml_registry_new), (gst_xml_registry_set_property),
19052         (gst_xml_registry_get_property), (get_time), (make_dir),
19053         (gst_xml_registry_get_perms_func),
19054         (plugin_times_older_than_recurse), (plugin_times_older_than),
19055         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
19056         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
19057         (add_to_char_array), (read_string), (read_uint), (read_enum),
19058         (load_pad_template), (load_feature), (load_plugin), (load_paths),
19059         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
19060         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
19061         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
19062         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
19063         (gst_xml_registry_rebuild):
19064         * gst/registries/gstlibxmlregistry.h:
19065         * tools/gst-compprep.c: (main):
19066         * tools/gst-inspect.c: (print_pad_templates_info):
19067         * tools/gst-xmlinspect.c: (print_element_info):
19068           Use libxml2 for registry parsing, use staticpadtemplates in
19069           elementfactories. Makes gst_init() +/- 10x faster.
19070
19071 2005-04-12  Wim Taymans  <wim@fluendo.com>
19072
19073         * gst/base/Makefile.am:
19074         * gst/base/gstbasesink.c: (gst_basesink_base_init),
19075         (gst_basesink_pad_getcaps), (gst_basesink_init),
19076         (gst_basesink_event), (gst_basesink_change_state):
19077         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19078         (gst_basesrc_init), (gst_basesrc_query),
19079         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19080         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19081         (gst_basesrc_check_get_range), (gst_basesrc_loop),
19082         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19083         (gst_basesrc_stop), (gst_basesrc_activate),
19084         (gst_basesrc_change_state):
19085         * gst/base/gsttypefindhelper.c: (helper_find_peek),
19086         (helper_find_suggest), (gst_type_find_helper):
19087         * gst/base/gsttypefindhelper.h:
19088         * gst/elements/Makefile.am:
19089         * gst/elements/gstelements.c:
19090         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
19091         (gst_fakesink_get_times), (gst_fakesink_event),
19092         (gst_fakesink_preroll), (gst_fakesink_render):
19093         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19094         (gst_fakesrc_init), (gst_fakesrc_event_handler),
19095         (gst_fakesrc_get_property), (gst_fakesrc_create),
19096         (gst_fakesrc_start), (gst_fakesrc_stop):
19097         * gst/elements/gstfakesrc.h:
19098         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
19099         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19100         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19101         (gst_filesrc_create_read), (gst_filesrc_create),
19102         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
19103         (gst_filesrc_start):
19104         * gst/elements/gsttypefindelement.c:
19105         (gst_type_find_element_have_type), (gst_type_find_element_init),
19106         (start_typefinding), (stop_typefinding), (push_buffer_store),
19107         (gst_type_find_element_handle_event),
19108         (gst_type_find_element_chain),
19109         (gst_type_find_element_checkgetrange),
19110         (gst_type_find_element_getrange), (do_typefind),
19111         (gst_type_find_element_activate),
19112         (gst_type_find_element_change_state):
19113         * gst/elements/gsttypefindelement.h:
19114         * gst/gstpipeline.c: (pipeline_bus_handler):
19115         Added typefind helper.
19116         Small preroll fix in the base sink.
19117         Disable typefind code in basesrc.
19118         Crude port of typefindelement.
19119         Fakesrc cleanups.
19120
19121
19122 2005-04-11  Wim Taymans  <wim@fluendo.com>
19123
19124         * check/gst/gstbus.c: (gstbus_suite):
19125         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
19126         * check/gstcheck.h:
19127           Fix up the timeout so that the test does not fail.
19128
19129 2005-04-06  Wim Taymans  <wim@fluendo.com>
19130
19131         * gst/base/README:
19132         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19133         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
19134         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19135         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19136         (gst_basesrc_check_get_range), (gst_basesrc_loop),
19137         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19138         (gst_basesrc_stop), (gst_basesrc_activate),
19139         (gst_basesrc_change_state), (basesrc_find_peek),
19140         (basesrc_find_suggest), (gst_basesrc_type_find):
19141         * gst/base/gstbasesrc.h:
19142         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
19143         (gst_filesrc_class_init), (gst_filesrc_init),
19144         (gst_filesrc_finalize), (gst_filesrc_set_location),
19145         (gst_filesrc_set_property), (gst_filesrc_get_property),
19146         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19147         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19148         (gst_filesrc_create_read), (gst_filesrc_create),
19149         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
19150         * gst/elements/gstfilesrc.h:
19151         * gst/gstelement.c: (gst_element_get_state_func),
19152         (gst_element_lost_state), (gst_element_pads_activate):
19153         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19154         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
19155         (gst_pad_pull_range):
19156         * gst/gstpad.h:
19157         More work on the generic source base class, implement seeking,
19158         query.
19159         Make filesrc extend the base source class.
19160         Added gst_pad_set_checkgetrange_function to GstPad.
19161
19162 2005-04-06  Andy Wingo  <wingo@pobox.com>
19163
19164         * pkgconfig/gstreamer-base.pc.in:
19165         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
19166
19167         * pkgconfig/Makefile.am:
19168         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
19169
19170 2005-04-04  Wim Taymans  <wim@fluendo.com>
19171
19172         * gst/base/Makefile.am:
19173         * gst/base/README:
19174         * gst/base/gstbasesink.c: (gst_basesink_base_init),
19175         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19176         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19177         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
19178         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19179         (gst_basesrc_base_init), (gst_basesrc_class_init),
19180         (gst_basesrc_init), (gst_basesrc_get_formats),
19181         (gst_basesrc_get_query_types), (gst_basesrc_query),
19182         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
19183         (gst_basesrc_set_property), (gst_basesrc_get_property),
19184         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
19185         (gst_basesrc_loop), (gst_basesrc_activate),
19186         (gst_basesrc_change_state):
19187         * gst/base/gstbasesrc.h:
19188         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
19189         (gst_fakesrc_class_init), (gst_fakesrc_init),
19190         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
19191         (gst_fakesrc_get_property), (gst_fakesrc_create):
19192         * gst/elements/gstfakesrc.h:
19193         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
19194         (gst_filesrc_open_file), (gst_filesrc_loop),
19195         (gst_filesrc_activate), (filesrc_find_peek),
19196         (gst_filesrc_type_find):
19197         Made base source class, make fakesrc extend it.
19198         Add comments to basesink class.
19199         Some filesrc cleanup.
19200
19201 2005-03-31  David Schleef  <ds@schleef.org>
19202
19203         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
19204         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
19205         expected to link against libgstreamer.
19206         * gst/base/Makefile.am: link against libgstreamer
19207         * gst/elements/Makefile.am: same
19208
19209 2005-03-31  Andy Wingo  <wingo@pobox.com>
19210
19211         * tests/instantiate/Makefile.am:
19212         * tests/instantiate/caps.c: Add test to test speed of caps copy
19213         and free.
19214
19215         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
19216         GMemChunk to be fair.
19217
19218         * gst/gsttrashstack.h: Remove warning about using the fallback
19219         trash stack implementation, it's still faster than malloc.
19220
19221 2005-03-30  Andy Wingo  <wingo@pobox.com>
19222
19223         * tests/complexity.c: Add a copyright.
19224
19225 2005-03-31  Wim Taymans  <wim@fluendo.com>
19226
19227         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
19228         (gst_base_transform_class_init), (gst_base_transform_init),
19229         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19230         (gst_base_transform_get_property),
19231         (gst_base_transform_sink_activate),
19232         (gst_base_transform_src_activate),
19233         (gst_base_transform_change_state):
19234         * gst/base/gstbasetransform.h:
19235         * gst/elements/gstidentity.c: (gst_identity_class_init),
19236         (gst_identity_event), (gst_identity_check_perfect),
19237         (gst_identity_transform), (gst_identity_start),
19238         (gst_identity_stop):
19239         Added start/stop methods to transform base class so subclasses 
19240         don't need to deal with state changes even.
19241
19242 2005-03-31  Wim Taymans  <wim@fluendo.com>
19243
19244         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
19245         (gst_event_new_discontinuous), (gst_event_discont_get_value):
19246         * gst/gstevent.h:
19247         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19248         (gst_pad_pull_range):
19249         Added rate to the discont event to prepare for variable speed
19250         and reverse playback.
19251
19252 2005-03-29  David Schleef  <ds@schleef.org>
19253
19254         * configure.ac:
19255         * testsuite/trigger/Makefile.am:
19256         * testsuite/trigger/trigger.c: A little example program to show
19257         how trigger-based elements can work.
19258
19259 2005-03-29  Wim Taymans  <wim@fluendo.com>
19260
19261         * gst/base/Makefile.am:
19262         * gst/base/README:
19263         * gst/base/gstbasesink.c: (gst_basesink_get_type),
19264         (gst_basesink_base_init), (gst_basesink_class_init),
19265         (gst_basesink_pad_getcaps), (gst_basesink_init),
19266         (gst_basesink_activate), (gst_basesink_change_state):
19267         * gst/base/gstbasesink.h:
19268         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
19269         (gst_base_transform_base_init), (gst_base_transform_finalize),
19270         (gst_base_transform_class_init), (gst_base_transform_init),
19271         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
19272         (gst_base_transform_event), (gst_base_transform_getrange),
19273         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
19274         (gst_base_transform_set_property),
19275         (gst_base_transform_get_property),
19276         (gst_base_transform_sink_activate),
19277         (gst_base_transform_src_activate),
19278         (gst_base_transform_change_state):
19279         * gst/base/gstbasetransform.h:
19280         * gst/elements/gstidentity.c: (gst_identity_finalize),
19281         (gst_identity_class_init), (gst_identity_init),
19282         (gst_identity_event), (gst_identity_check_perfect),
19283         (gst_identity_transform), (gst_identity_set_property),
19284         (gst_identity_get_property), (gst_identity_change_state):
19285         * gst/elements/gstidentity.h:
19286         * gst/gstelement.c: (gst_element_get_state_func),
19287         (gst_element_lost_state), (gst_element_pads_activate):
19288         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19289         (gst_pad_check_pull_range), (gst_pad_pull_range):
19290         * gst/gstpad.h:
19291         Simplify pad activation.
19292         Added function to check if pull_range can be performed.
19293         Error out when pulling inactive or flushing pads.
19294         Removed const from refcounted types as it does not make sense.
19295         Simplify pad templates in basesink
19296         Added base class for simple 1-to-1 transforms.
19297         Make identity subclass the base transform.
19298
19299 2005-03-29  Andy Wingo  <wingo@pobox.com>
19300
19301         * docs/libs/gstreamer-libs-overrides.txt: 
19302         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
19303         really don't understand what's going on, but like whatever. I want
19304         green buildbot!
19305
19306         * docs/gst/Makefile.am:
19307         * docs/libs/Makefile.am: Dist the overrides files.
19308
19309         * check/Makefile.am (clean-local): Remove .libs directories.
19310
19311         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
19312         elements to EXTRA_DIST, so po/ files are happy.
19313
19314         * po/POTFILES.in: Er, remove it here.
19315
19316         * po/POTFILES: Remove gstspider.c.
19317
19318         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
19319
19320         * docs/libs/gstreamer-libs-docs.sgml: 
19321         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
19322         bytestream.
19323
19324         * tests/complexity.c (main): Set the length of the preroll queue
19325         on the sinks to prevent a lockup.
19326
19327         * libs/gst/dataprotocol/Makefile.am: 
19328         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
19329         the same as the one in check/gst-libs/gdp.c.
19330
19331         * po/, docs/gst/: Commit automatic changes to docs and po files.
19332
19333         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
19334         the versioned libgstbase.
19335
19336         * check/Makefile.am: Depend on an unversioned gst-register, seems
19337         to make autoconf happier.
19338
19339         * gst/base/Makefile.am: Make libgstbase a versioned lib.
19340
19341 2005-03-28  Wim Taymans  <wim@fluendo.com>
19342
19343         * configure.ac:
19344         * docs/design/part-gstelement.txt:
19345         * docs/design/part-negotiation.txt:
19346         * docs/design/part-preroll.txt:
19347         * docs/design/part-scheduling.txt:
19348         * docs/design/part-states.txt:
19349         * gst/Makefile.am:
19350         * gst/base/Makefile.am:
19351         * gst/base/README:
19352         * gst/base/gstbasesink.c: (gst_basesink_get_template),
19353         (gst_basesink_base_init), (gst_basesink_class_init),
19354         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19355         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19356         (gst_basesink_set_pad_functions),
19357         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
19358         (gst_basesink_set_property), (gst_basesink_get_property),
19359         (gst_base_sink_get_template), (gst_base_sink_get_caps),
19360         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
19361         (gst_basesink_preroll_queue_push),
19362         (gst_basesink_preroll_queue_empty),
19363         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
19364         (gst_basesink_event), (gst_basesink_get_times),
19365         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
19366         (gst_basesink_chain_unlocked), (gst_basesink_chain),
19367         (gst_basesink_loop), (gst_basesink_activate),
19368         (gst_basesink_change_state):
19369         * gst/base/gstbasesink.h:
19370         * gst/elements/Makefile.am:
19371         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
19372         (gst_fakesink_class_init), (gst_fakesink_init),
19373         (gst_fakesink_set_property), (gst_fakesink_get_property),
19374         (gst_fakesink_get_times), (gst_fakesink_event),
19375         (gst_fakesink_preroll), (gst_fakesink_render),
19376         (gst_fakesink_change_state):
19377         * gst/elements/gstfakesink.h:
19378         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19379         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
19380         * gst/gstelement.c: (gst_element_add_pad),
19381         (gst_element_get_state_func), (gst_element_abort_state),
19382         (gst_element_commit_state), (gst_element_lost_state),
19383         (gst_element_set_state), (gst_element_pads_activate):
19384         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
19385         * gst/gstpipeline.c: (gst_pipeline_send_event),
19386         (gst_pipeline_change_state):
19387         Added state change code.
19388         Added/updated docs.
19389         Added sink base class, make fakesink extend the base class.
19390         Small cleanups in GstPipeline.
19391
19392 2005-03-26  David Schleef  <ds@schleef.org>
19393
19394         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
19395         is broken and should be implemented in a different library.
19396         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
19397         * gst/gst.h: remove gstcpu.h
19398         * gst/gstcpu.c: remove
19399         * gst/gstcpu.h: remove
19400         * gst/Makefile.am.future: Remove this file.  It's ancient.
19401
19402 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19403
19404         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19405         (gst_bin_send_event):
19406           Add default event/set_manager handlers. The set_manager handler
19407           takes care that the manager is distributed over kids that were
19408           already in the bin before the manager was set. The event handler
19409           is a utility virtual function that sends the event over all sinks,
19410           so that gst_element_send_event (bin, event); has the expected
19411           behaviour.
19412         * gst/gstpad.c: (gst_pad_event_default):
19413           Re-install default event handling for discontinuities, so that
19414           seeking works without requiring hacks in applications or extra
19415           code in sinks.
19416         * gst/gstpipeline.c: (gst_pipeline_class_init),
19417         (gst_pipeline_send_event):
19418           Half hack, half utility: set a pipeline to PAUSED for seek events,
19419           since that is the only way we can guarantee a/v sync. Means that
19420           you can do gst_element_seek (pipeline, method, pos); on a pipeline
19421           and it "just works".
19422
19423 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19424
19425         * gst/gstpipeline.c: (gst_pipeline_use_clock):
19426           Lock/unlock mismatch.
19427
19428 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
19429
19430         * docs/faq/gst-uninstalled:
19431           add gst-plugins-base
19432         * docs/gst/Makefile.am:
19433           don't error out until docs are fixed
19434         * docs/gst/gstreamer.types:
19435           remove thread
19436
19437 2005-03-22  Wim Taymans  <wim@fluendo.com>
19438
19439         * check/Makefile.am:
19440         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
19441         * gst/gststructure.c: (gst_structure_set_valist),
19442         (gst_structure_copy_conditional):
19443         Activated more tests.
19444         Added message test.
19445         Added G_TYPE_POINTER to GstStructure.
19446         
19447
19448 2005-03-22  Wim Taymans  <wim@fluendo.com>
19449
19450         * docs/design/part-TODO.txt:
19451         * docs/design/part-events.txt:
19452         * docs/design/part-gstbin.txt:
19453         * docs/design/part-gstbus.txt:
19454         * docs/design/part-gstpipeline.txt:
19455         * docs/design/part-messages.txt:
19456         * gst/gstbus.c:
19457         * gst/gstmessage.c:
19458         Docs updates
19459
19460 2005-03-21  Wim Taymans  <wim@fluendo.com>
19461
19462         * gst/gstbus.c: (gst_bus_post):
19463         Fix copy-and-paste error.
19464
19465 2005-03-21  Wim Taymans  <wim@fluendo.com>
19466
19467         * check/Makefile.am:
19468         * gst/Makefile.am:
19469         * gst/elements/Makefile.am:
19470         * gst/elements/gstelements.c:
19471         * gst/elements/gstfakesink.c: (gst_fakesink_init),
19472         (gst_fakesink_event), (gst_fakesink_chain):
19473         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19474         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
19475         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
19476         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
19477         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19478         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
19479         (gst_fakesrc_loop), (gst_fakesrc_activate),
19480         (gst_fakesrc_change_state):
19481         * gst/elements/gstfakesrc.h:
19482         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
19483         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
19484         (gst_filesrc_open_file), (gst_filesrc_loop),
19485         (gst_filesrc_activate), (gst_filesrc_change_state),
19486         (filesrc_find_peek), (filesrc_find_suggest),
19487         (gst_filesrc_type_find):
19488         * gst/elements/gstidentity.c: (gst_identity_finalize),
19489         (gst_identity_class_init), (gst_identity_init),
19490         (gst_identity_proxy_getcaps), (identity_queue_push),
19491         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
19492         (gst_identity_getrange), (gst_identity_chain),
19493         (gst_identity_sink_loop), (gst_identity_src_loop),
19494         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
19495         (gst_identity_set_property), (gst_identity_get_property),
19496         (gst_identity_change_state):
19497         * gst/elements/gstidentity.h:
19498         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
19499         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
19500         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
19501         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
19502         (gst_tee_sink_activate):
19503         * gst/elements/gsttee.h:
19504         * gst/gst.c: (gst_register_core_elements), (init_post):
19505         * gst/gst.h:
19506         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
19507         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
19508         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
19509         (gst_bin_change_state):
19510         * gst/gstbin.h:
19511         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
19512         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
19513         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
19514         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
19515         (gst_bus_set_sync_handler), (gst_bus_create_watch),
19516         (bus_watch_callback), (bus_watch_destroy),
19517         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
19518         (poll_timeout), (gst_bus_poll):
19519         * gst/gstbus.h:
19520         * gst/gstcaps.h:
19521         * gst/gstdata.h:
19522         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19523         (gst_element_post_message), (gst_element_message_full),
19524         (gst_element_get_state_func), (gst_element_get_state),
19525         (gst_element_abort_state), (gst_element_commit_state),
19526         (gst_element_lost_state), (gst_element_set_state),
19527         (gst_element_pads_activate), (gst_element_change_state),
19528         (gst_element_dispose), (gst_element_set_manager_func),
19529         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
19530         (gst_element_set_manager), (gst_element_get_manager),
19531         (gst_element_set_bus), (gst_element_get_bus),
19532         (gst_element_set_scheduler), (gst_element_get_scheduler):
19533         * gst/gstelement.h:
19534         * gst/gstevent.c: (gst_event_new_segment_seek),
19535         (gst_event_new_flush):
19536         * gst/gstevent.h:
19537         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
19538         (_gst_message_free), (gst_message_get_type), (gst_message_new),
19539         (gst_message_new_eos), (gst_message_new_error),
19540         (gst_message_new_warning), (gst_message_new_tag),
19541         (gst_message_new_state_changed), (gst_message_new_application),
19542         (gst_message_get_structure), (gst_message_parse_tag),
19543         (gst_message_parse_state_changed), (gst_message_parse_error),
19544         (gst_message_parse_warning):
19545         * gst/gstmessage.h:
19546         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
19547         (gst_real_pad_set_property), (gst_pad_set_active),
19548         (gst_pad_is_active), (gst_pad_set_blocked_async),
19549         (gst_pad_set_blocked), (gst_pad_is_blocked),
19550         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
19551         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
19552         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
19553         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
19554         (gst_pad_link_filtered), (gst_pad_relink_filtered),
19555         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
19556         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
19557         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
19558         (gst_pad_set_caps), (gst_pad_configure_sink),
19559         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
19560         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
19561         (gst_real_pad_dispose), (gst_real_pad_finalize),
19562         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
19563         (gst_pad_event_default_dispatch), (gst_pad_event_default),
19564         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
19565         * gst/gstpad.h:
19566         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
19567         (pipeline_bus_handler), (gst_pipeline_change_state),
19568         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
19569         * gst/gstpipeline.h:
19570         * gst/gstprobe.h:
19571         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19572         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
19573         (gst_queue_link_src), (gst_queue_bufferalloc),
19574         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
19575         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
19576         (gst_queue_loop), (gst_queue_handle_src_event),
19577         (gst_queue_handle_src_query), (gst_queue_src_activate),
19578         (gst_queue_change_state):
19579         * gst/gstqueue.h:
19580         * gst/gstscheduler.c: (gst_scheduler_init),
19581         (gst_scheduler_dispose), (gst_scheduler_create_task),
19582         (gst_scheduler_factory_create):
19583         * gst/gstscheduler.h:
19584         * gst/gststructure.c: (gst_structure_get_type),
19585         (gst_structure_copy_conditional):
19586         * gst/gststructure.h:
19587         * gst/gsttaginterface.h:
19588         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19589         (gst_task_init), (gst_task_dispose), (gst_task_create),
19590         (gst_task_get_state), (gst_task_start), (gst_task_stop),
19591         (gst_task_pause):
19592         * gst/gsttask.h:
19593         * gst/gstthread.c:
19594         * gst/gstthread.h:
19595         * gst/gsttypes.h:
19596         * gst/schedulers/Makefile.am:
19597         * gst/schedulers/cothreads_compat.h:
19598         * gst/schedulers/entryscheduler.c:
19599         * gst/schedulers/faircothreads.c:
19600         * gst/schedulers/faircothreads.h:
19601         * gst/schedulers/fairscheduler.c:
19602         * gst/schedulers/gstbasicscheduler.c:
19603         * gst/schedulers/gstoptimalscheduler.c:
19604         * gst/schedulers/gthread-cothreads.h:
19605         * gst/schedulers/threadscheduler.c:
19606         (gst_thread_scheduler_task_get_type),
19607         (gst_thread_scheduler_task_class_init),
19608         (gst_thread_scheduler_task_init),
19609         (gst_thread_scheduler_task_start),
19610         (gst_thread_scheduler_task_stop),
19611         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
19612         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19613         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
19614         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
19615         (plugin_init):
19616         * libs/gst/Makefile.am:
19617         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
19618         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
19619         (gst_file_pad_parent_set):
19620         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19621         (gst_dp_event_from_packet):
19622         * tests/complexity.c: (main):
19623         * tests/mass_elements.c: (main):
19624         * testsuite/states/locked.c: (message_received), (main):
19625         * testsuite/states/parent.c: (main):
19626         * tools/gst-inspect.c: (print_element_flag_info),
19627         (print_implementation_info), (print_pad_info):
19628         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
19629         (main):
19630         * tools/gst-md5sum.c: (event_loop), (main):
19631         * tools/gst-typefind.c: (main):
19632         * tools/gst-xmlinspect.c: (print_element_info):
19633         Next big merge.
19634         Added GstBus for mainloop integration.
19635         Added GstMessage for sending notifications on the bus.
19636         Added GstTask as an abstraction for pipeline entry points.
19637         Removed GstThread.
19638         Removed Schedulers.
19639         Simplified GstQueue for multithreaded core.
19640         Made _link threadsafe, removed old capsnego.
19641         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
19642         Added pad blocking functions.
19643         Reworked scheduling functions in GstPad to prepare for
19644         scheduling updates soon.
19645         Moved events out of data stream.
19646         Simplified GstEvent types.
19647         Added return values to push/pull.
19648         Removed clocking from GstElement.
19649         Added prototypes for state change function for next merge.
19650         Removed iterate from bins and state change management.
19651         Fixed some elements, disabled others for now.
19652         Fixed -inspect and -launch.
19653         Added check for GstBus.
19654
19655 2005-03-10  Wim Taymans  <wim@fluendo.com>
19656
19657         * docs/design/part-MT-refcounting.txt:
19658         * docs/design/part-clocks.txt:
19659         * docs/design/part-gstelement.txt:
19660         * docs/design/part-gstobject.txt:
19661         * docs/design/part-standards.txt:
19662         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19663         (gst_bin_remove_func), (gst_bin_remove):
19664         * gst/gstbin.h:
19665         * gst/gstbuffer.c:
19666         * gst/gstcaps.h:
19667         * testsuite/clock/clock1.c: (main):
19668         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
19669         (main):
19670         * testsuite/dlopen/loadgst.c: (do_test):
19671         * testsuite/refcounting/bin.c: (add_remove_test1),
19672         (add_remove_test2), (main):
19673         * testsuite/refcounting/element.c: (main):
19674         * testsuite/refcounting/element_pad.c: (main):
19675         * testsuite/refcounting/pad.c: (main):
19676         * tools/gst-launch.c: (sigint_handler_sighandler):
19677         * tools/gst-typefind.c: (main):
19678         Doc updates.
19679         Added doc about clock.
19680         removed gst_bin_iterate_recurse_up(), marked methods
19681         for removal.
19682         Fix more testsuites.
19683
19684 2005-03-09  Wim Taymans  <wim@fluendo.com>
19685
19686         * gst/gstpad.c: (gst_pad_get_direction),
19687         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
19688         (gst_pad_collect_valist):
19689         * testsuite/bins/interface.c: (main):
19690         * testsuite/caps/audioscale.c: (test_caps):
19691         * testsuite/caps/caps.c: (test1), (test2), (test3):
19692         * testsuite/caps/deserialize.c: (main):
19693         * testsuite/caps/enumcaps.c: (main):
19694         * testsuite/caps/filtercaps.c: (main):
19695         * testsuite/caps/intersect2.c: (main):
19696         * testsuite/caps/random.c: (main):
19697         * testsuite/caps/renegotiate.c: (my_fixate), (main):
19698         * testsuite/caps/sets.c: (check_caps):
19699         * testsuite/caps/simplify.c: (check_caps), (main):
19700         * testsuite/caps/subtract.c: (check_caps):
19701         Fix _pad_get_direction wrt ghostpads.
19702         Fix caps testsuite.
19703
19704 2005-03-09  Wim Taymans  <wim@fluendo.com>
19705
19706         * check/Makefile.am:
19707         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
19708         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
19709         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
19710         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
19711         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
19712         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
19713         (gst_bin_remove), (gst_bin_iterate_recurse_up),
19714         (bin_element_is_sink), (gst_bin_iterate_sinks),
19715         (gst_bin_iterate_all_by_interface):
19716         * gst/gstbin.h:
19717         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
19718         (gst_element_change_state), (gst_element_dispose),
19719         (gst_element_finalize), (gst_element_set_loop_function):
19720         * gst/gstelement.h:
19721         * gst/gstiterator.c: (find_custom_fold_func):
19722         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19723         (gst_pad_collectv), (gst_pad_collect_valist),
19724         (gst_pad_template_new):
19725         * gst/gstpipeline.c: (gst_pipeline_class_init),
19726         (gst_pipeline_dispose), (gst_pipeline_set_property),
19727         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
19728         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
19729         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
19730         * gst/gstutils.h:
19731         * gst/schedulers/entryscheduler.c:
19732         * gst/schedulers/gstbasicscheduler.c:
19733         (gst_basic_scheduler_cothreaded_chain),
19734         (gst_basic_scheduler_chain_add_element):
19735         * testsuite/bins/interface.c: (main):
19736         Added GstBin test.
19737         Added GstSystemClock test.
19738         Implemented clock distribution code in GstBin.
19739         Implemented iterate sinks method for future use.
19740         Rearranged gstelement.h
19741         Fix GstIterator comparison bug.
19742         Moved some code to GstPipeline, mostly clocking related.
19743
19744 2005-03-09  Wim Taymans  <wim@fluendo.com>
19745
19746         * configure.ac:
19747         * gst/gst_private.h:
19748         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19749         (gst_bin_remove_func), (gst_bin_remove),
19750         (gst_bin_get_by_name_recurse_up):
19751         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
19752         (gst_clock_id_compare_func), (gst_clock_id_wait),
19753         (gst_clock_id_wait_async), (gst_clock_init),
19754         (gst_clock_adjust_unlocked), (gst_clock_get_time):
19755         * gst/gstelement.h:
19756         * gst/gstinfo.c: (_gst_debug_init):
19757         * gst/gstobject.h:
19758         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19759         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
19760         * gst/gstpad.h:
19761         Bump version number, we're now 0.9.0
19762         Add future debugging category.
19763         Fix NULL _unref() in _get_by_name_recurse_up
19764         Rearrange gstpad.h.
19765         Update some docs.
19766
19767 2005-03-08  Wim Taymans  <wim@fluendo.com>
19768
19769         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
19770         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
19771         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
19772         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
19773         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
19774         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
19775         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
19776         * gst/elements/gstidentity.c: (gst_identity_class_init):
19777         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
19778         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
19779         * gst/elements/gstshaper.c: (gst_shaper_class_init):
19780         * gst/elements/gststatistics.c: (gst_statistics_class_init):
19781         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
19782         (gst_tee_link):
19783         * gst/gstelement.c: (gst_element_class_init),
19784         (gst_element_base_class_init), (gst_element_init),
19785         (gst_element_get_random_pad), (gst_element_wait_state_change),
19786         (gst_element_change_state), (gst_element_dispose),
19787         (gst_element_finalize), (gst_element_set_loop_function):
19788         * gst/gstelement.h:
19789         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
19790         * gst/gstthread.c: (gst_thread_class_init),
19791         (gst_thread_release_children_locks), (gst_thread_change_state):
19792         * gst/schedulers/gstbasicscheduler.c:
19793         (gst_basic_scheduler_loopfunc_wrapper),
19794         (gst_basic_scheduler_chain_wrapper),
19795         (gst_basic_scheduler_src_wrapper),
19796         (gst_basic_scheduler_remove_element):
19797         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
19798         Remove threadsafe properties. Fix elements because GObject
19799         complains when installing a property before declaring a
19800         set/get_property handler.
19801         Rearrange gstelement.h file, use STATE macros for state locks.
19802         Free mutexes in the finalize method instead of dispose.
19803
19804 2005-03-08  Wim Taymans  <wim@fluendo.com>
19805
19806         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19807         * gst/gstthread.c: (gst_thread_release_children_locks):
19808         Added parentage check.
19809         Fix build og GstThread again.
19810
19811 2005-03-08  Wim Taymans  <wim@fluendo.com>
19812
19813         * docs/design/part-MT-refcounting.txt:
19814         * docs/design/part-conventions.txt:
19815         * docs/design/part-gstobject.txt:
19816         * docs/design/part-relations.txt:
19817         * docs/design/part-standards.txt:
19818         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19819         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
19820         (gst_bin_get_by_name), (gst_bin_get_by_interface),
19821         (gst_bin_iterate_all_by_interface):
19822         * gst/gstbuffer.h:
19823         * gst/gstclock.h:
19824         * gst/gstelement.c: (gst_element_class_init),
19825         (gst_element_change_state), (gst_element_set_loop_function):
19826         * gst/gstelement.h:
19827         * gst/gstiterator.c:
19828         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
19829         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
19830         (gst_object_dispatch_properties_changed), (gst_object_set_name),
19831         (gst_object_set_parent), (gst_object_unparent),
19832         (gst_object_check_uniqueness):
19833         * gst/gstobject.h:
19834         Docs updates, clean up some headers.
19835
19836 2005-03-07  Wim Taymans  <wim@fluendo.com>
19837
19838         * check/.cvsignore:
19839         * check/Makefile.am:
19840         * check/gst-libs/.cvsignore:
19841         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
19842         * check/gst/.cvsignore:
19843         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
19844         (START_TEST), (gstbus_suite), (main):
19845         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
19846         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
19847         (gst_data_suite), (main):
19848         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
19849         (add_fold_func), (gstiterator_suite), (main):
19850         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
19851         (thread_name_object), (thread_name_object_default),
19852         (gst_object_name_compare), (gst_object_suite), (main):
19853         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
19854         (gst_pad_suite), (main):
19855         * check/gstcheck.c: (gst_check_log_message_func),
19856         (gst_check_log_critical_func), (gst_check_init):
19857         * check/gstcheck.h:
19858         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19859         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
19860         Added checks.
19861
19862 2005-03-07  Wim Taymans  <wim@fluendo.com>
19863
19864         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
19865         (gst_list_iterator_next), (gst_list_iterator_resync),
19866         (gst_list_iterator_free), (gst_iterator_new_list),
19867         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
19868         (gst_iterator_free), (gst_iterator_push), (filter_next),
19869         (filter_resync), (filter_uninit), (filter_free),
19870         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
19871         (gst_iterator_foreach), (find_custom_fold_func),
19872         (gst_iterator_find_custom):
19873         * gst/gstiterator.h:
19874         Added missing files.
19875
19876 2005-03-07  Wim Taymans  <wim@fluendo.com>
19877
19878         * Makefile.am:
19879         * configure.ac:
19880         * docs/design/part-MT-refcounting.txt:
19881         * docs/design/part-conventions.txt:
19882         * docs/design/part-gstobject.txt:
19883         * docs/design/part-relations.txt:
19884         * examples/mixer/mixer.c: (main):
19885         * examples/thread/thread.c: (eos), (main):
19886         * gst/Makefile.am:
19887         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
19888         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
19889         (gst_spider_plug_from_srcpad):
19890         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
19891         (gst_spider_identity_change_state),
19892         (gst_spider_identity_sink_loop_type_finding):
19893         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
19894         * gst/elements/gstidentity.c: (gst_identity_init):
19895         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
19896         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
19897         * gst/elements/gsttypefindelement.c: (free_entry):
19898         * gst/gst.c:
19899         * gst/gst.h:
19900         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
19901         (gst_bin_set_clock_func), (gst_bin_auto_clock),
19902         (gst_bin_set_index), (gst_bin_set_element_sched),
19903         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
19904         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
19905         (gst_bin_iterate_elements), (iterate_child_recurse),
19906         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
19907         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
19908         (compare_interface), (gst_bin_get_by_interface),
19909         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
19910         * gst/gstbin.h:
19911         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
19912         (gst_buffer_default_free), (gst_buffer_default_copy),
19913         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
19914         (gst_buffer_create_sub):
19915         * gst/gstbuffer.h:
19916         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
19917         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
19918         (gst_caps_unref), (gst_static_caps_get),
19919         (gst_caps_remove_and_get_structure), (gst_caps_append),
19920         (gst_caps_append_structure), (gst_caps_remove_structure),
19921         (gst_caps_copy_nth), (gst_caps_set_simple),
19922         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
19923         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
19924         (gst_caps_structure_intersect_field), (gst_caps_intersect),
19925         (gst_caps_structure_subtract_field), (gst_caps_subtract),
19926         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
19927         (gst_caps_structure_figure_out_union),
19928         (gst_caps_switch_structures), (gst_caps_do_simplify),
19929         (gst_caps_replace), (gst_caps_from_string),
19930         (gst_caps_copy_conditional):
19931         * gst/gstcaps.h:
19932         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
19933         (_gst_clock_id_free), (gst_clock_id_unref),
19934         (gst_clock_id_compare_func), (gst_clock_id_wait),
19935         (gst_clock_id_wait_async), (gst_clock_class_init),
19936         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
19937         (gst_clock_get_time), (gst_clock_set_time_adjust),
19938         (gst_clock_set_property), (gst_clock_get_property):
19939         * gst/gstclock.h:
19940         * gst/gstcompat.h:
19941         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
19942         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
19943         * gst/gstdata.h:
19944         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19945         (gst_element_requires_clock), (gst_element_provides_clock),
19946         (gst_element_set_clock), (gst_element_clock_wait),
19947         (gst_element_wait), (gst_element_set_time_delay),
19948         (gst_element_is_indexable), (gst_element_add_pad),
19949         (gst_element_add_ghost_pad), (gst_element_remove_pad),
19950         (pad_compare_name), (gst_element_get_static_pad),
19951         (gst_element_request_pad), (gst_element_get_request_pad),
19952         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
19953         (gst_element_class_get_pad_template_list),
19954         (gst_element_class_get_pad_template), (gst_element_error_func),
19955         (gst_element_get_random_pad), (gst_element_get_event_masks),
19956         (gst_element_send_event), (gst_element_seek),
19957         (gst_element_get_query_types), (gst_element_query),
19958         (gst_element_get_formats), (gst_element_convert),
19959         (gst_element_is_locked_state), (gst_element_set_locked_state),
19960         (gst_element_sync_state_with_parent), (gst_element_change_state),
19961         (gst_element_finalize), (gst_element_yield),
19962         (gst_element_interrupt), (gst_element_set_scheduler),
19963         (gst_element_get_scheduler), (gst_element_set_loop_function):
19964         * gst/gstelement.h:
19965         * gst/gstevent.h:
19966         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
19967         (gst_format_get_by_nick), (gst_format_get_details),
19968         (gst_format_iterate_definitions):
19969         * gst/gstformat.h:
19970         * gst/gstindex.c: (gst_index_gtype_resolver):
19971         * gst/gstinfo.c:
19972         * gst/gstinfo.h:
19973         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
19974         (gst_mem_chunk_free):
19975         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19976         (gst_object_ref), (gst_object_unref), (gst_object_sink),
19977         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
19978         (gst_object_dispatch_properties_changed),
19979         (gst_object_set_name_default), (gst_object_set_name),
19980         (gst_object_get_name), (gst_object_set_name_prefix),
19981         (gst_object_get_name_prefix), (gst_object_set_parent),
19982         (gst_object_get_parent), (gst_object_unparent),
19983         (gst_object_check_uniqueness), (gst_object_save_thyself),
19984         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
19985         (gst_object_set_property), (gst_object_get_property),
19986         (gst_object_get_path_string):
19987         * gst/gstobject.h:
19988         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
19989         (gst_real_pad_init), (gst_real_pad_get_property),
19990         (gst_pad_custom_new), (gst_pad_get_direction),
19991         (gst_pad_set_active), (gst_pad_is_active),
19992         (gst_pad_set_event_function), (gst_pad_is_linked),
19993         (gst_pad_link_free), (gst_pad_link_intersect),
19994         (gst_pad_link_fixate), (gst_pad_set_caps),
19995         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
19996         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
19997         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
19998         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
19999         (gst_pad_get_caps), (gst_pad_peer_get_caps),
20000         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
20001         (gst_pad_realize), (gst_pad_get_allowed_caps),
20002         (gst_real_pad_dispose), (gst_real_pad_finalize),
20003         (gst_pad_collectv), (gst_pad_collect_valist),
20004         (gst_pad_template_dispose), (gst_pad_template_new),
20005         (gst_pad_get_internal_links):
20006         * gst/gstpad.h:
20007         * gst/gstpipeline.c: (gst_pipeline_dispose),
20008         (gst_pipeline_change_state):
20009         * gst/gstpipeline.h:
20010         * gst/gstplugin.c:
20011         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
20012         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
20013         * gst/gstpluginfeature.h:
20014         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
20015         * gst/gstquery.c: (_gst_query_type_initialize),
20016         (gst_query_type_register), (gst_query_type_get_by_nick),
20017         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
20018         * gst/gstquery.h:
20019         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
20020         * gst/gstscheduler.c: (gst_scheduler_add_element),
20021         (gst_scheduler_factory_create):
20022         * gst/gststructure.c: (gst_structure_set_parent_refcount),
20023         (gst_structure_free), (gst_structure_set_name),
20024         (gst_structure_id_set_value), (gst_structure_set_value),
20025         (gst_structure_set_valist), (gst_structure_remove_field),
20026         (gst_structure_remove_fields),
20027         (gst_structure_remove_fields_valist),
20028         (gst_structure_remove_all_fields), (gst_structure_foreach),
20029         (gst_structure_map_in_place),
20030         (gst_caps_structure_fixate_field_nearest_int),
20031         (gst_caps_structure_fixate_field_nearest_double):
20032         * gst/gststructure.h:
20033         * gst/gstsystemclock.c: (gst_system_clock_class_init),
20034         (gst_system_clock_init), (gst_system_clock_dispose),
20035         (gst_system_clock_async_thread),
20036         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
20037         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
20038         * gst/gstsystemclock.h:
20039         * gst/gsttag.c: (gst_tag_list_add_value_internal),
20040         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
20041         * gst/gsttaginterface.c:
20042         * gst/gstthread.c: (gst_thread_dispose),
20043         (gst_thread_release_children_locks), (gst_thread_change_state),
20044         (gst_thread_main_loop):
20045         * gst/gsttrashstack.h:
20046         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
20047         * gst/gsttypes.h:
20048         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
20049         (gst_element_request_pad), (gst_element_get_pad_from_template),
20050         (gst_element_request_compatible_pad),
20051         (gst_element_get_compatible_pad_filtered),
20052         (gst_element_get_compatible_pad), (gst_element_state_get_name),
20053         (gst_element_link_pads_filtered), (gst_element_link_filtered),
20054         (gst_element_link_many), (gst_element_link),
20055         (gst_element_link_pads), (gst_element_unlink_pads),
20056         (gst_element_unlink_many), (gst_element_unlink),
20057         (gst_pad_can_link_filtered), (gst_pad_can_link),
20058         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
20059         (gst_object_default_error), (gst_bin_add_many),
20060         (gst_bin_remove_many), (gst_element_populate_std_props),
20061         (gst_element_class_install_std_props), (gst_buffer_merge),
20062         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
20063         (link_fold_func), (gst_pad_proxy_setcaps):
20064         * gst/gstutils.h:
20065         * gst/gstvalue.c: (gst_value_deserialize_string):
20066         * gst/parse/grammar.y:
20067         * gst/schedulers/gstbasicscheduler.c:
20068         (gst_basic_scheduler_cothreaded_chain),
20069         (gst_basic_scheduler_chain_recursive_add),
20070         (gst_basic_scheduler_pad_link):
20071         * gst/schedulers/gstoptimalscheduler.c:
20072         (get_group_schedule_function),
20073         (gst_opt_scheduler_state_transition),
20074         (gst_opt_scheduler_add_element), (element_get_reachables_func):
20075         * libs/gst/bytestream/bytestream.c:
20076         * libs/gst/dataprotocol/dataprotocol.c:
20077         (gst_dp_header_from_buffer):
20078         * po/nb.po:
20079         * po/ru.po:
20080         * tests/threadstate/threadstate2.c: (eos):
20081         * tools/gst-compprep.c: (main):
20082         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
20083         (print_pad_info), (print_children_info):
20084         * tools/gst-launch.c: (idle_func), (main):
20085         * tools/gst-md5sum.c: (idle_func), (main):
20086         * tools/gst-xmlinspect.c: (print_element_info):
20087         First THREADED backport attempt, focusing on adding locks and
20088         making sure the API is threadsafe. Needs more work. More docs
20089         follow this week.
20090
20091 2005-02-24  Andy Wingo  <wingo@pobox.com>
20092
20093         * tests/bench-complexity.scm:
20094         * tests/complexity.gnuplot: New files, good for running complexity
20095         benchmarks.
20096
20097         * tests/Makefile.am:
20098         * tests/complexity.c: New test, sets up N elements, at each level
20099         teeing into M streams per element. Eeeenteresting.
20100
20101         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
20102         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
20103         running bench-mass_elements.scm.
20104
20105         * tests/bench-mass_elements.scm: New script, runs mass_elements
20106         for various numbers of identities, outputting the results to a
20107         file. Requires guile 1.6. Just for testing.
20108
20109 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20110
20111         * gst/schedulers/fairscheduler.c:
20112           compile with debug disabled
20113
20114 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20115
20116         * configure.ac:
20117           hunting season on 0.9 is now OPEN