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