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