tools/gst-launch.c: Fix deadlocks in signal.h-type signal handlers by not calling...
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-01-05  David Schleef  <ds@schleef.org>
2
3         * tools/gst-launch.c: (idle_func), (fault_handler_sighandler),
4         (fault_handler_sigaction), (fault_spin),
5         (sigint_handler_sighandler), (play_handler), (main): Fix deadlocks
6         in signal.h-type signal handlers by not calling forbidden functions,
7         including gst_element_set_state().
8
9 2005-01-05  David Schleef  <ds@schleef.org>
10
11         * gst/gstvalue.h: Mark _gst_reserved[] as private
12
13 2005-01-05  David Schleef  <ds@schleef.org>
14
15         * gst/gstvalue.c: Fix doc build problem.
16
17 2005-01-05  David Schleef  <ds@schleef.org>
18
19         * gst/gstvalue.c: Add some documentation
20
21 2005-01-05  Stefan Kost  <ensonic@users.sf.net>
22
23         * docs/README:
24     another shell oneliner for empty return value docs
25         * gst/gstcaps.c:
26         * gst/gstvalue.c:
27         * libs/gst/control/dparam.c:
28     more doc fixes (parameters and return values)
29
30 2005-01-05  Vincent Torri  <torri@iecn.u-nancy.fr>
31
32         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
33
34         * gst/gstregistry.h:
35         * gst/registries/gstxmlregistry.c:
36           Fix macro's for Mingw (fixes #162276).
37
38 2005-01-04  Stefan Kost  <ensonic@users.sf.net>
39
40         * docs/README:
41           quick shell oneliner to find undocumented members
42         * docs/gst/tmpl/gstplugin.sgml:
43         * docs/gst/tmpl/gstscheduler.sgml:
44         * docs/gst/tmpl/gstthread.sgml:
45           more enumtypes cleanup
46         * gst/gsterror.h:
47           activated documentation comments, now someone needs to document
48           the enums :(
49
50 2005-01-03  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
51
52         * docs/manual/manual.xml:
53           Add dataaccess part (doh!).
54
55 2005-01-03  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
56
57         * docs/manual/advanced-autoplugging.xml:
58           Fix typo (intiate -> initiate).
59
60 2005-01-02  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
61
62         * docs/random/bbb/streamselection:
63           Add some notes on how to handle multi-subtitle/-audio streams.
64
65 2004-12-30  Stefan Kost  <ensonic@users.sf.net>
66
67         * docs/gst/gstreamer-docs.sgml:
68         * docs/gst/gstreamer-sections.txt:
69         * docs/gst/tmpl/gstenumtypes.sgml:
70         * docs/gst/tmpl/gsterror.sgml:
71         * docs/gst/tmpl/gstevent.sgml:
72         * docs/gst/tmpl/gstpad.sgml:
73         * docs/gst/tmpl/gstpadtemplate.sgml:
74         * docs/gst/tmpl/gstthread.sgml:
75           removed gstenumtypes section from docs and put all the enums into
76           their sections
77
78 2004-12-27  Stephane Loeuillet  <stephane.loeuillet@tiscali.fr>
79
80         * gst/gstplugin.c:
81           document gst_library_load a bit more (riff special case + return
82           value if already loaded)
83         * testsuite/bytestream/filepadsink.c:
84           plugin name is 'gstbytestream', not 'bytestream'
85
86 2004-12-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
87
88         * docs/random/bbb/subtitles:
89           Add some first mind rumblings on proper subtitle support.
90
91 2004-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
92
93         * po/ca.po:
94         * po/sv.po:
95           updated translations
96
97 2004-12-23  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
98
99         * docs/manual/advanced-dataaccess.xml:
100           Add section on how to use fakesrc/fakesink/identity in your
101           application, plus section on how to embed plugins. Also mention
102           probes.
103         * docs/manual/appendix-checklist.xml:
104         * docs/manual/appendix-debugging.xml:
105         * docs/manual/appendix-gnome.xml:
106         * docs/manual/appendix-integration.xml:
107           Debug -> checklist, GNOME -> integration, add sections on Linux,
108           KDE integration and add other things useful for application
109           development.
110         * docs/manual/manual.xml:
111           Remove some fixmes, update some file pointers.
112         * docs/pwg/appendix-checklist.xml:
113           Fix typo.
114         * docs/pwg/building-boiler.xml:
115           Remove ugly header and add commented fixme.
116         * docs/pwg/pwg.xml:
117           Add fixme.
118         * examples/manual/Makefile.am:
119           Add example for added docs.
120
121 2004-12-23  Thomas Vander Stichele  <thomas at apestaart dot org>
122
123         * configure.ac:
124           back to HEAD
125
126 === release 0.8.8 ===
127
128 2004-12-23  Thomas Vander Stichele  <thomas at apestaart dot org>
129
130         * NEWS:
131         * RELEASE:
132         * configure.ac:
133           Releasing 0.8.8, "I'll Take Care Of You"
134
135 2004-12-21  Thomas Vander Stichele  <thomas at apestaart dot org>
136
137         * configure.ac:
138           second prerelease
139
140 2004-12-21  Thomas Vander Stichele  <thomas at apestaart dot org>
141
142         patch by: Wim Taymans
143
144         * gst/gstbin.c:
145           Fix for #159852 - make iterate emission threadsafe
146
147 2004-12-21  Thomas Vander Stichele  <thomas at apestaart dot org>
148
149         * docs/faq/cvs.xml:
150           notes about new fdo account request
151
152 2004-12-20  Stefan Kost  <ensonic@users.sf.net>
153
154         * docs/gst/gstreamer-docs.sgml:
155         * docs/gst/tmpl/gstenumtypes.sgml:
156         * docs/gst/tmpl/gstplugin.sgml:
157         * docs/libs/gstreamer-libs-docs.sgml:
158           Added missing short docs. Added ids for navigation.
159
160 2004-12-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
161
162         * docs/manual/advanced-autoplugging.xml:
163         * docs/manual/advanced-schedulers.xml:
164         * docs/manual/advanced-threads.xml:
165           Rewrites. Remove cothreads, go a bit into opt specifically,
166           document threads and their gotchas, and do some technical stuff
167           on autoplugging plus add some working examples. Fixes #157395.
168         * examples/manual/Makefile.am:
169           Add typefind/autoplugger example (one that actually works).
170           Remove queue example since it's a duplicate of the thread one.
171
172 2004-12-17  Benjamin Otte  <in7y118@public.uni-hamburg.de>
173
174         * gst/gstvalue.c: (gst_value_deserialize_string):
175           use deprecated g_value_set_string_take_ownership to keep compatible
176           with glib 2.2
177
178 2004-12-17  Benjamin Otte  <in7y118@public.uni-hamburg.de>
179
180         * gst/gstvalue.c: (gst_value_deserialize_string):
181           revert last patch, only dom a g_utf8_validate now before accepting
182           the string - caps parsing strips " from strings so we can't rely on
183           them
184         * testsuite/caps/value_serialize.c: (test_string_deserialization):
185           disable a test that tested the above and comment it
186
187 2004-12-16  Steve Lhomme <steve.lhomme@free.fr>
188
189         Patch reviewed by David Schleef  <ds@schleef.org>
190
191         * win32/gstenumtypes.c: Update from gst/gstenumtypes.c (See
192         bug #153882)
193         * win32/gstenumtypes.h: same
194
195 2004-12-17  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
196
197         * gst/gstpad.c: (gst_pad_query):
198           Do query on realized pad, similar to how convert/send_event handle
199           this. Also makes sense, since this pad belongs to the function to
200           which this query will be sent. Fixes #158163.
201
202 2004-12-16  Christian Fredrik Kalager Schaller  <uraeus@gnome.org>
203
204         * docs/manual/appendix-programs.xml: fix pipeline to actually work
205
206 2004-12-16  Christian Fredrik Kalager Schaller  <christian@fluendo.com>
207
208         * docs/faq/general.xml: fix pipeline to actually work
209
210 2004-12-16  Benjamin Otte  <in7y118@public.uni-hamburg.de>
211
212         * gst/gstvalue.c: (gst_value_deserialize_string):
213           check that a simple string that gets deserialized does not contain
214           invalid characters
215         * testsuite/caps/value_serialize.c: (test_string_deserialization):
216           remove a test that tested a wring behaviour
217
218 2004-12-16  Matt Kraai  <kraai@alumni.cmu.edu>
219
220         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
221
222         * docs/manual/intro-motivation.xml:
223           Fix typos.
224
225 2004-12-16  Edward Hervey  <bilboed@bilboed.com>
226
227         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
228
229         * docs/gst/tmpl/gstprobe.sgml:
230           Fix documentation of probe callback - it is supposed to return
231           FALSE, not TRUE, to remove data from the stream (#159087).
232
233 2004-12-16  Daniel Gazard  <dany42@free.fr>
234
235         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
236
237         * gst/gstelementfactory.c: (gst_element_factory_create):
238           Fix compile failure if compiling without libxml2 support (#149936).
239
240 2004-12-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
241
242         * docs/manual/advanced-autoplugging.xml:
243         * docs/manual/highlevel-components.xml:
244           Move spider from autoplugging to components. Autoplugging is for
245           internals, not for solutions. ;-).
246
247 2004-12-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
248
249         * docs/random/ds/0.9-suggested-changes:
250           Make note on device/location/uri property names.
251
252 2004-12-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
253
254         * docs/manual/advanced-autoplugging.xml:
255         * docs/manual/advanced-clocks.xml:
256         * docs/manual/advanced-interfaces.xml:
257         * docs/manual/advanced-metadata.xml:
258         * docs/manual/advanced-position.xml:
259         * docs/manual/advanced-schedulers.xml:
260         * docs/manual/advanced-threads.xml:
261         * docs/manual/appendix-gnome.xml:
262         * docs/manual/appendix-programs.xml:
263         * docs/manual/appendix-quotes.xml:
264         * docs/manual/autoplugging.xml:
265         * docs/manual/basics-bins.xml:
266         * docs/manual/basics-data.xml:
267         * docs/manual/basics-elements.xml:
268         * docs/manual/basics-helloworld.xml:
269         * docs/manual/basics-init.xml:
270         * docs/manual/basics-pads.xml:
271         * docs/manual/basics-plugins.xml:
272         * docs/manual/bins-api.xml:
273         * docs/manual/bins.xml:
274         * docs/manual/buffers-api.xml:
275         * docs/manual/buffers.xml:
276         * docs/manual/clocks.xml:
277         * docs/manual/components.xml:
278         * docs/manual/cothreads.xml:
279         * docs/manual/debugging.xml:
280         * docs/manual/dparams-app.xml:
281         * docs/manual/dynamic.xml:
282         * docs/manual/elements-api.xml:
283         * docs/manual/elements.xml:
284         * docs/manual/factories.xml:
285         * docs/manual/gnome.xml:
286         * docs/manual/goals.xml:
287         * docs/manual/helloworld.xml:
288         * docs/manual/helloworld2.xml:
289         * docs/manual/highlevel-components.xml:
290         * docs/manual/highlevel-xml.xml:
291         * docs/manual/init-api.xml:
292         * docs/manual/intro-basics.xml:
293         * docs/manual/intro-motivation.xml:
294         * docs/manual/intro-preface.xml:
295         * docs/manual/intro.xml:
296         * docs/manual/links-api.xml:
297         * docs/manual/links.xml:
298         * docs/manual/manual.xml:
299         * docs/manual/motivation.xml:
300         * docs/manual/pads-api.xml:
301         * docs/manual/pads.xml:
302         * docs/manual/plugins-api.xml:
303         * docs/manual/plugins.xml:
304         * docs/manual/programs.xml:
305         * docs/manual/queues.xml:
306         * docs/manual/quotes.xml:
307         * docs/manual/schedulers.xml:
308         * docs/manual/states-api.xml:
309         * docs/manual/states.xml:
310         * docs/manual/threads.xml:
311         * docs/manual/typedetection.xml:
312         * docs/manual/win32.xml:
313         * docs/manual/xml.xml:
314           Try 2. This time, include a short preface as a "general
315           introduction", also add code blocks around all code samples
316           so they get compiled. We still need a way to tell readers
317           the filename of the code sample. In some cases, don't show
318           all code in the documentation, but do include it in the generated
319           code. This allows for focussing on specific bits in the docs,
320           while still having a full test application available.
321         * examples/manual/Makefile.am:
322           Fix up examples for new ADM. Add several of the new examples that
323           were either added or were missing from the build system.
324         * examples/manual/extract.pl:
325           Allow nameless blocks.
326
327 2004-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
328
329         * docs/manual/elements-api.xml:
330         * docs/manual/helloworld.xml:
331         * examples/manual/extract.pl:
332           fix last example.  Add example of adding code blocks that are not
333           shown in docbook output.
334
335 2004-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
336
337         * docs/manual/dynamic.xml:
338         * docs/manual/elements-api.xml:
339         * docs/manual/gnome.xml:
340         * docs/manual/helloworld2.xml:
341         * docs/manual/init-api.xml:
342         * docs/manual/queues.xml:
343         * docs/manual/threads.xml:
344         * docs/manual/xml.xml:
345         * examples/manual/extract.pl:
346           Make it possible to extract example code from separate blocks.
347           Should make Ronald happy.
348
349 2004-12-15  Wim Taymans  <wim@fluendo.com>
350
351         * gst/schedulers/gstoptimalscheduler.c: (add_to_group),
352         (remove_from_group), (group_elements_set_visited),
353         (normalize_group), (gst_opt_scheduler_iterate):
354         Fix bug where a flag was not updated on a decoupled entry point 
355         because we were just checking the group element list and decoupled
356         elements are not in that list..
357
358 2004-12-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
359
360         * docs/manual/advanced-autoplugging.xml:
361         * docs/manual/advanced-clocks.xml:
362         * docs/manual/advanced-dparams.xml:
363         * docs/manual/advanced-interfaces.xml:
364         * docs/manual/advanced-metadata.xml:
365         * docs/manual/advanced-position.xml:
366         * docs/manual/advanced-schedulers.xml:
367         * docs/manual/advanced-threads.xml:
368         * docs/manual/appendix-debugging.xml:
369         * docs/manual/appendix-gnome.xml:
370         * docs/manual/appendix-programs.xml:
371         * docs/manual/appendix-quotes.xml:
372         * docs/manual/appendix-win32.xml:
373         * docs/manual/autoplugging.xml:
374         * docs/manual/basics-bins.xml:
375         * docs/manual/basics-data.xml:
376         * docs/manual/basics-elements.xml:
377         * docs/manual/basics-helloworld.xml:
378         * docs/manual/basics-init.xml:
379         * docs/manual/basics-pads.xml:
380         * docs/manual/basics-plugins.xml:
381         * docs/manual/bins-api.xml:
382         * docs/manual/bins.xml:
383         * docs/manual/buffers-api.xml:
384         * docs/manual/buffers.xml:
385         * docs/manual/clocks.xml:
386         * docs/manual/components.xml:
387         * docs/manual/cothreads.xml:
388         * docs/manual/debugging.xml:
389         * docs/manual/dparams-app.xml:
390         * docs/manual/dynamic.xml:
391         * docs/manual/elements-api.xml:
392         * docs/manual/elements.xml:
393         * docs/manual/factories.xml:
394         * docs/manual/gnome.xml:
395         * docs/manual/goals.xml:
396         * docs/manual/helloworld.xml:
397         * docs/manual/helloworld2.xml:
398         * docs/manual/highlevel-components.xml:
399         * docs/manual/highlevel-xml.xml:
400         * docs/manual/init-api.xml:
401         * docs/manual/intro-motivation.xml:
402         * docs/manual/intro-preface.xml:
403         * docs/manual/intro.xml:
404         * docs/manual/links-api.xml:
405         * docs/manual/links.xml:
406         * docs/manual/manual.xml:
407         * docs/manual/motivation.xml:
408         * docs/manual/pads-api.xml:
409         * docs/manual/pads.xml:
410         * docs/manual/plugins-api.xml:
411         * docs/manual/plugins.xml:
412         * docs/manual/programs.xml:
413         * docs/manual/queues.xml:
414         * docs/manual/quotes.xml:
415         * docs/manual/schedulers.xml:
416         * docs/manual/states-api.xml:
417         * docs/manual/states.xml:
418         * docs/manual/threads.xml:
419         * docs/manual/typedetection.xml:
420         * docs/manual/win32.xml:
421         * docs/manual/xml.xml:
422           First try at rewriting the ADM. Needs lotsamore work, but some
423           parts might already be somewhat useful.
424         * docs/pwg/advanced-interfaces.xml:
425           Remove properties interface, it never actually existed (except for
426           on my HD...).
427
428 2004-12-13  David Schleef  <ds@schleef.org>
429
430         * gst/gstpad.c: (gst_pad_set_explicit_caps): Allow caps to
431         be NULL (bug #160220).
432
433 2004-12-13  David Schleef  <ds@schleef.org>
434
435         * configure.ac: remove all mmx stuff, because it's not used.
436         * docs/random/ds/0.9-suggested-changes: additional notes
437         * include/Makefile.am: we don't use these anymore
438         * include/mmx.h: remove
439         * include/sse.h: remove
440
441 2004-12-13  Stephane Loeuillet  <stephane.loeuillet@tiscali.fr>
442
443         * docs/random/mimetypes:
444           Add FOURCC code for h264 codec (VSSH)
445           Add alternate FOURCC codes for h263 related codecs
446
447 2004-12-10  Stefan Kost  <ensonic@users.sf.net>
448
449         * docs/manual/programs.xml:
450           Added more gst-launch examples.
451
452 2004-12-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
453
454         * gst/gstqueue.c: (gst_queue_handle_src_query):
455           Check for availability again.
456
457 2004-12-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
458
459         * gst/gstcaps.c: (gst_caps_compare_structures):
460           Simple caps go first. This has the nice side-effect of fixing an
461           obscure warning.
462
463 2004-12-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
464
465         * gst/gstversion.h.in:
466           Protect header.
467
468 2004-12-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
469
470         * gst/schedulers/gstoptimalscheduler.c:
471         (gst_opt_scheduler_schedule_run_queue), (schedule_chain),
472         (gst_opt_scheduler_get_wrapper):
473           When we're recursing into a chain run, only run the directly
474           related group, not all queued ones. This will fix a possible
475           deadlock in chains with more than two groups.
476
477 2004-12-08  Thomas Vander Stichele  <thomas at apestaart dot org>
478
479         * autogen.sh:
480           remove patch if autopoint fails
481
482 2004-12-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
483
484         * docs/gst/gstreamer-sections.txt:
485           Document Thomas' addition, fix build, make Luis the sheriff happy.
486
487 2004-12-07  Thomas Vander Stichele  <thomas at apestaart dot org>
488
489         * gst/gstplugin.c:
490         * gst/gstplugin.h:
491           add accessor for version field
492
493 2004-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
494
495         submitted by: Luca Ferretti <elle.uca@infinito.it>
496
497         * po/LINGUAS:
498         * po/it.po:
499           New tranlation added: Italian
500
501 2004-12-03  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
502
503         * gst/gstpad.c: (gst_pad_is_negotiated),
504         (gst_pad_get_negotiated_caps):
505           GST_RPAD_* will only operate on a RealPad (it casts the pointer,
506           it doesn't actually check the contents), so be sure to hand it
507           a RealPad else we'll crash.
508
509 2004-12-03  Wim Taymans  <wim@fluendo.com>
510
511         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
512         (gst_queue_link), (gst_queue_handle_src_query):
513         Reverted to 1.110 until this makes the testsuite and various
514         apps work.
515
516 2004-12-01  Christian Fredrik Kalager Schaller <christian@fluendo.com>
517
518         * docs/upload.mak: fix included CVS conflict strings
519
520 2004-12-01  William Jon McCann  <mccann@jhu.edu>
521
522         Reviewed by: Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
523
524         * gst/gstelement.c: (gst_element_error_full):
525           Use g_error_new_literal because error text may have
526           percentage signs in it. Fixes #160019.
527
528 2004-12-01  Benjamin Otte  <otte@gnome.org>
529
530         * gst/elements/gstbufferstore.c:
531         (gst_buffer_store_add_buffer_func):
532           don't try to make subbuffers bigger than they can be. (fixes
533           #159970)
534
535 2004-11-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
536
537         * docs/gst/gstreamer-sections.txt:
538         * docs/gst/tmpl/gstvalue.sgml:
539           Add new function to docs to fix build.
540
541 2004-11-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
542
543         * gst/gstcaps.c: (gst_caps_is_fixed_foreach):
544         * gst/gstpad.c: (_gst_pad_default_fixate_value),
545         (_gst_pad_default_fixate_foreach):
546         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
547         * gst/gstvalue.h:
548           Deprecate _type_is_fixed, use _value_is_fixed instead, since
549           in some cases (arrays), the fixedness depends on the content.
550         * gst/gstqueue.c: (gst_queue_handle_src_query):
551           Check for availability before doing something.
552
553 2004-11-29  Wim Taymans  <wim@fluendo.com>
554
555         * testsuite/threads/Makefile.am:
556         * testsuite/threads/signals.c: (gst_test_get_type),
557         (gst_test_class_init), (gst_test_init), (gst_test_dispose),
558         (gst_test_set_property), (gst_test_get_property),
559         (gst_test_do_signal1), (signal2_handler), (gst_test_do_signal2),
560         (gst_test_do_prop), (run_thread), (main):
561         Added a bunch of testcases that show threadsafety bugs in glib.
562
563 2004-11-29  Stefan Kost  <ensonic@users.sf.net>
564
565         * docs/manual/programs.xml:
566           Added a first batch of gst-launch examples, as provided by Ronald
567           and others from the devel-mlist
568
569 2004-11-28  Benjamin Otte  <otte@gnome.org>
570
571         * gst/gstelement.c: (gst_element_negotiate_pads):
572           simplify
573         * gst/gstvalue.c: (gst_string_wrap), (gst_string_unwrap),
574         (gst_value_serialize_string), (gst_value_deserialize_string):
575           add unwrapping of previously wrapped strings. Fix bug in wrapping
576           while at it.
577         * testsuite/caps/value_serialize.c: (test1),
578         (test_string_serialization), (test_string_deserialization), (main):
579           add tests for string (de)serialization
580
581 2004-11-26  Wim Taymans  <wim@fluendo.com>
582
583         * testsuite/threads/159566.c: (object_deep_notify), (main):
584         * testsuite/threads/Makefile.am:
585         Added testsuite to show bug #159566
586
587 2004-11-25  Wim Taymans  <wim@fluendo.com>
588
589         * gst/gstthread.c: (gst_thread_dispose), (gst_thread_change_state),
590         (gst_thread_child_state_change), (gst_thread_main_loop):
591         Ref the thread object in the GThread mainloop. Break out of the
592         thread mainloop if it holds the last ref. This properly exits
593         the threads when disposing the thread from its own context. It
594         also avoids possible deadlocks in the dispose function.
595
596 2004-11-24  Martin Soto  <martinsoto@users.sourceforge.net>
597
598         * gst/gstqueue.c (gst_queue_link_sink): Grab the lock only when
599         it is necessary to wait.
600
601 2004-11-24  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
602
603         * docs/pwg/building-boiler.xml:
604           Make description somewhat clearer.
605
606 2004-11-23  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
607
608         * docs/upload.mak:
609           Apparently docs changed location on FDO's server.
610
611 2004-11-23  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
612
613         * docs/pwg/appendix-checklist.xml:
614           Add some random notes on things to check when writing an element.
615           This list can be extended as people see fit.
616
617 2004-11-23  Martin Soto  <martinsoto@users.sourceforge.net>
618
619         * gst/gstqueue.c (gst_queue_init, gst_queue_link_sink)
620         (gst_queue_link_src): Allow for renegotiating the caps of the sink
621         pad. The queue will now wait until it is empty and forward the new
622         caps to the source.
623         * gst/gstbin.c (gst_bin_set_element_sched)
624         (gst_bin_unset_element_sched): Make sure that all elements and
625         links are registered and unregistered with the scheduler exactly
626         once. This elaborates on a fix by Benjamin Otte, but
627         guarantees that decoupled elements are also registered.
628
629 2004-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
630
631         * docs/manual/quotes.xml:
632           add a quote
633         * configure.ac:
634         * gst/gst.c:
635         * gst/gstinfo.c:
636           add LIBDIR and move init message higher up so it's at the start
637
638 2004-11-08  Christian Fredrik Kalager Schaller  <christian@fluendo.com>
639
640         * gst/schedulers/Makefile.am: fix disted build fair by including .h file
641         * gstreamer.spec.in: add fair
642
643 2004-11-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
644
645         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
646         * gst/elements/gstidentity.c: (gst_identity_class_init):
647           Use G_SIGNAL_TYPE_STATIC_SCOPE, patch by Christophe Fergeau
648           <teuf@gnome.org> (#157263).
649         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
650         (gst_type_find_handle_src_query):
651           Subtract size of internally stored data from position queries.
652
653 2004-11-07  Martin Soto  <martinsoto@users.sourceforge.net>
654
655         * gst/schedulers/fairscheduler.c:
656         * gst/schedulers/faircothreads.c:
657         * gst/schedulers/faircothreads.h:
658         New cothread based scheduler: Fair scheduler.
659         * gst/schedulers/gthread-cothreads.h: 
660         Add the standard #if around the whole file.
661         Defining symbol GTHREAD_COTHREADS_NO_DEFINITIONS will now prevent
662         compilation of the functions defined in this file. This is
663         necessary to be able to use this file as a normal header.
664         * gst/schedulers/Makefile.am: Add compiling support for fair
665         scheduler.
666         * docs/gst/Makefile.am (IGNORE_HFILES): Exclude internal fair
667         scheduler cothreads layer from documentation generation.
668
669 2004-11-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
670
671         * gst/autoplug/gstspideridentity.c:
672         (gst_spider_identity_sink_loop_type_finding):
673           Don't crash if that function is not implemented.
674
675 2004-11-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
676
677         * docs/pwg/advanced-types.xml:
678           Another typo.
679
680 2004-11-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
681
682         * docs/pwg/intro-preface.xml:
683           Hm, ok, so the brackets weren't really useful...
684         * docs/pwg/other-ntoone.xml:
685           Fix embarassing typo.
686
687 2004-11-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
688
689         * docs/pwg/intro-preface.xml:
690           Rewrite preface.
691
692 2004-11-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
693
694         * docs/pwg/advanced-scheduling.xml:
695         * docs/pwg/advanced-tagging.xml:
696         * docs/pwg/advanced-types.xml:
697         * docs/pwg/building-boiler.xml:
698         * docs/pwg/building-chainfn.xml:
699         * docs/pwg/building-signals.xml:
700         * docs/pwg/building-state.xml:
701         * docs/pwg/building-testapp.xml:
702         * docs/pwg/intro-basics.xml:
703         * docs/pwg/other-manager.xml:
704         * docs/pwg/other-source.xml:
705           Typo fixes.
706         * docs/pwg/other-manager.xml:
707           Add some first content. No example code yet.
708         * gst/elements/gstfilesink.c: (gst_filesink_handle_event):
709           Remove double newlines.
710
711 2004-11-04  Wim Taymans  <wim@fluendo.com>
712
713         * gst/schedulers/gstoptimalscheduler.c: (add_to_group),
714         (remove_from_group), (normalize_group), (group_migrate_connected),
715         (gst_opt_scheduler_iterate):
716         * testsuite/schedulers/.cvsignore:
717         * testsuite/schedulers/Makefile.am:
718         * testsuite/schedulers/queue_link.c: (main):
719         Added testcase for scheduler segfault.
720         Fix scheduler segfault when removing a decoupled
721         entry point as the last element from a group.
722
723 2004-11-03  Christophe Fergeau  <teuf@gnome.org>
724
725         * gst/gstmarshal.list: add missing marshaller, fixes build
726
727 2004-11-03  Christophe Fergeau  <teuf@gnome.org>
728
729         * docs/random/signal: added notes about using BOXED for GstBuffer
730         signal marshallers, not POINTER
731
732 2004-11-03  Christophe Fergeau  <teuf@gnome.org>
733
734         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
735         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init): more
736         POINTER=>BOXED changes to marshal GstBuffers
737
738 2004-11-03  Christophe Fergeau  <teuf@gnome.org>
739
740         * gst/elements/gstidentity.c: (gst_identity_class_init): GstBuffer is 
741         a boxed type, marshal the signal with VOID__BOXED, not VOID__POINTER
742
743 2004-11-03  Stefan Kost  <ensonic@users.sf.net>
744
745         * docs/gst/gstreamer-sections.txt:
746         * docs/gst/tmpl/gstcaps.sgml:
747         * docs/gst/tmpl/gsterror.sgml:
748         * docs/gst/tmpl/gstinfo.sgml:
749         * docs/gst/tmpl/gstmacros.sgml:
750         * docs/gst/tmpl/gstutils.sgml:
751         * docs/random/ensonic/interfaces.txt:
752         * gst/gstinfo.h:
753           added some more docs, removed two obsolete defines
754
755 2004-11-02  Kjartan Maraas <as at gnome.org>
756
757         reviewed by: Wim Taymans, Ronald Bultje.
758
759         * gst/cothreads.c: (cothread_create):
760         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
761         (gst_bin_child_state_change_func):
762         * gst/gstbuffer.c: (gst_buffer_span):
763         * gst/gstelement.c: (gst_element_get_index),
764         (gst_element_get_event_masks), (gst_element_get_query_types),
765         (gst_element_get_formats):
766         * gst/gsterror.c: (_gst_core_errors_init),
767         (_gst_library_errors_init), (_gst_resource_errors_init),
768         (_gst_stream_errors_init):
769         * gst/gstobject.c: (gst_object_default_deep_notify):
770         * gst/gstpad.c: (gst_pad_get_event_masks),
771         (gst_pad_get_internal_links_default):
772         * gst/gstplugin.c: (gst_plugin_register_func),
773         (gst_plugin_get_module):
774         * gst/gststructure.c: (gst_structure_get_string),
775         (gst_structure_get_abbrs), (gst_structure_from_abbr),
776         (gst_structure_to_abbr):
777         * gst/gstutils.c: (gst_print_element_args):
778         * gst/schedulers/gstoptimalscheduler.c: (add_to_group),
779         (setup_group_scheduler), (gst_opt_scheduler_iterate):
780         Aplied part of patch #157127: Cleanup of issues reported by 
781         sparse.
782         Also do not try to use cothreads when there is no cothread
783         context yet.
784
785 2004-11-02  Sebastien Cote <sc5 at hermes.usherb.ca>
786
787         * gst/schedulers/gstoptimalscheduler.c: (add_to_group),
788         (gst_opt_scheduler_iterate):
789         Applied patch #154061. Running a pipeline in which an element 
790         calls GST_ELEMENT_ERROR in the chain function, the opt 
791         scheduler doesn't unref the chain so it never gets freed.
792
793 2004-11-02  Wim Taymans  <wim@fluendo.com>
794
795         * gst/gststructure.c: (gst_structure_get_abbrs),
796         (gst_structure_from_abbr), (gst_structure_to_abbr):
797         Remove that ugly if-then thing in the code that converts
798         between strings and types.
799
800 2004-11-02  Wim Taymans  <wim@fluendo.com>
801
802         * gst/gstscheduler.c: (gst_scheduler_add_element),
803         (gst_scheduler_remove_element), (gst_scheduler_state_transition):
804         Aplied clock distribution patch, this should fix bug
805         #148787.
806
807 2004-10-27  Thomas Vander Stichele  <thomas at apestaart dot org>
808
809         Submitted by: Kjartan Maraas <kmaraas@broadpark.no>
810
811         * po/LINGUAS:
812         * po/nb.po:
813           Added Norwegian Bokmaal translation
814
815 2004-10-22  Benjamin Otte  <in7y118@public.uni-hamburg.de>
816
817         * tools/gst-inspect.c: (print_signal_info):
818           print signal arguments as pointers if they are
819
820 2004-10-22  Stefan Kost  <ensonic@users.sf.net>
821
822         * docs/pwg/building-boiler.xml:
823           exchanged GTK_ macros with G_TYPE macros (as pointed out by mathrick)
824
825 2004-10-19  Wim Taymans  <wim at fluendo dot com>
826
827         * gst/parse/parse.l:
828         * testsuite/parse/parse1.c: (main):
829         Since parse can do 'element name=a:b' make 'a:b.' work as
830         well. 
831         Added testcase to verify fix.
832
833 2004-10-19  Wim Taymans  <wim at fluendo dot com>
834
835         * tools/gst-inspect.c: (print_pad_info), (print_plugin_features):
836         Use the realpad when printing the direction.
837         Add extra \n when printing extensions of typefind factories.
838
839 2004-10-13  David Schleef  <ds@schleef.org>
840
841         * examples/manual/Makefile.am: $< isn't portable in Makefile
842         rules.
843
844 2004-10-13  Stefan Kost  <ensonic@users.sf.net>
845
846         * docs/gst/tmpl/gstobject.sgml:
847         * docs/gst/tmpl/gstplugin.sgml:
848         * docs/gst/tmpl/gstpluginfeature.sgml:
849         * docs/gst/tmpl/gstregistry.sgml:
850         * docs/gst/tmpl/gstversion.sgml:
851         * gst/gstbin.c:
852           more api documentation
853         * gst/gstplugin.c: (gst_plugin_register_func),
854         (gst_plugin_check_file), (gst_plugin_load_file):
855           better error signaling and logging
856
857 2004-10-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
858
859         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_src_query):
860           Subtract current queue contents from position queries.
861
862 2004-10-11  Johan Dahlin  <johan@gnome.org>
863
864         * gst/gsturi.c (gst_uri_get_location): unescape string
865         (gst_uri_construct): escape string.
866
867 2004-10-11  Benjamin Otte  <otte@gnome.org>
868
869         * gst/gstpad.c: (gst_pad_renegotiate), (gst_pad_try_set_caps),
870         (gst_pad_try_set_caps_nonfixed):
871           allow renegotiation of unconnected pads (as inside spider). Simply
872           return OK if unconnected - mimic try_set_caps there.
873
874 2004-10-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
875
876         * gst/gstbin.c: (gst_bin_sync_children_state):
877           Add missing break.
878
879 2004-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
880
881         * gst/elements/gstfakesrc.c: (gst_fakesrc_get):
882         Set element to EOS before sending EOS event
883
884 2004-10-08  Wim Taymans  <wim at fluendo dot com>
885
886         * gst/elements/gsttypefindelement.c:
887         (gst_type_find_element_handle_event):
888         Handle EOS events when doing the transition from
889         typefind to data passing. This should fix the
890         infinite loops in short files.
891
892 2004-10-07  Wim Taymans  <wim at fluendo dot com>
893
894         * gst/gstthread.c: (gst_thread_change_state),
895         (gst_thread_child_state_change):
896         Make sure no iteration happens while performing
897         the state change as it could mess up the internal
898         consistency of the thread state.
899
900 2004-10-07  Wim Taymans  <wim at fluendo dot com>
901
902         * gst/gstthread.c: (gst_thread_dispose), (gst_thread_sync),
903         (gst_thread_change_state), (gst_thread_child_state_change):
904         Do not try to grab the iterate lock in the state change method
905         when we are in the same thread as the iterate or else we
906         could deadlock. Some other cleanups.
907
908 2004-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
909
910         * configure.ac:
911           bump nano to cvs
912
913 === release 0.8.7 ===
914
915 2004-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
916
917         * configure.ac:
918         * NEWS:
919         * RELEASE:
920         * configure.ac:
921           releasing 0.8.7, "A Cruise"
922
923 2004-10-06  Stephane Loeuillet  <stephane.loeuillet@tiscali.fr>
924
925         * docs/random/mimetypes:
926         Add an entry for Sony ATRAC3 audio format with mime-type
927         used by rmdemux et riff-read
928
929 2004-10-06  Wim Taymans  <wim at fluendo dot com>
930
931         * gst/elements/gsttypefindelement.c: (stop_typefinding):
932         Push the buffer store instead of clearing it in case that
933         the stream is not seekable.
934
935 2004-10-06  Wim Taymans  <wim at fluendo dot com>
936
937         * gst/gstthread.c: (gst_thread_init), (gst_thread_change_state),
938         (gst_thread_main_loop):
939         Lock the iteration and the state change so that automatic
940         negotiation and fixation does not happen at the same time
941         as the in stream negotiation.
942
943 2004-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
944
945         * configure.ac:
946           bump nano to cvs
947
948 === release 0.8.6 ===
949
950 2004-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
951
952         * configure.ac:
953         * NEWS:
954         * RELEASE:
955         * configure.ac:
956           releasing 0.8.6, "Narc"
957
958 2004-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
959
960         * configure.ac:
961           prerel bump
962
963 2004-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
964
965         patch by: Steve Lhomme
966
967         * gst/elements/gstfakesrc.c:
968         * gst/elements/gstidentity.c:
969         * gst/gstthread.c:
970           Fix for #153881
971
972 2004-10-01  Wim Taymans  <wim at fluendo dot com>
973
974         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
975         Fix threadsafety of the crc checking function.
976
977 2004-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
978
979         patch by: Ronald Bultje
980
981         * gst/elements/gsttypefindelement.c: (stop_typefinding),
982         (gst_type_find_element_handle_event),
983         (gst_type_find_element_chain):
984         * gst/elements/gsttypefindelement.h:
985          #153657.
986          Filter out discont event from seekable sources when typefind
987          asks them to seek.  Fixes typefind with demuxers for
988          avi, asf and matroska.
989
990 2004-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
991
992         * docs/gst/gstreamer-sections.txt:
993         * gst/gstcaps.c:
994         * gst/gstcaps.h:
995         * gst/gstpad.c:
996           Revert preferred caps: (#147789)
997
998 2004-09-19  Steve Lhomme  <steve.lhomme@free.fr>
999
1000         * win32/dirent.c:
1001           fix a memory leak
1002
1003 2004-09-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1004
1005         * configure.ac:
1006           bump for prerelease
1007
1008 2004-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1009
1010         * docs/Makefile.am:
1011         * docs/manual/elements-api.xml:
1012           restructure so that common stuff is shown first
1013         * docs/manual/init-api.xml:
1014           convert to examples
1015         * docs/manual/manual.xml:
1016         * docs/manuals.mak:
1017         * docs/url.entities:
1018           link to API on the website, possibly override later in build
1019         * examples/manual/.cvsignore:
1020           ignore more
1021         * examples/manual/Makefile.am:
1022           add more examples
1023         * examples/manual/extract.pl:
1024           error out on failure
1025
1026 2004-09-08  Thomas Vander Stichele  <thomas at apestaart dot org>
1027
1028         * docs/gst/tmpl/gstthread.sgml:
1029         * docs/manual/init-api.xml:
1030         * examples/manual/Makefile.am:
1031           convert two code bits to examples
1032
1033 2004-09-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1034
1035         * gst/gstelement.c: (gst_element_change_state):
1036           Well, actually, I was about to remove this insane assert when
1037           I noticed Wim already did that. A warning is nice so we can
1038           fix actual ugs (using --g-fatal-warnings and backtraces), so
1039           I added that instead.
1040
1041 2004-09-06  Wim Taymans  <wim@fluendo.com>
1042
1043         * gst/gstelement.c: (gst_element_threadsafe_properties_pre_run),
1044         (gst_element_threadsafe_properties_post_run),
1045         (gst_element_set_state), (gst_element_change_state):
1046         Added extra refcounting around various places. 
1047
1048 2004-09-06  Wim Taymans  <wim@fluendo.com>
1049
1050         * gst/gstpad.c: (gst_pad_link_call_link_functions):
1051         Fix debug info.
1052
1053 2004-09-06  Wim Taymans  <wim@fluendo.com>
1054
1055         * gst/schedulers/gstoptimalscheduler.c: (add_to_group),
1056         (remove_from_group):
1057         Some more debug info.
1058
1059 2004-09-03  Wim Taymans  <wim@fluendo.com>
1060
1061         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
1062         (gst_fakesrc_init), (gst_fakesrc_set_clock),
1063         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
1064         (gst_fakesrc_get), (gst_fakesrc_change_state):
1065         * gst/elements/gstfakesrc.h:
1066         * gst/elements/gstidentity.c: (gst_identity_class_init),
1067         (gst_identity_init), (gst_identity_chain),
1068         (gst_identity_set_property), (gst_identity_get_property),
1069         (gst_identity_change_state):
1070         * gst/elements/gstidentity.h:
1071         Added datarate properties to limit the datarate.
1072
1073 >>>>>>> 1.808
1074 2004-08-25  Benjamin Otte  <in7y118@public.uni-hamburg.de>
1075
1076         * gst/autoplug/gstspider.c: (plugin_init):
1077           don't set a rank. We don't want to autoplug by inserting spiders.
1078
1079 2004-08-22  Benjamin Otte  <in7y118@public.uni-hamburg.de>
1080
1081         * gst/autoplug/gstspider.c: (gst_spider_class_init),
1082         (gst_spider_identity_plug):
1083           add a template for spider's sink
1084         * gst/gst.c: (gst_register_core_elements):
1085           queue's rank should be NULL, we don't want spider to add it.
1086
1087 2004-08-18  David Schleef  <ds@schleef.org>
1088
1089         * docs/gst/Makefile.am: Remove --ignore-fail-on-non-empty (#150331)
1090         * docs/libs/Makefile.am: same
1091         * docs/gst/tmpl/gstxml.sgml: Remove GstXMLNs
1092         * docs/random/ds/0.9-planning: random additions
1093         * docs/random/ds/0.9-suggested-changes: same
1094         * gst/gstxml.h: remove vestigal GstXMLNs definition
1095
1096         Preferred caps: (#147789)
1097         * docs/gst/gstreamer-sections.txt: Add symbols
1098         * docs/gst/tmpl/gstcaps.sgml: Add symbols
1099         * gst/gstcaps.c: (gst_caps_copy), (gst_caps_free),
1100         (gst_caps_append), (gst_caps_copy_1), (gst_caps_intersect),
1101         (gst_caps_union), (gst_caps_save_thyself), (gst_caps_load_thyself),
1102         (gst_caps_get_preferred), (gst_caps_set_preferred),
1103         (gst_caps_get_structure_by_id), (gst_caps_prefer_foreach),
1104         (gst_caps_use_preferred): Handle caps preferences
1105         * gst/gstcaps.h: Add caps preferences
1106         * gst/gstpad.c: (gst_pad_link_get_preferred),
1107         (gst_pad_link_fixate), (gst_pad_link_call_link_functions),
1108         (gst_pad_renegotiate), (gst_pad_guess_preferred),
1109         (gst_pad_get_caps), (gst_pad_push):  Use caps preferences for
1110         negotiation.
1111
1112 2004-08-17  Benjamin Otte  <in7y118@public.uni-hamburg.de>
1113
1114         * gst/autoplug/gstspideridentity.c:
1115         (gst_spider_identity_request_new_pad):
1116         * gst/elements/gstaggregator.c: (gst_aggregator_base_init),
1117         (gst_aggregator_init):
1118         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
1119         (gst_fakesink_init):
1120         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
1121         (gst_fakesrc_init):
1122         * gst/elements/gstfdsink.c: (gst_fdsink_base_init),
1123         (gst_fdsink_init):
1124         * gst/elements/gstfdsrc.c: (gst_fdsrc_base_init), (gst_fdsrc_init):
1125         * gst/elements/gstfilesink.c: (gst_filesink_base_init),
1126         (gst_filesink_init):
1127         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
1128         (gst_filesrc_init):
1129         * gst/elements/gstidentity.c: (gst_identity_base_init),
1130         (gst_identity_init):
1131         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_base_init),
1132         (gst_multifilesrc_init):
1133         * gst/elements/gstpipefilter.c: (gst_pipefilter_base_init),
1134         (gst_pipefilter_init):
1135         * gst/elements/gststatistics.c: (gst_statistics_base_init),
1136         (gst_statistics_init):
1137         * gst/elements/gsttee.c: (gst_tee_base_init), (gst_tee_init):
1138         * gst/gstqueue.c: (gst_queue_base_init), (gst_queue_init):
1139           s/gst_pad_new/&_from_template/
1140           register pad templates in the base_init function
1141           add static pad template definitions
1142
1143 2004-08-17  Benjamin Otte  <in7y118@public.uni-hamburg.de>
1144
1145         * testsuite/bytestream/gstbstest.c: (gst_bstest_init):
1146         * testsuite/dynparams/dparamstest.c: (gst_dptest_init):
1147         * testsuite/refcounting/pad.c: (main):
1148         * testsuite/refcounting/thread.c: (create_thread_ghostpads):
1149           s/gst_pad_new/&_from_template/
1150           prepare deprecation of gst_pad_new
1151
1152 2004-08-17  Thomas Vander Stichele  <thomas at apestaart dot org>
1153
1154         patch by: Luca Ognibene <skaboy81@virgilio.it>
1155
1156         * gst/gstcaps.c:
1157         * gst/gstelement.c:
1158         * gst/gstpad.c:
1159         * gst/gstxml.c:
1160           fix memleaks.  Fixes #150001
1161
1162 2004-08-17  Benjamin Otte  <in7y118@public.uni-hamburg.de>
1163
1164         * docs/random/ds/0.9-suggested-changes:
1165           add notes - mostly about pad templates
1166
1167 2004-08-16  Steve Lhomme  <steve.lhomme@free.fr>
1168
1169         * win32/GStreamer.vcproj:
1170           temporary locale files are .gmo not .mo
1171
1172 2004-08-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1173
1174         * configure.ac: bump nano to cvs
1175
1176 === release 0.8.5 ===
1177
1178 2004-08-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1179
1180         * configure.ac:
1181           releasing 0.8.5, "Stuttgart"
1182         * NEWS:
1183         * RELEASE:
1184         * configure.ac:
1185         * docs/random/release:
1186           updates for release
1187
1188 2004-08-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1189
1190         patch by: Wim Taymans (wim@fluendo.com)
1191
1192         * gst/gstbuffer.c:
1193         * gst/gstindex.h:
1194         * libs/gst/dataprotocol/dataprotocol.c:
1195           copy KEY_UNIT and DELTA_UNIT flags correctly.  Fixes #150242
1196
1197 2004-08-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1198
1199         * Makefile.am:
1200         * win32/MANIFEST:
1201           add win32 dir to the build.  Fixes #149981.
1202
1203 2004-08-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1204
1205         * configure.ac:
1206           bump libtool versioning
1207         * gst/gststructure.c:
1208           mark function as static
1209         * po/af.po:
1210         * po/az.po:
1211         * po/ca.po:
1212         * po/cs.po:
1213         * po/en_GB.po:
1214         * po/fr.po:
1215         * po/nl.po:
1216         * po/sq.po:
1217         * po/sr.po:
1218         * po/sv.po:
1219         * po/tr.po:
1220         * po/uk.po:
1221           translations update
1222         * win32/README.txt:
1223           trademark protection
1224
1225 2004-08-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1226
1227         * configure.ac:
1228           fix GST_ORIGIN
1229           set GST_PACKAGE to source, and distinguish between release and other
1230         * tools/gst-inspect.c:
1231           print out plugin an element factory is part of so we see this info
1232
1233 2004-08-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1234
1235         * docs/gst/gstreamer-sections.txt:
1236         * docs/gst/tmpl/gstbuffer.sgml:
1237         * docs/gst/tmpl/gstschedulerfactory.sgml:
1238           reorder docs a little, make GstBuffer's more sensible.
1239         * gst/gstbuffer.h:
1240           API: added GST_BUFFER_FLAG_DELTA_UNIT
1241         * gst/gstscheduler.c:
1242           comment API addition
1243
1244 2004-08-12  Benjamin Otte  <in7y118@public.uni-hamburg.de>
1245
1246         * gst/elements/gstfilesrc.c: (gst_filesrc_get_mmap):
1247           work with non-regular files that can be mmapped (like /dev/zero)
1248         * gst/elements/gsttypefindelement.c: (gst_type_find_element_chain):
1249           get rid of typefinds that require a seek when we can't seek instead
1250           of trying them over and over again
1251         * tools/gst-launch.c: (idle_func), (error_cb), (main):
1252           return non-zero failure value when the pipeline was interrupted or
1253           an error occurred
1254
1255 2004-08-11  Steve Lhomme  <steve.lhomme@free.fr>
1256
1257         * win32/config.h:
1258         * win32/GStreamer.vcproj:
1259           compile and install the locales
1260
1261 2004-08-11  Steve Lhomme  <steve.lhomme@free.fr>
1262
1263         * gst/gstvalue.c:
1264           fix a possible memory leak under Windows
1265
1266 2004-08-11  Steve Lhomme  <steve.lhomme@free.fr>
1267
1268         * win32/GStreamer.vcproj:
1269           fix a memory leak that occured under Windows
1270         * win32/gstreamer.def:
1271           add gst_scheduler_register
1272
1273 2004-08-11  Benjamin Otte  <otte@gnome.org>
1274
1275         * docs/gst/gstreamer-sections.txt:
1276         * gst/gstscheduler.c: (gst_scheduler_register):
1277         * gst/gstscheduler.h:
1278           API:
1279           add gst_scheduler_register shortcut similar to gst_element_register
1280         * gst/schedulers/entryscheduler.c: (plugin_init):
1281         * gst/schedulers/gstbasicscheduler.c: (plugin_init):
1282         * gst/schedulers/gstoptimalscheduler.c: (plugin_init):
1283           use it
1284
1285 2004-08-10  Steve Lhomme  <steve.lhomme@free.fr>
1286
1287         * gst/gstvalue.h:
1288           fix a memory leak that occured under Windows
1289
1290 2004-08-10  Colin Walters  <walters@redhat.com>
1291
1292         * gst/registries/gstxmlregistry.c (gst_xml_registry_open_func):
1293         Don't use O_EXCL to open temporary registry.  It will prevent
1294         registry creation if a temporary one already exists, which
1295         is unnecessary.
1296
1297 2004-08-09  Steve Lhomme  <steve.lhomme@free.fr>
1298
1299         * docs/gst/gstreamer-sections.txt:
1300         * docs/gst/tmpl/gstvalue.sgml:
1301           remove some valuable stuff from the documentation due to the use of GST_EXPORT
1302
1303 2004-08-09  Steve Lhomme  <steve.lhomme@free.fr>
1304
1305         * win32/gstbytestream.vcproj:
1306         * win32/gstelements.vcproj:
1307         * win32/gstgetbits.vcproj:
1308         * win32/gst-inspect.vcproj:
1309         * win32/gst-launch.vcproj:
1310         * win32/gstoptimalscheduler.vcproj:
1311         * win32/GStreamer.vcproj:
1312         * win32/gst-register.vcproj:
1313         * win32/gstspider.vcproj:
1314           update the include and lib dirs to fit standard libraries as
1315           described in the Win32 manual
1316
1317 2004-08-09  Steve Lhomme  <steve.lhomme@free.fr>
1318
1319         * win32/config.h:
1320         * win32/gstversion.h:
1321           enable NLS again, push the version number for the coming 0.8.5 release
1322
1323 2004-08-09  Steve Lhomme  <steve.lhomme@free.fr>
1324
1325         * gst/gstvalue.h:
1326           export gst_type_XXX for windows DLLs
1327
1328 2004-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1329
1330         * docs/faq/gst-uninstalled:
1331           fix PKG_CONFIG_PATH and PYTHONPATH
1332         * gst/schedulers/Makefile.am:
1333           cleanup
1334         * libs/gst/bytestream/bytestream.c:
1335           remove newline
1336         * po/LINGUAS:
1337         * po/sq.po:
1338           adding Albanian translation (Laurent Dhima)
1339         * po/cs.po:
1340           updated
1341
1342 2004-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
1343
1344         * po/ca.po:
1345         * po/sv.po:
1346           updated translations
1347
1348 2004-08-04  Benjamin Otte  <otte@gnome.org>
1349
1350         * tests/mass_elements.c: (main):
1351           allow specifying src and sink element explicitly, so I can test
1352           videotestsrc instead of fakesrc
1353
1354 2004-08-04  Benjamin Otte  <otte@gnome.org>
1355
1356         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1357         (gst_structure_id_empty_new), (gst_structure_empty_new),
1358         (gst_structure_copy):
1359           add gst_structure_id_empty_new_with_size to allow preallocating
1360           value array sizes. Use this in gst_structure_copy to get rid of
1361           reallocs.
1362           don't do quark=>string=>quark when copying structures
1363
1364 2004-08-03  Steve Lhomme  <steve.lhomme@free.fr>
1365
1366         * docs/manual/win32.xml:
1367         * win32/README.txt:
1368           update documentation with the clean version of dependencies
1369
1370 2004-08-03  Benjamin Otte  <otte@gnome.org>
1371
1372         * gst/schedulers/entryscheduler.c:
1373         (gst_entry_scheduler_remove_element):
1374           fix for GST_DISABLE_DEBUG
1375         * tools/gst-launch.c: (print_tag):
1376           fixes for G_DISABLE_ASSERT
1377
1378 2004-08-03  Benjamin Otte  <otte@gnome.org>
1379
1380         * gst/gst.c: (gst_register_core_elements):
1381           fix for G_DISABLE_ASSERT
1382         * gst/gstinfo.c: (__gst_in_valgrind):
1383           add for GST_DISABLE_DEBUG
1384
1385 2004-08-03  Benjamin Otte  <otte@gnome.org>
1386
1387         * gst/parse/parse.l:
1388           fix for G_DISABLE_ASSERT
1389
1390 2004-08-03  Wim Taymans  <wim@fluendo.com>
1391
1392         * gst/gstbin.c: (gst_bin_get_type),
1393         (gst_bin_child_state_change_func):
1394         * gst/gstthread.c: (gst_thread_change_state):
1395         Backported some debug logging from a reverted patch
1396         Don't try to destroy the thread twice. Added some more
1397         debugging in GstThread. Unlock and signal even if we
1398         are in the thread context.
1399
1400 2004-08-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1401
1402         * po/uk.po:
1403           updated translation
1404
1405 2004-07-30  David Schleef  <ds@schleef.org>
1406
1407         * gst/gstatomic_impl.h: Enable atomic code for x86_64
1408
1409 2004-07-29  David Schleef  <ds@schleef.org>
1410
1411         * libs/gst/dataprotocol/dataprotocol-test.c: (conversion_test):
1412         Use GST_READ_GUINTxx_BE(), since it accesses unaligned memory.
1413
1414 2004-07-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1415
1416         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init),
1417         (gst_bin_add_func), (gst_bin_remove_func),
1418         (gst_bin_child_state_change), (gst_bin_child_state_change_func),
1419         (set_kid_state_func), (gst_bin_change_state), (gst_bin_set_state),
1420         (gst_bin_change_state_norecurse), (gst_bin_dispose),
1421         (gst_bin_sync_children_state):
1422         * gst/gstbin.h:
1423         * gst/gstthread.c: (gst_thread_class_init), (gst_thread_release),
1424         (gst_thread_change_state):
1425         * testsuite/states/Makefile.am:
1426           revert state change patches as agreed so we can rework them
1427           gradually
1428
1429 2004-07-29  Benjamin Otte  <otte@gnome.org>
1430
1431         * libs/gst/control/Makefile.am:
1432           link to libgstreamer (fixes Debian bug 262019, see
1433           http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=262019 )
1434
1435 2004-07-29  Wim Taymans  <wim@fluendo.com>
1436
1437         * testsuite/caps/fraction-convert.c: (check_from_double_convert),
1438         (check_from_fraction_convert), (transform_test), (main):
1439         Make the test less pedantic about float roundoff errors.
1440
1441 2004-07-29  Benjamin Otte  <otte@gnome.org>
1442
1443         * gst/elements/gstfilesrc.c: (gst_filesrc_open_file),
1444         (gst_filesrc_srcpad_event):
1445           make seek events to before start/after end of file not fail, but
1446           seek to start/end instead
1447         * testsuite/caps/fraction-convert.c: (check_from_double_convert):
1448           add more output
1449
1450 2004-07-29  Benjamin Otte  <otte@gnome.org>
1451
1452         * gst/gstpad.c: (gst_pad_set_explicit_caps):
1453           check that caps are fixed
1454         * gst/gstpad.c: (gst_pad_template_new):
1455           don't try to simplify caps, costs too much time on gst_init
1456         * gst/gstplugin.c: (gst_plugin_add_feature):
1457           G_ERROR if features are added twice
1458         * gst/gsttypefind.c: (gst_type_find_register):
1459         * gst/gstelementfactory.c: (gst_element_register):
1460           don't add features twice
1461         * docs/random/ds/0.9-suggested-changes:
1462           add note about possible gst_init optimization
1463
1464 2004-07-28  David Schleef  <ds@schleef.org>
1465
1466         * testsuite/elements/Makefile.am:
1467         * testsuite/elements/struct_i386.h:
1468         * testsuite/elements/struct_size.c: (main):  A little test
1469         to keep distcheck from working if someone changes a structure
1470         size accidentally.
1471
1472 2004-07-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1473
1474         * docs/libs/Makefile.am:
1475         * docs/libs/gstreamer-libs-docs.sgml:
1476         * docs/libs/gstreamer-libs-sections.txt:
1477         * docs/libs/tmpl/gstbytestream.sgml:
1478         * docs/libs/tmpl/gstcontrol.sgml:
1479         * docs/libs/tmpl/gstdataprotocol.sgml:
1480         * docs/libs/tmpl/gstgetbits.sgml:
1481         * libs/gst/bytestream/Makefile.am:
1482         * libs/gst/bytestream/bytestream.c:
1483         * libs/gst/bytestream/bytestream.h:
1484         * libs/gst/control/Makefile.am:
1485         * libs/gst/dataprotocol/Makefile.am:
1486         * libs/gst/getbits/Makefile.am:
1487         * libs/gst/getbits/getbits.h:
1488           various doc and style fixes, adding bytestream to libs docs.
1489
1490 2004-07-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1491
1492         * docs/gst/gstreamer-docs.sgml:
1493         * docs/libs/Makefile.am:
1494         * docs/libs/gstreamer-libs-docs.sgml:
1495         * docs/libs/gstreamer-libs-sections.txt:
1496         * libs/gst/control/dparam.c:
1497           more doc fixes.  gst-libs docs now build the same way as gst.
1498
1499 2004-07-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1500
1501         * configure.ac:
1502         * testsuite/Makefile.am:
1503         * testsuite/bins/Makefile.am:
1504         * testsuite/caps/Makefile.am:
1505         * testsuite/cleanup/Makefile.am:
1506         * testsuite/clock/Makefile.am:
1507         * testsuite/debug/Makefile.am:
1508         * testsuite/dlopen/Makefile.am:
1509         * testsuite/dynparams/Makefile.am:
1510         * testsuite/elements/.cvsignore:
1511         * testsuite/elements/Makefile.am:
1512         * testsuite/enumcaps/Makefile.am:
1513         * testsuite/enumcaps/enumcaps.c:
1514         * testsuite/ghostpads/Makefile.am:
1515         * testsuite/indexers/Makefile.am:
1516         * testsuite/negotiation/Makefile.am:
1517         * testsuite/parse/Makefile.am:
1518         * testsuite/plugin/Makefile.am:
1519         * testsuite/refcounting/Makefile.am:
1520         * testsuite/schedulers/.cvsignore:
1521         * testsuite/states/Makefile.am:
1522         * testsuite/tags/Makefile.am:
1523         * testsuite/threads/Makefile.am:
1524           fold enumcaps into caps dir
1525           clean up Makefile.am's for testsuite
1526
1527 2004-07-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1528
1529         * docs/gst/Makefile.am:
1530         * docs/libs/Makefile.am:
1531           clean up docs build.  Fixes needless rebuilding of template files.
1532
1533 2004-07-28  Wim Taymans  <wim@fluendo.com>
1534
1535         * gst/gstbin.c: (set_kid_state_func), (gst_bin_set_state):
1536         * gst/gstthread.c: (gst_thread_release), (gst_thread_set_state):
1537         Make sure that a bin state change tries to keep the children
1538         in sync. 
1539         Added debug logging to the thread.
1540
1541 2004-07-27  Steve Lhomme  <steve.lhomme@free.fr>
1542
1543         * win32/GStreamer.vcproj:
1544         * win32/gstreamer.def:
1545           more exports for the plugins
1546
1547 2004-07-27  Steve Lhomme  <steve.lhomme@free.fr>
1548
1549         * win32/gstgetbits.vcproj:
1550         * win32/gstgetbits.def:
1551         * win32/msvc71.sln:
1552           add support for the getbits plugin
1553
1554 2004-07-27  Wim Taymans  <wim@fluendo.com>
1555
1556         * gst/gstvalue.c: (gst_value_transform_double_fraction),
1557         (gst_value_transform_fraction_double), (_gst_value_initialize):
1558         * testsuite/caps/Makefile.am:
1559         * testsuite/caps/fraction-convert.c: (check_from_double_convert),
1560         (check_from_fraction_convert), (transform_test), (main):
1561         Added transform functions between double and fraction.
1562         Added testcase to verify transforms
1563
1564 2004-07-26  Steve Lhomme  <steve.lhomme@free.fr>
1565
1566         * win32/GStreamer.vcproj:
1567           rename GStreamer-0.8.lib to libgstreamer.lib
1568
1569 2004-07-26  Steve Lhomme  <steve.lhomme@free.fr>
1570
1571         * win32/gstelements.vcproj:
1572         * win32/gstoptimalscheduler.vcproj:
1573           fixes for the Release build
1574
1575 2004-07-26  Steve Lhomme  <steve.lhomme@free.fr>
1576
1577         * win32/config.h:
1578           update the version number
1579
1580 2004-07-26  Steve Lhomme  <steve.lhomme@free.fr>
1581
1582         * win32/GStreamer.vcproj:
1583           add gstinterface to the build
1584
1585 2004-07-26  Steve Lhomme  <steve.lhomme@free.fr>
1586
1587         * win32/gstreamer.def:
1588           add many definitions needed by plugins,
1589           GST_CAT_DEFAULT only available in the Debug build ?
1590
1591 2004-07-26  Thomas Vander Stichele  <thomas at apestaart dot org>
1592
1593         * gst/gstelement.c: (gst_element_set_eos_recursive):
1594           various whitespace fixes.
1595           doc fix, fixes #148497
1596
1597 2004-07-25  Benjamin Otte  <otte@gnome.org>
1598
1599         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_link):
1600           don't delay links on the sink elements, it causes unnegotiated
1601           links.
1602         * gst/elements/gsttypefindelement.c:
1603         (gst_type_find_element_base_init):
1604           add our padtemplates, we indeed do have some.
1605         * gst/elements/gsttypefindelement.c:
1606         (gst_type_find_element_handle_event),
1607         (gst_type_find_element_chain):
1608           don't push data when typefinding failed.
1609         * gst/gstpad.c: (gst_pad_link_fixate):
1610           check that no fixate function returns empty caps.
1611         * gst/gstpad.c: (gst_pad_push):
1612           check that the link is negotiated before data gets pushed.
1613         * tools/gst-register.c: (main):
1614           don't assert (fixes #148283)
1615
1616 2004-07-25  Steve Lhomme  <steve.lhomme@free.fr>
1617
1618         * docs/gst/gstreamer-sections.txt:
1619         * docs/gst/tmpl/gstconfig.sgml:
1620           add GST_PLUGIN_EXPORT definition
1621
1622 2004-07-25  Steve Lhomme  <steve.lhomme@free.fr>
1623
1624         * gst/gstplugin.h:
1625         * gst/gstconfig.h.in:
1626         * win32/gstconfig.h:
1627         * win32/gstelements.def:
1628         * win32/gstelements.vcproj:
1629         * win32/gstoptimalscheduler.def:
1630         * win32/gstoptimalscheduler.vcproj:
1631         * win32/gstspider.def:
1632         * win32/gstspider.vcproj:
1633           remove unused .def files and export symbols using GST_PLUGIN_DEFINE
1634
1635 2004-07-25  Thomas Vander Stichele  <thomas at apestaart dot org>
1636
1637         * docs/gst/gstreamer-sections.txt:
1638           remove GST_CAT_DEFAULT because the type has changed
1639
1640 2004-07-25  Steve Lhomme  <steve.lhomme@free.fr>
1641
1642         * win32/gstbytestream.vcproj:
1643         * win32/gstelements.vcproj:
1644         * win32/gst-inspect.vcproj:
1645         * win32/gst-launch.vcproj:
1646         * win32/gstoptimalscheduler.vcproj:
1647         * win32/GStreamer.vcproj:
1648         * win32/gst-register.vcproj:
1649         * win32/gstspider.vcproj:
1650         * win32/msvc71.sln:
1651           Copy the files where needed after building, The testsuite will be
1652           built separately
1653
1654 2004-07-25  Steve Lhomme  <steve.lhomme@free.fr>
1655
1656         * win32/config.h:
1657         * win32/README.txt:
1658         * docs/manual/win32.xml:
1659         Fixed the plugin and GStreamer location
1660
1661 2004-07-24  Steve Lhomme  <steve.lhomme@free.fr>
1662
1663         * win32/gstreamer.def:
1664         More exports for the plugins
1665
1666 2004-07-24  Steve Lhomme  <steve.lhomme@free.fr>
1667
1668         * gst/gstinfo.h:
1669         Marc was right, we need to export literally GST_CAT_DEFAULT
1670
1671 2004-07-24  Steve Lhomme  <steve.lhomme@free.fr>
1672
1673         * win32/config.h:
1674         NLS crashes in gettext, disabled until this is solved
1675
1676 2004-07-24  Steve Lhomme  <steve.lhomme@free.fr>
1677
1678         * win32/gst-inspect.vcproj:
1679         * win32/gst-launch.vcproj:
1680         Should use NLS when available
1681
1682 2004-07-24  Steve Lhomme  <steve.lhomme@free.fr>
1683
1684         * gst/registries/gstxmlregistry.c:
1685         removing the file doesn't seem to be a good idea on Linux
1686
1687 2004-07-24  Steve Lhomme  <steve.lhomme@free.fr>
1688
1689         * gst/registries/gstxmlregistry.c:
1690         Remove the registry before renaming the tempfile (needed for Windows)
1691
1692 2004-07-23  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
1693
1694         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init),
1695         (gst_multifilesrc_init), (gst_multifilesrc_set_property),
1696         (gst_multifilesrc_get_property), (gst_multifilesrc_get):
1697         * gst/elements/gstmultifilesrc.h:
1698         Added newmedia property so it generates newmedia events between each
1699         file when property is set, as well as fixed eos handling
1700
1701 2004-07-22  David Schleef  <ds@schleef.org>
1702
1703         * gst/gststructure.c: (gst_structure_id_empty_new),
1704         (gst_structure_empty_new):  Set type field correctly.
1705         * gst/gststructure.h: Check type field correctly.
1706         * testsuite/caps/Makefile.am:
1707         * testsuite/caps/structure.c: (test1), (main): Add a very small
1708         test for structures.
1709
1710 2004-07-22  David Schleef  <ds@schleef.org>
1711
1712         * docs/random/ds/0.9-suggested-changes: more comments
1713         * tools/gst-launch.c: (idle_func): Fix hard-to-translate string.
1714
1715 2004-07-22  Benjamin Otte  <otte@gnome.org>
1716
1717         * gst/gstelementfactory.c: (gst_element_register):
1718           set the factory in the class struct, so gst_element_get_factory
1719           actually works
1720         * gst/parse/grammar.y:
1721           set element to playing when it gets unlocked as we can't rely on the
1722           bin state - all elements in the bin state might still be locked in
1723           NULL)
1724
1725 2004-07-22  Benjamin Otte  <otte@gnome.org>
1726
1727         * gst/gstelement.c: (gst_element_set_state_func):
1728           make this a static function
1729
1730 2004-07-22  Wim Taymans  <wim@fluendo.com>
1731
1732         * gst/schedulers/gstoptimalscheduler.c: (remove_from_group),
1733         (gst_opt_scheduler_pad_link):
1734         fix 147894-2 and the group_link problem.
1735
1736 2004-07-22  Wim Taymans  <wim@fluendo.com>
1737
1738         * testsuite/schedulers/147894-2.c: (queue_empty), (queue_filled),
1739         (handoff_identity), (main):
1740         * testsuite/schedulers/147894.c: (queue_empty), (queue_filled),
1741         (handoff_identity), (main):
1742         * testsuite/schedulers/Makefile.am:
1743         * testsuite/schedulers/group_link.c: (main):
1744         Show bug in scheduler when linking chain and loop based element 
1745         where the chain based element was not yet in a group.
1746
1747 2004-07-21  Benjamin Otte  <otte@gnome.org>
1748
1749         * gst/.cvsignore:
1750         * gst/autoplug/.cvsignore:
1751         * gst/elements/.cvsignore:
1752         * gst/indexers/.cvsignore:
1753         * libs/gst/bytestream/.cvsignore:
1754         * libs/gst/control/.cvsignore:
1755         * libs/gst/getbits/.cvsignore:
1756         * testsuite/states/.cvsignore:
1757         * testsuite/threads/.cvsignore:
1758           keep this up to date, since I seem to be the only one who cares
1759           about not missing files on commits (editor's note: no you don't,
1760           but feel free to change them at the time you add stuff instead
1761           of later on)
1762
1763 2004-07-21  Benjamin Otte  <otte@gnome.org>
1764
1765         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init),
1766         (gst_bin_fix_state), (gst_bin_add_func), (gst_bin_remove_func),
1767         (gst_bin_child_state_change_func), (set_kid_state_func),
1768         (gst_bin_set_state), (gst_bin_change_state_norecurse):
1769           make state changes work correctly and reentrant (so removing
1770           elements from bins during state changes of bins doesn't cause
1771           segfaults or even wrong states)
1772           add debugging category and debugging output to print children states
1773         * gst/gstbin.c: (gst_bin_dispose): 
1774           add some assertion checks
1775         * gst/gstbin.h:
1776         * gst/gstbin.c: (gst_bin_sync_children_state):
1777           deprecate this function - it just does gst_bin_set_state (bin,
1778           GST_STATE (bin)) 
1779         * testsuite/threads/queue.c: (main):
1780           don't use gst_bin_sync_children_state anymore
1781         * testsuite/states/Makefile.am:
1782         * testsuite/states/bin.c:
1783           test that the state changes of bins work as expected
1784         * gst/gstthread.c: (gst_thread_class_init), (gst_thread_set_state):
1785           some adjustments to change states correctly, too
1786         * gst/gstthread.c: (gst_thread_change_state):
1787           don't enable/disable "threadsafe" properties, they're unused and
1788           cause random segfaults
1789         * testsuite/threads/Makefile.am:
1790           the queue check randomly passes now, ignore it
1791
1792 2004-07-21  Benjamin Otte  <otte@gnome.org>
1793
1794         * gst/gstpad.c:
1795           check if data is NULL before outputting debug info. (fixes #145100)
1796
1797 2004-07-21  Benjamin Otte  <otte@gnome.org>
1798
1799         * gst/schedulers/entryscheduler.c:
1800         (gst_entry_scheduler_loop_wrapper),
1801         (gst_entry_scheduler_chain_wrapper),
1802         (gst_entry_scheduler_get_wrapper):
1803           reset the state when the cothread starts, so we don't get assertion
1804           failures on restarting of cothreads
1805
1806 2004-07-20  Benjamin Otte  <otte@gnome.org>
1807
1808         * gst/gstelement.c: (gst_element_link_pads_filtered):
1809           use correct sinkpad, if only sinkpad is specified, but not srcpad
1810           (fixes #147889)
1811         * gst/gstelement.c: (gst_element_set_state_func),
1812         (gst_element_change_state): ref/unref the element, signal handlers
1813         could get rid of the element otherwise
1814
1815 2004-07-20  Ronald Bultje  <rbultje@ronald.bitfreak.net>
1816
1817         * docs/random/ds/0.9-suggested-changes:
1818           Make note about renaming fixed-list to array.
1819         * gst/gstvalue.c: (gst_value_intersect_fixed_list),
1820         (_gst_value_initialize):
1821           Add array intersections.
1822         * testsuite/caps/intersect2.c: (main):
1823           Add test for array intersections.
1824
1825 2004-07-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1826
1827         * configure.ac: back to cvs
1828
1829 === release 0.8.4 ===
1830
1831 2004-07-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1832
1833         * configure.ac:
1834           releasing 0.8.4, "Paella"
1835           bump libtool versioning
1836
1837 2004-07-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1838
1839         * po/LINGUAS:
1840         * po/ca.po:
1841           adding Catalan translation (Jordi Mallach)
1842
1843 2004-07-20  Wim Taymans  <wim@fluendo.com>
1844
1845         * testsuite/schedulers/147894-2.c: (queue_empty), (queue_filled),
1846         (handoff_identity), (main):
1847         * testsuite/schedulers/147894.c: (queue_empty), (queue_filled),
1848         (handoff_identity), (main):
1849         * testsuite/schedulers/Makefile.am:
1850         Added failing testcase for variant of #147894
1851
1852 2004-07-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1853
1854         patch by: David Moore
1855
1856         * gst/schedulers/gstoptimalscheduler.c: (group_has_element),
1857         (schedule_group), (gst_opt_scheduler_schedule_run_queue),
1858         (group_migrate_connected):
1859         * testsuite/schedulers/Makefile.am:
1860           fix for #142813 (Deadlock in optimal scheduler)
1861
1862 2004-07-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1863
1864         patch by: Wim Taymans
1865
1866         * gst/schedulers/gstoptimalscheduler.c: (group_has_element),
1867         (gst_opt_scheduler_schedule_run_queue),
1868         (gst_opt_scheduler_get_wrapper), (get_group),
1869         (group_migrate_connected):
1870         * testsuite/schedulers/Makefile.am:
1871           fix for #147819 (Add some checks in the opt scheduler)
1872
1873 2004-07-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1874
1875         patch by: Benjamin Otte
1876
1877         * gst/gstelementfactory.c: (__gst_element_details_set):
1878           fix for #147929: running gst-register in non-utf8 locale can cause
1879           invalid registry
1880
1881 2004-07-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1882
1883         patch by: Wim Taymans
1884
1885         * gst/schedulers/gstoptimalscheduler.c: (group_num_elements),
1886         (group_has_element), (element_get_reachables_func),
1887         (group_migrate_connected):
1888           fix for #147894 (opt scheduler decoupled elements mismanagement)
1889         * testsuite/schedulers/Makefile.am:
1890           testsuite app now passes
1891
1892 2004-07-19  Wim Taymans  <wim@fluendo.com>
1893
1894         * testsuite/schedulers/147819.c: (handoff_identity1),
1895         (handoff_identity2), (main):
1896         * testsuite/schedulers/Makefile.am:
1897         Added testcase for bug 147819
1898
1899 2004-07-19  Wim Taymans  <wim@fluendo.com>
1900
1901         * testsuite/schedulers/147894.c: (queue_empty), (queue_filled),
1902         (handoff_identity), (main):
1903         * testsuite/schedulers/Makefile.am:
1904         Added testcase for bug 147894
1905
1906 2004-07-16  Wim Taymans  <wim@fluendo.com>
1907
1908         * testsuite/schedulers/142183-2.c: (handoff_identity), (main):
1909         * testsuite/schedulers/142183.c: (handoff_identity), (main):
1910         * testsuite/schedulers/Makefile.am:
1911         Added testsuite for bug 142183 in its two incarnations. Refcount
1912         is not increased for scheduled elements and threadsafe properties
1913         mutexes are not properly unlocked.
1914
1915 2004-07-16  Wim Taymans  <wim@fluendo.com>
1916
1917         * gst/schedulers/gstoptimalscheduler.c: (gst_opt_scheduler_init),
1918         (create_chain), (destroy_chain), (create_group), (destroy_group),
1919         (add_to_group), (merge_groups), (group_elements), (group_inc_link),
1920         (group_dec_link), (gst_opt_scheduler_pad_link),
1921         (group_inc_links_for_element), (group_migrate_connected):
1922         Call group_inc_link with the proper src->sink ordering -- 
1923         break this, and we break sort_chain. patch from wingo for bug
1924         147713.
1925         Partially revert patch 1.89. When adding a loop based element to 
1926         the scheduler, the links to other groups are automatically followed
1927         and incremented. This should not happen because the bin will call
1928         pad_link explicitly for those connection, resulting in them counted 
1929         twice. Results in assertion failure on pipeline cleanup.
1930
1931 2004-07-16  Wim Taymans  <wim@fluendo.com>
1932
1933         * testsuite/schedulers/143777-2.c: (main):
1934         * testsuite/schedulers/147713.c: (handoff_src), (handoff_sink),
1935         (main):
1936         * testsuite/schedulers/Makefile.am:
1937         Added cleanup code to testcase 143777-2.
1938         Added testcase to show bug 147713, does not really show the
1939         deadlock as I can't figure out how to trigger it, but it does
1940         demonstrate bad ordering in the scheduler.
1941
1942 2004-07-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1943
1944         * gst/gstvalue.c: (gst_value_deserialize_fraction):
1945           change strndup to g_strndup.  Fixes #147707
1946
1947 2004-07-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1948
1949         * po/af.po:
1950         * po/az.po:
1951         * po/cs.po:
1952         * po/en_GB.po:
1953         * po/fr.po:
1954         * po/nl.po:
1955         * po/sr.po:
1956         * po/sv.po:
1957         * po/tr.po:
1958         * po/uk.po:
1959           updated translations
1960
1961 2004-07-16  Benjamin Otte  <otte@gnome.org>
1962
1963         * gst/gstvalue.c: (gst_greatest_common_divisor):
1964           use ints and return ints, fractions only use ints, too, so this
1965           avoids accidently casting multiplications to unsigned
1966         (gst_value_lcopy_fraction): it's ints, not uint32
1967         (gst_value_set_fraction): disallow minint, multiplying and negation
1968           are broken with it
1969         (gst_value_fraction_multiply): fix to make large numbers work and get
1970         rid of the assumption that the multiplication of two ints fits an
1971         int64 - dunno if that's true for all systems
1972         * testsuite/caps/Makefile.am:
1973         * testsuite/caps/fraction-multiply-and-zero.c:
1974         (check_multiplication), (check_equal), (zero_test), (main):
1975           add tests for all the stuff above
1976         * testsuite/caps/value_compare.c: (test1):
1977           fix comment
1978         * tests/.cvsignore:
1979         * testsuite/caps/.cvsignore:
1980         * testsuite/debug/.cvsignore:
1981         * testsuite/dlopen/.cvsignore:
1982         * testsuite/states/.cvsignore:
1983           get up to date
1984
1985 2004-07-16  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
1986
1987         * docs/manual/bins-api.xml:
1988         * docs/manual/factories.xml:
1989         * docs/manual/helloworld.xml:
1990         * docs/manual/links-api.xml: 
1991           fixes for out of date info, incorrect info and grammar
1992
1993 2004-07-15  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
1994
1995         * docs/manual/pads.xml:
1996         * docs/manual/pads-api.xml: grammar fix
1997
1998 2004-07-15  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
1999
2000         * docs/manual/pads-api.xml: typo + grammar fix
2001
2002 2004-07-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2003
2004         * docs/gst/gstreamer-sections.txt:
2005           add new symbols
2006         * docs/gst/tmpl/gstelement.sgml:
2007         * docs/gst/tmpl/gstpad.sgml:
2008         * docs/gst/tmpl/gsttypes.sgml:
2009         * docs/gst/tmpl/gstvalue.sgml:
2010           update docs
2011         * gst/gststructure.c: (gst_structure_set_valist),
2012         (gst_structure_from_abbr), (gst_structure_to_abbr):
2013         * gst/gstvalue.c: (gst_value_compare_double), (gst_type_is_fixed),
2014         (gst_greatest_common_divisor), (gst_value_init_fraction),
2015         (gst_value_copy_fraction), (gst_value_collect_fraction),
2016         (gst_value_lcopy_fraction), (gst_value_set_fraction),
2017         (gst_value_get_fraction_numerator),
2018         (gst_value_get_fraction_denominator),
2019         (gst_value_fraction_multiply), (gst_value_serialize_fraction),
2020         (gst_value_deserialize_fraction),
2021         (gst_value_transform_fraction_string),
2022         (gst_value_transform_string_fraction),
2023         (gst_value_compare_fraction), (_gst_value_initialize):
2024         * gst/gstvalue.h:
2025           adding GstFraction GValue type, get/set, and multiply
2026         * testsuite/caps/Makefile.am:
2027         * testsuite/caps/fraction.c: (test), (main):
2028         * testsuite/caps/string-conversions.c: (main):
2029         * testsuite/caps/value_compare.c: (test1), (main):
2030           add regression tests for GstFraction
2031
2032 2004-07-15  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2033         
2034         * docs/manual/init-api.xml: Grammar fix
2035
2036 2004-07-15  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2037
2038         * docs/manual/states.xml: Fix inconsistent information
2039
2040 2004-07-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2041
2042         * gst/gstelement.c: (gst_element_set_state):
2043         * gst/gstpad.c: (gst_pad_try_set_caps):
2044         * gst/gststructure.c:
2045         * gst/gstthread.c: (gst_thread_child_state_change):
2046         * gst/gstvalue.c: (gst_value_compare_double):
2047         * gst/gstvalue.h:
2048         * testsuite/parse/parse1.c: (main):
2049           debugging additions and style cleanups
2050
2051 2004-07-15  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2052
2053         * docs/manual/states.xml: Grammar fix
2054
2055 2004-07-15  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2056
2057         * docs/manual/pads.xml: Grammar fix
2058
2059 2004-07-15  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2060
2061         * docs/manual/elements.xml: Fixed image reference
2062
2063 2004-07-15  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2064
2065         * docs/manual/goals.xml: Grammar fix
2066
2067 2004-07-15  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2068
2069         * docs/manual/motivation.xml:
2070         Bonobo is no longer "emerging" and added sentence regarding tcp plugins
2071
2072 2004-07-15  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2073
2074         * docs/manual/motivation.xml: Fix spelling
2075
2076 2004-07-15  Benjamin Otte  <otte@gnome.org>
2077
2078         * gst/gstelement.h: 
2079           Don't GST_ERROR_OBJECT empty strings - Solaris doesn't like NULL
2080           strings.
2081         * gst/gstelement.c (gst_element_class_init):
2082           GError's are boxed, not objects
2083         * gst/gstmarshal.list:
2084           update list for the fixed error signal
2085
2086 2004-07-14  Andy Wingo  <wingo@pobox.com>
2087
2088         * gst/gsttag.c: Add a tag merge func for pointers. The header was
2089         there all along, but the function wasn't. (guile-gstreamer's build
2090         system uses the address of the function -- I wasn't actually
2091         trying to use this.)
2092
2093 2004-07-14  Andy Wingo  <wingo@pobox.com>
2094
2095         * gst/gstpad.c (gst_pad_try_set_caps): Naive link functions (such
2096         as gst_pad_proxy_pad_link) just link to every other pad when they
2097         are called. In the case where the graph has cycles, this will mean
2098         that a call to try_set_caps will recurse. Allow this recursion
2099         and return OK, while we wait for the first try_set_caps to give a
2100         proper return value.
2101         (gst_pad_link_call_link_functions): Since this function is the
2102         only one to set the NEGOTIATING flag on a pad, if the flag is set
2103         it means that the link functions have indirectly recursed. If this
2104         happens, error out to avoid infinite recursion and an eventual
2105         SEGV.
2106         (gst_real_pad_class_init): Remove a crufty GtkObject comment.
2107         (gst_pad_proxy_getcaps): Intersect the result with the template
2108         caps to ensure that the return value is valid.
2109
2110 2004-07-14  Andy Wingo  <wingo@pobox.com>
2111
2112         * gst/gstdata.c (gst_data_is_writable): s/>=/>/. If there is only
2113         one refcount, the calling function is the owner of the buffer.
2114
2115 2004-07-14  Wim Taymans  <wim@fluendo.com>
2116
2117         * gst/schedulers/gstoptimalscheduler.c: (group_dec_link),
2118         (gst_opt_scheduler_pad_link), (group_migrate_connected):
2119         Fix stupid warning when an element is to be migrated but
2120         is already migrated.
2121
2122 2004-07-14  Wim Taymans  <wim@fluendo.com>
2123
2124         * gst/schedulers/gstoptimalscheduler.c: (group_dec_link),
2125         (gst_opt_scheduler_pad_link), (group_migrate_connected):
2126         Make sure that a single non-loop-based element does not 
2127         end up in a group. This fixes the testsuite again.
2128
2129 2004-07-14  Wim Taymans  <wim@fluendo.com>
2130
2131         * gst/schedulers/gstoptimalscheduler.c: (create_group),
2132         (add_to_group), (merge_groups), (schedule_group),
2133         (gst_opt_scheduler_get_wrapper), (group_elements),
2134         (group_dec_link), (gst_opt_scheduler_pad_link),
2135         (group_migrate_connected), (gst_opt_scheduler_pad_unlink),
2136         (gst_opt_scheduler_iterate):
2137         move isolated groups to a new chain.
2138         Emit a warning instead of segfaulting in some error cases.
2139         Fix a bug where the link count between groups was not calculated 
2140         correctly. Fixes #144510.
2141
2142 2004-07-13  Steve Lhomme  <steve.lhomme@free.fr>
2143         * gst/elements/gstfilesrc.c:
2144           Binary files support under Windows now OK
2145       
2146 2004-07-13  Benjamin Otte  <otte@gnome.org>
2147
2148           compatibility fixes for Solaris 8/gcc 2.95
2149         * configure.ac:
2150           include libintl libs in LDFLAGS
2151         * gstvalue.c (gst_value_deserialize_buffer):
2152           cast isxdigit stuff to int to silence compiler warning
2153
2154 2004-07-12  Benjamin Otte  <otte@gnome.org>
2155
2156         * gst/gsttypes.h:
2157           get rid of GST_O_READONLY, GST_FILE_MODE_READ and
2158           GST_FILE_MODE_WRITE, I don't want them in the exported headers. It
2159           just causes support madness
2160         * gst/elements/gstfilesrc.c: (gst_filesrc_open_file):
2161           make it work without this
2162         * gst/indexers/gstfileindex.c: (_file_index_id_save_entries),
2163         (gst_file_index_commit):
2164           glib IO channels don't want binary mode
2165         * testsuite/bytestream/filepadsink.c: (main):
2166         * testsuite/bytestream/test1.c: (read_param_file):
2167           use "rb" instead of GST_FILE_MODE_READ, it works on POSIX systems
2168
2169 2004-07-12  Benjamin Otte  <otte@gnome.org>
2170
2171         * gst/gstelement.c: (gst_element_class_init),
2172         (gst_element_set_state), (gst_element_set_state_func):
2173           virutalize gst_element_set_state, use set_state member in class
2174           struct that was already added in 0.7 for this.
2175         * gst/gstbin.c: (gst_bin_foreach), (set_kid_state_func), 
2176         (gst_bin_change_state):
2177           make gst_bin_foreach works similar to other foreach functions, plug
2178           memleaks in it. Make functions using it work with the new approach.
2179           Document gst_bin_foreach, so it can be exported if we want to
2180         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_state):
2181           use virtualized set_state to make set_state on bins set the state of
2182           all its children.
2183
2184 2004-07-12  Benjamin Otte  <otte@gnome.org>
2185
2186         * configure.ac:
2187           require valgrind >= 2.1 (fixes Gentoo bug 53967, see
2188           http://bugs.gentoo.org/show_bug.cgi?id=53967)
2189         * gst/gstpad.c: (gst_pad_alloc_buffer):
2190           allow buffer_alloc functions to return NULL and allocate a normal
2191           buffer in that case
2192
2193 2004-07-12  Steve Lhomme  <steve.lhomme@free.fr>
2194         * gst/elements/gstfilesink.c:
2195         * gst/elements/gstfilesrc.c:
2196         * gst/indexers/gstfileindex.c:
2197         * gst/gsttypes.h:
2198         * testsuite/bytestream/filepadsink.c:
2199         * testsuite/bytestream/test1.c:
2200           Handle binary files under Windows
2201
2202 2004-07-12  Steve Lhomme  <steve.lhomme@free.fr>
2203         * docs/manual/win32.xml:
2204         * win32/config.h:
2205         * win32/gst-register.vcproj:
2206         * win32/gstreamer.def:
2207           Update to another gettext public build
2208
2209 2004-07-12  Steve Lhomme  <steve.lhomme@free.fr>
2210         * gst/gstplugin.c:
2211           Fix an impossible C syntax
2212         * win32/config.h:
2213           Disable i18n under Windows for the moment
2214         * win32/gst-register.vcproj:
2215           Use this configuration
2216
2217 2004-07-12  Jan Schmidt  <thaytan@mad.scientis.com>
2218         * docs/manual/quotes.xml:
2219           Keep the quotes file alive
2220         * docs/random/ds/0.9-suggested-changes:
2221           Add the suggestion of including a 'rowstride' as part of video
2222           format caps
2223
2224 2004-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2225
2226         * gst/gstelement.c: (gst_element_set_state),
2227         (gst_element_change_state):
2228           d'oh.  Set PENDING state correctly before forcing bin to change.
2229         * gst/gststructure.c: (gst_structure_value_get_generic_type),
2230         (gst_structure_parse_fixed_list):
2231         * gst/schedulers/gstoptimalscheduler.c:
2232         (gst_opt_scheduler_state_transition):
2233         * testsuite/states/parent.c: (main):
2234           remove comment now that it's fixed.
2235
2236 2004-07-11  Benjamin Otte  <otte@gnome.org>
2237
2238         * gst/gstclock.h:
2239           GST_SECOND shouldn't cause a conversion to unsigned.
2240         * testsuite/clock/.cvsignore:
2241         * testsuite/clock/Makefile.am:
2242         * testsuite/clock/signedness.c: (main):
2243           make sure it never will again
2244
2245 2004-07-11  Andy Wingo  <wingo@pobox.com>
2246
2247         * gst/gstbin.c (gst_bin_add_func): If we're adding an element
2248         whose state is higher than the bin state, raise the bin state to
2249         ensure that bin state := highest child state.
2250         
2251 2004-07-11  Andy Wingo  <wingo@pobox.com>
2252
2253         * gst/gstbin.c (gst_bin_foreach): New static function. Calls a
2254         procedure on the children of a bin. Assumes that the procedure can
2255         change the set of children.
2256         (set_kid_state_func): New static function.
2257         (gst_bin_change_state): Use gst_bin_foreach to call
2258         set_kid_state_func. Fixes a bug: if a child had a state-change
2259         handler that removes it from the bin, there would be a segfault.
2260         Hopefully it should also work in the case where the state-change
2261         handler on one child adds or removes other children. In any case,
2262         fixes should go to gst_bin_foreach.
2263
2264 2004-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2265
2266         * gst/gstelement.c: (gst_element_set_state):
2267           compatibility fix for latest plugins release.  Change loop back
2268           to while {}
2269
2270 2004-07-09  Wim Taymans  <wim@fluendo.com>
2271
2272         * gst/gstbin.c: (gst_bin_remove), (gst_bin_dispose):
2273         * gst/gstthread.c: (gst_thread_dispose), (gst_thread_catch),
2274         (gst_thread_main_loop):
2275         Since remove is virtual in GstBin we must not assume the 
2276         elements GList to have anothing useful.
2277         Add some more logging to GstThread and be a bit more paranoid
2278         when resetting the scheduler.
2279         Set the state of the bin to NULL before removing the children.
2280
2281 2004-07-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2282
2283         * testsuite/threads/Makefile.am:
2284         * testsuite/threads/threadg.c:
2285           added test to check if problem when removing all elements from a
2286           GstThread before setting GstThread state to NULL
2287
2288 2004-07-09  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2289
2290         * docs/gst/tmpl/gstelement.sgml:
2291         * docs/gst/tmpl/gsttypes.sgml:
2292         * gst/gstbin.c: (gst_bin_change_state):
2293         * gst/gstelement.c: (gst_element_set_state),
2294         (gst_element_change_state):
2295           rework so that for bins we try to set the state on all children
2296           as well even if the bin is in the correct state already.
2297           change while to do so at least one iteration is done.
2298           For regular elements, we fall back to the previous behaviour for
2299           now since we first need a new plugins release.
2300         * testsuite/states/parent.c: (main):
2301           test for this case
2302           Fixes #123774
2303
2304 2004-07-09  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2305
2306         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_finalize),
2307         (gst_queue_chain), (gst_queue_get), (gst_queue_handle_src_event),
2308         (gst_queue_release_locks), (gst_queue_change_state),
2309         (gst_queue_set_property):
2310           add proper lock debugging.  Change dispose to finalize, since
2311           we're freeing mutexes and other stuff which should happen only once.
2312
2313 2004-07-09  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2314
2315         * docs/gst/tmpl/gstelement.sgml:
2316         * docs/gst/tmpl/gstplugin.sgml:
2317         * docs/gst/tmpl/gsttypes.sgml:
2318         * docs/pwg/building-state.xml:
2319         * gst/elements/gstfakesrc.c: (gst_fakesrc_change_state):
2320         * gst/gstelement.c: (gst_element_change_state):
2321         * gst/gstthread.c: (gst_thread_change_state):
2322           catch wrong state changes in element base class.
2323
2324 2004-07-09  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2325
2326         * gst/gstinfo.h:
2327           clean up layout a little.
2328
2329 2004-07-09  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2330
2331         * configure.ac:
2332         * testsuite/Makefile.am:
2333         * testsuite/states/Makefile.am:
2334         * testsuite/states/parent.c: (main):
2335           re-enable states testsuite dir.  Add test for state changes and
2336           parent behaviour
2337
2338 2004-07-09  Wim Taymans  <wim@fluendo.com>
2339
2340         * gst/schedulers/gstoptimalscheduler.c:
2341         (gst_opt_scheduler_pad_link), (group_elements_set_visited),
2342         (element_get_reachables_func), (element_get_reachables),
2343         (debug_element), (rechain_group), (group_migrate_connected),
2344         (gst_opt_scheduler_pad_unlink):
2345         Do not try to migrate decoupled elements to a new group since
2346         they are not added to groups.
2347
2348 2004-07-08  Benjamin Otte  <otte@gnome.org>
2349
2350         * gst/gstelement.c: (gst_element_error_func):
2351           make reentrant (= allow removing elements in error handler)
2352
2353 2004-07-08  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2354
2355         * gst/gstpad.c: (gst_pad_event_default_dispatch),
2356         (gst_pad_send_event), (gst_pad_call_chain_function):
2357           events sent to elements below PAUSED cannot be handled, so
2358           don't try to
2359
2360 2004-07-08  Wim Taymans  <wim@fluendo.com>
2361
2362         * gst/schedulers/gstoptimalscheduler.c:
2363         (chain_recursively_migrate_group), (create_group),
2364         (schedule_group), (gst_opt_scheduler_pad_link),
2365         (group_elements_set_visited), (element_get_reachables_func),
2366         (element_get_reachables), (group_can_reach_group), (debug_element),
2367         (rechain_group), (group_migrate_connected),
2368         (gst_opt_scheduler_pad_unlink):
2369         * testsuite/schedulers/Makefile.am:
2370         Implemented group splitting and rechaining.
2371         Fixes 143777 and 143777-2 in the testsuite.
2372
2373 2004-07-08  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2374
2375         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_chain):
2376           extra debugging
2377         * gst/gstevent.h:
2378         * gst/gstinfo.c: (gst_debug_log_default):
2379           print time nicely.  add thread pointer until someone figures out
2380           a completely portable way of getting at thread id's.
2381         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_try),
2382         (_invent_event), (gst_pad_pull), (gst_pad_event_default_dispatch),
2383         (gst_pad_call_chain_function):
2384           extra debugging
2385         * gst/schedulers/gstoptimalscheduler.c:
2386         (get_group_schedule_function), (loop_group_schedule_function),
2387         (gst_opt_scheduler_loop_wrapper), (gst_opt_scheduler_get_wrapper),
2388         (pad_clear_queued), (gst_opt_scheduler_iterate):
2389           rename BUFPEN and friends to DATAPEN since that's what they are.
2390
2391 2004-07-07  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2392
2393         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_chain):
2394         * gst/gstbuffer.h:
2395         * gst/gstpad.c:
2396           cleanups and debugging
2397
2398 2004-07-07  Ronald Bultje  <rbultje@ronald.bitfreak.net>
2399
2400         * configure.ac:
2401         * gst/gstvalue.c: (gst_value_compare_enum),
2402         (gst_value_serialize_enum), (gst_value_deserialize_enum),
2403         (gst_value_can_compare), (gst_value_compare):
2404         * testsuite/Makefile.am:
2405         * testsuite/enumcaps/Makefile.am:
2406         * testsuite/enumcaps/enumcaps.c:
2407           Fix enum serialization, deserialization, comparison in caps, add
2408           a test to ensure that this continues working in the future.
2409
2410 2004-07-06  David Schleef  <ds@schleef.org>
2411
2412         * gst/gstcaps.c: (gst_caps_save_thyself), (gst_caps_load_thyself):
2413         Fix memleak.
2414
2415 2004-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2416
2417         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
2418         * gst/gstplugin.h:
2419         * gst/registries/gstxmlregistry.c:
2420         (plugin_times_older_than_recurse), (plugin_times_older_than),
2421         (gst_xml_registry_parse_padtemplate):
2422           only rebuild registry when actual plugins have a newer time than
2423           the registry.  Fixes #145520
2424
2425 2004-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2426
2427         * docs/manual/manual.xml:
2428         * docs/manual/win32.xml:
2429           add chapter on win32 building.  fixes #142422
2430
2431 2004-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2432
2433         patch by: Sebastien Cote <sc5 at hermes.usherb.ca>
2434
2435         * gst/autoplug/gstspider.c: (gst_spider_init),
2436         (gst_spider_dispose):
2437           fix spider memleaks.  fixes #137863
2438
2439 2004-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2440
2441         patch by: Joe Marcus Clarke <marcus at freebsd dot org>
2442
2443         * gst/schedulers/gstoptimalscheduler.c:
2444         (gst_opt_scheduler_pad_unlink):
2445           fix SIGBUS error, fixes #145338
2446
2447 2004-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2448
2449         * gst/gstobject.c: (gst_object_replace):
2450         * gst/gstscheduler.c: (gst_scheduler_get_clock):
2451         * gst/gstsystemclock.c: (gst_system_clock_obtain):
2452           clean up clock lifecycle.  Fixes #109831
2453
2454 2004-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2455
2456         * po/LINGUAS:
2457         * po/cs.po:
2458           added Czech translation (Miloslav Trmac)
2459
2460 2004-07-04  David Schleef  <ds@schleef.org>
2461
2462         * tools/Makefile.am:
2463         * tools/gst-xmlinspect.1.in:  Add man page. (bug #140219)
2464
2465 2004-07-04  David Schleef  <ds@schleef.org>
2466
2467         * common/m4/gst-doc.m4: Check for docbook2html 0.6.10 (bug #139909)
2468
2469 2004-07-04  Thomas Vander Stichele  <thomas at apestaart dot org>
2470
2471         * gst/gstbin.c: (gst_bin_restore_thyself):
2472           chain to parent restore so the bins get restored correctly
2473           in the editor
2474
2475 2004-07-03  David Schleef  <ds@schleef.org>
2476
2477         * gst/gstcaps.c: (gst_caps_save_thyself), (gst_caps_load_thyself):
2478         Actually do something in these functions, like before the big
2479         caps change.  (bug #145137)
2480
2481 2004-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2482
2483         * gst/gstelement.c: (gst_element_get_compatible_pad_template),
2484         (gst_element_get_compatible_pad_filtered):
2485         * gst/gstthread.c: (gst_thread_main_loop):
2486           more debugging
2487
2488 2004-07-02  David Schleef  <ds@schleef.org>
2489
2490         * gst/gstinfo.h: wrap #pragmas in #ifdefs for the correct compiler
2491         * gst/gstobject.h:
2492         * gst/gstparse.h:
2493         * gst/gsttrace.h:
2494         * gst/gstxml.h:
2495
2496 2004-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2497
2498         * gst/gstpad.c: (gst_pad_check_schedulers),
2499         (gst_pad_can_link_filtered), (gst_pad_link_filtered),
2500         (gst_pad_link_prepare):
2501           revert until testsuite is fixed
2502
2503 2004-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2504
2505         * testsuite/Makefile.am:
2506         * testsuite/caps/filtercaps.c: (main):
2507         * testsuite/clock/clock1.c: (main):
2508         * testsuite/dynparams/dparamstest.c: (gst_dptest_chain), (main):
2509           fix some more tests
2510
2511 2004-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2512
2513         * testsuite/cleanup/cleanup1.c: (create_pipeline):
2514         * testsuite/cleanup/cleanup2.c: (create_pipeline):
2515         * testsuite/cleanup/cleanup4.c: (main):
2516           fix testsuite
2517
2518 2004-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2519
2520         * libs/gst/control/control.c:
2521         * libs/gst/control/dparam.c:
2522         * libs/gst/control/dparam_smooth.c: (gst_dpsmooth_get_type):
2523         * libs/gst/control/dparammanager.c:
2524         * libs/gst/control/dparammanager.h:
2525         * testsuite/dynparams/Makefile.am:
2526         * testsuite/dynparams/dparamstest.c: (gst_dptest_base_init),
2527         (gst_dptest_change_state), (gst_dptest_chain), (main):
2528           fix testcase for dparams
2529           add debugging category
2530
2531 2004-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2532
2533         * testsuite/Rules:
2534           change path
2535
2536 2004-07-02  Benjamin Otte  <otte@gnome.org>
2537
2538         * tests/.cvsignore:
2539         * tests/Makefile.am:
2540         * tests/mass_elements.c: (gst_get_current_time), (main):
2541           add simple benchmark to test various speeds of fakesrc ! identity !
2542           identity ! ... ! fakesink.
2543           Usage: mass_elements [num_identities] [num_buffers]
2544           If not specified they default to 1000.
2545
2546 2004-07-02  Benjamin Otte  <otte@gnome.org>
2547
2548         * gst/gstpad.c: (gst_pad_check_schedulers),
2549         (gst_pad_can_link_filtered), (gst_pad_link_filtered),
2550         (gst_pad_link_prepare):
2551           check that pads that get linked belong to the same manager. The old
2552           code allowed linking elements before putting them into bins, so it
2553           worked to link them and then put them in different threads, which
2554           lead to weird behaviour.
2555           Since this effectively disallows linking elements before putting
2556           them in a bin, some applications might not work after this and error
2557           out. If these applications are too critical, we might need to revert
2558           that patch. Please test this before the next release...
2559
2560 2004-06-28  Benjamin Otte  <in7y118@public.uni-hamburg.de>
2561
2562         * gst/gstpad.c: (gst_pad_get_caps):
2563           throw an error if the getcaps function does not return a subset of
2564           the template caps.
2565         * libs/gst/bytestream/filepad.c: (gst_file_pad_chain):
2566           make disconts without position info an error in debugging
2567         * tests/spidey_bench.c: (handoff), (main):
2568           don't count first try when averaging
2569
2570 2004-06-26  Thomas Vander Stichele  <thomas at apestaart dot org>
2571
2572         * gst/gstplugin.c: (gst_plugin_load_file):
2573           figure out problem with dynamic test
2574
2575 2004-06-26  Thomas Vander Stichele  <thomas at apestaart dot org>
2576
2577         * docs/gst/Makefile.am:
2578           fix docs build
2579
2580 2004-06-26  Thomas Vander Stichele  <thomas at apestaart dot org>
2581
2582         * po/POTFILES.in:
2583         * po/af.po:
2584         * po/az.po:
2585         * po/en_GB.po:
2586         * po/fr.po:
2587         * po/nl.po:
2588         * po/sr.po:
2589         * po/sv.po:
2590         * po/tr.po:
2591         * po/uk.po:
2592         * tools/gst-register.c: (plugin_added_func), (main):
2593           i18n-ize -register, fix plural
2594
2595 2004-06-26  Thomas Vander Stichele  <thomas at apestaart dot org>
2596
2597         * gst/elements/gstidentity.c: (gst_identity_class_init),
2598         (gst_identity_init), (gst_identity_chain),
2599         (gst_identity_set_property), (gst_identity_get_property):
2600         * gst/elements/gstidentity.h:
2601           check for perfect stream
2602
2603 2004-06-25  Thomas Vander Stichele  <thomas at apestaart dot org>
2604
2605         * gst/elements/gstidentity.c: (gst_identity_chain):
2606           print offset_end
2607
2608 2004-06-25  Thomas Vander Stichele  <thomas at apestaart dot org>
2609
2610         * docs/gst/Makefile.am:
2611         * docs/gst/gstreamer-docs.sgml:
2612           doc fixes
2613
2614 2004-06-24  David Schleef  <ds@schleef.org>
2615
2616         * autogen.sh:  Remove call to env, since the buildbot isn't
2617         broken anymore.
2618
2619 2004-06-24  Wim Taymans  <wim@fluendo.com>
2620
2621         * gst/elements/Makefile.am:
2622         * gst/elements/gstelements.c:
2623         * gst/elements/gstmultifdsink.c: (gst_multifdsink_base_init),
2624         (gst_multifdsink_class_init), (gst_multifdsink_init),
2625         (gst_multifdsink_add), (gst_multifdsink_remove),
2626         (gst_multifdsink_clear), (gst_multifdsink_chain),
2627         (gst_multifdsink_set_property), (gst_multifdsink_get_property):
2628         * gst/elements/gstmultifdsink.h:
2629         Added an element that writes to multiple filedescriptors at once.
2630
2631 2004-06-24  Benjamin Otte  <otte@gnome.org>
2632
2633         * gst/parse/grammar.y:
2634           don't try to link elements before they have been added to bins
2635
2636 2004-06-24  Benjamin Otte  <in7y118@public.uni-hamburg.de>
2637
2638         * libs/gst/bytestream/filepad.c: (gst_file_pad_available),
2639         (gst_file_pad_get_length):
2640         * libs/gst/bytestream/filepad.h:
2641           add 2 new functions
2642
2643 2004-06-22  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2644
2645         * docs/gst/gstreamer-sections.txt:
2646         remove from docs, the define that Benjamin removed from gstelement.h
2647
2648 2004-06-22  Benjamin Otte  <otte@gnome.org>
2649
2650         * gst/gstelement.h:
2651           remove define that referenced a nonexisting GstElement struct member
2652
2653 2004-06-20  Benjamin Otte  <otte@gnome.org>
2654
2655         * gst/gstdata.c: (gst_data_is_writable):
2656           whoops, return values were wrong, so writable data was marked as
2657           non-writable and vice versa. (fixes #143953, spotted by Francis
2658           Labonte)
2659           Shows how rarely we need to copy data ;)
2660
2661 2004-06-20  Benjamin Otte  <otte@gnome.org>
2662
2663         * testsuite/schedulers/.cvsignore:
2664         * testsuite/schedulers/Makefile.am:
2665         * testsuite/schedulers/143777-2.c: (main):
2666           add test for opt breakage in bug #143777
2667
2668 2004-06-20  Benjamin Otte  <otte@gnome.org>
2669
2670         * gst/gstpad.c: (gst_pad_call_chain_function):
2671           check for if we were unlinked while inside the chainfunction (fixes
2672           entrygthread having issues with #143777)
2673         * testsuite/schedulers/143777.c: (main):
2674         * testsuite/schedulers/Makefile.am:
2675           add a test for that fix
2676
2677 2004-06-20  Benjamin Otte  <otte@gnome.org>
2678
2679         * gst/gstvalue.c: (gst_value_set_int_range):
2680           test that start is smaller then end
2681         * libs/gst/bytestream/Makefile.am:
2682         * libs/gst/bytestream/filepad.c: 
2683         * libs/gst/bytestream/filepad.h:
2684           add GstFilePad - a pad that behaves like a FILE*
2685         * testsuite/bytestream/.cvsignore:
2686         * testsuite/bytestream/Makefile.am:
2687         * testsuite/bytestream/filepadsink.c: 
2688           test for the GstFilePad
2689
2690 2004-06-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2691
2692         * gst/elements/gstidentity.c: (gst_identity_class_init),
2693         (gst_identity_init), (gst_identity_set_clock),
2694         (gst_identity_chain), (gst_identity_set_property),
2695         (gst_identity_get_property):
2696         * gst/elements/gstidentity.h:
2697         * gst/gstclock.c: (gst_clock_id_wait):
2698           add a "sync" property to sync to the clock
2699
2700 2004-06-16  Benjamin Otte  <in7y118@public.uni-hamburg.de>
2701
2702         * gst/gstelementfactory.c: (gst_element_factory_create):
2703           make the freakin "elementfactory bla has no type" message more
2704           useful. So we actually can do something when someone shows up
2705           complaining about it.
2706
2707 2004-06-15  Johan Dahlin  <johan@gnome.org>
2708
2709         * tools/gst-inspect.c (main): Fallback to plugin if no element is
2710         found. This matches the old behavior better. Thanks to Thomas for
2711         pointing out.
2712
2713 2004-06-14  David Schleef  <ds@schleef.org>
2714
2715         * gst/gstcpu.c: (gst_cpuid_i386): Fix problem when using
2716         -fomit-frame-pointer.  Appears to generate correct code in
2717         other cases as well.
2718
2719 2004-06-14  Johan Dahlin  <johan@gnome.org>
2720
2721         * tools/gst-inspect.c (main): Add two new command line options: -a
2722         to print all elements and -n to print the name on each line. Also
2723         fix some error reporting.
2724         (main): Simplify, remove -n and always print names if -a is specified
2725
2726 2004-06-13  Steve Lhomme  <steve.lhomme@free.fr>
2727
2728         * win32/gstconfig.h:
2729         * win32/GSTreamer.vcproj:
2730         * win32/Makefile:
2731         * gst/gstconfig.h.in:
2732         * gst/gst.h:
2733         * gst/gstbin.h:
2734         * gst/gstelement.h:
2735         * gst/gstevent.h:
2736         * gst/gstobject.h:
2737         * gst/gstpad.h:
2738         * docs/gst/gstreamer-sections.txt:
2739         * docs/gst/tmpl/gstconfig.sgml:
2740           rename GSTREAMER_EXPORT(S) to GST_EXPORT(S)
2741
2742 2004-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2743         * docs/gst/gstreamer-sections.txt:
2744         * docs/gst/tmpl/gstconfig.sgml:
2745         Add the GSTREAMER_EXPORT macro to the docs
2746
2747 2004-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2748
2749         * tools/gst-compprep.c: (handle_xmlerror), (main):
2750         Add a check for the version that introduced SetStructuredError to fix
2751         the build on FC1
2752
2753 2004-06-12  Steve Lhomme  <steve.lhomme@free.fr>
2754
2755         * win32/msvc71.sln:
2756         * win32/testsuite/:
2757           prepare to compile the testsuite with MSVC
2758
2759 2004-06-12  Steve Lhomme  <steve.lhomme@free.fr>
2760
2761         * docs/manual/win32.xml:
2762           attempt to transform the Win32 README into an XML doc
2763
2764 2004-06-12  Steve Lhomme  <steve.lhomme@free.fr>
2765
2766         * gst/gst.c:
2767         * gst/gstbin.*:
2768         * gst/config.h.in:
2769         * gst/gstelement.*:
2770         * gst/gstevent.h:
2771         * gst/gstobject.*:
2772         * gst/gstpad.h:
2773         * tools/gst-register.c:
2774         * win32/gstreamer.def:
2775           extern symbols are now exported for the Windows DLL
2776
2777 2004-06-12  Steve Lhomme  <steve.lhomme@free.fr>
2778
2779         * gst/gstinfo.h:
2780           fix a problem to enable/disable DEBUG under MSVC
2781
2782 2004-06-12  Steve Lhomme  <steve.lhomme@free.fr>
2783
2784         * win32/:
2785           enable more debug code in DEBUG build
2786
2787 2004-06-12  Steve Lhomme  <steve.lhomme@free.fr>
2788
2789         * win32/config.h:
2790         * gst/gst-i18n-app.h:
2791           enable NLS under Windows
2792
2793 2004-06-12  Jan Schmidt  <thaytan@mad.scientist.com>
2794         * tools/gst-compprep.c: (handle_xmlerror), (main):
2795           Make an error that baffled me a bit clearer
2796
2797 2004-06-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2798
2799         * gst/gstqueue.c:
2800           don't use g_queue_get_length () because it's 2.4, use ->length
2801
2802 2004-06-11  Steve Lhomme  <steve.lhomme@free.fr>
2803
2804         reviewed by Benjamin Otte  <in7y118@public.uni-hamburg.de>
2805
2806         * tools/gst-inspect.c: (print_signal_info):
2807           don't free random data twice. (fixes #144185)
2808
2809 2004-06-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2810
2811         * gst/gstqueue.c:
2812         * gst/gstqueue.h:
2813           fix removing from the wrong queue on event timeout
2814           fix disposing of the event queue by casting correctly
2815           add mutexes for handling the event queue
2816           someone was sleeping when fixing queue last time around :)
2817
2818 2004-06-10  Johan Dahlin  <johan@gnome.org>
2819
2820         * gst/gst.c (gst_init_check_with_popt_table): Do not fail on
2821         errors, like gtk. It makes it more useful in bindings.  Fixes #141692.
2822
2823 2004-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2824
2825         * docs/random/gdp:
2826         * libs/gst/dataprotocol/dataprotocol-test.c: (buffer_test):
2827         * libs/gst/dataprotocol/dataprotocol.c:
2828         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2829         (gst_dp_buffer_from_header):
2830         * libs/gst/dataprotocol/dataprotocol.h:
2831         * libs/gst/dataprotocol/dp-private.h:
2832           rev version to 0.1, add buffer flags and copy them
2833
2834 2004-06-09  Johan Dahlin  <johan@gnome.org>
2835
2836         * gst/gstbuffer.c (gst_buffer_default_copy): Don't forget to merge
2837         the flags from the buffer we're copying.
2838
2839 2004-06-09  Wim Taymans  <wim@fluendo.com>
2840
2841         * gst/elements/gstfakesink.c: (gst_fakesink_chain):
2842         * gst/elements/gstidentity.c: (gst_identity_init),
2843         (gst_identity_chain):
2844         Print more buffer info in fakesink.
2845         Make identity output similar to fakesink.
2846
2847 2004-06-07  Daniel Gazard  <dany42@free.fr>
2848
2849         reviewed by Benjamin Otte  <otte@gnome.org>
2850
2851         * configure.ac:
2852           fix cross compiling not working. (fixes #143741)
2853
2854 2004-06-07  Benjamin Otte  <otte@gnome.org>
2855
2856         * gst/gstelement.c: (gst_element_set_time_delay):
2857           add failure check
2858         * gst/gstinfo.h:
2859           put brackets around macro arguments of GST_TIME_ARGS, add note to
2860           move it to correct header in 0.9
2861
2862 2004-06-07  Benjamin Otte  <otte@gnome.org>
2863
2864         * gst/indexers/gstfileindex.c: (gst_file_index_get_writer_id),
2865         (gst_file_index_load), (_file_index_id_save_entries),
2866         (gst_file_index_commit), (gst_file_index_add_association),
2867         (gst_file_index_add_entry), (gst_file_index_get_assoc_entry),
2868         (gst_file_index_plugin_init):
2869           make debugging use a default category
2870
2871 2004-06-06  David Moore  <dcm@acm.org>
2872
2873         reviewed by Benjamin Otte  <otte@gnome.org>
2874
2875         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
2876         (gst_fdsrc_change_state):
2877           reset offset counter when going READY => PAUSED. (fixes #142903)
2878
2879 2004-06-06  ed@catmur.co.uk
2880
2881         reviewed by Benjamin Otte  <otte@gnome.org>
2882
2883         * gst/registries/gstxmlregistry.c:
2884         (gst_xml_registry_rebuild_recurse):
2885           don't rely on g_dir_open to figure out if a file is a directory, use
2886           explicit G_TEST_IS_DIR. Reiserfs4 allows opening files as
2887           directories. (fixes #142850)
2888
2889 2004-06-06  Benjamin Otte  <otte@gnome.org>
2890
2891         * gst/gstqueue.c: (gst_queue_dispose), (gst_queue_change_state):
2892           fix memory leaks (fixes #142795). Initial patch by Sebastien Cote
2893         * libs/gst/bytestream/adapter.c:
2894         * libs/gst/bytestream/adapter.h:
2895           fix copyright in header and typo in debugging category name
2896
2897 2004-06-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2898
2899         * configure.ac:
2900           bump nano to cvs
2901
2902 === release 0.8.3 ===
2903
2904 2004-06-05  Thomas Vander Stichele  <thomas at apestaart dot org>
2905
2906         * configure.ac:
2907           update libtool versioning
2908           do a new release
2909         * docs/gst/tmpl/gstelement.sgml:
2910         * docs/gst/tmpl/gsttypes.sgml:
2911         * gst/gstinfo.c: (_gst_debug_init):
2912           put back GST_CAT_DATAFLOW to fix API breakage
2913
2914 2004-06-04  David Schleef  <ds@schleef.org>
2915
2916         * autogen.sh: Add a temporary 'env' to test buildbot problems.
2917
2918 2004-06-04  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2919
2920         * configure.ac:
2921           bump nano to cvs
2922
2923 === release 0.8.2 ===
2924
2925 2004-06-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2926
2927         * gst/gst.c: (parse_debug_list), (gst_init_check_with_popt_table):
2928           check GST_DEBUG environment variable which is parsed the same way
2929           as --gst-debug=
2930
2931 2004-05-28  Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
2932
2933         * gst/elements    : gstaggregator.c gstfakesink.c gstfakesrc.c
2934                             gstmd5sink.c gstshaper.c gsttee.c
2935                             gsttypefindelement.c
2936         * gst/schedulers  : gstbasicscheduler.c gstoptimalscheduler.c
2937
2938           - removing trailing commas at end of enums
2939             it is correct C99 code but C90 compilers would complain
2940             (AIX, Forte, ...)
2941             ('should' fix #143290, at least partially)
2942
2943 2004-05-27  Wim Taymans  <wim@fluendo.com>
2944
2945         * gst/schedulers/gstoptimalscheduler.c: (remove_from_chain),
2946         (chain_group_set_enabled), (create_group), (add_to_group),
2947         (merge_groups), (setup_group_scheduler), (group_elements),
2948         (gst_opt_scheduler_iterate), (gst_opt_scheduler_show):
2949         Don't try to follow the pad connections with other groups
2950         when a loop based element is added to the scheduler because
2951         the bin will inform the scheduler about the pad links a little
2952         later.
2953
2954 2004-05-27  Wim Taymans  <wim@fluendo.com>
2955
2956         * gst/schedulers/gstoptimalscheduler.c: (add_to_chain),
2957         (remove_from_chain), (chain_group_set_enabled),
2958         (setup_group_scheduler), (group_element_set_enabled),
2959         (gst_opt_scheduler_state_transition), (gst_opt_scheduler_iterate),
2960         (gst_opt_scheduler_show):
2961         Elements without a group can do a state change as well, just wait
2962         with the setup of the scheduling function when it is added to a
2963         chain.
2964
2965 2004-05-27  Wim Taymans  <wim@fluendo.com>
2966
2967         * gst/schedulers/gstoptimalscheduler.c: (add_to_chain),
2968         (remove_from_chain), (chain_group_set_enabled), (add_to_group),
2969         (merge_groups), (setup_group_scheduler),
2970         (group_inc_links_for_element), (gst_opt_scheduler_iterate),
2971         (gst_opt_scheduler_show):
2972         Fixes to maintain internal consistency of the scheduler data
2973         structures. 
2974          - adding an enabled group to a chain should increment the
2975            number of enabled elements in that chain.
2976          - removing an enabled group from a chain could disable the
2977            chain.
2978          - removing a disabled group from a chain could enable the
2979            chain.
2980          - add g_assert when internal inconsistency is detected.
2981          - adding an element to a group could increase the number of
2982            links this group has with other groups.
2983          - merging two groups also merges the chains.
2984          - also show group links in the _show method.
2985            
2986
2987 2004-05-25  Benjamin Otte  <in7y118@public.uni-hamburg.de>
2988
2989         * gst/gstcaps.c: (gst_caps_structure_simplify):
2990           don't print error messages when there is no error
2991         * gst/gstvalue.c: (gst_value_compare_int_range):
2992           compare the second value, too
2993         * testsuite/caps/Makefile.am:
2994         * testsuite/caps/random.c: (assert_on_error), (main):
2995           add tests to make sure the two things above are checked for
2996
2997 2004-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2998
2999         * configure.ac:
3000         * libs/gst/dataprotocol/Makefile.am:
3001         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps):
3002         * libs/gst/dataprotocol/dataprotocol.h:
3003           wrap header in GST_ENABLE_NEW.  make code use it
3004
3005 2004-05-23  Johan Dahlin  <johan@gnome.org>
3006
3007         * tools/gst-inspect.c (main): Cleanup most parts of it, don't be
3008         so verbose and print GstElement signal names all the time.
3009
3010 2004-05-22  David Schleef  <ds@schleef.org>
3011
3012         * gst/registries/gstxmlregistry.c:
3013         (gst_xml_registry_parse_padtemplate): Fix warning on OS X.
3014         (bug #142957)
3015
3016 2004-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
3017
3018         * configure.ac:
3019           scrub cflags for glib2 so gcc doesn't complain when glib is in
3020           /usr/local
3021
3022 2004-05-21  Johan Dahlin  <johan@gnome.org>
3023
3024         * gst/gstcpu.c (gst_cpuid_i386): Protect some gcc asm stuff with
3025         __GNUC__, patch from Brian Cameron, fixes bug #142804
3026
3027 2004-05-20  David Schleef  <ds@schleef.org>
3028
3029         * gst/gstindex.c: (gst_index_compare_func): Fix overflows in
3030         comparison code.  (bug #142819)
3031
3032 2004-05-20  Wim Taymans  <wim@fluendo.com>
3033
3034         * gst/gstbuffer.c: (gst_buffer_default_copy):
3035         * gst/gstbuffer.h:
3036         Added Comment to a flag.
3037         copy relevant flags in _buffer_copy.
3038
3039 2004-05-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3040
3041         reviewed by: Wim Taymans <wim at fluendo dot com>
3042
3043         * gst/gstbuffer.h:
3044           add GST_BUFFER_IN_CAPS buffer flag
3045         * gst/gststructure.c: (gst_structure_value_get_generic_type),
3046         (gst_structure_parse_any_list), (gst_structure_parse_list),
3047         (gst_structure_parse_fixed_list), (gst_structure_parse_value):
3048         * gst/gstvalue.c: (gst_value_serialize_any_list),
3049         (gst_value_transform_any_list_string),
3050         (gst_value_list_prepend_value), (gst_value_list_append_value),
3051         (gst_value_list_get_size), (gst_value_list_get_value),
3052         (gst_value_transform_list_string),
3053         (gst_value_transform_fixed_list_string),
3054         (gst_value_serialize_list), (gst_value_serialize_fixed_list),
3055         (gst_value_deserialize_fixed_list), (gst_type_is_fixed),
3056         (_gst_value_initialize):
3057         * gst/gstvalue.h:
3058           add a GST_TYPE_FIXED_LIST which is fixed by definition and uses
3059           < , > as a format.
3060         * testsuite/caps/string-conversions.c: (main):
3061           add regression tests for < >
3062
3063 2004-05-20  Johan Dahlin  <johan@gnome.org>
3064
3065         * docs/gst/Makefile.am (all-local): Re-add
3066
3067 2004-05-20  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
3068
3069         * docs/gst/Makefile.am:
3070         * docs/gst/gstreamer-docs.sgml:
3071         * docs/libs/Makefile.am:
3072         * docs/libs/gstreamer-libs-docs.sgml:
3073           fix distcheck issues
3074
3075 2004-05-19  Thomas Vander Stichele  <thomas at apestaart dot org>
3076
3077         * libs/gst/dataprotocol/Makefile.am:
3078           add to autotest
3079
3080 2004-05-19  Thomas Vander Stichele  <thomas at apestaart dot org>
3081
3082         * libs/gst/dataprotocol/Makefile.am:
3083         * libs/gst/dataprotocol/dataprotocol.c:
3084         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3085         (gst_dp_packet_from_event), (gst_dp_event_from_packet):
3086         * libs/gst/dataprotocol/dp-private.h:
3087           use GST macros to read/write fixed length ints
3088           add some more asserts
3089
3090 2004-05-19  Thomas Vander Stichele  <thomas at apestaart dot org>
3091
3092         * docs/libs/gstreamer-libs-docs.sgml:
3093         * docs/libs/gstreamer-libs-sections.txt:
3094           remove idct and putbits
3095         * configure.ac:
3096         * docs/libs/tmpl/gstdataprotocol.sgml:
3097         * libs/gst/Makefile.am:
3098         * libs/gst/dataprotocol/Makefile.am:
3099         * libs/gst/dataprotocol/dataprotocol-test.c: (conversion_test),
3100         (buffer_test), (caps_test), (event_test), (main):
3101         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3102         (gst_dp_dump_byte_array), (gst_dp_init),
3103         (gst_dp_header_payload_length), (gst_dp_header_payload_type),
3104         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3105         (gst_dp_packet_from_event), (gst_dp_buffer_from_header),
3106         (gst_dp_caps_from_packet), (gst_dp_event_from_packet),
3107         (gst_dp_validate_header), (gst_dp_validate_payload),
3108         (gst_dp_validate_packet), (plugin_init):
3109         * libs/gst/dataprotocol/dataprotocol.h:
3110         * libs/gst/dataprotocol/dp-private.h:
3111           add dataprotocol
3112
3113 2004-05-19  Benjamin Otte  <in7y118@public.uni-hamburg.de>
3114
3115         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
3116           fix int variable deserialization and add a helper so we can actually
3117           debug this.
3118
3119 2004-05-18  David Schleef  <ds@schleef.org>
3120
3121         * testsuite/debug/commandline.c: (main): Call ./commandline, not
3122           argv[0].  Calling yourself is probably not the best way to
3123           construct a test like this, btw.
3124
3125 2004-05-18  Benjamin Otte  <in7y118@public.uni-hamburg.de>
3126
3127         * gst/gstbin.c: (gst_bin_iterate_func), (gst_bin_iterate):
3128           don't claim to be more intelligent than a scheduler when the
3129           scheduler claims the pipeline is stopped
3130         * gst/schedulers/entryscheduler.c: (safe_cothread_switch),
3131         (safe_cothread_destroy),
3132         (gst_entry_scheduler_remove_all_cothreads),
3133         (gst_entry_scheduler_reset), (_remove_cothread),
3134         (gst_entry_scheduler_state_transition):
3135           hold off cothread destruction if we're not in main cothread
3136         * configure.ac:
3137         * testsuite/Makefile.am:
3138           add new test dir
3139         * testsuite/schedulers/.cvsignore:
3140         * testsuite/schedulers/Makefile.am:
3141           add tests
3142         * testsuite/schedulers/relink.c: (cb_handoff), (main):
3143           check relinking and adding/removing elements from a running pipeline
3144         * testsuite/schedulers/unlink.c: (cb_handoff), (main):
3145           check unlinking in a running pipeline
3146         * testsuite/schedulers/unref.c: (cb_handoff), (main):
3147           check unreffing a running pipeline
3148         * testsuite/schedulers/useless_iteration.c: (main):
3149           check iterating a pipeline that contains running threads works
3150
3151 2004-05-18  David Schleef  <ds@schleef.org>
3152
3153         * docs/gst/Makefile.am: Add all-local target for when HAVE_GTK_DOC
3154           is false.
3155
3156 2004-05-18  Wim Taymans  <wim@fluendo.com>
3157
3158         * gst/schedulers/gstoptimalscheduler.c: (remove_from_group),
3159         (setup_group_scheduler), (gst_opt_scheduler_pad_link):
3160         Fixed an error introduced with patch for 1.63. When setting
3161         a get based element as the entry point in a group, make sure
3162         to mark the group as GET based.
3163
3164 2004-05-18  Wim Taymans  <wim@fluendo.com>
3165
3166         * gst/schedulers/gstoptimalscheduler.c: (create_group),
3167         (setup_group_scheduler), (loop_group_schedule_function),
3168         (gst_opt_scheduler_pad_link):
3169         Added some more debug info and fixed a bug where the group
3170         type was set to LOOP but it was in fact unknown.
3171
3172 2004-05-18  Benjamin Otte  <in7y118@public.uni-hamburg.de>
3173
3174         * gst/schedulers/entryscheduler.c: (gst_entry_scheduler_reset):
3175           make resetting scheduler work twice in a row
3176
3177 2004-05-18  Benjamin Otte  <in7y118@public.uni-hamburg.de>
3178
3179         * gst/gstvalue.c: (gst_strtoll), (CREATE_SERIALIZATION),
3180         (CREATE_USERIALIZATION), (_gst_value_initialize),
3181         (gst_value_compare_float), (gst_value_serialize_float),
3182         (gst_value_deserialize_float), (gst_value_compare_enum),
3183         (gst_value_serialize_enum), (gst_value_deserialize_enum):
3184           add serialization and comparison functions for long, int64, enum and
3185           float values
3186         * gst/gstvalue.c: (gst_value_serialize), (gst_value_deserialize):
3187           use best serialization function in type hierarchy instead of only a
3188           matching one. This is required for enums to work.
3189         * gst/parse/grammar.y:
3190           use gst_caps_deserialize
3191         * testsuite/parse/Makefile.am:
3192           parse1 now works
3193         * testsuite/parse/parse1.c: (main):
3194           remove aggregator check, aggregator is broken, this test works now
3195           but fails because of bug #138012
3196         * testsuite/parse/parse2.c: (main):
3197           s/xvideosink/xvimagesink - this test looks a lot like we should
3198           disable it
3199
3200 2004-05-13  Benjamin Otte  <in7y118@public.uni-hamburg.de>
3201
3202         * gst/gstelement.c: (gst_element_class_init):
3203           whoops, store the signal id correctly
3204         * gst/schedulers/gstbasicscheduler.c:
3205         (gst_basic_scheduler_chain_wrapper):
3206           detect infinfinfinfinfinf^Cinite loops in chain wrapper when the
3207           chain function isn't linked
3208
3209 2004-05-13  Jan Schmidt  <thaytan@mad.scientist.com>
3210         * configure.ac:
3211         Add $GST_PKG_CFLAGS back into GST_INT_CFLAGS so I have large file
3212         support until we decide where the flags should be used
3213         * gst/elements/gstfilesrc.c: (gst_filesrc_srcpad_query):
3214         Use GST_FORMAT_BYTES when GST_FORMAT_DEFAULT is passed
3215         * gst/gstpad.c: (gst_pad_link_call_link_functions):
3216         Output refused caps in the debug info
3217
3218 2004-05-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3219
3220         * gst/elements/gstidentity.c: (gst_identity_chain):
3221           add duration debug
3222         * gst/gstinfo.c: (gst_debug_log_default):
3223           add timestamp
3224
3225 2004-05-13  Benjamin Otte  <otte@gnome.org>
3226
3227         * gst/gstpipeline.c: (gst_pipeline_dispose),
3228         (gst_pipeline_change_state):
3229           call gst_scheduler_reset on dispose (fixes #141416)
3230
3231 2004-05-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>
3232
3233         * gst/elements/gstfilesrc.c: (gst_filesrc_get_mmap):
3234           compute mapsize correctly
3235         * gst/elements/gstfilesrc.c: (gst_filesrc_get_mmap):
3236           use correct datatypes when calling a varargs function
3237         * gst/elements/gsttypefindelement.c: (stop_typefinding):
3238           push a DISCONT event as first thing
3239         * gst/gst_private.h:
3240         * gst/gstinfo.c: (_gst_debug_init):
3241           remove GST_DATAFLOW debugging category
3242         * gst/gstbin.c: (gst_bin_iterate):
3243           use GST_SCHEDULING category
3244         * gst/gstpad.c: (gst_pad_get_type), (_invent_event),
3245         (gst_pad_push), (gst_pad_pull), (gst_pad_call_chain_function),
3246         (gst_pad_call_get_function):
3247           add GST_DATAFLOW to easily track flow of buffers or events.
3248         * gst/gstqueue.c: (gst_queue_get_type),
3249         (gst_queue_handle_pending_events), (gst_queue_chain),
3250         (gst_queue_get), (gst_queue_handle_src_event):
3251           use own static debugging category GST_DATAFLOW for dataflow,
3252           use DEBUG category for showing which path events go, use LOG
3253           category for buffers.
3254
3255 2004-05-10  David Schleef  <ds@schleef.org>
3256
3257         * docs/gst/gstreamer-sections.txt: Add gst_element_no_more_pads.
3258
3259 2004-05-10  David Schleef  <ds@schleef.org>
3260
3261         * docs/gst/Makefile.am: Dear gtk-doc, please print out the unused
3262         symbols, because otherwise we don't know what they are.  Thanks,
3263         the GStreamer team.
3264         * gst/registries/gstxmlregistry.c: (make_dir): Remove a spurious ;
3265
3266 2004-05-10  David Schleef  <ds@schleef.org>
3267
3268         (from Steve Lhomme)
3269         * win32/Makefile: When using make clean the MS Visual Studio makefiles
3270         are deleted.  Fix.
3271         * win32/Makefile.inspect:
3272         * win32/Makefile.launch:
3273         * win32/Makefile.register:
3274
3275 2004-05-10  David Schleef  <ds@schleef.org>
3276
3277         * gst/gstinfo.h: Add missing inline function.
3278         * gst/gsttrace.c: add include
3279         * gst/parse/grammar.y: remove unused code
3280         * gst/registries/gstxmlregistry.c: (make_dir): make mkdir call
3281         more portable.
3282         * tools/gst-register.c: wrap unistd.h
3283         
3284         More additions/fixes from Steve for the MSVC build.
3285         * win32/GStreamer.vcproj:
3286         * win32/Makefile:
3287         * win32/Makefile.inspect:
3288         * win32/Makefile.launch:
3289         * win32/Makefile.register:
3290         * win32/README.txt:
3291         * win32/gst-inspect.vcproj:
3292         * win32/gst-launch.vcproj:
3293         * win32/gst-register.vcproj:
3294         * win32/gstbytestream.def:
3295         * win32/gstbytestream.vcproj:
3296         * win32/gstconfig.h:
3297         * win32/gstelements.def:
3298         * win32/gstelements.vcproj:
3299         * win32/gstenumtypes.c:
3300         * win32/gstenumtypes.h:
3301         * win32/gstoptimalscheduler.def:
3302         * win32/gstoptimalscheduler.vcproj:
3303         * win32/gstreamer.def:
3304         * win32/gstspider.def:
3305         * win32/gstspider.vcproj:
3306         * win32/gstversion.h:
3307         * win32/msvc71.sln:
3308
3309 2004-05-10  Benjamin Otte  <in7y118@public.uni-hamburg.de>
3310
3311         * gst/gstelement.c: (gst_element_class_init),
3312         (gst_element_no_more_pads):
3313         * gst/gstelement.h:
3314           add gst_element_no_more_pads and the "no-more-pads" signal
3315
3316 2004-05-10  Benjamin Otte  <in7y118@public.uni-hamburg.de>
3317
3318         * gst/gstregistry.c: (gst_registry_add_plugin):
3319           refuse to add plugins when a plugin with same name is already
3320           registered. Fixes a bunch of "How to remove plugins?" issues.
3321           May lead to other problems though, let's test
3322
3323 2004-05-10  Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
3324
3325         * testsuite/caps/caps_strings : audio/ac3 => audio/x-ac3
3326         * docs/manual/pads-api.xml : audio/wav => audio/x-wav
3327         * docs/random/uraeus/gstreamer_and_midi.txt : audio/wav => audio/x-wav
3328
3329 2004-05-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3330
3331         * tests/Makefile.am: fix am16 issue
3332
3333 2004-05-09  Benjamin Otte  <otte@gnome.org>
3334
3335         * libs/gst/bytestream/Makefile.am:
3336           we should indeed add .c files to makefiles or they won't be built
3337           (d'oh)
3338
3339 2004-05-08  Benjamin Otte  <otte@gnome.org>
3340
3341         * gst/gstpad.c: (gst_pad_proxy_fixate):
3342           really reduce the set of caps
3343
3344 2004-05-08  Benjamin Otte  <otte@gnome.org>
3345
3346         * tests/Makefile.am:
3347         * tests/spidey_bench.c: (handoff), (main):
3348           add benchmark to test how long spider needs to create a pipeline
3349
3350 2004-05-08  Benjamin Otte  <otte@gnome.org>
3351
3352         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_unnegotiate):
3353           mark links as unengaged when unnegotiating instead of deactivating.
3354           This way pads aren't marked as unengaged when going PLAYING=>PAUSED
3355
3356 2004-05-08  Benjamin Otte  <otte@gnome.org>
3357
3358         * docs/manual/helloworld.xml:
3359           s/audiosink/osssink (patch by Patrick Guimond)
3360
3361 2004-05-07  David Schleef  <ds@schleef.org>
3362
3363         * configure.ac: Make sure GST_INT_CFLAGS is not clobbered,
3364         since it contains important stuff.
3365
3366 2004-05-07  David Schleef  <ds@schleef.org>
3367
3368         * testsuite/caps/caps.c: (test3), (main): A check for appending
3369         ANY caps.
3370
3371 2004-05-07  David Schleef  <ds@schleef.org>
3372
3373         * common/m4/as-compiler-flag.m4: Properly quote arguments,
3374         which may contain commas.  Fixes detection of -Wa,-mregnames
3375
3376 2004-05-06  David Schleef  <ds@schleef.org>
3377
3378         Changes to handle compilers that don't have variadic macro
3379         support.  In particular, glib headers define some inlines
3380         that need G_LOG_DOMAIN defined.  Additional fixes for MSVC
3381         builds.
3382         * gst/Makefile.am:
3383         * gst/cothreads.c:
3384         * gst/elements/gstfdsink.c:
3385         * gst/elements/gstfdsrc.c:
3386         * gst/elements/gstfilesink.c:
3387         * gst/elements/gstfilesrc.c:
3388         * gst/gst_private.h:
3389         * gst/gstatomic.c:
3390         * gst/gstcaps.c: (gst_caps_append):
3391         * gst/gstcpu.c: (gst_cpuid_i386):
3392         * gst/gstelement.c:
3393         * gst/gsterror.c:
3394         * gst/gstfilter.c:
3395         * gst/gstinfo.h:
3396         * gst/gstprobe.c:
3397         * gst/gstquery.c:
3398         * gst/gstregistry.c:
3399         * gst/gststructure.c:
3400         * gst/gsttaginterface.c:
3401         * gst/gsttrace.c: (gst_trace_new):
3402         * gst/gsttrashstack.c:
3403         * gst/gsturi.c:
3404         * gst/gstvalue.c:
3405         * gst/parse/grammar.y:
3406         * gst/parse/parse.l:
3407         * tools/gst-inspect.c: (main):
3408         * tools/gst-launch.c: (main):
3409         * tools/gst-xmlinspect.c: (PUT_STRING):
3410
3411 2004-05-06  Benjamin Otte  <in7y118@public.uni-hamburg.de>
3412
3413         * gst/elements/gstfilesrc.c: (gst_filesrc_get),
3414         (gst_filesrc_change_state), (gst_filesrc_srcpad_event):
3415         * gst/elements/gstfilesrc.h:
3416           send NEW_MEDIA events correctly
3417         * gst/elements/gsttypefindelement.c: (start_typefinding),
3418         (gst_type_find_element_handle_event):
3419           restart typefinding when we get a NEW_MEDIA event
3420         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_change_state),
3421         (gst_bin_dispose):
3422           don't die when someone removes elements in callbacks
3423         * gst/gstelement.c: (gst_element_change_state):
3424           improve debugging
3425         * gst/gstpad.c: (gst_pad_pull), (gst_pad_call_chain_function):
3426           we need a NEW_MEDIA event to engage a link
3427         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
3428           don't g_print debugging stuff
3429         * testsuite/caps/simplify.c: (check_caps):
3430
3431 2004-05-04  Benjamin Otte  <otte@gnome.org>
3432
3433         * gst/parse/grammar.y:
3434           use GST_ERROR instead of g_warning, and always throw a GST_ERROR 
3435
3436 2004-05-04  Benjamin Otte  <otte@gnome.org>
3437
3438         * testsuite/caps/renegotiate.c: (main):
3439           improve output in error case
3440
3441 2004-05-04  Benjamin Otte  <otte@gnome.org>
3442
3443         * gst/parse/grammar.y:
3444           fix assert to not trigger when there's no error argument
3445         * gst/parse/parse.l:
3446           fix definition of caps to allow more than two structures
3447         * testsuite/caps/Makefile.am:
3448         * testsuite/caps/renegotiate.c: (main):
3449           it's sinesrc and works in that case
3450
3451 2004-05-04  Wim Taymans  <wim@fluendo.com>
3452
3453         * gst/schedulers/gstoptimalscheduler.c: (remove_from_group),
3454         (group_dec_link), (gst_opt_scheduler_pad_unlink):
3455         when removing an element from a group, we always need to
3456         decrement the link count that this group had with other 
3457         groups through the element.
3458         added an extra assert to catch inconsistencies when decrementing
3459         the link count.
3460
3461 2004-05-04  Thomas Vander Stichele  <thomas at apestaart dot org>
3462
3463         * configure.ac:
3464         * docs/gst/Makefile.am:
3465         * docs/gst/gstreamer-sections.txt:
3466         * docs/gst/tmpl/gstcompat.sgml:
3467         * examples/appreader/Makefile.am:
3468         * examples/cutter/Makefile.am:
3469         * examples/events/Makefile.am:
3470         * examples/helloworld/Makefile.am:
3471         * examples/helloworld2/Makefile.am:
3472         * examples/launch/Makefile.am:
3473         * examples/manual/Makefile.am:
3474         * examples/mixer/Makefile.am:
3475         * examples/pingpong/Makefile.am:
3476         * examples/plugins/Makefile.am:
3477         * examples/queue/Makefile.am:
3478         * examples/queue2/Makefile.am:
3479         * examples/queue3/Makefile.am:
3480         * examples/queue4/Makefile.am:
3481         * examples/retag/Makefile.am:
3482         * examples/thread/Makefile.am:
3483         * examples/typefind/Makefile.am:
3484         * examples/xml/Makefile.am:
3485         * gst/Makefile.am:
3486         * gst/autoplug/Makefile.am:
3487         * gst/elements/Makefile.am:
3488         * gst/gstcompat.h:
3489         * gst/indexers/Makefile.am:
3490         * gst/parse/Makefile.am:
3491         * gst/registries/Makefile.am:
3492         * gst/schedulers/Makefile.am:
3493         * libs/gst/bytestream/Makefile.am:
3494         * libs/gst/control/Makefile.am:
3495         * libs/gst/getbits/Makefile.am:
3496         * po/af.po:
3497         * po/az.po:
3498         * po/en_GB.po:
3499         * po/fr.po:
3500         * po/nl.po:
3501         * po/sr.po:
3502         * po/sv.po:
3503         * po/tr.po:
3504         * po/uk.po:
3505         * tests/Makefile.am:
3506         * tests/bufspeed/Makefile.am:
3507         * tests/instantiate/Makefile.am:
3508         * tests/memchunk/Makefile.am:
3509         * tests/muxing/Makefile.am:
3510         * tests/negotiation/Makefile.am:
3511         * tests/probes/Makefile.am:
3512         * tests/sched/Makefile.am:
3513         * tests/seeking/Makefile.am:
3514         * tests/threadstate/Makefile.am:
3515         * testsuite/caps/Makefile.am:
3516         * testsuite/cleanup/Makefile.am:
3517         * testsuite/dlopen/Makefile.am:
3518         * testsuite/dynparams/Makefile.am:
3519         * testsuite/plugin/Makefile.am:
3520         * testsuite/states/Makefile.am:
3521         * tools/Makefile.am:
3522           reorganize compile/link flags to be consistent
3523           put gst_info in gstcompat.h and actually use GST_DISABLE_DEPRECATED
3524
3525 2004-05-04  David Schleef  <ds@schleef.org>
3526
3527         The "once more, with feeling" check-in.
3528         * testsuite/caps/Makefile.am: dist caps_strings
3529         * testsuite/caps/renegotiate.c: (main): This test triggers a
3530           segfault in the core.  Marking as failing.
3531
3532 2004-05-03  David Schleef  <ds@schleef.org>
3533
3534         * testsuite/caps/deserialize.c: (main): Fix problems noticed
3535           by the build bots.
3536         * testsuite/caps/renegotiate.c: (main): Same.
3537
3538 2004-05-03  David Schleef  <ds@schleef.org>
3539
3540         * testsuite/caps/renegotiate.c: (my_fixate), (main): Another test.
3541
3542 2004-05-03  David Schleef  <ds@schleef.org>
3543
3544         * testsuite/caps/deserialize.c: (main): Use the srcdir environment
3545           variable to find our source file.
3546
3547 2004-05-03  David Schleef  <ds@schleef.org>
3548
3549         * configure.ac:  Link plugins with libgstreamer and dependent
3550           libraries
3551         * testsuite/caps/Makefile.am:
3552         * testsuite/caps/caps_strings:
3553         * testsuite/caps/deserialize.c: (main): Add a little test to slog
3554           through a file of caps strings and test each one
3555
3556 2004-05-04  Benjamin Otte  <otte@gnome.org>
3557
3558         * libs/gst/bytestream/Makefile.am:
3559         * libs/gst/bytestream/adapter.c: 
3560         * libs/gst/bytestream/adapter.h:
3561           add GstAdapter, similar to bytestream, but doesn't require ugly event
3562           handling or uglier loopbased elements
3563
3564 2004-05-03  David Schleef  <ds@schleef.org>
3565
3566         * testsuite/caps/Makefile.am: Fix spelling of Ηρατοσθενες
3567         * testsuite/caps/erathostenes.c:
3568         * testsuite/caps/eratosthenes.c: (eratosthenes), (main):
3569
3570 2004-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3571
3572         * docs/pwg/pwg.xml:
3573           remove hardcoded stylesheet path (duh)
3574         * docs/random/release:
3575         * docs/gst/gstreamer-sections.txt:
3576         * gst/Makefile.am:
3577         * gst/gst.h:
3578         * gst/gst_private.h:
3579         * gst/gstcaps.c:
3580         * gst/gstevent.c:
3581         * gst/gstformat.c:
3582         * gst/gstinfo.c:
3583         * gst/gstinfo.h:
3584         * gst/gstinterface.c:
3585         * gst/gstmemchunk.c:
3586         * gst/gstprobe.c:
3587         * gst/gstquery.c:
3588         * gst/gstregistry.c:
3589         * gst/gstregistrypool.c:
3590         * gst/gststructure.c:
3591         * gst/gsttaginterface.c:
3592         * gst/gstthread.c:
3593         * gst/gsttrace.c:
3594         * gst/gsttypefind.c: (gst_type_find_factory_get_type):
3595         * gst/gsturi.c:
3596         * gst/gstvalue.c:
3597           deprecate gst_info; remove gstlog.h
3598    
3599
3600 2004-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3601
3602         * Makefile.am:
3603         * po/en_GB.po:
3604         * po/sv.po:
3605         * po/uk.po:
3606           updated translations
3607
3608 2004-05-03  Benjamin Otte  <in7y118@public.uni-hamburg.de>
3609
3610         * gst/gstbin.c: (gst_bin_dispose):
3611           better debugging
3612
3613 2004-05-03  Johan Dahlin  <johan@gnome.org>
3614
3615         * gst/schedulers/gstoptimalscheduler.c
3616         (gst_opt_scheduler_pad_unlink): Check if element is non-NULL and
3617         really is a GstElement. Avoids critical when running gst-launch -v
3618         and a oggdemux/decoding pipeline.
3619
3620 2004-05-02  Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
3621
3622         * docs/gst/tmpl/gstpipeline.sgml :
3623         * docs/manual/elements-api.xml :
3624                 doc fix by Patrick Guimond (Protector) from devel ML
3625                 reviewed by ronald
3626
3627 2004-05-02  Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
3628
3629         * docs/gst/Makefile.am :
3630         * docs/libs/Makefile.am :
3631                 apply a patch from Arwed v. Merkatz so that gtk-doc
3632                 generated docs install (same for .devhelp file)
3633                 (fixes part 1 of #138836)
3634
3635 2004-04-30  Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
3636
3637         * docs/faq/dependencies.xml: typo
3638         * docs/faq/getting.xml :
3639             - fix download URL for new gstreamer site
3640             - hide sf.net download page as latest version aren't there
3641             - fix apt URLs
3642             - fill "get via CVS" paragraph (link to dev page on the site)
3643         * docs/faq/general.xml:
3644             hide status tables as they no more exists
3645             change case on plugins license file to reflect reality
3646         * docs/faq/troubleshooting.xml:
3647             remove the wiki question/answer as there is no more wiki
3648
3649 2004-04-30  Thomas Vander Stichele  <thomas at apestaart dot org>
3650
3651         * gst/gsterror.h:
3652           include the headers needed for declarations used in this header
3653
3654 2004-04-30  Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
3655
3656         * docs/random/uraeus/gstreamer_and_midi.txt :
3657           add .kar (midi + karaoke/lyrics 'track') doc to midi doc.
3658           (fixes #132288)
3659
3660 2004-04-30  Sebastien Cote  <sc5@hermes.usherb.ca>
3661
3662         reviewed by Benjamin Otte  <otte@gnome.org>
3663
3664         * gst/schedulers/gthread-cothreads.h:
3665           free allocated data for main cothread, too when destroying context
3666           (fixes #141417)
3667
3668 2004-04-29  Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
3669
3670         * docs/manual/goals.xml : remove duplicated paragraph at end 
3671         of doc page (fixes #141448)
3672
3673 2004-04-29  David Schleef  <ds@schleef.org>
3674
3675         * gst/elements/gstfilesink.c: (gst_filesink_handle_event):
3676         Patch from Sebastien Cote to fix leakage of events. (bug #141414)
3677
3678 2004-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3679
3680         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
3681           fix property
3682         * gst/gstcaps.c:
3683           fix doc string
3684         * po/POTFILES.in:
3685           rename typefind source file
3686
3687 2004-04-28  David Schleef  <ds@schleef.org>
3688
3689         Several new files from Steve Lhomme's MSVC patch (bug #141317):
3690         * win32/GStreamer.vcproj:
3691         * win32/Makefile:
3692         * win32/config.h:
3693         * win32/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3694         (_trewinddir), (_ttelldir), (_tseekdir):
3695         * win32/dirent.h:
3696         * win32/gst-inspect.vcproj:
3697         * win32/gst-launch.vcproj:
3698         * win32/gst-register.vcproj:
3699         * win32/gstbytestream.vcproj:
3700         * win32/gstelements.vcproj:
3701         * win32/gstoptimalscheduler.vcproj:
3702         * win32/gstspider.vcproj:
3703         * win32/gtchar.h:
3704         * win32/mman.c: (mmap), (mprotect), (msync), (munmap):
3705         * win32/mman.h:
3706         * win32/mman.inl:
3707         * win32/msvc71.sln:
3708
3709 2004-04-29  Benjamin Otte  <in7y118@public.uni-hamburg.de>
3710
3711         * gst/gst.c: (init_post):
3712         * gst/gstinfo.c:
3713           remove useless _gst_progname stuff
3714         * tools/gst-inspect.c: (print_field), (print_caps):
3715           improve caps output
3716
3717 2004-04-28  David Schleef  <ds@schleef.org>
3718
3719         Disable parsing of a lot of files that aren't part of the
3720         exported API.  Move corresponding template files to old/,
3721         waiting for removal when they don't contain anything
3722         interesting.
3723         * docs/gst/Makefile.am:
3724         * docs/gst/gstreamer-sections.txt:
3725         * docs/gst/tmpl/cothreads.sgml:
3726         * docs/gst/tmpl/cothreads_compat.sgml:
3727         * docs/gst/tmpl/gettext.sgml:
3728         * docs/gst/tmpl/gobject2gtk.sgml:
3729         * docs/gst/tmpl/grammar.tab.sgml:
3730         * docs/gst/tmpl/gst-i18n-app.sgml:
3731         * docs/gst/tmpl/gst-i18n-lib.sgml:
3732         * docs/gst/tmpl/gst_private.sgml:
3733         * docs/gst/tmpl/gstaggregator.sgml:
3734         * docs/gst/tmpl/gstarch.sgml:
3735         * docs/gst/tmpl/gstatomic_impl.sgml:
3736         * docs/gst/tmpl/gstbufferstore.sgml:
3737         * docs/gst/tmpl/gstdata_private.sgml:
3738         * docs/gst/tmpl/gstdisksink.sgml:
3739         * docs/gst/tmpl/gstdisksrc.sgml:
3740         * docs/gst/tmpl/gstelementfactory.sgml:
3741         * docs/gst/tmpl/gstextratypes.sgml:
3742         * docs/gst/tmpl/gstfakesink.sgml:
3743         * docs/gst/tmpl/gstfakesrc.sgml:
3744         * docs/gst/tmpl/gstfdsink.sgml:
3745         * docs/gst/tmpl/gstfdsrc.sgml:
3746         * docs/gst/tmpl/gstfilesink.sgml:
3747         * docs/gst/tmpl/gstfilesrc.sgml:
3748         * docs/gst/tmpl/gsthttpsrc.sgml:
3749         * docs/gst/tmpl/gstidentity.sgml:
3750         * docs/gst/tmpl/gstindexfactory.sgml:
3751         * docs/gst/tmpl/gstmarshal.sgml:
3752         * docs/gst/tmpl/gstmd5sink.sgml:
3753         * docs/gst/tmpl/gstmultidisksrc.sgml:
3754         * docs/gst/tmpl/gstmultifilesrc.sgml:
3755         * docs/gst/tmpl/gstpadtemplate.sgml:
3756         * docs/gst/tmpl/gstpipefilter.sgml:
3757         * docs/gst/tmpl/gstschedulerfactory.sgml:
3758         * docs/gst/tmpl/gstsearchfuncs.sgml:
3759         * docs/gst/tmpl/gstshaper.sgml:
3760         * docs/gst/tmpl/gstspider.sgml:
3761         * docs/gst/tmpl/gstspideridentity.sgml:
3762         * docs/gst/tmpl/gststatistics.sgml:
3763         * docs/gst/tmpl/gsttee.sgml:
3764         * docs/gst/tmpl/gsttimecache.sgml:
3765         * docs/gst/tmpl/gsttypefind.sgml:
3766         * docs/gst/tmpl/gsttypefindfactory.sgml:
3767         * docs/gst/tmpl/gstxmlregistry.sgml:
3768         * docs/gst/tmpl/gthread-cothreads.sgml:
3769         * docs/gst/tmpl/old/cothreads.sgml:
3770         * docs/gst/tmpl/old/cothreads_compat.sgml:
3771         * docs/gst/tmpl/old/gettext.sgml:
3772         * docs/gst/tmpl/old/gobject2gtk.sgml:
3773         * docs/gst/tmpl/old/grammar.tab.sgml:
3774         * docs/gst/tmpl/old/gst-i18n-app.sgml:
3775         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
3776         * docs/gst/tmpl/old/gst_private.sgml:
3777         * docs/gst/tmpl/old/gstaggregator.sgml:
3778         * docs/gst/tmpl/old/gstarch.sgml:
3779         * docs/gst/tmpl/old/gstatomic_impl.sgml:
3780         * docs/gst/tmpl/old/gstbufferstore.sgml:
3781         * docs/gst/tmpl/old/gstdata_private.sgml:
3782         * docs/gst/tmpl/old/gstdisksink.sgml:
3783         * docs/gst/tmpl/old/gstdisksrc.sgml:
3784         * docs/gst/tmpl/old/gstelementfactory.sgml:
3785         * docs/gst/tmpl/old/gstextratypes.sgml:
3786         * docs/gst/tmpl/old/gstfakesink.sgml:
3787         * docs/gst/tmpl/old/gstfakesrc.sgml:
3788         * docs/gst/tmpl/old/gstfdsink.sgml:
3789         * docs/gst/tmpl/old/gstfdsrc.sgml:
3790         * docs/gst/tmpl/old/gstfilesink.sgml:
3791         * docs/gst/tmpl/old/gstfilesrc.sgml:
3792         * docs/gst/tmpl/old/gsthttpsrc.sgml:
3793         * docs/gst/tmpl/old/gstidentity.sgml:
3794         * docs/gst/tmpl/old/gstindexfactory.sgml:
3795         * docs/gst/tmpl/old/gstmarshal.sgml:
3796         * docs/gst/tmpl/old/gstmd5sink.sgml:
3797         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
3798         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
3799         * docs/gst/tmpl/old/gstpadtemplate.sgml:
3800         * docs/gst/tmpl/old/gstpipefilter.sgml:
3801         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
3802         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
3803         * docs/gst/tmpl/old/gstshaper.sgml:
3804         * docs/gst/tmpl/old/gstspider.sgml:
3805         * docs/gst/tmpl/old/gstspideridentity.sgml:
3806         * docs/gst/tmpl/old/gststatistics.sgml:
3807         * docs/gst/tmpl/old/gsttee.sgml:
3808         * docs/gst/tmpl/old/gsttimecache.sgml:
3809         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
3810         * docs/gst/tmpl/old/gstxmlregistry.sgml:
3811         * docs/gst/tmpl/old/gthread-cothreads.sgml:
3812         * docs/gst/tmpl/old/types.sgml:
3813         * docs/gst/tmpl/types.sgml:
3814
3815         Rename gsttypefind.[ch] back to gsttypefindelement.[ch], since
3816         gtkdoc-scan doesn't like files with the same name in different
3817         directories.
3818         * gst/elements/Makefile.am:
3819         * gst/elements/gstelements.c:
3820         * gst/elements/gsttypefind.c: 
3821         * gst/elements/gsttypefind.h:
3822         * gst/elements/gsttypefindelement.c:
3823         * gst/elements/gsttypefindelement.h:
3824
3825 2004-04-28  David Schleef  <ds@schleef.org>
3826
3827         A bunch of portability fixes, derived from Steve Lhomme's MSVC
3828         patch (bug #141317):
3829         * gst/gst-i18n-lib.h: Allow disabling gettext.
3830         * gst/gstatomic_impl.h: disable warning when it's dumb.
3831         * gst/gstclock.c: fix include
3832         * gst/gstcompat.h: fix variadic macro
3833         * gst/gstinfo.c: fix include
3834         * gst/gstmacros.h: add defines for inlines on MSVC
3835         * gst/gstplugin.c: fix includes
3836         * gst/gstregistry.c: fix includes
3837         * gst/gstregistry.h: use S_IREAD, etc., if S_IRUSR isn't defined
3838         * gst/gstsystemclock.c: fix include
3839         * gst/gsttrace.c: (gst_trace_new), (gst_trace_text_flush): use
3840         S_IREAD if S_IRUSR isn't defined.  fix use of non-portable functions
3841         * gst/registries/gstxmlregistry.c:
3842         (gst_xml_registry_parse_element_factory): fix use of non-portable
3843         functions
3844         * libs/gst/control/dparam.h: Remove trailing comma in enum definition
3845         * libs/gst/control/dparammanager.h: same
3846
3847 2004-04-28  David Schleef  <ds@schleef.org>
3848
3849         Move a bunch of unused files to old/ with names that are
3850         not case-insensitive-unique.  These files still contain some
3851         useful information that needs to be merged into gstbin.sgml,
3852         etc., so they shouldn't be deleted yet.
3853         * docs/gst/tmpl/GstBin.sgml:
3854         * docs/gst/tmpl/GstBuffer.sgml:
3855         * docs/gst/tmpl/GstCaps.sgml:
3856         * docs/gst/tmpl/GstClock.sgml:
3857         * docs/gst/tmpl/GstCompat.sgml:
3858         * docs/gst/tmpl/GstData.sgml:
3859         * docs/gst/tmpl/GstElement.sgml:
3860         * docs/gst/tmpl/GstEvent.sgml:
3861         * docs/gst/tmpl/GstIndex.sgml:
3862         * docs/gst/tmpl/GstStructure.sgml:
3863         * docs/gst/tmpl/GstTag.sgml:
3864         * docs/gst/tmpl/old/GstBin.sgml:
3865         * docs/gst/tmpl/old/GstBuffer.sgml:
3866         * docs/gst/tmpl/old/GstCaps.sgml:
3867         * docs/gst/tmpl/old/GstClock.sgml:
3868         * docs/gst/tmpl/old/GstCompat.sgml:
3869         * docs/gst/tmpl/old/GstData.sgml:
3870         * docs/gst/tmpl/old/GstElement.sgml:
3871         * docs/gst/tmpl/old/GstEvent.sgml:
3872         * docs/gst/tmpl/old/GstIndex.sgml:
3873         * docs/gst/tmpl/old/GstStructure.sgml:
3874         * docs/gst/tmpl/old/GstTag.sgml:
3875
3876 2004-04-28  David Schleef  <ds@schleef.org>
3877
3878         * gst/gstcaps.c: (gst_caps_copy), (gst_caps_free),
3879         (gst_caps_append), (gst_caps_append_structure),
3880         (gst_caps_get_size), (gst_caps_get_structure), (gst_caps_copy_1),
3881         (gst_caps_set_simple), (gst_caps_set_simple_valist),
3882         (gst_caps_is_any), (gst_caps_is_empty), (gst_caps_is_chained),
3883         (gst_caps_is_fixed), (gst_caps_is_always_compatible),
3884         (gst_caps_intersect), (gst_caps_normalize),
3885         (gst_caps_transform_to_string):  Patch from Tim-Philipp Müller
3886         to fix GST_CAPS() and GST_IS_CAPS(). (bug #141304)
3887         * gst/gstcaps.h: use GST_IS_CAPS().
3888
3889 2004-04-26  David Schleef  <ds@schleef.org>
3890
3891         * gst/gstcpu.c: (gst_cpuid_i386): Don't clobber ebx in inline
3892         assembly.  gcc doesn't handle it correctly. (bug #141083)
3893         * gst/gsttrashstack.h: same
3894
3895 2004-04-25  Benjamin Otte  <otte@gnome.org>
3896
3897         * gst/gstelement.c: (gst_element_change_state):
3898           fix assertion to do an int comparison
3899
3900 2004-04-25  Benjamin Otte  <otte@gnome.org>
3901
3902         * gst/elements/gstfilesrc.c: (gst_filesrc_open_file):
3903           better debugging output on error
3904
3905 2004-04-25  Benjamin Otte  <otte@gnome.org>
3906
3907         * gst/gstcaps.c: (gst_caps_subtract):
3908           fix memleak
3909
3910 2004-04-23  Benjamin Otte  <otte@gnome.org>
3911
3912         * gst/gstvalue.c: (gst_value_compare_buffer),
3913         (_gst_value_initialize):
3914           add comparison function for buffers
3915
3916 2004-04-22  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3917
3918         * docs/pwg/pwg.xml:
3919           Just found out that this so-called "ima-wav" format is really
3920           just "dvi adpcm" (according to the MS WAV documentation). So
3921           renaming it. We didn't use it yet anyway.
3922
3923 2004-04-23  Benjamin Otte  <otte@gnome.org>
3924
3925         * gst/gstcaps.c: (gst_caps_is_always_compatible):
3926           call gst_caps_is_subset
3927
3928 2004-04-23  Benjamin Otte  <otte@gnome.org>
3929
3930         * gst/gstcaps.c: (gst_caps_subtract), (gst_caps_is_equal), 
3931         (gst_caps_is_subset):
3932           add documentation
3933
3934 2004-04-23  Benjamin Otte  <otte@gnome.org>
3935           
3936         * gst/gstcaps.c: (gst_caps_structure_subtract_field),
3937         (gst_caps_structure_subtract), (gst_caps_subtract),
3938         (gst_caps_structure_figure_out_union),
3939         (gst_caps_structure_simplify), (gst_caps_do_simplify):
3940           fix simplifying and subtracting not working correctly with optional
3941           properties
3942           solve assorted problems that make it now simplify ebven more
3943         * docs/gst/tmpl/gstcaps.sgml:
3944         * gst/gstcaps.h:
3945           make gst_caps_do_simplify return a bool to indicate if it simplified
3946         * testsuite/caps/simplify.c: (main):
3947           add more checks. The tests is quite a bit useless right now because
3948           the core is heavily simplifying itself.
3949         * testsuite/caps/caps.h:
3950           fix caps to contain all optional properties
3951
3952 2004-04-22  Benjamin Otte  <otte@gnome.org>
3953
3954         * docs/gst/tmpl/gstcaps.sgml:
3955         * docs/gst/tmpl/gstfilesrc.sgml:
3956         * docs/gst/tmpl/gststructure.sgml:
3957         * docs/gst/tmpl/gstvalue.sgml:
3958           update for recent API changes
3959         * gst/gstcaps.c: (gst_caps_do_simplify):
3960           fix to stop trying with a freed structure
3961         * gst/gstpad.c: (gst_pad_link_fixate):
3962           simplify caps
3963         * gst/gstpad.c: (gst_pad_template_get_caps_by_name):
3964           remove C++ comment
3965         * gst/gstpad.h:
3966           deprecate gst_pad_template_get_caps_by_name, it doesn't work anyway
3967         * gst/gststructure.c: (gst_structure_value_get_generic_type),
3968         (gst_structure_to_string):
3969           keep the correct type when using lists of ranges
3970         * gst/gstvalue.c: (gst_value_list_prepend_value),
3971         (gst_value_list_append_value):
3972           copy the value before adding to the list (d'oh)
3973         * gst/gstvalue.c: (gst_value_subtract_int_range_int),
3974         (gst_value_subtract_int_range_int_range):
3975           handle overflows correctly
3976         * gst/gstvalue.c: (gst_value_subtract_from_list):
3977           fix memleak
3978         * testsuite/caps/caps.h:
3979           add a caps that caused segfaults
3980
3981 2004-04-22  Benjamin Otte  <otte@gnome.org>
3982
3983         * testsuite/refcounting/pad.c: (main):
3984           fix test
3985
3986 2004-04-22  Benjamin Otte  <otte@gnome.org>
3987
3988         * gst/gstcaps.c: (gst_caps_subtract):
3989           allow subtracting ANY and EMPTY from ANY caps
3990
3991 2004-04-22  Benjamin Otte  <otte@gnome.org>
3992
3993         * gst/gstcaps.c: (gst_caps_append), (gst_caps_intersect),
3994         (gst_caps_union):
3995           only simplify in functions that create new caps. Simplifying in
3996           gst_caps_append breaks tests.
3997
3998 2004-04-22  Benjamin Otte  <otte@gnome.org>
3999
4000         * gst/gstcaps.c: (gst_caps_structure_simplify):
4001           unset GValue after use
4002         * gst/gstcaps.c: (gst_caps_append), 
4003         * gst/gstpad.c: (gst_pad_link_fixate), (gst_pad_template_new):
4004           use gst_caps_simplify (reduces registry size by 30%)
4005         * gst/gstpad.c: (gst_pad_template_new):
4006           don't allow NULL caps
4007
4008 2004-04-22  Benjamin Otte  <otte@gnome.org>
4009
4010         * docs/gst/gstreamer-sections.txt:
4011           add gst_caps_do_simplify
4012         * gst/gstcaps.c:
4013           add documentation for gst_caps_do_simplify
4014         * gst/gstvalue.h:
4015           fix typo in gst_value_register_subtract_func declaration for gst-doc
4016
4017 2004-04-22  Benjamin Otte  <otte@gnome.org>
4018
4019         * gst/gstcaps.c: (gst_caps_from_string_inplace):
4020           fix bug when converting from empty string.
4021         * gst/gstcaps.c: (gst_caps_new_any), (gst_caps_new_simple),
4022         (gst_caps_new_full_valist), (gst_caps_copy), (gst_caps_copy_1):
4023           use gst_caps_new_empty to allocate a new caps. Only that function
4024           allocates memory for caps now.
4025         * gst/gstcaps.c: (gst_caps_remove_and_get_structure),
4026         (gst_caps_remove_structure):
4027           add ability to remove one structure (but not to header yet)
4028         * gst/gstcaps.c: (gst_caps_compare_structures),
4029         (gst_caps_simplify), (gst_caps_structure_figure_out_union),
4030         (gst_caps_structure_simplify), (gst_caps_do_simplify),
4031         * gst/gstcaps.h:
4032           add gst_caps_do_simplify that tries to simplify a caps in place.
4033           Deprecate old gst_caps_simplify function.
4034         * testsuite/caps/caps.h:
4035           add caps.h containing a common set of caps to test against.
4036         * testsuite/caps/sets.c: (check_caps), (main):
4037           use it.
4038         * testsuite/caps/.cvsignore:
4039         * testsuite/caps/Makefile.am:
4040         * testsuite/caps/simplify.c: (check_caps), (main):
4041           add test to check correctness and efficency of caps simplification.
4042
4043 2004-04-22  Sebastien Cote <sc5@hermes.usherb.ca>
4044
4045         reviewed by Benjamin Otte  <otte@gnome.org>
4046
4047         * gst/gstparse.c: (_gst_parse_escape):
4048           Free the GString used in _gst_parse_escape()
4049
4050 2004-04-21  Benjamin Otte  <in7y118@public.uni-hamburg.de>
4051
4052         * gst/gstpad.c: (gst_pad_link_negotiate):
4053           refuse to link if the link is not possible
4054         * configure.ac:
4055         * testsuite/Makefile.am:
4056         * testsuite/negotiation/.cvsignore:
4057         * testsuite/negotiation/Makefile.am:
4058         * testsuite/negotiation/pad_link.c: (main):
4059           add test that checks the above behaviour
4060
4061 2004-04-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4062
4063         * docs/gst/gstreamer-sections.txt:
4064           add newly added API
4065
4066 2004-04-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4067
4068         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
4069         (gst_filesrc_get_mmap), (gst_filesrc_get_read), (gst_filesrc_get),
4070         (gst_filesrc_open_file), (gst_filesrc_close_file),
4071         (gst_filesrc_srcpad_query), (gst_filesrc_srcpad_event):
4072         * gst/elements/gstfilesrc.h:
4073           add support for non-regular files (#140734)
4074
4075 2004-04-21  Benjamin Otte  <otte@gnome.org>
4076
4077         * gst/gstpad.c: (gst_pad_link_fixate):
4078           add sophisticated error checking code to see if fixation functions
4079           did their fixation right
4080
4081 2004-04-21  Benjamin Otte  <otte@gnome.org>
4082
4083         * gst/gstcaps.c: (gst_caps_append), (gst_caps_union):
4084           check for ANY caps before appending/unioning
4085         * gst/gstcaps.c: (gst_caps_is_subset),
4086         (gst_caps_is_equal), (gst_caps_structure_subtract_field),
4087         (gst_caps_structure_subtract), (gst_caps_subtract):
4088         * gst/gstcaps.h:
4089           add gst_caps_is_equal, gst_caps_is_subset and gst_caps_subtract to
4090           the API. deprecate gst_caps_is_equal_fixed
4091         * gst/gstpad.c: (gst_pad_try_set_caps):
4092         * gst/gstqueue.c: (gst_queue_link):
4093           s/gst_caps_is_equal_fixed/gst_caps_is_equal/
4094         * gst/gststructure.c: (gst_structure_get_name_id):
4095         * gst/gststructure.h:
4096           add function gst_structure_get_name_id
4097         * gst/gstvalue.c: (gst_value_subtract_int_int_range),
4098         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
4099         (gst_value_subtract_int_range_int_range),
4100         (gst_value_subtract_double_double_range),
4101         (gst_value_subtract_double_range_double),
4102         (gst_value_subtract_double_range_double_range),
4103         (gst_value_subtract_from_list), (gst_value_subtract_list),
4104         (gst_value_can_intersect), (gst_value_subtract),
4105         (gst_value_can_subtract), (gst_value_register_subtract_func),
4106         (_gst_value_initialize):
4107         * gst/gstvalue.h:
4108           add support for subtracting values from each other. Note that
4109           subtracting means subtracting as in set theory. Required for caps
4110           stuff above.
4111         * testsuite/caps/.cvsignore:
4112         * testsuite/caps/Makefile.am:
4113         * testsuite/caps/erathostenes.c: (erathostenes), (main):
4114         * testsuite/caps/sets.c: (check_caps), (main):
4115         * testsuite/caps/subtract.c: (check_caps), (main):
4116           add tests for subtraction and equality code.
4117
4118 2004-04-20  David Schleef  <ds@schleef.org>
4119
4120         * gst/autoplug/Makefile.am:  Fix some little buglets in last checkin.
4121         * gst/indexers/Makefile.am:
4122         * gst/schedulers/Makefile.am:
4123         * libs/gst/bytestream/Makefile.am:
4124         * libs/gst/control/Makefile.am:
4125         * libs/gst/getbits/Makefile.am:
4126
4127 2004-04-20  David Schleef  <ds@schleef.org>
4128
4129         * common/as-libtool.mak: Fine-tune DLL building.
4130         * configure.ac: Link plugins against libgstreamer.  Define plugindir
4131         (like gst-plugins)
4132         * examples/plugins/Makefile.am: remove plugindir
4133         * gst/autoplug/Makefile.am: DLL building fixes
4134         * gst/elements/Makefile.am: DLL building fixes.  Disable pipefilter on
4135         Windows.
4136         * gst/elements/gstelements.c: Conditionally disable pipefilter.
4137         * gst/indexers/Makefile.am: DLL building fixes
4138         * gst/schedulers/Makefile.am: DLL building fixes.
4139         * libs/gst/bytestream/Makefile.am: DLL building fixes.
4140         * libs/gst/control/Makefile.am: same
4141         * libs/gst/getbits/Makefile.am: same
4142         * testsuite/Makefile.am: New dlopen directory
4143         * testsuite/dlopen/Makefile.am: Tests to check if libgstreamer works
4144         when dlopened.
4145         * testsuite/dlopen/dlopen_gst.c: (main): same
4146         * testsuite/dlopen/loadgst.c: (do_test): same
4147
4148 2004-04-20  David Schleef  <ds@schleef.org>
4149
4150         * gst/parse/grammar.y:  Apply patch from Sebastien Cote
4151         <sc5@hermes.usherb.ca> to fix a memleak. (bug #140594)
4152
4153 2004-04-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4154
4155         * gst/gstelement.c: (gst_element_wait),
4156         (gst_element_set_time_delay), (gst_element_change_state):
4157           Use GST_TIME_*
4158
4159 2004-04-20  Benjamin Otte  <in7y118@public.uni-hamburg.de>
4160
4161         * gst/autoplug/gstspider.c: (gst_spider_link_sometimes),
4162         (gst_spider_identity_plug):
4163           improve debugging messages
4164         * gst/gstbin.c: (gst_bin_remove_func):
4165           make sure the state_change function is only called with simple state
4166           transitions
4167
4168 2004-04-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4169
4170         * gst/elements/gstfakesink.c: (gst_fakesink_state_error_get_type),
4171         (gst_fakesink_set_property), (gst_fakesink_chain):
4172         * gst/elements/gstfakesrc.c: (gst_fakesrc_set_property):
4173         * gst/elements/gstfdsrc.c: (gst_fdsrc_set_property):
4174         * gst/elements/gstfilesrc.c: (gst_filesrc_set_property):
4175         * gst/elements/gstidentity.c: (gst_identity_chain),
4176         (gst_identity_set_property):
4177         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_set_property):
4178         * gst/elements/gstpipefilter.c: (gst_pipefilter_set_property):
4179           add warnings to _set_property for unknown arguments
4180           use GST_TIME_FORMAT/GST_TIME_ARGS for timestamp printing
4181
4182 2004-04-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4183
4184         * Makefile.am:
4185         * docs/manuals.mak:
4186           add .po file download snippet
4187           fix a bug in the doc makefile
4188
4189 2004-04-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4190
4191         * Makefile.am:
4192         * po/LINGUAS:
4193         * po/en_GB.po:
4194           Added en_GB translation (Gareth Owen)
4195
4196 2004-04-20  Johan Dahlin  <johan@gnome.org>
4197
4198         * gst/gstpad.c (_invent_event): Clean up
4199
4200 2004-04-20  Benjamin Otte  <in7y118@public.uni-hamburg.de>
4201
4202         * testsuite/caps/filtercaps.c: (main):
4203           fix test to test things correctly (caps are complicated)
4204
4205 2004-04-20  Benjamin Otte  <in7y118@public.uni-hamburg.de>
4206
4207         * testsuite/caps/Makefile.am:
4208         * testsuite/caps/filtercaps.c: (main):
4209           add test (that doesn't work right now, but should)
4210
4211 2004-04-19  David Schleef  <ds@schleef.org>
4212
4213         * configure.ac: Add test for allowing unaligned access.  Add define
4214         to put in gstconfig.h.
4215         * docs/gst/gstreamer-sections.txt: New symbols
4216         * docs/gst/tmpl/gstcompat.sgml: Check in changes made by gtkdoc
4217         * docs/gst/tmpl/gstfilesrc.sgml:
4218         * docs/gst/tmpl/gstparse.sgml:
4219         * docs/gst/tmpl/gsttypes.sgml:
4220         * docs/gst/tmpl/gstutils.sgml:
4221         * docs/gst/tmpl/gstvalue.sgml:
4222         * gst/gstconfig.h.in: Add GST_HAVE_UNALIGNED_ACCESS
4223         * gst/gstutils.h: Add macros for unaligned memory access.  Useful
4224         on most !i386/!powerpc architectures.  From Daniel Gazard
4225         <daniel.gazard@free.fr>.  (bug #140156)
4226         * po/af.po: Check in changes made by gettext.
4227         * po/az.po:
4228         * po/fr.po:
4229         * po/nl.po:
4230         * po/sr.po:
4231         * po/sv.po:
4232
4233 2004-04-20  Benjamin Otte  <otte@gnome.org>
4234
4235         * gst/schedulers/entryscheduler.c: 
4236         (gst_entry_scheduler_yield):
4237           refuse to yield when decoupled elements insist on doing that.
4238           At least it's better than crashing
4239
4240 2004-04-19  David Schleef  <ds@schleef.org>
4241
4242         * docs/libs/Makefile.am: Change sinclude to include
4243         * docs/gst/Makefile.am: same
4244         * pkgconfig/Makefile.am:  Remove GNU-ism from makefile target
4245
4246 2004-04-19  Thomas Vander Stichele  <thomas at apestaart dot org>
4247
4248         * po/LINGUAS:
4249         * po/uk.po:
4250           Added Ukrainian translation (Maxim V. Dziumanenko)
4251
4252 2004-04-19  Johan Dahlin  <johan@gnome.org>
4253
4254         * gst/parse/grammar.y (__gst_parse_chain_free): Don't do null
4255         checking here, do it before calling the function.
4256         Clean up, use for loops instead of while loops while iterating
4257         over lists.
4258
4259         * gst/autoplug/gstspider.c (gst_spider_request_new_pad): Fix typo
4260         in debug message.
4261         (gst_spider_create_and_plug): Improve debug message.
4262         General: Replace while loops which iterates over GLists with for
4263         loops. Which are much cleaner, improves readability, especially
4264         for gst_spider_identity_plug
4265
4266         * gst/gstpad.c (_invent_event): Fix parameters to warning macros,
4267         fixes bug 140477
4268
4269 2004-04-18  Thomas Vander Stichele  <thomas at apestaart dot org>
4270
4271         * po/LINGUAS:
4272         * po/tr.po:
4273           Added Turkish translation (Baris Cicek)
4274
4275 2004-04-18  Ronald Bultje  <rbultje@ronald.bitfreak.net>
4276
4277         * docs/faq/troubleshooting.xml:
4278           Mention gst-register in the FAQ (fixes 139045).
4279
4280 2004-04-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4281
4282         * docs/gst/gstreamer-sections.txt:
4283
4284 2004-04-17  Benjamin Otte  <otte@gnome.org>
4285
4286         * gst/gstelement.c: (gst_element_dispose):
4287           simplify
4288         * gst/gstpad.c: (gst_pad_call_chain_function):
4289           don't create loads of events due to bad macro usage
4290
4291 2004-04-16  David Schleef  <ds@schleef.org>
4292
4293         * gst/gstcaps.c: (gst_caps_is_fixed_foreach):
4294         * gst/gstpad.c: (_gst_pad_default_fixate_foreach):
4295         * gst/gstvalue.c: (gst_value_serialize_buffer),
4296         (gst_value_deserialize_buffer), (gst_type_is_fixed),
4297         (_gst_value_initialize): Create a new function gst_type_is_fixed()
4298         to indicate types that are fixed wrt caps or not.  Switching to
4299         this function fixes (bug #140298).
4300         * gst/gstvalue.h:
4301
4302 2004-04-16  David Schleef  <ds@schleef.org>
4303
4304         * common/m4/gst-arch.m4:  Implmenent a whitelist and blacklist
4305         for GST_UNALIGNED_ACESS, since we essentially know which archs
4306         are ok.
4307
4308 2004-04-17  Benjamin Otte  <otte@gnome.org>
4309
4310         * docs/gst/Makefile.am:
4311           ignore gst/parse directory when building docs (fixes #140205)
4312
4313 2004-04-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4314
4315         * testsuite/refcounting/mem.c: (vmsize):
4316           do error checking
4317
4318 2004-04-16  Johan Dahlin  <johan@gnome.org>
4319
4320         * docs/gst/gstreamer-sections.txt: Add gst_pad_call_chain_function
4321         and gst_pad_call_get_function.
4322
4323 2004-04-15  David Schleef  <ds@schleef.org>
4324
4325         * common/m4/gst-arch.m4: Add GST_UNALIGNED_ACCESS() macro that
4326         checks if we can access unaligned memory.
4327         * configure.ac: Use it.
4328
4329 2004-04-16  Benjamin Otte  <otte@gnome.org>
4330
4331         * gst/elements/gstfilesrc.c: (gst_filesrc_init), (gst_filesrc_get),
4332         (gst_filesrc_change_state), (gst_filesrc_srcpad_event):
4333         * gst/elements/gstfilesrc.h:
4334           s/seek_happened/need_discont/ and require discont before sending any
4335           data
4336
4337 2004-04-15  David Schleef  <ds@schleef.org>
4338
4339         * gst/gstvalue.c: (gst_value_serialize_buffer),
4340         (gst_value_deserialize_buffer), (_gst_value_initialize):
4341         Register these types as fundamental types. (bug #140015)
4342
4343 2004-04-16  Benjamin Otte  <otte@gnome.org>
4344
4345         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_new),
4346         (gst_pad_link_free), (gst_pad_link_try), (_invent_event),
4347         (gst_pad_pull):
4348           implement enforcing discont events before buffers are passed. This
4349           allows state changes of only some elements and later correctly going
4350           on where they left off (or in short: you can now set audio sinks to
4351           NULL to release the device when the pipeline is paused)
4352         * gst/gstpad.c: (gst_pad_call_chain_function),
4353         (gst_pad_call_get_function):
4354         * gst/gstpad.h:
4355           add gst_pad_call_chain_function and gst_pad_call_get_function for
4356           scheduler interaction. They are required because of the changes
4357           above.
4358         * gst/schedulers/entryscheduler.c: (get_buffer),
4359         (gst_entry_scheduler_chain_wrapper),
4360         (gst_entry_scheduler_get_wrapper),
4361         (gst_entry_scheduler_state_transition),
4362         (gst_entry_scheduler_pad_link):
4363         * gst/schedulers/gstbasicscheduler.c:
4364         (gst_basic_scheduler_chain_wrapper),
4365         (gst_basic_scheduler_src_wrapper),
4366         (gst_basic_scheduler_chainhandler_proxy),
4367         (gst_basic_scheduler_gethandler_proxy),
4368         (gst_basic_scheduler_cothreaded_chain),
4369         (gst_basic_scheduler_chain_elements):
4370         * gst/schedulers/gstoptimalscheduler.c:
4371         (get_group_schedule_function), (pad_clear_queued),
4372         (gst_opt_scheduler_pad_link):
4373           use the new functions instead of calling get/chain-functions
4374           directly.
4375
4376 2004-04-15  David Schleef  <ds@schleef.org>
4377
4378         * docs/gst/gstreamer-sections.txt: Remove deprecated symbols.
4379         * docs/gst/tmpl/gstinfo.sgml: same
4380         * docs/gst/tmpl/gstutils.sgml: Remove a bunch of bogus crap that
4381         gtk-doc put here.
4382         * gst/gstutils.h: Remove the \ that was confusing gtk-doc.
4383         * examples/queue/queue.c: (main):  We iterate pipelines, not
4384         bins.  (bug #139996)
4385
4386 2004-04-15  Ronald Bultje  <rbultje@ronald.bitfreak.net>
4387
4388         * docs/pwg/advanced-types.xml:
4389           Add MS RLE support. Also document Qt RLE although I have no sample
4390           files for that yet. And document an extra property for ADPCM.
4391
4392 2004-04-15  David Schleef  <ds@schleef.org>
4393
4394         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore),
4395         (_gst_plugin_fault_handler_setup):  Disable more stuff on
4396         Windows.
4397
4398 2004-04-15  David Schleef  <ds@schleef.org>
4399
4400         * gst/gstinfo.c: (_gst_debug_init): Change some internal
4401         symbol names to not conflict with new gstinfo.h symbols.
4402         * gst/gstinfo.h: Add inline functions for all those crazy
4403         compilers that don't know how to handle variadic macros (MSVC).
4404
4405 2004-04-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4406
4407         * configure.ac: bump nano to 1
4408
4409 === release 0.8.1 ===
4410
4411 2004-04-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4412
4413         * NEWS:
4414         * RELEASE:
4415         * configure.ac:
4416           releasing 0.8.1, "Snow Brigade"
4417
4418 2004-04-14  David Schleef  <ds@schleef.org>
4419
4420         * testsuite/Makefile.am: define tests_ignore
4421         * testsuite/Rules: Added new tests_ignore, which get compiled,
4422         but not run (generally because they're inconsistent or have
4423         heisenbugs).  Now we can ensure all the .c files compile in
4424         testsuite/.
4425         * testsuite/bins/Makefile.am: define tests_ignore
4426         * testsuite/bytestream/Makefile.am:
4427         * testsuite/caps/Makefile.am:
4428         * testsuite/clock/Makefile.am:
4429         * testsuite/debug/Makefile.am:
4430         * testsuite/debug/global.c: (gst_debug_log_one),
4431         (gst_debug_log_two): Fix compilation problem.
4432         * testsuite/dynparams/Makefile.am:
4433         * testsuite/elements/Makefile.am:
4434         * testsuite/ghostpads/Makefile.am:
4435         * testsuite/indexers/Makefile.am:
4436         * testsuite/parse/Makefile.am:
4437         * testsuite/plugin/Makefile.am:
4438         * testsuite/refcounting/Makefile.am:
4439         * testsuite/refcounting/element_pad.c: (main): Don't return leak
4440         results, because it's not calculated correctly.
4441         * testsuite/refcounting/pad.c: (main): same
4442         * testsuite/states/Makefile.am:
4443         * testsuite/tags/Makefile.am:
4444         * testsuite/threads/Makefile.am:
4445
4446 2004-04-14  David Schleef  <ds@schleef.org>
4447
4448         * gst/gstcpu.c: (gst_cpuid_i386): Add workaround for gcc-3.2
4449         generating bad code around the cpu detection asm code.
4450
4451 2004-04-14  Thomas Vander Stichele  <thomas at apestaart dot org>
4452
4453         * tools/gst-inspect.c: (print_element_info):
4454           print numeric version of rank as well, since we added some - 1
4455           rank values to elements
4456
4457 2004-04-13  David Schleef  <ds@schleef.org>
4458
4459         * configure.ac:  Disable various code when compiling for MinGW.
4460         * gst/elements/Makefile.am:
4461         * gst/elements/gstelements.c:
4462         * gst/elements/gstfdsrc.c: (gst_fdsrc_get):
4463         * gst/elements/gstfilesrc.c: (gst_filesrc_init), (gst_filesrc_get):
4464         * gst/registries/gstxmlregistry.c: (make_dir):
4465
4466 2004-04-13  David Schleef  <ds@schleef.org>
4467
4468         * gst/Makefile.am:
4469         * gst/gstcpu.c: (gst_cpuid_i386): Convert asm source into inline
4470         assembly.
4471         * gst/gstcpuid_i386.s: remove
4472
4473 2004-04-13  David Schleef  <ds@schleef.org>
4474
4475         * docs/gst/tmpl/gstaggregator.sgml: Random checkin because gtk-doc
4476         seems to think it needs to be done.
4477         * docs/gst/tmpl/gstfakesink.sgml:
4478         * docs/gst/tmpl/gstfakesrc.sgml:
4479         * docs/gst/tmpl/gstfdsink.sgml:
4480         * docs/gst/tmpl/gstfdsrc.sgml:
4481         * docs/gst/tmpl/gstfilesink.sgml:
4482         * docs/gst/tmpl/gstfilesrc.sgml:
4483         * docs/gst/tmpl/gstidentity.sgml:
4484         * docs/gst/tmpl/gstmd5sink.sgml:
4485         * docs/gst/tmpl/gstmultifilesrc.sgml:
4486         * docs/gst/tmpl/gstpipefilter.sgml:
4487         * docs/gst/tmpl/gstshaper.sgml:
4488         * docs/gst/tmpl/gstspider.sgml:
4489         * docs/gst/tmpl/gstspideridentity.sgml:
4490         * docs/gst/tmpl/gststatistics.sgml:
4491         * docs/gst/tmpl/gsttee.sgml:
4492         * docs/gst/tmpl/gsttypefind.sgml:
4493         * docs/gst/tmpl/gstutils.sgml:
4494
4495 2004-04-13  David Schleef  <ds@schleef.org>
4496
4497         * configure.ac: Changes to remove POSIXisms (mmap in this case)
4498         and to build DLLs on Windows.
4499         * gst/Makefile.am:
4500         * gst/elements/gstfilesrc.c: (gst_filesrc_get),
4501         (gst_filesrc_open_file):
4502         * gst/schedulers/Makefile.am:
4503
4504 2004-04-13  David Schleef  <ds@schleef.org>
4505
4506         * gst/gstcaps.c: (gst_caps_structure_fixate_field_nearest_int),
4507         (gst_caps_structure_fixate_field_nearest_double):  Fix bug in
4508         fixating lists.
4509
4510 2004-04-12  David Schleef  <ds@schleef.org>
4511
4512         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
4513         (gst_buffer_free_chunk): Added gst_buffer_get_type() and changed
4514         to using it.
4515         * gst/gstbuffer.h: Changed GST_BUFFER_TYPE to gst_buffer_get_type()
4516         * gst/gstcaps.c: (gst_caps_is_fixed_foreach): Buffer is a fixed type
4517         * gst/gstpad.c: (_gst_pad_default_fixate_foreach): same
4518         * gst/gststructure.c: (gst_structure_set_valist),
4519         (gst_structure_from_abbr), (gst_structure_to_abbr): Add vararg
4520         support for buffers.
4521         * gst/gsttag.c: (gst_tag_register): Constify a prototype that was
4522         intended to be const.
4523         * gst/gsttag.h: same
4524         * gst/gstvalue.c: (gst_value_serialize_buffer),
4525         (gst_value_deserialize_buffer), (_gst_value_initialize):  Add code
4526         to (de)serialize buffers.
4527         * testsuite/caps/Makefile.am:  Add a bit of buffer testing
4528         * testsuite/caps/string-conversions.c: (main):
4529         * testsuite/caps/value_serialize.c: add new test
4530
4531 2004-04-11  Ronald Bultje  <rbultje@ronald.bitfreak.net>
4532
4533         * docs/pwg/advanced-types.xml:
4534           Document MS video 1 (video/x-msvideocodec) mimetype/format.
4535
4536 2004-04-11  Benjamin Otte  <otte@gnome.org>
4537
4538         * gst/schedulers/gstbasicscheduler.c: (plugin_init):
4539           rename categories to basic_*
4540         * gst/schedulers/gstbasicscheduler.c: 
4541         (gst_basic_scheduler_chain_wrapper),
4542         (gst_basic_scheduler_chainhandler_proxy),
4543         (gst_basic_scheduler_gethandler_proxy),
4544         (gst_basic_scheduler_eventhandler_proxy):
4545           debugging category fixes - put common stuff in log category
4546         * gst/schedulers/gstbasicscheduler.c: 
4547         (gst_basic_scheduler_chain_elements):
4548           dirty fix: call gst_basic_scheduler_cothreaded_chain when already
4549           active and linking two active chains
4550
4551 2004-04-10  Benjamin Otte  <otte@gnome.org>
4552
4553         * docs/pwg/intro-preface.xml:
4554           fix dead links and remove reference to Wiki
4555
4556 2004-04-10  Benjamin Otte  <in7y118@public.uni-hamburg.de>
4557
4558         * gst/schedulers/gstbasicscheduler.c:
4559           make sure we can switch back to the main function if we're still in
4560           the main function (supposed to fix #139617)
4561         * gst/schedulers/gthread-cothreads.h:
4562           don't throw an error when switching to the same cothread
4563
4564 2004-04-09  Benjamin Otte  <otte@gnome.org>
4565
4566         * gst/gstbin.c: (gst_bin_get_type):
4567         * gst/gstclock.c: (gst_clock_get_type):
4568         * gst/gstindex.c: (gst_index_get_type):
4569         * gst/gstobject.c: (gst_object_get_type),
4570         (gst_signal_object_get_type):
4571         * gst/gstpad.c: (gst_pad_get_type), (gst_real_pad_get_type),
4572         (gst_pad_template_get_type), (gst_ghost_pad_get_type):
4573         * gst/gstpluginfeature.c: (gst_plugin_feature_get_type):
4574         * gst/gstqueue.c: (gst_queue_get_type):
4575         * gst/gstregistry.c: (gst_registry_get_type):
4576         * gst/gstsystemclock.c: (gst_system_clock_get_type):
4577         * gst/gstthread.c: (gst_thread_get_type):
4578           don't use memchunks for these objects, use malloc instead
4579
4580 2004-04-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4581
4582         * docs/gst/.cvsignore:
4583         * docs/gst/Makefile.am:
4584         * docs/gst/gstreamer-sections.txt:
4585         * docs/gst/tmpl/gstaggregator.sgml:
4586         * docs/gst/tmpl/gstbuffer.sgml:
4587         * docs/gst/tmpl/gstclock.sgml:
4588         * docs/gst/tmpl/gstelement.sgml:
4589         * docs/gst/tmpl/gstfakesink.sgml:
4590         * docs/gst/tmpl/gstfakesrc.sgml:
4591         * docs/gst/tmpl/gstfdsink.sgml:
4592         * docs/gst/tmpl/gstfdsrc.sgml:
4593         * docs/gst/tmpl/gstfilesink.sgml:
4594         * docs/gst/tmpl/gstfilesrc.sgml:
4595         * docs/gst/tmpl/gstidentity.sgml:
4596         * docs/gst/tmpl/gstindex.sgml:
4597         * docs/gst/tmpl/gstinfo.sgml:
4598         * docs/gst/tmpl/gstmd5sink.sgml:
4599         * docs/gst/tmpl/gstmultifilesrc.sgml:
4600         * docs/gst/tmpl/gstpad.sgml:
4601         * docs/gst/tmpl/gstpipefilter.sgml:
4602         * docs/gst/tmpl/gstpipeline.sgml:
4603         * docs/gst/tmpl/gstpluginfeature.sgml:
4604         * docs/gst/tmpl/gstqueue.sgml:
4605         * docs/gst/tmpl/gstregistry.sgml:
4606         * docs/gst/tmpl/gstscheduler.sgml:
4607         * docs/gst/tmpl/gstshaper.sgml:
4608         * docs/gst/tmpl/gstspider.sgml:
4609         * docs/gst/tmpl/gstspideridentity.sgml:
4610         * docs/gst/tmpl/gststatistics.sgml:
4611         * docs/gst/tmpl/gstsystemclock.sgml:
4612         * docs/gst/tmpl/gsttee.sgml:
4613         * docs/gst/tmpl/gstthread.sgml:
4614         * docs/gst/tmpl/gsttypefind.sgml:
4615         * docs/gst/tmpl/gstutils.sgml:
4616           further doc build fixes
4617
4618 2004-04-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4619
4620         * docs/gst/Makefile.am:
4621           make docs exit on scanning problems
4622           fix nonsrcdir build issues
4623         * docs/gst/gstreamer-sections.txt:
4624           adding stuff from -unused
4625         * gst/gstqueue.h:
4626           create GstQueueSize
4627         * gst/schedulers/cothreads_compat.h:
4628           fix cothread warnings
4629
4630 2004-04-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4631
4632         * docs/gst/gstreamer-sections.txt:
4633           remove defines deprecated by Benjamin
4634
4635 2004-04-07  Benjamin Otte  <otte@gnome.org>
4636
4637         * gst/elements/gstbufferstore.c: (gst_buffer_store_get_buffer):
4638           when the buffer is complete, don't check if other buffers are needed
4639         * gst/elements/gstfilesrc.c: (gst_filesrc_srcpad_event):
4640           check that the offset is >0 so we don't try to read before the
4641           beginning of the file
4642         * gst/gstpad.c: (gst_pad_set_pad_template):
4643           sink the template, so we don't end up with 130k pad templates
4644
4645 2004-04-06  Benjamin Otte  <otte@gnome.org>
4646
4647         * gst/autoplug/gstspider.c: (gst_spider_link_add):
4648           don't ref the element, adding already reffed it. And we didn't unref
4649           it later anyway... (huge memleak when you used many spider elements)
4650         * gst/gstelement.c: (gst_element_base_class_finalize):
4651         * gst/gstelementfactory.c: (gst_element_factory_cleanup),
4652         (gst_element_register):
4653         * gst/gsturi.c: (gst_element_make_from_uri):
4654           use gst_object_(un)ref instead of g_object(un)ref
4655
4656 2004-04-06  Benjamin Otte  <in7y118@public.uni-hamburg.de>
4657
4658         * gst/gstbuffer.h:
4659           remove macro that wouldn't work anymore because struct member has
4660           been removed.
4661         * gst/schedulers/entryscheduler.c: (schedule_forward):
4662           fix segfault for unconnected pads
4663         
4664 2004-04-06  Benjamin Otte  <in7y118@public.uni-hamburg.de>
4665
4666         reviewed by David Schleef <ds@schleef.org>
4667
4668         * gst/gstinfo.h:
4669           *_FORMAT modifiers should require putting a % in front of them for
4670           consistency reasons.
4671
4672 2004-04-05  Colin Walters  <walters@redhat.com>
4673
4674         * configure.ac (VALGRIND_CFLAGS, VALGRIND_LIBS): Remove spurious
4675         space.
4676
4677 2004-04-05  Benjamin Otte  <otte@gnome.org>
4678
4679         * configure.ac:
4680         * gst/Makefile.am:
4681         * gst/gst_private.h:
4682         * gst/gstinfo.c: (__gst_in_valgrind), (_gst_debug_init):
4683           add support for detecting if GStreamer runs inside valgrind.
4684           requires valgrind (d'oh) and --enable-debug for correct cdetection.
4685           print a big message in valgrind that GStreamer has detected it's
4686           running inside and might now use different code.
4687         * gst/gstmemchunk.c: (populate), (free_area),
4688         (gst_mem_chunk_destroy), (gst_mem_chunk_alloc),
4689         (gst_mem_chunk_free):
4690           flag memchunks for valgrind, so it can detect leaking of chunks.
4691           This allows detecting leaks of GstBuffer and GstEvent correctly
4692           inside valgrind.
4693
4694 2004-04-05  David Schleef  <ds@schleef.org>
4695
4696         * gst/gsttrace.h:  Fix #ifdef nesting (bug #139109) Patch from
4697           jensgr@gmx.net (Jens Granseuer)
4698
4699 2004-04-05  David Schleef  <ds@schleef.org>
4700
4701         * gst/gstbuffer.c: (_gst_buffer_sub_free),
4702         (gst_buffer_default_free), (gst_buffer_default_copy),
4703         (gst_buffer_alloc_chunk), (gst_buffer_free_chunk),
4704         (gst_buffer_new), (gst_buffer_create_sub):  Allocate GstBuffer
4705         structures in one place.
4706
4707 2004-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4708
4709         * gst/gstinfo.h: adding Ronald's timestamp debugging defines
4710           (GST_TIME_FORMAT, GST_TIME_ARGS)
4711
4712 2004-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4713
4714         * testsuite/elements/Makefile.am:
4715           disable test until it stops breaking make distcheck
4716
4717 2004-04-05  Johan Dahlin  <johan@gnome.org>
4718
4719         * po/sv.po: Updated translation
4720
4721 2004-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4722
4723         * gst/gstplugin.c: (gst_plugin_load_file):
4724           fix segfault for when original plugin was loaded statically
4725
4726 2004-04-05  Benjamin Otte  <otte@gnome.org>
4727
4728         * testsuite/debug/category.c: (main):
4729         * testsuite/debug/commandline.c: (main):
4730         * testsuite/debug/output.c: (main):
4731           fix tests to work again with debugging enabled
4732
4733 2004-04-05  Benjamin Otte  <otte@gnome.org>
4734
4735         * gst/schedulers/gstbasicscheduler.c:
4736         (gst_basic_scheduler_pad_link):
4737           fix to work with recent scheduling changes
4738
4739 2004-04-05  Benjamin Otte  <otte@gnome.org>
4740
4741         * gst/schedulers/entryscheduler.c: (some functions, dunno which,
4742         prepareChangeLog doesn't work when cvs indents):
4743           don't throw an error when no element can be scheduled, there's too
4744           many weird reasons why it doesn't work. Return STOPPED instead.
4745           decoupled elemts' schedulability doesn't depend on bufpens.
4746
4747 2004-04-04  Benjamin Otte  <otte@gnome.org>
4748
4749         * gst/schedulers/gstbasicscheduler.c:
4750         (gst_basic_scheduler_pad_select):
4751           fix uninitialized variable warnings
4752
4753 2004-04-04  Benjamin Otte  <otte@gnome.org>
4754
4755         * gst/gstpad.c: (gst_pad_collect_valist):
4756           fix uninitialized variable warning
4757         * gst/schedulers/entryscheduler.c: (schedule_forward):
4758           fix shadowed variable
4759
4760 2004-04-04  Benjamin Otte  <otte@gnome.org>
4761
4762         * gst/gstpad.c: (gst_pad_collect_array), (gst_pad_collectv),
4763         (gst_pad_collect), (gst_pad_collect_valist), (gst_pad_selectv),
4764         (gst_pad_select):
4765         * gst/gstpad.h:
4766         * gst/gstscheduler.c: (gst_scheduler_pad_select),
4767         (gst_scheduler_lock_element), (gst_scheduler_unlock_element):
4768         * gst/gstscheduler.h:
4769           implement gst_pad_collect as replacement for gst_pad_select.
4770           deprecate gst_pad_select and gst_scheduler_(un)lock_element
4771           add new flag GST_SCHEDULER_FLAG_NEW_API for API that implements the
4772           new pad_select, lock and unlock calls.
4773         * gst/cothreads.c: (cothread_destroy), (cothread_switch):
4774         * gst/cothreads.h:
4775         * gst/schedulers/cothreads_compat.h:
4776         * gst/schedulers/gthread-cothreads.h:
4777           remove unused cothread_lock and cothread_unlock calls
4778         * gst/schedulers/entryscheduler.c:
4779         (gst_entry_scheduler_class_init), (gst_entry_scheduler_init),
4780         (_can_schedule_loop), (gst_entry_scheduler_get_handler),
4781         (gst_entry_scheduler_pad_select):
4782           update to new API
4783         * gst/schedulers/gstbasicscheduler.c:
4784         (gst_basic_scheduler_class_init), (gst_basic_scheduler_init),
4785         (gst_basic_scheduler_pad_select):
4786           remove useless lock and unlock calls, update pad_select to new API
4787           (untested)
4788         * gst/schedulers/gstoptimalscheduler.c:
4789         (gst_opt_scheduler_class_init):
4790           remove useless select, lock and unlock function calls
4791         * gst/elements/gstaggregator.c: (gst_aggregator_loop):
4792           use gst_pad_collect instead of gst_pad_select
4793
4794 2004-04-04  Benjamin Otte  <otte@gnome.org>
4795
4796         * gst/schedulers/entryscheduler.c: (_can_schedule_get),
4797         (can_schedule_pad), (can_schedule), (schedule), (schedule_forward),
4798         (schedule_next_element), (print_entry):
4799           add can_schedule_pad to handle element states.
4800           add schedule_forward to select the correct entry to schedule next
4801
4802 2004-04-03  Benjamin Otte  <otte@gnome.org>
4803
4804         * gst/schedulers/entryscheduler.c: 
4805           remove unused variable, fix error inside Rb, fix compile warning in
4806           unreachable code
4807
4808 2004-04-03  Benjamin Otte  <otte@gnome.org>
4809
4810         * gst/schedulers/entryscheduler.c:
4811           completely revamp the inner workings, so it's a lot easier to
4812           understand and extend
4813
4814 2004-04-03  Andy Wingo  <wingo@pobox.com>
4815
4816         * gst/schedulers/gstoptimalscheduler.c (GstOptSchedulerGroupLink):
4817         Rename ->group1 and ->group2 to ->src and ->sink, respectively.
4818         This allows better introspection of pipeline topology.
4819         (add_to_chain): Don't do trickery to put loop elements first;
4820         rather, queue a chain sort by marking the chain as dirty.
4821         (remove_from_chain): Mark the chain dirty.
4822         (sort_chain): New function. Sorts the group list so that terminal
4823         sinks are first. This means elements on the sink side will be
4824         preferentially sscheduled before elements on the src side of the
4825         pipeline.
4826         (chain_recursively_migrate_group): Use OTHER_GROUP_LINK.
4827         (schedule_chain): If the chain is marked DIRTY, call sort_chain.
4828         (gst_opt_scheduler_pad_link, gst_opt_scheduler_pad_unlink)
4829         (group_inc_link): Change argument and variable names to match the
4830         new link structure member names (src and sink).
4831         (group_dec_link): Add some description
4832
4833 2004-04-03  Benjamin Otte  <otte@gnome.org>
4834
4835         * gst/autoplug/gstspider.c: (gst_spider_identity_plug):
4836         * gst/gstinfo.h:
4837         * testsuite/debug/category.c: (main):
4838         * testsuite/debug/commandline.c: (main):
4839         * testsuite/debug/output.c: (main):
4840         * testsuite/debug/printf_extension.c: (main):
4841           fix to successfully build and test with --disable-gst-debug
4842           configure switch (fixes #138705)
4843
4844 2004-04-03  Benjamin Otte  <otte@gnome.org>
4845
4846         * docs/pwg/building-boiler.xml:
4847           add cvs login line and s/anonymous/anoncvs/
4848
4849 2004-04-03  Tim-Phillip Müller  <t.i.m@zen.co.uk>
4850
4851         reviewed by Benjamin Otte  <otte@gnome.org>
4852
4853         * gst/gststructure.c: (gst_structure_free):
4854           memleak fix: free fields array (partial fix for #134839)
4855
4856 2004-04-01  Ronald Bultje  <rbultje@ronald.bitfreak.net>
4857
4858         * docs/random/ds/0.9-suggested-changes:
4859           Add a note to change handoff use in fakesrc to be usable in
4860           a more generic way (fakesrc should be renamed to appsrc or so).
4861         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
4862           Change signal type to scope, so we can fill the buffer in the
4863           handoff handler (that's the whole use of this signal...).
4864
4865 2004-04-01  Ronald Bultje  <rbultje@ronald.bitfreak.net>
4866
4867         * docs/pwg/other-ntoone.xml:
4868           Document muxers and n-to-1 elements.
4869
4870 2004-04-01  Martin Soto  <martinsoto@users.sourceforge.net>
4871
4872         * gst/registries/gstxmlregistry.c
4873         (gst_xml_registry_rebuild_recurse): Fix the algorithm to
4874         determine if a file is a G_MODULE. The old one discards paths
4875         containing "so" somewhere in the middle. My home directory is
4876         called "soto". Go figure...
4877
4878 2004-03-31  David Schleef  <ds@schleef.org>
4879
4880         * gst/gstbuffer.c: (gst_buffer_join):  Add function gst_buffer_join()
4881         to eventually deprecate gst_buffer_merge().  (bug: #136408)
4882         * gst/gstbuffer.h:
4883
4884 2004-03-31  David Schleef  <ds@schleef.org>
4885
4886         * gst/gstvalue.c: (gst_value_union_int_int_range),
4887         (gst_value_union_int_range_int_range), (gst_value_can_union),
4888         (gst_value_union), (_gst_value_initialize):  Add some union
4889         implementations.  We didn't have any previously.
4890         * testsuite/caps/Makefile.am:
4891         * testsuite/caps/audioscale.c: (gst_audioscale_expand_value),
4892         (gst_audioscale_getcaps), (test_caps), (main): A little test
4893         that is the same as the caps manipulation in audioscale.
4894
4895 2004-03-30  Benjamin Otte  <in7y118@public.uni-hamburg.de>
4896
4897         * docs/faq/general.xml:
4898           add entry about "does gst support format X?"
4899
4900 2004-03-30  Benjamin Otte  <in7y118@public.uni-hamburg.de>
4901
4902         * gst/gstthread.c:
4903           fix docs
4904         * gst/gstutils.h:
4905           fix GST_BOILERPLATE_FULL to not throw casting errors on C++
4906
4907 2004-03-30  Benjamin Otte  <otte@gnome.org>
4908
4909         * gst/elements/gstbufferstore.c: (gst_buffer_store_get_buffer):
4910           set the offset of the buffer to the requested offset
4911         * gst/elements/gsttypefind.c: (stop_typefinding):
4912           revert patch 1.18 (which I unfortunately don't know the reason for).
4913           This is needed to allow downstream elements to seek. Otherwise
4914           typefind might overwrite a previous seek by downstream elements.
4915           This lead to errors with id3tag and typefind on some mp3s.
4916         * gst/schedulers/entryscheduler.c: (COTHREADS_TYPE),
4917         (gst_entry_scheduler_iterate):
4918           be more verbose when debugging
4919
4920 2004-03-30  Thomas Vander Stichele  <thomas at apestaart dot org>
4921
4922         * gst/gstcaps.c: (gst_caps_from_string_inplace):
4923           make sure we don't get NULL strings
4924
4925 2004-03-30  Thomas Vander Stichele  <thomas at apestaart dot org>
4926
4927         * gst/gstcaps.c:
4928         * gst/gstelement.c:
4929         * gst/gstelementfactory.c: (gst_element_factory_get_type):
4930         * gst/gstindex.c: (gst_index_resolver_get_type),
4931         (gst_index_get_type), (gst_index_factory_get_type):
4932         * gst/gstinfo.c:
4933         * gst/gstpad.c:
4934         * gst/gstplugin.c:
4935         * gst/gsturi.c: (gst_uri_handler_get_type):
4936         * gst/gstvalue.c:
4937           first batch of documentation fixes
4938
4939 2004-03-29  David Schleef  <ds@schleef.org>
4940
4941         * docs/gst/Makefile.am:  Disable a bunch of headers from being scanned
4942         * docs/gst/gstreamer-docs.sgml:  More hacking
4943         * docs/gst/gstreamer-sections.txt:
4944         * docs/gst/tmpl/cothreads_compat.sgml:
4945         * docs/gst/tmpl/gstcaps.sgml:
4946         * docs/gst/tmpl/gstclock.sgml:
4947         * docs/gst/tmpl/gstelement.sgml:
4948         * docs/gst/tmpl/gstevent.sgml:
4949         * docs/gst/tmpl/gstpad.sgml:
4950         * docs/gst/tmpl/gstutils.sgml:
4951         * docs/gst/tmpl/gstxml.sgml:
4952         * docs/gst/tmpl/gthread-cothreads.sgml:
4953         * docs/random/ds/0.9-suggested-changes:
4954         * gst/elements/gstfakesink.h: doc fixes
4955         * gst/elements/gstfakesrc.h: doc fixes
4956         * gst/gstcaps.c: doc fixes
4957         * gst/gstcaps.h: doc fixes
4958         * gst/gstelement.c: doc fixes
4959         * gst/gstelement.h: doc fixes
4960         * gst/gstindex.c: doc fixes
4961         * gst/gstinfo.c: doc fixes
4962         * gst/gstpad.c: doc fixes
4963         * gst/gstpad.h: doc fixes
4964         * gst/gstplugin.c: doc fixes
4965         * gst/gsttypefind.h: doc fixes
4966         * gst/gsturi.c: doc fixes
4967         * gst/gstvalue.c: doc fixes
4968
4969 2004-03-29  Colin Walters  <walters@redhat.com>
4970
4971         * gst/registries/gstxmlregistry.c (get_time)
4972         (plugin_times_older_than_recurse):
4973         Use the result of stat to determine whether a path is a file,
4974         so we don't attempt to opendir() files.
4975
4976 2004-03-29  Benjamin Otte  <otte@gnome.org>
4977
4978         * gst/gstpad.c: (gst_pad_set_explicit_caps):
4979           print caps in debugging output when setting caps failed
4980         * gst/schedulers/entryscheduler.c: (COTHREADS_TYPE),
4981         (schedule_next_element), (get_buffer), (run_chainhandler),
4982         (element_may_start), (gst_entry_scheduler_chain_handler),
4983         (gst_entry_scheduler_get_handler),
4984         (gst_entry_scheduler_state_transition),
4985         (gst_entry_scheduler_pad_link):
4986           make this scheduler a testcase for mandatory
4987           discont-before-first-buffer which is needed if we want to allow apps
4988           to release the sound device.
4989           add SCHED_ASSERT macro to print scheduler state before an assertion
4990           triggers.
4991
4992 2004-03-29  Benjamin Otte  <otte@gnome.org>
4993
4994         * COPYING:
4995           replace by LGPL (former COPYING.LIB). The core is completely
4996           licensed LGPL.
4997         * COPYING.LIB:
4998           remove
4999
5000 2004-03-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5001
5002         * po/af.po:
5003         * po/sv.po:
5004           updated Afrikaans and Swedish
5005
5006 2004-03-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5007
5008         * po/LINGUAS:
5009         * po/az.po:
5010           adding Azerbaijani (Mətin Əmirov)
5011
5012 2004-03-28  Martin Soto  <martinsoto@users.sourceforge.net>
5013
5014         * gst/gstelement.h: 
5015         * gst/gstelement.c (gst_element_set_time_delay): New function for
5016         setting element time taking into account a hardware buffering
5017         delay.
5018         (gst_element_set_time): Now just an invocation of
5019         gst_element_set_time_delay.
5020         * gst/gstclock.h: 
5021         * gst/gstclock.c (gst_clock_get_event_time_delay): New function
5022         allowing to set event times in the future.
5023         (gst_clock_get_event_time): Now just an invocation of
5024         gst_clock_get_event_time_delay.
5025
5026 2004-03-28  Benjamin Otte  <otte@gnome.org>
5027
5028         * gst/gstbin.c: (gst_bin_set_element_sched),
5029         (gst_bin_unset_element_sched):
5030           don't add decoupled elements to schedulers - otherwise it's
5031           impossible to control if a link to a decoupled element was already
5032           removed from a scheduler or not.
5033         * gst/schedulers/cothreads_compat.h:
5034         * gst/schedulers/gthread-cothreads.h:
5035           add COTHREADS_TYPE macro. Make do_cothread_set_func a macro so there
5036           is no "unused" warning.
5037         * gst/schedulers/Makefile.am:
5038         * gst/schedulers/entryscheduler.c:
5039           add new scheduler, based on ideas from talking to David and Martin.
5040           It's supposed to be small and correct. Currently it's also slow (but
5041           it's not noticable)
5042         * examples/retag/retag.c: (main):
5043         * testsuite/bytestream/test1.c: (main):
5044           fix missing NULLs at end of variadic functions
5045         * testsuite/elements/.cvsignore:
5046           update
5047
5048 2004-03-28  Jan Schmidt  <thaytan@mad.scientist.com>
5049
5050         * gst/gstevent.h:
5051         Added GST_EVENT_ANY for GstEvents that pass a GstStructure
5052
5053 2004-03-25  David Schleef  <ds@schleef.org>
5054
5055         * docs/gst/gstreamer-sections.txt:  More doc hacking.
5056         * docs/gst/tmpl/gstaggregator.sgml:
5057         * docs/gst/tmpl/gstautoplugfactory.sgml:
5058         * docs/gst/tmpl/gstbin.sgml:
5059         * docs/gst/tmpl/gstbuffer.sgml:
5060         * docs/gst/tmpl/gstbufferstore.sgml:
5061         * docs/gst/tmpl/gstfakesink.sgml:
5062         * docs/gst/tmpl/gstfakesrc.sgml:
5063         * docs/gst/tmpl/gstmd5sink.sgml:
5064         * docs/gst/tmpl/gstreamer-unused.sgml:
5065         * docs/gst/tmpl/gstsearchfuncs.sgml:
5066         * docs/gst/tmpl/gstshaper.sgml:
5067         * docs/gst/tmpl/gstspider.sgml:
5068         * docs/gst/tmpl/gsttee.sgml:
5069         * docs/gst/tmpl/gstutils.sgml:
5070         * docs/gst/tmpl/gstvalue.sgml:
5071         * docs/gst/tmpl/gstxml.sgml:
5072         * gst/Makefile.am:  Remove gstthreaddummy.c.  It never worked,
5073         and we don't support it.
5074         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
5075         (gst_use_threads), (gst_has_threads): same
5076         * gst/gstthreaddummy.c: same
5077         * gst/autoplug/gstspider.c: Make gst_spider_details static.
5078         * gst/autoplug/gstspider.h: same
5079         * gst/elements/gstaggregator.h: Remove bogus function from header
5080         * gst/elements/gstfakesink.h: same
5081         * gst/elements/gstfakesrc.h: same
5082         * gst/elements/gstmd5sink.h: same
5083         * gst/elements/gstshaper.h: same
5084         * gst/elements/gsttee.h: same
5085         * gst/gstbin.c: doc fixes
5086         * gst/gstbin.h: Remove unused definition.
5087         * gst/gstbuffer.c: doc fixes
5088         * gst/gstcaps.c: (gst_caps_is_always_compatible): doc fixes
5089         * gst/gstfilter.c: doc fixes
5090         * gst/gsttag.c: doc fixes
5091         * gst/gstvalue.c: doc fixes
5092
5093 2004-03-25  Ronald Bultje  <rbultje@ronald.bitfreak.net>
5094
5095         * docs/pwg/advanced-types.xml:
5096           Document typefinding.
5097         * docs/pwg/other-oneton.xml:
5098           Document one-to-n elements, demuxers and parsers.
5099
5100 2004-03-25  Tim-Philipp Müller <t.i.m@zen.co.uk>
5101
5102         reviewed by: David Schleef  <ds@schleef.org>
5103
5104         * configure.ac: Check bison version (bug #127838)
5105
5106 2004-03-25  David Schleef  <ds@schleef.org>
5107
5108         * docs/gst/gstreamer-docs.sgml: More fine tuning.
5109         * docs/gst/gstreamer-sections.txt:
5110         * docs/gst/tmpl/gstautoplug.sgml:
5111         * docs/gst/tmpl/gststaticautoplug.sgml:
5112         * docs/gst/tmpl/gststaticautoplugrender.sgml:
5113         * docs/gst/tmpl/gstutils.sgml:
5114         * docs/gst/tmpl/gstxml.sgml:
5115
5116 2004-03-24  David Schleef  <ds@schleef.org>
5117
5118         * docs/gst/gstreamer-docs.sgml:  I got tired of the reference
5119         manual being such complete crap, that I decided to do major
5120         hacking of it.  This checkin replaces any fine tuning that
5121         may have been done previously, with the benefit of actually
5122         being complete for much of the API that was changed since
5123         0.6.  Further fine tuning will occur shortly.  (bug #134721)
5124         * docs/gst/gstreamer-sections.txt:
5125         * docs/gst/tmpl/GstBin.sgml:
5126         * docs/gst/tmpl/GstBuffer.sgml:
5127         * docs/gst/tmpl/GstCaps.sgml:
5128         * docs/gst/tmpl/GstClock.sgml:
5129         * docs/gst/tmpl/GstCompat.sgml:
5130         * docs/gst/tmpl/GstData.sgml:
5131         * docs/gst/tmpl/GstElement.sgml:
5132         * docs/gst/tmpl/GstEvent.sgml:
5133         * docs/gst/tmpl/GstIndex.sgml:
5134         * docs/gst/tmpl/GstStructure.sgml:
5135         * docs/gst/tmpl/GstTag.sgml:
5136         * docs/gst/tmpl/cothreads.sgml:
5137         * docs/gst/tmpl/cothreads_compat.sgml:
5138         * docs/gst/tmpl/gettext.sgml:
5139         * docs/gst/tmpl/grammar.tab.sgml:
5140         * docs/gst/tmpl/gst-i18n-app.sgml:
5141         * docs/gst/tmpl/gst-i18n-lib.sgml:
5142         * docs/gst/tmpl/gst.sgml:
5143         * docs/gst/tmpl/gst_private.sgml:
5144         * docs/gst/tmpl/gstaggregator.sgml:
5145         * docs/gst/tmpl/gstarch.sgml:
5146         * docs/gst/tmpl/gstatomic.sgml:
5147         * docs/gst/tmpl/gstatomic_impl.sgml:
5148         * docs/gst/tmpl/gstbin.sgml:
5149         * docs/gst/tmpl/gstbuffer.sgml:
5150         * docs/gst/tmpl/gstbufferstore.sgml:
5151         * docs/gst/tmpl/gstcaps.sgml:
5152         * docs/gst/tmpl/gstclock.sgml:
5153         * docs/gst/tmpl/gstcompat.sgml:
5154         * docs/gst/tmpl/gstconfig.sgml:
5155         * docs/gst/tmpl/gstcpu.sgml:
5156         * docs/gst/tmpl/gstdata.sgml:
5157         * docs/gst/tmpl/gstdata_private.sgml:
5158         * docs/gst/tmpl/gstelement.sgml:
5159         * docs/gst/tmpl/gstenumtypes.sgml:
5160         * docs/gst/tmpl/gsterror.sgml:
5161         * docs/gst/tmpl/gstevent.sgml:
5162         * docs/gst/tmpl/gstfakesink.sgml:
5163         * docs/gst/tmpl/gstfakesrc.sgml:
5164         * docs/gst/tmpl/gstfilesink.sgml:
5165         * docs/gst/tmpl/gstfilter.sgml:
5166         * docs/gst/tmpl/gstindex.sgml:
5167         * docs/gst/tmpl/gstinfo.sgml:
5168         * docs/gst/tmpl/gstinterface.sgml:
5169         * docs/gst/tmpl/gstlog.sgml:
5170         * docs/gst/tmpl/gstmacros.sgml:
5171         * docs/gst/tmpl/gstmarshal.sgml:
5172         * docs/gst/tmpl/gstmd5sink.sgml:
5173         * docs/gst/tmpl/gstmultifilesrc.sgml:
5174         * docs/gst/tmpl/gstobject.sgml:
5175         * docs/gst/tmpl/gstpad.sgml:
5176         * docs/gst/tmpl/gstparse.sgml:
5177         * docs/gst/tmpl/gstpipeline.sgml:
5178         * docs/gst/tmpl/gstplugin.sgml:
5179         * docs/gst/tmpl/gstpluginfeature.sgml:
5180         * docs/gst/tmpl/gstqueue.sgml:
5181         * docs/gst/tmpl/gstreamer-unused.sgml:
5182         * docs/gst/tmpl/gstregistry.sgml:
5183         * docs/gst/tmpl/gstregistrypool.sgml:
5184         * docs/gst/tmpl/gstscheduler.sgml:
5185         * docs/gst/tmpl/gstsearchfuncs.sgml:
5186         * docs/gst/tmpl/gstshaper.sgml:
5187         * docs/gst/tmpl/gstspider.sgml:
5188         * docs/gst/tmpl/gstspideridentity.sgml:
5189         * docs/gst/tmpl/gststructure.sgml:
5190         * docs/gst/tmpl/gstsystemclock.sgml:
5191         * docs/gst/tmpl/gsttag.sgml:
5192         * docs/gst/tmpl/gsttaginterface.sgml:
5193         * docs/gst/tmpl/gsttee.sgml:
5194         * docs/gst/tmpl/gstthread.sgml:
5195         * docs/gst/tmpl/gsttrace.sgml:
5196         * docs/gst/tmpl/gsttrashstack.sgml:
5197         * docs/gst/tmpl/gsttypefind.sgml:
5198         * docs/gst/tmpl/gsttypes.sgml:
5199         * docs/gst/tmpl/gsturi.sgml:
5200         * docs/gst/tmpl/gsturitype.sgml:
5201         * docs/gst/tmpl/gstutils.sgml:
5202         * docs/gst/tmpl/gstvalue.sgml:
5203         * docs/gst/tmpl/gstversion.sgml:
5204         * docs/gst/tmpl/gstxml.sgml:
5205         * docs/gst/tmpl/gstxmlregistry.sgml:
5206         * docs/gst/tmpl/gthread-cothreads.sgml:
5207         * docs/gst/tmpl/types.sgml:
5208
5209 2004-03-24  Ronald Bultje  <rbultje@ronald.bitfreak.net>
5210
5211         * docs/pwg/other-sink.xml:
5212         * docs/pwg/other-source.xml:
5213           Documentation on how to write source and sink elements. Other
5214           stuff in chapter 4 (1-to-n/demuxer, n-to-1/muxer, n-to-n,
5215           manager, autoplugger) are all still pending.
5216
5217 2004-03-25  Benjamin Otte  <otte@gnome.org>
5218
5219         * testsuite/elements/Makefile.am:
5220         * testsuite/elements/gst-compprep-check:
5221           add check to make sure gst-compprep works
5222         * testsuite/elements/gst-inspect-check.in:
5223           improve initialization output
5224         * testsuite/Makefile.am:
5225         * testsuite/gst-inspect-check:
5226           remove old file
5227
5228 2004-03-24  David Schleef  <ds@schleef.org>
5229
5230         * testsuite/elements/Makefile.am:
5231         * testsuite/elements/gst-inspect-check.in: Add gst-inspect-check
5232         to the testsuite.
5233
5234 2004-03-24  Benjamin Otte  <otte@gnome.org>
5235
5236         * libs/gst/control/dparam.c: (gst_dparam_attach),
5237         (gst_dparam_detach):
5238         * libs/gst/control/dparammanager.c: (gst_dpman_init):
5239           fix lvalue casts for real
5240
5241 2004-03-24  Benjamin Otte  <otte@gnome.org>
5242
5243         * gst/schedulers/gstbasicscheduler.c:
5244         (gst_basic_scheduler_src_wrapper):
5245         * gst/schedulers/gstoptimalscheduler.c:
5246         (gst_opt_scheduler_loop_wrapper), (gst_opt_scheduler_get_wrapper),
5247         (pad_clear_queued), (gst_opt_scheduler_add_element),
5248         (gst_opt_scheduler_remove_element):
5249           fix GStreamer to not have issues with lvalue casts anymore (fixes
5250           #136841)
5251
5252 2004-03-24  Benjamin Otte  <otte@gnome.org>
5253
5254         * gst/gstelement.c:
5255           add documentation about a gobject quirk where the object hasn't the
5256           correct class pointer set on initialization
5257         * gst/schedulers/gstbasicscheduler.c:
5258         (gst_basic_scheduler_src_wrapper):
5259           make sure to not run into an infinite loop
5260
5261 2004-03-22  Benjamin Otte  <otte@gnome.org>
5262
5263         * gst/gstutils.c: (gst_util_dump_mem):
5264         * gst/gstutils.h:
5265           first argument of gst_util_dump_mem should be const
5266
5267 2004-03-22  Johan Dahlin  <johan@gnome.org>
5268
5269         * gst/gstvalue.h: Clean up a little bit.
5270
5271 2004-03-21  Tim-Philipp Müller <t.i.m@zen.co.uk>
5272
5273         reviewed by Benjamin Otte  <otte@gnome.org>
5274
5275         * gst/autoplug/gstspider.c: (gst_spider_dispose):
5276         * gst/elements/gstaggregator.c: (gst_aggregator_finalize),
5277         (gst_aggregator_class_init), (gst_aggregator_init):
5278         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
5279         (gst_filesrc_dispose), (gst_filesrc_set_location):
5280         * gst/elements/gstidentity.c: (gst_identity_finalize),
5281         (gst_identity_class_init), (gst_identity_chain):
5282         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_open_file):
5283         * gst/elements/gststatistics.c: (gst_statistics_finalize),
5284         (gst_statistics_class_init):
5285         * gst/elements/gsttee.c: (gst_tee_finalize), (gst_tee_class_init),
5286         (gst_tee_get_property):
5287           clean up used memory in this elements correctly on teardown (closes
5288           #137279)
5289
5290 2004-03-20  Colin Walters  <walters@redhat.com>
5291
5292         * gst/registries/gstxmlregistry.c:
5293         (gst_xml_registry_open_func, gst_xml_registry_close_func): Make
5294         registry saving atomic.
5295
5296 2004-03-20  Colin Walters  <walters@redhat.com>
5297
5298         * gst/registries/gstxmlregistry.c (gst_xml_registry_get_perms_func):
5299         Just use
5300         access() instead of actually creating and deleting files.
5301
5302 2004-03-18  David Schleef  <ds@schleef.org>
5303
5304         * configure.ac:  Remove HAVE_ATOMIC_H test, since it's unused.
5305         (bug #137625)
5306
5307 2004-03-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5308
5309         * po/sv.po: updated translation (Christian Rose)
5310
5311 2004-03-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5312
5313         * gst/elements/gstfilesink.c: (gst_filesink_get_formats),
5314         (gst_filesink_get_query_types), (_do_init),
5315         (gst_filesink_handle_event), (gst_filesink_uri_get_protocols):
5316           return FALSE silently
5317         * po/af.po: updated translation (Petri Jooste)
5318
5319 2004-03-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5320
5321         * Makefile.am:
5322         * configure.ac:
5323           dist common properly
5324         * po/af.po:
5325         * po/fr.po:
5326         * po/nl.po:
5327         * po/sr.po:
5328         * po/sv.po:
5329           refreshing translations
5330
5331 2004-03-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5332
5333         * po/LINGUAS:
5334         * po/sv.po:
5335         * po/af.po:
5336           adding Swedish (Christian Rose) and Afrikaans (Petri Jooste)
5337
5338 2004-03-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5339
5340         * Makefile.am: use common/release.mak
5341
5342 2004-03-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5343
5344         * docs/faq/gst-uninstalled:
5345           adding gst-monkeysaudio to the list of possible plugin dirs
5346
5347 2004-03-16  David Schleef  <ds@schleef.org>
5348
5349         * gst/gst.c: (gst_get_popt_options), (gst_init_get_popt_table),
5350         (gst_init_check_with_popt_table):  Fix some gettext strings to
5351         make them easier to translate.  Required making the strings
5352         non-const.
5353
5354 2004-03-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5355
5356         * configure.ac: bump nano to 1
5357
5358 === release 0.8.0 ===
5359
5360 2004-03-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5361
5362         * configure.ac: release 0.8.0, "Executive Slacks"
5363
5364 2004-03-16  Johan Dahlin  <johan@gnome.org>
5365
5366         * gst/schedulers/gstoptimalscheduler.c
5367         (gst_opt_scheduler_pad_unlink): Remove double ;,
5368         spotted by Scott Wheeler
5369
5370 2004-03-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5371
5372         * configure.ac: bump libtool version
5373
5374 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5375
5376         * gst/gstcaps.h:
5377         * gst/gststructure.h:
5378           add reserved padding
5379
5380 2004-03-15  Benjamin Otte  <otte@gnome.org>
5381
5382         * gst/elements/gstfdsrc.c: (gst_fdsrc_get):
5383           set the first parameter for select call correctly.
5384           (fixes #137230)
5385
5386 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5387
5388         * *.c,*.h: don't mix tabs and spaces
5389
5390 2004-03-15  Johan Dahlin  <johan@gnome.org>
5391
5392         * gst/schedulers/gstoptimalscheduler.c
5393         (gst_opt_scheduler_pad_unlink): Fix bug that causes totem to
5394         crash on MPEG playback. My boolean arithmetic is a bit rusty.
5395
5396         * tools/Makefile.am (EXTRA_DIST): Add gst-indent
5397         
5398 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5399
5400         * testsuite/Rules:
5401           fix gst-register rules
5402
5403 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5404
5405         * testsuite/Rules:
5406           use versioned gst-register
5407
5408 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5409
5410         * docs/libs/gstreamer-libs-sections.txt:
5411           remove </SUBSECTION>
5412         * gst/gstplugin.c:
5413         * gst/gstregistry.c: (gst_registry_add_plugin):
5414         * gst/registries/gstxmlregistry.c: (gst_xml_registry_get_type),
5415         (gst_xml_registry_open_func), (gst_xml_registry_close_func):
5416           add debugging and fix some comment blocks
5417
5418 2004-03-15  Johan Dahlin  <johan@gnome.org>
5419
5420         * *.h: Revert indent changes.
5421         
5422 2004-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5423
5424         * gst/registries/gstxmlregistry.c: (gst_xml_registry_load_plugin):
5425           g_error_free the g_error
5426         * tools/gst-feedback-m.m:
5427           check for other versions of gstreamer
5428         * tools/gst-indent:
5429           use sh, not bash
5430
5431 2004-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5432
5433         * tools/gst-register.c: do not spill paths when registries are not
5434           writable, until we fix the "user running gst-register" case.
5435
5436 2004-03-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5437
5438         * *.c, *.h: commit of gst-indent run on core
5439
5440 2004-03-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5441
5442         * tools/gst-indent:
5443         * tools/Makefile.am:
5444           add our indentation style as a script
5445
5446 2004-03-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5447
5448         * po/sr.po:
5449         * po/LINGUAS:
5450           added Serbian translation
5451
5452 2004-03-13  Benjamin Otte  <otte@gnome.org>
5453
5454         * gst/gstelement.c:
5455           add documentation note about gst_element_found_tags_for_pad not
5456           being usable in getfunctions. (see #137042)
5457
5458 2004-03-12  David Schleef  <ds@schleef.org>
5459
5460         * gst/gstcaps.h: jdahlin, what are you smoking?  We can't just
5461         change API right now!  Readd gst_caps_is_simple() macro.
5462         * gst/gstelement.c: (gst_element_base_class_finalize): Fix
5463         uninitialized variable.  I'd bet this caused crashes.
5464         * gst/gstinfo.c: (gst_debug_print_object):  Fix 64-bit cleanliness.
5465
5466 2004-03-12  Johan Dahlin  <johan@gnome.org>
5467
5468         * gst/gstcaps.h (GST_CAPS_IS_SIMPLE): Capitalize macro
5469         * gst/gstcaps.h: Clean up
5470
5471         * gst/gst.c (init_post): call gst_caps_get_type() instead of
5472         _gst_caps_initalize()
5473
5474         * gst/gstcaps.c: Style fixes, stay closer to glib and friends
5475         (_gst_caps_initialize): Remove, in favor for gst_caps_get_type()
5476
5477         * gst/gststructure.c (gst_structure_get_type): Ditto
5478
5479         * gst/gststructure.h: Ditto
5480         
5481 2004-03-11  Ronald Bultje  <rbultje@ronald.bitfreak.net>
5482
5483         * gst/gstqueue.c: (gst_queue_init):
5484           Reset default max. values in queues. Reason is simply to avoid
5485           braindead use. If you want wider values, use the properties. The
5486           default is supposed to always work. Wider values would make this
5487           beast a memory hog by default (250 full-PAL RGB32 video frames?
5488           That's 440 MB! No thank you).
5489
5490 2004-03-10  David Schleef  <ds@schleef.org>
5491
5492         * tools/gst-run.c: (main):  Fix crash when no relevant tools
5493         were found.  (bug #136793)
5494
5495 2004-03-10  Johan Dahlin  <johan@gnome.org>
5496
5497         * gst/schedulers/gstoptimalscheduler.c
5498         (gst_opt_scheduler_pad_unlink): Implement unlink for elements with
5499         links to elements within the same group, so we can finally remove
5500         that annoying warning. Refactor the code a little bit
5501         (group_dec_links_for_element): Split out
5502
5503 2004-03-09  David Schleef  <ds@schleef.org>
5504
5505         * docs/manual/dparams-app.xml:  Fix to handle double dparams.
5506         (bug #134863)
5507
5508 2004-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5509
5510         * configure.ac: first bug fix due to major/minor bump
5511
5512 2004-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5513
5514         * configure.ac: bump nano to 1
5515
5516 === release 0.7.6 ===
5517
5518 2004-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5519
5520         * NEWS:
5521         * RELEASE:
5522         * configure.ac:
5523           releasing 0.7.6, "Almost"
5524         * po/fr.po:
5525         * po/nl.po:
5526         * tools/Makefile.am:
5527         * tools/gst-feedback-m.m:
5528           unversioned source
5529
5530 2004-03-09  Johan Dahlin  <johan@gnome.org>
5531
5532         Reviewed by: Thomas Vander Stichele
5533
5534         * gst/gstelement.c (gst_element_class_init): register second
5535         parameter as GST_TYPE_G_ERROR instead of G_TYPE_POINTER, so
5536         language bindings can (de)marshall correctly.
5537
5538         * gst/gsterror.h: Add GST_TYPE_G_ERROR and cleanup a little bit
5539
5540         * gst/gsterror.c (gst_g_error_get_type): New function
5541
5542         * gst/gstmarshal.list: Remove VOID:OBJECT,POINTER,STRING, replace
5543         with VOID:OBJECT,OBJECT,STRING 
5544
5545 2004-03-10  Jan Schmidt  <thaytan@mad.scientist.com>
5546
5547         * gst/registries/gstxmlregistry.c: (gst_xml_registry_load):
5548         Free a leaked g_timer on early returns.
5549
5550 2004-03-08  Ronald Bultje  <rbultje@ronald.bitfreak.net>
5551
5552         * docs/pwg/advanced-types.xml:
5553           Add cinepak description.
5554
5555 2004-03-07  David Schleef  <ds@schleef.org>
5556
5557         * docs/random/mimetypes:  Added cinepak description
5558
5559 2004-03-07  Andy Wingo  <wingo@pobox.com>
5560
5561         * gst/gstbin.c (gst_bin_remove): Debugging fixes.
5562
5563         * gst/schedulers/gstoptimalscheduler.c (destroy_group): Assert
5564         there are no links to other groups when a group is destroyed.
5565         (gst_opt_scheduler_pad_unlink): If the unlink means an element is
5566         removed from a group, make sure the link count to elements linked
5567         to other pads is appropriately decremented. This really fixes
5568         #135672.
5569
5570         The 1.60->1.61 patch has been reapplied in light of this fix.
5571
5572         * gst/gstelement.c (gst_element_dispose): Really protect against
5573         multiple invocations this time.
5574
5575 2004-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5576
5577         * docs/gst/gstreamer-sections.txt:
5578         * docs/gst/tmpl/gsttag.sgml:
5579           remove some deprecated functions, document some existing ones
5580         * gst/gsttag.c: (gst_tag_get_flag):
5581         * gst/gsttag.h:
5582           add accessor function
5583
5584 2004-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5585
5586         * docs/gst/gstreamer-sections.txt:
5587         * docs/gst/tmpl/gsttag.sgml:
5588         * docs/gst/tmpl/gstxml.sgml:
5589         * gst/gsttag.c: (gst_tag_get_flag):
5590         * gst/gsttag.h:
5591
5592 2004-03-06  Christophe Fergeau  <teuf@gnome.org>
5593
5594         * gst/autoplug/gstspider.c: (gst_spider_identity_plug): fixed caps
5595         leak
5596
5597 2004-03-05  David Schleef  <ds@schleef.org>
5598
5599         * REQUIREMENTS: Add bison and flex.
5600         * configure.ac: Fix comment about bison.
5601         * docs/random/ds/0.9-suggested-changes: yer ma
5602         * tools/gst-inspect.c: (print_element_info):  Fix warning.
5603
5604 2004-03-05  Benjamin Otte  <otte@gnome.org>
5605
5606         * gst/gstelement.c: (gst_element_error_full):
5607           revert recent recursive state changing commit - messing with other
5608           elements' states is evil and should be done by apps only.
5609
5610 2004-03-05  Benjamin Otte  <otte@gnome.org>
5611
5612         * gst/gstelement.c: (gst_element_get_compatible_pad_template):
5613           check for empty intersection instead of NULL caps
5614         (gst_element_get_compatible_pad_filtered):
5615           remove old workaround that is only a bug nowadays
5616
5617 2004-03-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5618
5619         * gst/gstelement.c: (gst_element_error_full):
5620           make elements try to recursively change state to PAUSED on all
5621           parents after an error to suppress ensuing warnings
5622         * gst/parse/grammar.y:
5623           make it check if it was able to sync the state, and throw an error
5624           if not, so stuff like
5625           oggdemux ! vorbisdec ! osssink gets caught
5626
5627 2004-03-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5628
5629         * configure.ac: use ${libdir} for PLUGINS_DIR since on 64bit
5630           it contains lib64; use AS_AC_EXPAND to handle it properly
5631
5632 2004-03-05  David Schleef  <ds@schleef.org>
5633
5634         * gst/gstcpuid_i386.s:  Remove unused code
5635         * libs/gst/getbits/getbits.c: (gst_getbits_init),
5636         (gst_getbits_newbuf): Remove MMX code
5637         * libs/gst/getbits/getbits.h: Remove MMX code
5638
5639 2004-03-04  David I. Lehn  <dlehn@users.sourceforge.net>
5640
5641         * debian/.cvsignore:
5642         * debian/README.Debian:
5643         * debian/changelog:
5644         * debian/control:
5645         * debian/control.in:
5646         * debian/copyright:
5647         * debian/gstreamer-core-libs-dev.files:
5648         * debian/gstreamer-core-libs.files:
5649         * debian/gstreamer-core.files:
5650         * debian/gstreamer-core.postinst:
5651         * debian/gstreamer-core.postrm:
5652         * debian/gstreamer-doc.files:
5653         * debian/gstreamer-doc.links:
5654         * debian/gstreamer-doc.lintian:
5655         * debian/gstreamer-runtime.files:
5656         * debian/gstreamer-runtime.manpages:
5657         * debian/gstreamer-runtime.postinst:
5658         * debian/gstreamer-runtime.postrm:
5659         * debian/gstreamer-tools.files:
5660         * debian/gstreamer-tools.manpages:
5661         * debian/libgstreamer-dev.files:
5662         * debian/libgstreamer0.4.1.files:
5663         * debian/libgstreamerVERSION.files:
5664         * debian/rules:
5665         Debian package info not maintained here.
5666
5667 2004-03-04  Thomas Vander Stichele  <thomas at apestaart dot org>
5668
5669         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
5670         * gst/gstbin.c: (gst_bin_class_init):
5671         * gst/gstelement.c: (gst_element_class_init):
5672         * gst/gstindex.c: (gst_index_class_init):
5673         * gst/gstobject.c: (gst_object_class_init),
5674         (gst_signal_object_class_init):
5675         * gst/gstpad.c: (gst_pad_template_class_init):
5676         * gst/gstregistry.c: (gst_registry_class_init):
5677         * gst/gsturi.c: (gst_uri_handler_base_init):
5678         * gst/gstxml.c: (gst_xml_class_init):
5679         * libs/gst/control/dparam.c: (gst_dparam_class_init):
5680         * libs/gst/control/dparammanager.c: (gst_dpman_class_init):
5681           make all signal names use dashes instead of underscore
5682
5683 2004-03-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5684
5685         * configure.ac: AC_SUBST GLIB_ONLY CFLAGS and LIBS
5686
5687 2004-03-03  Benjamin Otte  <otte@gnome.org>
5688
5689         * gst/schedulers/gstoptimalscheduler.c:
5690           revert last commit by Andy Wingo. It causes segfaults on unreffing
5691           in Rhythmbox. (see bug #135672)
5692
5693 2004-03-02  Christophe Fergeau  <teuf@gnome.org>
5694
5695         * po/fr.po: fix typo
5696
5697 2004-03-02  Christophe Fergeau  <teuf@gnome.org>
5698
5699         * tools/gst-inspect.c: (main): 
5700         * tools/gst-launch.c: (main): add calls to bind_textdomain_codeset
5701
5702 2004-03-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5703
5704         * configure.ac:
5705           get GLIB_ONLY and POPT flags for the nonversioned binaries
5706         * tools/Makefile.am:
5707           use them
5708
5709 2004-03-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5710
5711         * gst/gst.c: (init_post):
5712           change so that GST_REGISTRY now is where the global registry gets
5713           saved, since that is where plugins now get attached to first, and
5714           spilled over to the user registry.  Note that in the case of using
5715           GST_REGISTRY env var, we don't want to affect any real registries
5716           beyond the one given by this var, and thus we don't set a user
5717           registry to spill to.  So make sure GST_REGISTRY is writable.
5718
5719 2004-03-01  David Schleef  <ds@schleef.org>
5720
5721         * AUTHORS:  Added some names.  Add yourself if you're missing.
5722
5723 2004-03-01  David Schleef  <ds@schleef.org>
5724
5725         * MAINTAINERS: Add
5726
5727 2004-03-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5728
5729         * configure.ac:
5730           remove whitespace
5731         * docs/gst/tmpl/gstbuffer.sgml:
5732         * docs/gst/tmpl/gstdata.sgml:
5733         * docs/gst/tmpl/gstreamer-unused.sgml:
5734         * docs/gst/tmpl/gstxml.sgml:
5735           doc update
5736         * docs/manuals.mak:
5737           add a FIXME
5738         * docs/pwg/intro-preface.xml:
5739         * docs/pwg/pwg.xml:
5740           remove GNOME
5741         * gst/gst.c: (init_post):
5742           try GST_PLUGIN_PATH paths for the _global_registry first
5743         * gst/gstelement.h:
5744           add the error message as well, otherwise (null) debug info doesn't
5745           make much sense
5746         * tools/gst-register.c: (main):
5747           spill paths to next registry if this registry is not writable
5748         * po/fr.po:
5749         * po/nl.po:
5750           translation updates
5751
5752 2004-03-01  Johan Dahlin  <johan@gnome.org>
5753
5754         * gst/gstbuffer.c (_gst_buffer_initialize): 
5755         * gst/gstdata.c (gst_data_get_type): 
5756         * gst/gstevent.c (_gst_event_initialize): Use gst_data_copy,
5757         instead of ref, since some applications that uses GBoxed
5758         routines depends on a function that actually returns a copy.
5759
5760 2004-02-27  Benjamin Otte  <otte@gnome.org>
5761
5762         * gst/gstbuffer.h:
5763           remove gst_buffer_free, use gst_data_unref
5764         * gst/gstdata.c: (gst_data_get_type):
5765           use refcounting in GstData GBoxed registration
5766         * gst/gstdata.h:
5767           remove gst_data_free, use gst_data_unref
5768
5769 2004-02-27  Johan Dahlin  <johan@gnome.org>
5770
5771         * gst/gstdata.c (gst_data_get_type): New function, register
5772         GstData as a GBoxed type.
5773
5774         * gst/gstdata.h (GST_TYPE_DATA): New macro
5775
5776 2004-02-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5777
5778         * Makefile.am:
5779         * gstreamer.spec.in:
5780           put back RELEASE
5781         * gst/Makefile.am:
5782           clean up non-disting of built files
5783         * testsuite/debug/commandline.c:
5784           test fix for option rename
5785
5786 2004-02-26  David Schleef  <ds@schleef.org>
5787
5788         * configure.ac:  We don't really need glib-2.3.  Also remove
5789         some unneeded checks for library functions.
5790         * gst/Makefile.am:  Instead, we need to not dist files created
5791         by glib-genmarshal.
5792
5793 2004-02-26  Thomas Vander Stichele  <thomas at apestaart dot org>
5794
5795         * configure.ac:
5796           bump glib required version to 2.3.0 for g_value_takes_boxed
5797
5798  2004-02-25  Christian Fredrik Kalager Schaller <uraeus@gnome.org>
5799
5800         * common/m4/gst-docs.m4
5801         change flavour text from enable to disable as enable is our default
5802         closes bug Bug 135304
5803
5804 === release 0.7.5 ===
5805  
5806  2004-02-26  Thomas Vander Stichele  <thomas at apestaart dot org>
5807  
5808         * NEWS:
5809           instate NEWS file
5810         * Makefile.am:
5811         * gstreamer.spec.in:
5812         * RELEASE:
5813           put back release
5814         * configure.ac:
5815         * docs/random/release:
5816           more updates
5817
5818 2004-02-26  Thomas Vander Stichele  <thomas at apestaart dot org>
5819
5820         * gst/gsttag.c: (_gst_tag_initialize):
5821         * po/fr.po:
5822         * po/nl.po:
5823           remove hyphen from codec tags
5824
5825 2004-02-26  Thomas Vander Stichele  <thomas at apestaart dot org>
5826
5827         * gst/parse/Makefile.am:
5828           fix dependency so that a make from a clean build works the first
5829           time
5830
5831 2004-02-26  Thomas Vander Stichele  <thomas at apestaart dot org>
5832
5833         * docs/random/release:
5834           update release strategy
5835         * po/fr.po:
5836           auto-update po file
5837         * po/nl.po:
5838           update dutch translation
5839
5840 2004-02-25  Thomas Vander Stichele  <thomas at apestaart dot org>
5841
5842         * docs/manual/debugging.xml:
5843         fix manual for new debugging system
5844
5845 2004-02-25  Andy Wingo  <wingo@pobox.com>
5846
5847         * gst/gstpad.c (gst_pad_link_prepare): Re-add
5848         gst_pad_link_prepare. Please email the list with specific reasons
5849         for reverting.
5850
5851 2004-02-24  Andy Wingo  <wingo@pobox.com>
5852
5853         * gst/gstelement.c (gst_element_dispose): Protect against multiple
5854         invocations.
5855
5856         * gst/schedulers/gstoptimalscheduler.c:
5857         I added a mess of prototypes at the top of the file by way of
5858         documentation. Some of the operations on chains and groups were
5859         re-organized.
5860
5861         (create_group): Added a type argument so if the group is enabled,
5862         the setup_group_scheduler knows what to do.
5863         (group_elements): Added a type argument here, too, to be passed on
5864         to create_group.
5865         (group_element_set_enabled): If an unlinked PLAYING element is
5866         added to a bin, we have to create a new group to hold the element,
5867         and this function will be called before the group is added to the
5868         chain. Thus we have a valid case for group->chain==NULL. Instead
5869         of calling chain_group_set_enabled, just set the flag on the group
5870         (the chain's status will be set when the group is added to it).
5871         (gst_opt_scheduler_state_transition, chain_group_set_enabled):
5872         Setup the group scheduler when the group is enabled, not
5873         specifically when an element goes PAUSED->PLAYING. This means
5874         PLAYING elements can be added, linked, and scheduled into a
5875         PLAYING pipeline, as was intended.
5876         (add_to_group): Don't ref the group twice. I don't know when this
5877         double-ref got in here. Removing it has the potential to cause
5878         segfaults if other parts of the scheduler are buggy. If you find
5879         that the scheduler is segfaulting for you, put in an extra ref
5880         here and see if that hacks over the underlying issue. Of course,
5881         then find out what code is unreffing a group it doesn't own...
5882         (create_group): Make the extra refcount floating, and remove it
5883         after adding the element. This means that...
5884         (unref_group): Destroy when the refcount reaches 0, not 1, like
5885         every other refcounted object in the known universe.
5886         (remove_from_group): When a group becomes empty, set it to be not
5887         active, and remove it from its chain. Don't unref it again,
5888         there's no floating reference any more.
5889         (destroy_group): We have to remove the group from the chain in
5890         remove_from_group (rather than here) to break refcounting cycles
5891         (the chain always has a ref on the group). So assert that
5892         group->chain==NULL.
5893         (ref_group_by_count): Removed, it was commented out anyway.
5894         (merge_chains): Use the remove_from_chain and add_to_chain
5895         primitives to do the reparenting, instead of rolling our own
5896         implementation.
5897         (add_to_chain): The first non-disabled group in the chain's group
5898         list will be the entry point for the chain. Because buffers can
5899         accumulate in loop elements' peer bufpens, we preferentially
5900         schedule loop groups before get groups to avoid unnecessary
5901         execution of get-based groups when the bufpens are already full.
5902         (gst_opt_scheduler_schedule_run_queue): Debug fixes.
5903         (get_group_schedule_function): Ditto.
5904         (loop_group_schedule_function): Ditto.
5905         (gst_opt_scheduler_loop_wrapper): Ditto.
5906         (gst_opt_scheduler_iterate): Ditto.
5907
5908         I understand the opt scheduler now, yippee!
5909
5910         * gst/gstpad.c: All throughout, added FIXMEs to look at for 0.9.
5911         (gst_pad_get_name, gst_pad_set_chain_function) 
5912         (gst_pad_set_get_function, gst_pad_set_event_function) 
5913         (gst_pad_set_event_mask_function, gst_pad_get_event_masks) 
5914         (gst_pad_get_event_masks_default, gst_pad_set_convert_function) 
5915         (gst_pad_set_query_function, gst_pad_get_query_types) 
5916         (gst_pad_get_query_types_default) 
5917         (gst_pad_set_internal_link_function) 
5918         (gst_pad_set_formats_function, gst_pad_set_link_function) 
5919         (gst_pad_set_fixate_function, gst_pad_set_getcaps_function) 
5920         (gst_pad_set_bufferalloc_function, gst_pad_unlink) 
5921         (gst_pad_renegotiate, gst_pad_set_parent, gst_pad_get_parent) 
5922         (gst_pad_add_ghost_pad, gst_pad_proxy_getcaps) 
5923         (gst_pad_proxy_pad_link, gst_pad_proxy_fixate) 
5924         (gst_pad_get_pad_template_caps, gst_pad_check_compatibility) 
5925         (gst_pad_get_peer, gst_pad_get_allowed_caps) 
5926         (gst_pad_alloc_buffer, gst_pad_push, gst_pad_pull) 
5927         (gst_pad_selectv, gst_pad_select, gst_pad_template_get_caps) 
5928         (gst_pad_event_default_dispatch, gst_pad_event_default) 
5929         (gst_pad_dispatcher, gst_pad_send_event, gst_pad_convert_default) 
5930         (gst_pad_convert, gst_pad_query_default, gst_pad_query) 
5931         (gst_pad_get_formats_default, gst_pad_get_formats): Better
5932         argument checks, and some doc fixes.
5933
5934         (gst_pad_custom_new_from_template): Um, does anyone
5935         use these functions? Actually make a custom pad instead of a
5936         normal one.
5937         (gst_pad_try_set_caps): Transpose some checks.
5938         (gst_pad_try_set_caps_nonfixed): Same, and use a macro to check if
5939         the pad is in negotiation.
5940         (gst_pad_try_relink_filtered): Use pad_link_prepare.
5941         
5942         * gst/gstelement.c: Remove prototypes also defined in gstclock.h.
5943
5944         * gst/gstelement.h: 
5945         * gst/gstclock.h: Un-deprecate the old clocking API, as discussed
5946         on the list.
5947
5948 2004-02-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5949
5950         * gst/gstbin.c: (gst_bin_add):
5951           add error for not being able to add elements
5952
5953 2004-02-22  Julien MOUTTE <julien@moutte.net>
5954
5955         * gst/gsttag.c: (_gst_tag_initialize): Registering 2 new tags,
5956         audio-codec and video-codec.
5957
5958 2004-02-22  Benjamin Otte  <otte@gnome.org>
5959
5960         reported by: Padraig O'Briain <padraig.obriain@sun.com>
5961
5962         * autogen.sh:
5963           replace test -e with test -x for mkinstalldirs to be more portable.
5964           (fixes #134816)
5965
5966 2004-02-22  Benjamin Otte  <otte@gnome.org>
5967
5968         * gst/gstpad.c:
5969           revert last patch from Andy, it makes gst_pad_can_link_filtered much
5970           too noisy
5971         * gst/gsttag.c: (_gst_tag_initialize):
5972         * gst/gsttag.h:
5973           add GST_TAG_ALBUM_VOLUME_{COUNT,NUMBER}
5974         * libs/gst/control/dparam.c: (gst_dparam_attach):
5975         * libs/gst/control/dparammanager.c: (gst_dpman_attach_dparam):
5976           check that types for attached dparams match
5977
5978 2004-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5979
5980         * gst/elements/gstfilesink.c: (gst_filesink_open_file):
5981         * gst/elements/gstfilesrc.c: (gst_filesrc_open_file):
5982         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_open_file):
5983           fix errors
5984
5985 2004-02-20  Andy Wingo  <wingo@pobox.com>
5986
5987         * gst/gstbin.c:
5988         * gst/gstbuffer.c:
5989         * gst/gstplugin.c:
5990         * gst/registries/gstxmlregistry.c: 
5991         * gst/schedulers/gstoptimalscheduler.c: Debugging tweaks.
5992
5993         * gst/gstelement.c (gst_element_set_scheduler): Debugging fixes.
5994         (gst_element_add_pad): DEBUG->INFO, some fixes.
5995         (gst_element_get_compatible_pad_template): Just see if the
5996         templates' caps intersect, not if one is a strict subset of the
5997         other. This conforms more to what gst_pad_link_intersect() does.
5998         (gst_element_class_add_pad_template): Don't memcpy the pad
5999         template, just ref it.
6000         (gst_element_get_compatible_pad_filtered): Clean up debug messages
6001
6002         * gst/gstpad.c (gst_pad_can_link_filtered): Debug a true result.
6003         (gst_pad_link_filtered): Debug changes.
6004         (gst_pad_link_prepare): New function, consolidated from
6005         can_link_filtered and link_filtered.
6006
6007         * gst/parse/grammar.y (gst_parse_perform_link): Made INFO output
6008         look more like that of the functions in gstelement.c
6009
6010         * gst/gstinfo.c (gst_debug_print_object): Put a space before the
6011         object, and return the empty string if object is NULL.
6012
6013         * gst/parse/parse.l: Remove trailing newlines when calling PRINT.
6014         * gst/parse/grammar.y (YYFPRINTF): Log bison debugging info via
6015         LOG, not DEBUG. We still get flex info on debug.
6016
6017         * gst/registries/gstxmlregistry.c (gst_xml_registry_load): Make
6018         debug string more verbose.
6019         (plugin_times_older_than): DEBUG->LOG.
6020
6021 2004-02-20  Julien MOUTTE <julien@moutte.net>
6022
6023         * gst/gsttag.h: Adding video-codec and audio-codec for demuxers which
6024         will emit found_tag for each stream they demux with the codec.
6025
6026 2004-02-20  Benjamin Otte  <otte@gnome.org>
6027
6028         * gst/gstevent.c: (_gst_event_copy), (_gst_event_free):
6029           copy navigation event correctly. Check freeing tag lists. 
6030         * gst/gstthread.c: (gst_thread_change_state):
6031           don't abort() on state changing mess - it might happen because of
6032           bugs.
6033         * gst/gstvalue.c: (gst_value_set_caps), (gst_value_get_caps):
6034           use boxed functions
6035         * gst/gstvalue.h:
6036           fix GST_VALUE_HOLDS_CAPS
6037
6038 2004-02-19  David Schleef  <ds@schleef.org>
6039
6040         * gst/gstinfo.h:  Copy G_STRFUNC implementation from glib-2.4
6041         and use it for GST_FUNCTION.  (bug #134750)
6042
6043 2004-02-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6044
6045         * po/fr.po:
6046         * po/nl.po:
6047           updating translations
6048
6049 2004-02-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6050
6051         * tools/gst-run.c: (get_candidates), (main): some fixes from jdahlin
6052
6053 2004-02-18  kost@imn.htwk-leipzig.de
6054
6055         reviewed by: David Schleef  <ds@schleef.org>
6056
6057         * docs/libs/gstreamer-libs-sections.txt:  Add missing sections
6058         for libgstcontrol.
6059
6060 2004-02-18  David Schleef  <ds@schleef.org>
6061
6062         * libs/gst/control/dparam.c: (gst_dparam_class_init):
6063         * libs/gst/control/dparam_smooth.c: (gst_dpsmooth_class_init),
6064         (gst_dpsmooth_new): Additional fixes to get double dparams working.
6065         * tools/gst-inspect.c: (print_element_info): Support dumping of
6066         double dparam information.
6067
6068 2004-02-17  David Schleef  <ds@schleef.org>
6069
6070         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
6071         Use G_TYPE_STRING in signal prototype instead of G_TYPE_POINTER.
6072         * gst/elements/gsttypefind.c: (gst_type_find_element_class_init):
6073         Use GST_TYPE_CAPS in signal prototype.
6074         * gst/gstcaps.c: (_gst_caps_initialize), (gst_caps_copy_conditional):
6075         Convert GST_TYPE_CAPS to boxed.
6076         * gst/gstelement.c: (gst_element_class_init):
6077         Use GST_TYPE_TAG_LIST in signal prototype.
6078         * gst/gstindex.c: (gst_index_class_init):
6079         * gst/gstindex.h:
6080         Add GST_TYPE_INDEX_ENTRY type.
6081         * gst/gstmarshal.list:
6082         Add necessary marshal types.
6083         * gst/gstpad.c: (gst_real_pad_class_init),
6084         (_gst_real_pad_fixate_accumulator), (gst_pad_link_fixate),
6085         (gst_pad_recover_caps_error):
6086         Use GST_TYPE_CAPS in signal prototypes.  Fix some debugging strings.
6087         * gst/gststructure.c: (_gst_structure_initialize),
6088         (gst_structure_copy), (_gst_structure_copy_conditional):
6089         * gst/gststructure.h:
6090         Convert GST_TYPE_STRUCTURE to boxed.
6091         * gst/gsttag.c: (gst_tag_list_get_type):
6092         * gst/gsttag.h:
6093         Add GST_TYPE_TAG_LIST type.
6094
6095 2004-02-17  Julien MOUTTE  <julien@moutte.net>
6096
6097         * gst/gstpad.c: (gst_pad_try_set_caps): Reverting my change according
6098         to what we agreed with david.
6099         * gst/gstpad.h: adding GST_PAD_IS_NEGOTIATING macro.
6100
6101 2004-02-17  Thomas Vander Stichele  <thomas at apestaart dot org>
6102
6103         * po/nl.po: update translation
6104
6105 2004-02-17  Thomas Vander Stichele  <thomas at apestaart dot org>
6106
6107         * gst/autoplug/gstspider.c: (gst_spider_identity_plug):
6108           throw an error if spider is trying to play a mime type there is
6109           no decoder for
6110         * po/POTFILES.in:
6111           add gst/autoplug/gstspider.c for translation
6112
6113 2004-02-17  Julien MOUTTE  <julien@moutte.net>
6114
6115         * gst/gstpad.c: (gst_pad_try_set_caps): We are nice people. Return 
6116         silently when the pad is negotiating.
6117
6118 2004-02-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6119
6120         * docs/faq/Makefile.am:
6121           add script to run gstreamer uninstalled 
6122         * docs/faq/faq.xml:
6123         * docs/faq/developing.xml:
6124         * docs/faq/gst-uninstalled:
6125           extract script to run gstreamer uninstalled
6126         * docs/manuals.mak:
6127           add EXTRA_SOURCES variable for Makefile.am's to set to
6128           use additional SOURCE files for the doc build
6129
6130 2004-02-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6131
6132         * gst/gstatomic_impl.h: Fedora 2 test package patch for S390
6133
6134 2004-02-15  Julien MOUTTE  <julien@moutte.net>
6135
6136         * gst/gstbin.c: (gst_bin_change_state), (gst_bin_iterate): Fix a big
6137         bug that was breaking pipelines like sinesrc ! { queue ! osssink } when
6138         an error was thrown by osssink. Basically a state change failure for
6139         an element in a different scheduling group was considered as
6140         successful, which means that caps nego was going on and weird stuff
6141         happened. Like I wrote in the comment there, if someone wants to
6142         revert that please drop me a mail explaining why because I really see
6143         no point in keeping that broken behaviour there.
6144         * gst/gstqueue.c: (gst_queue_get): Add a safety check as the queue CAN
6145         be empty, we then return NULL which will trigger a nice error when 
6146         pulling from the pad.
6147
6148 2004-02-13  David Schleef  <ds@schleef.org>
6149
6150         * libs/gst/control/dparam.c: (gst_dparam_class_init),
6151         (gst_dparam_get_property), (gst_dparam_set_property),
6152         (gst_dparam_do_update_default):
6153         * libs/gst/control/dparam.h:
6154         * libs/gst/control/dparam_smooth.c: (gst_dpsmooth_class_init),
6155         (gst_dpsmooth_new), (gst_dpsmooth_set_property),
6156         (gst_dpsmooth_get_property), (gst_dpsmooth_value_changed_double),
6157         (gst_dpsmooth_do_update_double):
6158         * libs/gst/control/dparam_smooth.h:
6159         * libs/gst/control/dparammanager.c:
6160         (gst_dpman_inline_direct_update):
6161         Add support for double dparams.
6162
6163 2004-02-13  David Schleef  <ds@schleef.org>
6164
6165         * gst/elements/gstfdsrc.c: (gst_fdsrc_get): Use GST_TIME_TO_TIMEVAL()
6166         * gst/gstclock.h: Avoid using 64-bit % operator (slow!)
6167
6168 2004-02-13  Mattias Wadman  <mattias@sudac.org>
6169
6170         reviewed by: David Schleef  <ds@schleef.org>
6171
6172         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6173         (gst_fdsrc_init), (gst_fdsrc_set_property),
6174         (gst_fdsrc_get_property), (gst_fdsrc_get):
6175         * gst/elements/gstfdsrc.h:  Adds timeout property to fdsrc,
6176         and sends an EOS event if file descriptor reading times out.
6177
6178 2004-02-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6179
6180         * configure.ac:
6181           add calls to AM_CONDITIONAL for subsystems for automake 1.6.x
6182
6183 2004-02-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6184
6185         * configure.ac: pass required libxml version as argument
6186         (bug reported by Christophe Fergeau)
6187
6188 2004-02-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6189   
6190         * docs/gst/gstreamer-docs.sgml:
6191         * docs/gst/tmpl/gstxml.sgml:
6192         * docs/libs/gstreamer-libs-docs.sgml:
6193           version API docs
6194
6195 2004-02-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6196
6197         * gst/gstinfo.c:
6198         * gst/gstregistrypool.c: (gst_registry_pool_plugin_filter),
6199         (gst_registry_pool_feature_filter):
6200         * gst/gstthread.c: (gst_thread_class_init):
6201         * gst/gstvalue.c:
6202           add includes exposed by building without libxml
6203         * gst/indexers/Makefile.am:
6204           do not build fileindex when LOADSAVE disabled; we should have
6205           a better libxml check later since fileindex depends on xml, not
6206           LOADSAVE or REGISTRY
6207         * libs/gst/control/Makefile.am:
6208           link with m
6209         * tools/Makefile.am:
6210           fix wrong source code for gst-xmlinspect
6211
6212 2004-02-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6213
6214         * configure.ac:
6215           fix gcov help output
6216           move calls to and use new GST_CHECK_DISABLE_SUBSYSTEM
6217         * docs/random/release:
6218           some updated releasing notes
6219         * gstreamer.spec.in:
6220           more updates
6221
6222 2004-02-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6223
6224         * docs/faq/faq.xml:
6225         * docs/manual/manual.xml:
6226         * docs/pwg/pwg.xml:
6227         * docs/pwg/titlepage.xml:
6228           put version in documentation
6229
6230 2004-02-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6231
6232         * tools/Makefile.am: fix man page installation
6233
6234 2004-02-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6235
6236         * configure.ac:
6237           don't check for libxml when load/save and registry disabled (#105844)
6238         * gstreamer.spec.in:
6239           sync with fedora candidate spec
6240
6241 2004-02-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6242
6243         * po/fr.po:
6244         * po/nl.po:
6245           replace multidisksrc with multifilesrc
6246
6247 2004-02-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>
6248
6249         * po/POTFILES.in:
6250           update to multidisksrc => multifilesrc file renaming (#134145)
6251
6252 2004-02-11  David Schleef  <ds@schleef.org>
6253
6254         * docs/gst/tmpl/gstcaps.sgml:  Fix stuff that mentions GstProps
6255         * docs/gst/tmpl/gstpadtemplate.sgml: same
6256         * docs/gst/tmpl/gstreamer-unused.sgml: Remove GstProps
6257         * gst/gstobject.c: (gst_object_set_name_default): Do the memleak
6258         fixing dance.
6259         * gst/gstutils.c: Remove disabled code that uses GstProps.
6260         * gst/registries/gstxmlregistry.h: same
6261         * docs/random/ds/0.9-suggested-changes: random notes
6262
6263 2004-02-11  kost@imn.htwk-leipzig.de
6264
6265         reviewed by: David Schleef  <ds@schleef.org>
6266
6267         * gst/gstclock.c: (gst_clock_entry_new): fixes structure
6268         initialisation of clock (bug #134128)
6269
6270 2004-02-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6271
6272         * configure.ac:
6273         * gst/elements/Makefile.am:
6274         * gst/elements/gstelements.c:
6275         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_base_init),
6276         (gst_multifilesrc_class_init), (gst_multifilesrc_init),
6277         (gst_multifilesrc_set_property), (gst_multifilesrc_get_property),
6278         (gst_multifilesrc_get), (gst_multifilesrc_open_file),
6279         (gst_multifilesrc_close_file), (gst_multifilesrc_change_state):
6280         * gst/elements/gstmultifilesrc.h:
6281           rename multidisksrc to multifilesrc (part of #122200)
6282
6283 2004-02-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6284
6285         * docs/manuals.mak:
6286           fix automake complaints
6287         * gst-element-check.m4:
6288           fix unquotedness
6289
6290 2004-02-11  David Schleef  <ds@schleef.org>
6291
6292         * docs/gst/Makefile.am: Call gst_init() in built gstreamer-scan.
6293         * gst/gstatomic_impl.h: Disable sparc implementation.
6294
6295 2004-02-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6296
6297         * gst-element-check.m4:
6298           fix underquoted macros as reported by automake 1.8.x (#133800)
6299         * configure.ac:
6300           require gettext 0.11.5 so ulonglong.m4 gets checked out and copied
6301           by autopoint (fixes #132996)
6302
6303 2004-02-10  Andy Wingo  <wingo@pobox.com>
6304
6305         * gst/gstpad.c (gst_pad_custom_new): Add a FIXME, this is a hacky
6306         way to do inheritance.
6307         (gst_pad_get_event_masks, gst_pad_get_event_masks_default) 
6308         (gst_pad_get_query_types, gst_pad_get_query_types_default):
6309         Routine docs.
6310         (gst_pad_set_link_function, gst_pad_set_fixate_function) 
6311         (gst_pad_set_getcaps_function): Doc from Dave's negotation random
6312         doc.
6313         (gst_pad_unlink, gst_pad_is_linked): Docs.
6314         (gst_pad_renegotiate): A brief description of capsnego.
6315         (gst_pad_try_set_caps): Document.
6316         (gst_pad_try_set_caps_nonfixed): Document.
6317         (gst_pad_can_link_filtered, gst_pad_link_filtered): Doc fixes.
6318         (gst_pad_set_parent): Deprecated (although not out of the API).
6319         (gst_pad_get_parent): Deprecated, although many plugins use this.
6320         (gst_pad_add_ghost_pad, gst_pad_remove_ghost_pad): Doc that these
6321         are private and will go away in 0.9.
6322         (gst_pad_perform_negotiate): Doc.
6323         (gst_pad_link_unnegotiate): I think this is meant to be static.
6324         (gst_pad_get_negotiated_caps, gst_pad_get_pad_template_caps) 
6325         (gst_pad_template_get_caps_by_name, gst_pad_check_compatibility) 
6326         (gst_pad_get_peer): Doc updates.
6327         (gst_pad_caps_change_notify): Doc.
6328         (gst_pad_alloc_buffer, gst_pad_push, gst_static_pad_template_get) 
6329         (gst_ghost_pad_new): Doc fixes.
6330
6331         * gst/gstobject.c (gst_object_get_parent, gst_object_unparent) 
6332         (gst_object_check_uniqueness): 
6333
6334         * gst/gstelement.c (gst_element_add_pad) 
6335         (gst_element_add_ghost_pad, gst_element_remove_pad) 
6336         (gst_element_remove_ghost_pad, gst_element_get_pad) 
6337         (gst_element_get_static_pad, gst_element_get_pad_list) 
6338         (gst_element_class_get_pad_template_list) 
6339         (gst_element_class_get_pad_template): Work on the docs.
6340         (gst_element_get_pad_template_list): Uses the class method.
6341         (gst_element_get_compatible_pad_template): Docs, and consolidate
6342         some test conditions. 
6343         (gst_element_get_pad_from_template): New static function.
6344         (gst_element_request_compatible_pad): Docs, and work with
6345         non-request compatible templates. 
6346         (gst_element_get_compatible_pad_filtered): Docs and remove
6347         redundant checks.
6348         (gst_element_get_compatible_pad, gst_element_link_pads_filtered) 
6349         (gst_element_link_filtered, gst_element_link_many) 
6350         (gst_element_link, gst_element_link_pads) 
6351         (gst_element_unlink_many): Docs.
6352
6353 2004-02-05  Andy Wingo  <wingo@pobox.com>
6354
6355         * gst/gstpad.c (_gst_real_pad_fixate_accumulator):
6356         s/pointer/boxed/.
6357
6358         * gst/gstmarshal.list (VOID:BOXED, BOXED:BOXED): New marshallers.
6359
6360         * gst/gstpad.c (gst_real_pad_class_init): Use a BOXED:BOXED
6361         marshaller for ::fixate, and VOID:BOXED for ::caps-nego-failed,
6362         with the type=GST_TYPE_CAPS. This allows language bindings to know
6363         what kind of data they're dealing with.
6364
6365         * gst/gstcaps.c (_gst_caps_value_init): GBoxed values initialize
6366         to NULL when g_value_init is called. GstCaps, which rolls its own
6367         type implementation, now does the same instead of allocating empty
6368         caps.
6369         (_gst_caps_initialize, _gst_caps_collect_value,
6370         _gst_caps_lcopy_value): Provide collect_value and lcopy_value type
6371         table methods. This allows G_VALUE_COLLECT to work.
6372
6373 2004-02-05  Andy Wingo  <wingo@pobox.com>
6374
6375         * configure.ac:
6376         * testsuite/Makefile.am (SUBDIRS): 
6377         * testsuite/ghostpads/Makefile.am: 
6378         * testsuite/ghostpads/ghostpads.c: A new test for ghost pads.
6379
6380         * gst/gstpad.c (gst_pad_add_ghost_pad, gst_pad_remove_ghost_pad):
6381         These two routines are the only ones that set
6382         GST_GPAD_REALPAD(gpad), the ghost pad list, and the ghost pad's
6383         pad template. They should be made static, depending on ABI needs.
6384         (gst_real_pad_dispose): Handle the case of ghost pads without a
6385         parent. Assert after dealing with ghost pads that the ghost pad
6386         list is empty.
6387         (gst_ghost_pad_class_init): New property added, ::real-pad. Can be
6388         set after creation.
6389         (gst_ghost_pad_dispose): Set ::real-pad to NULL.
6390         (gst_ghost_pad_set_property, gst_ghost_pad_get_property): New
6391         functions. set_property will call add_ghost_pad/remove_ghost_pad
6392         as appropriate.
6393         (gst_ghost_pad_new): All the work is offloaded to g_object_new.
6394
6395         * gst/gstelement.c (gst_element_add_pad): Handle ghost pads as well.
6396         (gst_element_add_ghost_pad): Remove code duplicated from _add_pad.
6397         (gst_element_remove_pad): Handle ghost pads as well.
6398         (gst_element_remove_ghost_pad): Deprecated (could be removed,
6399         depending on API-stability needs).
6400
6401 2004-02-05  Andy Wingo  <wingo@pobox.com>
6402
6403         * gst/gstbin.[ch]: (gst_bin_get_by_interface): GTypes are scalars,
6404         of course they're const
6405
6406 2004-02-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6407
6408         * tools/Makefile.am:
6409         * tools/gst-feedback:
6410         * tools/gst-feedback-0.7:
6411           make gst-feedback versioned too for consistency
6412
6413 2004-02-11  David Schleef  <ds@schleef.org>
6414
6415         * gst/gstpad.c: (gst_pad_link_intersect), (gst_pad_link_fixate),
6416         (gst_pad_try_set_caps): Fix format strings for GST_PTR_FORMAT.
6417
6418 2004-02-10  Julien MOUTTE <julien@moutte.net>
6419
6420         * gst/gstevent.c: (_gst_event_free): Sometimes a tag event arrives but
6421         the structure does not contain a valid tag list. Adding a safety check
6422         to remove a noisy warning in that case.
6423
6424 2004-02-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6425
6426         * gst/gst.c: fix name to be in line with others
6427
6428 2004-02-09  Julien MOUTTE <julien@moutte.net>
6429
6430         * libs/gst/bytestream/bytestream.c: (gst_bytestream_peek): We should
6431         not shout that loud when len is 0. Just return 0 silently.
6432
6433 2004-02-09  Julien MOUTTE  <julien@moutte.net>
6434
6435         * gst/gstdata.c: (gst_data_ref): Adding a categorized debug on data_ref
6436         because data_unref has one and I prefer the debug to be symetric.
6437         * gst/gstqueue.c: (gst_queue_locked_flush): Fix a huge memleak. Buffers
6438         were refed when added to the queue and unrefed only once when the queue
6439         was flushed. Now the flush handler unref the buffers two times : first
6440         unref for the ref added when pushing in the queue's tail and second
6441         unref to destroy the flushed buffer.
6442
6443 2004-02-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6444
6445         * docs/pwg/building-boiler.xml: fix cvs checkout documentation
6446
6447 2004-02-06  David Schleef  <ds@schleef.org>
6448
6449         * docs/random/ds/0.9-suggested-changes: Random ramblings
6450         * gst/elements/gstfilesrc.c: (gst_filesrc_get_mmap): Cast size_t
6451         to int before printing.
6452         * gst/parse/grammar.y: Fix gcc-2.95 style variadic macros.
6453         * gst/parse/parse.l: same.  See bug #129600
6454
6455 2004-02-06  David Schleef  <ds@schleef.org>
6456
6457         * gst/gstindex.c: (gst_index_add_format), (gst_index_add_id),
6458         (gst_index_add_entry), (gst_index_add_associationv),
6459         (gst_index_add_association): Add gst_index_add_associationv()
6460         and clean up gst_index_add_association(). #127133
6461
6462 2004-02-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6463
6464         * autogen.sh: check out common with right tag if CVS/Tag exists
6465
6466 2004-02-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6467
6468         * testsuite/ghostpads/ghostpads.c: (main):
6469           fix testsuite from segfaulting
6470
6471 2004-02-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6472
6473         * Makefile.am: add release target
6474         * configure.ac: bump nano to 1
6475         * docs/random/release:
6476
6477 2004-02-06  Benjamin Otte  <in7y118@public.uni-hamburg.de>
6478
6479         * gst/gstcaps.h:
6480         * gst/gstelement.c: (gst_element_base_class_init),
6481         (gst_element_class_set_details), (gst_element_clear_pad_caps):
6482         * gst/gstpad.c: (gst_pad_link_intersect), (gst_pad_link_fixate),
6483         (gst_pad_try_set_caps), (gst_pad_can_link_filtered),
6484         (gst_real_pad_dispose):
6485         * gst/gststructure.c: (gst_structure_free),
6486         (gst_structure_from_string):
6487           put reverted patch back in
6488         * gst/gstelement.c: (gst_element_remove_pad):
6489           free explicit caps if they're set
6490         * gst/gstpad.c: (_gst_pad_default_fixate_func):
6491           copy the structure when fixating
6492
6493 2004-02-05  David Schleef  <ds@schleef.org>
6494
6495         * gst/gstmarshal.list:
6496         * gst/gstpad.c: (gst_real_pad_class_init),
6497         (_gst_real_pad_fixate_accumulator):
6498         Revert POINTER->BOXED change in signal marshaller.
6499
6500 === release 0.7.4 ===
6501                                                                                 
6502 2004-02-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6503                                                                                 
6504         * NEWS: GStreamer 0.7.4 "Wooden Eels" released
6505         * configure.ac: changed for release
6506
6507 2004-02-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6508
6509         * gstreamer.spec.in:
6510           bump required version of gtk-doc
6511
6512 2004-02-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6513
6514         * gst/gstcaps.h:
6515         * gst/gstelement.c: (gst_element_base_class_init),
6516         (gst_element_class_set_details), (gst_element_clear_pad_caps):
6517         * gst/gstpad.c: (gst_pad_link_intersect), (gst_pad_link_fixate),
6518         (gst_pad_try_set_caps), (gst_pad_can_link_filtered),
6519         (gst_real_pad_dispose):
6520         * gst/gststructure.c: (gst_structure_free),
6521         (gst_structure_from_string):
6522           revert patch that breaks applications, reapply after release
6523           to get this fixed properly
6524
6525 2004-02-05  Benjamin Otte  <in7y118@public.uni-hamburg.de>
6526
6527         * gst/gsttag.c: (_gst_tag_initialize):
6528         * gst/gsttag.h:
6529           remove duplicated field GST_TAG_APPLICATION. It's GST_TAG_ENCODER
6530
6531 2004-02-04  David Schleef  <ds@schleef.org>
6532
6533         Fix some memleaks:
6534         * gst/autoplug/gstspider.c: (gst_spider_request_new_pad),
6535         (gst_spider_plug_from_srcpad):
6536         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_link):
6537
6538 2004-02-04  David Schleef  <ds@schleef.org>
6539
6540         * gst/gstelement.c: (gst_element_clear_pad_caps): Make sure we have
6541         a GstRealPad before accessing its structure members.
6542
6543 2004-02-04  Benjamin Otte  <in7y118@public.uni-hamburg.de>
6544
6545         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_speed),
6546         (gst_clock_get_speed):
6547         * gst/gstclock.h:
6548           reset padding, remove unused fields
6549
6550 2004-02-04  Benjamin Otte  <in7y118@public.uni-hamburg.de>
6551
6552         * gst/autoplug/gstspideridentity.c:
6553         (gst_spider_identity_sink_loop_type_finding):
6554           use get_allowed_caps, not get_caps (fixes #132519)
6555         * gst/elements/gsttypefind.c: (stop_typefinding):
6556           use correct order when sending buffers and seeking
6557
6558 2004-02-04  Thomas Vander Stichele  <thomas at apestaart dot org>
6559
6560         * configure.ac:
6561         * gst/gstelement.h:
6562         * gst/gstpad.h:
6563         * gst/gstqueue.h:
6564           upgrade libtool CURRENT, reset padding
6565
6566 2004-02-04  Thomas Vander Stichele  <thomas at apestaart dot org>
6567
6568         * configure.ac:
6569           bump to prerelease
6570           put back AM_PROG_LIBTOOL to make libtoolize stop complaining
6571
6572 2004-02-04  David Schleef  <ds@schleef.org>
6573
6574         * docs/random/ds/0.9-suggested-changes: random notes
6575         * gst/elements/gstfakesrc.c: (gst_fakesrc_get_formats),
6576         (gst_fakesrc_get_query_types), (gst_fakesrc_get_event_mask):
6577         Replace GST_PAD_EVENT_MASK_FUNCTION() (et al.) with its
6578         expansion.
6579         * gst/elements/gstfilesink.c: (gst_filesink_get_formats),
6580         (gst_filesink_get_query_types): same
6581         * gst/elements/gstfilesrc.c: (gst_filesrc_get_event_mask),
6582         (gst_filesrc_get_query_types), (gst_filesrc_get_formats): same
6583         * gst/gstcaps.h: deprecate GST_DEBUG_CAPS(), and fix the macro
6584         to use new GST_PTR_FORMAT.
6585         * gst/gstelement.h: deprecate function factory macros
6586         GST_ELEMENT_QUERY_TYPE_FUNCTION(), GST_ELEMENT_EVENT_MASK_FUNCTION().
6587         These are our last variadic macros that can't be replaced with
6588         inlines.  Celebrate!  Also fix a typo in an #ifdef that was
6589         attempting to deprecate gst_element_clock_wait().
6590         * gst/gstevent.h: same
6591         * gst/gstpad.c: (gst_pad_link_intersect), (gst_pad_link_fixate),
6592         (gst_pad_try_set_caps): replace GST_DEBUG_CAPS() with GST_DEBUG()
6593         * gst/gstpad.h: deprecate function factory macros similar to above.
6594
6595 2004-02-04  Thomas Vander Stichele  <thomas at apestaart dot org>
6596
6597         * configure.ac:
6598         * tools/Makefile.am:
6599         * tools/gst-run.c: (popt_callback), (hash_print_key),
6600         (find_highest_version), (unmangle_libtool), (get_dir_of_binary),
6601         (get_candidates), (main):
6602           add new source file to generate non-versioned wrapper binaries
6603           for our tools.
6604
6605 2004-02-04  Benjamin Otte  <in7y118@public.uni-hamburg.de>
6606
6607         * gst/gstevent.c: (_gst_event_free):
6608           actually break; inside the switch statement
6609         * gst/parse/grammar.y:
6610           fix memleak where GValues weren't unset
6611
6612 2004-02-03  Benjamin Otte  <in7y118@public.uni-hamburg.de>
6613
6614         * gst/gststructure.c: (gst_structure_from_string):
6615           fix huge memleak
6616         * gst/elements/gsttypefind.c: (gst_type_find_element_have_type),
6617         (new_entry), (gst_type_find_element_chain):
6618         * gst/gstelement.c: (gst_element_base_class_init),
6619         (gst_element_class_set_details):
6620         * gst/gstpad.c: (gst_pad_can_link_filtered):
6621           fix smaller memleaks
6622         * gst/gstpad.c: (gst_real_pad_dispose):
6623           check that explicit caps are gone
6624         * gst/gststructure.c: (gst_structure_free):
6625           actually free the structure
6626         * gst/gstelement.c: (gst_element_clear_pad_caps):
6627           unset explicit caps
6628
6629 2004-02-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6630
6631         * tools/Makefile.am:
6632           use AM_CFLAGS since all the CFLAGS are the same
6633           use AM_LDFAGS
6634
6635 2004-02-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6636
6637         * docs/manual/gnome.xml:
6638           expand example a little
6639         * gst/gst.c: (gst_init_with_popt_table),
6640         (gst_init_check_with_popt_table), (init_pre), (init_popt_callback):
6641           make sure popt option displays are done with right textdomain
6642           use GstPoptOption type
6643         * gst/gst.h:
6644           create GstPoptOption type
6645
6646 2004-02-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6647
6648         * gst/gsterror.c: (_gst_stream_errors_init):
6649         * gst/gsterror.h:
6650           adding error type for no codec
6651         * po/POTFILES.in:
6652           add gst-inspect
6653         * po/nl.po:
6654           update dutch translation
6655         * tools/gst-inspect.c: (print_element_list), (main):
6656           do proper internationalization
6657         * tools/gst-launch.c: (idle_func):
6658           remove commented out function call
6659
6660 2004-02-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6661
6662         * docs/README:
6663           add some error fixing notes
6664         * docs/gst/gstreamer-sections.txt:
6665           remove double entries
6666         * docs/gst/tmpl/gstbin.sgml:
6667         * docs/gst/tmpl/gstclock.sgml:
6668           remove override
6669         * docs/gst/tmpl/gstelement.sgml:
6670         * docs/gst/tmpl/gstindex.sgml:
6671         * docs/gst/tmpl/gstobject.sgml:
6672         * docs/gst/tmpl/gstpadtemplate.sgml:
6673         * docs/gst/tmpl/gstreamer-unused.sgml:
6674         * docs/gst/tmpl/gsttag.sgml:
6675         * docs/gst/tmpl/gstthread.sgml:
6676         * docs/gst/tmpl/gstxml.sgml:
6677         * gst/gsttag.h:
6678           sync header prototypes with c decls
6679         * gst/gsttaginterface.c:
6680           fix doc headers
6681
6682 2004-02-03  Benjamin Otte  <in7y118@public.uni-hamburg.de>
6683
6684         * gst/parse/Makefile.am:
6685         * gst/gstobject.h:
6686           get rid of gstmarshal.h dependency. It's not needed.
6687         * gst/gst.h:
6688         * gst/elements/gstfakesink.c:
6689         * gst/elements/gstfakesrc.c:
6690         * gst/elements/gstidentity.c:
6691         * gst/gstbin.c:
6692         * gst/gstelement.c:
6693         * gst/gstindex.c:
6694         * gst/gstobject.c:
6695         * gst/gstpad.c:
6696         * gst/gstthread.c:
6697         * gst/gstxml.c:
6698         * libs/gst/control/dparam.c:
6699         * libs/gst/control/dparammanager.c:
6700           include gstmarshal.h.
6701         Fixes #132045
6702
6703 2004-02-03  Benjamin Otte  <in7y118@public.uni-hamburg.de>
6704
6705         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
6706         (gst_filesrc_dispose), (gst_filesrc_free_parent_mmap),
6707         (gst_filesrc_map_region), (gst_filesrc_get_mmap):
6708         * gst/elements/gstfilesrc.h:
6709           don't ref the filesrc when creating mmaped buffers. Don't keep a
6710           list of not-yet-destroyed buffers.
6711         * gst/gstbuffer.h:
6712           Deprecated BST_BUFFER_FREE_FUNC and GST_BUFFER_COPY_FUNC
6713
6714 2004-02-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6715
6716         * gst/gst.c: (init_pre):
6717           remove textdomain
6718
6719 2004-02-02  Ronald Bultje  <rbultje@ronald.bitfreak.net>
6720
6721         * docs/pwg/advanced-events.xml:
6722         * docs/pwg/advanced-scheduling.xml:
6723         * docs/pwg/intro-basics.xml:
6724         * docs/pwg/other-manager.xml:
6725         * docs/pwg/other-nton.xml:
6726         * docs/pwg/other-ntoone.xml:
6727         * docs/pwg/other-oneton.xml:
6728         * docs/pwg/pwg.xml:
6729           All sort of documentation... Forgot what. Point is that I want this
6730           in before I leave. The 'other-*' will be the last section and will
6731           explain issues specific to these type of elements.
6732
6733 2004-02-02  Benjamin Otte  <in7y118@public.uni-hamburg.de>
6734
6735         * gst/elements/gstfilesrc.c: (gst_filesrc_map_region),
6736         (gst_filesrc_get_read):
6737           set all the values on buffers that we can
6738
6739 2004-02-02  David Schleef  <ds@schleef.org>
6740
6741         Change usage of isblah() to g_ascii_isblah() to be more locale
6742         independent.  (#133076)
6743         * gst/gsturi.c: (gst_uri_protocol_check_internal):
6744         * gst/gstutils.c:
6745         * gst/parse/parse.l:
6746
6747 2004-02-02  Jon Trowbridge  <trow@gnu.org>
6748
6749         reviewed by: David Schleef  <ds@schleef.org>
6750
6751         Fix memory leaks:
6752         * gst/gstcaps.c: (gst_caps_to_string):
6753         * gst/registries/gstxmlregistry.c:
6754         (gst_xml_registry_add_path_list_func),
6755         (gst_xml_registry_parse_padtemplate):
6756
6757 2004-02-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6758
6759         * gst/gstelement.c: (gst_element_default_error):
6760           suffix error messages with period
6761
6762 2004-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
6763
6764         * gst/elements/gstfilesrc.c: (gst_filesrc_open_file):
6765         * gst/elements/gstmultidisksrc.c: (gst_multidisksrc_open_file):
6766         * gst/gsterror.c: (gst_error_get_message):
6767           Suffix with dots
6768         * po/fr.po:
6769         * po/nl.po:
6770           Update translation files
6771
6772 2004-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
6773
6774         * gst/autoplug/gstspideridentity.c:
6775         (gst_spider_identity_sink_loop_type_finding):
6776         * gst/elements/gstfakesink.c: (gst_fakesink_change_state):
6777         * gst/elements/gstfilesink.c: (gst_filesink_open_file),
6778         (gst_filesink_close_file), (gst_filesink_handle_event),
6779         (gst_filesink_chain):
6780         * gst/elements/gstfilesrc.c: (gst_filesrc_map_region),
6781         (gst_filesrc_get_read), (gst_filesrc_open_file):
6782         * gst/elements/gstidentity.c: (gst_identity_chain):
6783         * gst/elements/gstmultidisksrc.c: (gst_multidisksrc_open_file):
6784         * gst/elements/gstpipefilter.c: (gst_pipefilter_get),
6785         (gst_pipefilter_chain), (gst_pipefilter_open_file):
6786         * gst/elements/gsttypefind.c: (gst_type_find_element_chain):
6787         * gst/gsterror.c: (_gst_core_errors_init),
6788         (_gst_library_errors_init), (_gst_resource_errors_init),
6789         (_gst_stream_errors_init), (gst_error_get_message):
6790         * gst/gstpad.c: (gst_pad_set_explicit_caps),
6791         (gst_pad_recover_caps_error), (gst_pad_pull):
6792         * gst/gstqueue.c: (gst_queue_chain), (gst_queue_get):
6793         * gst/schedulers/gstbasicscheduler.c:
6794         (gst_basic_scheduler_chainhandler_proxy),
6795         (gst_basic_scheduler_gethandler_proxy),
6796         (gst_basic_scheduler_cothreaded_chain):
6797           Suffix error messages with period.
6798           Use (NULL) instead of NULL
6799
6800 2004-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
6801
6802         * docs/gst/tmpl/gstelement.sgml:
6803         * docs/gst/tmpl/gstxml.sgml:
6804         * gst/gstelement.c: (gst_element_error_full):
6805           add element path to error
6806
6807 2004-01-31  Benjamin Otte  <in7y118@public.uni-hamburg.de>
6808
6809         * docs/random/mimetypes:
6810           update raw int/float info
6811         * gst/gsttag.c: (_gst_tag_initialize):
6812         * gst/gsttag.h:
6813           add GST_TAG_ENCODER
6814
6815 2004-01-30  David Schleef  <ds@schleef.org>
6816
6817         * gst/cothreads.c: Add another fallback if MAP_ANONYMOUS is
6818           missing (#132991)
6819
6820 2004-01-30  Laurent Vivier <Laurent.Vivier@bull.net>
6821
6822         reviewed by Benjamin Otte 
6823           parts of the patch submitted in bug #113913
6824
6825         * configure.ac:
6826           use AC_C_INLINE. Use = instead of == with test
6827         * examples/plugins/example.c:
6828         * gst/autoplug/gstspideridentity.c:
6829         * gst/elements/gstfdsrc.c:
6830         * gst/elements/gstfilesrc.c:
6831         * gst/elements/gstidentity.c:
6832         * gst/elements/gstmultidisksrc.c:
6833         * gst/elements/gststatistics.c:
6834         * gst/gstelement.c:
6835         * gst/gstobject.c:
6836         * gst/gstpad.c:
6837         * gst/gstpipeline.c:
6838         * gst/gstthread.c:
6839           don't end enums with a comma
6840         * gst/gstindex.c: (gst_index_compare_func):
6841           do explicit casting to gint
6842         * gst/gsttrace.c: (gst_trace_text_flush):
6843           #define strsize as a macro
6844
6845 2004-01-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6846
6847         * docs/README:
6848         * docs/gst/gstreamer-docs.sgml:
6849         * docs/gst/gstreamer-sections.txt:
6850         * docs/gst/tmpl/gstelement.sgml:
6851         * docs/gst/tmpl/gsterror.sgml:
6852         * docs/gst/tmpl/gstinterface.sgml:
6853         * docs/gst/tmpl/gstreamer-unused.sgml:
6854         * docs/gst/tmpl/gststructure.sgml:
6855         * docs/gst/tmpl/gsttag.sgml:
6856         * docs/gst/tmpl/gsttaginterface.sgml:
6857         * docs/gst/tmpl/gstvalue.sgml:
6858         make sure all API ends up in the built docs
6859         * gst/gstinterface.c:
6860         * gst/gststructure.c: (gst_structure_id_set_value),
6861         (gst_structure_set_value), (gst_structure_id_get_value):
6862         * gst/gststructure.h:
6863         * gst/gstvalue.h:
6864         sync .h with .c declarations
6865
6866 2004-01-30  Julien Moutte  <julien@moutte.net>
6867
6868         * libs/gst/bytestream/bytestream.c: Reverting my event handling patch.
6869         Ronald will fix riffread.
6870
6871 2004-01-30  Ronald Bultje  <rbultje@ronald.bitfreak.net>
6872
6873         * docs/pwg/advanced-interfaces.xml:
6874           Added tuner interface docs.
6875
6876 2004-01-30  Benjamin Otte  <in7y118@public.uni-hamburg.de>
6877
6878         * docs/random/mimetypes:
6879           correct Theora information
6880         * gst/gstelement.h:
6881           make GST_ELEMENT_ERROR do a GST_ERROR_OBJECT
6882
6883 2004-01-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6884
6885         * gst/gstelement.c: (gst_element_error_full):
6886         * gst/gstelement.h:
6887           GST_ELEMENT_ERROR in enum -> _IN_ERROR
6888
6889 2004-01-29  Julien MOUTTE  <julien@moutte.net>
6890
6891         * gst/elements/gstfilesrc.c: (gst_filesrc_get),
6892         (gst_filesrc_uri_handler_init): Fixing seeking by making FLUSH happen
6893         again and even before DISCONT.
6894         * gst/gstpad.c: (gst_pad_event_default): Remove a unused switch case.
6895         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf): Fix
6896         bytestream so that it's not stopping to fill the bytestream if events
6897         different than EOS or DISCONT are received. Instead it process them so
6898         that they go downstream.
6899
6900 2004-01-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6901
6902         * docs/gst/tmpl/gstelement.sgml:
6903         * docs/gst/tmpl/gstreamer-unused.sgml:
6904         * docs/gst/tmpl/gstxml.sgml:
6905         * gst/autoplug/gstspideridentity.c:
6906         (gst_spider_identity_sink_loop_type_finding):
6907         * gst/elements/gstfakesink.c: (gst_fakesink_change_state):
6908         * gst/elements/gstfilesink.c: (gst_filesink_open_file),
6909         (gst_filesink_close_file), (gst_filesink_handle_event),
6910         (gst_filesink_chain):
6911         * gst/elements/gstfilesrc.c: (gst_filesrc_map_region),
6912         (gst_filesrc_get_read), (gst_filesrc_open_file):
6913         * gst/elements/gstidentity.c: (gst_identity_chain):
6914         * gst/elements/gstmultidisksrc.c: (gst_multidisksrc_open_file):
6915         * gst/elements/gstpipefilter.c: (gst_pipefilter_get),
6916         (gst_pipefilter_chain), (gst_pipefilter_open_file):
6917         * gst/elements/gsttypefind.c: (gst_type_find_element_chain):
6918         * gst/gstelement.h:
6919         * gst/gstpad.c: (gst_pad_set_explicit_caps),
6920         (gst_pad_recover_caps_error), (gst_pad_pull):
6921         * gst/gstqueue.c: (gst_queue_chain), (gst_queue_get):
6922         * gst/schedulers/gstbasicscheduler.c:
6923         (gst_basic_scheduler_chainhandler_proxy),
6924         (gst_basic_scheduler_gethandler_proxy),
6925         (gst_basic_scheduler_cothreaded_chain):
6926           gst_element_error -> GST_ELEMENT_ERROR
6927
6928 2004-01-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6929
6930         * docs/Makefile.am:
6931         * docs/gst/tmpl/gstelement.sgml:
6932         * docs/gst/tmpl/gstxml.sgml:
6933         * docs/manuals.mak:
6934         * docs/pwg/advanced-request.xml:
6935         * docs/pwg/advanced-scheduling.xml:
6936         * docs/pwg/advanced-tagging.xml:
6937           fix non-validating docbook using CDATA
6938           make sure make check-local gets run first to check if it validates
6939
6940 2004-01-29  Julien MOUTTE <julien@moutte.net>
6941
6942         * docs/pwg/advanced-events.xml: Adding documentation on advanced event
6943         handling (up and downstream).
6944         * docs/pwg/advanced-interfaces.xml: Make it coherent with the
6945         my_filter thing.
6946
6947 2004-01-29  Ronald Bultje  <rbultje@ronald.bitfreak.net>
6948
6949         * docs/pwg/advanced-tagging.xml:
6950           Add docs about tag writing.
6951
6952 2004-01-29  Ronald Bultje  <rbultje@ronald.bitfreak.net>
6953
6954         * docs/pwg/advanced-tagging.xml:
6955           Add a part about tag reading and application signalling... Tag
6956           writing still needs to be documented.
6957         * gst/elements/gstfilesrc.c: (gst_filesrc_set_location):
6958           We can set file locations in READY, too.
6959
6960 2004-01-29  Julien MOUTTE <julien@moutte.net>
6961
6962         * docs/random/ds/element-checklist: Adding some notes about src
6963         events.
6964
6965 2004-01-29  Ronald Bultje  <rbultje@ronald.bitfreak.net>
6966
6967         * docs/random/mimetypes:
6968           Update docs to point to correct elements for various mimetypes, and
6969           some more errors pointed out by Stéphane LOEUILLET (aka LeRoutier)
6970           <stephane.loeuillet@tiscali.fr>.
6971
6972 2004-01-28  David Schleef  <ds@schleef.org>
6973
6974         * docs/pwg/intro-basics.xml: rewrite bufferpool stuff.
6975
6976 2004-01-29  Benjamin Otte  <in7y118@public.uni-hamburg.de>
6977
6978         * docs/random/mimetypes:
6979           update docs for audio/x-raw-float. Add "buffer-frames=0 means
6980           undefined"
6981         * gst/elements/gstfilesrc.c: (gst_filesrc_set_location):
6982           make it only work in NULL.
6983         * gst/gstcaps.c:
6984           don't posion NULL caps
6985         * gst/gstelement.c: (gst_element_set_time):
6986           add debugging statement
6987         * gst/gstelement.c: (gst_element_emit_found_tag),
6988         (gst_element_found_tag_func), (gst_element_found_tags):
6989         * gst/gstelement.h:
6990           These functions take const taglists
6991         * gst/gstpad.c: (gst_pad_proxy_getcaps):
6992           fix memleak
6993         * gst/gstpad.c: (gst_pad_event_default):
6994           make more effort on handling discont and clocks, g_warn if everything
6995           fails
6996         * gst/gststructure.c: (gst_structure_remove_fields),
6997         (gst_structure_remove_fields_valist):
6998         * gst/gststructure.h:
6999           add gst_structure_remove_fields(_valist)
7000         * gst/gsttag.c:
7001           fix doc glitch
7002
7003 2004-01-28  David Schleef  <ds@schleef.org>
7004
7005         * docs/random/ds/element-checklist: Notes about gst_caps_to_string()
7006         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save_caps):
7007         Fix memory leakage of gst_caps_to_string().
7008
7009         Use GST_PTR_FORMAT instead of gst_caps_to_string():
7010         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_sp):
7011         * gst/autoplug/gstspideridentity.c: (spider_find_suggest),
7012         (gst_spider_identity_sink_loop_type_finding):
7013         * gst/elements/gsttypefind.c: (gst_type_find_element_have_type),
7014         (find_suggest):
7015         * gst/gstpad.c: (gst_pad_try_relink_filtered),
7016         (gst_pad_set_explicit_caps):
7017         * gst/parse/grammar.y:
7018
7019 2004-01-28  David Schleef  <ds@schleef.org>
7020
7021         * configure.ac: Add detection for HAVE_PRINTF_EXTENSION and
7022         GST_PRINTF_EXTENSION_FORMAT_DEFINE.
7023         * docs/random/ds/0.9-suggested-changes: Notes from Company.
7024         * gst/gstcaps.c: (gst_caps_to_string): Add comment.
7025         * gst/gstconfig.h.in: Add define for GST_PTR_FORMAT
7026         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_object),
7027         (gst_debug_log_default), (_gst_info_printf_extension),
7028         (_gst_info_printf_extension_arginfo):  Add printf extension.
7029         * gst/gstinfo.h: remove G_GNUC_PRINTF, because it doesn't work with %P
7030         * gst/gststructure.c: (gst_structure_to_string),
7031         (_gst_structure_parse_value): Use gst_value_deserialize() and
7032         remove old code.
7033         * gst/gstvalue.c: (gst_value_deserialize_fourcc),
7034         (gst_value_deserialize_boolean), (gst_strtoi),
7035         (gst_value_deserialize_int), (gst_value_deserialize_double),
7036         (gst_value_deserialize_string), (gst_value_deserialize): Implement
7037         a bunch of deserialize functions and gst_value_deserialize.
7038         * gst/gstvalue.h: er, _de_serialize, not unserialize
7039         * testsuite/caps/string-conversions.c: (main): We don't currently
7040         handle (float) in caps, so convert these to (double).
7041         * testsuite/debug/Makefile.am: Add new test for the printf extension
7042         * testsuite/debug/printf_extension.c: (main): same
7043
7044 2004-01-28  Benjamin Otte  <in7y118@public.uni-hamburg.de>
7045
7046         * docs/random/company/time:
7047           Add some docs about clocking and time
7048
7049 2004-01-28  Julien MOUTTE <julien@moutte.net>
7050
7051         * docs/pwg/advanced-interfaces.xml: Adding XOverlay documentation.
7052
7053 2004-01-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7054
7055         * docs/pwg/advanced-clock.xml:
7056         * docs/pwg/advanced-dparams.xml:
7057         * docs/pwg/advanced-events.xml:
7058         * docs/pwg/advanced-interfaces.xml:
7059         * docs/pwg/advanced-midi.xml:
7060         * docs/pwg/advanced-request.xml:
7061         * docs/pwg/advanced-scheduling.xml:
7062         * docs/pwg/advanced-tagging.xml:
7063         * docs/pwg/advanced-types.xml:
7064         * docs/pwg/appendix-checklist.xml:
7065         * docs/pwg/building-boiler.xml:
7066         * docs/pwg/building-chainfn.xml:
7067         * docs/pwg/building-filterfactory.xml:
7068         * docs/pwg/building-pads.xml:
7069         * docs/pwg/building-props.xml:
7070         * docs/pwg/building-signals.xml:
7071         * docs/pwg/building-state.xml:
7072         * docs/pwg/building-testapp.xml:
7073         * docs/pwg/intro-basics.xml:
7074         * docs/pwg/intro-preface.xml:
7075         * docs/pwg/other-autoplugger.xml:
7076         * docs/pwg/other-sink.xml:
7077         * docs/pwg/other-source.xml:
7078         * docs/pwg/titlepage.xml:
7079           fix up id's
7080
7081 2004-01-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7082
7083         * docs/95NonPath:
7084         * docs/HACKING:
7085         * docs/README:
7086         * docs/building-the-docs-on-debian:
7087           collect relevant bits of doc info
7088
7089 2004-01-28  Ronald Bultje  <rbultje@ronald.bitfreak.net>
7090
7091         * docs/pwg/advanced_tagging.xml:
7092           Half-assed commit so Thomas can re-arrange document IDs here to be
7093           consistent, too.
7094
7095 2004-01-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7096
7097         * docs/manual/autoplugging.xml:
7098         * docs/manual/bins-api.xml:
7099         * docs/manual/bins.xml:
7100         * docs/manual/buffers-api.xml:
7101         * docs/manual/buffers.xml:
7102         * docs/manual/clocks.xml:
7103         * docs/manual/components.xml:
7104         * docs/manual/cothreads.xml:
7105         * docs/manual/debugging.xml:
7106         * docs/manual/dparams-app.xml:
7107         * docs/manual/dynamic.xml:
7108         * docs/manual/elements-api.xml:
7109         * docs/manual/elements.xml:
7110         * docs/manual/factories.xml:
7111         * docs/manual/gnome.xml:
7112         * docs/manual/goals.xml:
7113         * docs/manual/helloworld.xml:
7114         * docs/manual/helloworld2.xml:
7115         * docs/manual/init-api.xml:
7116         * docs/manual/intro.xml:
7117         * docs/manual/links-api.xml:
7118         * docs/manual/links.xml:
7119         * docs/manual/manual.xml:
7120         * docs/manual/motivation.xml:
7121         * docs/manual/pads-api.xml:
7122         * docs/manual/pads.xml:
7123         * docs/manual/plugins-api.xml:
7124         * docs/manual/plugins.xml:
7125         * docs/manual/programs.xml:
7126         * docs/manual/queues.xml:
7127         * docs/manual/quotes.xml:
7128         * docs/manual/schedulers.xml:
7129         * docs/manual/states-api.xml:
7130         * docs/manual/states.xml:
7131         * docs/manual/threads.xml:
7132         * docs/manual/typedetection.xml:
7133         * docs/manual/xml.xml:
7134           use chapter, part, section or misc as id starts for all bits
7135
7136 2004-01-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7137
7138         * docs/gst/gstreamer-sections.txt:
7139           Fix up TITLE of the sections
7140
7141 2004-01-28  Ronald Bultje  <rbultje@ronald.bitfreak.net>
7142
7143         * docs/pwg/advanced_interfaces.xml:
7144           Add documentation on propertyprobing.
7145         * docs/pwg/advanced_events.xml:
7146         * docs/pwg/advanced_tagging.xml:
7147         * docs/pwg/building_boiler.xml:
7148         * docs/pwg/building_filterfactory.xml:
7149         * docs/pwg/pwg.xml:
7150           Move filterfactory and tagging into their own chapter, add a chapter
7151           on events. all these are empty placeholders that will be filled in
7152           some day.
7153
7154 2004-01-28  Ronald Bultje  <rbultje@ronald.bitfreak.net>
7155
7156         * docs/pwg/advanced_interfaces.xml:
7157           Docs for mixer interface. Also a check for website uploading.
7158
7159 2004-01-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7160
7161         * docs/HACKING:
7162         * docs/Makefile.am:
7163         * docs/faq/Makefile.am:
7164         * docs/gst/Makefile.am:
7165         * docs/gst/tmpl/gstelement.sgml:
7166         * docs/gst/tmpl/gstplugin.sgml:
7167         * docs/gst/tmpl/gstreamer-unused.sgml:
7168         * docs/libs/Makefile.am:
7169         * docs/manual/Makefile.am:
7170         * docs/manuals.mak:
7171         * docs/pwg/Makefile.am:
7172         * docs/upload.mak:
7173           Separate out upload target and make it similar for
7174           both docbook and gtk-doc docs
7175
7176 2004-01-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7177
7178         * docs/manuals.mak:
7179           Fix upload target to work with freedesktop
7180
7181 2004-01-28  Ronald Bultje  <rbultje@ronald.bitfreak.net>
7182
7183         * docs/pwg/advanced_types.xml:
7184           Add notes on creating your own types.
7185         * docs/pwg/building_boiler.xml:
7186         * docs/pwg/building_pads.xml:
7187         * docs/pwg/building_state.xml:
7188           Add some stuff about how to retrieve values from structures, how
7189           that relates to types and change layout slightly again to be almost
7190           perfect.
7191
7192 2004-01-28  Ronald Bultje  <rbultje@ronald.bitfreak.net>
7193
7194         * docs/pwg/advanced_dparams.xml:
7195         * docs/pwg/advanced_scheduling.xml:
7196           Change index layout slightly.
7197
7198 2004-01-28  Ronald Bultje  <rbultje@ronald.bitfreak.net>
7199
7200         * docs/pwg/advanced_clock.xml:
7201         * docs/pwg/advanced_interfaces.xml:
7202         * docs/pwg/advanced_midi.xml:
7203           General placeholders for now.
7204         * docs/pwg/advanced_request.xml:
7205           Explanation about sometimes and request pads.
7206         * docs/pwg/advanced_scheduling.xml:
7207           Concept of bytestream, loopfunctions and schedulers.
7208         * docs/pwg/building_boiler.xml:
7209           Add something about plugin-init.
7210
7211 2004-01-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7212
7213         * docs/pwg/building_pads.xml:
7214           Fix broken docbook
7215
7216 2004-01-27  Ronald Bultje  <rbultje@ronald.bitfreak.net>
7217
7218         * docs/pwg/advanced_interfaces.xml:
7219         * docs/pwg/pwg.xml:
7220           Add as a placeholder for future filling-in.
7221         * docs/pwg/basics_autoplugging.xml:
7222         * docs/pwg/basics_buffers.xml:
7223         * docs/pwg/basics_elements.xml:
7224         * docs/pwg/basics_events.xml:
7225         * docs/pwg/basics_plugins.xml:
7226         * docs/pwg/basics_types.xml:
7227           Remove, because unused (this is all in intro_basics.xml).
7228         * docs/pwg/building_signals.xml:
7229           Short intro to signals + reference to GObject docs - we really
7230           shouldn't go into these sort of things to deply because we don't
7231           use them that extensively anyway.
7232         * docs/pwg/building_state.xml:
7233           Explanation of states. Benjamin, please check.
7234         * docs/pwg/building_testapp.xml:
7235           Put everything in one page - putting only a few lines of content
7236           per page doesn't really make sense.
7237
7238           Time to get into the advanced topics. ;).
7239
7240 2004-01-27  Ronald Bultje  <rbultje@ronald.bitfreak.net>
7241
7242         * docs/pwg/advanced_types.xml:
7243           Finish documenting the current state of mimetypes.
7244         * docs/pwg/building_boiler.xml:
7245         * docs/pwg/building_chainfn.xml:
7246         * docs/pwg/building_pads.xml:
7247         * docs/pwg/building_props.xml:
7248         * docs/pwg/building_testapp.xml:
7249           Start documenting the "how to build a simple audio filter" part
7250           of the PWG. Most stuff is ready by now. Stuff remaining: signals,
7251           states and (maybe?) a short introduction to capsnego in the chapter
7252           on pads (building_pads.xml). Capsnego should probably be explained
7253           fully in advanced_capsnego.xml or so.
7254
7255 2004-01-26  David Schleef  <ds@schleef.org>
7256
7257         * gst/gstpad.c: (gst_pad_try_set_caps_nonfixed):
7258         * gst/gstpad.h: Add new function to allow element to (somewhat)
7259         specify non-fixed caps on a pad.
7260         * gst/gstqueue.c: (gst_queue_chain): Remove noisy g_object_notify()
7261         that I added a few weeks ago.
7262
7263 2004-01-26  David Schleef  <ds@schleef.org>
7264
7265         * gst/gstpad.c: (gst_pad_try_set_caps): Revert last change
7266           making try_set_caps() work with non-fixed caps.
7267
7268 2004-01-26  Ronald Bultje  <rbultje@ronald.bitfreak.net>
7269
7270         * docs/pwg/advanced_types.xml:
7271         * docs/pwg/intro_basics.xml:
7272         * docs/pwg/intro_preface.xml:
7273         * docs/pwg/pwg.xml:
7274         * docs/pwg/titlepage.xml:
7275           First try to resurrect the PWG. I'm halfway integrating the mimetypes
7276           in here (docs/random/mimetypes), and will from there on work on both
7277           updating outdated parts and adding missing parts.
7278           That doesn't mean I'll fix it completely, but I'll try at least. ;).
7279
7280 2004-01-26  Thomas Vander Stichele  <thomas at apestaart dot org>
7281
7282         * gst/gsterror.h: reinstate GST_LIBRARY_ERROR_ENCODE until
7283           policy is set
7284
7285 2004-01-26  Benjamin Otte  <in7y118@public.uni-hamburg.de>
7286
7287         * gst/gstelement.h:
7288           remove gst_element_factory_get_version. It doesn't exist anymore.
7289         * gst/gstplugin.c:
7290         * gst/gstplugin.h:
7291           remove gst_plugin_set_name and change gst_plugin_get_longname to
7292           gst_plugin_get_description to match code.
7293         * gst/gsterror.h:
7294           remove GST_LIBRARY_ERROR_ENCODE. It's GST_STREAM_ERROR_ENCODE.
7295         * gst/gstpad.c: (gst_pad_try_set_caps):
7296           make it work with nonfixed caps.
7297           Note that even in the nonfixed case the link function of the pad
7298           that tries to set caps isn't called.
7299
7300 2004-01-25  Benjamin Otte  <in7y118@public.uni-hamburg.de>
7301
7302         * gst/elements/gstbufferstore.c: (gst_buffer_store_get_buffer):
7303           fix bug where buffer was not assembled correctly
7304         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init):
7305           silence by default
7306         * gst/elements/gsttypefind.c: (gst_type_find_element_chain):
7307           only seek if there's no more buffers that could work without seeking
7308
7309 2004-01-23  Ronald Bultje  <rbultje@ronald.bitfreak.net>
7310
7311         * gst/gsttag.c: (_gst_tag_initialize):
7312         * gst/gsttag.h:
7313           Add application tag (for encoding/muxing app).
7314
7315 2004-01-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7316
7317         * autogen.sh:
7318           make autopoint force, and libtoolize not copy
7319         * common/m4/as-docbook.m4:
7320           added docbook xml catalog setup check
7321         * common/m4/gst-doc.m4:
7322           use docbook check
7323
7324 2004-01-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7325
7326         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7327         * gst/gsttag.h:
7328           add GstTagFlag
7329
7330 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7331
7332         * docs/gst/gstreamer-sections.txt:
7333         * docs/gst/tmpl/gst.sgml:
7334         * docs/gst/tmpl/gstbuffer.sgml:
7335         * docs/gst/tmpl/gstclock.sgml:
7336         * docs/gst/tmpl/gstelement.sgml:
7337         * docs/gst/tmpl/gstreamer-unused.sgml:
7338         * docs/gst/tmpl/gstxml.sgml:
7339           sync latest API changes to docs
7340
7341 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7342
7343         * gst/gstpluginfeature.c:
7344           fix doc snippet
7345         * tools/gst-inspect.c: (print_element_list):
7346           fix output of typefind
7347           add GPL header
7348         * tools/gst-launch.c:
7349           add GPL header
7350
7351 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7352
7353         * gst/elements/Makefile.am:
7354         * gst/elements/gstelements.c:
7355         * gst/elements/gsttypefindelement.c:
7356         * gst/elements/gsttypefindelement.h:
7357         * po/POTFILES.in:
7358         * po/fr.po:
7359         * po/nl.po:
7360           renamed gsttypefindelement to gsttypefind, conserving CVS history
7361
7362 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7363
7364         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_list_add_valist):
7365         * gst/gsttag.h:
7366           add some tags used in ogg as well
7367           fix _ in replaygain tags
7368
7369 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7370
7371         * gst/gsterror.h:
7372           fix wrong GST_LIBRARY_ERROR_ENCODE addition
7373
7374 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7375
7376         * gst/gstelement.c: (gst_element_error_full):
7377         * gst/gstelement.h:
7378           change _extended to _full
7379
7380 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7381
7382         reviewed by: <delete if not using a buddy>
7383
7384         * docs/gst/tmpl/gst.sgml:
7385         * docs/gst/tmpl/gstbuffer.sgml:
7386         * docs/gst/tmpl/gstclock.sgml:
7387         * docs/gst/tmpl/gstelement.sgml:
7388         * docs/gst/tmpl/gstreamer-unused.sgml:
7389         * docs/gst/tmpl/gstxml.sgml:
7390         * gst/gstelement.c: (gst_element_error_full):
7391         * gst/gstelement.h:
7392
7393 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7394
7395         * gst/gstelement.h: fix _gst_element_error_printf prototype
7396
7397 2004-01-20  David Schleef  <ds@schleef.org>
7398
7399         * gst/gststructure.c: (gst_structure_to_string):
7400         Convert function to use gst_value_serialize().
7401         * gst/gstvalue.c: (gst_value_serialize_list),
7402         (gst_value_serialize_fourcc), (gst_value_serialize_int_range),
7403         (gst_value_serialize_double_range), (gst_value_serialize_boolean),
7404         (gst_value_serialize_int), (gst_value_serialize_double),
7405         (gst_string_wrap), (gst_value_serialize_string),
7406         (gst_value_serialize), (gst_value_deserialize):
7407         * gst/gstvalue.h:
7408         Add implementations for serialize.
7409
7410 2004-01-20  Julien MOUTTE  <julien@moutte.net>
7411
7412         * gst/gsterror.h: xvidenc.c needs GST_LIBRARY_ERROR_ENCODE. Dunno if
7413         we want to keep that one in the future or change xvidenc.c to use 
7414         another error.
7415
7416 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
7417
7418         * gst/gstelement.c: (_gst_element_error_printf):
7419         * gst/gstelement.h:
7420           privatise function
7421
7422 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
7423
7424         * docs/random/error:
7425           doc explaining error system
7426         * gst/elements/gstfilesrc.c: (gst_filesrc_open_file):
7427           cleanup
7428
7429 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
7430
7431         * gst/gst-i18n-app.h:
7432         * gst/gst-i18n-lib.h:
7433           remove inclusion of config.h
7434         * po/POTFILES.in:
7435         * po/nl.po:
7436           add gst/gstelement.c
7437
7438 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
7439
7440         * po/nl.po: updated Dutch translation
7441
7442 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
7443
7444         * gst/gsterror.c: (_gst_core_errors_init),
7445         (_gst_library_errors_init), (_gst_resource_errors_init),
7446         (_gst_stream_errors_init):
7447         remove ending punctuation dots
7448
7449 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
7450
7451         * gst/elements/gstfilesink.c: (gst_filesink_open_file):
7452         * gst/elements/gstfilesrc.c: (gst_filesrc_get_read):
7453         * gst/elements/gstmultidisksrc.c: (gst_multidisksrc_open_file):
7454         * gst/elements/gstpipefilter.c: (gst_pipefilter_get),
7455         (gst_pipefilter_chain), (gst_pipefilter_open_file):
7456         use GST_ERROR_SYSTEM
7457
7458 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
7459
7460         * gst/gstelement.c: (gst_element_error_printf),
7461         (gst_element_error_extended):
7462         * gst/gstelement.h:
7463           add a helper printf function so we can have NULL values passed.
7464
7465 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
7466
7467         * gst/gstelement.h:
7468           add G_STMT macros to gst_element_error, which isn't strictly
7469           necessary but people tell me to anyway.
7470
7471 2004-01-18  Thomas Vander Stichele  <thomas at apestaart dot org>
7472
7473         * gst/Makefile.am:
7474         * gst/autoplug/gstspideridentity.c:
7475         (gst_spider_identity_sink_loop_type_finding):
7476         * gst/elements/gstfakesink.c: (gst_fakesink_change_state):
7477         * gst/elements/gstfilesink.c: (gst_filesink_open_file),
7478         (gst_filesink_close_file), (gst_filesink_handle_event),
7479         (gst_filesink_chain):
7480         * gst/elements/gstfilesrc.c: (gst_filesrc_set_property),
7481         (gst_filesrc_map_region), (gst_filesrc_get_read),
7482         (gst_filesrc_open_file):
7483         * gst/elements/gstidentity.c: (gst_identity_chain):
7484         * gst/elements/gstmultidisksrc.c: (gst_multidisksrc_open_file):
7485         * gst/elements/gstpipefilter.c: (gst_pipefilter_get),
7486         (gst_pipefilter_chain), (gst_pipefilter_open_file):
7487         * gst/elements/gsttypefindelement.c: (gst_type_find_element_chain):
7488         * gst/gst.h:
7489         * gst/gst_private.h:
7490         * gst/gstelement.c: (gst_element_class_init),
7491         (gst_element_default_error), (gst_element_error_func),
7492         (gst_element_error_extended):
7493         * gst/gstelement.h:
7494         * gst/gsterror.c: (_gst_core_errors_init),
7495         (_gst_library_errors_init), (_gst_resource_errors_init),
7496         (_gst_stream_errors_init), (gst_error_get_message):
7497         * gst/gsterror.h:
7498         * gst/gstinfo.c: (_gst_debug_init):
7499         * gst/gstmarshal.list:
7500         * gst/gstpad.c: (gst_pad_set_explicit_caps),
7501         (gst_pad_recover_caps_error), (gst_pad_pull):
7502         * gst/gstqueue.c: (gst_queue_chain), (gst_queue_get):
7503         * gst/schedulers/gstbasicscheduler.c:
7504         (gst_basic_scheduler_chainhandler_proxy),
7505         (gst_basic_scheduler_gethandler_proxy),
7506         (gst_basic_scheduler_cothreaded_chain):
7507         * po/POTFILES.in:
7508         * po/fr.po:
7509         * po/nl.po:
7510           change error signal
7511           add error categories
7512
7513 2004-01-18  Jeremy Simon  <jesimon@libertysurf.fr>
7514
7515         * gst/gsttag.c: (_gst_tag_initialize):
7516         * gst/gsttag.h:
7517         Add replaygain tag
7518
7519 2004-01-18  Colin Walters  <walters@verbum.org>
7520
7521         * examples/retag/retag.c: Call gst_init before processing
7522         program args.  Add g_assert to _link_many call.
7523
7524 2004-01-16  Benjamin Otte  <in7y118@public.uni-hamburg.de>
7525
7526         * gst/gstpad.c: (gst_pad_alloc_buffer):
7527           Return a newly allocated buffer when the pad has no peer.
7528
7529 2004-01-16  Benjamin Otte  <in7y118@public.uni-hamburg.de>
7530
7531         * gst/gstclock.c: (gst_clock_get_time):
7532           make it compile with gcc 2.95 again.
7533           Patch by Scott Wheeler
7534
7535 2004-01-15  David Schleef  <ds@schleef.org>
7536
7537         * gst/gstcaps.h:
7538         Added gst_caps_is_simple() macro.
7539         * testsuite/caps/caps.c: (test1):
7540         * testsuite/caps/intersect2.c: (main):
7541         * testsuite/caps/intersection.c: (main):
7542         Fixes to make 'make check' work again after removing
7543         gst_caps_is_chained().
7544
7545 2004-01-15  Leif Johnson <leif@ambient.2y.net>
7546
7547         * docs/random/uraeus/gstreamer_and_midi.txt: Rather large edits
7548         and additions to the MIDI document.
7549
7550 2004-01-15  David Schleef  <ds@schleef.org>
7551
7552         * gst/gstelement.c: (gst_element_get_compatible_pad_filtered),
7553         (gst_element_link_pads_filtered): Use GST_PAD_ macros instead
7554         of GST_RPAD_, since we don't know if it's a real or ghost pad.
7555
7556 2004-01-15  David Schleef  <ds@schleef.org>
7557
7558         * gst/gstqueue.c:
7559         * gst/gstqueue.h:
7560         Fix the spelling of "treshold" and make min_threshold actually
7561         affect the queue.
7562
7563 2004-01-15  David Schleef  <ds@schleef.org>
7564
7565         * gst/gstcaps.c:
7566         Add lots of documentation.
7567         * gst/gstcaps.h:
7568         Deprecate a few functions.
7569         * gst/gstpad.c:
7570         Removed use of deprecated functions.
7571
7572 2004-01-15  Benjamin Otte  <in7y118@public.uni-hamburg.de>
7573
7574         * gst/gstpad.c: (gst_pad_is_linked):
7575         * gst/gstpad.h:
7576           implement gst_pad_is_linked
7577         * gst/gstelement.h:
7578           reserve space for initiate_state_change
7579
7580 2004-01-15  Benjamin Otte  <in7y118@public.uni-hamburg.de>
7581
7582         * gst/autoplug/gstspideridentity.c:
7583         (gst_spider_identity_sink_loop_type_finding):
7584           break infinite loop by just returning instead of looping
7585         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_set_property):
7586           set event time difference correctly. Set it to 1 second instead
7587           of 100ms to be more tolerant
7588         * gst/gstelement.c: (gst_element_set_time):
7589           add debugging output
7590
7591 2004-01-14  Benjamin Otte  <in7y118@public.uni-hamburg.de>
7592
7593         * gst/gstqueue.c: (gst_queue_getcaps), (gst_queue_link):
7594           query if buffers are inside the pool, ignore events
7595
7596 2004-01-13  Benjamin Otte  <in7y118@public.uni-hamburg.de>
7597
7598         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_init),
7599         (gst_clock_set_speed), (gst_clock_set_active),
7600         (gst_clock_is_active), (gst_clock_reset),
7601         (gst_clock_handle_discont):
7602         * gst/gstclock.h:
7603           deprecate old interface and disable functions that aren't in use
7604           anymore.
7605         * gst/gstelement.h:
7606         * gst/gstelement.c: (gst_element_get_time), (gst_element_wait),
7607         (gst_element_set_time), (gst_element_adjust_time):
7608           add concept of "element time" and functions to get/set this time.
7609         * gst/gstelement.c: (gst_element_change_state):
7610           update element time correctly.
7611         * gst/gstelement.c: (gst_element_get_compatible_pad_filtered):
7612           This is a debug message, not a g_critical.
7613         * gst/gstpad.c: (gst_pad_event_default):
7614           handle discontinuous events right with element time.
7615         * gst/gstscheduler.c: (gst_scheduler_state_transition):
7616           update to clocking fixes.
7617           set clocks on elements in READY=>PAUSED. The old behaviour caused
7618           a wrong element time on the first element that started playing.
7619         * gst/schedulers/gstbasicscheduler.c:
7620         (gst_basic_scheduler_class_init):
7621         * gst/schedulers/gstoptimalscheduler.c:
7622         (gst_opt_scheduler_class_init):
7623           remove code that just implements the default behaviour.
7624         * gst/elements/gstfakesink.c: (gst_fakesink_chain):
7625           update to use new clocking functions
7626         * testsuite/clock/clock1.c: (gst_clock_debug), (main):
7627         * testsuite/clock/clock2.c: (gst_clock_debug), (main):
7628           update to test new element time.
7629         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps):
7630           use _get_allowed_caps instead of _get_caps. This catches filtered
7631           caps correctly.
7632         * testsuite/debug/commandline.c:
7633           update for new GST_DEBUG syntax.
7634         * testsuite/threads/Makefile.am:
7635           disable a test that only works sometimes.
7636
7637 2004-01-13  Julien MOUTTE <julien@moutte.net>
7638
7639         * po/LINGUAS: Adding fr.
7640         * po/fr.po: Adding french translation.
7641
7642 2004-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7643
7644         * gst/parse/grammar.y:
7645         * po/POTFILES.in:
7646         * po/nl.po:
7647         * tools/gst-launch.c: (xmllaunch_parse_cmdline), (main):
7648           translate parsing error messages
7649
7650 2004-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7651
7652         * po/POTFILES.in: adding gst-launch
7653         * po/nl.po: updated translation, all 99 strings translated
7654         * tools/gst-launch.c: (idle_func), (xmllaunch_parse_cmdline),
7655         (found_tag), (sigint_handler_sighandler), (play_handler), (main):
7656           fix strings for translation
7657
7658 2004-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7659
7660         * gst/gst.c:
7661           - capitalize beginnings of popt options
7662           - fix strings for translation
7663           - change gst-debug format from =N1=V1:N2=V2 to =N1:V1,N2:V2
7664
7665 2004-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7666
7667         * po/README: add some notes on how to update translations
7668
7669 2004-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7670
7671         * ABOUT-NLS: removed, is autogenerated from autopoint
7672         * autogen.sh: add autopoint stuff
7673         * configure.ac: fix up gettext stuff
7674         * gst/Makefile.am: add i18n headers to noinst_HEADERS
7675         * gst/elements/gsttypefindelement.c: add header include
7676         * gst/gettext.h: add header, copy from system-installed header
7677         * gst/gst-i18n-app.h: to be included by each app having translations
7678         * gst/gst-i18n-lib.h: to be included by each lib having translations
7679         * gst/gst.c: (init_pre): fix up gettext calls
7680         * gst/gst_private.h: remove i18n stuff, moving to separate headers
7681         * po/LINGUAS: the new way to specify translations present
7682         * po/Makefile.in.in: removed from cvs, autogenerated from autopoint
7683         * po/Makevars: the variables filled in for GStreamer
7684         * po/POTFILES.in: added new files with translations
7685         * po/de.po: has new strings
7686         * po/nl.po: readded, has new strings
7687
7688 2004-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7689
7690         * gst/gsttag.c: fix some strings marked for translation
7691
7692 2004-01-13  Iain <iain@prettypeople.org>
7693
7694         * gst/schedulers/gstoptimalscheduler.c (add_to_group): Reference the
7695         group when we add an element to it, cos we unref it when we remove one
7696
7697 2004-01-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7698
7699         * testsuite/debug/commandline.c: (debug_not_reached):
7700         * testsuite/debug/output.c: (check_message):
7701           fix testsuite
7702
7703 2004-01-12  Benjamin Otte  <in7y118@public.uni-hamburg.de>
7704
7705         * examples/cutter/.cvsignore:
7706         * examples/helloworld/.cvsignore:
7707         * examples/launch/.cvsignore:
7708         * examples/manual/.cvsignore:
7709         * examples/mixer/.cvsignore:
7710         * examples/pingpong/.cvsignore:
7711         * examples/plugins/.cvsignore:
7712         * examples/queue/.cvsignore:
7713         * examples/queue2/.cvsignore:
7714         * examples/queue3/.cvsignore:
7715         * examples/queue4/.cvsignore:
7716         * examples/retag/.cvsignore:
7717         * examples/thread/.cvsignore:
7718         * examples/typefind/.cvsignore:
7719         * examples/xml/.cvsignore:
7720         * gst/.cvsignore:
7721         * gst/autoplug/.cvsignore:
7722         * gst/elements/.cvsignore:
7723         * gst/indexers/.cvsignore:
7724         * gst/parse/.cvsignore:
7725         * gst/registries/.cvsignore:
7726         * gst/schedulers/.cvsignore:
7727         * libs/gst/bytestream/.cvsignore:
7728         * libs/gst/control/.cvsignore:
7729         * libs/gst/getbits/.cvsignore:
7730         * tests/.cvsignore:
7731         * tests/bufspeed/.cvsignore:
7732         * tests/instantiate/.cvsignore:
7733         * tests/memchunk/.cvsignore:
7734         * tests/muxing/.cvsignore:
7735         * tests/sched/.cvsignore:
7736         * tests/seeking/.cvsignore:
7737         * tests/threadstate/.cvsignore:
7738         * testsuite/.cvsignore:
7739         * testsuite/caps/.cvsignore:
7740         * testsuite/cleanup/.cvsignore:
7741         * testsuite/dynparams/.cvsignore:
7742         * testsuite/plugin/.cvsignore:
7743         * tools/.cvsignore:
7744           update - this is huge, because it includes *.bb, *.bbg and *.da files
7745           which are generated for gcov.
7746
7747 2004-01-11  David Schleef  <ds@schleef.org>
7748
7749         * gst/gststructure.c: (gst_strtoi), (gst_value_from_string): Add
7750         a function to parse integers in ways that strto[u]l() does not.
7751
7752 2004-01-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>
7753
7754         * tools/gst-inspect.c: (print_caps):
7755           improve output of caps a bit
7756
7757 2004-01-11  David Schleef  <ds@schleef.org>
7758
7759         * gst/gstbuffer.c: (gst_buffer_create_sub): Subbuffers should
7760         inherit correct flags (READONLY and DONTKEEP).
7761
7762 2004-01-11  David Schleef  <ds@schleef.org>
7763
7764         * gst/elements/gstfilesrc.c: (gst_filesrc_free_parent_mmap),
7765         (gst_filesrc_map_region):
7766         * gst/gstbuffer.c: (_gst_buffer_initialize),
7767         (_gst_buffer_sub_free), (gst_buffer_default_copy),
7768         (gst_buffer_new), (gst_buffer_create_sub),
7769         (gst_buffer_is_span_fast), (gst_buffer_span):
7770         * gst/gstbuffer.h:
7771         Change GstBuffer private structure element names. (all files)
7772         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
7773         (gst_queue_link):
7774         * gst/gstqueue.h:
7775         Implement getcaps/pad_link functions that handle the case where
7776         there are data in the queue.
7777
7778 2004-01-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>
7779
7780         * gst/elements/gstbufferstore.c:
7781           initialize debugging structure correctly
7782         * gst/elements/gsttee.c: (gst_tee_set_property):
7783           g_object_notify when property was changed
7784         * gst/elements/gsttypefindelement.c:
7785         (gst_type_find_element_change_state):
7786           clear caps correctly
7787
7788 2004-01-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>
7789
7790         * gst/gstqueue.c: (gst_queue_init):
7791           Use better defaults for when a queue should block. This
7792           gets rid of jerky playback for quite a few files.
7793           It takes more memory.
7794
7795 2004-01-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7796
7797         (gst_xml_registry_parse_padtemplate):
7798           make critical message slightly more useful
7799
7800 2004-01-10  Benjamin Otte  <in7y118@public.uni-hamburg.de>
7801
7802         * gst/gstinfo.c: (gst_debug_log), (gst_debug_log_valist),
7803         (gst_debug_message_get), (gst_debug_log_default):
7804         * gst/gstinfo.h:
7805           Change gst_debug_log(_valist) to take a const format string.
7806           Change prototype of log function and functions using those to 
7807           take a GstDebugMessage instead of a string that requires using
7808           gst_debug_message_get.
7809
7810 2004-01-08  David Schleef  <ds@schleef.org>
7811
7812         * Makefile.am:
7813         * configure.ac:
7814         Add option --enable-gcov to build GStreamer with -fprofile-arcs
7815         and -ftest-coverage, which allows gcov to show information about
7816         testsuite coverage.
7817
7818 2004-01-08  Benjamin Otte  <in7y118@public.uni-hamburg.de>
7819
7820         * gst/gstutils.h:
7821           Add GST_BOILERPLATE(_FULL), GST_PARENT_CALL and
7822           GST_PARENT_CALL_WITH_DEFAULT
7823         * gst/elements/gstaggregator.c: 
7824         * gst/elements/gstbufferstore.c: 
7825         * gst/elements/gstfakesink.c: 
7826         * gst/elements/gstfakesrc.c: 
7827         * gst/elements/gstfdsink.c: 
7828         * gst/elements/gstfdsrc.c: 
7829         * gst/elements/gstfilesink.c: 
7830         * gst/elements/gstfilesrc.c: 
7831         * gst/elements/gstidentity.c: 
7832         * gst/elements/gstmd5sink.c: 
7833         * gst/elements/gstmultidisksrc.c:
7834         * gst/elements/gstpipefilter.c: 
7835         * gst/elements/gstshaper.c:
7836         * gst/elements/gststatistics.c:
7837         * gst/elements/gsttee.c:
7838         * gst/elements/gsttypefindelement.c:
7839           use them.
7840
7841 2004-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
7842
7843         * docs/gst/gstreamer-docs.sgml: remove props
7844         * docs/gst/gstreamer-sections.txt: remove props
7845         * docs/gst/tmpl/gst.sgml:
7846         * docs/gst/tmpl/gstbin.sgml:
7847         * docs/gst/tmpl/gstbuffer.sgml:
7848         * docs/gst/tmpl/gstcaps.sgml:
7849         * docs/gst/tmpl/gstclock.sgml:
7850         * docs/gst/tmpl/gstelement.sgml:
7851         * docs/gst/tmpl/gstindex.sgml:
7852         * docs/gst/tmpl/gstobject.sgml:
7853         * docs/gst/tmpl/gstpad.sgml:
7854         * docs/gst/tmpl/gstpadtemplate.sgml:
7855         * docs/gst/tmpl/gstreamer-unused.sgml:
7856         * docs/gst/tmpl/gstthread.sgml:
7857         * docs/gst/tmpl/gstxml.sgml:
7858           sync with code reorganization
7859
7860 2004-01-07  Jan Schmidt  <thaytan@mad.scientist.com>
7861
7862         * gst/gstelement.c: (gst_element_get_compatible_pad_filtered):
7863         Make the 'Could not find compatible pad' message more informative.
7864
7865 2004-01-07  Ronald Bultje  <rbultje@ronald.bitfreak.net>
7866                                                                                 
7867         * gst/elements/gstfilesink.c: (gst_filesink_set_location):
7868           Fix for if we pass NULL as property to location.
7869         * gst/elements/gstpipefilter.c: (gst_pipefilter_init),
7870         (gst_pipefilter_handle_event), (gst_pipefilter_chain):
7871           Fix for instantiate-test (see below).
7872         * gst/gststructure.c: (_gst_structure_parse_value):
7873           Fix compile error on gcc-2.96.
7874         * configure.ac:
7875         * tests/Makefile.am:
7876         * tests/instantiate/Makefile.am:
7877         * tests/instantiate/create.c: (create_all_elements), (main):
7878           Add a test that instantiates all elements. This makes it easy to
7879           track dead code for old API/design (like setting event functions
7880           on sink pads and so on).
7881
7882 2004-01-06  Jan Schmidt  <thaytan@mad.scientist.com>
7883
7884         * gst/gstcaps.c: (gst_caps_append_structure):
7885           Move the poisoning to allow a NULL structure
7886         * gst/gstevent.c: (_gst_event_free):
7887           When freeing a navigation event, free the structure
7888           also
7889
7890 2004-01-04  David Schleef  <ds@schleef.org>
7891
7892         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
7893         Remove usage of gst_pad_proxy_fixate.
7894         * gst/gstcaps.c: (gst_caps_append), (gst_caps_append_structure),
7895         (gst_caps_split_one), (gst_caps_replace):
7896         Add poisoning code.
7897         * gst/gstmarshal.list:
7898         Add pointer__pointer for fixate signal
7899         * gst/gstpad.c: (gst_real_pad_class_init),
7900         (_gst_real_pad_fixate_accumulator), (gst_pad_link_fixate),
7901         (_gst_pad_default_fixate_func), (gst_pad_proxy_fixate),
7902         (gst_pad_set_explicit_caps), (gst_pad_template_new):
7903         Add poisoning code. Add fixate signal on RealPad. Change
7904         set_explicit_caps() to take const GstCaps, like try_set_caps().
7905         * gst/gstpad.h:
7906         * testsuite/caps/Makefile.am:
7907         * testsuite/caps/app_fixate.c: Add a test for the fixate signal
7908
7909 2004-01-03  David Schleef  <ds@schleef.org>
7910
7911         * gst/elements/gsttypefindelement.c:
7912         (gst_type_find_element_have_type), (gst_type_find_element_init):
7913         Use gst_pad_use_explicit_caps for src pad.
7914         * gst/gstpad.c: (gst_pad_try_set_caps):  Check that link exists
7915         before using it.
7916
7917 2004-01-03  David Schleef  <ds@schleef.org>
7918
7919         * gst/gstelement.c: (gst_element_link_pads_filtered),
7920         (gst_element_negotiate_pads): Fix to allow DELAYED to indicate
7921         that linking was successful.
7922         * gst/gstpad.c: (gst_pad_link_free),
7923         (gst_pad_link_call_link_functions), (gst_pad_link_negotiate),
7924         (gst_pad_link_try), (gst_pad_link_unnegotiate),
7925         (gst_pad_unnegotiate), (gst_pad_set_explicit_caps): Pass
7926         GstPadLinkReturn correctly between functions, and don't fail
7927         when DELAYED is used (DELAYED is very important).  Better
7928         cleanup on unlinking and unnegotiation.  Should fix some spider
7929         bugs.
7930
7931 2004-01-02  David Schleef  <ds@schleef.org>
7932
7933         * gst/gstelement.c: (gst_element_class_init),
7934         (gst_element_base_class_init): ->padtemplates should be cleared
7935         in base_init, since we need to have a fresh list for every
7936         class.  (Alternately, we chould copy the list and share the
7937         actual pad templates (not the list), but that would require
7938         changing every plugin to move pad template registration from
7939         base_init to class_init.)
7940
7941 2004-01-03  Ronald Bultje  <rbultje@ronald.bitfreak.net>
7942
7943         * gst/gstelement.c: (gst_element_class_add_pad_template):
7944           Refuse registering a pad template if another pad template
7945           with the same name already exists (#114715).
7946
7947 2004-01-02  David Schleef  <ds@schleef.org>
7948
7949         * gst/gstcaps.c: (_gst_structure_is_equal_foreach),
7950         (gst_caps_is_equal_fixed): Add new function.
7951         * gst/gstcaps.h: ditto.
7952         * gst/gstpad.c: (gst_real_pad_class_init),
7953         (gst_pad_link_call_link_functions), (gst_pad_try_set_caps),
7954         (gst_pad_set_explicit_caps), (gst_pad_get_caps):  In try_set_caps,
7955         check new caps against existing caps -- if they're the same, return
7956         OK without renegotiating.  caps-nego-failed signal fixed so that
7957         the marshaller isn't VOID__OBJECT.  Also changed to G_TYPE_POINTER
7958         to save an extra caps copy.  Don't complete negotiation if a pad
7959         link function returns DELAYED.
7960
7961 2004-01-02  Benjamin Otte  <in7y118@public.uni-hamburg.de>
7962
7963         * gst/gstpad.c: (gst_pad_try_relink_filtered):
7964           Fix wrong g_return_if_fail
7965
7966 2004-01-03  Jan Schmidt  <thaytan@mad.scientist.com>
7967
7968         * gst/gstbin.c: (gst_bin_class_init):
7969         Change the marshalling of element_added/element_removed
7970         to use gst_marshal_VOID__OBJECT, since gst_marshal_VOID__POINTER 
7971         complains that GST_TYPE_ELEMENT is not G_TYPE_POINTER
7972
7973 2004-01-01  David Schleef  <ds@schleef.org>
7974
7975         * gst/gstpad.c: (gst_pad_set_explicit_caps),
7976         (gst_pad_explicit_getcaps), (gst_pad_explicit_link),
7977         (gst_pad_use_explicit_caps):
7978         * gst/gstpad.h:
7979         Add new functions.  gst_pad_use_explicit_caps() sets up a pad
7980         to use an internal getcaps and link fuction so that negotiation
7981         always results in the explicitly set caps.
7982         gst_pad_set_explicit_caps() sets the explicit caps.  These functions
7983         are particularly useful for decoders.
7984
7985 2003-12-31  David Schleef  <ds@schleef.org>
7986
7987         * gst/elements/gstidentity.c: (gst_identity_class_init),
7988         (gst_identity_init), (gst_identity_chain),
7989         (gst_identity_set_property), (gst_identity_get_property):
7990         * gst/elements/gstidentity.h:
7991         * gst/gstqueue.c: (gst_queue_init):
7992           Negotiation fixes.
7993
7994 2003-12-31  David Schleef  <ds@schleef.org>
7995
7996         * gst/gstcaps.c: (gst_caps_intersect),
7997         (_gst_caps_normalize_foreach), (gst_caps_normalize):
7998           Implement gst_caps_normalize().
7999         * testsuite/caps/normalisation.c: (main):
8000           Add an additional test
8001
8002 2003-12-31  Ronald Bultje  <rbultje@ronald.bitfreak.net>
8003
8004         * gst/gstqueue.c: (gst_queue_init):
8005           use gst_pad_proxy_getcaps()
8006
8007 2003-12-31  David Schleef  <ds@schleef.org>
8008
8009         * gst/elements/gstshaper.c: (gst_shaper_link):
8010         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
8011         * gst/gstqueue.c: (gst_queue_link):
8012           Negotiation fixes.
8013
8014 2003-12-31  David Schleef  <ds@schleef.org>
8015
8016         * gst/gstpad.c: (gst_pad_proxy_pad_link), (gst_pad_proxy_fixate):
8017         * gst/gstpad.h: Add functions that are useful as default pad
8018         link and fixate functions for elements.
8019
8020 2003-12-30  David Schleef  <ds@schleef.org>
8021
8022         * gst/gstpad.c: (gst_pad_link_try):
8023           Fix segfault when attempting to return to old caps
8024
8025 2003-12-29  David Schleef  <ds@schleef.org>
8026
8027         * gst/gstcaps.c: (gst_caps_normalize), (simplify_foreach),
8028         (gst_caps_structure_simplify), (gst_caps_simplify):
8029         * gst/gstcaps.h:
8030           Add simplify function
8031         * gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps),
8032         (gst_pad_perform_negotiate), (gst_pad_is_negotiated):
8033         * gst/gstpad.h:
8034           Copy over srcnotify, sinknotify when calling old pad_link
8035           functions.  Add new is_negotiated() function.
8036         * gst/gststructure.c: (gst_structure_copy):
8037           Fix an incredibly stupid bug that should have been noticed
8038           weeks ago.  _copy() returned the argument, not the new copy.
8039
8040 2003-12-27  Benjamin Otte  <in7y118@public.uni-hamburg.de>
8041
8042         * gst/gstcaps.c: (gst_caps_append):
8043           add sanity checks
8044         * gst/gstcaps.h: (gst_caps_debug):
8045           remove, it doesn't exist anymore.
8046         * gst/gstelement.c: (gst_element_threadsafe_properties_pre_run),
8047         (gst_element_threadsafe_properties_post_run):
8048           make debugging messages not clutter up THREAD debug category
8049         (gst_element_negotiate_pads), (gst_element_clear_pad_caps),
8050         (gst_element_change_state):
8051           update to new caps API
8052         * gst/gstinterface.c: (gst_implements_interface_cast):
8053           don't put vital code in g_return_if_fail
8054         * gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps), 
8055         (gst_pad_link_filtered):
8056           add pst_pad_try_link and use it.
8057         (gst_pad_perform_negotiate), (gst_pad_renegotiate):
8058           implement correctly, deprecate first one.
8059         (gst_pad_link_unnegotiate), (gst_pad_unnegotiate):
8060           add and implement.
8061         (gst_pad_try_relink_filtered), (gst_pad_relink_filtered):
8062           implement.
8063         (gst_pad_get_negotiated_caps):
8064           add and implement. Make GST_PAD_CAPS call this function.
8065         (gst_pad_get_caps):
8066           remove unneeded check..
8067         (gst_pad_recover_caps_error):
8068           disable, always return FALSE.
8069         (gst_real_pad_dispose):
8070           don't free caps and appfilter anymore, they're unused.
8071         * gst/gstpad.h:
8072           Reflect changes mentioned above.
8073         * gst/gstsystemclock.c: (gst_system_clock_wait):
8074           Make 'clock is way behind' a debugging message.
8075         * gst/gstthread.c: (gst_thread_change_state):
8076           Fix debugging message
8077
8078 2003-12-25  Thomas Vander Stichele  <thomas at apestaart dot org>
8079
8080         * gst/gstinfo.h:
8081           fix GST_DEBUG_CATEGORY_INIT gtk-doc description
8082         * docs/gst/tmpl/gstreamer-unused.sgml:
8083           removed all traces of cvs conflicts
8084
8085 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8086
8087         * configure.ac:
8088         * gst/schedulers/cothreads_compat.h:
8089         * libs/Makefile.am:
8090           remove last instances of wingo cothread usage
8091
8092 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8093
8094         * gst/gstplugin.c:
8095         * gst/gstversion.h.in:
8096         * gst/parse/grammar.y:
8097           change comment block from /** to /* when not gtk-doc comments
8098
8099 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8100
8101         * gst/gst.c: whitespace and doc style fixes
8102
8103 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8104
8105         * gst/gstformat.h: remove trailing whitespace from enum for gtk-doc
8106
8107 2003-12-24  Colin Walters  <walters@verbum.org>
8108
8109         * gst/elements/gsttypefindelement.c:
8110           gst/elements/gsttypefindelement.h: Make GstCaps parameter const.
8111           Copy caps parameter. Use _POINTER to marshal caps instead of _BOXED.
8112           Don't double-free caps.
8113
8114 2003-12-23  David Schleef  <ds@schleef.org>
8115
8116         * gst/gstelement.c, gst/gstpad.c, gst/parse/grammar.y,
8117           gst/gstcaps.c, gst/autoplug/gstspideridentity.c:
8118           Many little fixes and additions of debug statements to
8119           get rhythmbox working.
8120
8121 2003-12-23  Colin Walters  <walters@verbum.org>
8122
8123         * gst/autoplug/gstspideridentity.c (gst_spider_identity_sink_loop_type_finding):
8124         Use GST_PAD_LINK_SUCCESSFUL.
8125
8126 2003-12-23  David Schleef  <ds@schleef.org>
8127
8128         * gst/elements/gstaggregator.c:
8129         * gst/elements/gsttee.c:
8130           Use gst_pad_proxy_getcaps().
8131         * gst/gstpad.c:
8132         * gst/gstpad.h:
8133           Add gst_pad_proxy_getcaps(), which filter elements can use
8134           as a generic getcaps implementation.
8135           Fix gst_pad_get_allowed_caps().  It just wasn't doing what
8136           was advertised.
8137
8138 2003-12-23  David Schleef  <ds@schleef.org>
8139
8140         * gst/gstpad.c:
8141           Rearrange/rewrite much of the pad negotiation code, since it
8142           resembled pasta.  This actually changes the way some
8143           negotiation works, since the previous code was inconsistent
8144           depending on how it was invoked.  Add (internal) structure
8145           GstPadLink, which is used to hold some information (more in
8146           the future) about the link between two pads.  Fixes a number
8147           of bugs, including random lossage of filter caps when the
8148           initial negotiation is delayed.  A few functions are still
8149           unimplemented.
8150         * gst/gstpad.h:
8151           Add GST_PAD_LINK_{SUCESSFUL|FAILED}() macros.  Please use
8152           these when testing GstPadLinkReturn values instead of comparing
8153           directly.
8154
8155 2003-12-23  David Schleef  <ds@schleef.org>
8156
8157         * gst/gstvalue.c: 
8158         * gst/gstvalue.h:
8159           Rearrange lots of code.  Change registration of compare function
8160           into registration of compare/serialize/deserialize functions.
8161           Doesn't include implementation of gst_value_[de]serialize(),
8162           but that should be easy.
8163
8164 2003-12-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8165
8166         * docs/gst/gstreamer-sections.txt:
8167         * docs/gst/tmpl/gstprops.sgml: removed
8168         * docs/gst/tmpl/gstreamer-bufferpool.sgml: removed
8169           David removed props and caps code, so let's remove their docs as well.
8170           Removed all no longer existing symbols from gstreamer-sections.txt
8171           
8172 2003-12-22  Colin Walters  <walters@verbum.org>
8173
8174         * gst/gsttaginterface.c, gst/gsttaginterface.h,
8175           gst/gsttag.c, gst/gsttag.h:  Add interface to setting GValues
8176           of tags directly.
8177
8178 2003-12-22  Benjamin Otte  <in7y118@public.uni-hamburg.de>
8179
8180         * gst/elements/gstelements.c:
8181           Set ranks of elements to NONE, so the autoplugger doesn't use them.
8182         * gst/elements/gstshaper.c: (gst_shaper_getcaps):
8183           Fix proxying to new CAPS stuff. Don't call get_allowed_caps but
8184           gst_caps (peer).
8185
8186 2003-12-22  Benjamin Otte  <in7y118@public.uni-hamburg.de>
8187
8188         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
8189         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_link),
8190         (gst_spider_identity_getcaps), (gst_spider_identity_change_state),
8191         (gst_spider_identity_sink_loop_type_finding):
8192         * gst/autoplug/gstspideridentity.h:
8193           Fix autoplugging in spider element, so it works with new caps.
8194           This was mainly caused by identifying empty caps incorrectly.
8195
8196 2003-12-22  David Schleef  <ds@schleef.org>
8197
8198         * gststructure.c, gstvalue.c, gstvalue.h: Add
8199           gst_value_init_and_copy() and use it, to avoid silly mistakes in
8200           using g_value_copy()
8201
8202 2003-12-21  David Schleef  <ds@schleef.org>
8203
8204         * many, many files: Merge CAPS branch.  This includes:
8205           - implemention of GstValue and several GstValue types
8206           - implemention of GstStructure
8207           - entire rewrite of GstCaps
8208           - removal of GstProps
8209           - many changes to GstPad to compensate for new caps paradigm
8210           - removal of GstBufferpool
8211         * gst/Makefile.am, gst/gst.h, gst/gstpad.h, gst/gsttypefind.h,
8212         gstvalue.h, gst/gstcaps[2]*.[ch]:
8213           - rename gstcaps2.[ch] to gstcaps.[ch]
8214
8215 2003-12-21  Ronald Bultje  <rbultje@ronald.bitfreak.net>
8216
8217         * gst/gstqueue.c: (gst_queue_handle_pending_events),
8218         (gst_queue_chain), (gst_queue_handle_src_event):
8219           implement timeout for sending events. Workaround for if the
8220           pipeline on this queue is not passing any data.
8221
8222 2003-12-21  Ronald Bultje <rbultje@ronald.bitfreak.net>
8223                                                                                 
8224         * ChangeLog: moved to gstreamer/docs/random/old/ChangeLog.gstreamer
8225         * moved CVS to freedesktop.org
8226