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