fix up docs remove props commit automatic moving and removing of documentation
[platform/upstream/gstreamer.git] / ChangeLog
1 2004-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2
3         * docs/gst/gstreamer-docs.sgml: remove props
4         * docs/gst/gstreamer-sections.txt: remove props
5         * docs/gst/tmpl/gst.sgml:
6         * docs/gst/tmpl/gstbin.sgml:
7         * docs/gst/tmpl/gstbuffer.sgml:
8         * docs/gst/tmpl/gstcaps.sgml:
9         * docs/gst/tmpl/gstclock.sgml:
10         * docs/gst/tmpl/gstelement.sgml:
11         * docs/gst/tmpl/gstindex.sgml:
12         * docs/gst/tmpl/gstobject.sgml:
13         * docs/gst/tmpl/gstpad.sgml:
14         * docs/gst/tmpl/gstpadtemplate.sgml:
15         * docs/gst/tmpl/gstreamer-unused.sgml:
16         * docs/gst/tmpl/gstthread.sgml:
17         * docs/gst/tmpl/gstxml.sgml:
18           sync with code reorganization
19
20 2004-01-07  Jan Schmidt  <thaytan@mad.scientist.com>
21
22         * gst/gstelement.c: (gst_element_get_compatible_pad_filtered):
23         Make the 'Could not find compatible pad' message more informative.
24
25 2004-01-06  Jan Schmidt  <thaytan@mad.scientist.com>
26
27         * gst/gstcaps.c: (gst_caps_append_structure):
28           Move the poisoning to allow a NULL structure
29         * gst/gstevent.c: (_gst_event_free):
30           When freeing a navigation event, free the structure
31           also
32
33 2004-01-04  David Schleef  <ds@schleef.org>
34
35         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
36         Remove usage of gst_pad_proxy_fixate.
37         * gst/gstcaps.c: (gst_caps_append), (gst_caps_append_structure),
38         (gst_caps_split_one), (gst_caps_replace):
39         Add poisoning code.
40         * gst/gstmarshal.list:
41         Add pointer__pointer for fixate signal
42         * gst/gstpad.c: (gst_real_pad_class_init),
43         (_gst_real_pad_fixate_accumulator), (gst_pad_link_fixate),
44         (_gst_pad_default_fixate_func), (gst_pad_proxy_fixate),
45         (gst_pad_set_explicit_caps), (gst_pad_template_new):
46         Add poisoning code. Add fixate signal on RealPad. Change
47         set_explicit_caps() to take const GstCaps, like try_set_caps().
48         * gst/gstpad.h:
49         * testsuite/caps/Makefile.am:
50         * testsuite/caps/app_fixate.c: Add a test for the fixate signal
51
52 2004-01-03  David Schleef  <ds@schleef.org>
53
54         * gst/elements/gsttypefindelement.c:
55         (gst_type_find_element_have_type), (gst_type_find_element_init):
56         Use gst_pad_use_explicit_caps for src pad.
57         * gst/gstpad.c: (gst_pad_try_set_caps):  Check that link exists
58         before using it.
59
60 2004-01-03  David Schleef  <ds@schleef.org>
61
62         * gst/gstelement.c: (gst_element_link_pads_filtered),
63         (gst_element_negotiate_pads): Fix to allow DELAYED to indicate
64         that linking was successful.
65         * gst/gstpad.c: (gst_pad_link_free),
66         (gst_pad_link_call_link_functions), (gst_pad_link_negotiate),
67         (gst_pad_link_try), (gst_pad_link_unnegotiate),
68         (gst_pad_unnegotiate), (gst_pad_set_explicit_caps): Pass
69         GstPadLinkReturn correctly between functions, and don't fail
70         when DELAYED is used (DELAYED is very important).  Better
71         cleanup on unlinking and unnegotiation.  Should fix some spider
72         bugs.
73
74 2004-01-02  David Schleef  <ds@schleef.org>
75
76         * gst/gstelement.c: (gst_element_class_init),
77         (gst_element_base_class_init): ->padtemplates should be cleared
78         in base_init, since we need to have a fresh list for every
79         class.  (Alternately, we chould copy the list and share the
80         actual pad templates (not the list), but that would require
81         changing every plugin to move pad template registration from
82         base_init to class_init.)
83
84 2004-01-03  Ronald Bultje  <rbultje@ronald.bitfreak.net>
85
86         * gst/gstelement.c: (gst_element_class_add_pad_template):
87           Refuse registering a pad template if another pad template
88           with the same name already exists (#114715).
89
90 2004-01-02  David Schleef  <ds@schleef.org>
91
92         * gst/gstcaps.c: (_gst_structure_is_equal_foreach),
93         (gst_caps_is_equal_fixed): Add new function.
94         * gst/gstcaps.h: ditto.
95         * gst/gstpad.c: (gst_real_pad_class_init),
96         (gst_pad_link_call_link_functions), (gst_pad_try_set_caps),
97         (gst_pad_set_explicit_caps), (gst_pad_get_caps):  In try_set_caps,
98         check new caps against existing caps -- if they're the same, return
99         OK without renegotiating.  caps-nego-failed signal fixed so that
100         the marshaller isn't VOID__OBJECT.  Also changed to G_TYPE_POINTER
101         to save an extra caps copy.  Don't complete negotiation if a pad
102         link function returns DELAYED.
103
104 2004-01-02  Benjamin Otte  <in7y118@public.uni-hamburg.de>
105
106         * gst/gstpad.c: (gst_pad_try_relink_filtered):
107           Fix wrong g_return_if_fail
108
109 2004-01-03  Jan Schmidt  <thaytan@mad.scientist.com>
110
111         * gst/gstbin.c: (gst_bin_class_init):
112         Change the marshalling of element_added/element_removed
113         to use gst_marshal_VOID__OBJECT, since gst_marshal_VOID__POINTER 
114         complains that GST_TYPE_ELEMENT is not G_TYPE_POINTER
115
116 2004-01-01  David Schleef  <ds@schleef.org>
117
118         * gst/gstpad.c: (gst_pad_set_explicit_caps),
119         (gst_pad_explicit_getcaps), (gst_pad_explicit_link),
120         (gst_pad_use_explicit_caps):
121         * gst/gstpad.h:
122         Add new functions.  gst_pad_use_explicit_caps() sets up a pad
123         to use an internal getcaps and link fuction so that negotiation
124         always results in the explicitly set caps.
125         gst_pad_set_explicit_caps() sets the explicit caps.  These functions
126         are particularly useful for decoders.
127
128 2003-12-31  David Schleef  <ds@schleef.org>
129
130         * gst/elements/gstidentity.c: (gst_identity_class_init),
131         (gst_identity_init), (gst_identity_chain),
132         (gst_identity_set_property), (gst_identity_get_property):
133         * gst/elements/gstidentity.h:
134         * gst/gstqueue.c: (gst_queue_init):
135           Negotiation fixes.
136
137 2003-12-31  David Schleef  <ds@schleef.org>
138
139         * gst/gstcaps.c: (gst_caps_intersect),
140         (_gst_caps_normalize_foreach), (gst_caps_normalize):
141           Implement gst_caps_normalize().
142         * testsuite/caps/normalisation.c: (main):
143           Add an additional test
144
145 2003-12-31  Ronald Bultje  <rbultje@ronald.bitfreak.net>
146
147         * gst/gstqueue.c: (gst_queue_init):
148           use gst_pad_proxy_getcaps()
149
150 2003-12-31  David Schleef  <ds@schleef.org>
151
152         * gst/elements/gstshaper.c: (gst_shaper_link):
153         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
154         * gst/gstqueue.c: (gst_queue_link):
155           Negotiation fixes.
156
157 2003-12-31  David Schleef  <ds@schleef.org>
158
159         * gst/gstpad.c: (gst_pad_proxy_pad_link), (gst_pad_proxy_fixate):
160         * gst/gstpad.h: Add functions that are useful as default pad
161         link and fixate functions for elements.
162
163 2003-12-30  David Schleef  <ds@schleef.org>
164
165         * gst/gstpad.c: (gst_pad_link_try):
166           Fix segfault when attempting to return to old caps
167
168 2003-12-29  David Schleef  <ds@schleef.org>
169
170         * gst/gstcaps.c: (gst_caps_normalize), (simplify_foreach),
171         (gst_caps_structure_simplify), (gst_caps_simplify):
172         * gst/gstcaps.h:
173           Add simplify function
174         * gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps),
175         (gst_pad_perform_negotiate), (gst_pad_is_negotiated):
176         * gst/gstpad.h:
177           Copy over srcnotify, sinknotify when calling old pad_link
178           functions.  Add new is_negotiated() function.
179         * gst/gststructure.c: (gst_structure_copy):
180           Fix an incredibly stupid bug that should have been noticed
181           weeks ago.  _copy() returned the argument, not the new copy.
182
183 2003-12-27  Benjamin Otte  <in7y118@public.uni-hamburg.de>
184
185         * gst/gstcaps.c: (gst_caps_append):
186           add sanity checks
187         * gst/gstcaps.h: (gst_caps_debug):
188           remove, it doesn't exist anymore.
189         * gst/gstelement.c: (gst_element_threadsafe_properties_pre_run),
190         (gst_element_threadsafe_properties_post_run):
191           make debugging messages not clutter up THREAD debug category
192         (gst_element_negotiate_pads), (gst_element_clear_pad_caps),
193         (gst_element_change_state):
194           update to new caps API
195         * gst/gstinterface.c: (gst_implements_interface_cast):
196           don't put vital code in g_return_if_fail
197         * gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps), 
198         (gst_pad_link_filtered):
199           add pst_pad_try_link and use it.
200         (gst_pad_perform_negotiate), (gst_pad_renegotiate):
201           implement correctly, deprecate first one.
202         (gst_pad_link_unnegotiate), (gst_pad_unnegotiate):
203           add and implement.
204         (gst_pad_try_relink_filtered), (gst_pad_relink_filtered):
205           implement.
206         (gst_pad_get_negotiated_caps):
207           add and implement. Make GST_PAD_CAPS call this function.
208         (gst_pad_get_caps):
209           remove unneeded check..
210         (gst_pad_recover_caps_error):
211           disable, always return FALSE.
212         (gst_real_pad_dispose):
213           don't free caps and appfilter anymore, they're unused.
214         * gst/gstpad.h:
215           Reflect changes mentioned above.
216         * gst/gstsystemclock.c: (gst_system_clock_wait):
217           Make 'clock is way behind' a debugging message.
218         * gst/gstthread.c: (gst_thread_change_state):
219           Fix debugging message
220
221 2003-12-25  Thomas Vander Stichele  <thomas at apestaart dot org>
222
223         * gst/gstinfo.h:
224           fix GST_DEBUG_CATEGORY_INIT gtk-doc description
225         * docs/gst/tmpl/gstreamer-unused.sgml:
226           removed all traces of cvs conflicts
227
228 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
229
230         * configure.ac:
231         * gst/schedulers/cothreads_compat.h:
232         * libs/Makefile.am:
233           remove last instances of wingo cothread usage
234
235 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
236
237         * gst/gstplugin.c:
238         * gst/gstversion.h.in:
239         * gst/parse/grammar.y:
240           change comment block from /** to /* when not gtk-doc comments
241
242 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
243
244         * gst/gst.c: whitespace and doc style fixes
245
246 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
247
248         * gst/gstformat.h: remove trailing whitespace from enum for gtk-doc
249
250 2003-12-24  Colin Walters  <walters@verbum.org>
251
252         * gst/elements/gsttypefindelement.c:
253           gst/elements/gsttypefindelement.h: Make GstCaps parameter const.
254           Copy caps parameter. Use _POINTER to marshal caps instead of _BOXED.
255           Don't double-free caps.
256
257 2003-12-23  David Schleef  <ds@schleef.org>
258
259         * gst/gstelement.c, gst/gstpad.c, gst/parse/grammar.y,
260           gst/gstcaps.c, gst/autoplug/gstspideridentity.c:
261           Many little fixes and additions of debug statements to
262           get rhythmbox working.
263
264 2003-12-23  Colin Walters  <walters@verbum.org>
265
266         * gst/autoplug/gstspideridentity.c (gst_spider_identity_sink_loop_type_finding):
267         Use GST_PAD_LINK_SUCCESSFUL.
268
269 2003-12-23  David Schleef  <ds@schleef.org>
270
271         * gst/elements/gstaggregator.c:
272         * gst/elements/gsttee.c:
273           Use gst_pad_proxy_getcaps().
274         * gst/gstpad.c:
275         * gst/gstpad.h:
276           Add gst_pad_proxy_getcaps(), which filter elements can use
277           as a generic getcaps implementation.
278           Fix gst_pad_get_allowed_caps().  It just wasn't doing what
279           was advertised.
280
281 2003-12-23  David Schleef  <ds@schleef.org>
282
283         * gst/gstpad.c:
284           Rearrange/rewrite much of the pad negotiation code, since it
285           resembled pasta.  This actually changes the way some
286           negotiation works, since the previous code was inconsistent
287           depending on how it was invoked.  Add (internal) structure
288           GstPadLink, which is used to hold some information (more in
289           the future) about the link between two pads.  Fixes a number
290           of bugs, including random lossage of filter caps when the
291           initial negotiation is delayed.  A few functions are still
292           unimplemented.
293         * gst/gstpad.h:
294           Add GST_PAD_LINK_{SUCESSFUL|FAILED}() macros.  Please use
295           these when testing GstPadLinkReturn values instead of comparing
296           directly.
297
298 2003-12-23  David Schleef  <ds@schleef.org>
299
300         * gst/gstvalue.c: 
301         * gst/gstvalue.h:
302           Rearrange lots of code.  Change registration of compare function
303           into registration of compare/serialize/deserialize functions.
304           Doesn't include implementation of gst_value_[de]serialize(),
305           but that should be easy.
306
307 2003-12-23  Thomas Vander Stichele  <thomas at apestaart dot org>
308
309         * docs/gst/gstreamer-sections.txt:
310         * docs/gst/tmpl/gstprops.sgml: removed
311         * docs/gst/tmpl/gstreamer-bufferpool.sgml: removed
312           David removed props and caps code, so let's remove their docs as well.
313           Removed all no longer existing symbols from gstreamer-sections.txt
314           
315 2003-12-22  Colin Walters  <walters@verbum.org>
316
317         * gst/gsttaginterface.c, gst/gsttaginterface.h,
318           gst/gsttag.c, gst/gsttag.h:  Add interface to setting GValues
319           of tags directly.
320
321 2003-12-22  Benjamin Otte  <in7y118@public.uni-hamburg.de>
322
323         * gst/elements/gstelements.c:
324           Set ranks of elements to NONE, so the autoplugger doesn't use them.
325         * gst/elements/gstshaper.c: (gst_shaper_getcaps):
326           Fix proxying to new CAPS stuff. Don't call get_allowed_caps but
327           gst_caps (peer).
328
329 2003-12-22  Benjamin Otte  <in7y118@public.uni-hamburg.de>
330
331         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
332         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_link),
333         (gst_spider_identity_getcaps), (gst_spider_identity_change_state),
334         (gst_spider_identity_sink_loop_type_finding):
335         * gst/autoplug/gstspideridentity.h:
336           Fix autoplugging in spider element, so it works with new caps.
337           This was mainly caused by identifying empty caps incorrectly.
338
339 2003-12-22  David Schleef  <ds@schleef.org>
340
341         * gststructure.c, gstvalue.c, gstvalue.h: Add
342           gst_value_init_and_copy() and use it, to avoid silly mistakes in
343           using g_value_copy()
344
345 2003-12-21  David Schleef  <ds@schleef.org>
346
347         * many, many files: Merge CAPS branch.  This includes:
348           - implemention of GstValue and several GstValue types
349           - implemention of GstStructure
350           - entire rewrite of GstCaps
351           - removal of GstProps
352           - many changes to GstPad to compensate for new caps paradigm
353           - removal of GstBufferpool
354         * gst/Makefile.am, gst/gst.h, gst/gstpad.h, gst/gsttypefind.h,
355         gstvalue.h, gst/gstcaps[2]*.[ch]:
356           - rename gstcaps2.[ch] to gstcaps.[ch]
357
358 2003-12-21  Ronald Bultje  <rbultje@ronald.bitfreak.net>
359
360         * gst/gstqueue.c: (gst_queue_handle_pending_events),
361         (gst_queue_chain), (gst_queue_handle_src_event):
362           implement timeout for sending events. Workaround for if the
363           pipeline on this queue is not passing any data.
364
365 2003-12-21  Ronald Bultje <rbultje@ronald.bitfreak.net>
366                                                                                 
367         * ChangeLog: moved to gstreamer/docs/random/old/ChangeLog.gstreamer
368         * moved CVS to freedesktop.org
369