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