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