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