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