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