0019682c4f52078f03fe81c5835c408047d8f6d7
[platform/upstream/gstreamer.git] / ChangeLog
1 2004-01-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2
3         * docs/README:
4         * docs/gst/gstreamer-docs.sgml:
5         * docs/gst/gstreamer-sections.txt:
6         * docs/gst/tmpl/gstelement.sgml:
7         * docs/gst/tmpl/gsterror.sgml:
8         * docs/gst/tmpl/gstinterface.sgml:
9         * docs/gst/tmpl/gstreamer-unused.sgml:
10         * docs/gst/tmpl/gststructure.sgml:
11         * docs/gst/tmpl/gsttag.sgml:
12         * docs/gst/tmpl/gsttaginterface.sgml:
13         * docs/gst/tmpl/gstvalue.sgml:
14         make sure all API ends up in the built docs
15         * gst/gstinterface.c:
16         * gst/gststructure.c: (gst_structure_id_set_value),
17         (gst_structure_set_value), (gst_structure_id_get_value):
18         * gst/gststructure.h:
19         * gst/gstvalue.h:
20         sync .h with .c declarations
21
22 2004-01-30  Julien Moutte  <julien@moutte.net>
23
24         * libs/gst/bytestream/bytestream.c: Reverting my event handling patch.
25         Ronald will fix riffread.
26
27 2004-01-30  Ronald Bultje  <rbultje@ronald.bitfreak.net>
28
29         * docs/pwg/advanced-interfaces.xml:
30           Added tuner interface docs.
31
32 2004-01-30  Benjamin Otte  <in7y118@public.uni-hamburg.de>
33
34         * docs/random/mimetypes:
35           correct Theora information
36         * gst/gstelement.h:
37           make GST_ELEMENT_ERROR do a GST_ERROR_OBJECT
38
39 2004-01-29  Thomas Vander Stichele  <thomas at apestaart dot org>
40
41         * gst/gstelement.c: (gst_element_error_full):
42         * gst/gstelement.h:
43           GST_ELEMENT_ERROR in enum -> _IN_ERROR
44
45 2004-01-29  Julien MOUTTE  <julien@moutte.net>
46
47         * gst/elements/gstfilesrc.c: (gst_filesrc_get),
48         (gst_filesrc_uri_handler_init): Fixing seeking by making FLUSH happen
49         again and even before DISCONT.
50         * gst/gstpad.c: (gst_pad_event_default): Remove a unused switch case.
51         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf): Fix
52         bytestream so that it's not stopping to fill the bytestream if events
53         different than EOS or DISCONT are received. Instead it process them so
54         that they go downstream.
55
56 2004-01-29  Thomas Vander Stichele  <thomas at apestaart dot org>
57
58         * docs/gst/tmpl/gstelement.sgml:
59         * docs/gst/tmpl/gstreamer-unused.sgml:
60         * docs/gst/tmpl/gstxml.sgml:
61         * gst/autoplug/gstspideridentity.c:
62         (gst_spider_identity_sink_loop_type_finding):
63         * gst/elements/gstfakesink.c: (gst_fakesink_change_state):
64         * gst/elements/gstfilesink.c: (gst_filesink_open_file),
65         (gst_filesink_close_file), (gst_filesink_handle_event),
66         (gst_filesink_chain):
67         * gst/elements/gstfilesrc.c: (gst_filesrc_map_region),
68         (gst_filesrc_get_read), (gst_filesrc_open_file):
69         * gst/elements/gstidentity.c: (gst_identity_chain):
70         * gst/elements/gstmultidisksrc.c: (gst_multidisksrc_open_file):
71         * gst/elements/gstpipefilter.c: (gst_pipefilter_get),
72         (gst_pipefilter_chain), (gst_pipefilter_open_file):
73         * gst/elements/gsttypefind.c: (gst_type_find_element_chain):
74         * gst/gstelement.h:
75         * gst/gstpad.c: (gst_pad_set_explicit_caps),
76         (gst_pad_recover_caps_error), (gst_pad_pull):
77         * gst/gstqueue.c: (gst_queue_chain), (gst_queue_get):
78         * gst/schedulers/gstbasicscheduler.c:
79         (gst_basic_scheduler_chainhandler_proxy),
80         (gst_basic_scheduler_gethandler_proxy),
81         (gst_basic_scheduler_cothreaded_chain):
82           gst_element_error -> GST_ELEMENT_ERROR
83
84 2004-01-29  Thomas Vander Stichele  <thomas at apestaart dot org>
85
86         * docs/Makefile.am:
87         * docs/gst/tmpl/gstelement.sgml:
88         * docs/gst/tmpl/gstxml.sgml:
89         * docs/manuals.mak:
90         * docs/pwg/advanced-request.xml:
91         * docs/pwg/advanced-scheduling.xml:
92         * docs/pwg/advanced-tagging.xml:
93           fix non-validating docbook using CDATA
94           make sure make check-local gets run first to check if it validates
95
96 2004-01-29  Julien MOUTTE <julien@moutte.net>
97
98         * docs/pwg/advanced-events.xml: Adding documentation on advanced event
99         handling (up and downstream).
100         * docs/pwg/advanced-interfaces.xml: Make it coherent with the
101         my_filter thing.
102
103 2004-01-29  Ronald Bultje  <rbultje@ronald.bitfreak.net>
104
105         * docs/pwg/advanced-tagging.xml:
106           Add docs about tag writing.
107
108 2004-01-29  Ronald Bultje  <rbultje@ronald.bitfreak.net>
109
110         * docs/pwg/advanced-tagging.xml:
111           Add a part about tag reading and application signalling... Tag
112           writing still needs to be documented.
113         * gst/elements/gstfilesrc.c: (gst_filesrc_set_location):
114           We can set file locations in READY, too.
115
116 2004-01-29  Julien MOUTTE <julien@moutte.net>
117
118         * docs/random/ds/element-checklist: Adding some notes about src
119         events.
120
121 2004-01-29  Ronald Bultje  <rbultje@ronald.bitfreak.net>
122
123         * docs/random/mimetypes:
124           Update docs to point to correct elements for various mimetypes, and
125           some more errors pointed out by Stéphane LOEUILLET (aka LeRoutier)
126           <stephane.loeuillet@tiscali.fr>.
127
128 2004-01-28  David Schleef  <ds@schleef.org>
129
130         * docs/pwg/intro-basics.xml: rewrite bufferpool stuff.
131
132 2004-01-29  Benjamin Otte  <in7y118@public.uni-hamburg.de>
133
134         * docs/random/mimetypes:
135           update docs for audio/x-raw-float. Add "buffer-frames=0 means
136           undefined"
137         * gst/elements/gstfilesrc.c: (gst_filesrc_set_location):
138           make it only work in NULL.
139         * gst/gstcaps.c:
140           don't posion NULL caps
141         * gst/gstelement.c: (gst_element_set_time):
142           add debugging statement
143         * gst/gstelement.c: (gst_element_emit_found_tag),
144         (gst_element_found_tag_func), (gst_element_found_tags):
145         * gst/gstelement.h:
146           These functions take const taglists
147         * gst/gstpad.c: (gst_pad_proxy_getcaps):
148           fix memleak
149         * gst/gstpad.c: (gst_pad_event_default):
150           make more effort on handling discont and clocks, g_warn if everything
151           fails
152         * gst/gststructure.c: (gst_structure_remove_fields),
153         (gst_structure_remove_fields_valist):
154         * gst/gststructure.h:
155           add gst_structure_remove_fields(_valist)
156         * gst/gsttag.c:
157           fix doc glitch
158
159 2004-01-28  David Schleef  <ds@schleef.org>
160
161         * docs/random/ds/element-checklist: Notes about gst_caps_to_string()
162         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save_caps):
163         Fix memory leakage of gst_caps_to_string().
164
165         Use GST_PTR_FORMAT instead of gst_caps_to_string():
166         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_sp):
167         * gst/autoplug/gstspideridentity.c: (spider_find_suggest),
168         (gst_spider_identity_sink_loop_type_finding):
169         * gst/elements/gsttypefind.c: (gst_type_find_element_have_type),
170         (find_suggest):
171         * gst/gstpad.c: (gst_pad_try_relink_filtered),
172         (gst_pad_set_explicit_caps):
173         * gst/parse/grammar.y:
174
175 2004-01-28  David Schleef  <ds@schleef.org>
176
177         * configure.ac: Add detection for HAVE_PRINTF_EXTENSION and
178         GST_PRINTF_EXTENSION_FORMAT_DEFINE.
179         * docs/random/ds/0.9-suggested-changes: Notes from Company.
180         * gst/gstcaps.c: (gst_caps_to_string): Add comment.
181         * gst/gstconfig.h.in: Add define for GST_PTR_FORMAT
182         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_object),
183         (gst_debug_log_default), (_gst_info_printf_extension),
184         (_gst_info_printf_extension_arginfo):  Add printf extension.
185         * gst/gstinfo.h: remove G_GNUC_PRINTF, because it doesn't work with %P
186         * gst/gststructure.c: (gst_structure_to_string),
187         (_gst_structure_parse_value): Use gst_value_deserialize() and
188         remove old code.
189         * gst/gstvalue.c: (gst_value_deserialize_fourcc),
190         (gst_value_deserialize_boolean), (gst_strtoi),
191         (gst_value_deserialize_int), (gst_value_deserialize_double),
192         (gst_value_deserialize_string), (gst_value_deserialize): Implement
193         a bunch of deserialize functions and gst_value_deserialize.
194         * gst/gstvalue.h: er, _de_serialize, not unserialize
195         * testsuite/caps/string-conversions.c: (main): We don't currently
196         handle (float) in caps, so convert these to (double).
197         * testsuite/debug/Makefile.am: Add new test for the printf extension
198         * testsuite/debug/printf_extension.c: (main): same
199
200 2004-01-28  Benjamin Otte  <in7y118@public.uni-hamburg.de>
201
202         * docs/random/company/time:
203           Add some docs about clocking and time
204
205 2004-01-28  Julien MOUTTE <julien@moutte.net>
206
207         * docs/pwg/advanced-interfaces.xml: Adding XOverlay documentation.
208
209 2004-01-28  Thomas Vander Stichele  <thomas at apestaart dot org>
210
211         * docs/pwg/advanced-clock.xml:
212         * docs/pwg/advanced-dparams.xml:
213         * docs/pwg/advanced-events.xml:
214         * docs/pwg/advanced-interfaces.xml:
215         * docs/pwg/advanced-midi.xml:
216         * docs/pwg/advanced-request.xml:
217         * docs/pwg/advanced-scheduling.xml:
218         * docs/pwg/advanced-tagging.xml:
219         * docs/pwg/advanced-types.xml:
220         * docs/pwg/appendix-checklist.xml:
221         * docs/pwg/building-boiler.xml:
222         * docs/pwg/building-chainfn.xml:
223         * docs/pwg/building-filterfactory.xml:
224         * docs/pwg/building-pads.xml:
225         * docs/pwg/building-props.xml:
226         * docs/pwg/building-signals.xml:
227         * docs/pwg/building-state.xml:
228         * docs/pwg/building-testapp.xml:
229         * docs/pwg/intro-basics.xml:
230         * docs/pwg/intro-preface.xml:
231         * docs/pwg/other-autoplugger.xml:
232         * docs/pwg/other-sink.xml:
233         * docs/pwg/other-source.xml:
234         * docs/pwg/titlepage.xml:
235           fix up id's
236
237 2004-01-28  Thomas Vander Stichele  <thomas at apestaart dot org>
238
239         * docs/95NonPath:
240         * docs/HACKING:
241         * docs/README:
242         * docs/building-the-docs-on-debian:
243           collect relevant bits of doc info
244
245 2004-01-28  Ronald Bultje  <rbultje@ronald.bitfreak.net>
246
247         * docs/pwg/advanced_tagging.xml:
248           Half-assed commit so Thomas can re-arrange document IDs here to be
249           consistent, too.
250
251 2004-01-28  Thomas Vander Stichele  <thomas at apestaart dot org>
252
253         * docs/manual/autoplugging.xml:
254         * docs/manual/bins-api.xml:
255         * docs/manual/bins.xml:
256         * docs/manual/buffers-api.xml:
257         * docs/manual/buffers.xml:
258         * docs/manual/clocks.xml:
259         * docs/manual/components.xml:
260         * docs/manual/cothreads.xml:
261         * docs/manual/debugging.xml:
262         * docs/manual/dparams-app.xml:
263         * docs/manual/dynamic.xml:
264         * docs/manual/elements-api.xml:
265         * docs/manual/elements.xml:
266         * docs/manual/factories.xml:
267         * docs/manual/gnome.xml:
268         * docs/manual/goals.xml:
269         * docs/manual/helloworld.xml:
270         * docs/manual/helloworld2.xml:
271         * docs/manual/init-api.xml:
272         * docs/manual/intro.xml:
273         * docs/manual/links-api.xml:
274         * docs/manual/links.xml:
275         * docs/manual/manual.xml:
276         * docs/manual/motivation.xml:
277         * docs/manual/pads-api.xml:
278         * docs/manual/pads.xml:
279         * docs/manual/plugins-api.xml:
280         * docs/manual/plugins.xml:
281         * docs/manual/programs.xml:
282         * docs/manual/queues.xml:
283         * docs/manual/quotes.xml:
284         * docs/manual/schedulers.xml:
285         * docs/manual/states-api.xml:
286         * docs/manual/states.xml:
287         * docs/manual/threads.xml:
288         * docs/manual/typedetection.xml:
289         * docs/manual/xml.xml:
290           use chapter, part, section or misc as id starts for all bits
291
292 2004-01-28  Thomas Vander Stichele  <thomas at apestaart dot org>
293
294         * docs/gst/gstreamer-sections.txt:
295           Fix up TITLE of the sections
296
297 2004-01-28  Ronald Bultje  <rbultje@ronald.bitfreak.net>
298
299         * docs/pwg/advanced_interfaces.xml:
300           Add documentation on propertyprobing.
301         * docs/pwg/advanced_events.xml:
302         * docs/pwg/advanced_tagging.xml:
303         * docs/pwg/building_boiler.xml:
304         * docs/pwg/building_filterfactory.xml:
305         * docs/pwg/pwg.xml:
306           Move filterfactory and tagging into their own chapter, add a chapter
307           on events. all these are empty placeholders that will be filled in
308           some day.
309
310 2004-01-28  Ronald Bultje  <rbultje@ronald.bitfreak.net>
311
312         * docs/pwg/advanced_interfaces.xml:
313           Docs for mixer interface. Also a check for website uploading.
314
315 2004-01-28  Thomas Vander Stichele  <thomas at apestaart dot org>
316
317         * docs/HACKING:
318         * docs/Makefile.am:
319         * docs/faq/Makefile.am:
320         * docs/gst/Makefile.am:
321         * docs/gst/tmpl/gstelement.sgml:
322         * docs/gst/tmpl/gstplugin.sgml:
323         * docs/gst/tmpl/gstreamer-unused.sgml:
324         * docs/libs/Makefile.am:
325         * docs/manual/Makefile.am:
326         * docs/manuals.mak:
327         * docs/pwg/Makefile.am:
328         * docs/upload.mak:
329           Separate out upload target and make it similar for
330           both docbook and gtk-doc docs
331
332 2004-01-28  Thomas Vander Stichele  <thomas at apestaart dot org>
333
334         * docs/manuals.mak:
335           Fix upload target to work with freedesktop
336
337 2004-01-28  Ronald Bultje  <rbultje@ronald.bitfreak.net>
338
339         * docs/pwg/advanced_types.xml:
340           Add notes on creating your own types.
341         * docs/pwg/building_boiler.xml:
342         * docs/pwg/building_pads.xml:
343         * docs/pwg/building_state.xml:
344           Add some stuff about how to retrieve values from structures, how
345           that relates to types and change layout slightly again to be almost
346           perfect.
347
348 2004-01-28  Ronald Bultje  <rbultje@ronald.bitfreak.net>
349
350         * docs/pwg/advanced_dparams.xml:
351         * docs/pwg/advanced_scheduling.xml:
352           Change index layout slightly.
353
354 2004-01-28  Ronald Bultje  <rbultje@ronald.bitfreak.net>
355
356         * docs/pwg/advanced_clock.xml:
357         * docs/pwg/advanced_interfaces.xml:
358         * docs/pwg/advanced_midi.xml:
359           General placeholders for now.
360         * docs/pwg/advanced_request.xml:
361           Explanation about sometimes and request pads.
362         * docs/pwg/advanced_scheduling.xml:
363           Concept of bytestream, loopfunctions and schedulers.
364         * docs/pwg/building_boiler.xml:
365           Add something about plugin-init.
366
367 2004-01-28  Thomas Vander Stichele  <thomas at apestaart dot org>
368
369         * docs/pwg/building_pads.xml:
370           Fix broken docbook
371
372 2004-01-27  Ronald Bultje  <rbultje@ronald.bitfreak.net>
373
374         * docs/pwg/advanced_interfaces.xml:
375         * docs/pwg/pwg.xml:
376           Add as a placeholder for future filling-in.
377         * docs/pwg/basics_autoplugging.xml:
378         * docs/pwg/basics_buffers.xml:
379         * docs/pwg/basics_elements.xml:
380         * docs/pwg/basics_events.xml:
381         * docs/pwg/basics_plugins.xml:
382         * docs/pwg/basics_types.xml:
383           Remove, because unused (this is all in intro_basics.xml).
384         * docs/pwg/building_signals.xml:
385           Short intro to signals + reference to GObject docs - we really
386           shouldn't go into these sort of things to deply because we don't
387           use them that extensively anyway.
388         * docs/pwg/building_state.xml:
389           Explanation of states. Benjamin, please check.
390         * docs/pwg/building_testapp.xml:
391           Put everything in one page - putting only a few lines of content
392           per page doesn't really make sense.
393
394           Time to get into the advanced topics. ;).
395
396 2004-01-27  Ronald Bultje  <rbultje@ronald.bitfreak.net>
397
398         * docs/pwg/advanced_types.xml:
399           Finish documenting the current state of mimetypes.
400         * docs/pwg/building_boiler.xml:
401         * docs/pwg/building_chainfn.xml:
402         * docs/pwg/building_pads.xml:
403         * docs/pwg/building_props.xml:
404         * docs/pwg/building_testapp.xml:
405           Start documenting the "how to build a simple audio filter" part
406           of the PWG. Most stuff is ready by now. Stuff remaining: signals,
407           states and (maybe?) a short introduction to capsnego in the chapter
408           on pads (building_pads.xml). Capsnego should probably be explained
409           fully in advanced_capsnego.xml or so.
410
411 2004-01-26  David Schleef  <ds@schleef.org>
412
413         * gst/gstpad.c: (gst_pad_try_set_caps_nonfixed):
414         * gst/gstpad.h: Add new function to allow element to (somewhat)
415         specify non-fixed caps on a pad.
416         * gst/gstqueue.c: (gst_queue_chain): Remove noisy g_object_notify()
417         that I added a few weeks ago.
418
419 2004-01-26  David Schleef  <ds@schleef.org>
420
421         * gst/gstpad.c: (gst_pad_try_set_caps): Revert last change
422           making try_set_caps() work with non-fixed caps.
423
424 2004-01-26  Ronald Bultje  <rbultje@ronald.bitfreak.net>
425
426         * docs/pwg/advanced_types.xml:
427         * docs/pwg/intro_basics.xml:
428         * docs/pwg/intro_preface.xml:
429         * docs/pwg/pwg.xml:
430         * docs/pwg/titlepage.xml:
431           First try to resurrect the PWG. I'm halfway integrating the mimetypes
432           in here (docs/random/mimetypes), and will from there on work on both
433           updating outdated parts and adding missing parts.
434           That doesn't mean I'll fix it completely, but I'll try at least. ;).
435
436 2004-01-26  Thomas Vander Stichele  <thomas at apestaart dot org>
437
438         * gst/gsterror.h: reinstate GST_LIBRARY_ERROR_ENCODE until
439           policy is set
440
441 2004-01-26  Benjamin Otte  <in7y118@public.uni-hamburg.de>
442
443         * gst/gstelement.h:
444           remove gst_element_factory_get_version. It doesn't exist anymore.
445         * gst/gstplugin.c:
446         * gst/gstplugin.h:
447           remove gst_plugin_set_name and change gst_plugin_get_longname to
448           gst_plugin_get_description to match code.
449         * gst/gsterror.h:
450           remove GST_LIBRARY_ERROR_ENCODE. It's GST_STREAM_ERROR_ENCODE.
451         * gst/gstpad.c: (gst_pad_try_set_caps):
452           make it work with nonfixed caps.
453           Note that even in the nonfixed case the link function of the pad
454           that tries to set caps isn't called.
455
456 2004-01-25  Benjamin Otte  <in7y118@public.uni-hamburg.de>
457
458         * gst/elements/gstbufferstore.c: (gst_buffer_store_get_buffer):
459           fix bug where buffer was not assembled correctly
460         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init):
461           silence by default
462         * gst/elements/gsttypefind.c: (gst_type_find_element_chain):
463           only seek if there's no more buffers that could work without seeking
464
465 2004-01-23  Ronald Bultje  <rbultje@ronald.bitfreak.net>
466
467         * gst/gsttag.c: (_gst_tag_initialize):
468         * gst/gsttag.h:
469           Add application tag (for encoding/muxing app).
470
471 2004-01-23  Thomas Vander Stichele  <thomas at apestaart dot org>
472
473         * autogen.sh:
474           make autopoint force, and libtoolize not copy
475         * common/m4/as-docbook.m4:
476           added docbook xml catalog setup check
477         * common/m4/gst-doc.m4:
478           use docbook check
479
480 2004-01-22  Thomas Vander Stichele  <thomas at apestaart dot org>
481
482         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
483         * gst/gsttag.h:
484           add GstTagFlag
485
486 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
487
488         * docs/gst/gstreamer-sections.txt:
489         * docs/gst/tmpl/gst.sgml:
490         * docs/gst/tmpl/gstbuffer.sgml:
491         * docs/gst/tmpl/gstclock.sgml:
492         * docs/gst/tmpl/gstelement.sgml:
493         * docs/gst/tmpl/gstreamer-unused.sgml:
494         * docs/gst/tmpl/gstxml.sgml:
495           sync latest API changes to docs
496
497 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
498
499         * gst/gstpluginfeature.c:
500           fix doc snippet
501         * tools/gst-inspect.c: (print_element_list):
502           fix output of typefind
503           add GPL header
504         * tools/gst-launch.c:
505           add GPL header
506
507 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
508
509         * gst/elements/Makefile.am:
510         * gst/elements/gstelements.c:
511         * gst/elements/gsttypefindelement.c:
512         * gst/elements/gsttypefindelement.h:
513         * po/POTFILES.in:
514         * po/fr.po:
515         * po/nl.po:
516           renamed gsttypefindelement to gsttypefind, conserving CVS history
517
518 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
519
520         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_list_add_valist):
521         * gst/gsttag.h:
522           add some tags used in ogg as well
523           fix _ in replaygain tags
524
525 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
526
527         * gst/gsterror.h:
528           fix wrong GST_LIBRARY_ERROR_ENCODE addition
529
530 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
531
532         * gst/gstelement.c: (gst_element_error_full):
533         * gst/gstelement.h:
534           change _extended to _full
535
536 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
537
538         reviewed by: <delete if not using a buddy>
539
540         * docs/gst/tmpl/gst.sgml:
541         * docs/gst/tmpl/gstbuffer.sgml:
542         * docs/gst/tmpl/gstclock.sgml:
543         * docs/gst/tmpl/gstelement.sgml:
544         * docs/gst/tmpl/gstreamer-unused.sgml:
545         * docs/gst/tmpl/gstxml.sgml:
546         * gst/gstelement.c: (gst_element_error_full):
547         * gst/gstelement.h:
548
549 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
550
551         * gst/gstelement.h: fix _gst_element_error_printf prototype
552
553 2004-01-20  David Schleef  <ds@schleef.org>
554
555         * gst/gststructure.c: (gst_structure_to_string):
556         Convert function to use gst_value_serialize().
557         * gst/gstvalue.c: (gst_value_serialize_list),
558         (gst_value_serialize_fourcc), (gst_value_serialize_int_range),
559         (gst_value_serialize_double_range), (gst_value_serialize_boolean),
560         (gst_value_serialize_int), (gst_value_serialize_double),
561         (gst_string_wrap), (gst_value_serialize_string),
562         (gst_value_serialize), (gst_value_deserialize):
563         * gst/gstvalue.h:
564         Add implementations for serialize.
565
566 2004-01-20  Julien MOUTTE  <julien@moutte.net>
567
568         * gst/gsterror.h: xvidenc.c needs GST_LIBRARY_ERROR_ENCODE. Dunno if
569         we want to keep that one in the future or change xvidenc.c to use 
570         another error.
571
572 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
573
574         * gst/gstelement.c: (_gst_element_error_printf):
575         * gst/gstelement.h:
576           privatise function
577
578 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
579
580         * docs/random/error:
581           doc explaining error system
582         * gst/elements/gstfilesrc.c: (gst_filesrc_open_file):
583           cleanup
584
585 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
586
587         * gst/gst-i18n-app.h:
588         * gst/gst-i18n-lib.h:
589           remove inclusion of config.h
590         * po/POTFILES.in:
591         * po/nl.po:
592           add gst/gstelement.c
593
594 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
595
596         * po/nl.po: updated Dutch translation
597
598 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
599
600         * gst/gsterror.c: (_gst_core_errors_init),
601         (_gst_library_errors_init), (_gst_resource_errors_init),
602         (_gst_stream_errors_init):
603         remove ending punctuation dots
604
605 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
606
607         * gst/elements/gstfilesink.c: (gst_filesink_open_file):
608         * gst/elements/gstfilesrc.c: (gst_filesrc_get_read):
609         * gst/elements/gstmultidisksrc.c: (gst_multidisksrc_open_file):
610         * gst/elements/gstpipefilter.c: (gst_pipefilter_get),
611         (gst_pipefilter_chain), (gst_pipefilter_open_file):
612         use GST_ERROR_SYSTEM
613
614 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
615
616         * gst/gstelement.c: (gst_element_error_printf),
617         (gst_element_error_extended):
618         * gst/gstelement.h:
619           add a helper printf function so we can have NULL values passed.
620
621 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
622
623         * gst/gstelement.h:
624           add G_STMT macros to gst_element_error, which isn't strictly
625           necessary but people tell me to anyway.
626
627 2004-01-18  Thomas Vander Stichele  <thomas at apestaart dot org>
628
629         * gst/Makefile.am:
630         * gst/autoplug/gstspideridentity.c:
631         (gst_spider_identity_sink_loop_type_finding):
632         * gst/elements/gstfakesink.c: (gst_fakesink_change_state):
633         * gst/elements/gstfilesink.c: (gst_filesink_open_file),
634         (gst_filesink_close_file), (gst_filesink_handle_event),
635         (gst_filesink_chain):
636         * gst/elements/gstfilesrc.c: (gst_filesrc_set_property),
637         (gst_filesrc_map_region), (gst_filesrc_get_read),
638         (gst_filesrc_open_file):
639         * gst/elements/gstidentity.c: (gst_identity_chain):
640         * gst/elements/gstmultidisksrc.c: (gst_multidisksrc_open_file):
641         * gst/elements/gstpipefilter.c: (gst_pipefilter_get),
642         (gst_pipefilter_chain), (gst_pipefilter_open_file):
643         * gst/elements/gsttypefindelement.c: (gst_type_find_element_chain):
644         * gst/gst.h:
645         * gst/gst_private.h:
646         * gst/gstelement.c: (gst_element_class_init),
647         (gst_element_default_error), (gst_element_error_func),
648         (gst_element_error_extended):
649         * gst/gstelement.h:
650         * gst/gsterror.c: (_gst_core_errors_init),
651         (_gst_library_errors_init), (_gst_resource_errors_init),
652         (_gst_stream_errors_init), (gst_error_get_message):
653         * gst/gsterror.h:
654         * gst/gstinfo.c: (_gst_debug_init):
655         * gst/gstmarshal.list:
656         * gst/gstpad.c: (gst_pad_set_explicit_caps),
657         (gst_pad_recover_caps_error), (gst_pad_pull):
658         * gst/gstqueue.c: (gst_queue_chain), (gst_queue_get):
659         * gst/schedulers/gstbasicscheduler.c:
660         (gst_basic_scheduler_chainhandler_proxy),
661         (gst_basic_scheduler_gethandler_proxy),
662         (gst_basic_scheduler_cothreaded_chain):
663         * po/POTFILES.in:
664         * po/fr.po:
665         * po/nl.po:
666           change error signal
667           add error categories
668
669 2004-01-18  Jeremy Simon  <jesimon@libertysurf.fr>
670
671         * gst/gsttag.c: (_gst_tag_initialize):
672         * gst/gsttag.h:
673         Add replaygain tag
674
675 2004-01-18  Colin Walters  <walters@verbum.org>
676
677         * examples/retag/retag.c: Call gst_init before processing
678         program args.  Add g_assert to _link_many call.
679
680 2004-01-16  Benjamin Otte  <in7y118@public.uni-hamburg.de>
681
682         * gst/gstpad.c: (gst_pad_alloc_buffer):
683           Return a newly allocated buffer when the pad has no peer.
684
685 2004-01-16  Benjamin Otte  <in7y118@public.uni-hamburg.de>
686
687         * gst/gstclock.c: (gst_clock_get_time):
688           make it compile with gcc 2.95 again.
689           Patch by Scott Wheeler
690
691 2004-01-15  David Schleef  <ds@schleef.org>
692
693         * gst/gstcaps.h:
694         Added gst_caps_is_simple() macro.
695         * testsuite/caps/caps.c: (test1):
696         * testsuite/caps/intersect2.c: (main):
697         * testsuite/caps/intersection.c: (main):
698         Fixes to make 'make check' work again after removing
699         gst_caps_is_chained().
700
701 2004-01-15  Leif Johnson <leif@ambient.2y.net>
702
703         * docs/random/uraeus/gstreamer_and_midi.txt: Rather large edits
704         and additions to the MIDI document.
705
706 2004-01-15  David Schleef  <ds@schleef.org>
707
708         * gst/gstelement.c: (gst_element_get_compatible_pad_filtered),
709         (gst_element_link_pads_filtered): Use GST_PAD_ macros instead
710         of GST_RPAD_, since we don't know if it's a real or ghost pad.
711
712 2004-01-15  David Schleef  <ds@schleef.org>
713
714         * gst/gstqueue.c:
715         * gst/gstqueue.h:
716         Fix the spelling of "treshold" and make min_threshold actually
717         affect the queue.
718
719 2004-01-15  David Schleef  <ds@schleef.org>
720
721         * gst/gstcaps.c:
722         Add lots of documentation.
723         * gst/gstcaps.h:
724         Deprecate a few functions.
725         * gst/gstpad.c:
726         Removed use of deprecated functions.
727
728 2004-01-15  Benjamin Otte  <in7y118@public.uni-hamburg.de>
729
730         * gst/gstpad.c: (gst_pad_is_linked):
731         * gst/gstpad.h:
732           implement gst_pad_is_linked
733         * gst/gstelement.h:
734           reserve space for initiate_state_change
735
736 2004-01-15  Benjamin Otte  <in7y118@public.uni-hamburg.de>
737
738         * gst/autoplug/gstspideridentity.c:
739         (gst_spider_identity_sink_loop_type_finding):
740           break infinite loop by just returning instead of looping
741         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_set_property):
742           set event time difference correctly. Set it to 1 second instead
743           of 100ms to be more tolerant
744         * gst/gstelement.c: (gst_element_set_time):
745           add debugging output
746
747 2004-01-14  Benjamin Otte  <in7y118@public.uni-hamburg.de>
748
749         * gst/gstqueue.c: (gst_queue_getcaps), (gst_queue_link):
750           query if buffers are inside the pool, ignore events
751
752 2004-01-13  Benjamin Otte  <in7y118@public.uni-hamburg.de>
753
754         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_init),
755         (gst_clock_set_speed), (gst_clock_set_active),
756         (gst_clock_is_active), (gst_clock_reset),
757         (gst_clock_handle_discont):
758         * gst/gstclock.h:
759           deprecate old interface and disable functions that aren't in use
760           anymore.
761         * gst/gstelement.h:
762         * gst/gstelement.c: (gst_element_get_time), (gst_element_wait),
763         (gst_element_set_time), (gst_element_adjust_time):
764           add concept of "element time" and functions to get/set this time.
765         * gst/gstelement.c: (gst_element_change_state):
766           update element time correctly.
767         * gst/gstelement.c: (gst_element_get_compatible_pad_filtered):
768           This is a debug message, not a g_critical.
769         * gst/gstpad.c: (gst_pad_event_default):
770           handle discontinuous events right with element time.
771         * gst/gstscheduler.c: (gst_scheduler_state_transition):
772           update to clocking fixes.
773           set clocks on elements in READY=>PAUSED. The old behaviour caused
774           a wrong element time on the first element that started playing.
775         * gst/schedulers/gstbasicscheduler.c:
776         (gst_basic_scheduler_class_init):
777         * gst/schedulers/gstoptimalscheduler.c:
778         (gst_opt_scheduler_class_init):
779           remove code that just implements the default behaviour.
780         * gst/elements/gstfakesink.c: (gst_fakesink_chain):
781           update to use new clocking functions
782         * testsuite/clock/clock1.c: (gst_clock_debug), (main):
783         * testsuite/clock/clock2.c: (gst_clock_debug), (main):
784           update to test new element time.
785         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps):
786           use _get_allowed_caps instead of _get_caps. This catches filtered
787           caps correctly.
788         * testsuite/debug/commandline.c:
789           update for new GST_DEBUG syntax.
790         * testsuite/threads/Makefile.am:
791           disable a test that only works sometimes.
792
793 2004-01-13  Julien MOUTTE <julien@moutte.net>
794
795         * po/LINGUAS: Adding fr.
796         * po/fr.po: Adding french translation.
797
798 2004-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
799
800         * gst/parse/grammar.y:
801         * po/POTFILES.in:
802         * po/nl.po:
803         * tools/gst-launch.c: (xmllaunch_parse_cmdline), (main):
804           translate parsing error messages
805
806 2004-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
807
808         * po/POTFILES.in: adding gst-launch
809         * po/nl.po: updated translation, all 99 strings translated
810         * tools/gst-launch.c: (idle_func), (xmllaunch_parse_cmdline),
811         (found_tag), (sigint_handler_sighandler), (play_handler), (main):
812           fix strings for translation
813
814 2004-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
815
816         * gst/gst.c:
817           - capitalize beginnings of popt options
818           - fix strings for translation
819           - change gst-debug format from =N1=V1:N2=V2 to =N1:V1,N2:V2
820
821 2004-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
822
823         * po/README: add some notes on how to update translations
824
825 2004-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
826
827         * ABOUT-NLS: removed, is autogenerated from autopoint
828         * autogen.sh: add autopoint stuff
829         * configure.ac: fix up gettext stuff
830         * gst/Makefile.am: add i18n headers to noinst_HEADERS
831         * gst/elements/gsttypefindelement.c: add header include
832         * gst/gettext.h: add header, copy from system-installed header
833         * gst/gst-i18n-app.h: to be included by each app having translations
834         * gst/gst-i18n-lib.h: to be included by each lib having translations
835         * gst/gst.c: (init_pre): fix up gettext calls
836         * gst/gst_private.h: remove i18n stuff, moving to separate headers
837         * po/LINGUAS: the new way to specify translations present
838         * po/Makefile.in.in: removed from cvs, autogenerated from autopoint
839         * po/Makevars: the variables filled in for GStreamer
840         * po/POTFILES.in: added new files with translations
841         * po/de.po: has new strings
842         * po/nl.po: readded, has new strings
843
844 2004-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
845
846         * gst/gsttag.c: fix some strings marked for translation
847
848 2004-01-13  Iain <iain@prettypeople.org>
849
850         * gst/schedulers/gstoptimalscheduler.c (add_to_group): Reference the
851         group when we add an element to it, cos we unref it when we remove one
852
853 2004-01-12  Thomas Vander Stichele  <thomas at apestaart dot org>
854
855         * testsuite/debug/commandline.c: (debug_not_reached):
856         * testsuite/debug/output.c: (check_message):
857           fix testsuite
858
859 2004-01-12  Benjamin Otte  <in7y118@public.uni-hamburg.de>
860
861         * examples/cutter/.cvsignore:
862         * examples/helloworld/.cvsignore:
863         * examples/launch/.cvsignore:
864         * examples/manual/.cvsignore:
865         * examples/mixer/.cvsignore:
866         * examples/pingpong/.cvsignore:
867         * examples/plugins/.cvsignore:
868         * examples/queue/.cvsignore:
869         * examples/queue2/.cvsignore:
870         * examples/queue3/.cvsignore:
871         * examples/queue4/.cvsignore:
872         * examples/retag/.cvsignore:
873         * examples/thread/.cvsignore:
874         * examples/typefind/.cvsignore:
875         * examples/xml/.cvsignore:
876         * gst/.cvsignore:
877         * gst/autoplug/.cvsignore:
878         * gst/elements/.cvsignore:
879         * gst/indexers/.cvsignore:
880         * gst/parse/.cvsignore:
881         * gst/registries/.cvsignore:
882         * gst/schedulers/.cvsignore:
883         * libs/gst/bytestream/.cvsignore:
884         * libs/gst/control/.cvsignore:
885         * libs/gst/getbits/.cvsignore:
886         * tests/.cvsignore:
887         * tests/bufspeed/.cvsignore:
888         * tests/instantiate/.cvsignore:
889         * tests/memchunk/.cvsignore:
890         * tests/muxing/.cvsignore:
891         * tests/sched/.cvsignore:
892         * tests/seeking/.cvsignore:
893         * tests/threadstate/.cvsignore:
894         * testsuite/.cvsignore:
895         * testsuite/caps/.cvsignore:
896         * testsuite/cleanup/.cvsignore:
897         * testsuite/dynparams/.cvsignore:
898         * testsuite/plugin/.cvsignore:
899         * tools/.cvsignore:
900           update - this is huge, because it includes *.bb, *.bbg and *.da files
901           which are generated for gcov.
902
903 2004-01-11  David Schleef  <ds@schleef.org>
904
905         * gst/gststructure.c: (gst_strtoi), (gst_value_from_string): Add
906         a function to parse integers in ways that strto[u]l() does not.
907
908 2004-01-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>
909
910         * tools/gst-inspect.c: (print_caps):
911           improve output of caps a bit
912
913 2004-01-11  David Schleef  <ds@schleef.org>
914
915         * gst/gstbuffer.c: (gst_buffer_create_sub): Subbuffers should
916         inherit correct flags (READONLY and DONTKEEP).
917
918 2004-01-11  David Schleef  <ds@schleef.org>
919
920         * gst/elements/gstfilesrc.c: (gst_filesrc_free_parent_mmap),
921         (gst_filesrc_map_region):
922         * gst/gstbuffer.c: (_gst_buffer_initialize),
923         (_gst_buffer_sub_free), (gst_buffer_default_copy),
924         (gst_buffer_new), (gst_buffer_create_sub),
925         (gst_buffer_is_span_fast), (gst_buffer_span):
926         * gst/gstbuffer.h:
927         Change GstBuffer private structure element names. (all files)
928         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
929         (gst_queue_link):
930         * gst/gstqueue.h:
931         Implement getcaps/pad_link functions that handle the case where
932         there are data in the queue.
933
934 2004-01-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>
935
936         * gst/elements/gstbufferstore.c:
937           initialize debugging structure correctly
938         * gst/elements/gsttee.c: (gst_tee_set_property):
939           g_object_notify when property was changed
940         * gst/elements/gsttypefindelement.c:
941         (gst_type_find_element_change_state):
942           clear caps correctly
943
944 2004-01-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>
945
946         * gst/gstqueue.c: (gst_queue_init):
947           Use better defaults for when a queue should block. This
948           gets rid of jerky playback for quite a few files.
949           It takes more memory.
950
951 2004-01-10  Thomas Vander Stichele  <thomas at apestaart dot org>
952
953         (gst_xml_registry_parse_padtemplate):
954           make critical message slightly more useful
955
956 2004-01-10  Benjamin Otte  <in7y118@public.uni-hamburg.de>
957
958         * gst/gstinfo.c: (gst_debug_log), (gst_debug_log_valist),
959         (gst_debug_message_get), (gst_debug_log_default):
960         * gst/gstinfo.h:
961           Change gst_debug_log(_valist) to take a const format string.
962           Change prototype of log function and functions using those to 
963           take a GstDebugMessage instead of a string that requires using
964           gst_debug_message_get.
965
966 2004-01-08  David Schleef  <ds@schleef.org>
967
968         * Makefile.am:
969         * configure.ac:
970         Add option --enable-gcov to build GStreamer with -fprofile-arcs
971         and -ftest-coverage, which allows gcov to show information about
972         testsuite coverage.
973
974 2004-01-08  Benjamin Otte  <in7y118@public.uni-hamburg.de>
975
976         * gst/gstutils.h:
977           Add GST_BOILERPLATE(_FULL), GST_PARENT_CALL and
978           GST_PARENT_CALL_WITH_DEFAULT
979         * gst/elements/gstaggregator.c: 
980         * gst/elements/gstbufferstore.c: 
981         * gst/elements/gstfakesink.c: 
982         * gst/elements/gstfakesrc.c: 
983         * gst/elements/gstfdsink.c: 
984         * gst/elements/gstfdsrc.c: 
985         * gst/elements/gstfilesink.c: 
986         * gst/elements/gstfilesrc.c: 
987         * gst/elements/gstidentity.c: 
988         * gst/elements/gstmd5sink.c: 
989         * gst/elements/gstmultidisksrc.c:
990         * gst/elements/gstpipefilter.c: 
991         * gst/elements/gstshaper.c:
992         * gst/elements/gststatistics.c:
993         * gst/elements/gsttee.c:
994         * gst/elements/gsttypefindelement.c:
995           use them.
996
997 2004-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
998
999         * docs/gst/gstreamer-docs.sgml: remove props
1000         * docs/gst/gstreamer-sections.txt: remove props
1001         * docs/gst/tmpl/gst.sgml:
1002         * docs/gst/tmpl/gstbin.sgml:
1003         * docs/gst/tmpl/gstbuffer.sgml:
1004         * docs/gst/tmpl/gstcaps.sgml:
1005         * docs/gst/tmpl/gstclock.sgml:
1006         * docs/gst/tmpl/gstelement.sgml:
1007         * docs/gst/tmpl/gstindex.sgml:
1008         * docs/gst/tmpl/gstobject.sgml:
1009         * docs/gst/tmpl/gstpad.sgml:
1010         * docs/gst/tmpl/gstpadtemplate.sgml:
1011         * docs/gst/tmpl/gstreamer-unused.sgml:
1012         * docs/gst/tmpl/gstthread.sgml:
1013         * docs/gst/tmpl/gstxml.sgml:
1014           sync with code reorganization
1015
1016 2004-01-07  Jan Schmidt  <thaytan@mad.scientist.com>
1017
1018         * gst/gstelement.c: (gst_element_get_compatible_pad_filtered):
1019         Make the 'Could not find compatible pad' message more informative.
1020
1021 2004-01-07  Ronald Bultje  <rbultje@ronald.bitfreak.net>
1022                                                                                 
1023         * gst/elements/gstfilesink.c: (gst_filesink_set_location):
1024           Fix for if we pass NULL as property to location.
1025         * gst/elements/gstpipefilter.c: (gst_pipefilter_init),
1026         (gst_pipefilter_handle_event), (gst_pipefilter_chain):
1027           Fix for instantiate-test (see below).
1028         * gst/gststructure.c: (_gst_structure_parse_value):
1029           Fix compile error on gcc-2.96.
1030         * configure.ac:
1031         * tests/Makefile.am:
1032         * tests/instantiate/Makefile.am:
1033         * tests/instantiate/create.c: (create_all_elements), (main):
1034           Add a test that instantiates all elements. This makes it easy to
1035           track dead code for old API/design (like setting event functions
1036           on sink pads and so on).
1037
1038 2004-01-06  Jan Schmidt  <thaytan@mad.scientist.com>
1039
1040         * gst/gstcaps.c: (gst_caps_append_structure):
1041           Move the poisoning to allow a NULL structure
1042         * gst/gstevent.c: (_gst_event_free):
1043           When freeing a navigation event, free the structure
1044           also
1045
1046 2004-01-04  David Schleef  <ds@schleef.org>
1047
1048         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
1049         Remove usage of gst_pad_proxy_fixate.
1050         * gst/gstcaps.c: (gst_caps_append), (gst_caps_append_structure),
1051         (gst_caps_split_one), (gst_caps_replace):
1052         Add poisoning code.
1053         * gst/gstmarshal.list:
1054         Add pointer__pointer for fixate signal
1055         * gst/gstpad.c: (gst_real_pad_class_init),
1056         (_gst_real_pad_fixate_accumulator), (gst_pad_link_fixate),
1057         (_gst_pad_default_fixate_func), (gst_pad_proxy_fixate),
1058         (gst_pad_set_explicit_caps), (gst_pad_template_new):
1059         Add poisoning code. Add fixate signal on RealPad. Change
1060         set_explicit_caps() to take const GstCaps, like try_set_caps().
1061         * gst/gstpad.h:
1062         * testsuite/caps/Makefile.am:
1063         * testsuite/caps/app_fixate.c: Add a test for the fixate signal
1064
1065 2004-01-03  David Schleef  <ds@schleef.org>
1066
1067         * gst/elements/gsttypefindelement.c:
1068         (gst_type_find_element_have_type), (gst_type_find_element_init):
1069         Use gst_pad_use_explicit_caps for src pad.
1070         * gst/gstpad.c: (gst_pad_try_set_caps):  Check that link exists
1071         before using it.
1072
1073 2004-01-03  David Schleef  <ds@schleef.org>
1074
1075         * gst/gstelement.c: (gst_element_link_pads_filtered),
1076         (gst_element_negotiate_pads): Fix to allow DELAYED to indicate
1077         that linking was successful.
1078         * gst/gstpad.c: (gst_pad_link_free),
1079         (gst_pad_link_call_link_functions), (gst_pad_link_negotiate),
1080         (gst_pad_link_try), (gst_pad_link_unnegotiate),
1081         (gst_pad_unnegotiate), (gst_pad_set_explicit_caps): Pass
1082         GstPadLinkReturn correctly between functions, and don't fail
1083         when DELAYED is used (DELAYED is very important).  Better
1084         cleanup on unlinking and unnegotiation.  Should fix some spider
1085         bugs.
1086
1087 2004-01-02  David Schleef  <ds@schleef.org>
1088
1089         * gst/gstelement.c: (gst_element_class_init),
1090         (gst_element_base_class_init): ->padtemplates should be cleared
1091         in base_init, since we need to have a fresh list for every
1092         class.  (Alternately, we chould copy the list and share the
1093         actual pad templates (not the list), but that would require
1094         changing every plugin to move pad template registration from
1095         base_init to class_init.)
1096
1097 2004-01-03  Ronald Bultje  <rbultje@ronald.bitfreak.net>
1098
1099         * gst/gstelement.c: (gst_element_class_add_pad_template):
1100           Refuse registering a pad template if another pad template
1101           with the same name already exists (#114715).
1102
1103 2004-01-02  David Schleef  <ds@schleef.org>
1104
1105         * gst/gstcaps.c: (_gst_structure_is_equal_foreach),
1106         (gst_caps_is_equal_fixed): Add new function.
1107         * gst/gstcaps.h: ditto.
1108         * gst/gstpad.c: (gst_real_pad_class_init),
1109         (gst_pad_link_call_link_functions), (gst_pad_try_set_caps),
1110         (gst_pad_set_explicit_caps), (gst_pad_get_caps):  In try_set_caps,
1111         check new caps against existing caps -- if they're the same, return
1112         OK without renegotiating.  caps-nego-failed signal fixed so that
1113         the marshaller isn't VOID__OBJECT.  Also changed to G_TYPE_POINTER
1114         to save an extra caps copy.  Don't complete negotiation if a pad
1115         link function returns DELAYED.
1116
1117 2004-01-02  Benjamin Otte  <in7y118@public.uni-hamburg.de>
1118
1119         * gst/gstpad.c: (gst_pad_try_relink_filtered):
1120           Fix wrong g_return_if_fail
1121
1122 2004-01-03  Jan Schmidt  <thaytan@mad.scientist.com>
1123
1124         * gst/gstbin.c: (gst_bin_class_init):
1125         Change the marshalling of element_added/element_removed
1126         to use gst_marshal_VOID__OBJECT, since gst_marshal_VOID__POINTER 
1127         complains that GST_TYPE_ELEMENT is not G_TYPE_POINTER
1128
1129 2004-01-01  David Schleef  <ds@schleef.org>
1130
1131         * gst/gstpad.c: (gst_pad_set_explicit_caps),
1132         (gst_pad_explicit_getcaps), (gst_pad_explicit_link),
1133         (gst_pad_use_explicit_caps):
1134         * gst/gstpad.h:
1135         Add new functions.  gst_pad_use_explicit_caps() sets up a pad
1136         to use an internal getcaps and link fuction so that negotiation
1137         always results in the explicitly set caps.
1138         gst_pad_set_explicit_caps() sets the explicit caps.  These functions
1139         are particularly useful for decoders.
1140
1141 2003-12-31  David Schleef  <ds@schleef.org>
1142
1143         * gst/elements/gstidentity.c: (gst_identity_class_init),
1144         (gst_identity_init), (gst_identity_chain),
1145         (gst_identity_set_property), (gst_identity_get_property):
1146         * gst/elements/gstidentity.h:
1147         * gst/gstqueue.c: (gst_queue_init):
1148           Negotiation fixes.
1149
1150 2003-12-31  David Schleef  <ds@schleef.org>
1151
1152         * gst/gstcaps.c: (gst_caps_intersect),
1153         (_gst_caps_normalize_foreach), (gst_caps_normalize):
1154           Implement gst_caps_normalize().
1155         * testsuite/caps/normalisation.c: (main):
1156           Add an additional test
1157
1158 2003-12-31  Ronald Bultje  <rbultje@ronald.bitfreak.net>
1159
1160         * gst/gstqueue.c: (gst_queue_init):
1161           use gst_pad_proxy_getcaps()
1162
1163 2003-12-31  David Schleef  <ds@schleef.org>
1164
1165         * gst/elements/gstshaper.c: (gst_shaper_link):
1166         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
1167         * gst/gstqueue.c: (gst_queue_link):
1168           Negotiation fixes.
1169
1170 2003-12-31  David Schleef  <ds@schleef.org>
1171
1172         * gst/gstpad.c: (gst_pad_proxy_pad_link), (gst_pad_proxy_fixate):
1173         * gst/gstpad.h: Add functions that are useful as default pad
1174         link and fixate functions for elements.
1175
1176 2003-12-30  David Schleef  <ds@schleef.org>
1177
1178         * gst/gstpad.c: (gst_pad_link_try):
1179           Fix segfault when attempting to return to old caps
1180
1181 2003-12-29  David Schleef  <ds@schleef.org>
1182
1183         * gst/gstcaps.c: (gst_caps_normalize), (simplify_foreach),
1184         (gst_caps_structure_simplify), (gst_caps_simplify):
1185         * gst/gstcaps.h:
1186           Add simplify function
1187         * gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps),
1188         (gst_pad_perform_negotiate), (gst_pad_is_negotiated):
1189         * gst/gstpad.h:
1190           Copy over srcnotify, sinknotify when calling old pad_link
1191           functions.  Add new is_negotiated() function.
1192         * gst/gststructure.c: (gst_structure_copy):
1193           Fix an incredibly stupid bug that should have been noticed
1194           weeks ago.  _copy() returned the argument, not the new copy.
1195
1196 2003-12-27  Benjamin Otte  <in7y118@public.uni-hamburg.de>
1197
1198         * gst/gstcaps.c: (gst_caps_append):
1199           add sanity checks
1200         * gst/gstcaps.h: (gst_caps_debug):
1201           remove, it doesn't exist anymore.
1202         * gst/gstelement.c: (gst_element_threadsafe_properties_pre_run),
1203         (gst_element_threadsafe_properties_post_run):
1204           make debugging messages not clutter up THREAD debug category
1205         (gst_element_negotiate_pads), (gst_element_clear_pad_caps),
1206         (gst_element_change_state):
1207           update to new caps API
1208         * gst/gstinterface.c: (gst_implements_interface_cast):
1209           don't put vital code in g_return_if_fail
1210         * gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps), 
1211         (gst_pad_link_filtered):
1212           add pst_pad_try_link and use it.
1213         (gst_pad_perform_negotiate), (gst_pad_renegotiate):
1214           implement correctly, deprecate first one.
1215         (gst_pad_link_unnegotiate), (gst_pad_unnegotiate):
1216           add and implement.
1217         (gst_pad_try_relink_filtered), (gst_pad_relink_filtered):
1218           implement.
1219         (gst_pad_get_negotiated_caps):
1220           add and implement. Make GST_PAD_CAPS call this function.
1221         (gst_pad_get_caps):
1222           remove unneeded check..
1223         (gst_pad_recover_caps_error):
1224           disable, always return FALSE.
1225         (gst_real_pad_dispose):
1226           don't free caps and appfilter anymore, they're unused.
1227         * gst/gstpad.h:
1228           Reflect changes mentioned above.
1229         * gst/gstsystemclock.c: (gst_system_clock_wait):
1230           Make 'clock is way behind' a debugging message.
1231         * gst/gstthread.c: (gst_thread_change_state):
1232           Fix debugging message
1233
1234 2003-12-25  Thomas Vander Stichele  <thomas at apestaart dot org>
1235
1236         * gst/gstinfo.h:
1237           fix GST_DEBUG_CATEGORY_INIT gtk-doc description
1238         * docs/gst/tmpl/gstreamer-unused.sgml:
1239           removed all traces of cvs conflicts
1240
1241 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1242
1243         * configure.ac:
1244         * gst/schedulers/cothreads_compat.h:
1245         * libs/Makefile.am:
1246           remove last instances of wingo cothread usage
1247
1248 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1249
1250         * gst/gstplugin.c:
1251         * gst/gstversion.h.in:
1252         * gst/parse/grammar.y:
1253           change comment block from /** to /* when not gtk-doc comments
1254
1255 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1256
1257         * gst/gst.c: whitespace and doc style fixes
1258
1259 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1260
1261         * gst/gstformat.h: remove trailing whitespace from enum for gtk-doc
1262
1263 2003-12-24  Colin Walters  <walters@verbum.org>
1264
1265         * gst/elements/gsttypefindelement.c:
1266           gst/elements/gsttypefindelement.h: Make GstCaps parameter const.
1267           Copy caps parameter. Use _POINTER to marshal caps instead of _BOXED.
1268           Don't double-free caps.
1269
1270 2003-12-23  David Schleef  <ds@schleef.org>
1271
1272         * gst/gstelement.c, gst/gstpad.c, gst/parse/grammar.y,
1273           gst/gstcaps.c, gst/autoplug/gstspideridentity.c:
1274           Many little fixes and additions of debug statements to
1275           get rhythmbox working.
1276
1277 2003-12-23  Colin Walters  <walters@verbum.org>
1278
1279         * gst/autoplug/gstspideridentity.c (gst_spider_identity_sink_loop_type_finding):
1280         Use GST_PAD_LINK_SUCCESSFUL.
1281
1282 2003-12-23  David Schleef  <ds@schleef.org>
1283
1284         * gst/elements/gstaggregator.c:
1285         * gst/elements/gsttee.c:
1286           Use gst_pad_proxy_getcaps().
1287         * gst/gstpad.c:
1288         * gst/gstpad.h:
1289           Add gst_pad_proxy_getcaps(), which filter elements can use
1290           as a generic getcaps implementation.
1291           Fix gst_pad_get_allowed_caps().  It just wasn't doing what
1292           was advertised.
1293
1294 2003-12-23  David Schleef  <ds@schleef.org>
1295
1296         * gst/gstpad.c:
1297           Rearrange/rewrite much of the pad negotiation code, since it
1298           resembled pasta.  This actually changes the way some
1299           negotiation works, since the previous code was inconsistent
1300           depending on how it was invoked.  Add (internal) structure
1301           GstPadLink, which is used to hold some information (more in
1302           the future) about the link between two pads.  Fixes a number
1303           of bugs, including random lossage of filter caps when the
1304           initial negotiation is delayed.  A few functions are still
1305           unimplemented.
1306         * gst/gstpad.h:
1307           Add GST_PAD_LINK_{SUCESSFUL|FAILED}() macros.  Please use
1308           these when testing GstPadLinkReturn values instead of comparing
1309           directly.
1310
1311 2003-12-23  David Schleef  <ds@schleef.org>
1312
1313         * gst/gstvalue.c: 
1314         * gst/gstvalue.h:
1315           Rearrange lots of code.  Change registration of compare function
1316           into registration of compare/serialize/deserialize functions.
1317           Doesn't include implementation of gst_value_[de]serialize(),
1318           but that should be easy.
1319
1320 2003-12-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1321
1322         * docs/gst/gstreamer-sections.txt:
1323         * docs/gst/tmpl/gstprops.sgml: removed
1324         * docs/gst/tmpl/gstreamer-bufferpool.sgml: removed
1325           David removed props and caps code, so let's remove their docs as well.
1326           Removed all no longer existing symbols from gstreamer-sections.txt
1327           
1328 2003-12-22  Colin Walters  <walters@verbum.org>
1329
1330         * gst/gsttaginterface.c, gst/gsttaginterface.h,
1331           gst/gsttag.c, gst/gsttag.h:  Add interface to setting GValues
1332           of tags directly.
1333
1334 2003-12-22  Benjamin Otte  <in7y118@public.uni-hamburg.de>
1335
1336         * gst/elements/gstelements.c:
1337           Set ranks of elements to NONE, so the autoplugger doesn't use them.
1338         * gst/elements/gstshaper.c: (gst_shaper_getcaps):
1339           Fix proxying to new CAPS stuff. Don't call get_allowed_caps but
1340           gst_caps (peer).
1341
1342 2003-12-22  Benjamin Otte  <in7y118@public.uni-hamburg.de>
1343
1344         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
1345         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_link),
1346         (gst_spider_identity_getcaps), (gst_spider_identity_change_state),
1347         (gst_spider_identity_sink_loop_type_finding):
1348         * gst/autoplug/gstspideridentity.h:
1349           Fix autoplugging in spider element, so it works with new caps.
1350           This was mainly caused by identifying empty caps incorrectly.
1351
1352 2003-12-22  David Schleef  <ds@schleef.org>
1353
1354         * gststructure.c, gstvalue.c, gstvalue.h: Add
1355           gst_value_init_and_copy() and use it, to avoid silly mistakes in
1356           using g_value_copy()
1357
1358 2003-12-21  David Schleef  <ds@schleef.org>
1359
1360         * many, many files: Merge CAPS branch.  This includes:
1361           - implemention of GstValue and several GstValue types
1362           - implemention of GstStructure
1363           - entire rewrite of GstCaps
1364           - removal of GstProps
1365           - many changes to GstPad to compensate for new caps paradigm
1366           - removal of GstBufferpool
1367         * gst/Makefile.am, gst/gst.h, gst/gstpad.h, gst/gsttypefind.h,
1368         gstvalue.h, gst/gstcaps[2]*.[ch]:
1369           - rename gstcaps2.[ch] to gstcaps.[ch]
1370
1371 2003-12-21  Ronald Bultje  <rbultje@ronald.bitfreak.net>
1372
1373         * gst/gstqueue.c: (gst_queue_handle_pending_events),
1374         (gst_queue_chain), (gst_queue_handle_src_event):
1375           implement timeout for sending events. Workaround for if the
1376           pipeline on this queue is not passing any data.
1377
1378 2003-12-21  Ronald Bultje <rbultje@ronald.bitfreak.net>
1379                                                                                 
1380         * ChangeLog: moved to gstreamer/docs/random/old/ChangeLog.gstreamer
1381         * moved CVS to freedesktop.org
1382