autoconf for freebsd
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2
3         * win32/common/config.h:
4         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
5         (_trewinddir), (_ttelldir), (_tseekdir):
6         * win32/common/dirent.h:
7         * win32/common/gtchar.h:
8         * win32/common/libgstbase.def:
9         * win32/common/libgstreamer.def:
10         * win32/vs6/grammar.dsp:
11         * win32/vs6/gst_inspect.dsp:
12         * win32/vs6/gst_launch.dsp:
13         * win32/vs6/gstreamer.dsw:
14         * win32/vs6/libgstbase.dsp:
15         * win32/vs6/libgstelements.dsp:
16         * win32/vs6/libgstreamer.dsp:
17           Visual Studio 6 project files, and a new common directory.
18           Phear.
19
20 2005-10-11  Wim Taymans  <wim@fluendo.com>
21
22         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23         (gst_base_sink_do_sync), (gst_base_sink_query),
24         (gst_base_sink_change_state):
25         * gst/base/gstbasesink.h:
26         Correctly parse newsegment info.
27
28 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
29
30         * gst/gst.c: (init_post):
31           split plugin paths correctly
32
33 2005-10-11  Wim Taymans  <wim@fluendo.com>
34
35         * check/gst/gstevent.c: (GST_START_TEST):
36         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
37         (gst_base_sink_change_state):
38         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
39         * gst/base/gstbasetransform.c: (gst_base_transform_event):
40         * gst/elements/gstfilesink.c: (gst_file_sink_event):
41         * gst/gstevent.c: (gst_event_new_newsegment),
42         (gst_event_parse_newsegment):
43         * gst/gstevent.h:
44         Added extra flag to newsegment for future API freeze.
45         Updated check and base elements.
46
47 2005-10-11  Julien MOUTTE  <julien@moutte.net>
48
49         * gst/base/gstcollectpads.c: (gst_collectpads_init),
50         (gst_collectpads_add_pad), (gst_collectpads_pop),
51         (gst_collectpads_event), (gst_collectpads_chain):
52         * gst/base/gstcollectpads.h: Handle EOS correctly.
53
54 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
55
56         * tools/gst-launch.c: (main):
57           more null protecting
58
59 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
60
61         * gst/gst-i18n-lib.h:
62           check for ENABLE_NLS, not GETTEXT_PACKAGE
63         * gst/gstregistry.c: (gst_registry_add_plugin),
64         (gst_registry_scan_path_level),
65         (_gst_registry_remove_cache_plugins):
66           protect possibly NULL strings
67         * gst/parse/types.h:
68           config.h already included before
69         * tools/gst-inspect.c: (main):
70           sys/wait.h also doesn´t exist on mingw, so change the ifdef check
71           check for ENABLE_NLS, not GETTEXT_PACKAGE
72         * tools/gst-launch.c: (main):
73           check for ENABLE_NLS, not GETTEXT_PACKAGE
74
75 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
76
77         * configure.ac:
78           if we don't have glib, fail before testing 2.8
79         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
80           fix a leak, should fix plugins-base testsuite
81
82 2005-10-11  Andy Wingo  <wingo@pobox.com>
83
84         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
85         take the mode we're going to as an arg. Go head and set the mode
86         and flushing flags now, so that if the activate function starts a
87         thread all the flags will be in the right state.
88         (post_activate): Renamed also. Just handle making sure streaming
89         finishes for the deactivation case, and setting the deactivated
90         mode.
91         (gst_pad_set_active): Complain loudly if deactivation fails.
92         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
93         (gst_pad_activate_push): Adapt to pre/post_activate changes,
94         remove the terrible hack.
95
96 2005-10-11  Wim Taymans  <wim@fluendo.com>
97
98         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
99         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
100         (gst_bin_recalc_state), (gst_bin_change_state_func),
101         (gst_bin_dispose), (bin_bus_handler):
102         * gst/gstbin.h:
103         Prepare to make current EOS message queue more generic.
104         Fix some typos.
105
106         * gst/gstevent.c: (gst_event_new_newsegment),
107         (gst_event_parse_newsegment):
108         * gst/gstevent.h:
109         Rename base to stream_time.
110
111         * gst/gstmessage.h:
112         Fix typo in docs.
113
114 2005-10-11  Wim Taymans  <wim@fluendo.com>
115
116         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
117         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
118         (gst_bin_change_state_func), (bin_bus_handler):
119         * gst/gstbin.h:
120         Work on proper clock selection.
121
122 2005-10-11  Edward Hervey  <edward@fluendo.com>
123
124         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
125         * libs/gst/controller/gstcontroller.h:
126         Added GList* version of _remove_properties() in order to be able to wrap
127         it in bindings.
128
129 2005-10-11  Wim Taymans  <wim@fluendo.com>
130
131         * docs/design/part-states.txt:
132         Some more docs.
133
134         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
135         (gst_bin_change_state_func), (bin_bus_handler):
136         Doc updates. Don't distribute the same clock over and over again.
137
138         * gst/gstclock.c:
139         * gst/gstclock.h:
140         Doc updates.
141
142         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
143         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
144         (gst_pad_send_event):
145         * gst/gstpad.h:
146         Make probe emission threadsafe again.
147         Register quarks and move _get_name() from utils.
148         Doc updates.
149
150         * gst/gstpipeline.c: (gst_pipeline_class_init),
151         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
152         Only redistribute the clock of it changed.
153
154         * gst/gstsystemclock.h:
155         Doc updates. 
156
157         * gst/gstutils.c:
158         * gst/gstutils.h:
159         Moved the _flow_get_name() to GstPad.
160
161 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
162
163         * check/gst-libs/gdp.c: (GST_START_TEST):
164         * check/gst/gstcaps.c: (GST_START_TEST):
165         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
166         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
167         (gst_dp_packet_from_caps):
168           fix more valgrind warnings before turning up the heat
169
170 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
171
172         * gst/parse/grammar.y:
173           some cleanup before the hacking
174
175 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
176
177         * gst/base/gstbasesrc.c: (gst_base_src_query):
178           use conversions
179         * gst/gstutils.c: (gst_guint64_to_gdouble),
180         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
181         * gst/gstutils.h:
182           externalize, basesrc uses it
183           obviously the implementation needs testing
184
185 2005-10-10  Wim Taymans  <wim@fluendo.com>
186
187         * tests/sched/Makefile.am:
188         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
189         (make_pipeline3), (make_pipeline4), (print_elem), (main):
190
191 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
192
193         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
194           apparently converting from guint64 to double is not implemented
195           on MSVC
196
197 2005-10-10  Wim Taymans  <wim@fluendo.com>
198
199         * check/Makefile.am:
200         * check/generic/states.c: (GST_START_TEST):
201         * check/gst/gstbin.c: (GST_START_TEST):
202         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
203         * check/states/sinks.c: (GST_START_TEST):
204         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
205         (main):
206         Check fixes, use API as stated in design docs, remove hacks.
207
208         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
209         (gst_base_sink_change_state):
210         Catch stopping our task while we're shutting down.
211
212         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
213         (gst_bin_remove_func), (gst_bin_get_state_func),
214         (gst_bin_recalc_state), (gst_bin_change_state_func),
215         (bin_bus_handler):
216         * gst/gstbin.h:
217         * gst/gstelement.c: (gst_element_init),
218         (gst_element_get_state_func), (gst_element_abort_state),
219         (gst_element_commit_state), (gst_element_lost_state),
220         (gst_element_set_state), (gst_element_change_state),
221         (gst_element_change_state_func):
222         * gst/gstelement.h:
223         New state change algorithm (see #318116)
224
225         * gst/gstpipeline.c: (gst_pipeline_class_init),
226         (gst_pipeline_init), (gst_pipeline_set_property),
227         (gst_pipeline_get_property), (do_pipeline_seek),
228         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
229         * gst/gstpipeline.h:
230         Remove crude state change hacks.
231
232         * gst/gstutils.h:
233         Remove crude hacks.
234
235         * tools/gst-launch.c: (main):
236         Fixes for state change. Needs some more work to fully use the
237         new stuff.
238
239 2005-10-10  Andy Wingo  <wingo@pobox.com>
240
241         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
242
243         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
244         this flag, but it's not even in GLib 2.6. Odd. Hack around the
245         issue.
246
247 2005-10-10  Tim-Philipp MĂĽller  <tim at centricular dot net>
248
249         * gst/gstiterator.c: (gst_iterator_new):
250           Fix my previous commit: GTypes passed to gst_iterator_new()
251           can be fundamental types.
252
253 2005-10-10  Wim Taymans  <wim@fluendo.com>
254
255         * gst/gstelement.c: (gst_element_iterate_pad_list),
256         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
257         (gst_element_iterate_sink_pads):
258         Use src/sink pads lists for the respective iterators instead
259         of filtering.
260
261 2005-10-10  Andy Wingo  <wingo@pobox.com>
262
263         Merged in popt removal + GOption addition patch from Ronald, bug
264         #169772.
265
266         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
267         GstElement macros around, remove popt-related symbols, add goption
268         stuff.
269
270         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
271         
272         * docs/gst/Makefile.am:
273         * docs/libs/Makefile.am: No POPT_CFLAGS.
274         
275         * examples/manual/Makefile.am:
276         * docs/manual/basics-init.xml: Doc updates with an example.
277         
278         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
279         (gst_init), (parse_one_option), (parse_goption_arg):
280         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
281         bit of hand merging and debugging to get the GOption stuff working
282         tho.
283         
284         * tests/Makefile.am:
285         * tools/Makefile.am:
286         * tools/gst-inspect.c: (main):
287         * tools/gst-launch.c: (main):
288         * tools/gst-run.c: (main):
289         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
290
291 2005-10-10  Tim-Philipp MĂĽller  <tim at centricular dot net>
292
293         * gst/gstiterator.c: (gst_iterator_new):
294           Add assertions to make sure passed GType is likely to really
295           be a GType (as the compiler won't catch it if the size and
296           GType arguments get mixed up, see #318447).
297
298 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
299
300         Reviewed by: Tim-Philipp MĂĽller  <tim at centricular dot net>
301
302         * gst/gstbin.c: (gst_bin_iterate_sorted):
303           Pass GType and size arguments to gst_iterator_new() in the right
304           order (maybe we should make _new() take the GType as first argument
305           just like _new_list()?) (#318447).
306           
307
308 2005-10-10  Wim Taymans  <wim@fluendo.com>
309
310         * gst/gstelement.c: (gst_element_finalize):
311         And free the GStaticRecMutex too
312
313 2005-10-10  Andy Wingo  <wingo@pobox.com>
314
315         * gst/gstelement.c (gst_element_init, gst_element_finalize):
316         Allocate and free the mutex properly.
317
318         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
319         New macros.
320         (GstElement): The state_lock is now recursive. Rebuild your
321         plugins, suckers. Old macros adapted.
322
323         * docs/gst/gstreamer-sections.txt: Doc updates.
324
325         * gst/gstutils.h:
326         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
327         (g_static_rec_cond_wait): Ported from state changes patch, while
328         we wait on bug #317802 to be solved in a well-distributed GLib.
329
330         * gst/gstelement.c (gst_element_change_state_func): Renamed from
331         gst_element_change_state, variable name changes.
332         (gst_element_change_state): Split out of gst_element_set_state in
333         preparation for the state change merge. Doesn't pay attention to
334         the 'transition' argument.
335         (gst_element_set_state): Updates, hopefully purely cosmetic.
336         (gst_element_sync_state_with_parent): MT-safety. Ported from the
337         state change patch.
338         (gst_element_get_state_func): Renamed from get_state, cosmetic
339         changes.
340
341 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
342
343         * gst/elements/gstelements.c:
344         * win32/GStreamer.vcproj:
345         * win32/config.h:
346         * win32/dirent.c: (_tseekdir):
347         * win32/gst-inspect.vcproj:
348         * win32/gst-launch.vcproj:
349         * win32/gstconfig.h:
350         * win32/gstelements.vcproj:
351         * win32/gstenumtypes.c: (gst_object_flags_get_type):
352         * win32/gstreamer.def:
353         * win32/msvc71.sln:
354           updates for the win32 build (patch from Sebastien Moutte)
355
356 2005-10-10  Andy Wingo  <wingo@pobox.com>
357
358         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
359         gst_bin_get_state, cleaned up (but no logic changes).
360         (bin_element_is_sink): Comment updates.
361         (sink_iterator_filter): Remove needless cast.
362         (gst_bin_iterate_sinks): Doc update.
363         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
364         cleaned up (but no logic changes).
365
366         * check/states/sinks.c (test_src_sink): Cleanups from the state
367         change patch.
368         (test_livesrc_sink): Sync on the state.
369
370         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
371         the state change patch.
372
373         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
374         change patch.
375
376         * check/gst/gstbin.c: Merge in some style fixes and additional
377         checks from Wim's state change patch.
378
379 2005-10-10  Tim-Philipp MĂĽller  <tim at centricular dot net>
380
381         * gst/base/gsttypefindhelper.c: (helper_find_peek),
382         (gst_type_find_helper):
383           Check whether we have the requested data already in our list of
384           cached buffers before pulling a new buffer; also make the buffer
385           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
386
387 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
388
389         * gst/gstcaps.c:
390         * gst/gstevent.c:
391           doc updates
392         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
393           don't use long long, it's not portable.  Replacing with
394           gint64 seems to work; let's hope no skeletons fall out of the closet.
395
396 2005-10-10  Andy Wingo  <wingo@pobox.com>
397
398         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
399
400 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
401
402         * docs/gst/gstreamer-sections.txt:
403         * gst/gstevent.c:
404         * gst/gstevent.h:
405         * gst/gstinfo.c:
406         * gst/gstinfo.h:
407         * gst/gstmessage.c: (gst_message_parse_state_changed):
408         * gst/gstpad.c:
409         * gst/gstpad.h:
410           more docs, fix compilation
411
412 2005-10-09  Philippe Khalaf <burger@speedy.org>
413         * gst/gstmessage.c:
414         Fixed a few forgotten variables on previous commit
415
416 2005-10-09  Tim-Philipp MĂĽller  <tim at centricular dot net>
417
418         * gst/base/gsttypefindhelper.c: (helper_find_peek):
419           Fix evil typefind crasher: getrange() might return a short
420           buffer at the end of a file, but gst_type_find_peek() must
421           either return the full data as requested or NULL, but
422           never a short buffer.
423
424 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
425
426         * gst/gstmessage.c: (gst_message_new_state_changed),
427         (gst_message_parse_state_changed):
428         * gst/gstmessage.h:
429           don't use "new", it's a C++ keyword
430
431 2005-10-08  Wim Taymans  <wim@fluendo.com>
432
433         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
434         * gst/gstelement.c: (gst_element_post_message):
435         * gst/gstpipeline.c: (gst_pipeline_change_state):
436         Small docs and debug updates.
437
438 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
439
440         * docs/gst/gstreamer-sections.txt:
441         * gst/gstelementfactory.c:
442         * gst/gstevent.c:
443         * gst/gsttaglist.c:
444           more docs
445
446 2005-10-08  Wim Taymans  <wim@fluendo.com>
447
448         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
449         (gst_bin_dispose), (bin_bus_handler):
450         Fix typos, add comments.
451         Clear EOS list when going to PAUSED from any direction and do it
452         in a threadsafe way.
453         Get base time in a threadsafe way too.
454         Fix confusing debug in the change_state function.
455         Various other small cleanups.
456         
457         * gst/gstelement.c: (gst_element_post_message):
458         Fix very verbose bus posting code.
459
460         * gst/gstpipeline.c: (gst_pipeline_class_init),
461         (gst_pipeline_set_property), (gst_pipeline_get_property),
462         (gst_pipeline_change_state):
463         Small ARG_ -> PROP_ cleanup
464
465 2005-10-08  Wim Taymans  <wim@fluendo.com>
466
467         * gst/gstbin.c: (is_eos), (bin_bus_handler):
468         Do a less CPU demanding EOS check because we can.
469
470 2005-10-08  Wim Taymans  <wim@fluendo.com>
471
472         * libs/gst/dataprotocol/dataprotocol.c:
473         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
474         (gst_dp_packet_from_event):
475         * libs/gst/dataprotocol/dataprotocol.h:
476         * libs/gst/dataprotocol/dp-private.h:
477         It's about time we bump the version number.
478         Since event types don't fit in the guint8 anymore describing
479         the payload type, make payload type 16 bits wide.
480
481 2005-10-08  Wim Taymans  <wim@fluendo.com>
482
483         * docs/design/part-TODO.txt:
484         * docs/design/part-clocks.txt:
485         * docs/design/part-events.txt:
486         * docs/design/part-gstbin.txt:
487         * docs/design/part-gstelement.txt:
488         * docs/design/part-gstpipeline.txt:
489         * docs/design/part-live-source.txt:
490         * docs/design/part-messages.txt:
491         * docs/design/part-overview.txt:
492         * docs/design/part-states.txt:
493         Many doc updates.
494
495 2005-10-08  Wim Taymans  <wim@fluendo.com>
496
497         * gst/gstevent.c:
498         * gst/gstevent.h:
499         Fix event quark registration.
500         Add some space between events so we can insert them in the
501         right groups.
502
503 2005-10-08  Wim Taymans  <wim@fluendo.com>
504
505         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
506         (gst_base_sink_handle_buffer):
507         Better log message.
508
509         * gst/gstbus.h:
510         * gst/gstelement.h:
511         More docs.
512
513         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
514         (gst_queue_set_property), (gst_queue_get_property):
515         * gst/gstqueue.h:
516         Remove old unused properties.
517
518 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
519         * docs/gst/gstreamer-sections.txt:
520         * gst/gstmessage.c:
521         * gst/gstmessage.h:
522         * gst/gstminiobject.c:
523         * gst/gstminiobject.h:
524         * gst/gstobject.h:
525         * gst/gstpad.h:
526         * gst/gstutils.h:
527           lots of new docs and doc fixes
528
529 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
530
531         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
532         * gst/gstplugin.h:
533         * gst/gstregistry.c: (gst_registry_lookup_locked),
534         (gst_registry_scan_path_level):
535         * gst/gstregistryxml.c: (load_plugin):
536           Only ever load one plugin for a given plugin basename.
537           This ensures correct overriding of GST_PLUGIN_PATH over
538           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
539           system installed plugins.
540
541 2005-10-08  Wim Taymans  <wim@fluendo.com>
542
543         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
544         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
545         Prepare for doing QOS.
546
547 2005-10-08  Wim Taymans  <wim@fluendo.com>
548
549         * check/gst/gstbin.c: (GST_START_TEST):
550         * check/pipelines/cleanup.c: (GST_START_TEST):
551         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
552         Allow new clock message too.
553
554 2005-10-08  Wim Taymans  <wim@fluendo.com>
555
556         * gst/gstmessage.c: (gst_message_new_error),
557         (gst_message_new_warning), (gst_message_new_tag),
558         (gst_message_new_state_changed), (gst_message_new_clock_provide),
559         (gst_message_new_clock_lost), (gst_message_new_new_clock),
560         (gst_message_new_segment_start), (gst_message_new_segment_done),
561         (gst_message_parse_state_changed),
562         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
563         (gst_message_parse_new_clock):
564         * gst/gstmessage.h:
565         Also carry the clock in question.
566
567 2005-10-08  Wim Taymans  <wim@fluendo.com>
568
569         * gst/gstmessage.c: (gst_message_new_custom),
570         (gst_message_new_eos), (gst_message_new_error),
571         (gst_message_new_warning), (gst_message_new_tag),
572         (gst_message_new_state_changed), (gst_message_new_clock_provide),
573         (gst_message_new_new_clock), (gst_message_new_segment_start),
574         (gst_message_new_segment_done), (gst_message_parse_state_changed),
575         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
576         * gst/gstmessage.h:
577         Clean up.
578         Added clock related messages.
579
580         * gst/gstpipeline.c: (gst_pipeline_change_state):
581         Post message when the clock changed.
582
583         * tools/gst-launch.c: (event_loop):
584         Print new clock.
585
586 2005-10-08  Tim-Philipp MĂĽller  <tim at centricular dot net>
587
588         * tools/gst-inspect.c: (print_element_properties_info):
589           Can't pass NULL strings to g_print() on windows.
590
591 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
592
593         * docs/Makefile.am:
594         * docs/gst/Makefile.am:
595         * docs/gst/gstreamer-docs.sgml:
596         * docs/gst/running.xml:
597         * docs/version.entities.in:
598           add a chapter on running GStreamer.
599           document GST_DEBUG and GST_PLUGIN* env vars
600
601 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
602
603         * Makefile.am:
604           remove include dir
605         * configure.ac:
606           remove PLUGINS_BUILDDIR stuff
607         * gst/gst.c: (init_post):
608           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
609         * idiottest.mak:
610           remove, it was condescending and not needed
611
612 2005-10-08  Wim Taymans  <wim@fluendo.com>
613
614         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
615         (gst_base_sink_handle_object), (gst_base_sink_event),
616         (gst_base_sink_wait), (gst_base_sink_handle_event),
617         (gst_base_sink_change_state):
618         * gst/base/gstbasesink.h:
619         Repost EOS message while going to PLAYING if still EOS.
620         Make sure that when receiving a FLUSH_START we don't attempt
621         to sync on the clock anymore.
622
623 2005-10-08  Wim Taymans  <wim@fluendo.com>
624
625         * tools/gst-launch.c: (event_loop):
626         Better message printout.
627
628 2005-10-08  Wim Taymans  <wim@fluendo.com>
629
630         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
631         (gst_bin_child_proxy_get_children_count):
632         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
633         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
634         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
635         (gst_child_proxy_set_valist):
636         * gst/parse/grammar.y:
637         Make ChildProxy threadsafe and fix mem leaks.
638
639 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
640
641         * gst/gst.c: (init_post):
642           debug the GST_PLUGIN_ env vars
643
644 2005-10-08  Wim Taymans  <wim@fluendo.com>
645
646         * check/gst/gstbin.c: (GST_START_TEST):
647         * check/gst/gstmessage.c: (GST_START_TEST):
648         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
649         * gst/gstelement.c: (gst_element_commit_state),
650         (gst_element_lost_state):
651         * gst/gstmessage.c: (gst_message_new_state_changed),
652         (gst_message_parse_state_changed):
653         * gst/gstmessage.h:
654         * tools/gst-launch.c: (event_loop):
655         Added extra field to STATE_CHANGE message with the pending
656         state, which will be different from the new state soon.
657
658 2005-10-08  Wim Taymans  <wim@fluendo.com>
659
660         * gst/gstbus.c: (gst_bus_pop):
661         * gst/gstclock.c:
662         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
663         Small cleanups and doc updates.
664
665 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
666
667         * gst/gst.c: (init_pre):
668         * gst/gstbin.c: (gst_bin_add_func):
669           log distributing clocks and base time
670         * gst/gstregistry.c: (gst_registry_add_plugin),
671         (gst_registry_scan_path_level), (gst_registry_scan_path):
672           clean up the debugging output a little
673         * gst/gstutils.c: (gst_element_state_get_name):
674           warn about a memleak (I've actually seen this be used, though
675           it was probably a bug)
676
677 2005-10-07  Wim Taymans  <wim@fluendo.com>
678
679         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
680         (gst_base_src_init), (gst_base_src_default_newsegment),
681         (gst_base_src_newsegment), (gst_base_src_do_seek),
682         (gst_base_src_loop), (gst_base_src_start):
683         * gst/base/gstbasesrc.h:
684         Make the newsegment event customizable by subclasses.
685
686 2005-10-07  Wim Taymans  <wim@fluendo.com>
687
688         * gst/gstevent.c: (gst_event_new_buffersize),
689         (gst_event_parse_buffersize):
690         * gst/gstevent.h:
691         New event for future idea.
692
693 2005-10-07  Andy Wingo  <wingo@pobox.com>
694
695         * gst/gstelement.c (gst_element_post_message): Doc update.
696
697         * docs/gst/gstreamer-sections.txt: Update.
698
699         * gst/gstmessage.c (gst_message_new_application): Made into a
700         function like honest API calls.
701         (gst_message_new_element): New message type.
702
703         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
704
705         * check/elements/fakesrc.c (test_no_preroll): New check, checks
706         that setting a live fakesrc to PAUSED returns NO_PREROLL both
707         times.
708
709         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
710         NO_PREROLL from gst_element_change_state to fall through.
711
712 2005-10-07  Wim Taymans  <wim@fluendo.com>
713
714         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
715         (gst_ghost_pad_do_activate_push):
716         Activating a ghostpad with no internal pad in push mode
717         is ok.
718
719 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
720
721         * gst/gstobject.h:
722           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
723           Fixes compilation on Windows.
724
725 2005-10-07  Michael Smith <msmith@fluendo.com>
726
727         * tools/gst-inspect.c:
728           Print out feature and plugin count at the end when printing out
729           all features.
730
731 2005-10-04  Michael Smith <msmith@fluendo.com>
732
733         * gst/gsterror.c: (_gst_stream_errors_init):
734           Add another error string used in a few existing plugins.
735
736         * gst/gstplugin.c:
737         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
738         * tools/gst-inspect.c: (print_element_info):
739           When a feature disappears from a plugin (and the feature exists in
740           the cached registry file), things went horribly wrong. This isn't a
741           complete fix, we should actually be removing the 'missing' features
742           from the features list when we load the actual plugin. That's not
743           yet implemented. 
744
745 2005-10-04  Johan Dahlin  <johan@gnome.org>
746
747         * check/gst/gstiterator.c: (GST_START_TEST):
748         * gst/gstbin.c: (gst_bin_iterate_elements),
749         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
750         * gst/gstelement.c: (gst_element_iterate_pads):
751         * gst/gstformat.c: (gst_format_iterate_definitions):
752         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
753         (gst_iterator_new_list), (gst_iterator_filter):
754         * gst/gstiterator.h:
755         * gst/gstquery.c: (gst_query_type_iterate_definitions):
756         Add a GType to GstIterator, update callsites and tests.
757
758 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
759
760         * gst/gstpad.c: (gst_pad_event_default_dispatch):
761           give events a chance to be handled by event probes when the pad
762           is not linked
763
764 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
765
766         * gst/gstevent.c: (gst_event_type_get_name),
767         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
768         * gst/gstevent.h:
769           add string representations for event types
770
771 2005-10-06  Wim Taymans  <wim@fluendo.com>
772
773         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
774         Don't use NULL pointers.
775
776 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
777
778         * gst/gst_private.h:
779         * gst/gstbus.c:
780         * gst/gstelement.c:
781         * gst/gstinfo.c:
782         * gst/gstpluginfeature.c:
783           widen the debug category in output to fit the biggest one we have
784           add a bus category and use it
785           play with the colors
786           fix up some categories
787
788 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
789
790         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
791           add push activation of sink ghost pads.
792           Andye, please verify
793
794 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
795
796         * gst/gstutils.c: (gst_element_link_pads):
797           fix a bug in the case where neither element has a pad
798         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
799           add a test for that case
800
801 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
802
803         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
804           emit have-data before checking for peers.  This allows
805           for probe handlers to connect elements.  This helps autopluggers.
806         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
807         (gst_pad_suite):
808           add six checks, linked/unlinked with no/true/false probe
809
810 2005-10-04  Wim Taymans  <wim@fluendo.com>
811
812         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
813         (gst_fake_sink_event), (gst_fake_sink_preroll),
814         (gst_fake_sink_render), (gst_fake_sink_change_state):
815         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
816         (gst_fake_src_get_property), (gst_fake_src_create),
817         (gst_fake_src_stop):
818         * gst/elements/gstidentity.c: (gst_identity_stop):
819         Protect last_message with lock.
820
821 2005-10-04  Edward Hervey  <edward@fluendo.com>
822
823         * gst/gstformat.h: 
824         Added precision in the comments for GST_FORMAT_DEFAULT
825
826 2005-10-04  Tim-Philipp MĂĽller  <tim at centricular dot net>
827
828         * tools/gst-launch.c: (main):
829           Don't try to run erroneous pipelines.
830
831 2005-10-04  Julien MOUTTE  <julien@moutte.net>
832
833         * gst/gstbus.c: We don't need this header.
834
835 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
836
837         * configure.ac:
838           back to development
839
840 === release 0.9.3 ===
841
842 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
843
844         * README:
845         * configure.ac:
846           Releasing 0.9.3, "Unregistered"
847
848 2005-10-03  Andy Wingo  <wingo@pobox.com>
849
850         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
851         whereby calling a pad's activatepush() function can start a thread
852         that starts to push or pull before the pad gets the FLUSHING flag
853         unset. Hack around it by holding the stream lock until the flag is
854         set. Need to replace this with a proper solution. Together with
855         the ghost pad fixes, this fixes mp3 playing/tagreading.
856
857         * docs/design/part-gstghostpad.txt: Add a note about activation of
858         proxy pads outside of ghost pads.
859
860         * gst/gstghostpad.c: Implement the ghost pad activation design.
861
862 2005-10-02  Andy Wingo  <wingo@pobox.com>
863
864         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
865         It is volatile, after all.
866
867         * docs/design/part-gstghostpad.txt: Flesh out activation with
868         ghost pads.
869
870         * gst/base/gstbasesrc.c (gst_base_src_init): Use
871         GST_DEBUG_FUNCPTR.
872
873 2005-10-02  Tim-Philipp MĂĽller  <tim at centricular dot net>
874
875         * configure.ac:
876           Fix (unused) AM_CONDITIONAL tests.
877
878 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
879
880         Reviewed by: Tim-Philipp MĂĽller  <tim at centricular dot net>
881
882         * gst/gstutils.c: (gst_pad_query_convert):
883           Add assertion that makes sure src_val is >=0, just like
884           gst_query_new_convert() has. (#315895)
885
886 2005-09-30  Edward Hervey  <edward@fluendo.com>
887
888         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
889         Let's not iterate pads we're not interested in, it avoids getting 
890         sky-high refcounts on sinkpad.
891
892 2005-09-30  Wim Taymans  <wim@fluendo.com>
893
894         * gst/gstelement.c: (gst_element_set_state),
895         (gst_element_change_state):
896         Small tweak, element in ASYNC remains ASYNC.
897
898 2005-09-30  Wim Taymans  <wim@fluendo.com>
899
900         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
901         Only error is an error.
902
903         * gst/gstbin.c: (gst_bin_change_state):
904         Better debugging.
905
906         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
907         Also call pad_block in pad alloc.
908
909         * gst/gstutils.c: (gst_flow_get_name):
910         Better debugging.
911
912 2005-09-29  Tim-Philipp MĂĽller  <tim at centricular dot net>
913
914         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
915         (gst_base_src_get_range):
916           Fix documentation typos. Add some more debug info.
917
918 2005-09-29  David Schleef  <ds@schleef.org>
919
920         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
921           more end-user friendly.
922         * tools/gst-inspect.c: (main): Check if command-line argument is
923           a file and attempt to load that file as a plugin.
924
925 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
926
927         * check/gst/gstbin.c:
928         * check/states/sinks.c:
929           fix tests for the new warning
930         * check/gst/gstpipeline.c:
931           add a test for pipeline and bus interaction
932         * gst/gstelement.c:
933           elements should be NULL if they get disposed; add a warning if not
934
935 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
936
937         * gst/gstobject.c:
938           for 2.6 refcounting, make debug log more correct by printing
939           the actual refcounts at the time of swap (Wim)
940
941 2005-09-29  Andy Wingo  <wingo@pobox.com>
942
943         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
944         removes signal watches previously added via
945         gst_bus_add_signal_watch.
946         (gst_bus_add_signal_watch): Don't return the source id, just store
947         it on the bus if there wasn't an id already.
948
949         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
950         add_signal_watch and remove_signal_watch.
951
952 2005-09-29  Edward Hervey  <edward@fluendo.com>
953
954         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
955         Better if we actually iterate the list :)
956
957 2005-09-29  Wim Taymans  <wim@fluendo.com>
958
959         * check/gst/gstbin.c: (GST_START_TEST):
960         Change for new bus API.
961
962         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
963         (send_messages), (GST_START_TEST), (gstbus_suite):
964         Change for new bus signal API.
965
966         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
967         (gst_bus_source_prepare), (gst_bus_source_check),
968         (gst_bus_create_watch), (gst_bus_add_watch_full),
969         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
970         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
971         * gst/gstbus.h:
972         Remove support for multiple GSources operating on different
973         message types as it is too complex and unneeded when using
974         signals.
975         Added support for receiving signals from the bus.
976
977 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
978
979         * docs/libs/tmpl/gstdataprotocol.sgml:
980         * docs/manual/advanced-dataaccess.xml:
981         * gst/elements/gstcapsfilter.c:
982         * gst/gstutils.c:
983           rename filter-caps to caps property
984
985 2005-09-29  Tim-Philipp MĂĽller  <tim at centricular dot net>
986
987         * gst/gstvalue.c: (gst_value_deserialize_fraction):
988           More robust fraction string parsing.
989
990         * docs/pwg/appendix-porting.xml:
991           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
992
993 2005-09-29  Tim-Philipp MĂĽller  <tim at centricular dot net>
994
995         * gst/gstcaps.c: (gst_caps_do_simplify):
996           Thou shalt not free a structure and then continue using it
997           in the next loop iteration.
998
999         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
1000         (gst_caps_suite):
1001           Add test case for caps simplification.
1002
1003 2005-09-29  Wim Taymans  <wim@fluendo.com>
1004
1005         * check/gst/gstbin.c: (GST_START_TEST):
1006         Oops.
1007
1008 2005-09-29  Wim Taymans  <wim@fluendo.com>
1009
1010         * check/gst/gstbin.c: (GST_START_TEST):
1011         Add bus to bin.
1012
1013         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1014         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
1015         (find_element), (gst_bin_sort_iterator_next),
1016         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1017         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1018         (gst_bin_change_state), (gst_bin_dispose):
1019         A bin does not have a bus, it gets the bus from the parent.
1020
1021         * gst/gstelement.c: (gst_element_requires_clock),
1022         (gst_element_provides_clock), (gst_element_is_indexable),
1023         (gst_element_is_locked_state), (gst_element_change_state),
1024         (gst_element_set_bus_func):
1025         Small cleanups.
1026
1027         * gst/gstpipeline.c: (gst_pipeline_class_init),
1028         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
1029         The pipeline provides a bus.
1030
1031 2005-09-28  Johan Dahlin  <johan@gnome.org>
1032
1033         * gst/gstmessage.c (gst_message_parse_state_changed): Use
1034         gst_structure_get_enum instead of gst_structure_get_int
1035
1036         * gst/gststructure.c (gst_structure_get_enum): Impl.
1037
1038         * gst/gststructure.h (gst_structure_get_enum): Add
1039
1040         * docs/gst/gstreamer-sections.txt: Ditto
1041
1042         * gst/gstmessage.c (gst_message_new_state_changed): Use
1043         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
1044         which does introspection.
1045         Reviewed by Christian Schaller
1046
1047 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
1048
1049         * gst/gstinfo.c: (gst_debug_log_default):
1050           don't do dummy g_strdup()s
1051         * libs/gst/controller/gstcontroller.c:
1052         (on_object_controlled_property_changed),
1053         (gst_controlled_property_new), (gst_controller_new_valist),
1054         (gst_controller_new_list),
1055         (gst_controller_remove_properties_valist), (gst_controller_set),
1056         (gst_controller_get), (gst_controller_sync_values),
1057         (gst_controller_get_value_array), (_gst_controller_class_init),
1058         (gst_controller_get_type):
1059         * libs/gst/controller/gstcontroller.h:
1060         * libs/gst/controller/gstinterpolation.c:
1061         (gst_controlled_property_find_timed_value_node):
1062           convert // to /**/ comments
1063
1064 2005-09-28  Wim Taymans  <wim@fluendo.com>
1065
1066         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
1067         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
1068         (gst_bus_sync_signal_handler):
1069         * gst/gstbus.h:
1070         Added async-message and sync-message signals to the bus.
1071         Added helper BusFunc to emit signals for all posted messages.
1072
1073         * gst/gstmessage.c: (gst_message_type_get_name),
1074         (gst_message_type_to_quark), (gst_message_get_type):
1075         * gst/gstmessage.h:
1076         Register quarks for message names.
1077
1078 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
1079
1080         * docs/libs/gstreamer-libs-sections.txt:
1081         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
1082         (gst_controller_new_list):
1083         * libs/gst/controller/gstcontroller.h:
1084           added another constructor for language bindings
1085
1086 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1087
1088         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1089           add another check
1090         * gst/gstbus.c:
1091           add some doc
1092         * gst/gstinfo.c: (_gst_debug_init):
1093           slightly more readable color for refcount debugging
1094
1095 2005-09-28  Wim Taymans  <wim@fluendo.com>
1096
1097         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1098         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
1099         (find_element), (gst_bin_sort_iterator_next),
1100         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1101         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1102         (gst_bin_change_state), (gst_bin_dispose):
1103         Small doc fixes. get_clock -> provide_clock.
1104
1105         * gst/gstelement.c: (gst_element_class_init),
1106         (gst_element_provides_clock), (gst_element_provide_clock),
1107         (gst_element_get_clock), (gst_element_commit_state),
1108         (gst_element_lost_state):
1109         * gst/gstelement.h:
1110         Make get/set_clock() symetric. Add provide_clock vmethod since
1111         that is actually what this function does.
1112
1113         * gst/gstpipeline.c: (gst_pipeline_class_init),
1114         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
1115         (gst_pipeline_get_clock):
1116         get_clock -> provide_clock.
1117
1118 2005-09-28  Andy Wingo  <wingo@pobox.com>
1119
1120         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
1121         lieu of real docs...
1122
1123         * gst/elements/gstfdsrc.c: Cleaned up a bit.
1124
1125 2005-09-28  Tim-Philipp MĂĽller  <tim at centricular dot net>
1126
1127         * gst/elements/gstcapsfilter.c:
1128         * gst/elements/gstfakesink.c:
1129         * gst/elements/gstfakesrc.c:
1130         * gst/elements/gstfdsink.c:
1131         * gst/elements/gstfdsrc.c:
1132         * gst/elements/gstfilesink.c:
1133         * gst/elements/gstfilesrc.c:
1134         * gst/elements/gstidentity.c:
1135         * gst/elements/gsttee.c:
1136         * gst/elements/gsttypefindelement.c:
1137           Make element details static.
1138
1139 2005-09-28  Wim Taymans  <wim@fluendo.com>
1140
1141         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
1142         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
1143         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1144         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1145         (gst_bin_change_state), (gst_bin_dispose):
1146         Some documentation updates.
1147         Clean up dispose handlers.
1148
1149         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
1150         * gst/gstpad.c: (gst_pad_dispose):
1151         Clean up dispose handler.
1152
1153         * gst/gstpipeline.c: (gst_pipeline_change_state):
1154         Removed spurious UNLOCK.
1155
1156 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
1157
1158         * docs/gst/gstreamer-sections.txt:
1159         * gst/base/gstbasesrc.h:
1160         * gst/gstelement.h:
1161         * gst/gstevent.h:
1162         * gst/gstobject.h:
1163         * gst/gstpad.h:
1164         * gst/gstpipeline.c:
1165         * gst/gstpipeline.h:
1166         * gst/gstutils.h:
1167         * gst/gstxml.h:
1168           added two new functions to the docs
1169                 documents all undocumented GstXXXFlags
1170                 completed some incomplete docs 
1171
1172 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1173
1174         * gst/gstbin.c: (gst_bin_dispose):
1175         * gst/gstelement.c: (gst_element_dispose):
1176           remove now useless and leaky resurrection code in dispose
1177         * gst/base/gstbasesrc.c: (gst_base_src_init):
1178         * gst/gstelementfactory.c: (gst_element_factory_create):
1179         * gst/gstobject.c: (gst_object_set_parent):
1180           add some debugging
1181
1182 2005-09-27  Wim Taymans  <wim@fluendo.com>
1183
1184         * docs/design/part-TODO.txt:
1185         Update TODO.
1186
1187         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
1188         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
1189         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1190         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1191         (gst_bin_change_state):
1192         * gst/gstelement.h:
1193         Remove element variable, we keep element info in the iterator now.
1194
1195 2005-09-27  Andy Wingo  <wingo@pobox.com>
1196
1197         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
1198         values.
1199
1200 2005-09-27  Wim Taymans  <wim@fluendo.com>
1201
1202         * check/gst/gstbin.c: (GST_START_TEST):
1203         Enable check that works now.
1204
1205         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
1206         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
1207         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1208         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1209         (gst_bin_change_state):
1210         * gst/gstbin.h:
1211         Redid the state change algorithm using a topological sort algo.
1212         Handles all cases correctly.
1213         Exposed iterator for state change order.
1214
1215         * gst/gstelement.h:
1216         Temp storage for state changes. Need to get rid of this soon.
1217
1218 2005-09-27  Wim Taymans  <wim@fluendo.com>
1219
1220         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
1221         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
1222         (link_fold_func), (gst_pad_proxy_setcaps):
1223         Leak fixes, the fold functions need to unref the passed object and
1224         _get_parent_*() returns ref to parent.
1225
1226 2005-09-27  Tim-Philipp MĂĽller  <tim at centricular dot net>
1227
1228         * check/gst/gstbuffer.c: (test_make_writable):
1229           Plug leak in test case and fix 'make check-valgrind'
1230
1231 2005-09-27  Tim-Philipp MĂĽller  <tim at centricular dot net>
1232
1233         * gst/gstbuffer.c: (gst_subbuffer_init):
1234           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
1235           works correctly in all circumstances (we could have just copied
1236           the parent buffer's readonly flag, but conceptually it seems
1237           cleaner to mark all subbuffers as read-only). (based on patch
1238           by Alessandro Decina, #314710).
1239         
1240         * check/gst/gstbuffer.c: (create_read_only_buffer),
1241         (test_make_writable), (test_subbuffer_make_writable),
1242         (gst_test_suite):
1243           Add some tests for gst_buffer_make_writable().
1244
1245 2005-09-27  Wim Taymans  <wim@fluendo.com>
1246
1247         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
1248         use gst_object_has_ancestor().
1249
1250         * gst/gstobject.c: (gst_object_has_ancestor):
1251         * gst/gstobject.h:
1252         gst_object_has_ancestor() copied from gstbin.c as it is a
1253         usefull function.
1254
1255         * tests/instantiate/create.c: (create_all_elements):
1256         * tests/lat.c: (handoff_src), (handoff_sink):
1257         * tests/sched/runxml.c: (main):
1258         * tests/seeking/seeking1.c: (main):
1259         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
1260         (main):
1261         Fix compilation of some tests.
1262
1263 2005-09-27  Tim-Philipp MĂĽller  <tim at centricular dot net>
1264
1265         * gst/gsterror.h:
1266           Remove comment. GST_TYPE_G_ERROR is here to stay,
1267           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
1268           (#316961, #300610).
1269
1270 2005-09-26  Wim Taymans  <wim@fluendo.com>
1271
1272         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1273         Added check that shows error in state change order.
1274
1275 2005-09-26  Wim Taymans  <wim@fluendo.com>
1276
1277         * gst/gstbin.c: (gst_bin_change_state):
1278         Make state change function use 3 queues again, we were
1279         adding elements in the wrong order.
1280
1281         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
1282         Some debug info,
1283
1284         * gst/gstpad.c: (gst_pad_dispose):
1285         Added some debug info first.
1286
1287 2005-09-26  Tim-Philipp MĂĽller  <tim at centricular dot net>
1288
1289         * docs/design/draft-push-pull.txt:
1290         * docs/design/part-events.txt:
1291         * docs/design/part-overview.txt:
1292         * docs/design/part-scheduling.txt:
1293           Replace all _pull_region() with _pull_range()
1294           
1295 2005-09-26  Andy Wingo  <wingo@pobox.com>
1296
1297         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
1298
1299         * check/gst-libs/controller.c: Update for controller api change.
1300
1301         * configure.ac: 
1302         * tests/Makefile.am:
1303         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
1304         over by GLib bug 118439.
1305         
1306         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
1307         routines to a function.
1308
1309         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
1310
1311         * libs/gst/controller/gsthelper.c:
1312         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
1313         (gst_object_sync_values): Renamed from sink_values. Ugh.
1314
1315         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
1316
1317         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
1318         Renamed from controller_key, as it is exported.
1319
1320         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
1321
1322 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
1323
1324         * gst/Makefile.am:
1325         * gst/gst.h:
1326         * gst/gstpad.h:
1327         * gst/gstpadtemplate.h:
1328         * gst/gstquery.c:
1329         * gst/gstquery.h:
1330         * gst/gstqueryutils.c:
1331         * gst/gstqueryutils.h:
1332           remove queryutils headers after moving the two used functions
1333           to gstquery.  also fixes build problem for gstsiddec
1334
1335 2005-09-26  Michael Smith <msmith@fluendo.com>
1336
1337         * tools/gst-launch.1.in:
1338         Correct documentation in manpage of debug syntax
1339
1340 2005-09-26  Wim Taymans  <wim@fluendo.com>
1341
1342         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
1343         (gst_base_src_is_seekable), (gst_base_src_change_state):
1344         Some more debugging info.
1345
1346 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
1347
1348         * docs/gst/gstreamer-sections.txt:
1349         * gst/base/gstbasetransform.h:
1350         * gst/gstindex.h:
1351           added more docs
1352
1353 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
1354
1355         * docs/gst/.cvsignore:
1356         * docs/gst/tmpl/.cvsignore:
1357         * docs/gst/tmpl/gstpipeline.sgml:
1358         * docs/gst/tmpl/gstplugin.sgml:
1359         * gst/gstpipeline.c:
1360         * gst/gstplugin.c:
1361         * gst/gstplugin.h:
1362           inlined the last two docs files
1363           removed the tmpl directory from cvs (no more conflicts here!)
1364
1365 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
1366
1367         * docs/gst/gstreamer-sections.txt:
1368         * docs/gst/tmpl/.cvsignore:
1369         * docs/gst/tmpl/gstpad.sgml:
1370         * docs/gst/tmpl/gstpadtemplate.sgml:
1371         * gst/Makefile.am:
1372         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
1373         (gst_pad_finalize), (gst_pad_set_pad_template):
1374         * gst/gstpad.h:
1375         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
1376         (gst_pad_template_class_init), (gst_pad_template_init),
1377         (gst_pad_template_dispose), (name_is_valid),
1378         (gst_static_pad_template_get), (gst_pad_template_new),
1379         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
1380         (gst_pad_template_pad_created):
1381         * gst/gstpadtemplate.h:
1382           inlined two more docs
1383           factored gstpadtemplate out of gstpad
1384
1385 2005-09-24  Tim-Philipp MĂĽller  <tim at centricular dot net>
1386
1387         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
1388         (test_children_state_change_order_semi_sink):
1389           Fix test case: we can't rely on a fixed state change order when
1390           going from READY => PAUSED because the sink might commit its 
1391           new state first when the first buffer created by the source 
1392           reaches the sink before the source has finished its change state.
1393           (Test case still fails at times, see #316856, comment 5 onwards)
1394
1395 2005-09-24  Wim Taymans  <wim@fluendo.com>
1396
1397         * docs/design/part-events.txt:
1398         * docs/design/part-gstbus.txt:
1399         * docs/design/part-gstpipeline.txt:
1400         * docs/design/part-messages.txt:
1401         * docs/design/part-overview.txt:
1402         * docs/design/part-segments.txt:
1403         * gst/gstbin.c:
1404         * gst/gstbuffer.c:
1405         * gst/gstclock.c:
1406         * gst/gstelement.c:
1407         * gst/gstevent.c:
1408         * gst/gstfilter.c:
1409         * gst/gstiterator.c:
1410         Various documentation updates.
1411
1412 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1413
1414         * gst/gstclock.h:
1415           Well, that's embarassing.  Luckily we weren't using
1416           GST_CLOCK_DIFF anywhere.
1417
1418 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1419
1420         * common/gtk-doc.mak:
1421           don't fail on building XML, FC4 slave shows a bunch of doc
1422           missing bits that I don't get
1423         * gst/gstpad.c:
1424         * gst/gstpipeline.c:
1425         * gst/gststructure.c:
1426           some doc updates
1427
1428 2005-09-23  Tim-Philipp MĂĽller  <tim at centricular dot net>
1429
1430         * docs/design/part-gstbin.txt:
1431         * docs/design/part-gstbus.txt:
1432         * gst/gstbus.c:
1433           Add blurb about how the bus goes into flushing mode and
1434           drops all messages when its bin goes from READY into NULL 
1435           state.
1436
1437 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1438
1439         * docs/gst/gstreamer-sections.txt:
1440         * gst/gststructure.c: (gst_structure_get_clock_time):
1441         * gst/gststructure.h:
1442           add a method to get a GstClockTime out of a structure
1443
1444 2005-09-23  Tim-Philipp MĂĽller  <tim at centricular dot net>
1445
1446         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
1447         (test_children_state_change_order_semi_sink), (gst_bin_suite):
1448           Added test to check state change order in bins (can still be made
1449           to fail here under heavy disk load; bails out with 'Push on pad
1450           fakesink:sink0, but it was not activated in push mode').
1451
1452         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
1453           Fix state change order when there is only a semi sink (#316856)
1454
1455         * gst/gstbus.c: (gst_bus_class_init):
1456           Use _class_peek_parent(), not _class_ref(); fix docs to say
1457           'default main context' instead of 'mainloop' where that is
1458           what's meant.
1459
1460         * gst/gstelement.c: (gst_element_commit_state),
1461         (gst_element_set_state):
1462           Fix typos in debug messages
1463
1464 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1465
1466         * docs/README:
1467         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
1468         * gst/gstpluginfeature.c:
1469         * gst/gstutils.c:
1470           various doc updates
1471         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1472           change an assert into an error until it gets fixed properly
1473
1474 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
1475
1476         * docs/gst/gstreamer-sections.txt:
1477         * docs/gst/tmpl/.cvsignore:
1478         * docs/gst/tmpl/gstelement.sgml:
1479         * docs/gst/tmpl/gstinfo.sgml:
1480         * docs/gst/tmpl/gstobject.sgml:
1481         * gst/gstelement.c:
1482         * gst/gstelement.h:
1483         * gst/gstinfo.c:
1484         * gst/gstinfo.h:
1485         * gst/gstobject.c: (gst_object_class_init):
1486         * gst/gstobject.h:
1487           inlined 3 more biiiig doc files and added some missing docs on the fly
1488
1489 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1490
1491         * check/gst/.cvsignore:
1492         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
1493         * gst/gstregistryxml.c: (load_plugin),
1494         (gst_registry_xml_save_plugin):
1495           put back source in registry.  add checks for find_plugin.
1496         * testsuite/states/bin.c: (assert_state), (empty_bin),
1497         (test_adding_one_element), (main):
1498         * testsuite/states/locked.c: (main):
1499           some compile/run fixes
1500
1501 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1502
1503         * check/gst/gstvalue.c: (GST_START_TEST):
1504           fix leaks in the test itself
1505
1506 2005-09-22  Wim Taymans  <wim@fluendo.com>
1507
1508         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1509         (gst_base_sink_send_event), (gst_base_sink_peer_query),
1510         (gst_base_sink_query):
1511         Prepare for more accurate position reporting and query
1512         handling.
1513
1514         * gst/gstelement.c: (gst_element_send_event),
1515         (gst_element_set_state):
1516         Add some comment.
1517
1518 2005-09-22  Wim Taymans  <wim@fluendo.com>
1519
1520         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
1521         (gst_query_parse_segment):
1522         * gst/gstquery.h:
1523         More documentation.
1524         Add segment query for future use.
1525
1526 2005-09-22  Wim Taymans  <wim@fluendo.com>
1527
1528         * gst/gstbin.c: (gst_bin_add_func):
1529         Some more debug info.
1530
1531         * gst/gstelement.c: (gst_element_send_event):
1532         Simplify send_event
1533
1534         * gst/gstelement.h:
1535         Don't know how flags got broken.
1536
1537         * gst/gstquery.h:
1538         Added new query.
1539
1540 2005-09-22  Tim-Philipp MĂĽller  <tim at centricular dot net>
1541
1542         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
1543           Add simplistic test suite for GST_TYPE_DATE serialisation and
1544           deserialisation.
1545
1546 2005-09-22  Tim-Philipp MĂĽller  <tim at centricular dot net>
1547
1548         * docs/gst/gstreamer-sections.txt:
1549         * gst/gststructure.c: (gst_structure_set_valist),
1550         (gst_structure_get_date):
1551         * gst/gststructure.h:
1552         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
1553         (gst_date_copy), (gst_value_compare_date),
1554         (gst_value_serialize_date), (gst_value_deserialize_date),
1555         (gst_value_transform_date_string),
1556         (gst_value_transform_string_date), (_gst_value_initialize):
1557         * gst/gstvalue.h:
1558           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
1559           bunch of utility functions along with a hack that checks that
1560           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
1561           is required. Part of the grand scheme in #170777.
1562
1563 2005-09-22  Andy Wingo  <wingo@pobox.com>
1564
1565         * gst/gstconfig.h.in: Psych out gtk-doc.
1566
1567         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
1568
1569         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
1570
1571         * tools/gst-inspect.c (print_element_list): Plug some
1572         inconsequential leaks.
1573
1574         * gst/gstregistry.c (gst_registry_get_default): Doc.
1575
1576         * check/gst/gstplugin.c: 
1577         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
1578         * gst/gstelementfactory.c (gst_element_factory_create): 
1579         * gst/gstindexfactory.c (gst_index_factory_create): Update for
1580         refcount changes.
1581
1582         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
1583         (gst_plugin_feature_load): Doc, don't eat refs.
1584
1585         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
1586         (gst_plugin_list_free): Doc.
1587         (gst_plugin_load_file): Doc updates.
1588
1589         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
1590         accessors returning refcounted objects, return a ref.
1591
1592         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
1593         accessor for caps. IDEMPOTENCE. Oh yes.
1594
1595 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
1596
1597         Reviewed by: Tim-Philipp MĂĽller  <tim at centricular dot net>
1598
1599         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
1600         (_gst_debug_register_funcptr):
1601           Add mutex to serialise access to the hash table with
1602           the function pointer => function name string mapping;
1603           make that hash table static scope (#316809).
1604
1605         * gst/registries/.cvsignore:
1606           Remove left-over file.
1607
1608 2005-09-21  Tim-Philipp MĂĽller  <tim at centricular dot net>
1609
1610         * docs/pwg/appendix-porting.xml:
1611           And something about newsegment events and caps-on-buffers to
1612           the porting guide (feel free to improve).
1613
1614 2005-09-21  Andy Wingo  <wingo@pobox.com>
1615
1616         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
1617         data and event probes on the same pad.
1618         (test_buffer_probe_once): Test that removing probes from within
1619         the probe functions works.
1620
1621 2005-09-21  Andy Wingo  <wingo@pobox.com>
1622
1623         * check/gst/gstutils.c: New file.
1624         (test_buffer_probe_n_times): A simple buffer probe test. More to
1625         come, foolios.
1626
1627         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
1628         have-data::buffer, not have-data.
1629         (gst_pad_add_event_probe): Likewise for have-data::event.
1630         (gst_pad_add_data_probe): More docs. The part about 'resolving the
1631         peer' isn't quite right yet though.
1632         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
1633         (gst_pad_remove_data_probe): Change to take the guint handler_id
1634         as their arg, not the function+data, which is more glib-like.
1635
1636         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
1637         the signal emission to indicate if the data is a buffer or an
1638         event.
1639         (gst_pad_get_type): Initialize buffer and event quarks.
1640         (gst_pad_class_init): have-data is now a detailed signal, yes it
1641         is.
1642
1643 2005-09-21  Tim-Philipp MĂĽller  <tim at centricular dot net>
1644
1645         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
1646         * gst/gstutils.c: (gst_util_set_value_from_string),
1647         (gst_util_set_object_arg):
1648           Don't put functional code in g_return_if_fail() or
1649           g_return_val_if_fail() statements, otherwise things will 
1650           break when G_DISABLE_CHECKS is defined during compilation.
1651
1652 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
1653
1654         * docs/gst/tmpl/.cvsignore:
1655         * docs/gst/tmpl/gstvalue.sgml:
1656         * gst/gstvalue.c:
1657         * gst/gstvalue.h:
1658           inlied another one and added  some obvious docs
1659
1660 2005-09-21  Wim Taymans  <wim@fluendo.com>
1661
1662         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1663         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
1664         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
1665         (gst_fdsrc_get_property), (gst_fdsrc_create):
1666         * gst/elements/gstfdsrc.h:
1667         Properly implement fdsrc. Removed signal and timeout,
1668         better implemented somewhere else.
1669
1670 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
1671
1672         * docs/gst/tmpl/.cvsignore:
1673         * docs/gst/tmpl/gstimplementsinterface.sgml:
1674         * gst/gstinterface.c:
1675           inlined more docs
1676
1677 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
1678
1679         * docs/gst/gstreamer-sections.txt:
1680         * docs/gst/tmpl/.cvsignore:
1681         * docs/gst/tmpl/gstenumtypes.sgml:
1682           remove obsolete doc file
1683
1684 2005-09-21  David Schleef  <ds@schleef.org>
1685
1686         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
1687         little beer, fix a little leak.
1688
1689 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
1690
1691         * docs/gst/gstreamer-docs.sgml:
1692         * docs/gst/gstreamer-sections.txt:
1693         * docs/gst/tmpl/.cvsignore:
1694         * gst/Makefile.am:
1695         * gst/gst.h:
1696         * gst/gstbin.c:
1697         * gst/gstelement.h:
1698         * gst/gstindex.c: (gst_index_class_init):
1699         * gst/gstindex.h:
1700         * gst/gstindexfactory.c: (gst_index_factory_get_type),
1701         (gst_index_factory_class_init), (gst_index_factory_init),
1702         (gst_index_factory_finalize), (gst_index_factory_new),
1703         (gst_index_factory_destroy), (gst_index_factory_find),
1704         (gst_index_factory_create), (gst_index_factory_make):
1705         * gst/gstindexfactory.h:
1706         * gst/gstpluginfeature.c:
1707         * gst/gstpluginfeature.h:
1708         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1709           more docs inlined, splitted gstindex.{c,h}
1710
1711 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1712
1713         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1714           fix a leak
1715
1716 2005-09-20  Tim-Philipp MĂĽller  <tim at centricular dot net>
1717
1718         * gst/elements/gstfilesink.c: (gst_file_sink_init):
1719           Set sync to FALSE by default.
1720
1721 2005-09-20  Wim Taymans  <wim@fluendo.com>
1722
1723         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1724         (gst_base_sink_init):
1725         Make sync property settable from subclass.
1726
1727         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
1728         (gst_fake_sink_change_state):
1729         Set sync to FALSE by default.
1730
1731 2005-09-20  Wim Taymans  <wim@fluendo.com>
1732
1733         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
1734         * tools/gst-launch.c: (main):
1735         The timeout handler should have lower priority than the source
1736         so we don't timeout before popping a message with 0 timeout.
1737         Dump error messages after failed state change.
1738
1739 2005-09-20  Tim-Philipp MĂĽller  <tim at centricular dot net>
1740
1741         * tools/gst-inspect.c: (print_element_properties_info):
1742           Fix two typos.
1743
1744 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1745
1746         * check/gst/gstevent.c:
1747         * gst/elements/gstfakesink.c:
1748         * gst/elements/gstfakesink.h:
1749           remove the sync property from fakesink.
1750           has the side effect of setting sync TRUE
1751           for fakesink, which is a change.  Anyone who knows how
1752           to fix this nicely in a GObject-y way, feel free.
1753
1754 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
1755
1756         * docs/gst/gstreamer-docs.sgml:
1757           remove probe refsection
1758
1759 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
1760
1761         * check/Makefile.am:
1762           disable valgrinding the controller test again
1763         * docs/gst/gstreamer-sections.txt:
1764           update for api-changes
1765
1766 2005-09-20  Wim Taymans  <wim@fluendo.com>
1767
1768         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1769         (gst_base_sink_set_property), (gst_base_sink_get_property),
1770         (gst_base_sink_do_sync):
1771         * gst/base/gstbasesink.h:
1772         Added sync property to basesink to disable clock sync.
1773
1774 2005-09-20  Andy Wingo  <wingo@pobox.com>
1775
1776         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
1777         eating the caller's refcount.
1778
1779         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
1780         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
1781         refcount.
1782
1783         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
1784         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
1785         of GLib 2.8 public, so we can know which refcount to check in
1786         tests.
1787
1788         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
1789         (gst_object_init): Only set the gst refcount if we're going ahead
1790         with the refcount hack.
1791
1792 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
1793
1794         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
1795         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1796           more leaks plumbed, added more debug-logging
1797         * gst/gstmacros.h:
1798           whitespace fix
1799
1800 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1801
1802         * gst/gstmessage.c:
1803           remove include of gstmemchunk.h
1804
1805 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1806
1807         * gst/gstclock.c: (_gst_clock_id_free):
1808           Commit from the Political Party For More Atomic CVS Commits,
1809           so that people don't waste too much of their day fishing
1810           out obvious leaks out of massive commits.
1811           Oh, and fix a pretty damn obvious leak in the memchunk
1812           removal code.
1813
1814 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
1815
1816         * check/Makefile.am:
1817         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
1818           plug mem-leak, re-add to valgrindable tests
1819
1820 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1821
1822         * gst/gstplugin.h:
1823           unbreak the build for those who have chronic arthritis
1824           and typing "make check" is just too taxing on the hands
1825
1826 2005-09-20  Andy Wingo  <wingo@pobox.com>
1827
1828         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
1829         really want it out, you should fix plugins at the same time.
1830
1831 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
1832
1833         * configure.ac:
1834         * docs/gst/gstreamer-sections.txt:
1835         * gst/gstobject.c:
1836           added missing symbols to api docs
1837           disable ref-count hack if we have glib >= 2.8
1838
1839 2005-09-19  David Schleef  <ds@schleef.org>
1840
1841         * docs/gst/Makefile.am: Ignore a few more internal headers
1842         * docs/gst/gstreamer-docs.sgml: Remove old sections
1843         * docs/gst/gstreamer-sections.txt: Remove old sections
1844         * docs/gst/tmpl/gstobject.sgml: update
1845         * docs/gst/tmpl/gstplugin.sgml: update
1846         * docs/gst/tmpl/gstpluginfeature.sgml: update
1847         * docs/random/ds/0.9-suggested-changes: update.
1848         * gst/Makefile.am: remove memchunk and trashstack, since they're
1849           not used.
1850         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
1851         * gst/gst.h: don't include some headers
1852         * gst/gstchildproxy.c: add gstmarshal.h
1853         * gst/gstclock.c: Don't use memchunks
1854         * gst/gstminiobject.c: Add some docs
1855         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
1856         * gst/gstobject.h: same
1857         * gst/gstplugin.c: include gstmacros.h
1858         * gst/gstplugin.h: don't include gstmacros.h, since it's private
1859         * gst/gstquery.c: don't use memchunks
1860         * gst/gstregistry.c: rename gst_registry_deinit()
1861         * gst/gstregistry.h: same
1862
1863 2005-09-19  David Schleef  <ds@schleef.org>
1864
1865         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
1866         * docs/libs/gstreamer-libs-sections.txt:
1867         * docs/libs/tmpl/gstgetbits.sgml:
1868         * docs/libs/tmpl/gstputbits.sgml:
1869
1870 2005-09-19  Tim-Philipp MĂĽller  <tim at centricular dot net>
1871
1872         * win32/gstenumtypes.c:
1873         * win32/gstenumtypes.h:
1874           Update.
1875
1876 2005-09-19  Wim Taymans  <wim@fluendo.com>
1877
1878         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
1879         Automatically PAUSE and RESUME a pipeline when a flushing seek
1880         is performed.
1881
1882 2005-09-19  Andy Wingo  <wingo@pobox.com>
1883
1884         * gst/gstregistry.h: Spacing fixen.
1885
1886 2005-09-19  Wim Taymans  <wim@fluendo.com>
1887
1888         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
1889         Handle state change failure more correctly.
1890
1891 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
1892
1893         * check/Makefile.am:
1894         * check/pipelines/cleanup.c: (run_pipeline):
1895         * check/pipelines/simple_launch_lines.c: (run_pipeline),
1896         (GST_START_TEST):
1897           enable cleanup again after fixing the leak
1898         * docs/README:
1899           some more info on docs
1900
1901 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
1902
1903         * check/Makefile.am:
1904           re-enable tests now that leaks are plugged
1905         * check/gst/gst.c:
1906         * check/gst/gstbin.c:
1907         * check/gst/gstpipeline.c:
1908           add some more tests while fixing leaks
1909         * common/check.mak:
1910           make sure binaries are uptodate when valgrinding/gdbing
1911         * gst/gst.c:
1912         * gst/gstelementfactory.c:
1913           remove a ref too many, and add a FIXME for when we get
1914           round to disposing of classes
1915         * gst/gstplugin.c:
1916           fix the refcounting when loading a plugin from a file and
1917           the code pretends that the pointer is the same even though
1918           of course it can change
1919         * gst/gstpluginfeature.c:
1920           unref plugins marked cached (a bit confusing as a name)
1921           as the docs state should be done
1922           various doc additions to explain refcounting
1923         * gst/gstregistry.c:
1924         * gst/gstregistryxml.c:
1925           debugging
1926
1927 2005-09-19  Wim Taymans  <wim@fluendo.com>
1928
1929         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
1930         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
1931         (send_messages), (GST_START_TEST), (gstbus_suite):
1932         * check/gst/gstpipeline.c: (GST_START_TEST):
1933         * check/pipelines/cleanup.c: (run_pipeline):
1934         * check/pipelines/simple_launch_lines.c: (run_pipeline),
1935         (GST_START_TEST):
1936         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
1937         (gst_bus_source_check), (gst_bus_source_dispatch),
1938         (gst_bus_create_watch), (gst_bus_add_watch_full),
1939         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
1940         * gst/gstbus.h:
1941         * tools/gst-launch.c: (event_loop):
1942         * tools/gst-md5sum.c: (event_loop):
1943         GstBusHandler -> GstBusFunc, return value has the same meaning as
1944         any other GSource (FALSE == remove source).
1945         _add_watch() and _add_watch_full() now take a MessageType mask to
1946         only handle specific types of messages.
1947         _poll() returns the GstMessage instead of the message type to avoid
1948         race conditions.
1949         _have_pending() takes a MessageType mask now too.
1950         Added testsuite for multiple bus watches.
1951         Fix testsuites and applications for new bus API.
1952
1953 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
1954
1955         * check/Makefile.am:
1956           mark a bunch of the tests as to fix until we fix them
1957
1958 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1959
1960         * common/check.mak:
1961           use GST_PLUGIN settings for valgrind tests as well, so we're
1962           valgrinding the correct thing
1963         * gst/gst.c: (init_post):
1964           plug another leak
1965
1966 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1967
1968         * gst/gst.c: (init_post), (gst_deinit):
1969         * gst/gstelementfactory.c: (gst_element_factory_class_init),
1970         (gst_element_factory_finalize), (gst_element_factory_cleanup):
1971         * gst/gstindex.c: (gst_index_factory_class_init),
1972         (gst_index_factory_finalize):
1973         * gst/gstobject.c: (gst_object_dispose):
1974         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
1975         (gst_plugin_load_file), (gst_plugin_desc_free):
1976         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
1977         (gst_plugin_feature_finalize):
1978         * gst/gstregistry.c: (gst_registry_class_init),
1979         (gst_registry_init), (gst_registry_finalize),
1980         (gst_registry_get_default), (gst_registry_deinit):
1981         * gst/gstregistry.h:
1982         * gst/gstregistryxml.c: (load_feature), (load_plugin):
1983           various cleanups and memleak plugging.  make valgrind is happy now.
1984
1985 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1986
1987         * common/check.mak:
1988           add a check-valgrind target
1989
1990 2005-09-18  David Schleef  <ds@schleef.org>
1991
1992         * tools/gst-inspect.c: Revert the GOption code.
1993
1994 2005-09-17  David Schleef  <ds@schleef.org>
1995
1996         * check/Makefile.am: Fix environment variables.
1997         * check/gst/gstplugin.c: Fix for API changes.
1998         * tools/gst-inspect.c: Fix for API changes.
1999         * tools/gst-xmlinspect.c: Fix for API changes.
2000         * gst/gstelementfactory.c:
2001         * gst/gstplugin.c:
2002         * gst/gstplugin.h:
2003         * gst/gstpluginfeature.c:
2004         * gst/gstpluginfeature.h:
2005         * gst/gstregistry.c:
2006         * gst/gstregistry.h:
2007         * gst/gstregistryxml.c:
2008         * gst/gsttypefind.c:
2009         * gst/gsttypefindfactory.c:
2010         * gst/indexers/gstfileindex.c:
2011         * gst/indexers/gstmemindex.c:
2012         * gst/schedulers/Makefile.am:
2013           Change registry to keep track of both plugins and features,
2014           removing the feature tracking from plugins themselves.
2015
2016 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2017
2018         * check/Makefile.am:
2019         * tools/gst-register.1.in:
2020           remove gst-register
2021
2022 2005-09-15  David Schleef  <ds@schleef.org>
2023
2024         * check/gst/gstplugin.c:
2025         * gst/gstelementfactory.c:
2026         * gst/gstplugin.c:
2027         * gst/gstpluginfeature.c:
2028         * gst/gstregistry.c:
2029           Getting tired of debugging.  Disabled all the unreffing of
2030           plugins and features, which fixes the segfaults, but of
2031           course leaks like crazy.  At least playbin works.
2032
2033 2005-09-15  David Schleef  <ds@schleef.org>
2034
2035         * check/gst/gstplugin.c: (register_check_elements),
2036         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
2037         More testing
2038         * gst/elements/gsttypefindelement.c: Fix refcounting.
2039         * gst/gsttypefind.c:
2040         * gst/gsttypefindfactory.c:
2041         * gst/gsttypefindfactory.h:
2042
2043 2005-09-15  David Schleef  <ds@schleef.org>
2044
2045         * gst/gstindex.c: get refcounting correct.
2046         * gst/gstregistry.c: Handle the case where a feature/plugin is
2047           not found.
2048
2049 2005-09-15  David Schleef  <ds@schleef.org>
2050
2051         * check/Makefile.am:
2052         * check/gst/gstplugin.c: Add test
2053         * gst/gstplugin.c: Fix problems noticed by testsuite
2054         * gst/gstplugin.h:
2055         * gst/gstregistry.c: 
2056         * gst/gstregistry.h:
2057
2058 2005-09-15  David Schleef  <ds@schleef.org>
2059
2060         * gst/gstplugin.c: Implement semi-decent recounting and locking
2061           in plugins and plugin features.
2062         * gst/gstplugin.h:
2063         * gst/gstpluginfeature.c:
2064         * gst/gstpluginfeature.h:
2065         * gst/gstregistry.c:
2066
2067 2005-09-15  Michael Smith <msmith@fluendo.com>
2068
2069         * gst/gstregistry.c: (gst_registry_get_feature_list):
2070           Implement this. Makes oggdemux work; decodebin still broken.
2071
2072 2005-09-14  David Schleef  <ds@schleef.org>
2073
2074         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
2075           #316076)
2076         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
2077         * gst/check/Makefile.am:
2078         * libs/gst/controller/Makefile.am:
2079         * libs/gst/dataprotocol/Makefile.am:
2080
2081 2005-09-14  David Schleef  <ds@schleef.org>
2082
2083         * configure.ac: Remove getbits library.  Nothing uses it, and
2084           it should be in something like liboil if someone did want
2085           to use it.
2086         * libs/gst/Makefile.am:
2087         * libs/gst/getbits/Makefile.am:
2088         * libs/gst/getbits/gbtest.c:
2089         * libs/gst/getbits/getbits.c:
2090         * libs/gst/getbits/getbits.h:
2091         * libs/gst/getbits/gstgetbits_generic.c:
2092         * libs/gst/getbits/gstgetbits_i386.s:
2093         * libs/gst/getbits/gstgetbits_inl.h:
2094
2095 2005-09-14  David Schleef  <ds@schleef.org>
2096
2097         * gst/Makefile.am: Dist glib-compat.h
2098
2099 2005-09-14  David Schleef  <ds@schleef.org>
2100
2101         * configure.ac: Remove gst/registries, since it's no longer used.
2102         * gst/registries/Makefile.am:
2103         * gst/registries/gstlibxmlregistry.c:
2104         * gst/registries/gstlibxmlregistry.h:
2105         * gst/registries/gstxmlregistry.c:
2106         * gst/registries/gstxmlregistry.h:
2107         * gst/registries/registrytest.c:
2108
2109 2005-09-14  David Schleef  <ds@schleef.org>
2110
2111         * gst/glib-compat.h:
2112         * gst/gstregistryxml.c:
2113           Convergence is near.  Seriously.
2114
2115 2005-09-14  David Schleef  <ds@schleef.org>
2116
2117         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2118         * gst/glib-compat.h:
2119           Attempt #4 to appease the buildbots.
2120
2121 2005-09-14  David Schleef  <ds@schleef.org>
2122
2123         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2124           Attempt #3.
2125
2126 2005-09-14  David Schleef  <ds@schleef.org>
2127
2128         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2129         Attempt #2.
2130
2131 2005-09-14  David Schleef  <ds@schleef.org>
2132
2133         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
2134           the new functions.
2135
2136 2005-09-14  David Schleef  <ds@schleef.org>
2137
2138         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2139         * gst/glib-compat.h: Add some functions that are in newer versions
2140           of glib than we care to require.
2141         * gst/gstregistryxml.c: Use them.
2142
2143 2005-09-14  David Schleef  <ds@schleef.org>
2144
2145         * po/POTFILES.in: remove gst-register.c
2146
2147 2005-09-14  David Schleef  <ds@schleef.org>
2148
2149         * docs/gst/gstreamer-docs.sgml:
2150         * docs/gst/gstreamer-sections.txt:
2151         * docs/gst/gstreamer.types:
2152         * docs/gst/tmpl/gstelement.sgml:
2153         * docs/gst/tmpl/gstplugin.sgml:
2154         * docs/gst/tmpl/gstpluginfeature.sgml:
2155           Documentation updates for registry changes.
2156
2157 2005-09-14  David Schleef  <ds@schleef.org>
2158
2159         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
2160           because we don't require glib-2.8.
2161
2162 2005-09-14  David Schleef  <ds@schleef.org>
2163
2164         * gst/gstregistryxml.c: Added.  Essentially moved out of the
2165           registries directory.
2166
2167 2005-09-14  David Schleef  <ds@schleef.org>
2168
2169         * check/Makefile.am:
2170         * check/generic/states.c:
2171         * gst/Makefile.am:
2172         * gst/gst.c:
2173         * gst/gst.h:
2174         * gst/gst_private.h:
2175         * gst/gstelementfactory.c:
2176         * gst/gstindex.c:
2177         * gst/gstinfo.c:
2178         * gst/gstplugin.c:
2179         * gst/gstplugin.h:
2180         * gst/gstpluginfeature.c:
2181         * gst/gstpluginfeature.h:
2182         * gst/gstregistry.c:
2183         * gst/gstregistry.h:
2184         * gst/gstregistrypool.c: remove
2185         * gst/gstregistrypool.h: remove
2186         * gst/gsttypefind.c:
2187         * gst/gsttypefindfactory.c:
2188         * gst/gsturi.c:
2189         * tools/Makefile.am:
2190         * tools/gst-compprep.c:
2191         * tools/gst-inspect.c:
2192         * tools/gst-register.c: remove
2193         * tools/gst-xmlinspect.c:
2194           Registry rewrite.  Changes registry from being a file created
2195           by a tool into a simple cache file created automatically by 
2196           libgstreamer.  Removed gst-register (because it's no longer
2197           needed).  Remove registry pools, because we only have one
2198           registry implementation (XML).  Fix up other subsystems as
2199           necessary.
2200
2201 2005-09-13  Michael Smith <msmith@fluendo.com>
2202
2203         * gst/gstconfig.h.in:
2204           Don't Use windows linking attributes for MinGW. Fixes #316157
2205
2206 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2207
2208         * gst/gstutils.c: (set_state_async_thread_func),
2209         (gst_element_set_state_async):
2210           Apparently people think it's better if this function doesn't
2211           try to set the state to whatever state was asked for on the first
2212           call to this function for any object.  Seriously.
2213
2214 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2215
2216         * check/gst/gstpipeline.c: (GST_START_TEST):
2217         * docs/gst/gstreamer-sections.txt:
2218         * gst/gstutils.c: (set_state_async_thread_func),
2219         (gst_element_set_state_async):
2220         * gst/gstutils.h:
2221           add a "gst_element_set_state_async" method that
2222           sets the state and starts a thread to make sure the state
2223           change completes as best as it can
2224
2225 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2226
2227         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2228           codify design+behaviour in testsuite after discussion
2229
2230 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2231
2232         * docs/gst/tmpl/gstelement.sgml:
2233         * docs/manual/appendix-quotes.xml:
2234           add a quote
2235         * gst/gstelement.c: (gst_element_set_state):
2236           add some debug
2237
2238 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
2239
2240         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2241         (gst_base_transform_prepare_output_buf),
2242         (gst_base_transform_handle_buffer):
2243         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
2244         (gst_capsfilter_prepare_buf):
2245           Remove the requirement for sub-classes to call the parent
2246           implementation of prepare_output_buffer with a wrapper function.
2247           
2248         * gst/gsttaglist.h:
2249         * gst/gsttagsetter.h:
2250           Fix #define wrapper
2251
2252 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
2253
2254         * docs/gst/gstreamer-sections.txt:
2255           more doc cleanups
2256
2257 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2258
2259         * docs/gst/gstreamer-sections.txt:
2260         * docs/gst/tmpl/gstelement.sgml:
2261         * docs/gst/tmpl/gstplugin.sgml:
2262         * gst/gstminiobject.c:
2263         * gst/gstvalue.h:
2264           docs now stop throwing warnings
2265
2266 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2267
2268         * docs/gst/gstreamer-sections.txt:
2269         * docs/gst/gstreamer.types:
2270         * docs/gst/tmpl/gstpad.sgml:
2271         * docs/gst/tmpl/gsttypes.sgml:
2272         * gst/base/gstadapter.h:
2273         * gst/base/gstbasesink.h:
2274         * gst/base/gstbasesrc.h:
2275         * gst/gstbin.h:
2276         * gst/gstbuffer.h:
2277         * gst/gstbus.h:
2278         * gst/gstcaps.h:
2279         * gst/gstclock.h:
2280         * gst/gstelement.h:
2281         * gst/gstevent.h:
2282         * gst/gstmessage.h:
2283         * gst/gstpad.h:
2284         * gst/gststructure.c:
2285         * gst/registries/gstlibxmlregistry.h:
2286           various documentation fixes
2287
2288 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2289
2290         * docs/gst/gstreamer-sections.txt:
2291         * docs/gst/tmpl/gstvalue.sgml:
2292           rearrange gstvalue section
2293         * gst/gstutils.c: (gst_element_state_get_name):
2294           NONE -> VOID
2295         * gst/gstvalue.c: (_gst_value_initialize):
2296         * gst/gstvalue.h:
2297           doc updates
2298
2299 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
2300
2301         * check/gst-libs/controller.c:
2302           Header include fix.
2303         * gst/base/gstbasetransform.c:
2304         (gst_base_transform_default_prepare_buf),
2305         (gst_base_transform_handle_buffer):
2306         * gst/base/gstbasetransform.h:
2307           Some more basetransform changes and fixes to enable sub-classes
2308           that modify buffer metadata only.
2309         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2310         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
2311         (gst_capsfilter_prepare_buf):
2312           If the output pad has fixed allowed caps and input buffers 
2313           don't have any, set the fixed caps on outgoing buffers.
2314
2315 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
2316         * check/elements/identity.c: (GST_START_TEST):
2317           Make the error a little clearer when the test fails because
2318           identity made a copy of the buffer.
2319         * docs/gst/gstreamer-sections.txt:
2320           New symbols in gstbasetransform.h
2321         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2322         (gst_base_transform_init), (gst_base_transform_transform_size),
2323         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2324         (gst_base_transform_default_prepare_buf),
2325         (gst_base_transform_get_unit_size),
2326         (gst_base_transform_buffer_alloc),
2327         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2328         (gst_base_transform_change_state),
2329         (gst_base_transform_set_passthrough),
2330         (gst_base_transform_set_in_place),
2331         (gst_base_transform_is_in_place):
2332         * gst/base/gstbasetransform.h:
2333           Change BaseTransform to separate in_place operate from same_caps
2334           output. in_place implies that the element can perform the transform
2335           on incoming buffers in-place, even if the caps on the output are
2336           different.
2337           Sub-class elements can now implement special buffer allocation
2338           methods for outgoing buffers if they wish to.
2339           Big documentation addition.
2340         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
2341         * gst/elements/gstelements.c:
2342           Changes for basetransform modifications.
2343         * gst/elements/Makefile.am:
2344         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
2345           Compile fix. Extra debug output.
2346
2347 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2348
2349         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
2350         (gst_pad_suite):
2351           add tests for valid pad naming
2352         * gst/check/gstcheck.c: (gst_check_log_message_func),
2353         (gst_check_log_critical_func):
2354           add ASSERT_WARNING
2355           remove printing of code, it is fragile when the code contains
2356           % and the line number is enough info
2357         * gst/check/gstcheck.h:
2358         * gst/gstpad.c: (gst_pad_template_new):
2359           fix memleaks
2360
2361 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2362
2363         * configure.ac:
2364           say what CHECK flags we use
2365         * docs/libs/gstreamer-libs.types:
2366         * libs/gst/controller/Makefile.am:
2367         * libs/gst/controller/gst-controller.c:
2368         * libs/gst/controller/gst-controller.h:
2369         * libs/gst/controller/gst-helper.c:
2370         * libs/gst/controller/gst-interpolation.c:
2371         * libs/gst/controller/gstcontroller.c:
2372         * libs/gst/controller/gsthelper.c:
2373         * libs/gst/controller/gstinterpolation.c:
2374         * tools/gst-inspect.c: (print_plugin_info):
2375           we don't use dashes in header names
2376
2377 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2378
2379         * check/Makefile.am:
2380         * check/gst/.cvsignore:
2381         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
2382         (gst_pipeline_suite), (main):
2383           adding a test for pipelines and state changes
2384         * gst/gstutils.c: (get_state_func):
2385           add some debugging
2386         * gstreamer.spec.in:
2387           fix up spec file
2388
2389 2005-09-08  Michael Smith <msmith@fluendo.com>
2390
2391         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
2392         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
2393         (gst_file_src_is_seekable), (gst_file_src_get_size),
2394         (gst_file_src_start):
2395         * gst/elements/gstfilesrc.h:
2396           Various fixes for unseekable, unmmapable, and non-normal files, so
2397           that fallback to read() rather than mmap() works.
2398         * gst/gstevent.c: (gst_event_new_newsegment):
2399           Allow newsegment events with segment_start == segment_end, as will
2400           correctly happen if you use filesrc on a zero-size file, for
2401           example.
2402
2403 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
2404
2405         * gst/gstplugin.c: (gst_plugin_load_file):
2406           Call g_module_close when we don't load the module
2407
2408         * gst/registries/gstlibxmlregistry.c:
2409         (gst_xml_registry_get_property):
2410           Port leak fix from 0.8
2411
2412 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
2413
2414         * docs/gst/gstreamer-docs.sgml:
2415         * docs/gst/tmpl/.cvsignore:
2416         * docs/gst/tmpl/gsttrace.sgml:
2417         * docs/gst/tmpl/gsttrashstack.sgml:
2418         * gst/Makefile.am:
2419         * gst/gst.h:
2420         * gst/gstelement.h:
2421         * gst/gstevent.h:
2422         * gst/gstmessage.c:
2423         * gst/gstmessage.h:
2424         * gst/gsttag.c:
2425         * gst/gsttag.h:
2426         * gst/gsttaginterface.c:
2427         * gst/gsttaginterface.h:
2428         * gst/gsttaglist.c:
2429         * gst/gsttaglist.h:
2430         * gst/gsttagsetter.c:
2431         * gst/gsttagsetter.h:
2432         * gst/gsttrace.c:
2433         * gst/gsttrace.h:
2434         * gst/gsttrashstack.c:
2435           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
2436           inlined docs for gsttrace, gsttrashstack
2437
2438 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
2439
2440         * gst/Makefile.am:
2441         * gst/elements/gstbufferstore.h:
2442         * gst/elements/gsttypefindelement.c:
2443         * gst/elements/gsttypefindelement.h:
2444         * gst/gst.h:
2445         * gst/gsttypefind.c:
2446         * gst/gsttypefind.h:
2447         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
2448         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
2449         (gst_type_find_factory_dispose),
2450         (gst_type_find_factory_unload_thyself),
2451         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
2452         (gst_type_find_factory_get_caps),
2453         (gst_type_find_factory_get_extensions),
2454         (gst_type_find_factory_call_function):
2455         * gst/gsttypefindfactory.h:
2456         * gst/registries/gstlibxmlregistry.c:
2457         * gst/registries/gstxmlregistry.c:
2458           splitted gsttypefind into gsttypefind, gsttypefindfactory
2459
2460 2005-09-07  Andy Wingo  <wingo@pobox.com>
2461
2462         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
2463         condition whereby the pad's task function is entered before the
2464         pad_mode variable was set.
2465
2466 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
2467
2468         * gst/gstpad.c: (gst_pad_alloc_buffer):
2469           Catch misbehaving pad_alloc functions that don't
2470           set up caps and do it for them.
2471
2472 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
2473
2474         * check/pipelines/simple_launch_lines.c: (run_pipeline):
2475           test for pipe!=NULL
2476         * docs/gst/tmpl/.cvsignore:
2477         * docs/gst/tmpl/gstmemchunk.sgml:
2478         * docs/gst/tmpl/gstparse.sgml:
2479         * docs/gst/tmpl/gsttaglist.sgml:
2480         * docs/gst/tmpl/gsttagsetter.sgml:
2481         * docs/gst/tmpl/gsttypefind.sgml:
2482         * docs/gst/tmpl/gsttypefindfactory.sgml:
2483         * gst/gstmemchunk.c:
2484         * gst/gstparse.c:
2485         * gst/gsttag.c:
2486         * gst/gsttaginterface.c:
2487         * gst/gsttypefind.c:
2488         * gst/gsttypefind.h:
2489           inlined more docs
2490
2491 === release 0.9.2 ===
2492
2493 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2494
2495         * NEWS:
2496         * RELEASE:
2497         * configure.ac:
2498           releasing 0.9.2, "South"
2499
2500 2005-09-05  Andy Wingo  <wingo@pobox.com>
2501
2502         * gst/registries/gstxmlregistry.h:
2503         * gst/registries/gstxmlregistry.c: Um... resurrect...
2504         
2505         * gst/registries/gstxmlregistry.h:
2506         * gst/registries/gstxmlregistry.c: and update to newer API.
2507         Incidentally they should be a bit faster now that they don't have
2508         to parse the caps.
2509         
2510 2005-09-05  Andy Wingo  <wingo@pobox.com>
2511
2512         * gst/registries/gstxmlregistry.h:
2513         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
2514         replaced by the libxml registry a while back
2515
2516 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2517
2518         * docs/gst/tmpl/gstplugin.sgml:
2519         * gst/elements/gstelements.c:
2520         * gst/gst.c:
2521         * gst/gstplugin.c: (gst_plugin_register_func),
2522         (gst_plugin_desc_copy), (gst_plugin_desc_free),
2523         (gst_plugin_get_source):
2524         * gst/gstplugin.h:
2525         * gst/registries/gstlibxmlregistry.c: (load_plugin),
2526         (gst_xml_registry_save_plugin):
2527         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
2528         (gst_xml_registry_save_plugin):
2529         * tools/gst-inspect.c: (print_plugin_info):
2530           add a "source" plugin description field, to represent the source
2531           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
2532           will set it to PACKAGE, which is automake's idea of the name of
2533           the source project.
2534
2535 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2536
2537         * Makefile.am:
2538         * autogen.sh:
2539         * configure.ac:
2540         * docs/Makefile.am:
2541         * docs/faq/Makefile.am:
2542         * docs/gst/tmpl/gstelement.sgml:
2543         * docs/gst/tmpl/gsttypes.sgml:
2544         * docs/htmlinstall.mak:
2545         * docs/manual/Makefile.am:
2546         * docs/pwg/Makefile.am:
2547           reorganize doc build a little
2548           split out docbook and gtk-doc stuff
2549           have two separate --enable's and enable them through autogen
2550           but disable by default in configure (to be similar to other
2551           projects)
2552         * gstreamer.spec.in:
2553           clean up docs install
2554         * po/af.po:
2555         * po/az.po:
2556         * po/ca.po:
2557         * po/cs.po:
2558         * po/de.po:
2559         * po/en_GB.po:
2560         * po/fr.po:
2561         * po/it.po:
2562         * po/nb.po:
2563         * po/nl.po:
2564         * po/ru.po:
2565         * po/sq.po:
2566         * po/sr.po:
2567         * po/sv.po:
2568         * po/tr.po:
2569         * po/uk.po:
2570         * po/vi.po:
2571           translation updates
2572
2573 2005-09-03  Tim-Philipp MĂĽller  <tim at centricular dot net>
2574
2575         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
2576           Add comment.
2577           
2578         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
2579         (gst_fake_sink_change_state):
2580           Make state change function thread-safe.
2581           
2582         * gst/gstpad.c: (gst_pad_alloc_buffer):
2583           Set offset on generic buffer allocated by fallback.
2584
2585 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
2586
2587         * docs/gst/gstreamer-sections.txt:
2588         * docs/gst/tmpl/gstelement.sgml:
2589         * gst/gstpad.c:
2590         * libs/gst/controller/gst-controller.c:
2591         (gst_controlled_property_set_interpolation_mode),
2592         (gst_controlled_property_new),
2593         (gst_controller_find_controlled_property):
2594          run the wingo-magic script against the docs
2595
2596 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
2597
2598         * docs/gst/gstreamer-docs.sgml:
2599         * docs/gst/gstreamer-sections.txt:
2600         * docs/gst/tmpl/.cvsignore:
2601         * docs/gst/tmpl/gstelementdetails.sgml:
2602         * docs/gst/tmpl/gstelementfactory.sgml:
2603         * gst/gst.c:
2604         * gst/gstbus.c:
2605         * gst/gstelementfactory.c:
2606         * gst/gstelementfactory.h:
2607           merged elementdetails docs into elementfactory docs
2608           inlined both
2609
2610 2005-09-02  Andy Wingo  <wingo@pobox.com>
2611
2612         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
2613         consider this enum an enum and not a flags.
2614
2615 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
2616
2617         * docs/gst/gstreamer-docs.sgml:
2618         * docs/gst/tmpl/.cvsignore:
2619         * docs/gst/tmpl/gstghostpad.sgml:
2620         * docs/gst/tmpl/gstiterator.sgml:
2621         * docs/gst/tmpl/gstmacros.sgml:
2622         * docs/gst/tmpl/gstrealpad.sgml:
2623         * docs/gst/tmpl/gstregistry.sgml:
2624         * docs/gst/tmpl/gstregistrypool.sgml:
2625         * docs/gst/tmpl/gststructure.sgml:
2626         * docs/gst/tmpl/gstsystemclock.sgml:
2627         * docs/gst/tmpl/gsttrace.sgml:
2628         * gst/gstghostpad.c:
2629         * gst/gstmacros.h:
2630         * gst/gstmemchunk.c:
2631         * gst/gstmemchunk.h:
2632         * gst/gstqueue.c:
2633         * gst/gstregistry.c:
2634         * gst/gstregistrypool.c:
2635         * gst/gststructure.c:
2636         * gst/gstsystemclock.c:
2637           more docs inlined
2638
2639 2005-09-02  Andy Wingo  <wingo@pobox.com>
2640
2641         * gst/gstelement.h (GstState): Renamed from GstElementState,
2642         changed to be a normal enum instead of flags.
2643         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
2644         munged to be GST_STATE_CHANGE_*.
2645         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
2646         work with the new state representation.
2647         (GstStateChange): New enumeration of possible state transitions.
2648         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
2649         (GstElementClass::change_state): Pass the GstStateChange along as
2650         an argument. Helps language bindings, so they don't have to use
2651         tricky lock-needing macros like GST_STATE_CHANGE ().
2652
2653         * scripts/update-states (file): New script. Run it on a file to
2654         update it for state naming and API changes. Updates files in
2655         place.
2656
2657         * All files updated for the new API.
2658
2659 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2660
2661         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
2662         * gst/gstutils.c: (gst_util_set_value_from_string),
2663         (gst_util_set_object_arg):
2664           fix a bunch of unchecked return values
2665         * tools/gst-complete.c: (main):
2666         * gstreamer.spec.in:
2667           clean up a little
2668
2669 2005-09-01  Wim Taymans  <wim@fluendo.com>
2670
2671         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2672         (gst_base_sink_event), (gst_base_sink_do_sync),
2673         (gst_base_sink_handle_event):
2674         * gst/base/gstbasesink.h:
2675         Handle newsegments more correctly.
2676
2677         * gst/gstbus.c:
2678         Fix docs.
2679
2680         * gst/gstevent.c: (gst_event_new_newsegment):
2681         A newsegment cannot have a start_time of -1
2682
2683 2005-09-01  Tim-Philipp MĂĽller  <tim at centricular dot net>
2684
2685         * win32/gstenumtypes.c:
2686         * win32/gstenumtypes.h:
2687           Update
2688
2689 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
2690
2691         * libs/gst/controller/gst-controller.c:
2692         (gst_controlled_property_set_interpolation_mode),
2693         (gst_controlled_property_new):
2694          fixed boolean again
2695
2696 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
2697
2698         * docs/faq/gst-uninstalled:
2699           add -good
2700         * gst/gstevent.c:
2701         * gst/gstevent.h:
2702           remove wrong docs
2703         * gst/gstutils.c: (gst_element_link_filtered):
2704         * gst/gstutils.h:
2705           add gst_element_link_filtered
2706
2707 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
2708
2709         * docs/gst/gstreamer-docs.sgml:
2710         * docs/gst/gstreamer-sections.txt:
2711         * docs/gst/tmpl/.cvsignore:
2712         * docs/gst/tmpl/gsterror.sgml:
2713         * docs/gst/tmpl/gstfilter.sgml:
2714         * docs/gst/tmpl/gsturihandler.sgml:
2715         * docs/gst/tmpl/gsturitype.sgml:
2716         * docs/gst/tmpl/gstutils.sgml:
2717         * docs/gst/tmpl/gstxml.sgml:
2718         * gst/gsterror.c:
2719         * gst/gsterror.h:
2720         * gst/gstfilter.c:
2721         * gst/gsturi.c:
2722         * gst/gsturitype.c:
2723         * gst/gstutils.c:
2724         * gst/gstxml.c:
2725           inlined more docs, fixed double id-ref
2726
2727 2005-08-31  Wim Taymans  <wim@fluendo.com>
2728
2729         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
2730         (gst_base_transform_handle_buffer):
2731         Passthrough elements don't need the caps as they don't care.
2732
2733 2005-08-31  Wim Taymans  <wim@fluendo.com>
2734
2735         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
2736         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
2737         Don't leak refcounts on buffers.
2738
2739 2005-08-31  Wim Taymans  <wim@fluendo.com>
2740
2741         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
2742         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
2743         (gst_base_transform_chain), (gst_base_transform_change_state):
2744         * gst/base/gstbasetransform.h:
2745         Handle the case where we are not negotiated more gracefully.
2746
2747 2005-08-31  Tim-Philipp MĂĽller  <tim at centricular dot net>
2748
2749         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
2750         (gst_file_src_map_region):
2751           Set READONLY flag on mmap'ed buffers, otherwise
2752           gst_buffer_make_writable() won't work properly (#314708).
2753
2754 2005-08-31  Wim Taymans  <wim@fluendo.com>
2755
2756         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
2757         passthrough elements can even do inplace on non writable
2758         buffers (as they don't touch them).
2759
2760 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
2761
2762         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
2763         (gst_test_mono_source_set_property),
2764         (gst_test_mono_source_class_init), (GST_START_TEST),
2765         (gst_controller_suite):
2766           more tests (hehe I have the most)
2767         * gst/gstbus.c:
2768           describe popping messages whenusing mulltiple sources
2769         * libs/gst/controller/gst-controller.c:
2770         (gst_controlled_property_set_interpolation_mode),
2771         (gst_controlled_property_new):
2772         * libs/gst/controller/gst-controller.h:
2773         * libs/gst/controller/gst-interpolation.c:
2774           implement boolean properties
2775
2776 2005-08-31  Wim Taymans  <wim@fluendo.com>
2777
2778         * gst/gstminiobject.c: (gst_mini_object_ref):
2779         Cannot assert that the refcount has to be positive
2780         since a disposed object can be resurrected.
2781
2782 2005-08-31  Wim Taymans  <wim@fluendo.com>
2783
2784         * gst/gstpad.c: (gst_pad_init):
2785         Revert change, need to first fix badly behaving 
2786         apps.
2787
2788 2005-08-30  Wim Taymans  <wim@fluendo.com>
2789
2790         * check/elements/fakesrc.c: (setup_fakesrc):
2791         * check/elements/identity.c: (setup_identity):
2792         Activate pads before using them.
2793
2794 2005-08-30  Wim Taymans  <wim@fluendo.com>
2795
2796         * gst/base/gstadapter.c: (gst_adapter_flush):
2797         Flushing out 0 bytes is ok for this function.
2798
2799         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2800         no newsegment gives a warning and sets the start/stop to 
2801         invalid.
2802
2803         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
2804         (gst_base_transform_set_passthrough):
2805         Some debug info.
2806
2807         * gst/gstminiobject.c: (gst_mini_object_ref):
2808         Check refcount here too.
2809
2810         * gst/gstpad.c: (gst_pad_init):
2811         Pads are initially flushing and refusing data.
2812
2813         * gst/gstutils.c: (gst_element_link_pads_filtered):
2814         When adding a capsfilter element make sure it has the
2815         same state as the parent bin.
2816
2817 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
2818
2819         * docs/gst/tmpl/.cvsignore:
2820         * docs/gst/tmpl/gstformat.sgml:
2821         * docs/gst/tmpl/gstversion.sgml:
2822         * gst/gstbus.h:
2823         * gst/gstformat.c:
2824         * gst/gstformat.h:
2825         * gst/gstversion.h.in:
2826           more docs and two more inlined
2827
2828 2005-08-30  Wim Taymans  <wim@fluendo.com>
2829
2830         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
2831         Don't sync to clock.
2832
2833 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
2834
2835         * docs/gst/gstreamer-sections.txt:
2836           ultral33t func10ns deserve to appear in the docs actually
2837         * docs/gst/tmpl/.cvsignore:
2838         * docs/gst/tmpl/gstcompat.sgml:
2839         * docs/gst/tmpl/gstconfig.sgml:
2840         * gst/check/gstcheck.c:
2841         * gst/gstcompat.h:
2842         * gst/gstconfig.h.in:
2843           inlined more docs
2844
2845 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
2846
2847         * docs/gst/tmpl/.cvsignore:
2848         * docs/gst/tmpl/gstquery.sgml:
2849         * docs/gst/tmpl/gstutils.sgml:
2850         * gst/gstquery.c:
2851         * gst/gstquery.h:
2852           inlined and extended docs
2853
2854 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
2855
2856         * check/gst-libs/controller.c: (GST_START_TEST),
2857         (gst_controller_suite):
2858           more tests
2859         * docs/gst/tmpl/gstutils.sgml:
2860         * docs/libs/gstreamer-libs-sections.txt:
2861         * docs/libs/tmpl/gstdataprotocol.sgml:
2862           include path fixes
2863         * examples/controller/audio-example.c: (main):
2864           controller example works now
2865         * gst/gstclock.h:
2866           doc fixes
2867         * tools/gst-inspect.c: (print_element_properties_info):
2868           show param spec flags
2869
2870 2005-08-29  Andy Wingo  <wingo@pobox.com>
2871
2872         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
2873
2874 2005-08-28  Andy Wingo  <wingo@pobox.com>
2875
2876         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
2877         as having two arguments instead of just one. Allows superclasses
2878         to access information on subclasses -- see the terrible for() loop
2879         in gtype.c:g_type_create_instance for the reason why. All callers
2880         changed.
2881
2882 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
2883
2884         * docs/design/part-messages.txt:
2885           update info
2886         * docs/gst/tmpl/.cvsignore:
2887         * docs/gst/tmpl/gstcaps.sgml:
2888         * docs/gst/tmpl/gstclock.sgml:
2889         * gst/gstbus.c:
2890         * gst/gstcaps.c:
2891         * gst/gstcaps.h:
2892         * gst/gstclock.c:
2893         * gst/gstclock.h:
2894         * gst/gstmessage.c:
2895           added descriptions for bus and message
2896           inline caps and clock docs
2897
2898 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
2899
2900         * gst/gstmessage.c:
2901         * gst/gstmessage.h:
2902           doc fixes
2903
2904 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
2905
2906         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
2907           fix div-by-zero
2908
2909 2005-08-26  Andy Wingo  <wingo@pobox.com>
2910
2911         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
2912         element_set_state's return val.
2913         (test_2_elements): Add test that's been disabled for months.
2914
2915         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
2916         can-activate-pull properties.
2917
2918         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
2919         can-activate-pull properties. Implement is_seekable so fakesrc can
2920         operate in pull mode.
2921
2922         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
2923         properties.
2924         (gst_base_sink_activate, gst_base_sink_activate_pull)
2925         (gst_base_sink_activate_push): Make activation mode choosing work.
2926         Cleanups.
2927         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
2928         is right. Make pull mode work. Post an eos before pausing in pull
2929         mode.
2930         (gst_base_sink_change_state): Pay attention to the core's
2931         change_state() return val.
2932         
2933         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
2934         has-getrange properties. Cleanups.
2935         
2936         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
2937         has_getrange and replace with can_activate_pull and
2938         can_activate_push.
2939
2940         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
2941         locking comments. Remove has_loop, has_chain and replace with
2942         can_activate_pull and can_activate_push.
2943
2944 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
2945
2946         * configure.ac:
2947         * examples/Makefile.am:
2948         * examples/metadata/Makefile.am:
2949         * examples/metadata/read-metadata.c: (message_loop),
2950         (have_pad_handler), (make_pipeline), (print_tag), (main):
2951           Add metadata reading example that loops over a list of filenames,
2952           dumping any tags found.
2953
2954         * gst/gstbus.c: (gst_bus_dispose):
2955         * gst/gstelement.c: (gst_element_dispose):
2956           Release a few potentially-held references in dispose.
2957
2958 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
2959
2960         * docs/gst/tmpl/gstminiobject.sgml:
2961           do *not* add tmpl/*.sgml files to CVS!
2962
2963 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
2964
2965         * libs/gst/bytestream/.cvsignore:
2966         * libs/gst/bytestream/Makefile.am:
2967         * libs/gst/bytestream/adapter.c:
2968         * libs/gst/bytestream/adapter.h:
2969         * libs/gst/bytestream/bytestream.c:
2970         * libs/gst/bytestream/bytestream.h:
2971         * libs/gst/bytestream/filepad.c:
2972         * libs/gst/bytestream/filepad.h:
2973           removing obsolete files
2974
2975 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
2976
2977         * docs/gst/gstreamer-docs.sgml:
2978         * docs/libs/gstreamer-libs-docs.sgml:
2979           disabed additional index entries again, as this makes docs-gen just
2980           slow and they aren't useful yet
2981         * docs/libs/gstreamer-libs-sections.txt:
2982           little -section.txt cleanup for libs
2983
2984 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
2985
2986         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2987         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
2988           fix up some debugging
2989         (gst_base_transform_get_unit_size),
2990         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
2991         (gst_base_transform_handle_buffer):
2992         * gst/base/gstbasetransform.h:
2993           handle and store timed NEWSEGMENT events so that subclasses that
2994           calculate time by counting samples have a segment_start time they
2995           need to add to their timestamps - see audioresample
2996
2997 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
2998
2999         * gst/gstbin.h:
3000           removed ';' from the end of macro defs
3001         * docs/gst/gstreamer-docs.sgml:
3002         * docs/gst/gstreamer-sections.txt:
3003         * docs/gst/tmpl/.cvsignore:
3004         * gst/gstbus.h:
3005         * gst/gstelement.c: (gst_element_class_init),
3006         (gst_element_set_state), (activate_pads),
3007         (gst_element_save_thyself):
3008         * gst/gstevent.c: (gst_event_new_newsegment):
3009         * gst/gstevent.h:
3010         * gst/gstiterator.c:
3011         * gst/gstiterator.h:
3012         * gst/gstpad.c:
3013         * gst/gstprobe.h:
3014         * gst/gstutils.c: (gst_pad_query_convert):
3015         * gst/gstutils.h:
3016           fixed parameter name mismatches between source, header and docs
3017           added some more docs, resolved the last batch of unused elements in
3018           docs (now someone needs to doc them)
3019
3020 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
3021
3022         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
3023         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
3024           don't walk through the plugins backwards.  Where is all this
3025           reversed logic coming from ?
3026
3027 2005-08-25  Wim Taymans  <wim@fluendo.com>
3028
3029         * gst/base/gstbasetransform.c: (gst_base_transform_init),
3030         (gst_base_transform_transform_size),
3031         (gst_base_transform_configure_caps),
3032         (gst_base_transform_get_unit_size),
3033         (gst_base_transform_buffer_alloc),
3034         (gst_base_transform_change_state):
3035         * gst/base/gstbasetransform.h:
3036         Cache caps unit_size.
3037         Make sure we cannot negotiate up and downstream at the
3038         same time.
3039
3040 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
3041
3042         * gst/gst.c: (init_pre), (init_post):
3043           register the installed plugin path after the env var
3044         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
3045         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
3046           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
3047           directories, so the tests can prefer uninstalled over installed
3048
3049 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
3050
3051         * gst/base/gstbasetransform.h:
3052           comment
3053         * gst/gstpad.c:
3054           add to docs
3055
3056 2005-08-25  Wim Taymans  <wim@fluendo.com>
3057
3058         * gst/gstbin.c: (bin_bus_handler):
3059         Be a bit more conservative about the posted message.
3060         
3061         * gst/gstbus.c: (gst_bus_post):
3062         Some cleanups, warn wrong return values.
3063
3064 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
3065
3066         * check/gst/gstbin.c: (GST_START_TEST):
3067         * gst/gstbin.c: (bin_bus_handler):
3068         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
3069         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
3070         (gst_message_new_warning), (gst_message_new_tag),
3071         (gst_message_new_state_changed), (gst_message_new_segment_start),
3072         (gst_message_new_segment_done), (gst_message_new_custom):
3073         * gst/gstmessage.h:
3074         * tools/gst-launch.c: (event_loop):
3075         * tools/gst-md5sum.c: (event_loop):
3076           Revert unpopular change for GST_MESSAGE_SRC to GObject.
3077
3078 2005-08-25  Wim Taymans  <wim@fluendo.com>
3079
3080         * check/generic/states.c: (GST_START_TEST):
3081         Cleanup can be done at the end.
3082
3083         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
3084         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
3085         (gst_task_get_state), (gst_task_start), (gst_task_pause):
3086         Oh boy.. Thanks for finding this, Thomas. 
3087
3088 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
3089
3090         * docs/gst/gstreamer.types:
3091           added missing types
3092
3093 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
3094
3095         * docs/gst/gstreamer-docs.sgml:
3096         * docs/gst/gstreamer-sections.txt:
3097         * docs/gst/tmpl/.cvsignore:
3098         * gst/gstbin.c:
3099         * gst/gstiterator.c:
3100         * gst/gstutils.c:
3101         * gst/registries/gstxmlregistry.h:
3102           added missing classes and symbols (123 more to go)
3103           removed removed symbols from section file
3104           fixed many doc-comments
3105
3106 2005-08-24  Wim Taymans  <wim@fluendo.com>
3107
3108         * check/generic/states.c: (GST_START_TEST):
3109         Make sure all tasks are stopped.
3110
3111         * check/gst/gstbin.c: (GST_START_TEST):
3112         Unref after usage for proper valgrinding.
3113
3114         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
3115         Really wait for the task to stop before destroying the
3116         mutex.
3117
3118         * gst/gstqueue.c: (gst_queue_sink_activate_push),
3119         (gst_queue_src_activate_push):
3120         Small cleanups. Don't stop the task when we did not start
3121         it.
3122
3123         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
3124         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
3125         (gst_task_get_state), (gst_task_start), (gst_task_pause),
3126         (gst_task_join):
3127         * gst/gsttask.h:
3128         Protect the stream lock with the object lock.
3129         Disallow setting the stream lock when running.
3130         Add cleanup_all to wait for the threadpool to finish.
3131         Remove code to autoallocate a mutex if none was provided.
3132         Add _join() to wait for a task to stop.
3133         Protect the thread pool with a global lock.
3134
3135 2005-08-24  Wim Taymans  <wim@fluendo.com>
3136
3137         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3138         (gst_base_sink_get_times), (gst_base_sink_do_sync),
3139         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
3140         * gst/base/gstbasesink.h:
3141         Handle newsegment events correctly.
3142         Drop buffers out of the segment range.
3143
3144 2005-08-22  Andy Wingo  <wingo@pobox.com>
3145
3146         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
3147         macro, implements an interface and gstimplementsinterface for a
3148         new type.
3149
3150 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3151
3152         * check/Makefile.am:
3153         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
3154           add a test that does a bunch of state changes on elements
3155           needs some fixing for valgrind
3156         * check/states/sinks.c: (gst_object_suite):
3157           whitespace
3158         * gst/gstcaps.h:
3159           add prototype for gst_caps_is_equal_fixed
3160         * gst/gstplugin.c:
3161         * gst/gstregistrypool.c:
3162           doc fixes
3163
3164 2005-08-24  Andy Wingo  <wingo@pobox.com>
3165
3166         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
3167         convert a negative value. Doesn't make much sense. Mostly this is
3168         here to force callers to ensure -1 maps to -1.
3169
3170 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
3171
3172         * docs/pwg/advanced-types.xml:
3173           Well done to Michael for catching my deliberate introduction
3174           of this spelling mistake. 
3175         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
3176         * gst/gstelement.h:
3177           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
3178           unlink pads before removing the element from the bin.
3179
3180 2005-08-24  Andy Wingo  <wingo@pobox.com>
3181
3182         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
3183         the same thing as GST_DEBUG=*:4.
3184         (parse_debug_level, parse_debug_category): New helper parsers.
3185
3186 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3187
3188         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3189         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
3190         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
3191         (gst_base_transform_buffer_alloc),
3192         (gst_base_transform_handle_buffer):
3193           use gboolean return values and pointers to size so we can use the
3194           full GST_BUFFER_SIZE range (guint) for buffer sizes
3195           use GstPadDirection for transform_caps
3196         * gst/base/gstbasetransform.h:
3197           rename get_size to get_unit_size since that's what it is
3198         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
3199           use GstPadDirection for transform_caps
3200         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
3201         * gst/gstutils.h:
3202           cleanup and debugging
3203
3204 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
3205
3206         * gst/gstelement.c: (gst_element_class_init),
3207         (gst_element_set_state), (activate_pads),
3208         (gst_element_save_thyself):
3209         * tools/gst-compprep.c: (main):
3210         * tools/gst-inspect.c: (print_element_properties_info):
3211         * tools/gst-xmlinspect.c: (print_element_properties):
3212           Fixed long standing mem-leak
3213
3214 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
3215
3216         * check/gst/gstbin.c: (GST_START_TEST):
3217         * gst/gstbin.c: (bin_bus_handler):
3218         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
3219         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
3220         (gst_message_new_warning), (gst_message_new_tag),
3221         (gst_message_new_state_changed), (gst_message_new_segment_start),
3222         (gst_message_new_segment_done), (gst_message_new_custom):
3223         * gst/gstmessage.h:
3224         * tools/gst-launch.c: (event_loop):
3225         * tools/gst-md5sum.c: (event_loop):
3226           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
3227           that applications can sensibly post custom messages with references
3228           to their own objects.
3229
3230 2005-08-24  Andy Wingo  <wingo@pobox.com>
3231
3232         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
3233         already.
3234
3235 2005-08-24  Wim Taymans  <wim@fluendo.com>
3236
3237         * gst/base/gstbasetransform.c: (gst_base_transform_init),
3238         (gst_base_transform_transform_caps),
3239         (gst_base_transform_transform_size),
3240         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3241         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
3242         (gst_base_transform_handle_buffer):
3243         * gst/base/gstbasetransform.h:
3244         Many fixes and new features added by Thomas. Can now also do
3245         transforms with variable sizes and a custom fixate_caps function.
3246
3247 2005-08-24  Wim Taymans  <wim@fluendo.com>
3248
3249         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
3250         Some debugging.
3251
3252         * gst/gstclock.h:
3253         Cast to ClockTime before formatting to time.
3254
3255         * gst/gstutils.h:
3256         Cleanups.
3257
3258 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
3259
3260         * check/gst-libs/controller.c: (GST_START_TEST),
3261         (gst_controller_suite):
3262         * docs/gst/tmpl/gstcaps.sgml:
3263         * docs/gst/tmpl/gstghostpad.sgml:
3264         * docs/gst/tmpl/gstquery.sgml:
3265         * docs/gst/tmpl/gstutils.sgml:
3266         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
3267         (gst_object_sink_values), (gst_object_get_value_arrays),
3268         (gst_object_get_value_array):
3269           gracefully handle helper method calls to objects that are not beeing
3270           controlled, added test case for that          
3271
3272 2005-08-23  Wim Taymans  <wim@fluendo.com>
3273
3274         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
3275         (gst_event_new_newsegment), (gst_event_parse_newsegment),
3276         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
3277         (gst_event_parse_qos), (gst_event_new_seek),
3278         (gst_event_parse_seek):
3279         * gst/gstevent.h:
3280         Some more debugging output and doc cleanups.
3281
3282         * gst/gstqueue.c: (gst_queue_handle_sink_event):
3283         Fix possible deadlock.
3284
3285 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
3286
3287         * docs/gst/gstreamer-docs.sgml:
3288         * docs/gst/gstreamer-sections.txt:
3289         * docs/gst/gstreamer.types:
3290         * docs/gst/tmpl/.cvsignore:
3291         * gst/gstbin.h:
3292         * gst/gstbus.c:
3293         * gst/gstelement.c:
3294         * gst/gstevent.h:
3295           added 100 symbols from gstreamer-unused.txt to the right sections
3296           fixed more broken comments
3297           added GstBus to docs
3298
3299 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
3300
3301         * docs/gst/gstreamer-sections.txt:
3302         * docs/gst/tmpl/.cvsignore:
3303         * docs/gst/tmpl/gstbin.sgml:
3304         * docs/gst/tmpl/gstbuffer.sgml:
3305         * gst/base/gstbasesrc.c:
3306         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
3307         * gst/gstbuffer.c:
3308         * gst/gstbuffer.h:
3309         * tools/gst-launch.1.in:
3310           inlined more doc comments, added missing comments and fixed comments
3311           fixed typos
3312
3313 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3314
3315         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
3316           some debugging
3317         * gst/gstcaps.h:
3318           whitespace fixes
3319         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
3320           more debugging
3321         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
3322         * gst/gststructure.h:
3323           add a fixate function for booleans; add a FIXME that these func
3324           names should probably be gst_structure_fixate_*
3325
3326 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
3327
3328         * docs/gst/gstreamer-docs.sgml:
3329         * docs/gst/gstreamer-sections.txt:
3330         * gst/Makefile.am:
3331         * gst/gstbin.c: (gst_bin_get_type),
3332         (gst_bin_child_proxy_get_child_by_index),
3333         (gst_bin_child_proxy_get_children_count),
3334         (gst_bin_child_proxy_init):
3335         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
3336         (gst_child_proxy_get_child_by_index),
3337         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
3338         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
3339         (gst_child_proxy_get), (gst_child_proxy_set_property),
3340         (gst_child_proxy_set_valist), (gst_child_proxy_set),
3341         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
3342         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
3343         * gst/gstchildproxy.h:
3344         * gst/parse/grammar.y:
3345         * tools/gst-inspect.c: (print_interfaces),
3346         (print_element_properties_info), (print_element_info):
3347           ported gstchildproxy over from 0.8
3348           ported gst-inspect fixes and enhancements over from 0.8
3349
3350 2005-08-22  Wim Taymans  <wim@fluendo.com>
3351
3352         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3353         (gst_base_transform_handle_buffer):
3354         Also call the transform function if we have ANY caps.
3355
3356         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
3357         Fix debug info.
3358
3359 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
3360
3361         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
3362           Don't pretend to handle seek events if the source is not seekable
3363
3364 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
3365
3366         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3367           Remove extra parameter to debug output
3368
3369         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3370         (gst_base_src_do_seek), (gst_base_src_activate_push):
3371           Fix seek event handling.
3372
3373         * gst/gstpipeline.c: (gst_pipeline_change_state):
3374         * gst/gstqueue.c: (gst_queue_handle_sink_event),
3375         (gst_queue_src_activate_push):
3376           Don't start the src pad task on FLUSH_STOP if the pad
3377           isn't linked.
3378           Debug changes.
3379
3380 2005-08-22  Wim Taymans  <wim@fluendo.com>
3381
3382         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3383         Added check for gst_static_caps_get() refcounting.
3384
3385 2005-08-22  Wim Taymans  <wim@fluendo.com>
3386
3387         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
3388         Make _static_caps_get() refcounting sane.
3389         
3390         * gst/gstelement.c: (gst_element_set_state):
3391         Add g_return_val_if_fail() to protect against segfaults.
3392
3393 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
3394
3395         * docs/gst/tmpl/gstevent.sgml:
3396         * gst/gstevent.c:
3397         * gst/gstevent.h:
3398           inlined remaining docs, added missing doc comments
3399
3400 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
3401
3402         * check/gst/gstbin.c: (GST_START_TEST):
3403           since we don't know when preroll is done, use refcount range
3404           check for the sink
3405         * gst/check/gstcheck.h:
3406           add macro for checking refcount range
3407
3408 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
3409
3410         * check/Makefile.am:
3411           clean up environment for when registry gets built versus
3412           when actual tests are run; valgrind seems to not report
3413           leaks if GST_PLUGIN_PATH is set to some specific values
3414         * check/gst/gstbin.c: (GST_START_TEST):
3415           add more refcounting checks; maybe this exposes a
3416           preroll lock bug ?
3417         * common/check.mak:
3418         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3419         * gst/check/gstcheck.h:
3420         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
3421         (gst_bin_change_state):
3422         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
3423           add/fix debugging/whitespace
3424
3425 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
3426
3427         * check/gst/gstevent.c: (event_probe), (test_event),
3428         (GST_START_TEST):
3429          Er, don't call gst_bin_watch_for_state_change you idiot.
3430
3431 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
3432
3433         * check/Makefile.am:
3434           Use CHECK_CFLAGS and CHECK_LIBS
3435         * check/gst/gstevent.c: (event_probe), (test_event),
3436         (GST_START_TEST):
3437           Don't leak events.
3438         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3439         (gst_base_src_start), (gst_base_src_stop),
3440         (gst_base_src_activate_push), (gst_base_src_activate_pull),
3441         (gst_base_src_change_state):
3442           Sprinkle gst_base_src_stop liberally around error paths to fix
3443           problems reusing a source after failed state changes.
3444         * gst/base/gsttypefindhelper.c: (helper_find_peek),
3445         (helper_find_suggest), (gst_type_find_helper):
3446           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
3447         * gst/gstevent.h:
3448         * docs/gst/tmpl/gstevent.sgml:
3449           Migrate part of the docs from the SGML file. Wait for ensonic to
3450           tell me how I did it wrong ;)
3451         * tools/gst-typefind.c: (main):
3452           Extra robustness to state changes between files.
3453
3454 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
3455
3456         * check/Makefile.am:
3457           don't valgrind the controller test - it's leaking - Stefan, HELP
3458         * gst/check/gstcheck.c: (gst_check_message_error),
3459         (gst_check_chain_func), (gst_check_setup_element),
3460         (gst_check_teardown_element), (gst_check_setup_src_pad),
3461         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3462         (gst_check_teardown_sink_pad):
3463         * gst/check/gstcheck.h:
3464           add a bunch of methods to set up elements, and src and sink pads
3465         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
3466         * check/elements/identity.c: (setup_identity), (cleanup_identity),
3467         (GST_START_TEST):
3468           use them
3469         * gst/gstmessage.c:
3470         * gst/gsttag.h:
3471           whitespace/doc fixes
3472
3473 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3474
3475         * gst/gstelement.h:
3476           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
3477           be handled by the application and not always printed as well
3478
3479 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3480
3481         * check/Makefile.am:
3482           set GST_TOOLS_DIR
3483         * gst/check/gstcheck.c: (gst_check_message_error):
3484         * gst/check/gstcheck.h:
3485           add a fail_unless_equals_int
3486           add fail_unless for error messages
3487
3488 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3489
3490         * check/Makefile.am:
3491         * check/gst.supp:
3492         * common/Makefile.am:
3493         * common/check.mak:
3494         * common/gst.supp:
3495           factor out some of the common stuff so we can use it
3496
3497 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3498
3499         * check/Makefile.am:
3500         * check/gst/gstiterator.c: (GST_START_TEST):
3501         * check/gst/gstsystemclock.c: (GST_START_TEST),
3502         (gst_systemclock_suite):
3503         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3504         * gst/gstclock.c:
3505           valgrind more tests
3506
3507 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3508
3509         * check/elements/.cvsignore:
3510         * check/elements/gstfakesrc.c:
3511           rename to name of element
3512         * check/elements/identity.c: (chain_func), (event_func),
3513         (setup_identity), (cleanup_identity), (GST_START_TEST),
3514         (identity_suite), (main):
3515           add a test for identity
3516         * check/Makefile.am:
3517         * pkgconfig/Makefile.am:
3518         * pkgconfig/gstreamer-check.pc.in:
3519         * pkgconfig/gstreamer-check-uninstalled.pc.in:
3520         * gst/check:
3521         * gst/Makefile.am:
3522         * configure.ac:
3523           move the check stuff to a library that gets installed
3524         * check/gst-libs/controller.c: (GST_START_TEST):
3525         * check/gst-libs/gdp.c:
3526         * check/gst/gst.c: (GST_START_TEST):
3527         * check/gst/gstbin.c:
3528         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3529         * check/gst/gstbus.c:
3530         * check/gst/gstcaps.c: (GST_START_TEST):
3531         * check/gst/gstelement.c:
3532         * check/gst/gstghostpad.c:
3533         * check/gst/gstiterator.c:
3534         * check/gst/gstmessage.c:
3535         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
3536         * check/gst/gstobject.c:
3537         * check/gst/gstpad.c: (GST_START_TEST):
3538         * check/gst/gststructure.c: (GST_START_TEST):
3539         * check/gst/gstsystemclock.c: (GST_START_TEST),
3540         (gst_systemclock_suite):
3541         * check/gst/gsttag.c: (gst_tag_suite):
3542         * check/gst/gstvalue.c:
3543         * check/pipelines/cleanup.c:
3544         * check/pipelines/simple_launch_lines.c:
3545         * check/states/sinks.c:
3546           change include statement
3547
3548         * docs/gst/gstreamer-sections.txt:
3549         * docs/gst/tmpl/gstpad.sgml:
3550           document more pad stuff
3551         * gst/gstminiobject.c: (gst_mini_object_ref),
3552         (gst_mini_object_unref):
3553           debug refcounting
3554
3555 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
3556
3557         * docs/gst/tmpl/gst.sgml:
3558         * gst/gst.c:
3559           eliminate another tmpl file, fix spelling in the long-description
3560
3561 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
3562
3563         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3564         (test_event), (timediff), (gstevents_suite):
3565           Should fix build on 64-bit arch's
3566
3567 2005-08-18  Andy Wingo  <wingo@pobox.com>
3568
3569         Make sure that when a pipeline goes to PLAYING, that data has
3570         actually hit the sink.
3571
3572         * check/states/sinks.c (test_sink): A sink that doesn't get any
3573         data shouldn't return SUCCESS for going to either PLAYING or
3574         PAUSED. Test also the return values on the way back down.
3575
3576         * gst/gstelement.c (gst_element_set_state): When changing the
3577         state of an element currently changing state asynchronously, go to
3578         lost-state after commiting the pending state. Makes future calls
3579         to get_state continue to return ASYNC.
3580
3581         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
3582         ASYNC when going to PLAYING if we still don't have preroll, as can
3583         happen with live sources.
3584
3585 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
3586
3587         * docs/pwg/advanced-types.xml:
3588           Hack long paragraph into 2 chunks as a workaround for buggy
3589           jadetex version in sid and breezy that loops infinitely and
3590           eats all RAM.
3591
3592 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
3593
3594         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3595         (test_event), (timediff), (gstevents_suite):
3596           Provide more error margin in clock measurements to allow for 
3597           g_get_current_time inaccuracies.
3598
3599 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
3600
3601         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3602         (test_event), (timediff), (gstevents_suite):
3603            Fix error message output so I might be able to tell why the
3604            test works here but fails on the build farm.
3605
3606 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
3607
3608         * check/Makefile.am:
3609         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3610         (test_event), (timediff), (gstevents_suite), (main):
3611           I wrote a test!
3612
3613         * docs/design/part-seeking.txt:
3614           Spelling correction
3615
3616         * docs/gst/tmpl/gstevent.sgml:
3617         * docs/gst/tmpl/gstfakesrc.sgml:
3618           Docs updates.
3619
3620         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3621           Treat a buffer-without-newsegment the same as a receiving 
3622           a newsegment not in time format, and disable syncing to the clock
3623           with a warning.
3624
3625         * gst/gstbus.c: (gst_bus_set_sync_handler):
3626           Assert if anyone tries to replace the existing sync_handler for bus, 
3627           as only the owner should be setting it.
3628
3629         * gst/gstevent.h:
3630           Have a fixed set of custom event enums with events identified by
3631           their structure name (as in 0.8), rather than a free-for-all
3632           allowing collisions between enum values from different plugins.
3633
3634         * gst/gstpad.c: (gst_pad_class_init):
3635           Docs change.
3636           
3637         * gst/gstqueue.c: (gst_queue_handle_sink_event):
3638           Handle out-of-band downstream events from the sending thread.
3639
3640 2005-08-17  Andy Wingo  <wingo@pobox.com>
3641
3642         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
3643         play-timeout==0 to mean no timeout at all. In that case, don't
3644         bother with a get_state or a warning, just return directly, even
3645         if it's ASYNC.
3646
3647         * gst/base/gstbasetransform.c: Debug changes.
3648
3649         * gst/gstutils.h:
3650         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
3651         ensure bins post state change messages. A bit of a hack but I can't
3652         think of a way to avoid it.
3653
3654         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
3655
3656 2005-08-16  Andy Wingo  <wingo@pobox.com>
3657
3658         * gst/base/gstadapter.h:
3659         * gst/base/gstadapter.c (gst_adapter_take): New function, like
3660         peek() but you own the data. Not terribly efficient atm.
3661
3662 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3663
3664         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
3665         (gst_element_found_tags):
3666         * gst/gstutils.h:
3667           Add two utility functions for tag handling.
3668
3669 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3670
3671         * docs/manual/advanced-dataaccess.xml:
3672         * docs/manual/basics-helloworld.xml:
3673           Fix docs to use _bin_add() before _link(), which fixes the examples
3674           with recent core versions (reported by Madhan Raj M
3675           <raj_madan@rediffmail.com>, #313199).
3676
3677 2005-08-16  Wim Taymans  <wim@fluendo.com>
3678
3679         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3680         Added subtract checks.
3681
3682         * docs/design/part-events.txt:
3683         Some more docs about newsegment
3684
3685         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
3686         Fix FIXME
3687
3688         * gst/gstcaps.c: (gst_caps_to_string):
3689         Add comments, cleanups.
3690         
3691         * gst/gstelement.c: (gst_element_save_thyself):
3692         cleanups
3693         
3694         * gst/gstvalue.c: (gst_value_collect_int_range),
3695         (gst_string_unwrap), (gst_value_union_int_int_range),
3696         (gst_value_union_int_range_int_range),
3697         (gst_value_intersect_int_int_range),
3698         (gst_value_intersect_int_range_int_range),
3699         (gst_value_intersect_double_double_range),
3700         (gst_value_intersect_double_range_double_range),
3701         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
3702         (gst_value_subtract_int_range_int),
3703         (gst_value_subtract_double_range_double),
3704         (gst_value_subtract_double_range_double_range),
3705         (gst_value_subtract_from_list), (gst_value_subtract_list),
3706         (gst_value_can_compare), (gst_value_compare_fraction):
3707         Cleanups, add comments, remove unneeded asserts.
3708
3709 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3710
3711         * tools/gst-launch.c: (event_loop):
3712           don't convert NULL structures to strings
3713
3714 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
3715
3716         * docs/gst/gstreamer-sections.txt:
3717           made some defines private
3718         * docs/gst/tmpl/gstconfig.sgml:
3719         * docs/gst/tmpl/gstqueue.sgml:
3720         * docs/gst/tmpl/gsttaglist.sgml:
3721         * docs/gst/tmpl/gsttypes.sgml:
3722         * docs/gst/tmpl/gstutils.sgml:
3723         * docs/pwg/appendix-porting.xml:
3724         * gst/base/gstbasesink.h:
3725         * gst/base/gstbasesrc.c:
3726         * gst/base/gstbasesrc.h:
3727         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
3728         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
3729         * gst/gstelement.c: (gst_element_class_init):
3730         * gst/gstpad.c: (gst_pad_class_init):
3731         * gst/gstqueue.c: (gst_queue_class_init):
3732         * gst/gstxml.c: (gst_xml_class_init):
3733           documented all undocumented signal inline
3734         * libs/gst/controller/gst-controller.h:
3735           added padding
3736
3737 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3738
3739         * docs/pwg/appendix-porting.xml:
3740           Document _set_link_function -> _set_setcaps_function.
3741
3742 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3743
3744         * check/Makefile.am:
3745           add a .check target for running the check
3746         * check/gst-libs/controller.c: (GST_START_TEST):
3747           cosmetic fixups
3748         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3749           complete checks for gstbuffer; would be nice if I could get the
3750           gcov stuff to work so I can see if I actually completed gstbuffer.c
3751         * check/gstcheck.h:
3752           add ASSERT_BUFFER_REFCOUNT
3753
3754 2005-08-13  Tim-Philipp MĂĽller  <tim at centricular dot net>
3755
3756         * docs/gst/gstreamer-sections.txt:
3757         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
3758         * gst/gsttag.h:
3759           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
3760           spew out a warning if a tag that is already registered
3761           is re-registered, unless it is re-registered with a 
3762           different type (#308438).
3763
3764 2005-08-12  Tim-Philipp MĂĽller  <tim at centricular dot net>
3765
3766         * docs/pwg/appendix-porting.xml:
3767         * docs/pwg/building-state.xml:
3768           Add some paragraphs about state changes in 0.9 to the PWG
3769           and the porting guide, in particular about the new meaning
3770           of GST_STATE_PAUSED and how to write state change functions
3771           with concurrent access by multiple threads in mind.
3772
3773 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
3774
3775         * docs/gst/gstreamer-docs.sgml:
3776         * docs/libs/gstreamer-libs-docs.sgml:
3777           added deprecation and since indexes
3778         * libs/gst/controller/gst-controller.c:
3779         * libs/gst/controller/gst-helper.c:
3780           added since tags
3781
3782
3783 2005-08-11  Wim Taymans  <wim@fluendo.com>
3784
3785         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
3786         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
3787         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
3788         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
3789         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
3790         (gst_ghost_pad_set_target):
3791         Actually implement (re)setting the target on a ghostpad
3792         as described in the docs.
3793
3794 2005-08-10  Tim-Philipp MĂĽller  <tim at centricular dot net>
3795
3796         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
3797           Check whether GST_DEBUG_NO_COLOR environment variable is
3798           set and disable coloured debug output if that is the case.
3799
3800 2005-08-10  Tim-Philipp MĂĽller  <tim at centricular dot net>
3801
3802         * gst/base/gsttypefindhelper.c: (helper_find_peek),
3803         (gst_type_find_helper):
3804           The memory returned by gst_type_find_peek() needs to
3805           stay valid until the end of a typefind function, and
3806           typefind functions may keep results from different 
3807           offsets around, so we can't just unref the buffer from
3808           the previous _peek(), but have to save all buffers 
3809           returned by _peek() until typefinding is done and only
3810           free them then.
3811
3812 2005-08-09  Tim-Philipp MĂĽller  <tim at centricular dot net>
3813
3814         * docs/gst/gstreamer-sections.txt:
3815         * gst/gstutils.h:
3816           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
3817
3818 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3819
3820         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
3821           Fix a pretty good memleak.
3822
3823 2005-08-08  Tim-Philipp MĂĽller  <tim at centricular dot net>
3824
3825         * gst/gstiterator.h:
3826           Fix wrong include and 'make distcheck'.
3827
3828 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3829
3830         * gst/gstbin.c: (bin_bus_handler):
3831           Use gst_element_post_message() instead.
3832
3833 2005-08-08  Tim-Philipp MĂĽller  <tim at centricular dot net>
3834
3835         * gst/base/gstadapter.h:
3836         * gst/base/gstbasesink.h:
3837         * gst/base/gstbasesrc.h:
3838         * gst/base/gstbasetransform.h:
3839         * gst/base/gstcollectpads.h:
3840         * gst/base/gstpushsrc.h:
3841         * gst/gstiterator.h:
3842           Add padding to our base elements' class and instance structs and
3843           to GstIterator (you will need to rebuild all plugins and apps!)
3844
3845 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3846
3847         * gst/gstbin.c: (bin_bus_handler):
3848           Make default message forwarding from child->bus to bin->bus
3849           threadsafe and make it not emit warnings if the parent has no bus.
3850
3851 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3852
3853         * gst/gstelement.c: (activate_pads):
3854           On paused->ready, set pad->caps to NULL, as is the documented
3855           behaviour in this state change. Fixes playback of series of
3856           media files when visualization is enabled in Totem.
3857
3858 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3859
3860         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
3861           Allow NULL as filter-caps (which means "any").
3862
3863 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
3864
3865         * docs/libs/gstreamer-libs-sections.txt:
3866         * libs/gst/controller/gst-controller.c:
3867         * libs/gst/controller/gst-controller.h:
3868         * libs/gst/controller/gst-helper.c:
3869           adding more entries to the docs and fix small doc-bugs
3870
3871 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
3872
3873         * docs/gst/gstreamer-docs.sgml:
3874         * docs/gst/gstreamer-sections.txt:
3875         * docs/gst/gstreamer.types:
3876         * docs/gst/tmpl/gstbasesink.sgml:
3877         * docs/gst/tmpl/gstbasesrc.sgml:
3878         * docs/gst/tmpl/gstbasetransform.sgml:
3879         * docs/gst/tmpl/gstfakesrc.sgml:
3880         * gst/base/gstcollectpads.c:
3881         * gst/base/gstcollectpads.h:
3882         * libs/gst/controller/gst-controller.c:
3883         * libs/gst/controller/gst-controller.h:
3884         * libs/gst/controller/gst-helper.c:
3885         * libs/gst/controller/gst-interpolation.c:
3886         * libs/gst/controller/lib.c:
3887           added long/short desc for controller docs
3888           added collectpads base class docs
3889           added correct includes to base-class docs
3890
3891 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
3892
3893         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
3894         (gst_test_mono_source_set_property),
3895         (gst_test_mono_source_class_init), (GST_START_TEST),
3896         (gst_controller_suite):
3897         * docs/gst/gstreamer-docs.sgml:
3898         * docs/gst/gstreamer-sections.txt:
3899         * docs/gst/gstreamer.types:
3900         * docs/libs/gstreamer-libs-docs.sgml:
3901         * docs/libs/gstreamer-libs-sections.txt:
3902         * gst/base/gstadapter.c:
3903         * libs/gst/controller/gst-controller.c:
3904         (gst_controlled_property_new), (gst_controlled_property_free),
3905         (gst_controller_new_valist),
3906         (gst_controller_remove_properties_valist),
3907         (gst_controller_sink_values), (_gst_controller_finalize):
3908         * libs/gst/controller/gst-controller.h:
3909         * libs/gst/controller/gst-helper.c:
3910         (gst_object_control_properties), (gst_object_uncontrol_properties),
3911         (gst_object_get_controller), (gst_object_set_controller),
3912         (gst_object_sink_values), (gst_object_get_value_arrays),
3913         (gst_object_get_value_array):
3914           more tests (and fixes) for the controller
3915           more docs for the controller
3916           integrated companies docs for the adapter 
3917
3918 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3919
3920         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
3921         (GST_START_TEST), (fakesrc_suite):
3922           add tests for sizetype
3923
3924 2005-08-04  Andy Wingo  <wingo@pobox.com>
3925
3926         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
3927         fixes buffer_alloc proxying among other things.
3928
3929         * gst/base/gstbasetransform.c:
3930         * gst/base/gstbasetransform.h:
3931         Revert patch to gstbasetransform from 7-28 removing
3932         delay_configure.
3933
3934         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
3935         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
3936         Semantics changed, should return not the size of the output buffer
3937         but the byte size of a buffer with a given caps.
3938
3939         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
3940         debug object.
3941         (gst_base_transform_configure_caps): Don't set out_size here: (in,
3942         out) are not the pad caps until setcaps finishes.
3943         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
3944         not-in-place case as well. Deal with changing from in-place to
3945         not-in-place within calling pad_alloc_buffer. Still a bit
3946         concerned about the overhead here...
3947
3948 2005-08-03  Andy Wingo  <wingo@pobox.com>
3949
3950         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
3951         fixating is an error.
3952
3953 2005-08-04  Edward Hervey  <edward@fluendo.com>
3954
3955         * gst/base/gstadapter.h: 
3956         Added gst_adapter_get_type() to the header
3957
3958 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
3959
3960         * check/Makefile.am:
3961         * check/gst-libs/controller.c:
3962         * libs/gst/controller/gst-controller.c:
3963         (gst_controller_new_valist):
3964           added check test suite for the controller
3965         * gst/base/gstpushsrc.c:
3966           fixed a doc typo
3967
3968 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
3969
3970         * docs/gst/Makefile.am:
3971         * docs/gst/gstreamer-docs.sgml:
3972         * docs/gst/gstreamer-sections.txt:
3973         * docs/gst/gstreamer.types:
3974         * docs/gst/tmpl/gstfakesrc.sgml:
3975         * gst/base/README:
3976         * gst/base/gstbasesink.c:
3977         * gst/base/gstbasesink.h:
3978         * gst/base/gstbasesrc.c:
3979         * gst/base/gstbasesrc.h:
3980         * gst/base/gstbasetransform.c:
3981         * gst/base/gstpushsrc.c:
3982         * gst/base/gstpushsrc.h:
3983           add short/long description docs to base classes
3984           add pushsrc to the docs
3985           remove consolidated doc fragments
3986
3987 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
3988
3989         * configure.ac:
3990         * docs/libs/Makefile.am:
3991         * docs/libs/gstreamer-libs-docs.sgml:
3992         * docs/libs/gstreamer-libs-sections.txt:
3993         * docs/libs/gstreamer-libs.types:
3994         * examples/Makefile.am:
3995         * examples/controller/.cvsignore:
3996         * examples/controller/Makefile.am:
3997         * examples/controller/audio-example.c: (main):
3998         * libs/gst/Makefile.am:
3999         * libs/gst/controller/.cvsignore:
4000         * libs/gst/controller/Makefile.am:
4001         * libs/gst/controller/gst-controller.c:
4002         (on_object_controlled_property_changed), (gst_timed_value_compare),
4003         (gst_timed_value_find),
4004         (gst_controlled_property_set_interpolation_mode),
4005         (gst_controlled_property_new), (gst_controlled_property_free),
4006         (gst_controller_find_controlled_property),
4007         (gst_controller_new_valist), (gst_controller_new),
4008         (gst_controller_remove_properties_valist),
4009         (gst_controller_remove_properties), (gst_controller_set),
4010         (gst_controller_set_from_list), (gst_controller_unset),
4011         (gst_controller_get), (gst_controller_get_all),
4012         (gst_controller_sink_values), (gst_controller_get_value_arrays),
4013         (gst_controller_get_value_array),
4014         (gst_controller_set_interpolation_mode),
4015         (_gst_controller_finalize), (_gst_controller_init),
4016         (_gst_controller_class_init), (gst_controller_get_type):
4017         * libs/gst/controller/gst-controller.h:
4018         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
4019         (g_object_uncontrol_properties), (g_object_get_controller),
4020         (g_object_set_controller), (g_object_sink_values),
4021         (g_object_get_value_arrays), (g_object_get_value_array):
4022         * libs/gst/controller/gst-interpolation.c:
4023         (gst_controlled_property_find_timed_value_node),
4024         (interpolate_none_get), (interpolate_trigger_get),
4025         (interpolate_trigger_get_value_array):
4026         * libs/gst/controller/lib.c: (gst_controller_init):
4027         * pkgconfig/Makefile.am:
4028         * pkgconfig/gstreamer-control-uninstalled.pc.in:
4029         * pkgconfig/gstreamer-control.pc.in:
4030         * testsuite/Makefile.am:
4031         * testsuite/controller/.cvsignore:
4032         * testsuite/controller/Makefile.am:
4033         * testsuite/controller/interpolator.c: (main):
4034           added controller code
4035           removed dparam pc files
4036
4037 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
4038         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
4039         (gst_collectpads_stop):
4040           Broadcast the condition when shutting down, to make sure we wake all
4041           threads up. Shut down pads on finalize, for safety.
4042
4043 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
4044         * gst/base/gstbasetransform.c: (gst_base_transform_init),
4045         (gst_base_transform_handle_buffer),
4046         (gst_base_transform_change_state):
4047           Handle PAUSED->READY->PAUSED transition after negotiation
4048           occurred already.
4049         * gst/gstmessage.c: (gst_message_init):
4050           Extra piece of debug for new messages.
4051
4052 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
4053
4054         * configure.ac:
4055         * docs/gst/tmpl/gstbasesrc.sgml:
4056         * docs/gst/tmpl/gstelement.sgml:
4057         * docs/gst/tmpl/gstevent.sgml:
4058         * docs/gst/tmpl/gstfakesrc.sgml:
4059         * docs/gst/tmpl/gstformat.sgml:
4060         * docs/gst/tmpl/gstghostpad.sgml:
4061         * docs/gst/tmpl/gstpad.sgml:
4062         * docs/gst/tmpl/gstquery.sgml:
4063         * docs/gst/tmpl/gststructure.sgml:
4064         * docs/gst/tmpl/gsttaglist.sgml:
4065         * docs/gst/tmpl/gstvalue.sgml:
4066         * docs/libs/gstreamer-libs-docs.sgml:
4067         * docs/libs/gstreamer-libs-sections.txt:
4068         * docs/libs/gstreamer-libs.types:
4069         * libs/gst/Makefile.am:
4070         * libs/gst/control/.cvsignore:
4071         * libs/gst/control/Makefile.am:
4072         * libs/gst/control/control.c:
4073         * libs/gst/control/control.h:
4074         * libs/gst/control/dparam.c:
4075         * libs/gst/control/dparam.h:
4076         * libs/gst/control/dparam_smooth.c:
4077         * libs/gst/control/dparam_smooth.h:
4078         * libs/gst/control/dparamcommon.h:
4079         * libs/gst/control/dparammanager.c:
4080         * libs/gst/control/dparammanager.h:
4081         * libs/gst/control/dplinearinterp.c:
4082         * libs/gst/control/dplinearinterp.h:
4083         * libs/gst/control/unitconvert.c:
4084         * libs/gst/control/unitconvert.h:
4085         * testsuite/Makefile.am:
4086         * testsuite/dynparams/.cvsignore:
4087         * testsuite/dynparams/Makefile.am:
4088         * testsuite/dynparams/dparamstest.c:
4089         * tools/Makefile.am:
4090         * tools/gst-inspect.c: (print_element_info), (main):
4091         * tools/gst-xmlinspect.c: (print_element_info), (main):
4092           deactivate and remove dparams (libgstcontrol)
4093
4094 2005-08-01  Tim-Philipp MĂĽller  <tim at centricular dot net>
4095
4096         * gst/elements/gsttypefindelement.c:
4097         (gst_type_find_element_have_type), (gst_type_find_element_init),
4098         (stop_typefinding), (gst_type_find_element_handle_event),
4099         (gst_type_find_element_chain), (gst_type_find_element_getrange):
4100         * gst/elements/gsttypefindelement.h:
4101           Set caps on all outgoing buffers, not just the first one.
4102
4103 2005-08-01  Tim-Philipp MĂĽller  <tim at centricular dot net>
4104
4105         * gst/elements/gsttypefindelement.c:
4106         (gst_type_find_element_have_type),
4107         (gst_type_find_element_check_set_buffer_caps),
4108         (gst_type_find_element_init), (stop_typefinding),
4109         (gst_type_find_element_handle_event),
4110         (gst_type_find_element_chain), (gst_type_find_element_getrange):
4111         * gst/elements/gsttypefindelement.h:
4112           Set caps on first outgoing buffer when we've found the type.
4113
4114 2005-08-01  Tim-Philipp MĂĽller  <tim at centricular dot net>
4115
4116         * docs/gst/gstreamer-docs.sgml:
4117         * docs/gst/gstreamer-sections.txt:
4118         * docs/gst/tmpl/gstscheduler.sgml:
4119         * docs/gst/tmpl/gstschedulerfactory.sgml:
4120           Remove some old cruft from docs.
4121
4122 2005-07-31  Tim-Philipp MĂĽller  <tim at centricular dot net>
4123
4124         * gst/gstpad.h:
4125           Fix inline docs for GstPadLinkReturn.
4126           
4127         * gst/gststructure.c: (gst_structure_has_name):
4128         * gst/gststructure.h:
4129         * docs/gst/gstreamer-sections.txt:
4130           New API: gst_structure_has_name().
4131
4132 2005-07-30  Tim-Philipp MĂĽller  <tim at centricular dot net>
4133
4134         * configure.ac:
4135           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
4136           and _LARGEFILE_SOURCE in config.h as required. Do not 
4137           export those flags in our .pc files any longer (#142209).
4138
4139           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
4140
4141         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
4142         (gst_file_sink_do_seek), (gst_file_sink_event),
4143         (gst_file_sink_get_current_offset), (gst_file_sink_render):
4144           Redo seek/tell calls with large file support in mind; add some
4145           debugging messages; add log message that tells us when large
4146           file support is unavailable or not enabled for some reason.
4147
4148         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
4149           Add log message that tells us when large file support 
4150           is unavailable or not enabled for some reason.
4151
4152 2005-07-29  Wim Taymans  <wim@fluendo.com>
4153
4154         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
4155         Added test for removing an element with ghostpad from a bin.
4156         Fixed test as current implementation does the right thing.
4157
4158         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
4159         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
4160         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
4161         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
4162         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
4163         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
4164         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
4165         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4166         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
4167         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
4168         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
4169         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
4170         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4171         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
4172         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
4173         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
4174         * gst/gstghostpad.h:
4175         Clean up ghostpads, remove properties for internal stuff.
4176         Make threadsafe.
4177         Fix refcounting.
4178         Prepare for switching targets, not all use cases work yet.
4179
4180 2005-07-29  Wim Taymans  <wim@fluendo.com>
4181
4182         * docs/design/part-gstghostpad.txt:
4183         Small update.
4184
4185         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
4186         (gst_bin_remove_func):
4187         Unlinking pads while holding the bin LOCK is not a good
4188         idea.
4189
4190         * gst/gstpad.c: (gst_pad_class_init),
4191         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
4192         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
4193         No prob setting template after creating the pad.
4194
4195 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
4196
4197         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
4198         (gst_bus_peek), (gst_bus_source_dispatch),
4199         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
4200         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
4201           gst_bus_poll may be called from other threads. Handle
4202           this nicely by not making poll_data disappear off the
4203           stack once gst_bus_poll returns.
4204           gst_bus_peek now increments the refcount on the returned
4205           message.
4206
4207 2005-07-29  Wim Taymans  <wim@fluendo.com>
4208
4209         * docs/design/part-gstghostpad.txt:
4210         Overview of current GhostPad datastructures and use
4211         cases for changing the target.
4212
4213 2005-07-28  Wim Taymans  <wim@fluendo.com>
4214
4215         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4216         Added checks for hierarchy consistency whan adding linked
4217         elements to bins.
4218
4219         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4220         Added check to test element scheduling without bin/pipeline.
4221
4222         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4223         First add elements to bin, then link.
4224         
4225         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
4226         (gst_bin_remove_func):
4227         Unlink pads from elements added/removed from bin to maintain
4228         hierarchy consistency.
4229
4230 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4231
4232         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4233         (gst_base_transform_handle_buffer):
4234         * gst/base/gstbasetransform.h:
4235           Remove broken delay_configure (fixes renegotiation of software
4236           scaling pipelines); remove some leftover printf()s.
4237
4238 2005-07-28  Wim Taymans  <wim@fluendo.com>
4239
4240         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
4241         Added some more tests for wrong hierarchy
4242
4243         * docs/design/part-overview.txt:
4244         Some updates.
4245
4246         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
4247         Cleanups.
4248
4249         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
4250         (gst_element_dispose):
4251         Some more cleanups.
4252
4253         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
4254         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
4255         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4256         (gst_pad_set_caps), (gst_pad_send_event):
4257         Check for correct hierarchy when linking pads. Moving to
4258         strict requirement for ghostpads when linking elements in
4259         different bins.
4260
4261         * gst/gstpad.h:
4262         Clean ups. Added WRONG_HIERARCHY return value.
4263
4264 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4265
4266         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4267           Better debug if no transform is possible.
4268
4269 2005-07-27  Wim Taymans  <wim@fluendo.com>
4270
4271         * docs/random/wtay/network-transp:
4272         Some old doc I had.
4273
4274 2005-07-27  Wim Taymans  <wim@fluendo.com>
4275
4276         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
4277         (gst_dp_event_from_packet):
4278         Fix serialization of seek events.
4279
4280 2005-07-27  Wim Taymans  <wim@fluendo.com>
4281
4282         * check/gst-libs/gdp.c: (GST_START_TEST):
4283         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4284         Fix compilation and fix event serialization.
4285
4286 2005-07-27  Wim Taymans  <wim@fluendo.com>
4287
4288         * CHANGES-0.9:
4289         * docs/design/part-TODO.txt:
4290         * docs/design/part-events.txt:
4291         Some docs updates
4292
4293         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4294         (gst_base_sink_event), (gst_base_sink_do_sync),
4295         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
4296         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4297         (gst_base_src_do_seek), (gst_base_src_event_handler),
4298         (gst_base_src_loop):
4299         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4300         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4301         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4302         (gst_base_transform_event), (gst_base_transform_handle_buffer),
4303         (gst_base_transform_set_passthrough),
4304         (gst_base_transform_is_passthrough):
4305         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4306         * gst/elements/gstfilesink.c: (gst_file_sink_event):
4307         Event updates.
4308
4309         * gst/gstbuffer.h:
4310         Use faster casts.
4311
4312         * gst/gstelement.c: (gst_element_seek):
4313         * gst/gstelement.h:
4314         Update gst_element_seek.
4315
4316         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
4317         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
4318         (gst_event_new_flush_start), (gst_event_new_flush_stop),
4319         (gst_event_new_eos), (gst_event_new_newsegment),
4320         (gst_event_parse_newsegment), (gst_event_new_tag),
4321         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
4322         (gst_event_parse_qos), (gst_event_new_seek),
4323         (gst_event_parse_seek), (gst_event_new_navigation):
4324         * gst/gstevent.h:
4325         Make GstEvent use GstStructure. Add parsing code, make sure the
4326         API is sufficiently generic.
4327         Mark possible directions of events and serialization.
4328
4329         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
4330         (_gst_message_copy), (gst_message_new_segment_start),
4331         (gst_message_new_segment_done), (gst_message_new_custom),
4332         (gst_message_parse_segment_start),
4333         (gst_message_parse_segment_done):
4334         Small cleanups.
4335
4336         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4337         (gst_pad_set_caps), (gst_pad_send_event):
4338         Update for new events. 
4339         Catch events sent in wrong directions.
4340
4341         * gst/gstqueue.c: (gst_queue_link_src),
4342         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
4343         (gst_queue_handle_src_query):
4344         Event updates.
4345
4346         * gst/gsttag.c:
4347         * gst/gsttag.h:
4348         Remove event code from this file.
4349
4350         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
4351         (gst_dp_event_from_packet):
4352         Event updates.
4353
4354 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4355
4356         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
4357         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4358         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
4359           Make debugging actually useful.
4360
4361 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4362
4363         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
4364         (gst_pad_fixate_caps):
4365           Implement default fixation once again, so that gst_pad_fixate()
4366           actually does anything at all. This probably needs to be some
4367           sort of a last resort, and use profile-based fixation first, but
4368           since that doesn't exist yet, this is the best we have. Fixes
4369           visualization in Totem.
4370
4371 2005-07-22  Wim Taymans  <wim@fluendo.com>
4372
4373         * docs/design/part-events.txt:
4374         Small update.
4375
4376         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4377         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
4378         (gst_base_sink_activate_pull):
4379         Some more comments.
4380
4381         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
4382         (gst_fake_src_create):
4383         Fix handoff marshall.
4384
4385         * gst/elements/gstidentity.c: (gst_identity_class_init),
4386         (gst_identity_transform_ip):
4387         We're a real inplace element.
4388
4389         * gst/gstbus.c: (gst_bus_post):
4390         Added some comments.
4391
4392         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
4393         * tests/muxing/case1.c: (main):
4394         * tests/sched/dynamic-pipeline.c: (main):
4395         * tests/sched/interrupt1.c: (main):
4396         * tests/sched/interrupt2.c: (main):
4397         * tests/sched/interrupt3.c: (main):
4398         * tests/sched/runxml.c: (main):
4399         * tests/sched/sched-stress.c: (main):
4400         * tests/seeking/seeking1.c: (event_received), (main):
4401         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4402         (main):
4403         * tests/threadstate/threadstate3.c: (main):
4404         * tests/threadstate/threadstate4.c: (main):
4405         * tests/threadstate/threadstate5.c: (main):
4406         Fix the tests.
4407
4408 2005-07-21  Wim Taymans  <wim@fluendo.com>
4409
4410         * docs/design/part-seeking.txt:
4411         Some small additions.
4412
4413         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4414         (gst_base_sink_get_times), (gst_base_sink_do_sync),
4415         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
4416         * gst/base/gstbasesink.h:
4417         discont values are gint64, handle the math correctly.
4418
4419         * gst/base/gstbasesrc.c: (gst_base_src_loop):
4420         Make the basesrc report error if the source pad is not linked.
4421
4422         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
4423         (gst_queue_loop), (gst_queue_handle_src_query),
4424         (gst_queue_src_activate_push):
4425         Make queue collect data even if the srcpad is not linked.
4426         Start pushing out data as soon as it is linked.
4427
4428         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
4429         * gst/gstutils.h:
4430         Added gst_flow_get_name() to ease error reporting.
4431
4432 2005-07-20  Wim Taymans  <wim@fluendo.com>
4433
4434         * gst/gstmessage.c: (gst_message_new_segment_start),
4435         (gst_message_new_segment_done), (gst_message_parse_segment_start),
4436         (gst_message_parse_segment_done):
4437         * gst/gstmessage.h:
4438         Added a bunch of messages for advanced seeking.
4439
4440         * gst/parse/grammar.y:
4441         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
4442         (gst_dpman_state_changed):
4443         Fix some new-pad -> pad-added signals
4444
4445 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4446
4447         * docs/manual/appendix-porting.xml:
4448         * docs/pwg/appendix-porting.xml:
4449           Document new-pad/state-change signal renames and the FixedList
4450           type rename.
4451
4452 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4453
4454         * docs/manual/advanced-autoplugging.xml:
4455         * docs/manual/basics-helloworld.xml:
4456         * docs/manual/basics-pads.xml:
4457         * docs/random/ds/0.9-suggested-changes:
4458         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
4459         * gst/gstelement.h:
4460         * gst/gstevent.h:
4461         * gst/gstformat.h:
4462         * gst/gstquery.h:
4463         * gst/gststructure.c: (gst_structure_value_get_generic_type),
4464         (gst_structure_parse_array), (gst_structure_parse_value):
4465         * gst/gstvalue.c: (gst_type_is_fixed),
4466         (gst_value_list_prepend_value), (gst_value_list_append_value),
4467         (gst_value_list_get_size), (gst_value_list_get_value),
4468         (gst_value_transform_array_string), (gst_value_serialize_array),
4469         (gst_value_deserialize_array), (gst_value_intersect_array),
4470         (gst_value_is_fixed), (_gst_value_initialize):
4471         * gst/gstvalue.h:
4472           GstElement::new-pad -> pad-added, GstElement::state-change ->
4473           state-changed, GstValueFixedList -> GstValueArray, add format and
4474           flags as their own arguments in gst_element_seek() (should improve
4475           "bindeability"), remove function generators since they don't work
4476           under a whole bunch of compilers (they were deprecated already
4477           anyway).
4478
4479 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4480
4481         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
4482         (_gst_debug_register_funcptr):
4483         * gst/gstinfo.h:
4484           Fix illegal cast on some platforms (#309253).
4485
4486 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4487
4488         * gst/gstmessage.c: (gst_message_new_custom):
4489         * gst/gstmessage.h:
4490           Add _new_custom, make _new_application a macro to _new_custom.
4491
4492 2005-07-20  Wim Taymans  <wim@fluendo.com>
4493
4494         * gst/base/gstbasesrc.c: (gst_base_src_init),
4495         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
4496         * gst/base/gstbasesrc.h:
4497         Add a gboolean to decide when to push out a discont.
4498
4499         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
4500         (gst_queue_loop), (gst_queue_handle_src_query),
4501         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
4502         (gst_queue_set_property), (gst_queue_get_property):
4503         Some cleanups.
4504
4505         * tests/threadstate/threadstate1.c: (main):
4506         Make a thread test compile and run... very silly..
4507
4508
4509 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4510
4511         * docs/manual/appendix-porting.xml:
4512           Mention removal of libgstgconf-0.9.la and existence of gconf
4513           elements.
4514
4515 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4516
4517         * docs/pwg/advanced-clock.xml:
4518         * docs/pwg/appendix-porting.xml:
4519         * docs/pwg/intro-preface.xml:
4520         * docs/pwg/other-base.xml:
4521         * docs/pwg/other-manager.xml:
4522         * docs/pwg/other-nton.xml:
4523         * docs/pwg/other-ntoone.xml:
4524         * docs/pwg/other-oneton.xml:
4525         * docs/pwg/pwg.xml:
4526           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
4527           demuxer), remove n-to-n (was never written), fix some code examples
4528           and links and update the porting section to include all this.
4529
4530 2005-07-19  Wim Taymans  <wim@fluendo.com>
4531
4532         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
4533         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
4534         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
4535         (gst_queue_src_activate_push), (gst_queue_change_state),
4536         (gst_queue_get_property):
4537         * gst/gstqueue.h:
4538         Propagate GstFlowReturn more intelligently upstream and output
4539         an ERROR/EOS when streaming stopped due to fatal error.
4540
4541 2005-07-19  Wim Taymans  <wim@fluendo.com>
4542
4543         * tools/gst-launch.c: (check_intr), (event_loop), (main):
4544         Don't block forever for the state change to complete, the
4545         pipeline already did with a sensible timeout.
4546
4547 2005-07-19  Wim Taymans  <wim@fluendo.com>
4548
4549         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4550         Make sure we never call the create function is we
4551         got deactivated.
4552
4553 2005-07-19  Andy Wingo  <wingo@pobox.com>
4554
4555         * gst/parse/parse.l: Attempt to solve bug #172815.
4556
4557 2005-07-19  Wim Taymans  <wim@fluendo.com>
4558
4559         * docs/design/part-clocks.txt:
4560         * docs/design/part-events.txt:
4561         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
4562         Small docs updates.
4563         Only update the seeking values when we are not
4564         busy streaming.
4565
4566 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
4567
4568         * gst/base/gstbasesrc.c: (gst_base_src_loop):
4569           Oops, ignore the result of gst_pad_push_event here.
4570
4571 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
4572
4573         * gst/base/gstbasesrc.c: (gst_base_src_loop),
4574         (gst_base_src_activate_push):
4575           Send discont event from the loop function, as pads
4576           aren't activated yet in the activate_push handler.
4577
4578         * gst/gstbin.c: (bin_bus_handler):
4579           Don't leak element name.
4580
4581 2005-07-18  Andy Wingo  <wingo@pobox.com>
4582
4583         * configure.ac: Use AS_LIBTOOL_TAGS.
4584
4585 2005-07-18  Wim Taymans  <wim@fluendo.com>
4586
4587         * docs/gst/gstreamer.types:
4588         Remove deleted types.
4589
4590 2005-07-18  Wim Taymans  <wim@fluendo.com>
4591
4592         * check/elements/gstfakesrc.c: (GST_START_TEST):
4593         * configure.ac:
4594         * gst/Makefile.am:
4595         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
4596         (init_popt_callback):
4597         * gst/gst.h:
4598         * gst/gst_private.h:
4599         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
4600         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
4601         * gst/gstbin.h:
4602         * gst/gstbus.h:
4603         * gst/gstconfig.h.in:
4604         * gst/gstelement.c: (gst_element_class_init),
4605         (gst_element_set_base_time), (gst_element_get_base_time),
4606         (iterator_fold_with_resync), (gst_element_change_state),
4607         (gst_element_dispose), (gst_element_get_bus):
4608         * gst/gstelement.h:
4609         * gst/gstelementfactory.h:
4610         * gst/gsterror.c: (_gst_core_errors_init):
4611         * gst/gsterror.h:
4612         * gst/gstevent.h:
4613         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
4614         * gst/gstindex.c:
4615         * gst/gstinfo.c: (_gst_debug_init):
4616         * gst/gstmessage.c: (_gst_message_copy):
4617         * gst/gstmessage.h:
4618         * gst/gstminiobject.h:
4619         * gst/gstobject.c:
4620         * gst/gstobject.h:
4621         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4622         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
4623         * gst/gstpad.h:
4624         * gst/gstparse.h:
4625         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
4626         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
4627         (gst_pipeline_get_last_stream_time):
4628         * gst/gstpipeline.h:
4629         * gst/gstpluginfeature.h:
4630         * gst/gstquery.h:
4631         * gst/gstscheduler.c:
4632         * gst/gstscheduler.h:
4633         * gst/gststructure.h:
4634         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
4635         (gst_task_finalize), (gst_task_func), (gst_task_create),
4636         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
4637         (gst_task_stop), (gst_task_pause):
4638         * gst/gsttask.h:
4639         * gst/gsttypefind.h:
4640         * gst/gsttypes.h:
4641         * gst/registries/gstlibxmlregistry.c: (load_feature),
4642         (gst_xml_registry_load), (gst_xml_registry_save_feature):
4643         * gst/registries/gstxmlregistry.c:
4644         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
4645         * gst/schedulers/threadscheduler.c:
4646         * libs/gst/control/dparammanager.h:
4647         * tools/gst-inspect.c: (print_element_list),
4648         (print_plugin_features), (print_element_features):
4649         * tools/gst-xmlinspect.c: (print_element_list),
4650         (print_plugin_info), (main):
4651         Removed plugable schedulers.
4652         Removed Scheduler/Manager from elements.
4653         Removed gsttypes.h, rearranged includes.
4654         Removed dependency pad<->element, element<>pipeline, and
4655         various others,  fix includes.
4656         implement gst_pad_get_parent() with gst_object_get_parent()
4657         Make GstTask sefcontained.
4658         Fix _get_state() on GstBin, it did not return ASYNC with a 0
4659         timeout.
4660         Fix endless loop in iterator_fold_with_resync.
4661
4662
4663 2005-07-18  Wim Taymans  <wim@fluendo.com>
4664
4665         * gst/Makefile.am:
4666         * gst/gstarch.h:
4667         Remove old file.
4668
4669 2005-07-18  Wim Taymans  <wim@fluendo.com>
4670
4671         * gst/Makefile.am:
4672         No more cothreads.h
4673
4674 2005-07-18  Wim Taymans  <wim@fluendo.com>
4675
4676         * gst/cothreads.c:
4677         * gst/cothreads.h:
4678         Let's remove these.
4679
4680 2005-07-18  Wim Taymans  <wim@fluendo.com>
4681
4682         * docs/design/part-dynamic.txt:
4683         * docs/design/part-events.txt:
4684         * docs/design/part-seeking.txt:
4685         Some more docs in the works.
4686
4687         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4688         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
4689         (gst_base_transform_setcaps), (gst_base_transform_get_size),
4690         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4691         (gst_base_transform_handle_buffer),
4692         (gst_base_transform_sink_activate_push),
4693         (gst_base_transform_src_activate_pull),
4694         (gst_base_transform_set_passthrough),
4695         (gst_base_transform_is_passthrough):
4696         Refcounting fixes.
4697
4698         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
4699         Cleanups.
4700
4701         * gst/gstevent.c: (gst_event_finalize):
4702         Set SRC to NULL.
4703
4704         * gst/gstutils.c: (gst_element_unlink),
4705         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
4706         (gst_pad_proxy_setcaps):
4707         * gst/gstutils.h:
4708         Add _get_parent_element() to get a pads parent as an element.
4709
4710 2005-07-18  Wim Taymans  <wim@fluendo.com>
4711
4712         * check/gst/gstbin.c: (GST_START_TEST):
4713         Remove bogus test.
4714
4715 2005-07-18  Wim Taymans  <wim@fluendo.com>
4716
4717         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
4718         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
4719         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
4720         (gst_base_sink_event), (gst_base_sink_do_sync),
4721         (gst_base_sink_chain), (gst_base_sink_loop),
4722         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
4723         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
4724         Refcounting fixes.
4725         Fix logic for returning ASYNC when not prerolled.
4726
4727 2005-07-18  Wim Taymans  <wim@fluendo.com>
4728
4729         * gst/gstqueue.c: (gst_queue_handle_sink_event):
4730         Fix nasty refcount bug.
4731
4732 2005-07-16 Philippe Khalaf <burger@speedy.org>
4733
4734         * gst/elements/gstfdsrc.c:
4735         * gst/elements/gstfdsrc.h:
4736         * gst/elements/gstelements.c:
4737         * gst/elements/Makefile.am:
4738         Ported fdsrc to 0.9.
4739
4740 2005-07-16  Wim Taymans  <wim@fluendo.com>
4741
4742         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4743         (gst_base_sink_do_sync):
4744         Fix compile error.
4745
4746 2005-07-16  Wim Taymans  <wim@fluendo.com>
4747
4748         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4749         (gst_base_sink_event), (gst_base_sink_get_times),
4750         (gst_base_sink_do_sync), (gst_base_sink_change_state):
4751         * gst/base/gstbasesink.h:
4752         Store and use discont values when syncing buffers as described
4753         in design docs.
4754         
4755         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4756         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
4757         (gst_base_src_activate_push):
4758         Push discont event when starting.
4759
4760         * gst/elements/gstidentity.c: (gst_identity_transform):
4761         Small cleanups.
4762
4763         * gst/gstbin.c: (gst_bin_change_state):
4764         Small cleanups in base_time  distribution.
4765
4766         * gst/gstelement.c: (gst_element_set_base_time),
4767         (gst_element_get_base_time), (gst_element_change_state):
4768         * gst/gstelement.h:
4769         Added methods for the base_time of the element.
4770         Some MT fixes.
4771
4772         * gst/gstpipeline.c: (gst_pipeline_send_event),
4773         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
4774         (gst_pipeline_get_last_stream_time):
4775         * gst/gstpipeline.h:
4776         MT fixes.
4777         Handle seeking as described in design doc, remove stream_time
4778         hack.
4779         Cleanups clock and stream_time selection code. Added accessors
4780         for the stream_time.
4781         
4782
4783 2005-07-16  Andy Wingo  <wingo@pobox.com>
4784
4785         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
4786         (#305291).
4787
4788 2005-07-16  Wim Taymans  <wim@fluendo.com>
4789
4790         * check/gst/gstbin.c: (GST_START_TEST):
4791         Make elements silent as the deep_notify refs the
4792         parent, which might make the test fail.
4793
4794         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
4795         Don't hold the lock for too long.
4796
4797 2005-07-16  Tim-Philipp MĂĽller  <tim at centricular dot net>
4798
4799         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
4800           Don't unref the caps we passed to gst_caps_make_writable() after
4801           passing them. gst_caps_make_writable() will do that for us.
4802
4803 2005-07-15  Andy Wingo  <wingo@pobox.com>
4804
4805         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
4806         (#157311).
4807
4808         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
4809         own marshalling function for the handoff signal. Properly type the
4810         buffer as a buffer. Fixes some warnings. Should do a more general
4811         solution.
4812         (gst_identity_class_init): Plug into the right marshaller.
4813
4814 2005-07-15  Wim Taymans  <wim@fluendo.com>
4815
4816         * docs/design/part-TODO.txt:
4817         * docs/design/part-clocks.txt:
4818         * docs/design/part-element-sink.txt:
4819         * docs/design/part-events.txt:
4820         * docs/design/part-gstpipeline.txt:
4821         Updated docs, mostly DISCONT related.
4822
4823 2005-07-15  Tim-Philipp MĂĽller  <tim at centricular dot net>
4824
4825         * docs/pwg/building-pads.xml:
4826           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
4827
4828 2005-07-15  Andy Wingo  <wingo@pobox.com>
4829
4830         * tools/gst-typefind.c: Update, add copyright block.
4831
4832         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
4833         Normalize and truncate caps before fixation.
4834
4835         * gst/gstcaps.h:
4836         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
4837         discards all but the first structure from its argument.
4838
4839 2005-07-15  Wim Taymans  <wim@fluendo.com>
4840
4841         * gst/base/gstbasetransform.c: (gst_base_transform_init),
4842         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
4843         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4844         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4845         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
4846         (gst_base_transform_chain), (gst_base_transform_change_state),
4847         (gst_base_transform_set_passthrough),
4848         (gst_base_transform_is_passthrough):
4849         * gst/base/gstbasetransform.h:
4850         Make passthrough work using the bufferpools.
4851         Changed API a bit, subclasses have to write into a buffer
4852         provided by the base class.
4853         More debug info in nego functions.
4854         
4855         * gst/elements/gstidentity.c: (gst_identity_init),
4856         (gst_identity_transform):
4857         Port to new base class.
4858
4859 2005-07-15  Wim Taymans  <wim@fluendo.com>
4860
4861         * gst/gstmessage.c: (gst_message_new_state_changed):
4862         * tools/gst-launch.c: (event_loop), (main):
4863         Totally dump messages in -launch with the -m option.
4864         Fix message name for State messages,
4865
4866 2005-07-14  Wim Taymans  <wim@fluendo.com>
4867
4868         * gst/base/gstbasesrc.c: (gst_base_src_loop):
4869         Post error messages on errors.
4870
4871 2005-07-14  Wim Taymans  <wim@fluendo.com>
4872
4873         * gst/gstcaps.c: (gst_caps_do_simplify):
4874         Remove debug info.
4875
4876         * gst/gsterror.h:
4877         Define error for stream stopped.
4878
4879         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
4880         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
4881         Do proper return values.
4882
4883         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4884         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
4885         (gst_pad_get_range):
4886         Better return values.
4887
4888         * gst/gstpad.h:
4889         Reorganise return values, add macro to check for fatal errors.
4890
4891         * gst/gstqueue.c: (gst_queue_chain):
4892         Return proper GstFlowReturn values,
4893
4894 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
4895
4896         * docs/gst/gstreamer-sections.txt:
4897         * docs/gst/gstreamer.types:
4898         * docs/gst/tmpl/gst.sgml:
4899         * docs/gst/tmpl/gstbasesink.sgml:
4900         * docs/gst/tmpl/gstbasesrc.sgml:
4901         * docs/gst/tmpl/gstbasetransform.sgml:
4902         * docs/gst/tmpl/gstbin.sgml:
4903         * docs/gst/tmpl/gstbuffer.sgml:
4904         * docs/gst/tmpl/gstcaps.sgml:
4905         * docs/gst/tmpl/gstclock.sgml:
4906         * docs/gst/tmpl/gstcompat.sgml:
4907         * docs/gst/tmpl/gstconfig.sgml:
4908         * docs/gst/tmpl/gstelement.sgml:
4909         * docs/gst/tmpl/gstelementdetails.sgml:
4910         * docs/gst/tmpl/gstelementfactory.sgml:
4911         * docs/gst/tmpl/gstenumtypes.sgml:
4912         * docs/gst/tmpl/gsterror.sgml:
4913         * docs/gst/tmpl/gstevent.sgml:
4914         * docs/gst/tmpl/gstfakesink.sgml:
4915         * docs/gst/tmpl/gstfakesrc.sgml:
4916         * docs/gst/tmpl/gstfilesink.sgml:
4917         * docs/gst/tmpl/gstfilesrc.sgml:
4918         * docs/gst/tmpl/gstfilter.sgml:
4919         * docs/gst/tmpl/gstformat.sgml:
4920         * docs/gst/tmpl/gstghostpad.sgml:
4921         * docs/gst/tmpl/gstimplementsinterface.sgml:
4922         * docs/gst/tmpl/gstindex.sgml:
4923         * docs/gst/tmpl/gstindexfactory.sgml:
4924         * docs/gst/tmpl/gstinfo.sgml:
4925         * docs/gst/tmpl/gstiterator.sgml:
4926         * docs/gst/tmpl/gstmacros.sgml:
4927         * docs/gst/tmpl/gstmemchunk.sgml:
4928         * docs/gst/tmpl/gstminiobject.sgml:
4929         * docs/gst/tmpl/gstobject.sgml:
4930         * docs/gst/tmpl/gstpad.sgml:
4931         * docs/gst/tmpl/gstpadtemplate.sgml:
4932         * docs/gst/tmpl/gstparse.sgml:
4933         * docs/gst/tmpl/gstpipeline.sgml:
4934         * docs/gst/tmpl/gstplugin.sgml:
4935         * docs/gst/tmpl/gstpluginfeature.sgml:
4936         * docs/gst/tmpl/gstquery.sgml:
4937         * docs/gst/tmpl/gstqueue.sgml:
4938         * docs/gst/tmpl/gstregistry.sgml:
4939         * docs/gst/tmpl/gstregistrypool.sgml:
4940         * docs/gst/tmpl/gstscheduler.sgml:
4941         * docs/gst/tmpl/gstschedulerfactory.sgml:
4942         * docs/gst/tmpl/gststructure.sgml:
4943         * docs/gst/tmpl/gstsystemclock.sgml:
4944         * docs/gst/tmpl/gsttaglist.sgml:
4945         * docs/gst/tmpl/gsttagsetter.sgml:
4946         * docs/gst/tmpl/gsttrace.sgml:
4947         * docs/gst/tmpl/gsttrashstack.sgml:
4948         * docs/gst/tmpl/gsttypefind.sgml:
4949         * docs/gst/tmpl/gsttypefindfactory.sgml:
4950         * docs/gst/tmpl/gsttypes.sgml:
4951         * docs/gst/tmpl/gsturihandler.sgml:
4952         * docs/gst/tmpl/gsturitype.sgml:
4953         * docs/gst/tmpl/gstutils.sgml:
4954         * docs/gst/tmpl/gstvalue.sgml:
4955         * docs/gst/tmpl/gstversion.sgml:
4956         * docs/gst/tmpl/gstxml.sgml:
4957         * docs/libs/tmpl/gstcontrol.sgml:
4958         * docs/libs/tmpl/gstdataprotocol.sgml:
4959         * docs/libs/tmpl/gstdparam.sgml:
4960         * docs/libs/tmpl/gstdplinint.sgml:
4961         * docs/libs/tmpl/gstdpman.sgml:
4962         * docs/libs/tmpl/gstdpsmooth.sgml:
4963         * docs/libs/tmpl/gstgetbits.sgml:
4964         * docs/libs/tmpl/gstunitconvert.sgml:
4965         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
4966         (gst_push_src_base_init), (gst_push_src_class_init),
4967         (gst_push_src_init), (gst_push_src_create):
4968         * gst/base/gstpushsrc.h:
4969         * gst/elements/gstelements.c:
4970         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
4971         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
4972         (gst_fake_sink_init), (gst_fake_sink_set_property),
4973         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
4974         (gst_fake_sink_event), (gst_fake_sink_preroll),
4975         (gst_fake_sink_render), (gst_fake_sink_change_state):
4976         * gst/elements/gstfakesink.h:
4977         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
4978         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
4979         (gst_fake_src_base_init), (gst_fake_src_class_init),
4980         (gst_fake_src_init), (gst_fake_src_event_handler),
4981         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
4982         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
4983         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
4984         (gst_fake_src_create_buffer), (gst_fake_src_create),
4985         (gst_fake_src_start), (gst_fake_src_stop):
4986         * gst/elements/gstfakesrc.h:
4987         * gst/elements/gstfilesink.c: (_do_init),
4988         (gst_file_sink_base_init), (gst_file_sink_class_init),
4989         (gst_file_sink_init), (gst_file_sink_dispose),
4990         (gst_file_sink_set_location), (gst_file_sink_set_property),
4991         (gst_file_sink_get_property), (gst_file_sink_open_file),
4992         (gst_file_sink_close_file), (gst_file_sink_query),
4993         (gst_file_sink_event), (gst_file_sink_render),
4994         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
4995         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
4996         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
4997         * gst/elements/gstfilesink.h:
4998         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
4999         (gst_file_src_class_init), (gst_file_src_init),
5000         (gst_file_src_finalize), (gst_file_src_set_location),
5001         (gst_file_src_set_property), (gst_file_src_get_property),
5002         (gst_file_src_map_region), (gst_file_src_map_small_region),
5003         (gst_file_src_create_mmap), (gst_file_src_create_read),
5004         (gst_file_src_create), (gst_file_src_is_seekable),
5005         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
5006         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
5007         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
5008         (gst_file_src_uri_handler_init):
5009         * gst/elements/gstfilesrc.h:
5010           more autistic cleanliness in functions/names/defines
5011
5012 2005-07-13  Andy Wingo  <wingo@pobox.com>
5013
5014         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
5015         source couldn't negotiate.
5016
5017         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
5018         connections again.
5019
5020         * gst/gstutils.h:
5021         * gst/gstutils.c (gst_element_link_pads_filtered): New old
5022         function. I am channeling Hades. Put your boots on suckers!!!
5023
5024 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5025
5026         * testsuite/caps/Makefile.am:
5027         * testsuite/caps/value_compare.c:
5028         * testsuite/caps/value_intersect.c:
5029         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5030           move two testsuite apps over to the check dir
5031
5032 2005-07-12  Wim Taymans  <wim@fluendo.com>
5033
5034         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5035         Added more debug info in the negotiate process.
5036
5037         * gst/gstmessage.h:
5038         Prepare for segment playback.
5039
5040         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
5041         Better debugging.
5042
5043         * gst/gstutils.c:
5044         Some more docs.
5045
5046         * tools/gst-launch.c: (main):
5047         NULL pipeline on errors.
5048
5049 2005-07-12  Andy Wingo  <wingo@pobox.com>
5050
5051         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
5052         not it comes from a malloc region. Make sure our copy gets freed.
5053
5054 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5055
5056         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5057         * check/gst/gstmessage.c: (GST_START_TEST):
5058         * check/gst/gststructure.c: (GST_START_TEST),
5059         (gst_structure_suite), (main):
5060           more testing
5061         * gst/gstelement.c: (gst_element_message_full):
5062           clean up GError and debug string now that they get copied
5063         * gst/gstmessage.c: (gst_message_new_error),
5064         (gst_message_new_warning), (gst_message_parse_error),
5065         (gst_message_parse_warning):
5066           use GST_TYPE_G_ERROR for structure_new, and take copies of
5067           arguments, so that we don't mess up refcounting
5068
5069 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5070
5071         * check/Makefile.am:
5072           add per-test valgrind targets
5073         * check/gst-libs/gdp.c: (GST_START_TEST),
5074         (gst_data_protocol_suite), (main):
5075           clean up
5076
5077 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5078
5079         * check/Makefile.am:
5080           instate more valgrindable tests
5081         * check/elements/gstfakesrc.c: (chain_func), (event_func),
5082         (GST_START_TEST), (fakesrc_suite):
5083         * check/gst/gstpad.c: (GST_START_TEST):
5084         * check/gst/gststructure.c: (GST_START_TEST):
5085           fix test leaks
5086         * docs/gst/tmpl/gstminiobject.sgml:
5087         * gst/gstpad.c: (gst_pad_finalize):
5088           fix the static mutex leak
5089
5090 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5091
5092         * check/Makefile.am:
5093           add two more tests for valgrinding
5094         * check/gst/gstvalue.c: (GST_START_TEST):
5095           test refcount of deserialized buffer, found a leak
5096         * docs/gst/gstreamer-docs.sgml:
5097         * docs/gst/gstreamer-sections.txt:
5098         * docs/gst/gstreamer.types:
5099         * docs/gst/tmpl/gstminiobject.sgml:
5100           add miniobject to docs
5101         * gst/gstminiobject.c:
5102           add some docs
5103         * gst/gstvalue.c: (gst_value_deserialize_buffer),
5104         (gst_string_unwrap):
5105           fix a hard-to-find invalid write for one of the tests
5106           fix a leak for deserialized buffers
5107
5108 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5109
5110         * docs/pwg/advanced-events.xml:
5111         * docs/pwg/advanced-request.xml:
5112         * docs/pwg/advanced-scheduling.xml:
5113         * docs/pwg/appendix-porting.xml:
5114         * docs/pwg/building-boiler.xml:
5115         * docs/pwg/intro-preface.xml:
5116         * docs/pwg/other-ntoone.xml:
5117           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
5118           of example code and explanation for pad activation, loop() and
5119           getrange() functions and a bit more. Remove old comments pointing
5120           to loop-functions.
5121         * examples/pwg/Makefile.am:
5122           Add loop/getrange examples.
5123
5124 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5125
5126         * configure.ac:
5127           check for valgrind binary + some fixes
5128         * check/gst.supp:
5129           valgrind suppressions for the tests
5130         * check/Makefile.am:
5131           add a valgrind: target that valgrinds the unit tests
5132         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
5133         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5134         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5135         * check/gst/gstghostpad.c:
5136           added some cleanup
5137         * check/gst/gstdata.c:
5138           removed
5139         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
5140         (thread_unref), (gst_mini_object_suite), (main):
5141           added
5142         * gst/gst.c: (gst_deinit):
5143         * gst/gst.h:
5144           add a method to clean up.
5145         * gst/gstsystemclock.c: (gst_system_clock_dispose),
5146         (gst_system_clock_obtain):
5147           allow for disposing the system clock.
5148         * tools/gst-launch.c: (main):
5149           deinit
5150
5151 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5152
5153         * docs/gst/tmpl/gstbasesrc.sgml:
5154         * docs/gst/tmpl/gstfakesrc.sgml:
5155         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5156         (gst_base_src_init), (gst_base_src_set_property),
5157         (gst_base_src_get_property), (gst_base_src_get_range),
5158         (gst_base_src_start):
5159         * gst/base/gstbasesrc.h:
5160           add num-buffers property
5161         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5162         (gst_fakesrc_init), (gst_fakesrc_set_property),
5163         (gst_fakesrc_get_property), (gst_fakesrc_create),
5164         (gst_fakesrc_start):
5165           remove num-buffers property
5166
5167 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5168
5169         * docs/gst/gstreamer-sections.txt:
5170         * docs/gst/tmpl/gstbasesink.sgml:
5171         * docs/gst/tmpl/gstbasesrc.sgml:
5172         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
5173         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
5174         (gst_base_sink_finalize), (gst_base_sink_set_clock),
5175         (gst_base_sink_set_property), (gst_base_sink_get_property),
5176         (gst_base_sink_handle_object), (gst_base_sink_event),
5177         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5178         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
5179         (gst_base_sink_loop), (gst_base_sink_deactivate),
5180         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
5181         (gst_base_sink_change_state):
5182         * gst/base/gstbasesink.h:
5183         * gst/base/gstbasesrc.h:
5184         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
5185         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
5186         (gst_filesink_init):
5187           more macro splitting
5188
5189 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5190
5191         * gst/gstelement.c: (gst_element_get_bus):
5192           add debug
5193         * tools/gst-launch.c: (check_intr), (event_loop):
5194           fix bus leaks
5195
5196 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5197
5198         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
5199           fix a caps leak
5200
5201 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5202
5203         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5204         (gst_base_src_finalize):
5205           add finalize method and clean up properly
5206         * gst/gstpipeline.c: (gst_pipeline_dispose):
5207           add debug
5208
5209 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5210
5211         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
5212         (gst_bin_suite):
5213           add more things to check
5214         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5215         * gst/gstelement.c:
5216           more debug
5217
5218 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5219
5220         * check/elements/gstfakesrc.c: (chain_func), (event_func),
5221         (GST_START_TEST), (fakesrc_suite):
5222         * check/gst-libs/gdp.c: (GST_START_TEST):
5223         * check/gst/gst.c: (GST_START_TEST):
5224         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5225         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5226         * check/gst/gstbus.c: (GST_START_TEST):
5227         * check/gst/gstcaps.c: (GST_START_TEST):
5228         * check/gst/gstdata.c: (GST_START_TEST):
5229         * check/gst/gstelement.c: (GST_START_TEST):
5230         * check/gst/gstghostpad.c: (GST_START_TEST):
5231         * check/gst/gstiterator.c: (GST_START_TEST):
5232         * check/gst/gstmessage.c: (GST_START_TEST):
5233         * check/gst/gstobject.c: (GST_START_TEST):
5234         * check/gst/gstpad.c: (GST_START_TEST):
5235         * check/gst/gststructure.c: (GST_START_TEST):
5236         * check/gst/gstsystemclock.c: (GST_START_TEST),
5237         (gst_systemclock_suite):
5238         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5239         * check/gst/gstvalue.c: (GST_START_TEST):
5240         * check/pipelines/cleanup.c: (GST_START_TEST):
5241         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5242         * check/states/sinks.c: (GST_START_TEST):
5243         * check/gstcheck.c: (gst_check_init):
5244         * check/gstcheck.h:
5245           add debugging category
5246           use GST_START_TEST now, so we add a debug line
5247
5248 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5249
5250         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
5251           add test for state change message on a bin
5252         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
5253           add another test
5254         * gst/gstbin.c: (gst_bin_init):
5255         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
5256         * gst/gstelement.c: (gst_element_post_message),
5257         (gst_element_set_state):
5258         * gst/gstelementfactory.c: (gst_element_factory_create):
5259         * gst/gstmessage.c: (gst_message_new):
5260         * gst/gstscheduler.c:
5261           various debugging additions and cleanups
5262
5263 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5264
5265         * check/Makefile.am:
5266         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
5267         (main):
5268           adding tests for elements
5269         * gst/gstelement.c: (gst_element_dispose):
5270
5271 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5272
5273         * gst/registries/gstlibxmlregistry.c: (load_feature):
5274           plug more leaks.  A simple gst_init() now is leakfree, yay.
5275
5276 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5277
5278         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
5279         (gst_xml_registry_load):
5280           plug another memleak
5281
5282 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5283
5284         * configure.ac:
5285           use GST_SET_ERROR_CFLAGS
5286         * docs/faq/cvs.xml:
5287           change to ERROR_CFLAGS
5288
5289 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5290
5291         * configure.ac:
5292           make GST_ERROR_CFLAGS overridable and re-enable Werror
5293         * docs/faq/cvs.xml:
5294           add a note about error CFLAGS
5295         * docs/gst/tmpl/gstfakesrc.sgml:
5296         * gst/elements/gstfakesrc.c:
5297           comment out some unused code
5298         * gst/gst.c: (split_and_iterate):
5299         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
5300         (load_feature):
5301           plug some memleaks
5302
5303 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5304
5305         * common/Makefile.am:
5306         * common/gtk-doc.mak:
5307         * docs/gst/Makefile.am:
5308           factor out gtk-doc.mak
5309
5310 2005-07-07  Wim Taymans  <wim@fluendo.com>
5311
5312         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
5313         (gst_thread_scheduler_dispose):
5314         Unlock the STREAM_LOCK completely.
5315
5316 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5317
5318         * check/Makefile.am:
5319         * check/elements/.cvsignore:
5320         * check/elements/gstfakesrc.c: (chain_func), (event_func),
5321         (START_TEST), (fakesrc_suite), (main):
5322         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5323         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
5324         (gst_fakesrc_create), (gst_fakesrc_start):
5325         * gst/elements/gstfakesrc.h:
5326           adding a first element test
5327
5328 2005-07-07  Andy Wingo  <wingo@pobox.com>
5329
5330         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
5331         debug message.
5332
5333 2005-07-07  Wim Taymans  <wim@fluendo.com>
5334
5335         * gst/gstquery.c:
5336         * gst/gstquery.h:
5337         Remove old types
5338
5339 2005-07-07  Wim Taymans  <wim@fluendo.com>
5340
5341         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5342         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
5343         Allow subclasses to implement their own negotiation.
5344
5345 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
5346
5347         * docs/design/part-gstbin.txt:
5348         * docs/design/part-gstpipeline.txt:
5349           Update design notes to reflect the movement of
5350           responsibility for bus handling from GstPipeline to
5351           GstBin
5352
5353 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
5354
5355         * configure.ac:
5356           Remove unnecessary queue2/3/4 examples.
5357
5358 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
5359
5360         * examples/Makefile.am:
5361         * examples/helloworld/helloworld.c: (event_loop), (main):
5362         * examples/queue/queue.c: (event_loop), (main):
5363         * examples/queue2/queue2.c: (main):
5364           Update a couple of the examples to work again.
5365
5366         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
5367         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
5368          Spelling corrections and extra debug.
5369         
5370         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
5371         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
5372         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
5373         * gst/gstbin.h:
5374         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
5375         (gst_pipeline_change_state):
5376         * gst/gstpipeline.h:
5377           Move the bus handler for children to the GstBin, and create a
5378           separate bus for receiving messages from children to the one the
5379           bus sends 'upwards' on.
5380
5381 2005-07-06  Wim Taymans  <wim@fluendo.com>
5382
5383         * gst/base/README:
5384         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
5385         (gst_base_sink_handle_object), (gst_base_sink_loop),
5386         (gst_base_sink_change_state):
5387         * gst/base/gstbasesink.h:
5388         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5389         (gst_base_src_init), (gst_base_src_setcaps),
5390         (gst_base_src_getcaps), (gst_base_src_loop),
5391         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
5392         (gst_base_src_start), (gst_base_src_change_state):
5393         * gst/base/gstbasesrc.h:
5394         Make basesrc negotiate.
5395         Handle the case where preroll fails in basesink.
5396         Update README.
5397
5398 2005-07-06  Wim Taymans  <wim@fluendo.com>
5399
5400         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
5401         Implement the fixate function.
5402         Clean up acceptcaps.
5403
5404 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5405
5406         * docs/pwg/building-filterfactory.xml:
5407         * docs/pwg/pwg.xml:
5408           Remove never-written filter-factory chapter; I'll add the various
5409           base classes to part 4 ("other element types") later on.
5410
5411 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5412
5413         * docs/pwg/advanced-negotiation.xml:
5414         * docs/pwg/building-boiler.xml:
5415         * docs/pwg/building-pads.xml:
5416         * docs/pwg/pwg.xml:
5417         * examples/pwg/Makefile.am:
5418           Add a chapter on caps negotiation, simplify the original code
5419           samples a bit w.r.t. caps negotiation, add link to the advanced
5420           section. Add a bunch of examples showing different use cases of
5421           different types of caps negotiation. Upstream renegotiation isn't
5422           fully documented yet since nobody knows how that works.
5423
5424 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5425
5426         * check/gst/gstpad.c:
5427         * check/gstcheck.c:
5428         * gst/gstpad.c: (gst_pad_get_internal_links_default):
5429           if pad has no parent, return NULL as list of internal links
5430
5431 2005-07-05  Andy Wingo  <wingo@pobox.com>
5432
5433         * gst/elements/gstfilesrc.c:
5434         * gst/elements/gstfakesrc.c: 
5435         * gst/base/gstpushsrc.c:
5436         * gst/base/gstbasesrc.h: 
5437         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
5438         
5439 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
5440
5441         * Makefile.am:
5442           better report generation target (lcov needs a patch)
5443
5444 2005-07-05  Andy Wingo  <wingo@pobox.com>
5445
5446         * gst/elements, testsuite: Null if we got it...
5447
5448 2005-07-05  Wim Taymans  <wim@fluendo.com>
5449
5450         * configure.ac:
5451         * libs/gst/dataprotocol/Makefile.am:
5452         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
5453         * libs/gst/dataprotocol/dataprotocol.h:
5454         * pkgconfig/Makefile.am:
5455         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
5456         * pkgconfig/gstreamer-dataprotocol.pc.in:
5457         Ported dataprotol to 0.9. 
5458         Added pkgconfig files.
5459
5460 2005-07-05  Andy Wingo  <wingo@pobox.com>
5461
5462         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
5463         Default to returning TRUE for the case when tranform_caps returns
5464         a fixed caps, like for identity or volume.
5465
5466         * check/gst/gstbus.c (pound_bus_with_messages): 
5467         * check/gst/gstmessage.c (START_TEST): 
5468         * check/pipelines/simple_launch_lines.c (got_handoff): Application
5469         message API change.
5470
5471         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
5472         logic weaks here: always run transform_caps, trying passthrough
5473         operation only if the original caps intersects with the transform.
5474
5475         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
5476         source and sink caps.
5477
5478         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
5479         Intersect the peer caps with the pad template before going into
5480         transform_caps.
5481         (gst_base_transform_transform_caps): More debugging.
5482
5483         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
5484         src argument.
5485
5486 2005-07-04  Edward Hervey  <edward@fluendo.com>
5487
5488         * gst/gstutils.c:
5489         * gst/gstutils.h:
5490         (gst_pad_add_*_probe): now returns the signal id for better wrapping
5491         in bindings.
5492
5493 2005-07-04  Andy Wingo  <wingo@pobox.com>
5494
5495         * check/gst/gstpad.c: Only set explicit caps on pads.
5496
5497 2005-07-01  Andy Wingo  <wingo@pobox.com>
5498
5499         * tests/network-clock.scm: Commentary update.
5500
5501         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
5502         Didn't really make sense, not implementable with basetransform,
5503         etc.
5504         (gst_identity_transform): Unref inbuf via make_writable. Feeble
5505         attempt at implementing the sync property, needs an unlock method.
5506
5507         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
5508         New func, by default returns the same caps (the identity
5509         transformation).
5510         (gst_base_transform_getcaps): Uses transform_caps to return
5511         something sensible.
5512         (gst_base_transform_setcaps): Complicated logic to get caps on
5513         both pads, even if they are different, and to call set_caps once
5514         for every time both pads get their caps set.
5515         (gst_base_transform_handle_buffer): Give the ref to the transform
5516         function. Allows in-place modification of the buffer.
5517
5518         * gst/base/gstbasetransform.h (transform_caps): New class method.
5519         Given caps on one side, what can I do on the other.
5520         (set_caps): Take two caps, one for each side of the element.
5521
5522         * gst/gstpad.h:
5523         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
5524         caps in place. This is safe because we can check the mutability of
5525         the caps, and a good idea because fixate functions are just called
5526         as a matter of last resort. (Not actually implemented.)
5527         (gst_pad_set_caps): If the caps we're setting is actually the same
5528         as the existing pad caps, just update the pointer without calling
5529         setcaps. Assert that caps is either NULL or fixed, as per the
5530         docs.
5531
5532         * gst/gstghostpad.c: Update for fixate changes.
5533
5534 2005-07-02  Andy Wingo  <wingo@pobox.com>
5535
5536         * gst/gstcaps.c:
5537         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
5538         two refcounts makes it immutable, which is enough. Doc more.
5539
5540 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
5541
5542         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
5543           Put the mini_object into GValue as a mini_object,
5544           not a gpointer, since that's how we declared
5545           the signal.
5546
5547 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5548
5549         * examples/pwg/Makefile.am:
5550           Fix buildbot again.
5551
5552 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5553
5554         * docs/pwg/building-testapp.xml:
5555           Add extra check.
5556         * examples/pwg/Makefile.am:
5557           Fix buildbot.
5558
5559 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5560
5561         * configure.ac:
5562         * examples/Makefile.am:
5563         * examples/pwg/Makefile.am:
5564         * examples/pwg/extract.pl:
5565           Enable building the PWG examples.
5566         * docs/pwg/advanced-interfaces.xml:
5567           Add URI interface stub.
5568         * docs/pwg/advanced-types.xml:
5569         * docs/pwg/other-autoplugger.xml:
5570         * docs/pwg/appendix-porting.xml:
5571         * docs/pwg/pwg.xml:
5572           Add porting guide (mostly stubs), remove autoplugging (see ADM).
5573         * docs/pwg/building-boiler.xml:
5574         * docs/pwg/building-chainfn.xml:
5575         * docs/pwg/building-pads.xml:
5576         * docs/pwg/building-props.xml:
5577         * docs/pwg/building-state.xml:
5578         * docs/pwg/building-testapp.xml:
5579           Update the building-*.xml parts for 0.9 changes. All examples
5580           code blocks compile in examples/pwg/*.
5581
5582 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5583
5584         * docs/manual/advanced-autoplugging.xml:
5585         * docs/manual/appendix-checklist.xml:
5586         * docs/manual/appendix-integration.xml:
5587         * docs/manual/highlevel-components.xml:
5588           Fix playbin/decodebin examples, update docs a bit, mention bus
5589           instead of signals in various places, mention kmplayer and
5590           kaffeine since they have a working GStreamer backend in the KDE
5591           section.
5592
5593 2005-06-30  Wim Taymans  <wim@fluendo.com>
5594
5595         * CHANGES-0.9:
5596         * docs/design/draft-ghostpads.txt:
5597         * docs/design/draft-push-pull.txt:
5598         * docs/design/draft-query.txt:
5599         * docs/design/part-TODO.txt:
5600         * docs/design/part-query.txt:
5601         Added CHANGES-0.9 doc, updated status of other docs.
5602         
5603         * gst/gstquery.h:
5604         Remove "hmm" macro
5605
5606 2005-06-30  Wim Taymans  <wim@fluendo.com>
5607
5608         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
5609         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
5610         (gst_base_sink_change_state):
5611         * gst/base/gstbasesink.h:
5612         Some tweaks, only EOS and a buffer complete a preroll.
5613
5614 2005-06-30  Andy Wingo  <wingo@pobox.com>
5615
5616         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
5617         activate_push down to the internal pad as well.
5618
5619 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
5620
5621         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5622
5623         * gst/gsttaginterface.c:
5624           Some documentation fixes (#307394 and #307397).
5625
5626 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
5627
5628         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5629
5630         * gst/gstvalue.c: (gst_value_intersect_list):
5631           Fix memleak (#309125).
5632
5633 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5634
5635         * docs/manual/advanced-dataaccess.xml:
5636           Fix fakesrc example to compile; doesn't work, bug somewhere...?
5637         * docs/manual/basics-pads.xml:
5638           Add reference for filtered caps to above chapter.
5639
5640 2005-06-30  Wim Taymans  <wim@fluendo.com>
5641
5642         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
5643         (gst_bin_change_state):
5644         Probes are gone.
5645         Lame attempt at making the state change function a bit
5646         more readable.
5647
5648 2005-06-30  Wim Taymans  <wim@fluendo.com>
5649
5650         * docs/design/part-clocks.txt:
5651         * docs/design/part-element-sink.txt:
5652         * docs/design/part-events.txt:
5653         * docs/design/part-preroll.txt:
5654         * docs/design/part-states.txt:
5655         Some more tweeks and additions to the docs.
5656
5657 2005-06-30  Wim Taymans  <wim@fluendo.com>
5658
5659         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5660         (default_have_data), (gst_pad_class_init), (gst_pad_init),
5661         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
5662         (gst_pad_check_pull_range), (gst_pad_get_range),
5663         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
5664         * gst/gstpad.h:
5665         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
5666         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5667         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5668         (gst_pad_remove_buffer_probe):
5669         Removed atomic operations, use existing LOCK.
5670         Move exception handling out of main code path.
5671
5672 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5673
5674         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5675         (silly_return_true_function), (gst_pad_class_init),
5676         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
5677         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
5678         (gst_pad_send_event):
5679           Fix accumulator, add default value by using _emitv() instead
5680           of _emit() for signal emission.
5681
5682 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5683
5684         * docs/manual/advanced-dataaccess.xml:
5685         * examples/manual/Makefile.am:
5686           Add probe example.
5687         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
5688           Make work (??).
5689
5690 2005-06-29  Tim-Philipp MĂĽller  <tim at centricular dot net>
5691
5692         * gst/elements/gstfilesink.c: (gst_filesink_render):
5693           Simplify code so that we don't have to handle short
5694           writes and return GST_FLOW_ERROR if an error occured.
5695
5696 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5697
5698         * docs/gst/gstreamer-docs.sgml:
5699           Remove probes more.
5700
5701 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5702
5703         * docs/gst/gstreamer-sections.txt:
5704         * docs/gst/tmpl/gstpad.sgml:
5705         * docs/gst/tmpl/gstprobe.sgml:
5706         * gst/Makefile.am:
5707         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5708         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
5709         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
5710         (gst_pad_push_event), (gst_pad_send_event):
5711         * gst/gstpad.h:
5712         * gst/gstutils.c: (gst_pad_add_data_probe),
5713         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5714         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5715         (gst_pad_remove_buffer_probe):
5716         * gst/gstutils.h:
5717           Remove old probes, add new g-signal-based probes and some utility
5718           functions.
5719
5720 2005-06-29  Edward Hervey  <edward@fluendo.com>
5721
5722         * gst/gstelementfactory.c:
5723         * gst/gstutils.h:
5724         * gst/gstutils.c:
5725         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
5726         the definition to the header file.
5727
5728 2005-06-29  Andy Wingo  <wingo@pobox.com>
5729
5730         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
5731         plugins from the source directory.
5732
5733 2005-06-29  Wim Taymans  <wim@fluendo.com>
5734
5735         * docs/gst/tmpl/gstbuffer.sgml:
5736         * docs/gst/tmpl/gstclock.sgml:
5737         Some fixings for blantently wrong text.
5738
5739 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5740
5741         * check/Makefile.am:
5742         * gst/gst.c: (add_path_func), (init_pre):
5743         * gst/gstregistry.c: (gst_registry_add_path):
5744           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
5745           only scan the GST_PLUGIN_PATH locations, and not add
5746           system locations
5747
5748 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5749
5750         * docs/gst/gstreamer-sections.txt:
5751         * docs/gst/tmpl/gstbasesrc.sgml:
5752         * gst/gstelement.c:
5753         * gst/gstelement.h:
5754         * gst/gstevent.c:
5755         * gst/gstutils.c:
5756           doc fixes
5757
5758 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5759
5760         * docs/manual/advanced-autoplugging.xml:
5761           Fix autoplugging example.
5762
5763 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5764
5765         * docs/manual/advanced-autoplugging.xml:
5766         * docs/manual/mime-world.fig:
5767           Try to get autoplugging working, fix type detection. Fix text
5768           in hello-world image.
5769
5770 2005-06-29  Wim Taymans  <wim@fluendo.com>
5771
5772         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5773         (gst_base_sink_change_state):
5774         Small debug line.
5775
5776         * gst/gstclock.h:
5777         map SIGNAL and BROADCAST to the right function.
5778
5779         * gst/gstobject.h:
5780         Remove redundant braces.
5781
5782         * gst/gstpad.c: (gst_pad_set_caps):
5783         Don't call setcaps function when reseting caps to NULL.
5784
5785         * gst/gstsystemclock.c: (gst_system_clock_dispose),
5786         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
5787         (gst_system_clock_id_unschedule):
5788         Use BROADCAST as this is what we do.
5789
5790 2005-06-29  Wim Taymans  <wim@fluendo.com>
5791
5792         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5793         We are actually prerolling before commiting the state
5794         change. 
5795
5796 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5797
5798         * docs/manual/advanced-clocks.xml:
5799         * docs/manual/advanced-interfaces.xml:
5800         * docs/manual/advanced-metadata.xml:
5801         * docs/manual/advanced-position.xml:
5802         * docs/manual/advanced-schedulers.xml:
5803         * docs/manual/advanced-threads.xml:
5804         * docs/manual/appendix-porting.xml:
5805         * docs/manual/basics-bins.xml:
5806         * docs/manual/basics-bus.xml:
5807         * docs/manual/basics-elements.xml:
5808         * docs/manual/basics-helloworld.xml:
5809         * docs/manual/basics-pads.xml:
5810         * docs/manual/highlevel-components.xml:
5811         * docs/manual/manual.xml:
5812         * docs/manual/thread.fig:
5813           Update (until threads/scheduling) Application Development Manual;
5814           remove GstThread, add GstBus, add simple porting checklist, add
5815           documentation for tag writing, clocks, make all examples until this
5816           part compile and run.
5817         * examples/manual/Makefile.am:
5818           Update from changes to Application Development Manual; add bus
5819           example, remove thread example.
5820
5821 2005-06-28  Wim Taymans  <wim@fluendo.com>
5822
5823         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
5824         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
5825         (gst_bus_source_dispatch):
5826         Add debugging messages.
5827         Make internal methods static.
5828         Handle the case where the bus is flushed in the handler.
5829         
5830         * gst/gstelement.c: (gst_element_get_bus):
5831         Fix refcount in _get_bus();
5832
5833         * gst/gstpipeline.c: (gst_pipeline_change_state),
5834         (gst_pipeline_get_clock_func):
5835         Clock refcounting fixes.
5836         Handle the case where preroll timed out more gracefully.
5837         
5838         * gst/gstsystemclock.c: (gst_system_clock_dispose):
5839         Clean up the internal thread in dispose. This is needed
5840         for subclasses that actually get disposed.
5841         
5842         * gst/schedulers/threadscheduler.c:
5843         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
5844         (gst_thread_scheduler_dispose):
5845         Free thread pool in dispose.
5846
5847 2005-06-28  Andy Wingo  <wingo@pobox.com>
5848
5849         * tests/network-clock-utils.scm (debug, print-event): New utils.
5850
5851         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
5852         (*packet-loss*): Unified loss probability.
5853         (network-time): Report out-of-band events.
5854
5855         * tests/plot-data: Add support for out-of-band events. Hack it
5856         into this script instead of passing it down the pipe; should fix
5857         this later.
5858
5859 2005-06-28  Wim Taymans  <wim@fluendo.com>
5860
5861         * docs/gst/gstreamer.types:
5862         * docs/gst/tmpl/gstbasesrc.sgml:
5863         * docs/gst/tmpl/gstpad.sgml:
5864         Docs fixes.
5865
5866 2005-06-28  Wim Taymans  <wim@fluendo.com>
5867
5868         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5869         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
5870         (gst_proxy_pad_do_fixatecaps):
5871         Correctly proxy the check_pull_range function.
5872
5873 2005-06-28  Andy Wingo  <wingo@pobox.com>
5874
5875         * tests/network-clock.scm: Removed need for slib.
5876         
5877 2005-06-28  Wim Taymans  <wim@fluendo.com>
5878
5879         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
5880         (gst_basesink_preroll_queue_flush):
5881         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
5882         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
5883         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5884         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5885         (gst_proxy_pad_set_property):
5886         * gst/gstpad.c:
5887         * gst/gstpad.h:
5888         * gst/gstqueue.c: (gst_queue_init):
5889         The deprecated pad loop function is removed now.
5890
5891 2005-06-28  Andy Wingo  <wingo@pobox.com>
5892
5893         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
5894         New parameters, simulate network packet loss.
5895
5896         * tests/network-clock-utils.scm: Initialize the RNG.
5897
5898 2005-06-28  Wim Taymans  <wim@fluendo.com>
5899
5900         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
5901         (gst_basesink_event), (gst_basesink_deactivate):
5902         Flushing the preroll queue always needs to unlock the waiters.
5903
5904 2005-06-28  Edward Hervey  <edward@fluendo.com>
5905
5906         * gst/gstpipeline.c: (gst_pipeline_send_event): 
5907         Wheen a seek was successful on a pipeline, set the stream_time to the
5908         seek offset in order to have a synchronized stream_time.
5909
5910 2005-06-28  Wim Taymans  <wim@fluendo.com>
5911
5912         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5913         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
5914         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
5915         (gst_proxy_pad_do_fixatecaps):
5916         Call wrapper function instead of just calling the function
5917         pointers. This takes care of any locking and whatmore.
5918
5919 2005-06-28  Wim Taymans  <wim@fluendo.com>
5920
5921         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
5922         (gst_pad_pull_range):
5923         * gst/gstpad.h:
5924         CONNECTED -> LINKED.
5925
5926 2005-06-28  Andy Wingo  <wingo@pobox.com>
5927
5928         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
5929         source-munging commit!!!
5930
5931         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
5932         (gst_object_sink): Take gpointer arguments, not GstObject --
5933         avoids casts. Like GLib.
5934
5935         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
5936         activate.
5937
5938 2005-06-27  Andy Wingo  <wingo@pobox.com>
5939
5940         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
5941         remaining buffer.
5942
5943         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
5944         returns a sorted copy of the trace list.
5945         (gst_alloc_trace_print_live): New API, only prints traces with
5946         live objects. Sort the list.
5947         (gst_alloc_trace_print_all): Sort the list.
5948         (gst_alloc_trace_print): Align columns.
5949
5950         * gst/elements/gstttypefindelement.c:
5951         * gst/elements/gsttee.c:
5952         * gst/base/gstbasesrc.c:
5953         * gst/base/gstbasesink.c:
5954         * gst/base/gstbasetransform.c:
5955         * gst/gstqueue.c: Adapt for pad activation changes.
5956
5957         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
5958         sched.
5959         (gst_pipeline_dispose): Drop ref on sched.
5960
5961         * gst/gstpad.c (gst_pad_init): Set the default activate func.
5962         (gst_pad_activate_default): Push mode by default.
5963         (pre_activate_switch, post_activate_switch): New stubs, things to
5964         do before and after switching activation modes on pads.
5965         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
5966         the pad's activate function to choose which mode to activate.
5967         Shortcut on deactivation and call the right function directly.
5968         (gst_pad_activate_pull): New API, (de)activates a pad in pull
5969         mode.
5970         (gst_pad_activate_push): New API, same for push mode.
5971         (gst_pad_set_activate_function) 
5972         (gst_pad_set_activatepull_function) 
5973         (gst_pad_set_activatepush_function): Setters for new API.
5974
5975         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
5976         Trace all miniobjects.
5977         (gst_mini_object_make_writable): Unref the arg if we copy, like
5978         gst_caps_make_writable.
5979
5980         * gst/gstmessage.c (_gst_message_initialize): No trace init.
5981
5982         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
5983         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
5984         Adapt for new pad API.
5985
5986         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
5987
5988         * gst/gstelement.h:
5989         * gst/gstelement.c (gst_element_iterate_src_pads) 
5990         (gst_element_iterate_sink_pads): New API functions.
5991         
5992         * gst/gstelement.c (iterator_fold_with_resync): New utility,
5993         should fold into gstiterator.c in some form.
5994         (gst_element_pads_activate): Simplified via use of fold and
5995         delegation of decisions to gstpad->activate.
5996
5997         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
5998         help in debugging.
5999
6000         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
6001         class once in init, like gstmessage. Didn't run into this issue
6002         but it seems correct. Don't initialize a trace, gstminiobject does
6003         that.
6004
6005         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
6006         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
6007         to the bus.
6008         (assert_live_count): New util function, uses alloc traces to check
6009         cleanup.
6010
6011         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
6012         To be modified when unlink drops the internal pad.
6013
6014 2005-06-27  Wim Taymans  <wim@fluendo.com>
6015
6016         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
6017         (gst_bin_change_state):
6018         Cleanup the get_state() function a little, make sure it
6019         iterates the same set of elements.
6020         Added stub iterate_state_order().
6021
6022 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
6023
6024         * docs/gst/gstreamer-docs.sgml:
6025         * docs/gst/gstreamer-sections.txt:
6026         * docs/gst/gstreamer.types:
6027         * docs/gst/tmpl/gstbasesink.sgml:
6028         * docs/gst/tmpl/gstbasesrc.sgml:
6029         * docs/gst/tmpl/gstbasetransform.sgml:
6030         * docs/gst/tmpl/gstelement.sgml:
6031         * docs/gst/tmpl/gstiterator.sgml:
6032         * gst/base/gstbasesrc.c:
6033         * gst/base/gstbasesrc.h:
6034         * gst/base/gstbasetransform.h:
6035         * gst/gstelement.c:
6036         * gst/gstiterator.h:
6037           adding basetransform and iterator docs
6038
6039 2005-06-27  Andy Wingo  <wingo@pobox.com>
6040
6041         * docs/design/part-activation.txt: Notes on how activation should
6042         work -- not quite implemented yet.
6043
6044 2005-06-25  Wim Taymans  <wim@fluendo.com>
6045
6046         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
6047         At least get the chain function correct, needs more
6048         fixing.
6049
6050 2005-06-25  Wim Taymans  <wim@fluendo.com>
6051
6052         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6053         (gst_basesink_handle_object), (gst_basesink_event),
6054         (gst_basesink_do_sync), (gst_basesink_handle_event),
6055         (gst_basesink_change_state):
6056         * gst/gsttask.h:
6057         Right, two problems here: ghostpads don't take locks and
6058         glib _rec_mutex_lock_full() with depth==0 still locks.
6059         Catch illegal locking and g_warn them.
6060
6061 2005-06-25  Wim Taymans  <wim@fluendo.com>
6062
6063         * check/states/sinks.c: (START_TEST), (gst_object_suite):
6064         Have to check for completion now...
6065
6066 2005-06-25  Wim Taymans  <wim@fluendo.com>
6067
6068         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6069         (gst_basesink_handle_object), (gst_basesink_event),
6070         (gst_basesink_do_sync), (gst_basesink_handle_event),
6071         (gst_basesink_change_state):
6072         * gst/gstpad.h:
6073         Unlock STREAM_LOCK whatever the recursion was.
6074
6075 2005-06-25  Wim Taymans  <wim@fluendo.com>
6076
6077         * gst/base/gstbasesink.c: (gst_basesink_set_property),
6078         (gst_basesink_preroll_queue_empty),
6079         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
6080         (gst_basesink_event), (gst_basesink_do_sync),
6081         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
6082         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
6083         (gst_basesink_change_state):
6084         Reworked the base sink, handle event and buffer serialisation
6085         correctly and removed possible deadlock.
6086         Handle EOS correctly.
6087
6088 2005-06-25  Wim Taymans  <wim@fluendo.com>
6089
6090         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
6091         (gst_pipeline_change_state):
6092         * tools/gst-launch.c: (check_intr), (event_loop), (main):
6093         Allow elements to post EOS in the state change function.
6094         Fix up -launch, make it exit the poll loop when the
6095         pipeline actually changed state.
6096         Fix up warning parsing in -launch.
6097
6098 2005-06-25  Wim Taymans  <wim@fluendo.com>
6099
6100         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
6101         (gst_tee_sink_activate):
6102         Core takes STREAM_LOCK for us now.
6103
6104 2005-06-25  Wim Taymans  <wim@fluendo.com>
6105
6106         * gst/gstelement.c: (gst_element_get_state_func),
6107         (gst_element_set_state):
6108         * gst/gstelement.h:
6109         * gst/gstmessage.c: (gst_message_parse_error),
6110         (gst_message_parse_warning):
6111         Keep track of current target state while performing a state
6112         change so that subclasses can do something interesting.
6113         Fix parsing of warning/error messages when GError is NULL.
6114
6115 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6116
6117         * docs/gst/Makefile.am:
6118         * docs/gst/gstreamer-docs.sgml:
6119         * docs/gst/gstreamer-sections.txt:
6120         * docs/gst/gstreamer.types:
6121         * docs/gst/tmpl/gstbasesink.sgml:
6122         * docs/gst/tmpl/gstbasesrc.sgml:
6123         * docs/gst/tmpl/gstbin.sgml:
6124         * docs/gst/tmpl/gstcompat.sgml:
6125         * docs/gst/tmpl/gstfakesink.sgml:
6126         * docs/gst/tmpl/gstfakesrc.sgml:
6127         * docs/gst/tmpl/gstfilesink.sgml:
6128         * docs/gst/tmpl/gstfilesrc.sgml:
6129         * docs/gst/tmpl/gstindex.sgml:
6130         * docs/manual/appendix-quotes.xml:
6131         * gst/base/gstbasesrc.h:
6132         * gst/elements/gstfakesrc.h:
6133         * gst/gstmessage.h:
6134           start pulling in base classes and elements in our docs
6135
6136 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
6137
6138         * docs/gst/Makefile.am:
6139         * docs/libs/Makefile.am:
6140           fixed make distcheck with gtk-doc 1.3
6141
6142 2005-06-23  Wim Taymans  <wim@fluendo.com>
6143
6144         * gst/gstelement.c: (gst_element_get_state_func),
6145         (gst_element_set_state), (gst_element_change_state):
6146         When the state did not change, also report NO_PREROLL
6147         when it matters.
6148
6149 2005-06-23  Wim Taymans  <wim@fluendo.com>
6150
6151         * gst/gstpad.c: (gst_pad_event_default):
6152         * gst/gstqueue.c: (gst_queue_loop):
6153         No unsafe task pausing please.
6154
6155 2005-06-23  Wim Taymans  <wim@fluendo.com>
6156
6157         * gst/schedulers/threadscheduler.c:
6158         (gst_thread_scheduler_task_start),
6159         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
6160         Ref the task before pushing it on the threadpool. This
6161         makes sure that we have a ref when the threadfunction is
6162         actually called.
6163
6164 2005-06-23  Andy Wingo  <wingo@pobox.com>
6165
6166         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
6167         offset is greater than the file's size.
6168
6169         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
6170         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
6171         * gst/gstobject.c (gst_object_class_init): Make the class lock
6172         recursive. Wim won't let me drop deep_notify. Decodebin works
6173         again, whoopdy doo.
6174
6175         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
6176         internal pad, and hacks accordingly. Doesn't do it on the target
6177         pad because we change its caps. Probably catches all cases of
6178         interest tho.
6179         (gst_ghost_pad_set_property): Connect to notify::caps as
6180         appropritate.
6181
6182         * tests/network-clock.scm (plot-simulation): Pipe data to the
6183         elite python skript.
6184
6185         * tests/network-clock-utils.scm (define-parameter): New macro,
6186         defines a parameter that can be set via the command line.
6187         (set-parameter!, parse-parameter-arguments): Command line args
6188         parser.
6189
6190         * tests/plot-data: Simple matplotlib-based plotter, takes input on
6191         stdin.
6192
6193 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
6194
6195         * gst/elements/gsttypefindelement.c:
6196         (gst_type_find_element_handle_event):
6197           Don't restart typefinding on a discont.
6198         * gst/gstelement.c: (gst_element_set_state):
6199           Debug spelling fix.
6200         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
6201           Allow changing mode of an active pad.
6202           Debug output fixes.
6203         * gst/registries/gstlibxmlregistry.c: (load_feature):
6204           Don't cast a static pad template to a normal pad template.
6205
6206 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6207
6208         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
6209         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
6210           remove gst_strtoll completely, since it didn't actually do
6211           anything more than what g_ascii_strtoull already does.
6212           check for range errors when deserializing
6213           do a cast for the unsigned cases; but further fixing needs
6214           a decision on what the interpretation of "(int)" and
6215           deserialization should be for values that fall outside the
6216           type's boundaries (ie, refuse, or interpret as casting)
6217
6218 2005-06-23  Wim Taymans  <wim@fluendo.com>
6219
6220         * check/Makefile.am:
6221         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
6222         * docs/design/part-live-source.txt:
6223         * docs/design/part-states.txt:
6224         * gst/base/gstbasesrc.c: (gst_basesrc_init),
6225         (gst_basesrc_set_live), (gst_basesrc_is_live),
6226         (gst_basesrc_get_range), (gst_basesrc_activate),
6227         (gst_basesrc_change_state):
6228         * gst/base/gstbasesrc.h:
6229         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6230         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
6231         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
6232         * gst/gstelement.c: (gst_element_get_state_func),
6233         (gst_element_set_state):
6234         * gst/gstelement.h:
6235         * gst/gsttypes.h:
6236         * tools/gst-launch.c: (event_loop), (main):
6237         Added support for live sources and other elements that
6238         cannot do preroll.
6239         Updated design docs, added live-source design doc.
6240         Implemented live source functionality in basesrc
6241         Fix error condition in _bin_get_state()
6242         Implement live source handling in -launch.
6243         Added check for live sources.
6244         Fixed case in GstBin where elements were changed state
6245         multiple times.
6246
6247
6248 2005-06-23  Andy Wingo  <wingo@pobox.com>
6249
6250         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
6251         borken refcounting.
6252
6253         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
6254         gst_caps_replace takes care of this for us.
6255
6256         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
6257         gst_pad_set_caps on the target, not just its setcaps() function.
6258
6259         * tests/network-clock.scm: 
6260         * tests/network-clock-utils.scm: A network clock simulator.
6261         Something of an algorithmic testbed before doing something in C.
6262
6263 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6264
6265         * check/Makefile.am:
6266         * check/gst/capslist.h:
6267           copy over from 0.8, and add two with bitmasks specified with
6268           (int) 0xFF...
6269         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
6270           add test to parse everything from capslist.h
6271         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
6272         (main):
6273           add test for structure deserialization
6274         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
6275           add tests for deserialization of strings to int types
6276         * gst/gststructure.c: (gst_structure_nth_field_name):
6277         * gst/gststructure.h:
6278           add a way to get the name of a field referenced by index
6279         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
6280           instead of checking if the resulting long long lies between
6281           min and max, we check if the long long would fit into
6282           a number of bytes for the final type.
6283           This fixes cases where a string represents 2^32 - 1, which
6284           when cast to int would be the (valid) -1, but is bigger than
6285           G_MAXINT
6286
6287 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6288
6289         * gst/parse/grammar.y:
6290           add a log line for type deserialization
6291
6292 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6293
6294         * check/gst/gstvalue.c: (START_TEST):
6295         * gst/gstvalue.c: (gst_value_deserialize):
6296           return long long, not int, so gint64 deserialization actually
6297           works.  Is there any flag that makes the compiler check this ?
6298           Fixes #308559
6299
6300 2005-06-22  Wim Taymans  <wim@fluendo.com>
6301
6302         * gst/gstbuffer.h:
6303         Added convenience macros for setting buffers in GValue.
6304
6305 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6306
6307         * check/gst/.cvsignore:
6308         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
6309           add a test deserializing int64, and comment part out because
6310           it fails, yay !
6311
6312 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6313
6314         * check/Makefile.am:
6315         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
6316         * testsuite/Makefile.am:
6317         * testsuite/caps/Makefile.am:
6318         * testsuite/caps/value_serialize.c:
6319         * testsuite/test_gst_init.c:
6320           move a value_serialize test over
6321
6322 2005-06-20  Wim Taymans  <wim@fluendo.com>
6323
6324         * gst/gstpad.c:
6325         Small doc updates.
6326         
6327         * gst/gstvalue.c: (gst_value_compare_buffer),
6328         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
6329         (gst_value_compare_flags), (gst_value_serialize_flags),
6330         (gst_value_deserialize_flags), (_gst_value_initialize):
6331         Fix serialisation of buffers, they are not boxed types anymore
6332
6333 2005-06-20  Wim Taymans  <wim@fluendo.com>
6334
6335         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
6336         Testcase to show error in buffer-on-caps serialisation.
6337
6338 2005-06-20  Andy Wingo  <wingo@pobox.com>
6339
6340         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
6341         will be adding to later.
6342
6343         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
6344         if its socks fill with rocks.
6345         (gst_system_clock_obtain): Set the name on object construction.
6346         Avoid double-checked locking.
6347
6348 2005-06-20  Tim-Philipp MĂĽller  <tim at centricular dot net>
6349
6350         * gst/gsturi.c: (gst_element_make_from_uri):
6351           Fix potential endless loop.
6352
6353 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6354
6355         * check/Makefile.am:
6356           add gsttag
6357         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
6358         (main):
6359           move over from testsuite dir and clean up
6360         * configure.ac:
6361         * gst/gsttag.c:
6362         * testsuite/Makefile.am:
6363         * testsuite/tags/.cvsignore:
6364         * testsuite/tags/Makefile.am:
6365         * testsuite/tags/merge.c:
6366           remove testsuite/tags
6367
6368 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6369
6370         * docs/gst/gstreamer-sections.txt:
6371         * docs/gst/tmpl/gstenumtypes.sgml:
6372         * win32/gstenumtypes.c:
6373           clean up documentation build a little
6374
6375 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6376
6377         * check/gstcheck.h:
6378           add macros for checking refcounts on objects and caps
6379         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
6380           add some more unit tests
6381         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6382         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
6383           fix leaked refcounts (I hope :)) so unittest works
6384         * gst/gstpad.h:
6385           whitespace removal
6386
6387 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6388
6389         * configure.ac: back to HEAD
6390
6391 === release 0.9.1 ===
6392
6393 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
6394
6395         * NEWS:
6396         * RELEASE:
6397           updated
6398
6399 2005-06-17  Andy Wingo  <wingo@pobox.com>
6400
6401         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
6402         assert; it's always possible that the pad gets deactivated in
6403         between the checks in gstpad.c and the implementation. Rely on
6404         finish_preroll() to return a FLUSHING or similar instead of on the
6405         assert.
6406         
6407         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
6408         clock and post an EOS message if we come out of finish_preroll in
6409         the playing state.
6410
6411 2005-06-16  David Schleef  <ds@schleef.org>
6412
6413         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6414         (gst_capsfilter_set_property): Allow NULL as possible value
6415         for filter_caps property, indicating GST_CAPS_ANY.
6416
6417 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6418
6419         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
6420           fix debug output
6421         * gst/schedulers/Makefile.am:
6422           use libgst prefix
6423         * gstreamer.spec.in:
6424           fix spec for it
6425
6426 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6427
6428         * gstreamer.spec.in:
6429           clean up
6430
6431 2005-06-08  Andy Wingo  <wingo@pobox.com>
6432
6433         * gst/gstutils.c: RPAD fixes all around.
6434         (gst_element_link_pads): Refcounting fixes.
6435
6436         * tools/gst-inspect.c:
6437         * tools/gst-xmlinspect.c:
6438         * parse/grammar.y:
6439         * gst/base/gsttypefindhelper.c:
6440         * gst/base/gstbasesink.c:
6441         * gst/gstqueue.c: RPAD fixes.
6442
6443         * gst/gstghostpad.h:
6444         * gst/gstghostpad.c: New ghost pad implementation as full proxy
6445         pads. The tricky thing is they provide both source and sink
6446         interfaces, since they proxy the internal pad for the external
6447         pad, and vice versa. Implement with lower-level ProxyPad objects,
6448         with the interior proxy pad as a child of the exterior ghost pad.
6449         Should write a doc on this.
6450         
6451         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
6452         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
6453         gst_object API.
6454         
6455         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
6456         pads are real pads. No ghost pads in this file. Not documenting
6457         the myriad s/RPAD/PAD/ and REALIZE fixes.
6458         (gst_pad_class_init): Add properties for "direction" and
6459         "template". Both are construct-only, so they can't change during
6460         the life of the pad. Fixes properly deriving from GstPad.
6461         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
6462         derived objects, just set properties when creating the objects via
6463         g_object_new.
6464         (gst_pad_get_parent): Implement as a function, return NULL if the
6465         parent is not an element.
6466         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
6467         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
6468         
6469         * gst/gstobject.c (gst_object_class_init): Make name a construct
6470         property. Don't set it in the object init.
6471
6472         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
6473         with UNKNOWN direction.
6474         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
6475         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
6476         (gst_element_remove_pad): Remove ghost-pad special cases.
6477         (gst_element_pads_activate): Remove rpad cruft.
6478
6479         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
6480         catch the pad's-parent-not-an-element case.
6481
6482         * gst/gst.h: Include gstghostpad.h.
6483
6484         * gst/gst.c (init_post): No more real, ghost pads.
6485
6486         * gst/Makefile.am: Add gstghostpad.[ch].
6487
6488         * check/Makefile.am:
6489         * check/gst/gstbin.c:
6490         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
6491         into a bin creates ghost pads, and that the refcounts are right.
6492         Partly moved from gstbin.c.
6493
6494 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6495
6496         * check/gst-libs/.cvsignore:
6497         * check/gst/.cvsignore:
6498         * check/pipelines/.cvsignore:
6499           ignore more
6500         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
6501         (START_TEST), (cleanup_suite), (main):
6502           add some tests related to cleanup after running pipelines
6503
6504 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6505
6506         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
6507           add a testsuite for GstBuffer
6508
6509 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6510
6511         * gst/gstminiobject.h:
6512           add defines for accessing the refcount
6513
6514 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
6515
6516         * Makefile.am: added support for html unit test coverage reports
6517
6518 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
6519
6520         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
6521           Free existing caps if the capsfilter changes. Add a FIXME about
6522           setting those caps on the pads.
6523
6524         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
6525           Before adding a ghost pad to a parent bin, check that there isn't
6526           already one for the element on the bin. Prevents infinite recursion
6527           when using decodebin in parse pipelines. Andy says he'll rewrite the
6528           way this works anyway, so ignore the hack.
6529
6530 2005-06-02  Andy Wingo  <wingo@pobox.com>
6531
6532         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
6533         file size, pass it on to the type find helper.
6534
6535         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
6536         segment_start and segment_end properly according to the seek
6537         method. Segment_end is still a bit flaky because offset can be
6538         negative for CUR and END cases, but it takes -1 as an "unset"
6539         value.
6540
6541 2005-06-02  Wim Taymans  <wim@fluendo.com>
6542
6543         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
6544         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
6545         (gst_basesink_activate):
6546         * gst/base/gstbasesink.h:
6547         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6548         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
6549         (gst_pad_query), (gst_pad_start_task):
6550         * gst/gstpad.h:
6551         * gst/gstqueue.c: (gst_queue_bufferalloc),
6552         (gst_queue_handle_sink_event), (gst_queue_chain):
6553         Bufferalloc: return GstFlowReturn to more accuratly report
6554         why allocation failed.
6555
6556 2005-06-02  Wim Taymans  <wim@fluendo.com>
6557
6558         * gst/gstpipeline.c: (gst_pipeline_send_event):
6559         Take snapshot of state without blocking.
6560
6561 2005-06-02  Wim Taymans  <wim@fluendo.com>
6562
6563         * docs/design/part-TODO.txt:
6564         * docs/design/part-caps.txt:
6565         * docs/design/part-clocks.txt:
6566         * docs/design/part-negotiation.txt:
6567         * docs/design/part-preroll.txt:
6568         Small doc updates 
6569
6570 2005-05-30  Wim Taymans  <wim@fluendo.com>
6571
6572         * gst/elements/gstidentity.c: (gst_identity_event),
6573         (gst_identity_transform), (gst_identity_get_property):
6574         Protect last_message property as it is accessed from
6575         multiple threads.
6576
6577 2005-05-30  Wim Taymans  <wim@fluendo.com>
6578
6579         * gst/gstelement.c: (gst_element_init),
6580         (gst_element_pads_activate), (gst_element_change_state):
6581         Slicker pad activation code.
6582
6583 2005-05-30  Wim Taymans  <wim@fluendo.com>
6584
6585         * gst/Makefile.am:
6586         * gst/gstelement.h:
6587         * gst/gstelementfactory.h:
6588         * gst/gsttypes.h:
6589         Move elementfactory methods to separate .h file.
6590
6591 2005-05-30  Wim Taymans  <wim@fluendo.com>
6592
6593         * docs/design/part-overview.txt:
6594         * gst/gstsystemclock.h:
6595         Small typo fixes, doc updates.
6596
6597 2005-05-30  Wim Taymans  <wim@fluendo.com>
6598
6599         * gst/gst.c: (gst_init_get_popt_table), (init_post),
6600         (init_popt_callback):
6601         Remove cpu-opt flag.
6602
6603 2005-05-30  Wim Taymans  <wim@fluendo.com>
6604
6605         * gst/gstbuffer.c: (gst_subbuffer_finalize),
6606         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
6607         * gst/gstbuffer.h:
6608         Avoid typechecking in places where not needed.
6609         Added accessor for malloc_data.
6610
6611 2005-05-30  Wim Taymans  <wim@fluendo.com>
6612
6613         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
6614         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
6615         (gst_pad_configure_sink), (gst_pad_configure_src),
6616         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
6617         (gst_pad_start_task):
6618         Propagate errors from _set_caps() in configure_src/sink
6619         functions instead of returning TRUE.
6620         FLUSH events can travel up and downstream
6621
6622
6623 2005-05-30  Wim Taymans  <wim@fluendo.com>
6624
6625         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
6626         (gst_basesink_activate):
6627         Handle EOS in preroll.
6628
6629 2005-05-30  Wim Taymans  <wim@fluendo.com>
6630
6631         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6632         (gst_queue_loop), (gst_queue_handle_src_event):
6633         Remove old pieces of code
6634         Flushing the queue in an upstream event is a very bad idea.
6635
6636 2005-05-26  Andy Wingo  <wingo@pobox.com>
6637
6638         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
6639         gst_value_set_mini_object so as to add a ref on the object (which
6640         will be removed when the value is unset).
6641
6642         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
6643         arg type in ::handoff.
6644
6645         * gst/gstelement.c (gst_element_change_state): Also deactivate
6646         pads in READY->NULL, just in case the element didn't make it to
6647         PAUSED. Wingo tested, Wim approved.
6648
6649 2005-05-26  Wim Taymans  <wim@fluendo.com>
6650
6651         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6652         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
6653         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
6654         A flushing pad cannot be used to alloc_buffer from.
6655
6656 2005-05-26  Wim Taymans  <wim@fluendo.com>
6657
6658         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
6659         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
6660         (gst_bus_source_dispatch), (gst_bus_source_finalize),
6661         (gst_bus_create_watch), (gst_bus_add_watch_full):
6662         * gst/gstbus.h:
6663         Implement a real GSource and use g_main_context_wakeup() to
6664         signal new messages instead of the socketpair.
6665
6666 2005-05-25  Wim Taymans  <wim@fluendo.com>
6667
6668         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
6669         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
6670         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6671         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
6672         (gst_pad_send_event), (gst_pad_start_task):
6673         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
6674         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
6675         (gst_queue_sink_activate), (gst_queue_src_activate),
6676         (gst_queue_change_state):
6677         * gst/gstqueue.h:
6678         Fix state changes for non sinks. We now change sinks, then elements
6679         with unconnected srcpads, then the rest.
6680         More efficient queue unlocking in flush and state changes.
6681         Set the pad activate mode even if it does not have an activate
6682         function.
6683
6684 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6685
6686         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
6687           Don't go in pull mode for non-seekable sources.
6688         * gst/elements/gsttypefindelement.h:
6689         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
6690         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
6691         (free_entry), (stop_typefinding),
6692         (gst_type_find_element_handle_event), (find_peek),
6693         (gst_type_find_element_chain), (do_pull_typefind),
6694         (gst_type_find_element_change_state):
6695           Allow typefinding (w/o seeking) in push-mode, simplified version
6696           of what was in 0.8.
6697         * gst/gstutils.c: (gst_buffer_join):
6698         * gst/gstutils.h:
6699           gst_buffer_join() from 0.8.
6700
6701 2005-05-25  Wim Taymans  <wim@fluendo.com>
6702
6703         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6704         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
6705         (gst_pad_send_event), (gst_pad_start_task):
6706         Disable attempt at mode switching until it is figured out.
6707
6708 2005-05-25  Wim Taymans  <wim@fluendo.com>
6709
6710         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
6711         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
6712         (gst_basesink_finish_preroll), (gst_basesink_chain),
6713         (gst_basesink_loop), (gst_basesink_activate),
6714         (gst_basesink_change_state):
6715         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
6716         (gst_basesrc_get_range), (gst_basesrc_loop),
6717         (gst_basesrc_activate):
6718         * gst/elements/gsttee.c: (gst_tee_sink_activate):
6719         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
6720         (gst_real_pad_init), (gst_real_pad_set_property),
6721         (gst_real_pad_get_property), (gst_pad_set_active),
6722         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
6723         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
6724         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
6725         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
6726         (gst_pad_event_default_dispatch), (gst_pad_event_default),
6727         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
6728         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
6729         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
6730         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
6731         (gst_pad_stop_task):
6732         * gst/gstpad.h:
6733         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6734         (gst_queue_loop), (gst_queue_src_activate):
6735         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
6736         (gst_task_get_state):
6737         * gst/gsttask.h:
6738         * gst/schedulers/threadscheduler.c:
6739         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
6740         Implement gst_pad_pause/start/stop_task(), take STREAM lock
6741         in task function.
6742         Remove ACTIVE pad flag, use FLUSHING everywhere
6743         Added _pad_chain(), _pad_get_range() to call chain/getrange 
6744         functions.
6745         Add locks around IS_FLUSHING when reading.
6746         Take STREAM lock in chain(), get_range() functions so plugins
6747         don't need to take it anymore.
6748         
6749
6750
6751 2005-05-25  Wim Taymans  <wim@fluendo.com>
6752
6753         * tools/gst-launch.c: (event_loop):
6754         Unref message after using its contents instead of
6755         before.
6756
6757 2005-05-24  Wim Taymans  <wim@fluendo.com>
6758
6759         * docs/design/draft-ghostpads.txt:
6760         * docs/design/draft-push-pull.txt:
6761         * docs/design/draft-query.txt:
6762         * docs/design/part-overview.txt:
6763         Docs updates, added general overview doc.
6764
6765 2005-05-21  David Schleef  <ds@schleef.org>
6766
6767         * docs/gst/tmpl/old/GstBin.sgml:
6768         * docs/gst/tmpl/old/GstBuffer.sgml:
6769         * docs/gst/tmpl/old/GstCaps.sgml:
6770         * docs/gst/tmpl/old/GstClock.sgml:
6771         * docs/gst/tmpl/old/GstCompat.sgml:
6772         * docs/gst/tmpl/old/GstData.sgml:
6773         * docs/gst/tmpl/old/GstElement.sgml:
6774         * docs/gst/tmpl/old/GstEvent.sgml:
6775         * docs/gst/tmpl/old/GstIndex.sgml:
6776         * docs/gst/tmpl/old/GstStructure.sgml:
6777         * docs/gst/tmpl/old/GstTag.sgml:
6778         * docs/gst/tmpl/old/cothreads.sgml:
6779         * docs/gst/tmpl/old/cothreads_compat.sgml:
6780         * docs/gst/tmpl/old/gettext.sgml:
6781         * docs/gst/tmpl/old/gobject2gtk.sgml:
6782         * docs/gst/tmpl/old/grammar.tab.sgml:
6783         * docs/gst/tmpl/old/gst-i18n-app.sgml:
6784         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
6785         * docs/gst/tmpl/old/gst_private.sgml:
6786         * docs/gst/tmpl/old/gstaggregator.sgml:
6787         * docs/gst/tmpl/old/gstarch.sgml:
6788         * docs/gst/tmpl/old/gstatomic_impl.sgml:
6789         * docs/gst/tmpl/old/gstbufferstore.sgml:
6790         * docs/gst/tmpl/old/gstdata_private.sgml:
6791         * docs/gst/tmpl/old/gstdisksink.sgml:
6792         * docs/gst/tmpl/old/gstdisksrc.sgml:
6793         * docs/gst/tmpl/old/gstelementfactory.sgml:
6794         * docs/gst/tmpl/old/gstextratypes.sgml:
6795         * docs/gst/tmpl/old/gstfakesink.sgml:
6796         * docs/gst/tmpl/old/gstfakesrc.sgml:
6797         * docs/gst/tmpl/old/gstfdsink.sgml:
6798         * docs/gst/tmpl/old/gstfdsrc.sgml:
6799         * docs/gst/tmpl/old/gstfilesink.sgml:
6800         * docs/gst/tmpl/old/gstfilesrc.sgml:
6801         * docs/gst/tmpl/old/gsthttpsrc.sgml:
6802         * docs/gst/tmpl/old/gstidentity.sgml:
6803         * docs/gst/tmpl/old/gstindexfactory.sgml:
6804         * docs/gst/tmpl/old/gstmarshal.sgml:
6805         * docs/gst/tmpl/old/gstmd5sink.sgml:
6806         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
6807         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
6808         * docs/gst/tmpl/old/gstpadtemplate.sgml:
6809         * docs/gst/tmpl/old/gstpipefilter.sgml:
6810         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
6811         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
6812         * docs/gst/tmpl/old/gstshaper.sgml:
6813         * docs/gst/tmpl/old/gstspider.sgml:
6814         * docs/gst/tmpl/old/gstspideridentity.sgml:
6815         * docs/gst/tmpl/old/gststatistics.sgml:
6816         * docs/gst/tmpl/old/gsttee.sgml:
6817         * docs/gst/tmpl/old/gsttimecache.sgml:
6818         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
6819         * docs/gst/tmpl/old/gstxmlregistry.sgml:
6820         * docs/gst/tmpl/old/gthread-cothreads.sgml:
6821         * docs/gst/tmpl/old/types.sgml:
6822           I didn't intend to add these or check them in.
6823
6824 2005-05-19  David Schleef  <ds@schleef.org>
6825
6826         * configure.ac: Use -no-common everywhere.  In a sane world, it
6827           would be the default in libtool, because without it, you can't
6828           build DLLs on Windows.
6829         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
6830         * docs/gst/gstreamer-sections.txt:
6831         * docs/gst/tmpl/gstcpu.sgml:
6832         * docs/gst/tmpl/gstdata.sgml:
6833         * docs/gst/tmpl/gstthread.sgml:
6834
6835 2005-05-19  David Schleef  <ds@schleef.org>
6836
6837         * gst/gstminiobject.c: (gst_value_set_mini_object),
6838         (gst_value_take_mini_object), (gst_value_get_mini_object):
6839         * gst/gstminiobject.h: Add GValue set/get functions.
6840
6841 2005-05-19  Wim Taymans  <wim@fluendo.com>
6842
6843         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
6844         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
6845         (gst_subbuffer_init), (gst_buffer_is_span_fast):
6846         * gst/gstbuffer.h:
6847         * gst/gstbus.c: (gst_bus_post):
6848         * gst/gstelement.c: (gst_element_get_random_pad):
6849         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
6850         Make subbufer unref the parent in finalize.
6851         some more debugging info.
6852
6853
6854 2005-05-19  Wim Taymans  <wim@fluendo.com>
6855
6856         * gst/base/gstbasesink.c: (gst_basesink_class_init),
6857         (gst_basesink_init), (gst_basesink_finalize),
6858         (gst_basesink_activate), (gst_basesink_change_state):
6859         Don't free preroll queue too early.
6860
6861 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6862
6863         * gst/Makefile.am:
6864         * gst/ROADMAP:
6865           Hi, I'm outdated. Please shoot me.
6866
6867 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6868
6869         * gst/gstpipeline.c: (gst_pipeline_send_event):
6870           Do not access variables after they have been deleted.
6871
6872 2005-05-19  Wim Taymans  <wim@fluendo.com>
6873
6874         * tools/gst-inspect.c: (print_plugin_features):
6875         A plugin feature does unfortunatly not use the
6876         object name yet...
6877
6878 2005-05-18  Wim Taymans  <wim@fluendo.com>
6879
6880         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
6881         Port _span() functions to new subbuffers.
6882
6883 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6884
6885         * gst/gstbin.c: (gst_bin_add_func):
6886           Fix clock settery in bins when adding kids after the clock has
6887           been selected.
6888
6889 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6890
6891         * gst/elements/gstidentity.c: (gst_identity_class_init):
6892           Workaround until signals support GstMiniObject.
6893
6894 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
6895
6896         * gst/gstbuffer.c:
6897         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
6898
6899 2005-05-18  Wim Taymans  <wim@fluendo.com>
6900
6901         * gst/base/Makefile.am:
6902         * gst/base/gstadapter.c: (gst_adapter_base_init),
6903         (gst_adapter_class_init), (gst_adapter_init),
6904         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
6905         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
6906         (gst_adapter_flush), (gst_adapter_available),
6907         (gst_adapter_available_fast):
6908         * gst/base/gstadapter.h:
6909         Ported and added adapter to the base classes.
6910
6911 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6912
6913         * gst/gst.c:
6914         * gst/gstmessage.c:
6915           Make sure the class is reffed/unreffed once before threads can be
6916           used.  Fixes #304551.
6917
6918 2005-05-17  Wim Taymans  <wim@fluendo.com>
6919
6920         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
6921         (gst_basesink_chain_unlocked), (gst_basesink_activate):
6922         * gst/gstminiobject.c: (gst_mini_object_get_type),
6923         (gst_mini_object_free):
6924         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
6925         (gst_pad_push), (gst_pad_push_event):
6926         * gst/gstqueue.c: (gst_queue_change_state):
6927         Don't queue buffers in basesink when we are flushing.
6928         Unref buffer when flushing in basesink.
6929         Flush queue when going to READY
6930         Unref buffer when _push() returns an error.
6931         Don't free MiniObject instance when refcount is incremented
6932         in _finalize() so that we can recover objects.
6933
6934 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
6935
6936         * docs/manual/advanced-schedulers.xml:
6937         * docs/manual/appendix-checklist.xml:
6938         * docs/pwg/advanced-clock.xml:
6939         * docs/pwg/advanced-interfaces.xml:
6940         * docs/pwg/advanced-request.xml:
6941         * docs/pwg/advanced-types.xml:
6942         * docs/pwg/intro-preface.xml:
6943         * examples/plugins/example.c: (gst_example_get_type),
6944         (gst_example_class_init), (gst_example_chain),
6945         (gst_example_set_property), (gst_example_get_property),
6946         (gst_example_change_state), (plugin_init):
6947         * examples/plugins/example.h:
6948           small doc fixes
6949
6950 2005-05-17  Wim Taymans  <wim@fluendo.com>
6951
6952         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
6953         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
6954         * gst/gstqueue.c: (gst_queue_change_state):
6955         Clear queue when going to READY.
6956         Remove IN_SETCAPS flag too.
6957
6958 2005-05-17  Tim-Philipp MĂĽller  <tim at centricular dot net>
6959
6960         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
6961           Remove implicit cast from gboolean to GstElementStateReturn;
6962           make sure we still return failure in paused => ready case if
6963           the parent class fails to change state and our own stop 
6964           vfunc succeeds.
6965
6966 2005-05-17  Wim Taymans  <wim@fluendo.com>
6967
6968         * tools/gst-launch.c: (event_loop):
6969         Message was unreffed too soon.
6970
6971 2005-05-16  Andy Wingo  <wingo@pobox.com>
6972
6973         * gst/gstbin.c (sink_iterator_filter): Err... um...
6974
6975         * check/gst/gstbin.c (test_ghost_pads): New test for the
6976         ghosting-if-elements-not-in-same-bin behavior.
6977
6978 2005-05-16  David Schleef  <ds@schleef.org>
6979
6980         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
6981         accessing refcount directly.
6982
6983 2005-05-15  David Schleef  <ds@schleef.org>
6984
6985         * check/Makefile.am: remove GstData checks
6986         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
6987         * gst/Makefile.am: add miniobject, remove data
6988         * gst/gst.h: add miniobject, remove data
6989         * gst/gstdata.c: remove
6990         * gst/gstdata.h: remove
6991         * gst/gstdata_private.h: remove
6992         * gst/gsttypes.h: remove GstEvent and GstMessage
6993         * gst/gstelement.c: (gst_element_post_message): fix for API changes
6994         * gst/gstmarshal.list: change BOXED -> OBJECT
6995
6996         Implement GstMiniObject.
6997         * gst/gstminiobject.c:
6998         * gst/gstminiobject.h:
6999
7000         Modify to be subclasses of GstMiniObject.
7001         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
7002         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
7003         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
7004         (gst_subbuffer_get_type), (gst_subbuffer_init),
7005         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
7006         (gst_buffer_span):
7007         * gst/gstbuffer.h:
7008         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
7009         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
7010         (_gst_event_copy), (gst_event_new):
7011         * gst/gstevent.h:
7012         * gst/gstmessage.c: (_gst_message_initialize),
7013         (gst_message_get_type), (gst_message_class_init),
7014         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
7015         (gst_message_new), (gst_message_new_error),
7016         (gst_message_new_warning), (gst_message_new_tag),
7017         (gst_message_new_state_changed), (gst_message_new_application):
7018         * gst/gstmessage.h:
7019         * gst/gstprobe.c: (gst_probe_perform),
7020         (gst_probe_dispatcher_dispatch):
7021         * gst/gstprobe.h:
7022         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
7023         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
7024         (_gst_query_copy), (gst_query_new):
7025
7026         Update elements for GstData -> GstMiniObject changes
7027         * gst/gstquery.h:
7028         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
7029         (gst_queue_chain), (gst_queue_loop):
7030         * gst/elements/gstbufferstore.c:
7031         (gst_buffer_store_add_buffer_func),
7032         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
7033         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
7034         (gst_fakesink_render):
7035         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
7036         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
7037         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
7038         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
7039         (gst_filesrc_create_read):
7040         * gst/elements/gstidentity.c: (gst_identity_class_init):
7041         * gst/elements/gsttypefindelement.c:
7042         (gst_type_find_element_src_event), (free_entry_buffers),
7043         (gst_type_find_element_handle_event):
7044         * libs/gst/dataprotocol/dataprotocol.c:
7045         (gst_dp_header_from_buffer):
7046         * libs/gst/dataprotocol/dataprotocol.h:
7047         * libs/gst/dataprotocol/dp-private.h:
7048
7049 2005-05-15  David Schleef  <ds@schleef.org>
7050
7051         * gst/elements/gstelements.c: Don't include headers that were
7052         just removed.
7053
7054 2005-05-15  David Schleef  <ds@schleef.org>
7055
7056         * gst/elements/Makefile.am: Remove some elements that don't
7057         need to be in the core (or even exist at all).
7058         * gst/elements/gstaggregator.c:
7059         * gst/elements/gstaggregator.h:
7060         * gst/elements/gstmd5sink.c:
7061         * gst/elements/gstmd5sink.h:
7062         * gst/elements/gstmultifilesrc.c:
7063         * gst/elements/gstmultifilesrc.h:
7064         * gst/elements/gstpipefilter.c:
7065         * gst/elements/gstpipefilter.h:
7066         * gst/elements/gstshaper.c:
7067         * gst/elements/gstshaper.h:
7068         * gst/elements/gststatistics.c:
7069         * gst/elements/gststatistics.h:
7070         * po/POTFILES.in: Remove above files.
7071
7072 2005-05-14  Andy Wingo  <wingo@pobox.com>
7073
7074         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
7075         so as to get the refs right.
7076         (sink_iterator_filter): New function, wraps bin_element_is_sink,
7077         unreffing objects that don't pass the filter.
7078
7079         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
7080         gst_element_set_bus.
7081         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
7082         normal cases, this will destroy the bus.
7083
7084         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
7085         object.
7086
7087         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
7088         has no sinks.
7089
7090 2005-05-13  Andy Wingo  <wingo@pobox.com>
7091
7092         * gst/gstutils.c (gst_element_link_pads): Instead of calling
7093         gst_pad_link, call pad_link_maybe_ghosting,
7094         (pad_link_maybe_ghosting): Links pads, making sure that the
7095         elements being linked are in the same bin.
7096         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
7097         Helpers for pad_link_maybe_ghosting.
7098
7099 2005-05-13  Tim-Philipp MĂĽller  <tim at centricular dot net>
7100
7101         * configure.ac:
7102           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
7103
7104 2005-05-13  Tim-Philipp MĂĽller  <tim at centricular dot net>
7105
7106         * docs/design/part-element-source.txt:
7107           Mention GstPushSrc
7108
7109 2005-05-12  Wim Taymans  <wim@fluendo.com>
7110
7111         * gst/base/gstbasesink.c: (gst_basesink_init),
7112         (gst_basesink_activate):
7113         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
7114         (gst_basesrc_is_seekable):
7115         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7116         (bin_element_is_sink), (gst_bin_change_state):
7117         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
7118         * gst/gstelement.h:
7119         Identify sinks by their flag to avoid overly complicated
7120         checks (fow now).
7121         Do state changes even for elements not reachable from the
7122         sinks.
7123         BaseSink is a sink now :)
7124         Some more debugging info in the basesrc.
7125
7126
7127 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7128
7129         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
7130           Implement _query on a bin, similar to _send_event.
7131
7132 2005-05-12  Tim-Philipp MĂĽller  <tim at centricular dot net>
7133
7134         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
7135           Discont event offset format should be GST_FORMAT_BYTES,
7136           not GST_FORMAT_TIME.
7137
7138 2005-05-12  Wim Taymans  <wim@fluendo.com>
7139
7140         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
7141         Same fix as Ronald's but without the signal. 
7142
7143 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7144
7145         * gst/gstutils.c: (gst_element_query_position):
7146           No, an element is not a pad.
7147
7148 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7149
7150         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
7151         (gst_bin_get_state):
7152           If a child is removed from a bin while we remove the child from
7153           the bin and while we're retrieving its state, signal this to the
7154           get_state function so we abort the wait (instead of waiting for
7155           a timeout) and can immediately re-iterate over all other elements.
7156
7157 2005-05-12  Wim Taymans  <wim@fluendo.com>
7158
7159         * gst/base/Makefile.am:
7160         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
7161         (gst_basesrc_start):
7162         * gst/base/gstbasesrc.h:
7163         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
7164         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
7165         (gst_pushsrc_init), (gst_pushsrc_create):
7166         * gst/base/gstpushsrc.h:
7167         Added is_seekable to BaseSrc
7168         Added simple PushSrc.
7169
7170 2005-05-11  Wim Taymans  <wim@fluendo.com>
7171
7172         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
7173         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7174         (gst_element_link_pads), (gst_element_query_position),
7175         (gst_element_query_convert), (intersect_caps_func),
7176         (gst_pad_query_position), (gst_pad_query_convert):
7177         Fix refcounting in utils function.
7178         No point in trying to activate a pad when it's added, it could
7179         be added from the state change function and then we deadlock, the
7180         element has to decide what to do.
7181
7182 2005-05-10  Andy Wingo  <wingo@pobox.com>
7183
7184         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
7185         *all* the arguments.
7186
7187         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
7188         stream lock if it's a FLUSH_DONE; normal flushes don't get the
7189         lock (according to the docs -- if this is wrong change the docs).
7190
7191         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
7192         flush messages in the NULL state.
7193
7194         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
7195         message immediately and return.
7196         (gst_bus_set_flushing): New function. If a bus is flushing, it
7197         flushes out any queued messages and immediately unrefs new
7198         messages. This is so when an element goes to NULL, all of the
7199         unhandled messages coming from it can be freed, and their
7200         references to the element dropped. In other words: message source
7201         ref considered harmful :P
7202
7203         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
7204         we're finished with it.
7205
7206         * gst/gstmessage.c (gst_message_new_state_changed): 
7207
7208 2005-05-10  Wim Taymans  <wim@fluendo.com>
7209
7210         * gst/gstvalue.c: (gst_value_compare_flags),
7211         (gst_value_serialize_flags), (gst_value_deserialize_flags),
7212         (_gst_value_initialize):
7213         Added flags serialize/deserialize/compare code.
7214
7215 2005-05-09  Andy Wingo  <wingo@pobox.com>
7216
7217         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
7218         Intersect the peer's caps with our caps.
7219
7220 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7221
7222         * gst/base/gsttypefindhelper.c: (helper_find_peek):
7223         * gst/elements/gsttypefindelement.c: (find_peek):
7224           Handle negative offsets better. Fixes decodebin.
7225
7226 2005-05-09  Wim Taymans  <wim@fluendo.com>
7227
7228         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
7229         (gst_base_transform_event):
7230         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
7231         Implement accept_caps.
7232         Fix silly lock/unlock mismatch in base class.
7233
7234 2005-05-09  Wim Taymans  <wim@fluendo.com>
7235
7236         * docs/design/draft-push-pull.txt:
7237         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
7238         * gst/elements/gstfilesink.c: (gst_filesink_init),
7239         (gst_filesink_query):
7240         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
7241         (gst_type_find_handle_src_query), (find_element_get_length):
7242         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
7243         * gst/gstelement.h:
7244         * gst/gstmessage.c:
7245         * gst/gstmessage.h:
7246         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
7247         (gst_real_pad_get_caps_unlocked),
7248         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
7249         (gst_pad_event_default_dispatch), (gst_pad_event_default),
7250         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
7251         (gst_real_pad_dispose), (gst_real_pad_finalize),
7252         (gst_pad_load_and_link), (gst_pad_save_thyself),
7253         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
7254         (gst_pad_check_pull_range), (gst_pad_pull_range),
7255         (gst_pad_template_get_type), (gst_pad_template_class_init),
7256         (gst_pad_template_init), (gst_pad_template_dispose),
7257         (name_is_valid), (gst_static_pad_template_get),
7258         (gst_pad_template_new), (gst_static_pad_template_get_caps),
7259         (gst_pad_template_get_caps), (gst_pad_set_element_private),
7260         (gst_pad_get_element_private), (gst_pad_start_task),
7261         (gst_pad_pause_task), (gst_pad_stop_task),
7262         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
7263         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
7264         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
7265         (gst_ghost_pad_new):
7266         * gst/gstpad.h:
7267         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
7268         (gst_query_new_position), (gst_query_set_position),
7269         (gst_query_parse_position), (gst_query_new_convert),
7270         (gst_query_set_convert), (gst_query_parse_convert):
7271         * gst/gstquery.h:
7272         * gst/gstqueryutils.c:
7273         * gst/gstqueryutils.h:
7274         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
7275         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
7276         (gst_queue_handle_src_query):
7277         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7278         (gst_element_query_position), (gst_element_query_convert),
7279         (intersect_caps_func), (gst_pad_query_position),
7280         (gst_pad_query_convert):
7281         * gst/gstutils.h:
7282         * tools/gst-inspect.c: (print_pad_info):
7283         * tools/gst-xmlinspect.c: (print_element_info):
7284         Remove old query functions. Ported old code.
7285         Added position/convert helper functions to gstutils.
7286         Reordered gstpad.c code, grouping relevant things.
7287         Remove gst_message_new(), always need to speficy a specific
7288         message.
7289
7290
7291 2005-05-09  Andy Wingo  <wingo@pobox.com>
7292
7293         * gst/gstiterator.h: Add some includes.
7294
7295         * gst/gstqueryutils.h: Include more headers.
7296
7297         * gst/gstpad.h:
7298         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
7299         some uses of gst_pad_query.
7300
7301         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
7302         NULL out parameters.
7303         (gst_query_new_position): New proc, allocates a new position
7304         query.
7305
7306         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
7307         gstqueryutils.c to the build.
7308
7309         * gst/gststructure.c (gst_structure_set_valist): Implement with
7310         the generic G_VALUE_COLLECT.
7311         
7312 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
7313
7314         * gst/Makefile.am: (gst_headers):
7315         Added gstqueryutils.h to the list of headers to install, that was
7316         a 'nachty' move wingo :)
7317
7318 2005-05-06  Andy Wingo  <wingo@pobox.com>
7319
7320         * gst/gstquery.h
7321         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
7322         GstData, init a memchunk.
7323         (standard_definitions): Add a few query types, deprecate a few.
7324         (gst_query_get_type): New proc.
7325         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
7326         implementation.
7327         (gst_query_new_application, gst_query_get_structure): New public
7328         procs.
7329
7330         * docs/design/draft-query.txt: Removed LINKS from the query types,
7331         because all the rest can be dispatched to other pads -- seemed
7332         ugly to have a query that couldn't be dispatched. internal_links
7333         is fine as a pad method.
7334
7335         * gst/gstpad.h: Add query2 as a pad method, add the new functions
7336         in gstpad.c, but maintain binary compatibility for the moment.
7337         Will fix before 0.9 is out.
7338
7339         * gst/gstqueryutils.c: 
7340         * gst/gstqueryutils.h: New files, implement 3 methods for each
7341         query type: parse_query, parse_response, and set. Probably need an
7342         allocator as well.
7343
7344         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
7345
7346         * gst/elements/gstfilesink.c (gst_filesink_query2):
7347         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
7348         query_types, and formats methods.
7349
7350         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
7351         (gst_pad_set_query2_function): New functions.
7352         (gst_real_pad_init): Set query2_default as the default query2
7353         function. Basically just dispatches to internally linked pads.
7354
7355         Needs review!
7356         
7357         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
7358         without using the atomic operations. Only one thread can possibly
7359         be accessing the data at this point. Changed so as to avoid
7360         gst_atomic operations.
7361
7362 2005-05-06  Wim Taymans  <wim@fluendo.com>
7363
7364         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
7365         Also set caps if we use the fallback buffer alloc.
7366
7367 2005-05-06  Tim-Philipp MĂĽller  <tim at centricular dot net>
7368
7369         * docs/gst/Makefile.am:
7370         * docs/gst/gstreamer-docs.sgml:
7371         * docs/gst/gstreamer-sections.txt:
7372         * docs/gst/tmpl/gstatomic.sgml:
7373         * docs/gst/tmpl/gstmemchunk.sgml:
7374         * testsuite/elements/struct_i386.h:
7375         * win32/GStreamer.vcproj:
7376         * win32/Makefile:
7377           Purge GstAtomic stuff from docs and win32 makefiles as well
7378
7379 2005-05-06  Wim Taymans  <wim@fluendo.com>
7380
7381         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
7382         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
7383         * gst/gstpad.c: (gst_pad_peer_get_caps):
7384         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
7385         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
7386         (gst_queue_src_activate), (gst_queue_change_state):
7387         * gst/gstqueue.h:
7388         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7389         (intersect_caps_func):
7390         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
7391         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
7392         Some fixes for the peer_get_caps() change.
7393
7394 2005-05-06  Wim Taymans  <wim@fluendo.com>
7395
7396         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7397         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
7398         (gst_basesink_activate):
7399         Actually do something with error codes returned from the push
7400         functions.
7401
7402 2005-05-06  Wim Taymans  <wim@fluendo.com>
7403
7404         * docs/design/part-element-sink.txt:
7405         * docs/design/part-element-source.txt:
7406         * gst/base/gstbasesink.c: (gst_basesink_class_init),
7407         (gst_basesink_event), (gst_basesink_activate):
7408         * gst/base/gstbasesink.h:
7409         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
7410         (gst_basesrc_activate):
7411         * gst/base/gstbasesrc.h:
7412         * gst/gstelement.c: (gst_element_pads_activate):
7413         Some more documentation.
7414         Fixed scheduling decision in _pads_activate().
7415
7416 2005-05-05  Andy Wingo  <wingo@pobox.com>
7417
7418         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
7419         the test suite.
7420
7421 2005-05-05  Wim Taymans  <wim@fluendo.com>
7422
7423         * gst/base/Makefile.am:
7424         * gst/base/gstbasesink.h:
7425         * gst/base/gstbasesrc.c: (gst_basesrc_init),
7426         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
7427         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
7428         (gst_collectpads_class_init), (gst_collectpads_init),
7429         (gst_collectpads_finalize), (gst_collectpads_new),
7430         (gst_collectpads_set_function), (gst_collectpads_add_pad),
7431         (find_pad), (gst_collectpads_remove_pad),
7432         (gst_collectpads_is_active), (gst_collectpads_collect),
7433         (gst_collectpads_collect_range), (gst_collectpads_start),
7434         (gst_collectpads_stop), (gst_collectpads_peek),
7435         (gst_collectpads_pop), (gst_collectpads_available),
7436         (gst_collectpads_read), (gst_collectpads_flush),
7437         (gst_collectpads_chain):
7438         * gst/base/gstcollectpads.h:
7439         * gst/elements/Makefile.am:
7440         * gst/elements/gstelements.c:
7441         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
7442         (gst_fakesink_get_times), (gst_fakesink_event),
7443         (gst_fakesink_preroll), (gst_fakesink_render):
7444         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
7445         (gst_filesink_init), (gst_filesink_set_location),
7446         (gst_filesink_open_file), (gst_filesink_close_file),
7447         (gst_filesink_pad_query), (gst_filesink_event),
7448         (gst_filesink_render), (gst_filesink_change_state):
7449         * gst/elements/gstfilesink.h:
7450         Added object to help in making collect pad based elements.
7451         Ported filesink.
7452         Make event function in sink baseclass return gboolean.
7453
7454 2005-05-05  Wim Taymans  <wim@fluendo.com>
7455
7456         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
7457         (gst_bin_get_by_name):
7458         * gst/gstbuffer.h:
7459         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
7460         (gst_clock_finalize):
7461         * gst/gstdata.c: (gst_data_replace):
7462         * gst/gstdata.h:
7463         * gst/gstelement.c: (gst_element_request_pad),
7464         (gst_element_pads_activate):
7465         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
7466         (gst_object_unref):
7467         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7468         (gst_pad_set_checkgetrange_function),
7469         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
7470         (gst_pad_check_pull_range), (gst_pad_pull_range),
7471         (gst_static_pad_template_get_caps), (gst_pad_start_task),
7472         (gst_pad_pause_task), (gst_pad_stop_task):
7473         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7474         (gst_element_request_pad), (gst_pad_proxy_getcaps):
7475         Fix name lookup in GstBin.
7476         Added _data_replace() function and _buffer_replace()
7477         Use finalize method to clean up clock.
7478         Fix refcounting on request pads.
7479         Fix pad schedule mode error.
7480         Some more object refcounting debug info,
7481
7482
7483 2005-05-04  Andy Wingo <wingo@pobox.com>
7484
7485         * check/Makefile.am:
7486         * docs/gst/tmpl/gstatomic.sgml:
7487         * docs/gst/tmpl/gstplugin.sgml:
7488         * gst/base/gstbasesink.c: (gst_basesink_activate):
7489         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
7490         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
7491         (gst_basesrc_query), (gst_basesrc_set_property),
7492         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
7493         (gst_basesrc_activate):
7494         * gst/base/gstbasesrc.h:
7495         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
7496         (gst_base_transform_src_activate):
7497         * gst/elements/gstelements.c:
7498         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7499         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7500         * gst/elements/gsttee.c: (gst_tee_sink_activate):
7501         * gst/elements/gsttypefindelement.c: (find_element_get_length),
7502         (gst_type_find_element_checkgetrange),
7503         (gst_type_find_element_activate):
7504         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
7505         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
7506         (gst_caps_load_thyself):
7507         * gst/gstelement.c: (gst_element_pads_activate),
7508         (gst_element_save_thyself), (gst_element_restore_thyself):
7509         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
7510         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
7511         * gst/gstpad.h:
7512         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
7513         (gst_xml_parse_file), (gst_xml_parse_memory),
7514         (gst_xml_get_element), (gst_xml_make_element):
7515         * gst/indexers/gstfileindex.c: (gst_file_index_load),
7516         (_file_index_id_save_xml), (gst_file_index_commit):
7517         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
7518         (read_enum), (load_pad_template), (load_feature), (load_plugin),
7519         (load_paths):
7520         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
7521         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
7522         * tools/gst-complete.c: (main):
7523         * tools/gst-compprep.c: (main):
7524         * tools/gst-inspect.c: (print_element_properties_info):
7525         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7526         * tools/gst-xmlinspect.c: (print_element_properties):
7527         GCC 4 fixen.
7528         
7529 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7530
7531         * gst/gstplugin.c: (gst_plugin_check_module),
7532         (gst_plugin_check_file), (gst_plugin_load_file):
7533             apply patch from #172526 to make register work on MacOSX
7534
7535 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7536
7537         * docs/gst/tmpl/gstconfig.sgml:
7538         * gst/gstconfig.h.in:
7539           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
7540         * testsuite/debug/printf_extension.c: (main):
7541           Do not use GST_PTR_FORMAT on pointers to types with
7542           sizeof < sizeof(gpointer).  Fixes test on 64-bit
7543         * testsuite/elements/property.h:
7544           use correct printf format
7545
7546 2005-05-02  Wim Taymans  <wim@fluendo.com>
7547
7548         * docs/design/draft-push-pull.txt:
7549         * docs/design/draft-query.txt:
7550         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
7551         (gst_basesrc_start):
7552         Added draft for new query API.
7553         Added draft for better selecting scheduling methods.
7554         Make basesrc ignore length if the subclass does not support
7555         it.
7556
7557 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7558
7559         * gst/Makefile.am:
7560           possible fixes for automake-1.5 - _LIBADD is reserved
7561
7562 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7563
7564         * docs/faq/Makefile.am:
7565         * docs/manual/Makefile.am:
7566         * docs/manuals.mak:
7567         * docs/pwg/Makefile.am:
7568         * gst/Makefile.am:
7569           possible fixes for automake-1.5
7570
7571 2005-04-28  Wim Taymans  <wim@fluendo.com>
7572
7573         * gst/base/gstbasesink.c: (gst_basesink_base_init),
7574         (gst_basesink_pad_getcaps), (gst_basesink_init),
7575         (gst_basesink_do_sync):
7576         * gst/gstclock.c: (gst_clock_entry_new):
7577         * gst/gstevent.c: (gst_event_discont_get_value):
7578         * gst/gstpipeline.c: (pipeline_bus_handler),
7579         (gst_pipeline_change_state):
7580         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
7581         Better debugging of clocking info.
7582         Allow NULL values when getting discont values.
7583
7584 2005-04-27  Wim Taymans  <wim@fluendo.com>
7585
7586         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
7587         * check/gst/gstpad.c: (gst_pad_suite):
7588         Increase timeout for checks.
7589
7590 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7591
7592         * check/Makefile.am:
7593           fix the broken rule for cleanup.  Apparently this rule is
7594           only needed on FC2, so maybe this warrants further autotool
7595           inspection.
7596
7597 2005-04-26  Wim Taymans  <wim@fluendo.com>
7598
7599         * gst/gsttrashstack.h:
7600         Ooohh. a nasty one! After having a failed pop() from the stack,
7601         it's possible that the stack is empty. In that case, don't
7602         follow the NULL pointer.
7603
7604 2005-04-25  Wim Taymans  <wim@fluendo.com>
7605
7606         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7607         (gst_pad_set_checkgetrange_function),
7608         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
7609         (gst_pad_check_pull_range), (gst_pad_pull_range),
7610         (gst_static_pad_template_get_caps), (gst_pad_start_task),
7611         (gst_pad_pause_task), (gst_pad_stop_task):
7612         * gst/gstplugin.c: (gst_plugin_load):
7613         * gst/gstplugin.h:
7614         Remove gst_library_load as it does more harm than good with
7615         the new g_module flags.
7616         Revert bogus caps template check in pad linking, pad caps
7617         are important when linking not the template, which is more
7618         general than the current caps.
7619
7620 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7621
7622         * gst/autoplug/.cvsignore:
7623         * gst/autoplug/Makefile.am:
7624         * gst/autoplug/gstsearchfuncs.c:
7625         * gst/autoplug/gstsearchfuncs.h:
7626         * gst/autoplug/gstspider.c:
7627         * gst/autoplug/gstspider.h:
7628         * gst/autoplug/gstspideridentity.c:
7629         * gst/autoplug/gstspideridentity.h:
7630         * gst/autoplug/spidertest.c:
7631           Die, spider, die.
7632
7633 2005-04-25  Wim Taymans  <wim@fluendo.com>
7634
7635         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7636         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
7637         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
7638         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
7639         * gst/gstpad.h:
7640         Added stubs for unimplemented functions. 
7641
7642 2005-04-24  David Schleef  <ds@schleef.org>
7643
7644         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
7645         please fix.
7646
7647 2005-04-24  David Schleef  <ds@schleef.org>
7648
7649         Convert everything from GstAtomicInt to g_atomic_int_*, and
7650         remove gstatomic.
7651         * gst/Makefile.am:
7652         * gst/gstatomic.c:
7653         * gst/gstatomic.h:
7654         * gst/gstatomic_impl.h:
7655         * gst/gstbuffer.c:
7656         * gst/gstcaps.c:
7657         * gst/gstcaps.h:
7658         * gst/gstclock.c:
7659         * gst/gstclock.h:
7660         * gst/gstdata.c:
7661         * gst/gstdata.h:
7662         * gst/gstdata_private.h:
7663         * gst/gstevent.c:
7664         * gst/gstinfo.c:
7665         * gst/gstinfo.h:
7666         * gst/gstmessage.c:
7667         * gst/gstobject.c:
7668         * gst/gstobject.h:
7669         * gst/gststructure.c:
7670         * gst/gststructure.h:
7671         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
7672         * gst/gstutils.h:
7673
7674 2005-04-24  David Schleef  <ds@schleef.org>
7675
7676         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
7677         make the regressions tests work.  Remove some code that is no
7678         longer true.
7679         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
7680         Disable warning for pads without templates.
7681
7682 2005-04-24  David Schleef  <ds@schleef.org>
7683
7684         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
7685         functions that handle filtered links.
7686         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
7687         removed functions.
7688         * gst/gstutils.c: Fix/remove utility functions that handle
7689         filtered caps.
7690         * gst/gstutils.h:
7691         * gst/gstvalue.c: Add serialization/deserialization of caps
7692         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
7693         requires fixing so that the filter caps notation creates
7694         a capsfilter element and sets the filter_caps property.  I
7695         think everyone probably wants to keep the shorthand notation.
7696         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
7697         * docs/gst/tmpl/gstpad.sgml:
7698
7699         * gst/elements/gstelements.c: Register capsfilter element.
7700         * gst/Makefile.am: fix spacing
7701         * docs/random/ds/0.9-suggested-changes: random
7702
7703 2005-04-23  David Schleef  <ds@schleef.org>
7704
7705         * gst/elements/Makefile.am:
7706         * gst/elements/gstcapsfilter.c: New element that acts like an
7707         identity, but filters caps.  Will eventually replace filtered
7708         caps in pad linking.
7709         * gst/gstutils.c: (gst_element_create_all_pads): New function
7710         to create all the ALWAYS pads that are registered with an
7711         element class.  This functionality should eventually be
7712         merged in with GstElement initialization.
7713         * gst/gstutils.h:
7714         * testsuite/trigger/README: part of trigger test code that should
7715         have been checked in a long time ago.
7716
7717 2005-04-23  David Schleef  <ds@schleef.org>
7718
7719         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
7720         needed with new versions of libtool (nobody will confirm this),
7721         and hard to carry around.
7722         * gst/autoplug/Makefile.am:
7723         * gst/base/Makefile.am:
7724         * gst/elements/Makefile.am:
7725         * gst/indexers/Makefile.am:
7726         * gst/schedulers/Makefile.am:
7727         * libs/gst/bytestream/Makefile.am:
7728         * libs/gst/control/Makefile.am:
7729         * libs/gst/dataprotocol/Makefile.am:
7730         * libs/gst/getbits/Makefile.am:
7731
7732 2005-04-21  Wim Taymans  <wim@fluendo.com>
7733
7734         * docs/design/draft-push-pull.txt:
7735         * docs/design/part-MT-refcounting.txt:
7736         * docs/design/part-TODO.txt:
7737         * docs/design/part-caps.txt:
7738         * docs/design/part-events.txt:
7739         * docs/design/part-gstbus.txt:
7740         * docs/design/part-gstpipeline.txt:
7741         * docs/design/part-messages.txt:
7742         * docs/design/part-push-pull.txt:
7743         * docs/design/part-query.txt:
7744         Some more docs.
7745
7746 2005-04-21  Wim Taymans  <wim@fluendo.com>
7747
7748         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
7749         (gst_message_new), (gst_message_new_error),
7750         (gst_message_new_warning), (gst_message_new_tag),
7751         (gst_message_new_state_changed), (gst_message_new_application),
7752         (gst_message_get_structure):
7753         * gst/gstmessage.h:
7754         * gst/gststructure.c: (gst_structure_set_parent_refcount),
7755         (gst_structure_copy_conditional):
7756         Use parent refcount in GstMessage to ensure GstStructure
7757         consistency.
7758         Cleaned up headers a bit.
7759         
7760
7761 2005-04-20  Wim Taymans  <wim@fluendo.com>
7762
7763         * gst/base/gstbasesink.c: (gst_basesink_base_init),
7764         (gst_basesink_pad_getcaps), (gst_basesink_init),
7765         (gst_basesink_chain_unlocked):
7766         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
7767         (gst_type_find_helper):
7768         * gst/elements/gsttypefindelement.c:
7769         (gst_type_find_element_have_type), (gst_type_find_element_init),
7770         (stop_typefinding), (gst_type_find_element_handle_event),
7771         (find_suggest), (gst_type_find_element_chain),
7772         (gst_type_find_element_checkgetrange),
7773         (gst_type_find_element_getrange), (do_typefind),
7774         (gst_type_find_element_activate):
7775         * gst/gstbuffer.c: (_gst_buffer_sub_free),
7776         (gst_buffer_default_free), (gst_buffer_default_copy),
7777         (gst_buffer_set_caps):
7778         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
7779         (gst_caps_replace):
7780         * gst/gstmessage.c: (gst_message_new),
7781         (gst_message_new_state_changed):
7782         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7783         (gst_pad_set_checkgetrange_function),
7784         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
7785         (gst_pad_set_caps), (gst_pad_check_pull_range),
7786         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
7787         * gst/gstpad.h:
7788         * gst/gsttypefind.c: (gst_type_find_register):
7789         Make gst_caps_replace() work like other _replace() functions.
7790         Use _caps_replace() where possible.
7791         Make sure _message_new() initialises its field.
7792         Add gst_static_pad_template_get_caps()
7793
7794
7795 2005-04-18  Andy Wingo  <wingo@pobox.com>
7796
7797         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
7798         on the peer, not the pad. I think that was a typo. Pass an extra
7799         arg to see if random access is possible. Activate the pads as
7800         PULL_RANGE if possible.
7801
7802         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
7803
7804         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
7805         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
7806         to PROP_....
7807
7808 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7809
7810         * docs/faq/using.xml:
7811           Add note on gstreamer-properties (#154996).
7812
7813 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7814
7815         * docs/random/bbb/optional-properties:
7816           Some analysis on optional properties.
7817
7818 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7819
7820         * docs/gst/tmpl/gstelementfactory.sgml:
7821         * gst/gstelement.h:
7822         * gst/gstelementfactory.c: (gst_element_factory_init),
7823         (gst_element_factory_cleanup), (gst_element_register),
7824         (__gst_element_factory_add_static_pad_template),
7825         (gst_element_factory_get_static_pad_templates),
7826         (gst_element_factory_can_src_caps),
7827         (gst_element_factory_can_sink_caps):
7828         * gst/registries/Makefile.am:
7829         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
7830         (gst_xml_registry_class_init), (gst_xml_registry_init),
7831         (gst_xml_registry_new), (gst_xml_registry_set_property),
7832         (gst_xml_registry_get_property), (get_time), (make_dir),
7833         (gst_xml_registry_get_perms_func),
7834         (plugin_times_older_than_recurse), (plugin_times_older_than),
7835         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
7836         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
7837         (add_to_char_array), (read_string), (read_uint), (read_enum),
7838         (load_pad_template), (load_feature), (load_plugin), (load_paths),
7839         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
7840         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
7841         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
7842         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
7843         (gst_xml_registry_rebuild):
7844         * gst/registries/gstlibxmlregistry.h:
7845         * tools/gst-compprep.c: (main):
7846         * tools/gst-inspect.c: (print_pad_templates_info):
7847         * tools/gst-xmlinspect.c: (print_element_info):
7848           Use libxml2 for registry parsing, use staticpadtemplates in
7849           elementfactories. Makes gst_init() +/- 10x faster.
7850
7851 2005-04-12  Wim Taymans  <wim@fluendo.com>
7852
7853         * gst/base/Makefile.am:
7854         * gst/base/gstbasesink.c: (gst_basesink_base_init),
7855         (gst_basesink_pad_getcaps), (gst_basesink_init),
7856         (gst_basesink_event), (gst_basesink_change_state):
7857         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7858         (gst_basesrc_init), (gst_basesrc_query),
7859         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
7860         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
7861         (gst_basesrc_check_get_range), (gst_basesrc_loop),
7862         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
7863         (gst_basesrc_stop), (gst_basesrc_activate),
7864         (gst_basesrc_change_state):
7865         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7866         (helper_find_suggest), (gst_type_find_helper):
7867         * gst/base/gsttypefindhelper.h:
7868         * gst/elements/Makefile.am:
7869         * gst/elements/gstelements.c:
7870         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
7871         (gst_fakesink_get_times), (gst_fakesink_event),
7872         (gst_fakesink_preroll), (gst_fakesink_render):
7873         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7874         (gst_fakesrc_init), (gst_fakesrc_event_handler),
7875         (gst_fakesrc_get_property), (gst_fakesrc_create),
7876         (gst_fakesrc_start), (gst_fakesrc_stop):
7877         * gst/elements/gstfakesrc.h:
7878         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
7879         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
7880         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
7881         (gst_filesrc_create_read), (gst_filesrc_create),
7882         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
7883         (gst_filesrc_start):
7884         * gst/elements/gsttypefindelement.c:
7885         (gst_type_find_element_have_type), (gst_type_find_element_init),
7886         (start_typefinding), (stop_typefinding), (push_buffer_store),
7887         (gst_type_find_element_handle_event),
7888         (gst_type_find_element_chain),
7889         (gst_type_find_element_checkgetrange),
7890         (gst_type_find_element_getrange), (do_typefind),
7891         (gst_type_find_element_activate),
7892         (gst_type_find_element_change_state):
7893         * gst/elements/gsttypefindelement.h:
7894         * gst/gstpipeline.c: (pipeline_bus_handler):
7895         Added typefind helper.
7896         Small preroll fix in the base sink.
7897         Disable typefind code in basesrc.
7898         Crude port of typefindelement.
7899         Fakesrc cleanups.
7900
7901
7902 2005-04-11  Wim Taymans  <wim@fluendo.com>
7903
7904         * check/gst/gstbus.c: (gstbus_suite):
7905         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
7906         * check/gstcheck.h:
7907           Fix up the timeout so that the test does not fail.
7908
7909 2005-04-06  Wim Taymans  <wim@fluendo.com>
7910
7911         * gst/base/README:
7912         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7913         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
7914         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
7915         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
7916         (gst_basesrc_check_get_range), (gst_basesrc_loop),
7917         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
7918         (gst_basesrc_stop), (gst_basesrc_activate),
7919         (gst_basesrc_change_state), (basesrc_find_peek),
7920         (basesrc_find_suggest), (gst_basesrc_type_find):
7921         * gst/base/gstbasesrc.h:
7922         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
7923         (gst_filesrc_class_init), (gst_filesrc_init),
7924         (gst_filesrc_finalize), (gst_filesrc_set_location),
7925         (gst_filesrc_set_property), (gst_filesrc_get_property),
7926         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
7927         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
7928         (gst_filesrc_create_read), (gst_filesrc_create),
7929         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
7930         * gst/elements/gstfilesrc.h:
7931         * gst/gstelement.c: (gst_element_get_state_func),
7932         (gst_element_lost_state), (gst_element_pads_activate):
7933         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7934         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
7935         (gst_pad_pull_range):
7936         * gst/gstpad.h:
7937         More work on the generic source base class, implement seeking,
7938         query.
7939         Make filesrc extend the base source class.
7940         Added gst_pad_set_checkgetrange_function to GstPad.
7941
7942 2005-04-06  Andy Wingo  <wingo@pobox.com>
7943
7944         * pkgconfig/gstreamer-base.pc.in:
7945         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
7946
7947         * pkgconfig/Makefile.am:
7948         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
7949
7950 2005-04-04  Wim Taymans  <wim@fluendo.com>
7951
7952         * gst/base/Makefile.am:
7953         * gst/base/README:
7954         * gst/base/gstbasesink.c: (gst_basesink_base_init),
7955         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
7956         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
7957         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
7958         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7959         (gst_basesrc_base_init), (gst_basesrc_class_init),
7960         (gst_basesrc_init), (gst_basesrc_get_formats),
7961         (gst_basesrc_get_query_types), (gst_basesrc_query),
7962         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
7963         (gst_basesrc_set_property), (gst_basesrc_get_property),
7964         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
7965         (gst_basesrc_loop), (gst_basesrc_activate),
7966         (gst_basesrc_change_state):
7967         * gst/base/gstbasesrc.h:
7968         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
7969         (gst_fakesrc_class_init), (gst_fakesrc_init),
7970         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
7971         (gst_fakesrc_get_property), (gst_fakesrc_create):
7972         * gst/elements/gstfakesrc.h:
7973         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
7974         (gst_filesrc_open_file), (gst_filesrc_loop),
7975         (gst_filesrc_activate), (filesrc_find_peek),
7976         (gst_filesrc_type_find):
7977         Made base source class, make fakesrc extend it.
7978         Add comments to basesink class.
7979         Some filesrc cleanup.
7980
7981 2005-03-31  David Schleef  <ds@schleef.org>
7982
7983         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
7984         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
7985         expected to link against libgstreamer.
7986         * gst/base/Makefile.am: link against libgstreamer
7987         * gst/elements/Makefile.am: same
7988
7989 2005-03-31  Andy Wingo  <wingo@pobox.com>
7990
7991         * tests/instantiate/Makefile.am:
7992         * tests/instantiate/caps.c: Add test to test speed of caps copy
7993         and free.
7994
7995         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
7996         GMemChunk to be fair.
7997
7998         * gst/gsttrashstack.h: Remove warning about using the fallback
7999         trash stack implementation, it's still faster than malloc.
8000
8001 2005-03-30  Andy Wingo  <wingo@pobox.com>
8002
8003         * tests/complexity.c: Add a copyright.
8004
8005 2005-03-31  Wim Taymans  <wim@fluendo.com>
8006
8007         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
8008         (gst_base_transform_class_init), (gst_base_transform_init),
8009         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
8010         (gst_base_transform_get_property),
8011         (gst_base_transform_sink_activate),
8012         (gst_base_transform_src_activate),
8013         (gst_base_transform_change_state):
8014         * gst/base/gstbasetransform.h:
8015         * gst/elements/gstidentity.c: (gst_identity_class_init),
8016         (gst_identity_event), (gst_identity_check_perfect),
8017         (gst_identity_transform), (gst_identity_start),
8018         (gst_identity_stop):
8019         Added start/stop methods to transform base class so subclasses 
8020         don't need to deal with state changes even.
8021
8022 2005-03-31  Wim Taymans  <wim@fluendo.com>
8023
8024         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
8025         (gst_event_new_discontinuous), (gst_event_discont_get_value):
8026         * gst/gstevent.h:
8027         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8028         (gst_pad_pull_range):
8029         Added rate to the discont event to prepare for variable speed
8030         and reverse playback.
8031
8032 2005-03-29  David Schleef  <ds@schleef.org>
8033
8034         * configure.ac:
8035         * testsuite/trigger/Makefile.am:
8036         * testsuite/trigger/trigger.c: A little example program to show
8037         how trigger-based elements can work.
8038
8039 2005-03-29  Wim Taymans  <wim@fluendo.com>
8040
8041         * gst/base/Makefile.am:
8042         * gst/base/README:
8043         * gst/base/gstbasesink.c: (gst_basesink_get_type),
8044         (gst_basesink_base_init), (gst_basesink_class_init),
8045         (gst_basesink_pad_getcaps), (gst_basesink_init),
8046         (gst_basesink_activate), (gst_basesink_change_state):
8047         * gst/base/gstbasesink.h:
8048         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
8049         (gst_base_transform_base_init), (gst_base_transform_finalize),
8050         (gst_base_transform_class_init), (gst_base_transform_init),
8051         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
8052         (gst_base_transform_event), (gst_base_transform_getrange),
8053         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
8054         (gst_base_transform_set_property),
8055         (gst_base_transform_get_property),
8056         (gst_base_transform_sink_activate),
8057         (gst_base_transform_src_activate),
8058         (gst_base_transform_change_state):
8059         * gst/base/gstbasetransform.h:
8060         * gst/elements/gstidentity.c: (gst_identity_finalize),
8061         (gst_identity_class_init), (gst_identity_init),
8062         (gst_identity_event), (gst_identity_check_perfect),
8063         (gst_identity_transform), (gst_identity_set_property),
8064         (gst_identity_get_property), (gst_identity_change_state):
8065         * gst/elements/gstidentity.h:
8066         * gst/gstelement.c: (gst_element_get_state_func),
8067         (gst_element_lost_state), (gst_element_pads_activate):
8068         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8069         (gst_pad_check_pull_range), (gst_pad_pull_range):
8070         * gst/gstpad.h:
8071         Simplify pad activation.
8072         Added function to check if pull_range can be performed.
8073         Error out when pulling inactive or flushing pads.
8074         Removed const from refcounted types as it does not make sense.
8075         Simplify pad templates in basesink
8076         Added base class for simple 1-to-1 transforms.
8077         Make identity subclass the base transform.
8078
8079 2005-03-29  Andy Wingo  <wingo@pobox.com>
8080
8081         * docs/libs/gstreamer-libs-overrides.txt: 
8082         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
8083         really don't understand what's going on, but like whatever. I want
8084         green buildbot!
8085
8086         * docs/gst/Makefile.am:
8087         * docs/libs/Makefile.am: Dist the overrides files.
8088
8089         * check/Makefile.am (clean-local): Remove .libs directories.
8090
8091         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
8092         elements to EXTRA_DIST, so po/ files are happy.
8093
8094         * po/POTFILES.in: Er, remove it here.
8095
8096         * po/POTFILES: Remove gstspider.c.
8097
8098         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
8099
8100         * docs/libs/gstreamer-libs-docs.sgml: 
8101         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
8102         bytestream.
8103
8104         * tests/complexity.c (main): Set the length of the preroll queue
8105         on the sinks to prevent a lockup.
8106
8107         * libs/gst/dataprotocol/Makefile.am: 
8108         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
8109         the same as the one in check/gst-libs/gdp.c.
8110
8111         * po/, docs/gst/: Commit automatic changes to docs and po files.
8112
8113         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
8114         the versioned libgstbase.
8115
8116         * check/Makefile.am: Depend on an unversioned gst-register, seems
8117         to make autoconf happier.
8118
8119         * gst/base/Makefile.am: Make libgstbase a versioned lib.
8120
8121 2005-03-28  Wim Taymans  <wim@fluendo.com>
8122
8123         * configure.ac:
8124         * docs/design/part-gstelement.txt:
8125         * docs/design/part-negotiation.txt:
8126         * docs/design/part-preroll.txt:
8127         * docs/design/part-scheduling.txt:
8128         * docs/design/part-states.txt:
8129         * gst/Makefile.am:
8130         * gst/base/Makefile.am:
8131         * gst/base/README:
8132         * gst/base/gstbasesink.c: (gst_basesink_get_template),
8133         (gst_basesink_base_init), (gst_basesink_class_init),
8134         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
8135         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
8136         (gst_basesink_set_pad_functions),
8137         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
8138         (gst_basesink_set_property), (gst_basesink_get_property),
8139         (gst_base_sink_get_template), (gst_base_sink_get_caps),
8140         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
8141         (gst_basesink_preroll_queue_push),
8142         (gst_basesink_preroll_queue_empty),
8143         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
8144         (gst_basesink_event), (gst_basesink_get_times),
8145         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
8146         (gst_basesink_chain_unlocked), (gst_basesink_chain),
8147         (gst_basesink_loop), (gst_basesink_activate),
8148         (gst_basesink_change_state):
8149         * gst/base/gstbasesink.h:
8150         * gst/elements/Makefile.am:
8151         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
8152         (gst_fakesink_class_init), (gst_fakesink_init),
8153         (gst_fakesink_set_property), (gst_fakesink_get_property),
8154         (gst_fakesink_get_times), (gst_fakesink_event),
8155         (gst_fakesink_preroll), (gst_fakesink_render),
8156         (gst_fakesink_change_state):
8157         * gst/elements/gstfakesink.h:
8158         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
8159         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
8160         * gst/gstelement.c: (gst_element_add_pad),
8161         (gst_element_get_state_func), (gst_element_abort_state),
8162         (gst_element_commit_state), (gst_element_lost_state),
8163         (gst_element_set_state), (gst_element_pads_activate):
8164         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
8165         * gst/gstpipeline.c: (gst_pipeline_send_event),
8166         (gst_pipeline_change_state):
8167         Added state change code.
8168         Added/updated docs.
8169         Added sink base class, make fakesink extend the base class.
8170         Small cleanups in GstPipeline.
8171
8172 2005-03-26  David Schleef  <ds@schleef.org>
8173
8174         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
8175         is broken and should be implemented in a different library.
8176         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
8177         * gst/gst.h: remove gstcpu.h
8178         * gst/gstcpu.c: remove
8179         * gst/gstcpu.h: remove
8180         * gst/Makefile.am.future: Remove this file.  It's ancient.
8181
8182 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8183
8184         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
8185         (gst_bin_send_event):
8186           Add default event/set_manager handlers. The set_manager handler
8187           takes care that the manager is distributed over kids that were
8188           already in the bin before the manager was set. The event handler
8189           is a utility virtual function that sends the event over all sinks,
8190           so that gst_element_send_event (bin, event); has the expected
8191           behaviour.
8192         * gst/gstpad.c: (gst_pad_event_default):
8193           Re-install default event handling for discontinuities, so that
8194           seeking works without requiring hacks in applications or extra
8195           code in sinks.
8196         * gst/gstpipeline.c: (gst_pipeline_class_init),
8197         (gst_pipeline_send_event):
8198           Half hack, half utility: set a pipeline to PAUSED for seek events,
8199           since that is the only way we can guarantee a/v sync. Means that
8200           you can do gst_element_seek (pipeline, method, pos); on a pipeline
8201           and it "just works".
8202
8203 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8204
8205         * gst/gstpipeline.c: (gst_pipeline_use_clock):
8206           Lock/unlock mismatch.
8207
8208 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
8209
8210         * docs/faq/gst-uninstalled:
8211           add gst-plugins-base
8212         * docs/gst/Makefile.am:
8213           don't error out until docs are fixed
8214         * docs/gst/gstreamer.types:
8215           remove thread
8216
8217 2005-03-22  Wim Taymans  <wim@fluendo.com>
8218
8219         * check/Makefile.am:
8220         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
8221         * gst/gststructure.c: (gst_structure_set_valist),
8222         (gst_structure_copy_conditional):
8223         Activated more tests.
8224         Added message test.
8225         Added G_TYPE_POINTER to GstStructure.
8226         
8227
8228 2005-03-22  Wim Taymans  <wim@fluendo.com>
8229
8230         * docs/design/part-TODO.txt:
8231         * docs/design/part-events.txt:
8232         * docs/design/part-gstbin.txt:
8233         * docs/design/part-gstbus.txt:
8234         * docs/design/part-gstpipeline.txt:
8235         * docs/design/part-messages.txt:
8236         * gst/gstbus.c:
8237         * gst/gstmessage.c:
8238         Docs updates
8239
8240 2005-03-21  Wim Taymans  <wim@fluendo.com>
8241
8242         * gst/gstbus.c: (gst_bus_post):
8243         Fix copy-and-paste error.
8244
8245 2005-03-21  Wim Taymans  <wim@fluendo.com>
8246
8247         * check/Makefile.am:
8248         * gst/Makefile.am:
8249         * gst/elements/Makefile.am:
8250         * gst/elements/gstelements.c:
8251         * gst/elements/gstfakesink.c: (gst_fakesink_init),
8252         (gst_fakesink_event), (gst_fakesink_chain):
8253         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8254         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
8255         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
8256         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
8257         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8258         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
8259         (gst_fakesrc_loop), (gst_fakesrc_activate),
8260         (gst_fakesrc_change_state):
8261         * gst/elements/gstfakesrc.h:
8262         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
8263         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
8264         (gst_filesrc_open_file), (gst_filesrc_loop),
8265         (gst_filesrc_activate), (gst_filesrc_change_state),
8266         (filesrc_find_peek), (filesrc_find_suggest),
8267         (gst_filesrc_type_find):
8268         * gst/elements/gstidentity.c: (gst_identity_finalize),
8269         (gst_identity_class_init), (gst_identity_init),
8270         (gst_identity_proxy_getcaps), (identity_queue_push),
8271         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
8272         (gst_identity_getrange), (gst_identity_chain),
8273         (gst_identity_sink_loop), (gst_identity_src_loop),
8274         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
8275         (gst_identity_set_property), (gst_identity_get_property),
8276         (gst_identity_change_state):
8277         * gst/elements/gstidentity.h:
8278         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
8279         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
8280         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
8281         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
8282         (gst_tee_sink_activate):
8283         * gst/elements/gsttee.h:
8284         * gst/gst.c: (gst_register_core_elements), (init_post):
8285         * gst/gst.h:
8286         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
8287         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
8288         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
8289         (gst_bin_change_state):
8290         * gst/gstbin.h:
8291         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
8292         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
8293         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
8294         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
8295         (gst_bus_set_sync_handler), (gst_bus_create_watch),
8296         (bus_watch_callback), (bus_watch_destroy),
8297         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
8298         (poll_timeout), (gst_bus_poll):
8299         * gst/gstbus.h:
8300         * gst/gstcaps.h:
8301         * gst/gstdata.h:
8302         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
8303         (gst_element_post_message), (gst_element_message_full),
8304         (gst_element_get_state_func), (gst_element_get_state),
8305         (gst_element_abort_state), (gst_element_commit_state),
8306         (gst_element_lost_state), (gst_element_set_state),
8307         (gst_element_pads_activate), (gst_element_change_state),
8308         (gst_element_dispose), (gst_element_set_manager_func),
8309         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
8310         (gst_element_set_manager), (gst_element_get_manager),
8311         (gst_element_set_bus), (gst_element_get_bus),
8312         (gst_element_set_scheduler), (gst_element_get_scheduler):
8313         * gst/gstelement.h:
8314         * gst/gstevent.c: (gst_event_new_segment_seek),
8315         (gst_event_new_flush):
8316         * gst/gstevent.h:
8317         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
8318         (_gst_message_free), (gst_message_get_type), (gst_message_new),
8319         (gst_message_new_eos), (gst_message_new_error),
8320         (gst_message_new_warning), (gst_message_new_tag),
8321         (gst_message_new_state_changed), (gst_message_new_application),
8322         (gst_message_get_structure), (gst_message_parse_tag),
8323         (gst_message_parse_state_changed), (gst_message_parse_error),
8324         (gst_message_parse_warning):
8325         * gst/gstmessage.h:
8326         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
8327         (gst_real_pad_set_property), (gst_pad_set_active),
8328         (gst_pad_is_active), (gst_pad_set_blocked_async),
8329         (gst_pad_set_blocked), (gst_pad_is_blocked),
8330         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
8331         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
8332         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
8333         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
8334         (gst_pad_link_filtered), (gst_pad_relink_filtered),
8335         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
8336         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
8337         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
8338         (gst_pad_set_caps), (gst_pad_configure_sink),
8339         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
8340         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
8341         (gst_real_pad_dispose), (gst_real_pad_finalize),
8342         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
8343         (gst_pad_event_default_dispatch), (gst_pad_event_default),
8344         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
8345         * gst/gstpad.h:
8346         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
8347         (pipeline_bus_handler), (gst_pipeline_change_state),
8348         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
8349         * gst/gstpipeline.h:
8350         * gst/gstprobe.h:
8351         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
8352         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
8353         (gst_queue_link_src), (gst_queue_bufferalloc),
8354         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
8355         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
8356         (gst_queue_loop), (gst_queue_handle_src_event),
8357         (gst_queue_handle_src_query), (gst_queue_src_activate),
8358         (gst_queue_change_state):
8359         * gst/gstqueue.h:
8360         * gst/gstscheduler.c: (gst_scheduler_init),
8361         (gst_scheduler_dispose), (gst_scheduler_create_task),
8362         (gst_scheduler_factory_create):
8363         * gst/gstscheduler.h:
8364         * gst/gststructure.c: (gst_structure_get_type),
8365         (gst_structure_copy_conditional):
8366         * gst/gststructure.h:
8367         * gst/gsttaginterface.h:
8368         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8369         (gst_task_init), (gst_task_dispose), (gst_task_create),
8370         (gst_task_get_state), (gst_task_start), (gst_task_stop),
8371         (gst_task_pause):
8372         * gst/gsttask.h:
8373         * gst/gstthread.c:
8374         * gst/gstthread.h:
8375         * gst/gsttypes.h:
8376         * gst/schedulers/Makefile.am:
8377         * gst/schedulers/cothreads_compat.h:
8378         * gst/schedulers/entryscheduler.c:
8379         * gst/schedulers/faircothreads.c:
8380         * gst/schedulers/faircothreads.h:
8381         * gst/schedulers/fairscheduler.c:
8382         * gst/schedulers/gstbasicscheduler.c:
8383         * gst/schedulers/gstoptimalscheduler.c:
8384         * gst/schedulers/gthread-cothreads.h:
8385         * gst/schedulers/threadscheduler.c:
8386         (gst_thread_scheduler_task_get_type),
8387         (gst_thread_scheduler_task_class_init),
8388         (gst_thread_scheduler_task_init),
8389         (gst_thread_scheduler_task_start),
8390         (gst_thread_scheduler_task_stop),
8391         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
8392         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
8393         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
8394         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
8395         (plugin_init):
8396         * libs/gst/Makefile.am:
8397         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
8398         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
8399         (gst_file_pad_parent_set):
8400         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8401         (gst_dp_event_from_packet):
8402         * tests/complexity.c: (main):
8403         * tests/mass_elements.c: (main):
8404         * testsuite/states/locked.c: (message_received), (main):
8405         * testsuite/states/parent.c: (main):
8406         * tools/gst-inspect.c: (print_element_flag_info),
8407         (print_implementation_info), (print_pad_info):
8408         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
8409         (main):
8410         * tools/gst-md5sum.c: (event_loop), (main):
8411         * tools/gst-typefind.c: (main):
8412         * tools/gst-xmlinspect.c: (print_element_info):
8413         Next big merge.
8414         Added GstBus for mainloop integration.
8415         Added GstMessage for sending notifications on the bus.
8416         Added GstTask as an abstraction for pipeline entry points.
8417         Removed GstThread.
8418         Removed Schedulers.
8419         Simplified GstQueue for multithreaded core.
8420         Made _link threadsafe, removed old capsnego.
8421         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
8422         Added pad blocking functions.
8423         Reworked scheduling functions in GstPad to prepare for
8424         scheduling updates soon.
8425         Moved events out of data stream.
8426         Simplified GstEvent types.
8427         Added return values to push/pull.
8428         Removed clocking from GstElement.
8429         Added prototypes for state change function for next merge.
8430         Removed iterate from bins and state change management.
8431         Fixed some elements, disabled others for now.
8432         Fixed -inspect and -launch.
8433         Added check for GstBus.
8434
8435 2005-03-10  Wim Taymans  <wim@fluendo.com>
8436
8437         * docs/design/part-MT-refcounting.txt:
8438         * docs/design/part-clocks.txt:
8439         * docs/design/part-gstelement.txt:
8440         * docs/design/part-gstobject.txt:
8441         * docs/design/part-standards.txt:
8442         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
8443         (gst_bin_remove_func), (gst_bin_remove):
8444         * gst/gstbin.h:
8445         * gst/gstbuffer.c:
8446         * gst/gstcaps.h:
8447         * testsuite/clock/clock1.c: (main):
8448         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
8449         (main):
8450         * testsuite/dlopen/loadgst.c: (do_test):
8451         * testsuite/refcounting/bin.c: (add_remove_test1),
8452         (add_remove_test2), (main):
8453         * testsuite/refcounting/element.c: (main):
8454         * testsuite/refcounting/element_pad.c: (main):
8455         * testsuite/refcounting/pad.c: (main):
8456         * tools/gst-launch.c: (sigint_handler_sighandler):
8457         * tools/gst-typefind.c: (main):
8458         Doc updates.
8459         Added doc about clock.
8460         removed gst_bin_iterate_recurse_up(), marked methods
8461         for removal.
8462         Fix more testsuites.
8463
8464 2005-03-09  Wim Taymans  <wim@fluendo.com>
8465
8466         * gst/gstpad.c: (gst_pad_get_direction),
8467         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
8468         (gst_pad_collect_valist):
8469         * testsuite/bins/interface.c: (main):
8470         * testsuite/caps/audioscale.c: (test_caps):
8471         * testsuite/caps/caps.c: (test1), (test2), (test3):
8472         * testsuite/caps/deserialize.c: (main):
8473         * testsuite/caps/enumcaps.c: (main):
8474         * testsuite/caps/filtercaps.c: (main):
8475         * testsuite/caps/intersect2.c: (main):
8476         * testsuite/caps/random.c: (main):
8477         * testsuite/caps/renegotiate.c: (my_fixate), (main):
8478         * testsuite/caps/sets.c: (check_caps):
8479         * testsuite/caps/simplify.c: (check_caps), (main):
8480         * testsuite/caps/subtract.c: (check_caps):
8481         Fix _pad_get_direction wrt ghostpads.
8482         Fix caps testsuite.
8483
8484 2005-03-09  Wim Taymans  <wim@fluendo.com>
8485
8486         * check/Makefile.am:
8487         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
8488         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
8489         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
8490         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
8491         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
8492         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
8493         (gst_bin_remove), (gst_bin_iterate_recurse_up),
8494         (bin_element_is_sink), (gst_bin_iterate_sinks),
8495         (gst_bin_iterate_all_by_interface):
8496         * gst/gstbin.h:
8497         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
8498         (gst_element_change_state), (gst_element_dispose),
8499         (gst_element_finalize), (gst_element_set_loop_function):
8500         * gst/gstelement.h:
8501         * gst/gstiterator.c: (find_custom_fold_func):
8502         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
8503         (gst_pad_collectv), (gst_pad_collect_valist),
8504         (gst_pad_template_new):
8505         * gst/gstpipeline.c: (gst_pipeline_class_init),
8506         (gst_pipeline_dispose), (gst_pipeline_set_property),
8507         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
8508         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
8509         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
8510         * gst/gstutils.h:
8511         * gst/schedulers/entryscheduler.c:
8512         * gst/schedulers/gstbasicscheduler.c:
8513         (gst_basic_scheduler_cothreaded_chain),
8514         (gst_basic_scheduler_chain_add_element):
8515         * testsuite/bins/interface.c: (main):
8516         Added GstBin test.
8517         Added GstSystemClock test.
8518         Implemented clock distribution code in GstBin.
8519         Implemented iterate sinks method for future use.
8520         Rearranged gstelement.h
8521         Fix GstIterator comparison bug.
8522         Moved some code to GstPipeline, mostly clocking related.
8523
8524 2005-03-09  Wim Taymans  <wim@fluendo.com>
8525
8526         * configure.ac:
8527         * gst/gst_private.h:
8528         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
8529         (gst_bin_remove_func), (gst_bin_remove),
8530         (gst_bin_get_by_name_recurse_up):
8531         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
8532         (gst_clock_id_compare_func), (gst_clock_id_wait),
8533         (gst_clock_id_wait_async), (gst_clock_init),
8534         (gst_clock_adjust_unlocked), (gst_clock_get_time):
8535         * gst/gstelement.h:
8536         * gst/gstinfo.c: (_gst_debug_init):
8537         * gst/gstobject.h:
8538         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
8539         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
8540         * gst/gstpad.h:
8541         Bump version number, we're now 0.9.0
8542         Add future debugging category.
8543         Fix NULL _unref() in _get_by_name_recurse_up
8544         Rearrange gstpad.h.
8545         Update some docs.
8546
8547 2005-03-08  Wim Taymans  <wim@fluendo.com>
8548
8549         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
8550         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
8551         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8552         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
8553         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
8554         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
8555         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
8556         * gst/elements/gstidentity.c: (gst_identity_class_init):
8557         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
8558         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
8559         * gst/elements/gstshaper.c: (gst_shaper_class_init):
8560         * gst/elements/gststatistics.c: (gst_statistics_class_init):
8561         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
8562         (gst_tee_link):
8563         * gst/gstelement.c: (gst_element_class_init),
8564         (gst_element_base_class_init), (gst_element_init),
8565         (gst_element_get_random_pad), (gst_element_wait_state_change),
8566         (gst_element_change_state), (gst_element_dispose),
8567         (gst_element_finalize), (gst_element_set_loop_function):
8568         * gst/gstelement.h:
8569         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
8570         * gst/gstthread.c: (gst_thread_class_init),
8571         (gst_thread_release_children_locks), (gst_thread_change_state):
8572         * gst/schedulers/gstbasicscheduler.c:
8573         (gst_basic_scheduler_loopfunc_wrapper),
8574         (gst_basic_scheduler_chain_wrapper),
8575         (gst_basic_scheduler_src_wrapper),
8576         (gst_basic_scheduler_remove_element):
8577         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
8578         Remove threadsafe properties. Fix elements because GObject
8579         complains when installing a property before declaring a
8580         set/get_property handler.
8581         Rearrange gstelement.h file, use STATE macros for state locks.
8582         Free mutexes in the finalize method instead of dispose.
8583
8584 2005-03-08  Wim Taymans  <wim@fluendo.com>
8585
8586         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
8587         * gst/gstthread.c: (gst_thread_release_children_locks):
8588         Added parentage check.
8589         Fix build og GstThread again.
8590
8591 2005-03-08  Wim Taymans  <wim@fluendo.com>
8592
8593         * docs/design/part-MT-refcounting.txt:
8594         * docs/design/part-conventions.txt:
8595         * docs/design/part-gstobject.txt:
8596         * docs/design/part-relations.txt:
8597         * docs/design/part-standards.txt:
8598         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
8599         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
8600         (gst_bin_get_by_name), (gst_bin_get_by_interface),
8601         (gst_bin_iterate_all_by_interface):
8602         * gst/gstbuffer.h:
8603         * gst/gstclock.h:
8604         * gst/gstelement.c: (gst_element_class_init),
8605         (gst_element_change_state), (gst_element_set_loop_function):
8606         * gst/gstelement.h:
8607         * gst/gstiterator.c:
8608         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
8609         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
8610         (gst_object_dispatch_properties_changed), (gst_object_set_name),
8611         (gst_object_set_parent), (gst_object_unparent),
8612         (gst_object_check_uniqueness):
8613         * gst/gstobject.h:
8614         Docs updates, clean up some headers.
8615
8616 2005-03-07  Wim Taymans  <wim@fluendo.com>
8617
8618         * check/.cvsignore:
8619         * check/Makefile.am:
8620         * check/gst-libs/.cvsignore:
8621         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
8622         * check/gst/.cvsignore:
8623         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
8624         (START_TEST), (gstbus_suite), (main):
8625         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
8626         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
8627         (gst_data_suite), (main):
8628         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
8629         (add_fold_func), (gstiterator_suite), (main):
8630         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
8631         (thread_name_object), (thread_name_object_default),
8632         (gst_object_name_compare), (gst_object_suite), (main):
8633         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
8634         (gst_pad_suite), (main):
8635         * check/gstcheck.c: (gst_check_log_message_func),
8636         (gst_check_log_critical_func), (gst_check_init):
8637         * check/gstcheck.h:
8638         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
8639         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
8640         Added checks.
8641
8642 2005-03-07  Wim Taymans  <wim@fluendo.com>
8643
8644         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
8645         (gst_list_iterator_next), (gst_list_iterator_resync),
8646         (gst_list_iterator_free), (gst_iterator_new_list),
8647         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
8648         (gst_iterator_free), (gst_iterator_push), (filter_next),
8649         (filter_resync), (filter_uninit), (filter_free),
8650         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
8651         (gst_iterator_foreach), (find_custom_fold_func),
8652         (gst_iterator_find_custom):
8653         * gst/gstiterator.h:
8654         Added missing files.
8655
8656 2005-03-07  Wim Taymans  <wim@fluendo.com>
8657
8658         * Makefile.am:
8659         * configure.ac:
8660         * docs/design/part-MT-refcounting.txt:
8661         * docs/design/part-conventions.txt:
8662         * docs/design/part-gstobject.txt:
8663         * docs/design/part-relations.txt:
8664         * examples/mixer/mixer.c: (main):
8665         * examples/thread/thread.c: (eos), (main):
8666         * gst/Makefile.am:
8667         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
8668         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
8669         (gst_spider_plug_from_srcpad):
8670         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
8671         (gst_spider_identity_change_state),
8672         (gst_spider_identity_sink_loop_type_finding):
8673         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
8674         * gst/elements/gstidentity.c: (gst_identity_init):
8675         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
8676         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
8677         * gst/elements/gsttypefindelement.c: (free_entry):
8678         * gst/gst.c:
8679         * gst/gst.h:
8680         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
8681         (gst_bin_set_clock_func), (gst_bin_auto_clock),
8682         (gst_bin_set_index), (gst_bin_set_element_sched),
8683         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
8684         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
8685         (gst_bin_iterate_elements), (iterate_child_recurse),
8686         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
8687         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
8688         (compare_interface), (gst_bin_get_by_interface),
8689         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
8690         * gst/gstbin.h:
8691         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
8692         (gst_buffer_default_free), (gst_buffer_default_copy),
8693         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
8694         (gst_buffer_create_sub):
8695         * gst/gstbuffer.h:
8696         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
8697         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
8698         (gst_caps_unref), (gst_static_caps_get),
8699         (gst_caps_remove_and_get_structure), (gst_caps_append),
8700         (gst_caps_append_structure), (gst_caps_remove_structure),
8701         (gst_caps_copy_nth), (gst_caps_set_simple),
8702         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
8703         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
8704         (gst_caps_structure_intersect_field), (gst_caps_intersect),
8705         (gst_caps_structure_subtract_field), (gst_caps_subtract),
8706         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
8707         (gst_caps_structure_figure_out_union),
8708         (gst_caps_switch_structures), (gst_caps_do_simplify),
8709         (gst_caps_replace), (gst_caps_from_string),
8710         (gst_caps_copy_conditional):
8711         * gst/gstcaps.h:
8712         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
8713         (_gst_clock_id_free), (gst_clock_id_unref),
8714         (gst_clock_id_compare_func), (gst_clock_id_wait),
8715         (gst_clock_id_wait_async), (gst_clock_class_init),
8716         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
8717         (gst_clock_get_time), (gst_clock_set_time_adjust),
8718         (gst_clock_set_property), (gst_clock_get_property):
8719         * gst/gstclock.h:
8720         * gst/gstcompat.h:
8721         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
8722         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
8723         * gst/gstdata.h:
8724         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
8725         (gst_element_requires_clock), (gst_element_provides_clock),
8726         (gst_element_set_clock), (gst_element_clock_wait),
8727         (gst_element_wait), (gst_element_set_time_delay),
8728         (gst_element_is_indexable), (gst_element_add_pad),
8729         (gst_element_add_ghost_pad), (gst_element_remove_pad),
8730         (pad_compare_name), (gst_element_get_static_pad),
8731         (gst_element_request_pad), (gst_element_get_request_pad),
8732         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
8733         (gst_element_class_get_pad_template_list),
8734         (gst_element_class_get_pad_template), (gst_element_error_func),
8735         (gst_element_get_random_pad), (gst_element_get_event_masks),
8736         (gst_element_send_event), (gst_element_seek),
8737         (gst_element_get_query_types), (gst_element_query),
8738         (gst_element_get_formats), (gst_element_convert),
8739         (gst_element_is_locked_state), (gst_element_set_locked_state),
8740         (gst_element_sync_state_with_parent), (gst_element_change_state),
8741         (gst_element_finalize), (gst_element_yield),
8742         (gst_element_interrupt), (gst_element_set_scheduler),
8743         (gst_element_get_scheduler), (gst_element_set_loop_function):
8744         * gst/gstelement.h:
8745         * gst/gstevent.h:
8746         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
8747         (gst_format_get_by_nick), (gst_format_get_details),
8748         (gst_format_iterate_definitions):
8749         * gst/gstformat.h:
8750         * gst/gstindex.c: (gst_index_gtype_resolver):
8751         * gst/gstinfo.c:
8752         * gst/gstinfo.h:
8753         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
8754         (gst_mem_chunk_free):
8755         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
8756         (gst_object_ref), (gst_object_unref), (gst_object_sink),
8757         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
8758         (gst_object_dispatch_properties_changed),
8759         (gst_object_set_name_default), (gst_object_set_name),
8760         (gst_object_get_name), (gst_object_set_name_prefix),
8761         (gst_object_get_name_prefix), (gst_object_set_parent),
8762         (gst_object_get_parent), (gst_object_unparent),
8763         (gst_object_check_uniqueness), (gst_object_save_thyself),
8764         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
8765         (gst_object_set_property), (gst_object_get_property),
8766         (gst_object_get_path_string):
8767         * gst/gstobject.h:
8768         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8769         (gst_real_pad_init), (gst_real_pad_get_property),
8770         (gst_pad_custom_new), (gst_pad_get_direction),
8771         (gst_pad_set_active), (gst_pad_is_active),
8772         (gst_pad_set_event_function), (gst_pad_is_linked),
8773         (gst_pad_link_free), (gst_pad_link_intersect),
8774         (gst_pad_link_fixate), (gst_pad_set_caps),
8775         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
8776         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
8777         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
8778         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
8779         (gst_pad_get_caps), (gst_pad_peer_get_caps),
8780         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
8781         (gst_pad_realize), (gst_pad_get_allowed_caps),
8782         (gst_real_pad_dispose), (gst_real_pad_finalize),
8783         (gst_pad_collectv), (gst_pad_collect_valist),
8784         (gst_pad_template_dispose), (gst_pad_template_new),
8785         (gst_pad_get_internal_links):
8786         * gst/gstpad.h:
8787         * gst/gstpipeline.c: (gst_pipeline_dispose),
8788         (gst_pipeline_change_state):
8789         * gst/gstpipeline.h:
8790         * gst/gstplugin.c:
8791         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
8792         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
8793         * gst/gstpluginfeature.h:
8794         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
8795         * gst/gstquery.c: (_gst_query_type_initialize),
8796         (gst_query_type_register), (gst_query_type_get_by_nick),
8797         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
8798         * gst/gstquery.h:
8799         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
8800         * gst/gstscheduler.c: (gst_scheduler_add_element),
8801         (gst_scheduler_factory_create):
8802         * gst/gststructure.c: (gst_structure_set_parent_refcount),
8803         (gst_structure_free), (gst_structure_set_name),
8804         (gst_structure_id_set_value), (gst_structure_set_value),
8805         (gst_structure_set_valist), (gst_structure_remove_field),
8806         (gst_structure_remove_fields),
8807         (gst_structure_remove_fields_valist),
8808         (gst_structure_remove_all_fields), (gst_structure_foreach),
8809         (gst_structure_map_in_place),
8810         (gst_caps_structure_fixate_field_nearest_int),
8811         (gst_caps_structure_fixate_field_nearest_double):
8812         * gst/gststructure.h:
8813         * gst/gstsystemclock.c: (gst_system_clock_class_init),
8814         (gst_system_clock_init), (gst_system_clock_dispose),
8815         (gst_system_clock_async_thread),
8816         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
8817         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
8818         * gst/gstsystemclock.h:
8819         * gst/gsttag.c: (gst_tag_list_add_value_internal),
8820         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
8821         * gst/gsttaginterface.c:
8822         * gst/gstthread.c: (gst_thread_dispose),
8823         (gst_thread_release_children_locks), (gst_thread_change_state),
8824         (gst_thread_main_loop):
8825         * gst/gsttrashstack.h:
8826         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
8827         * gst/gsttypes.h:
8828         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8829         (gst_element_request_pad), (gst_element_get_pad_from_template),
8830         (gst_element_request_compatible_pad),
8831         (gst_element_get_compatible_pad_filtered),
8832         (gst_element_get_compatible_pad), (gst_element_state_get_name),
8833         (gst_element_link_pads_filtered), (gst_element_link_filtered),
8834         (gst_element_link_many), (gst_element_link),
8835         (gst_element_link_pads), (gst_element_unlink_pads),
8836         (gst_element_unlink_many), (gst_element_unlink),
8837         (gst_pad_can_link_filtered), (gst_pad_can_link),
8838         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
8839         (gst_object_default_error), (gst_bin_add_many),
8840         (gst_bin_remove_many), (gst_element_populate_std_props),
8841         (gst_element_class_install_std_props), (gst_buffer_merge),
8842         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
8843         (link_fold_func), (gst_pad_proxy_setcaps):
8844         * gst/gstutils.h:
8845         * gst/gstvalue.c: (gst_value_deserialize_string):
8846         * gst/parse/grammar.y:
8847         * gst/schedulers/gstbasicscheduler.c:
8848         (gst_basic_scheduler_cothreaded_chain),
8849         (gst_basic_scheduler_chain_recursive_add),
8850         (gst_basic_scheduler_pad_link):
8851         * gst/schedulers/gstoptimalscheduler.c:
8852         (get_group_schedule_function),
8853         (gst_opt_scheduler_state_transition),
8854         (gst_opt_scheduler_add_element), (element_get_reachables_func):
8855         * libs/gst/bytestream/bytestream.c:
8856         * libs/gst/dataprotocol/dataprotocol.c:
8857         (gst_dp_header_from_buffer):
8858         * po/nb.po:
8859         * po/ru.po:
8860         * tests/threadstate/threadstate2.c: (eos):
8861         * tools/gst-compprep.c: (main):
8862         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
8863         (print_pad_info), (print_children_info):
8864         * tools/gst-launch.c: (idle_func), (main):
8865         * tools/gst-md5sum.c: (idle_func), (main):
8866         * tools/gst-xmlinspect.c: (print_element_info):
8867         First THREADED backport attempt, focusing on adding locks and
8868         making sure the API is threadsafe. Needs more work. More docs
8869         follow this week.
8870
8871 2005-02-24  Andy Wingo  <wingo@pobox.com>
8872
8873         * tests/bench-complexity.scm:
8874         * tests/complexity.gnuplot: New files, good for running complexity
8875         benchmarks.
8876
8877         * tests/Makefile.am:
8878         * tests/complexity.c: New test, sets up N elements, at each level
8879         teeing into M streams per element. Eeeenteresting.
8880
8881         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
8882         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
8883         running bench-mass_elements.scm.
8884
8885         * tests/bench-mass_elements.scm: New script, runs mass_elements
8886         for various numbers of identities, outputting the results to a
8887         file. Requires guile 1.6. Just for testing.
8888
8889 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8890
8891         * gst/schedulers/fairscheduler.c:
8892           compile with debug disabled
8893
8894 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8895
8896         * configure.ac:
8897           hunting season on 0.9 is now OPEN