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