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