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