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