gst/gstelement.h: remove gst_element_factory_get_version. It doesn't exist anymore.
[platform/upstream/gstreamer.git] / ChangeLog
1 2004-01-26  Benjamin Otte  <in7y118@public.uni-hamburg.de>
2
3         * gst/gstelement.h:
4           remove gst_element_factory_get_version. It doesn't exist anymore.
5         * gst/gstplugin.c:
6         * gst/gstplugin.h:
7           remove gst_plugin_set_name and change gst_plugin_get_longname to
8           gst_plugin_get_description to match code.
9         * gst/gsterror.h:
10           remove GST_LIBRARY_ERROR_ENCODE. It's GST_STREAM_ERROR_ENCODE.
11         * gst/gstpad.c: (gst_pad_try_set_caps):
12           make it work with nonfixed caps.
13           Note that even in the nonfixed case the link function of the pad
14           that tries to set caps isn't called.
15
16 2004-01-25  Benjamin Otte  <in7y118@public.uni-hamburg.de>
17
18         * gst/elements/gstbufferstore.c: (gst_buffer_store_get_buffer):
19           fix bug where buffer was not assembled correctly
20         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init):
21           silence by default
22         * gst/elements/gsttypefind.c: (gst_type_find_element_chain):
23           only seek if there's no more buffers that could work without seeking
24
25 2004-01-23  Ronald Bultje  <rbultje@ronald.bitfreak.net>
26
27         * gst/gsttag.c: (_gst_tag_initialize):
28         * gst/gsttag.h:
29           Add application tag (for encoding/muxing app).
30
31 2004-01-23  Thomas Vander Stichele  <thomas at apestaart dot org>
32
33         * autogen.sh:
34           make autopoint force, and libtoolize not copy
35         * common/m4/as-docbook.m4:
36           added docbook xml catalog setup check
37         * common/m4/gst-doc.m4:
38           use docbook check
39
40 2004-01-22  Thomas Vander Stichele  <thomas at apestaart dot org>
41
42         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
43         * gst/gsttag.h:
44           add GstTagFlag
45
46 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
47
48         * docs/gst/gstreamer-sections.txt:
49         * docs/gst/tmpl/gst.sgml:
50         * docs/gst/tmpl/gstbuffer.sgml:
51         * docs/gst/tmpl/gstclock.sgml:
52         * docs/gst/tmpl/gstelement.sgml:
53         * docs/gst/tmpl/gstreamer-unused.sgml:
54         * docs/gst/tmpl/gstxml.sgml:
55           sync latest API changes to docs
56
57 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
58
59         * gst/gstpluginfeature.c:
60           fix doc snippet
61         * tools/gst-inspect.c: (print_element_list):
62           fix output of typefind
63           add GPL header
64         * tools/gst-launch.c:
65           add GPL header
66
67 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
68
69         * gst/elements/Makefile.am:
70         * gst/elements/gstelements.c:
71         * gst/elements/gsttypefindelement.c:
72         * gst/elements/gsttypefindelement.h:
73         * po/POTFILES.in:
74         * po/fr.po:
75         * po/nl.po:
76           renamed gsttypefindelement to gsttypefind, conserving CVS history
77
78 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
79
80         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_list_add_valist):
81         * gst/gsttag.h:
82           add some tags used in ogg as well
83           fix _ in replaygain tags
84
85 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
86
87         * gst/gsterror.h:
88           fix wrong GST_LIBRARY_ERROR_ENCODE addition
89
90 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
91
92         * gst/gstelement.c: (gst_element_error_full):
93         * gst/gstelement.h:
94           change _extended to _full
95
96 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
97
98         reviewed by: <delete if not using a buddy>
99
100         * docs/gst/tmpl/gst.sgml:
101         * docs/gst/tmpl/gstbuffer.sgml:
102         * docs/gst/tmpl/gstclock.sgml:
103         * docs/gst/tmpl/gstelement.sgml:
104         * docs/gst/tmpl/gstreamer-unused.sgml:
105         * docs/gst/tmpl/gstxml.sgml:
106         * gst/gstelement.c: (gst_element_error_full):
107         * gst/gstelement.h:
108
109 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
110
111         * gst/gstelement.h: fix _gst_element_error_printf prototype
112
113 2004-01-20  David Schleef  <ds@schleef.org>
114
115         * gst/gststructure.c: (gst_structure_to_string):
116         Convert function to use gst_value_serialize().
117         * gst/gstvalue.c: (gst_value_serialize_list),
118         (gst_value_serialize_fourcc), (gst_value_serialize_int_range),
119         (gst_value_serialize_double_range), (gst_value_serialize_boolean),
120         (gst_value_serialize_int), (gst_value_serialize_double),
121         (gst_string_wrap), (gst_value_serialize_string),
122         (gst_value_serialize), (gst_value_deserialize):
123         * gst/gstvalue.h:
124         Add implementations for serialize.
125
126 2004-01-20  Julien MOUTTE  <julien@moutte.net>
127
128         * gst/gsterror.h: xvidenc.c needs GST_LIBRARY_ERROR_ENCODE. Dunno if
129         we want to keep that one in the future or change xvidenc.c to use 
130         another error.
131
132 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
133
134         * gst/gstelement.c: (_gst_element_error_printf):
135         * gst/gstelement.h:
136           privatise function
137
138 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
139
140         * docs/random/error:
141           doc explaining error system
142         * gst/elements/gstfilesrc.c: (gst_filesrc_open_file):
143           cleanup
144
145 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
146
147         * gst/gst-i18n-app.h:
148         * gst/gst-i18n-lib.h:
149           remove inclusion of config.h
150         * po/POTFILES.in:
151         * po/nl.po:
152           add gst/gstelement.c
153
154 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
155
156         * po/nl.po: updated Dutch translation
157
158 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
159
160         * gst/gsterror.c: (_gst_core_errors_init),
161         (_gst_library_errors_init), (_gst_resource_errors_init),
162         (_gst_stream_errors_init):
163         remove ending punctuation dots
164
165 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
166
167         * gst/elements/gstfilesink.c: (gst_filesink_open_file):
168         * gst/elements/gstfilesrc.c: (gst_filesrc_get_read):
169         * gst/elements/gstmultidisksrc.c: (gst_multidisksrc_open_file):
170         * gst/elements/gstpipefilter.c: (gst_pipefilter_get),
171         (gst_pipefilter_chain), (gst_pipefilter_open_file):
172         use GST_ERROR_SYSTEM
173
174 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
175
176         * gst/gstelement.c: (gst_element_error_printf),
177         (gst_element_error_extended):
178         * gst/gstelement.h:
179           add a helper printf function so we can have NULL values passed.
180
181 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
182
183         * gst/gstelement.h:
184           add G_STMT macros to gst_element_error, which isn't strictly
185           necessary but people tell me to anyway.
186
187 2004-01-18  Thomas Vander Stichele  <thomas at apestaart dot org>
188
189         * gst/Makefile.am:
190         * gst/autoplug/gstspideridentity.c:
191         (gst_spider_identity_sink_loop_type_finding):
192         * gst/elements/gstfakesink.c: (gst_fakesink_change_state):
193         * gst/elements/gstfilesink.c: (gst_filesink_open_file),
194         (gst_filesink_close_file), (gst_filesink_handle_event),
195         (gst_filesink_chain):
196         * gst/elements/gstfilesrc.c: (gst_filesrc_set_property),
197         (gst_filesrc_map_region), (gst_filesrc_get_read),
198         (gst_filesrc_open_file):
199         * gst/elements/gstidentity.c: (gst_identity_chain):
200         * gst/elements/gstmultidisksrc.c: (gst_multidisksrc_open_file):
201         * gst/elements/gstpipefilter.c: (gst_pipefilter_get),
202         (gst_pipefilter_chain), (gst_pipefilter_open_file):
203         * gst/elements/gsttypefindelement.c: (gst_type_find_element_chain):
204         * gst/gst.h:
205         * gst/gst_private.h:
206         * gst/gstelement.c: (gst_element_class_init),
207         (gst_element_default_error), (gst_element_error_func),
208         (gst_element_error_extended):
209         * gst/gstelement.h:
210         * gst/gsterror.c: (_gst_core_errors_init),
211         (_gst_library_errors_init), (_gst_resource_errors_init),
212         (_gst_stream_errors_init), (gst_error_get_message):
213         * gst/gsterror.h:
214         * gst/gstinfo.c: (_gst_debug_init):
215         * gst/gstmarshal.list:
216         * gst/gstpad.c: (gst_pad_set_explicit_caps),
217         (gst_pad_recover_caps_error), (gst_pad_pull):
218         * gst/gstqueue.c: (gst_queue_chain), (gst_queue_get):
219         * gst/schedulers/gstbasicscheduler.c:
220         (gst_basic_scheduler_chainhandler_proxy),
221         (gst_basic_scheduler_gethandler_proxy),
222         (gst_basic_scheduler_cothreaded_chain):
223         * po/POTFILES.in:
224         * po/fr.po:
225         * po/nl.po:
226           change error signal
227           add error categories
228
229 2004-01-18  Jeremy Simon  <jesimon@libertysurf.fr>
230
231         * gst/gsttag.c: (_gst_tag_initialize):
232         * gst/gsttag.h:
233         Add replaygain tag
234
235 2004-01-18  Colin Walters  <walters@verbum.org>
236
237         * examples/retag/retag.c: Call gst_init before processing
238         program args.  Add g_assert to _link_many call.
239
240 2004-01-16  Benjamin Otte  <in7y118@public.uni-hamburg.de>
241
242         * gst/gstpad.c: (gst_pad_alloc_buffer):
243           Return a newly allocated buffer when the pad has no peer.
244
245 2004-01-16  Benjamin Otte  <in7y118@public.uni-hamburg.de>
246
247         * gst/gstclock.c: (gst_clock_get_time):
248           make it compile with gcc 2.95 again.
249           Patch by Scott Wheeler
250
251 2004-01-15  David Schleef  <ds@schleef.org>
252
253         * gst/gstcaps.h:
254         Added gst_caps_is_simple() macro.
255         * testsuite/caps/caps.c: (test1):
256         * testsuite/caps/intersect2.c: (main):
257         * testsuite/caps/intersection.c: (main):
258         Fixes to make 'make check' work again after removing
259         gst_caps_is_chained().
260
261 2004-01-15  Leif Johnson <leif@ambient.2y.net>
262
263         * docs/random/uraeus/gstreamer_and_midi.txt: Rather large edits
264         and additions to the MIDI document.
265
266 2004-01-15  David Schleef  <ds@schleef.org>
267
268         * gst/gstelement.c: (gst_element_get_compatible_pad_filtered),
269         (gst_element_link_pads_filtered): Use GST_PAD_ macros instead
270         of GST_RPAD_, since we don't know if it's a real or ghost pad.
271
272 2004-01-15  David Schleef  <ds@schleef.org>
273
274         * gst/gstqueue.c:
275         * gst/gstqueue.h:
276         Fix the spelling of "treshold" and make min_threshold actually
277         affect the queue.
278
279 2004-01-15  David Schleef  <ds@schleef.org>
280
281         * gst/gstcaps.c:
282         Add lots of documentation.
283         * gst/gstcaps.h:
284         Deprecate a few functions.
285         * gst/gstpad.c:
286         Removed use of deprecated functions.
287
288 2004-01-15  Benjamin Otte  <in7y118@public.uni-hamburg.de>
289
290         * gst/gstpad.c: (gst_pad_is_linked):
291         * gst/gstpad.h:
292           implement gst_pad_is_linked
293         * gst/gstelement.h:
294           reserve space for initiate_state_change
295
296 2004-01-15  Benjamin Otte  <in7y118@public.uni-hamburg.de>
297
298         * gst/autoplug/gstspideridentity.c:
299         (gst_spider_identity_sink_loop_type_finding):
300           break infinite loop by just returning instead of looping
301         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_set_property):
302           set event time difference correctly. Set it to 1 second instead
303           of 100ms to be more tolerant
304         * gst/gstelement.c: (gst_element_set_time):
305           add debugging output
306
307 2004-01-14  Benjamin Otte  <in7y118@public.uni-hamburg.de>
308
309         * gst/gstqueue.c: (gst_queue_getcaps), (gst_queue_link):
310           query if buffers are inside the pool, ignore events
311
312 2004-01-13  Benjamin Otte  <in7y118@public.uni-hamburg.de>
313
314         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_init),
315         (gst_clock_set_speed), (gst_clock_set_active),
316         (gst_clock_is_active), (gst_clock_reset),
317         (gst_clock_handle_discont):
318         * gst/gstclock.h:
319           deprecate old interface and disable functions that aren't in use
320           anymore.
321         * gst/gstelement.h:
322         * gst/gstelement.c: (gst_element_get_time), (gst_element_wait),
323         (gst_element_set_time), (gst_element_adjust_time):
324           add concept of "element time" and functions to get/set this time.
325         * gst/gstelement.c: (gst_element_change_state):
326           update element time correctly.
327         * gst/gstelement.c: (gst_element_get_compatible_pad_filtered):
328           This is a debug message, not a g_critical.
329         * gst/gstpad.c: (gst_pad_event_default):
330           handle discontinuous events right with element time.
331         * gst/gstscheduler.c: (gst_scheduler_state_transition):
332           update to clocking fixes.
333           set clocks on elements in READY=>PAUSED. The old behaviour caused
334           a wrong element time on the first element that started playing.
335         * gst/schedulers/gstbasicscheduler.c:
336         (gst_basic_scheduler_class_init):
337         * gst/schedulers/gstoptimalscheduler.c:
338         (gst_opt_scheduler_class_init):
339           remove code that just implements the default behaviour.
340         * gst/elements/gstfakesink.c: (gst_fakesink_chain):
341           update to use new clocking functions
342         * testsuite/clock/clock1.c: (gst_clock_debug), (main):
343         * testsuite/clock/clock2.c: (gst_clock_debug), (main):
344           update to test new element time.
345         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps):
346           use _get_allowed_caps instead of _get_caps. This catches filtered
347           caps correctly.
348         * testsuite/debug/commandline.c:
349           update for new GST_DEBUG syntax.
350         * testsuite/threads/Makefile.am:
351           disable a test that only works sometimes.
352
353 2004-01-13  Julien MOUTTE <julien@moutte.net>
354
355         * po/LINGUAS: Adding fr.
356         * po/fr.po: Adding french translation.
357
358 2004-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
359
360         * gst/parse/grammar.y:
361         * po/POTFILES.in:
362         * po/nl.po:
363         * tools/gst-launch.c: (xmllaunch_parse_cmdline), (main):
364           translate parsing error messages
365
366 2004-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
367
368         * po/POTFILES.in: adding gst-launch
369         * po/nl.po: updated translation, all 99 strings translated
370         * tools/gst-launch.c: (idle_func), (xmllaunch_parse_cmdline),
371         (found_tag), (sigint_handler_sighandler), (play_handler), (main):
372           fix strings for translation
373
374 2004-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
375
376         * gst/gst.c:
377           - capitalize beginnings of popt options
378           - fix strings for translation
379           - change gst-debug format from =N1=V1:N2=V2 to =N1:V1,N2:V2
380
381 2004-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
382
383         * po/README: add some notes on how to update translations
384
385 2004-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
386
387         * ABOUT-NLS: removed, is autogenerated from autopoint
388         * autogen.sh: add autopoint stuff
389         * configure.ac: fix up gettext stuff
390         * gst/Makefile.am: add i18n headers to noinst_HEADERS
391         * gst/elements/gsttypefindelement.c: add header include
392         * gst/gettext.h: add header, copy from system-installed header
393         * gst/gst-i18n-app.h: to be included by each app having translations
394         * gst/gst-i18n-lib.h: to be included by each lib having translations
395         * gst/gst.c: (init_pre): fix up gettext calls
396         * gst/gst_private.h: remove i18n stuff, moving to separate headers
397         * po/LINGUAS: the new way to specify translations present
398         * po/Makefile.in.in: removed from cvs, autogenerated from autopoint
399         * po/Makevars: the variables filled in for GStreamer
400         * po/POTFILES.in: added new files with translations
401         * po/de.po: has new strings
402         * po/nl.po: readded, has new strings
403
404 2004-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
405
406         * gst/gsttag.c: fix some strings marked for translation
407
408 2004-01-13  Iain <iain@prettypeople.org>
409
410         * gst/schedulers/gstoptimalscheduler.c (add_to_group): Reference the
411         group when we add an element to it, cos we unref it when we remove one
412
413 2004-01-12  Thomas Vander Stichele  <thomas at apestaart dot org>
414
415         * testsuite/debug/commandline.c: (debug_not_reached):
416         * testsuite/debug/output.c: (check_message):
417           fix testsuite
418
419 2004-01-12  Benjamin Otte  <in7y118@public.uni-hamburg.de>
420
421         * examples/cutter/.cvsignore:
422         * examples/helloworld/.cvsignore:
423         * examples/launch/.cvsignore:
424         * examples/manual/.cvsignore:
425         * examples/mixer/.cvsignore:
426         * examples/pingpong/.cvsignore:
427         * examples/plugins/.cvsignore:
428         * examples/queue/.cvsignore:
429         * examples/queue2/.cvsignore:
430         * examples/queue3/.cvsignore:
431         * examples/queue4/.cvsignore:
432         * examples/retag/.cvsignore:
433         * examples/thread/.cvsignore:
434         * examples/typefind/.cvsignore:
435         * examples/xml/.cvsignore:
436         * gst/.cvsignore:
437         * gst/autoplug/.cvsignore:
438         * gst/elements/.cvsignore:
439         * gst/indexers/.cvsignore:
440         * gst/parse/.cvsignore:
441         * gst/registries/.cvsignore:
442         * gst/schedulers/.cvsignore:
443         * libs/gst/bytestream/.cvsignore:
444         * libs/gst/control/.cvsignore:
445         * libs/gst/getbits/.cvsignore:
446         * tests/.cvsignore:
447         * tests/bufspeed/.cvsignore:
448         * tests/instantiate/.cvsignore:
449         * tests/memchunk/.cvsignore:
450         * tests/muxing/.cvsignore:
451         * tests/sched/.cvsignore:
452         * tests/seeking/.cvsignore:
453         * tests/threadstate/.cvsignore:
454         * testsuite/.cvsignore:
455         * testsuite/caps/.cvsignore:
456         * testsuite/cleanup/.cvsignore:
457         * testsuite/dynparams/.cvsignore:
458         * testsuite/plugin/.cvsignore:
459         * tools/.cvsignore:
460           update - this is huge, because it includes *.bb, *.bbg and *.da files
461           which are generated for gcov.
462
463 2004-01-11  David Schleef  <ds@schleef.org>
464
465         * gst/gststructure.c: (gst_strtoi), (gst_value_from_string): Add
466         a function to parse integers in ways that strto[u]l() does not.
467
468 2004-01-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>
469
470         * tools/gst-inspect.c: (print_caps):
471           improve output of caps a bit
472
473 2004-01-11  David Schleef  <ds@schleef.org>
474
475         * gst/gstbuffer.c: (gst_buffer_create_sub): Subbuffers should
476         inherit correct flags (READONLY and DONTKEEP).
477
478 2004-01-11  David Schleef  <ds@schleef.org>
479
480         * gst/elements/gstfilesrc.c: (gst_filesrc_free_parent_mmap),
481         (gst_filesrc_map_region):
482         * gst/gstbuffer.c: (_gst_buffer_initialize),
483         (_gst_buffer_sub_free), (gst_buffer_default_copy),
484         (gst_buffer_new), (gst_buffer_create_sub),
485         (gst_buffer_is_span_fast), (gst_buffer_span):
486         * gst/gstbuffer.h:
487         Change GstBuffer private structure element names. (all files)
488         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
489         (gst_queue_link):
490         * gst/gstqueue.h:
491         Implement getcaps/pad_link functions that handle the case where
492         there are data in the queue.
493
494 2004-01-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>
495
496         * gst/elements/gstbufferstore.c:
497           initialize debugging structure correctly
498         * gst/elements/gsttee.c: (gst_tee_set_property):
499           g_object_notify when property was changed
500         * gst/elements/gsttypefindelement.c:
501         (gst_type_find_element_change_state):
502           clear caps correctly
503
504 2004-01-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>
505
506         * gst/gstqueue.c: (gst_queue_init):
507           Use better defaults for when a queue should block. This
508           gets rid of jerky playback for quite a few files.
509           It takes more memory.
510
511 2004-01-10  Thomas Vander Stichele  <thomas at apestaart dot org>
512
513         (gst_xml_registry_parse_padtemplate):
514           make critical message slightly more useful
515
516 2004-01-10  Benjamin Otte  <in7y118@public.uni-hamburg.de>
517
518         * gst/gstinfo.c: (gst_debug_log), (gst_debug_log_valist),
519         (gst_debug_message_get), (gst_debug_log_default):
520         * gst/gstinfo.h:
521           Change gst_debug_log(_valist) to take a const format string.
522           Change prototype of log function and functions using those to 
523           take a GstDebugMessage instead of a string that requires using
524           gst_debug_message_get.
525
526 2004-01-08  David Schleef  <ds@schleef.org>
527
528         * Makefile.am:
529         * configure.ac:
530         Add option --enable-gcov to build GStreamer with -fprofile-arcs
531         and -ftest-coverage, which allows gcov to show information about
532         testsuite coverage.
533
534 2004-01-08  Benjamin Otte  <in7y118@public.uni-hamburg.de>
535
536         * gst/gstutils.h:
537           Add GST_BOILERPLATE(_FULL), GST_PARENT_CALL and
538           GST_PARENT_CALL_WITH_DEFAULT
539         * gst/elements/gstaggregator.c: 
540         * gst/elements/gstbufferstore.c: 
541         * gst/elements/gstfakesink.c: 
542         * gst/elements/gstfakesrc.c: 
543         * gst/elements/gstfdsink.c: 
544         * gst/elements/gstfdsrc.c: 
545         * gst/elements/gstfilesink.c: 
546         * gst/elements/gstfilesrc.c: 
547         * gst/elements/gstidentity.c: 
548         * gst/elements/gstmd5sink.c: 
549         * gst/elements/gstmultidisksrc.c:
550         * gst/elements/gstpipefilter.c: 
551         * gst/elements/gstshaper.c:
552         * gst/elements/gststatistics.c:
553         * gst/elements/gsttee.c:
554         * gst/elements/gsttypefindelement.c:
555           use them.
556
557 2004-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
558
559         * docs/gst/gstreamer-docs.sgml: remove props
560         * docs/gst/gstreamer-sections.txt: remove props
561         * docs/gst/tmpl/gst.sgml:
562         * docs/gst/tmpl/gstbin.sgml:
563         * docs/gst/tmpl/gstbuffer.sgml:
564         * docs/gst/tmpl/gstcaps.sgml:
565         * docs/gst/tmpl/gstclock.sgml:
566         * docs/gst/tmpl/gstelement.sgml:
567         * docs/gst/tmpl/gstindex.sgml:
568         * docs/gst/tmpl/gstobject.sgml:
569         * docs/gst/tmpl/gstpad.sgml:
570         * docs/gst/tmpl/gstpadtemplate.sgml:
571         * docs/gst/tmpl/gstreamer-unused.sgml:
572         * docs/gst/tmpl/gstthread.sgml:
573         * docs/gst/tmpl/gstxml.sgml:
574           sync with code reorganization
575
576 2004-01-07  Jan Schmidt  <thaytan@mad.scientist.com>
577
578         * gst/gstelement.c: (gst_element_get_compatible_pad_filtered):
579         Make the 'Could not find compatible pad' message more informative.
580
581 2004-01-07  Ronald Bultje  <rbultje@ronald.bitfreak.net>
582                                                                                 
583         * gst/elements/gstfilesink.c: (gst_filesink_set_location):
584           Fix for if we pass NULL as property to location.
585         * gst/elements/gstpipefilter.c: (gst_pipefilter_init),
586         (gst_pipefilter_handle_event), (gst_pipefilter_chain):
587           Fix for instantiate-test (see below).
588         * gst/gststructure.c: (_gst_structure_parse_value):
589           Fix compile error on gcc-2.96.
590         * configure.ac:
591         * tests/Makefile.am:
592         * tests/instantiate/Makefile.am:
593         * tests/instantiate/create.c: (create_all_elements), (main):
594           Add a test that instantiates all elements. This makes it easy to
595           track dead code for old API/design (like setting event functions
596           on sink pads and so on).
597
598 2004-01-06  Jan Schmidt  <thaytan@mad.scientist.com>
599
600         * gst/gstcaps.c: (gst_caps_append_structure):
601           Move the poisoning to allow a NULL structure
602         * gst/gstevent.c: (_gst_event_free):
603           When freeing a navigation event, free the structure
604           also
605
606 2004-01-04  David Schleef  <ds@schleef.org>
607
608         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
609         Remove usage of gst_pad_proxy_fixate.
610         * gst/gstcaps.c: (gst_caps_append), (gst_caps_append_structure),
611         (gst_caps_split_one), (gst_caps_replace):
612         Add poisoning code.
613         * gst/gstmarshal.list:
614         Add pointer__pointer for fixate signal
615         * gst/gstpad.c: (gst_real_pad_class_init),
616         (_gst_real_pad_fixate_accumulator), (gst_pad_link_fixate),
617         (_gst_pad_default_fixate_func), (gst_pad_proxy_fixate),
618         (gst_pad_set_explicit_caps), (gst_pad_template_new):
619         Add poisoning code. Add fixate signal on RealPad. Change
620         set_explicit_caps() to take const GstCaps, like try_set_caps().
621         * gst/gstpad.h:
622         * testsuite/caps/Makefile.am:
623         * testsuite/caps/app_fixate.c: Add a test for the fixate signal
624
625 2004-01-03  David Schleef  <ds@schleef.org>
626
627         * gst/elements/gsttypefindelement.c:
628         (gst_type_find_element_have_type), (gst_type_find_element_init):
629         Use gst_pad_use_explicit_caps for src pad.
630         * gst/gstpad.c: (gst_pad_try_set_caps):  Check that link exists
631         before using it.
632
633 2004-01-03  David Schleef  <ds@schleef.org>
634
635         * gst/gstelement.c: (gst_element_link_pads_filtered),
636         (gst_element_negotiate_pads): Fix to allow DELAYED to indicate
637         that linking was successful.
638         * gst/gstpad.c: (gst_pad_link_free),
639         (gst_pad_link_call_link_functions), (gst_pad_link_negotiate),
640         (gst_pad_link_try), (gst_pad_link_unnegotiate),
641         (gst_pad_unnegotiate), (gst_pad_set_explicit_caps): Pass
642         GstPadLinkReturn correctly between functions, and don't fail
643         when DELAYED is used (DELAYED is very important).  Better
644         cleanup on unlinking and unnegotiation.  Should fix some spider
645         bugs.
646
647 2004-01-02  David Schleef  <ds@schleef.org>
648
649         * gst/gstelement.c: (gst_element_class_init),
650         (gst_element_base_class_init): ->padtemplates should be cleared
651         in base_init, since we need to have a fresh list for every
652         class.  (Alternately, we chould copy the list and share the
653         actual pad templates (not the list), but that would require
654         changing every plugin to move pad template registration from
655         base_init to class_init.)
656
657 2004-01-03  Ronald Bultje  <rbultje@ronald.bitfreak.net>
658
659         * gst/gstelement.c: (gst_element_class_add_pad_template):
660           Refuse registering a pad template if another pad template
661           with the same name already exists (#114715).
662
663 2004-01-02  David Schleef  <ds@schleef.org>
664
665         * gst/gstcaps.c: (_gst_structure_is_equal_foreach),
666         (gst_caps_is_equal_fixed): Add new function.
667         * gst/gstcaps.h: ditto.
668         * gst/gstpad.c: (gst_real_pad_class_init),
669         (gst_pad_link_call_link_functions), (gst_pad_try_set_caps),
670         (gst_pad_set_explicit_caps), (gst_pad_get_caps):  In try_set_caps,
671         check new caps against existing caps -- if they're the same, return
672         OK without renegotiating.  caps-nego-failed signal fixed so that
673         the marshaller isn't VOID__OBJECT.  Also changed to G_TYPE_POINTER
674         to save an extra caps copy.  Don't complete negotiation if a pad
675         link function returns DELAYED.
676
677 2004-01-02  Benjamin Otte  <in7y118@public.uni-hamburg.de>
678
679         * gst/gstpad.c: (gst_pad_try_relink_filtered):
680           Fix wrong g_return_if_fail
681
682 2004-01-03  Jan Schmidt  <thaytan@mad.scientist.com>
683
684         * gst/gstbin.c: (gst_bin_class_init):
685         Change the marshalling of element_added/element_removed
686         to use gst_marshal_VOID__OBJECT, since gst_marshal_VOID__POINTER 
687         complains that GST_TYPE_ELEMENT is not G_TYPE_POINTER
688
689 2004-01-01  David Schleef  <ds@schleef.org>
690
691         * gst/gstpad.c: (gst_pad_set_explicit_caps),
692         (gst_pad_explicit_getcaps), (gst_pad_explicit_link),
693         (gst_pad_use_explicit_caps):
694         * gst/gstpad.h:
695         Add new functions.  gst_pad_use_explicit_caps() sets up a pad
696         to use an internal getcaps and link fuction so that negotiation
697         always results in the explicitly set caps.
698         gst_pad_set_explicit_caps() sets the explicit caps.  These functions
699         are particularly useful for decoders.
700
701 2003-12-31  David Schleef  <ds@schleef.org>
702
703         * gst/elements/gstidentity.c: (gst_identity_class_init),
704         (gst_identity_init), (gst_identity_chain),
705         (gst_identity_set_property), (gst_identity_get_property):
706         * gst/elements/gstidentity.h:
707         * gst/gstqueue.c: (gst_queue_init):
708           Negotiation fixes.
709
710 2003-12-31  David Schleef  <ds@schleef.org>
711
712         * gst/gstcaps.c: (gst_caps_intersect),
713         (_gst_caps_normalize_foreach), (gst_caps_normalize):
714           Implement gst_caps_normalize().
715         * testsuite/caps/normalisation.c: (main):
716           Add an additional test
717
718 2003-12-31  Ronald Bultje  <rbultje@ronald.bitfreak.net>
719
720         * gst/gstqueue.c: (gst_queue_init):
721           use gst_pad_proxy_getcaps()
722
723 2003-12-31  David Schleef  <ds@schleef.org>
724
725         * gst/elements/gstshaper.c: (gst_shaper_link):
726         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
727         * gst/gstqueue.c: (gst_queue_link):
728           Negotiation fixes.
729
730 2003-12-31  David Schleef  <ds@schleef.org>
731
732         * gst/gstpad.c: (gst_pad_proxy_pad_link), (gst_pad_proxy_fixate):
733         * gst/gstpad.h: Add functions that are useful as default pad
734         link and fixate functions for elements.
735
736 2003-12-30  David Schleef  <ds@schleef.org>
737
738         * gst/gstpad.c: (gst_pad_link_try):
739           Fix segfault when attempting to return to old caps
740
741 2003-12-29  David Schleef  <ds@schleef.org>
742
743         * gst/gstcaps.c: (gst_caps_normalize), (simplify_foreach),
744         (gst_caps_structure_simplify), (gst_caps_simplify):
745         * gst/gstcaps.h:
746           Add simplify function
747         * gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps),
748         (gst_pad_perform_negotiate), (gst_pad_is_negotiated):
749         * gst/gstpad.h:
750           Copy over srcnotify, sinknotify when calling old pad_link
751           functions.  Add new is_negotiated() function.
752         * gst/gststructure.c: (gst_structure_copy):
753           Fix an incredibly stupid bug that should have been noticed
754           weeks ago.  _copy() returned the argument, not the new copy.
755
756 2003-12-27  Benjamin Otte  <in7y118@public.uni-hamburg.de>
757
758         * gst/gstcaps.c: (gst_caps_append):
759           add sanity checks
760         * gst/gstcaps.h: (gst_caps_debug):
761           remove, it doesn't exist anymore.
762         * gst/gstelement.c: (gst_element_threadsafe_properties_pre_run),
763         (gst_element_threadsafe_properties_post_run):
764           make debugging messages not clutter up THREAD debug category
765         (gst_element_negotiate_pads), (gst_element_clear_pad_caps),
766         (gst_element_change_state):
767           update to new caps API
768         * gst/gstinterface.c: (gst_implements_interface_cast):
769           don't put vital code in g_return_if_fail
770         * gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps), 
771         (gst_pad_link_filtered):
772           add pst_pad_try_link and use it.
773         (gst_pad_perform_negotiate), (gst_pad_renegotiate):
774           implement correctly, deprecate first one.
775         (gst_pad_link_unnegotiate), (gst_pad_unnegotiate):
776           add and implement.
777         (gst_pad_try_relink_filtered), (gst_pad_relink_filtered):
778           implement.
779         (gst_pad_get_negotiated_caps):
780           add and implement. Make GST_PAD_CAPS call this function.
781         (gst_pad_get_caps):
782           remove unneeded check..
783         (gst_pad_recover_caps_error):
784           disable, always return FALSE.
785         (gst_real_pad_dispose):
786           don't free caps and appfilter anymore, they're unused.
787         * gst/gstpad.h:
788           Reflect changes mentioned above.
789         * gst/gstsystemclock.c: (gst_system_clock_wait):
790           Make 'clock is way behind' a debugging message.
791         * gst/gstthread.c: (gst_thread_change_state):
792           Fix debugging message
793
794 2003-12-25  Thomas Vander Stichele  <thomas at apestaart dot org>
795
796         * gst/gstinfo.h:
797           fix GST_DEBUG_CATEGORY_INIT gtk-doc description
798         * docs/gst/tmpl/gstreamer-unused.sgml:
799           removed all traces of cvs conflicts
800
801 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
802
803         * configure.ac:
804         * gst/schedulers/cothreads_compat.h:
805         * libs/Makefile.am:
806           remove last instances of wingo cothread usage
807
808 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
809
810         * gst/gstplugin.c:
811         * gst/gstversion.h.in:
812         * gst/parse/grammar.y:
813           change comment block from /** to /* when not gtk-doc comments
814
815 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
816
817         * gst/gst.c: whitespace and doc style fixes
818
819 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
820
821         * gst/gstformat.h: remove trailing whitespace from enum for gtk-doc
822
823 2003-12-24  Colin Walters  <walters@verbum.org>
824
825         * gst/elements/gsttypefindelement.c:
826           gst/elements/gsttypefindelement.h: Make GstCaps parameter const.
827           Copy caps parameter. Use _POINTER to marshal caps instead of _BOXED.
828           Don't double-free caps.
829
830 2003-12-23  David Schleef  <ds@schleef.org>
831
832         * gst/gstelement.c, gst/gstpad.c, gst/parse/grammar.y,
833           gst/gstcaps.c, gst/autoplug/gstspideridentity.c:
834           Many little fixes and additions of debug statements to
835           get rhythmbox working.
836
837 2003-12-23  Colin Walters  <walters@verbum.org>
838
839         * gst/autoplug/gstspideridentity.c (gst_spider_identity_sink_loop_type_finding):
840         Use GST_PAD_LINK_SUCCESSFUL.
841
842 2003-12-23  David Schleef  <ds@schleef.org>
843
844         * gst/elements/gstaggregator.c:
845         * gst/elements/gsttee.c:
846           Use gst_pad_proxy_getcaps().
847         * gst/gstpad.c:
848         * gst/gstpad.h:
849           Add gst_pad_proxy_getcaps(), which filter elements can use
850           as a generic getcaps implementation.
851           Fix gst_pad_get_allowed_caps().  It just wasn't doing what
852           was advertised.
853
854 2003-12-23  David Schleef  <ds@schleef.org>
855
856         * gst/gstpad.c:
857           Rearrange/rewrite much of the pad negotiation code, since it
858           resembled pasta.  This actually changes the way some
859           negotiation works, since the previous code was inconsistent
860           depending on how it was invoked.  Add (internal) structure
861           GstPadLink, which is used to hold some information (more in
862           the future) about the link between two pads.  Fixes a number
863           of bugs, including random lossage of filter caps when the
864           initial negotiation is delayed.  A few functions are still
865           unimplemented.
866         * gst/gstpad.h:
867           Add GST_PAD_LINK_{SUCESSFUL|FAILED}() macros.  Please use
868           these when testing GstPadLinkReturn values instead of comparing
869           directly.
870
871 2003-12-23  David Schleef  <ds@schleef.org>
872
873         * gst/gstvalue.c: 
874         * gst/gstvalue.h:
875           Rearrange lots of code.  Change registration of compare function
876           into registration of compare/serialize/deserialize functions.
877           Doesn't include implementation of gst_value_[de]serialize(),
878           but that should be easy.
879
880 2003-12-23  Thomas Vander Stichele  <thomas at apestaart dot org>
881
882         * docs/gst/gstreamer-sections.txt:
883         * docs/gst/tmpl/gstprops.sgml: removed
884         * docs/gst/tmpl/gstreamer-bufferpool.sgml: removed
885           David removed props and caps code, so let's remove their docs as well.
886           Removed all no longer existing symbols from gstreamer-sections.txt
887           
888 2003-12-22  Colin Walters  <walters@verbum.org>
889
890         * gst/gsttaginterface.c, gst/gsttaginterface.h,
891           gst/gsttag.c, gst/gsttag.h:  Add interface to setting GValues
892           of tags directly.
893
894 2003-12-22  Benjamin Otte  <in7y118@public.uni-hamburg.de>
895
896         * gst/elements/gstelements.c:
897           Set ranks of elements to NONE, so the autoplugger doesn't use them.
898         * gst/elements/gstshaper.c: (gst_shaper_getcaps):
899           Fix proxying to new CAPS stuff. Don't call get_allowed_caps but
900           gst_caps (peer).
901
902 2003-12-22  Benjamin Otte  <in7y118@public.uni-hamburg.de>
903
904         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
905         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_link),
906         (gst_spider_identity_getcaps), (gst_spider_identity_change_state),
907         (gst_spider_identity_sink_loop_type_finding):
908         * gst/autoplug/gstspideridentity.h:
909           Fix autoplugging in spider element, so it works with new caps.
910           This was mainly caused by identifying empty caps incorrectly.
911
912 2003-12-22  David Schleef  <ds@schleef.org>
913
914         * gststructure.c, gstvalue.c, gstvalue.h: Add
915           gst_value_init_and_copy() and use it, to avoid silly mistakes in
916           using g_value_copy()
917
918 2003-12-21  David Schleef  <ds@schleef.org>
919
920         * many, many files: Merge CAPS branch.  This includes:
921           - implemention of GstValue and several GstValue types
922           - implemention of GstStructure
923           - entire rewrite of GstCaps
924           - removal of GstProps
925           - many changes to GstPad to compensate for new caps paradigm
926           - removal of GstBufferpool
927         * gst/Makefile.am, gst/gst.h, gst/gstpad.h, gst/gsttypefind.h,
928         gstvalue.h, gst/gstcaps[2]*.[ch]:
929           - rename gstcaps2.[ch] to gstcaps.[ch]
930
931 2003-12-21  Ronald Bultje  <rbultje@ronald.bitfreak.net>
932
933         * gst/gstqueue.c: (gst_queue_handle_pending_events),
934         (gst_queue_chain), (gst_queue_handle_src_event):
935           implement timeout for sending events. Workaround for if the
936           pipeline on this queue is not passing any data.
937
938 2003-12-21  Ronald Bultje <rbultje@ronald.bitfreak.net>
939                                                                                 
940         * ChangeLog: moved to gstreamer/docs/random/old/ChangeLog.gstreamer
941         * moved CVS to freedesktop.org
942