gst/: Fix build with --disable-gst-debug. Fixes #497859.
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
2
3         * gst/gstbin.c:
4         * gst/gstdebugutils.c:
5           Fix build with --disable-gst-debug. Fixes #497859.
6           Spotted by Sameer Naik.
7
8 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
9
10         * gst/gstevent.c:
11           Little documentation improvment.
12
13         * gst/gstpreset.c:
14           More TODO cleanups. Remove c++ comments.
15
16         * libs/gst/controller/gstcontroller.c:
17           Add TODO and use quark from static string.
18
19         * tests/check/gst/gstmessage.c:
20         * tests/check/gst/gststructure.c:
21           Use quark from static string.
22
23 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
24
25         * gst/gstpreset.c:
26           Add some comments and TODOs.
27
28         * gst/gstpreset.h:
29           Add padding for future changes.
30
31         * plugins/elements/gstqueue.c:
32           Implement the iface.    
33
34 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
35
36         * docs/gst/gstreamer-docs.sgml:
37         * docs/gst/gstreamer-sections.txt:
38         * docs/gst/gstreamer.types.in:
39         * gst/Makefile.am:
40         * gst/gst.h:
41         * gst/gstpreset.c:
42         * gst/gstpreset.h:
43           Add the preset interface (Fixes #396779). Do some doc cleanups along.
44
45 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
46
47         * configure.ac:
48
49         Back to CVS
50
51 === release 0.10.15 ===
52
53 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
54
55         * configure.ac:
56           releasing 0.10.15, "October"
57
58 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
59
60         * win32/vs6/libgstreamer.dsp:
61         Convert line endings back to DOS.
62
63 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
64
65         * docs/design/draft-tagreading.txt:
66         * docs/random/ensonic/profiling.txt:
67         Update fast tagreading draft and performance profiling ideas.
68
69 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
70
71         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
72         Don't hold the object lock when unreffing a buffer because it could
73         cause a deadlock when the finalize function wants to grab the object
74         lock too. Fixes #495133.
75
76 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
77
78         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
79         (gst_segment_to_stream_time), (gst_segment_to_running_time):
80         Also accumulate time correctly when doing reverse playback. Fixes
81         #488201,
82         When converting to running and stream time, use default values for
83         start/stop/time/accum when comparing different formats. Fixes #494245.
84
85         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
86         Do running/stream time in TIME format.
87
88         * tests/check/gst/gstsegment.c: (GST_START_TEST),
89         (gst_segment_suite):
90         2 new unit tests for segment accumulation.
91
92 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
93
94         * gst/gst.c: (init_pre):
95         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
96           (_gst_debug_bin_to_dot_file):
97           Move getenv() back into gst_init, so everyone can live happily
98           ever after. Make sure the symbol isn't exported though.
99
100 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
101
102         Patch by: Sebastien Moutte  <sebastien moutte net>
103
104         * win32/common/gstenumtypes.c:
105         * win32/common/gstenumtypes.h:
106           Update enum types.
107
108         * win32/vs6/libgstreamer.dsp:
109           Update vs6 project files (#494343).
110
111 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
112
113         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
114         (gst_base_src_perform_seek), (gst_base_src_default_event),
115         (gst_base_src_set_flushing), (gst_base_src_activate_push),
116         (gst_base_src_activate_pull):
117         Unify flushing code, remove some old unlock code that is no longer used.
118         Take the streaming lock when seeking to avoid races. Fixes #492729.
119         Added some more comments.
120
121 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
122
123         * gst/gst.c: (_gst_disable_segtrap):
124           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
125           we can use gst_segtrap_is_enabled() there now that we have that API.
126           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
127           to do the getenv here (and export the variable).
128
129         * gst/gstdebugutils.c: (debug_dump_element),
130           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
131           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
132
133         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
134           (gst_debug_log_default):
135           Rename _gst_info_start_time to priv_gst_info_start_time so it
136           doesn't get exported (was never in any header).
137
138         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
139           (gst_plugin_loading_mutex):
140           Make static mutex gst_plugin_loading_mutex really static (was never
141           in any header), and use gst_segtrap_is_enabled() instead of
142           _gst_disable_segtrap.
143
144         * gst/gsttrace.c: (_gst_trace_default):
145           Make local _gst_trace_default static (was never in any header).
146
147 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
148
149         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
150
151         * win32/common/libgstbase.def:
152         * win32/common/libgstcontroller.def:
153         * win32/common/libgstdataprotocol.def:
154         * win32/common/libgstnet.def:
155         * win32/common/libgstreamer.def:
156           Add more missing symbols, remove some duplicates, and sort
157           as the 'sort' command sorts it (partially fixes #493983).
158
159 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
160
161         * gst/gstelement.c: (gst_element_set_state_func):
162         Only change the state cookie if a different state was set on the
163         element. See #492729.
164
165 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
166
167         * gst/gstvalue.c:
168           Remove unused and uninitialised type variables that were still
169           exported for some reason (they were never in any header files
170           though).
171
172 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
173
174         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
175         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
176         (gst_base_sink_event), (gst_base_sink_get_position_last),
177         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
178         (gst_base_sink_change_state):
179         Don't try to report a 0 position when we don't know, return -1 and FALSE
180         instead. This mostly happens when we are prerolling.
181         Make sure we can report the right position before we post the ASYNC_DONE
182         message so that a message handler can query position without races.
183
184         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
185         (async_done_handoff), (async_done_func), (send_buffer),
186         (async_done_eos_func), (gst_sinks_suite):
187         Add two tests for the above.
188
189 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
190
191         * MAINTAINERS:
192         Update with new email address.
193
194         * docs/design/part-TODO.txt:
195         Add some more info about future pad-block and negotiation changes.
196
197         * docs/design/part-buffering.txt:
198         Add some ideas about buffering reporting.
199
200 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
201
202         * tests/check/gst/gstobject.c:
203         Disable silly racy test that always fails on this combination of CPU
204         and kernel.
205
206 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
207
208         Patch by: Murray Cumming  <murrayc@murrayc.com>
209
210         * gst/gstobject.c:
211           Corrected the registration of the parent-set and parent-unset
212           signals: The parameter is a GstObject, not a GObject (#493134).
213
214 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
215
216         * gst/gst_private.h:
217         * gst/gstbuffer.h:
218         * gst/gstevent.h:
219         * gst/gstformat.h:
220         * gst/gstmessage.h:
221         * gst/gstplugin.h:
222         * gst/gstquery.h:
223         * gst/gsttaglist.h:
224         * gst/gstvalue.h:
225           Move declaration of private _gst_foo_initialize() functions into
226           our private header file where they should have been all along.
227
228 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
229
230         * docs/plugins/gstreamer-plugins-sections.txt:
231         * gst/gstdebugutils.h:
232         * gst/gstxml.h:
233         * plugins/elements/gstqueue.c:
234           gtk-doc fixes; trailing-comma-in-enum fix.
235
236 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
237
238         * gst/gst.c: (gst_deinit):
239           Clean up on deinit (not the external ones though, doesn't seem to be
240           needed for some reason).
241
242 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
243
244         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
245           Remove __declspec(dllimport) for MSVC that was copied over into core
246           from a plugin, obviously without ever having been tested (note the
247           single underscore in _declspec in the initial commit), and that doesn't
248           really make sense.  See #492077.
249
250 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
251
252         * gst/gst.c: (init_post):
253         * gst/gstevent.c: (_gst_event_initialize):
254         * gst/gstquery.c: (_gst_query_initialize):
255         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
256           g_type_class_ref() other types as well, see #349410 and #64764.
257
258         * gst/gstbuffer.c: (_gst_buffer_initialize):
259         * gst/gstmessage.c: (_gst_message_initialize):
260           Simplify existing g_type_class_ref().
261
262 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
263
264         * gst/gstformat.c: (_gst_format_initialize):
265           g_type_class_ref() our GstFormat type to make sure we avoid the
266           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
267           bug #64764. Should fix intermittent tee unit test failures (#474823).
268
269 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
270
271         * tests/check/elements/tee.c: (test_num_buffers):
272           Simplify, simplify, simplify - or not.  Rewrite unit test
273           not to use gst_parse_launch(); allow N sub-streams. Increasing
274           the number of sub-streams seems to reproduce #474823 more easily.
275
276 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
277
278         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
279
280         * gst/gsttrace.c:
281         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
282         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
283         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
284           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
285           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
286           so use _pipe() directly (#492077).
287
288         * win32/common/dirent.c: (_treaddir):
289           Add a couple of casts to make it build without warnings with MSVC.
290
291         * win32/common/libgstreamer.def:
292           Add some more symbols that need to be exported.
293
294 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
295
296         * tests/examples/metadata/read-metadata.c: (message_loop):
297           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
298           arriving in a second or third tag message are added to
299           the tag list as well.
300
301 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
302
303         * libs/gst/base/gstbasesrc.c:
304           Its "Since:" and not "@Since:". And remove an superflous cast.
305
306 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
307
308         * docs/libs/gstreamer-libs-sections.txt:
309         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
310         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
311         (gst_base_sink_get_property), (gst_base_sink_render_object),
312         (gst_base_sink_preroll_object),
313         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
314         (gst_base_sink_change_state):
315         * libs/gst/base/gstbasesink.h:
316         Add a new last-buffer property that contains the last buffer used in
317         basesink for preroll or rendering. useful for making snapshots.
318         API: gst_base_sink_get_last_buffer()
319         API: GstBaseSink::last-buffer
320
321 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
322
323         * docs/gst/running.xml:
324         * gst/gst.c:
325         * gst/gstdebugutils.c:
326         * gst/gstdebugutils.h:
327         * tools/gst-launch.c:
328           Improve bin graph dumping, by using the envvar to specify a path.
329           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
330
331 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
332
333         * plugins/elements/gsttypefindelement.c:
334           (gst_type_find_element_handle_event),
335           (gst_type_find_element_activate):
336           Post special error message if we can't determine the type of a stream
337           because it's empty.
338
339 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
340
341         * docs/gst/running.xml:
342         * gst/gstdebugutils.c:
343           Document new env-var. Add one log-line after dumpng a graph.
344
345 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
346
347         * configure.ac:
348           Ugly hack to put the (recently removed and non-portable, apparently)
349           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
350           GNU ld, because without that 'make check' fails miserably on my debian
351           stable box.  Someone with more knowledge of linker intricacies and
352           portability issues than me fix this properly please.
353
354 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
355
356         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
357         Reset last seen position after flushing so that we don't report the old
358         position anymore.
359
360 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
361
362         * gst/gstelementfactory.c: (gst_element_register):
363         * gst/gsturi.h:
364         Patch from Alessandro Decina adding get_type_full and
365         get_protocols_full private vfuncs to the URIHandler interface
366         to allow bindings to support creating URI handlers. 
367         Partially fixes: #339279
368         API: GstURIHandlerInterface::get_type_full
369         API: GstURIHandlerInterface::get_protocols_full
370
371 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
372
373         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
374         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
375         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
376         Make it so that pads are considered linked until a buffer is pushed
377         and discovered otherwise. This avoids problems with decodebin2 hanging
378         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
379         case.
380
381         Make sure we lock the multiqueue when updating the max-size properties.
382         
383         Fix a crash on Solaris in a debug statement in get_request_pad that
384         passes a NULL string to GST_DEBUG. 
385
386         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
387         (run_output_order_test):
388         Fix the test to allow the first buffer on not-linked pads to come out
389         of sequence while multiqueue discovers that they are not-linked.
390
391 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
392
393         * configure.ac:
394         * libs/gst/check/Makefile.am:
395         Use a custom export symbol regex for libgstcheck, as it needs
396         to export symbols that don't match the standard GStreamer gst_*
397         pattern, and  --export-dynamic is not portable (only works on 
398         GNU ld)
399
400         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
401         (gst_check_setup_sink_pad):
402         Make sure to pass a message parameter to the fail_* macros.
403
404         * tests/check/gst/gstinfo.c: (GST_START_TEST):
405         Fix some compiler warnings.
406
407 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
408
409         * tests/check/gst/gststructure.c: (test_to_string):
410           Disable test that checks that white spaces are not allowed
411           in structure names or field names, since we need to
412           support that for now for backwards compatibility reasons.
413
414 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
415
416         * docs/gst/gstreamer-sections.txt:
417         * gst/gsttaglist.c:
418         * gst/gsttaglist.h:
419           API: add GST_TAG_ARTIST_SORTNAME
420           API: add GST_TAG_ALBUM_SORTNAME
421           API: add GST_TAG_TITLE_SORTNAME
422           Add tag variants for sorting (#414539).
423
424 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
425
426         * gst/gststructure.c:
427           Also allow white space for names so we don't break
428           backwards compatibility.
429
430 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
431
432         * docs/design/part-TODO.txt:
433         * docs/design/part-segments.txt:
434         * docs/design/part-streams.txt:
435         Small updates.
436
437 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
438
439         * docs/gst/gstreamer-sections.txt:
440          Fixed documentation from my previous commit (added new API add
441          gst_value_set_structure(), add gst_value_get_structure() and
442          GST_VALUE_HOLDS_STRUCTURE).
443
444 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
445
446         * gst/gstdebugutils.c:
447           Reflow code to fix uninitialized variable warning.
448
449 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
450
451         * gst/gstcaps.c: (gst_caps_to_string),
452         (gst_caps_from_string_inplace):
453         * gst/gststructure.c: (gst_structure_get_abbrs),
454         (gst_structure_to_string), (gst_structure_from_string):
455         * gst/gstvalue.c: (gst_value_set_structure),
456         (gst_value_get_structure), (gst_value_serialize_structure),
457         (gst_value_deserialize_structure), (_gst_value_initialize):
458         * gst/gstvalue.h:
459         * tests/check/gst/gststructure.c: (GST_START_TEST),
460         (gst_structure_suite):
461         * tests/check/gst/gstvalue.c: (GST_START_TEST):
462          Added GstStructure to gst_value_table and its related functions.
463          Changed gst_structure_to_string to print ';' in the end.
464          Changed gst_caps_to_string to not print ';' beteween its
465          fields (structures) anymore and remove the lastes ';' from latest
466          structure. Now it is possible to have nested structures.
467          In addition, backward compatibilty is assured by accepting '\0' as
468          end delimiter. Fixes: #487969.
469          API: add gst_value_set_structure()
470          API: add gst_value_get_structure()
471          API: add GST_VALUE_HOLDS_STRUCTURE
472
473 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
474
475         * gst/gstbus.c:
476           When no GSource callback has been set up, tell developer
477           to use a function that actually exists.
478
479 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
480
481         * docs/gst/gstreamer-sections.txt:
482         * gst/Makefile.am:
483         * gst/gst.c:
484         * gst/gst.h:
485         * gst/gstdebugutils.c:
486         * gst/gstdebugutils.h:
487         * gst/gstinfo.c:
488         * gst/gstinfo.h:
489         * tools/gst-launch.c:
490           Allow dumping pipelines as dot graphs. Fixes #456573.
491
492 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
493
494         * gst/gststructure.c:
495           Allow '+' as well, it can be part of media or mime types
496           such as image/svg+xml.
497
498 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
499
500         * docs/gst/gstreamer-sections.txt:
501         * gst/gstbus.c:
502         * gst/gstbus.h:
503           API: add gst_bus_pop_filtered
504           API: add gst_bus_timed_pop_filtered
505           Two new functions for waiting for specific message types on the
506           bus for a specified amount of time without iterating any main
507           loops or main contexts.
508
509         * tests/check/gst/gstbus.c:
510           Some tests for the new functions.
511
512 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
513
514         * docs/libs/gstreamer-libs-sections.txt:
515           Make gtk-doc ignore stuff it should ignore.
516
517 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
518
519         * libs/gst/check/gstcheck.c:
520         * libs/gst/check/gstcheck.h:
521           Allow runtime selection of unit tests to run via the GST_CHECKS
522           environment variable (test case function names, comma-separated).
523
524 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
525
526         * gst/gststructure.c:
527         * tests/check/gst/gststructure.c:
528           Revert serialisation change and constrain structure-names after
529           consensus on irc. Update api documentation to reflect the change.
530
531 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
532
533         * gst/gststructure.c:
534           Improve serialization and fix tests.
535
536         * tests/check/gst/gststructure.c:
537           Add another test that covers why I actually did the previous structure
538           change.
539
540 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
541
542         * tools/gst-inspect.c: (print_element_info):
543         Don't crash when inspecting an element.
544
545 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
546
547         * tests/check/gst/gststructure.c:
548           Add unit test for escaping of structure name when serialising
549           and deserialising to/from strings.
550
551 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
552
553         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
554         (gst_single_queue_new):
555         * plugins/elements/gstqueue.c: (gst_queue_init),
556         (gst_queue_push_one):
557         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
558         upstream is tricked into thinking it can suggest a format downstream
559         while downstream does not support that format. The real problem is that
560         core calls acceptcaps when pushing a buffer with new caps, for which we
561         do a little workaround by setting the caps on the srcpad ourselves
562         before pushing the buffer (until this is figured out). Fixes #486758.
563
564 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
565
566         * gst/gststructure.c:
567         * gst/gstvalue.c:
568           Add some more comments and debug output. Quote structure name to fix
569           deserialisation of some strings.
570
571 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
572
573         * gst/gstbuffer.h:
574           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
575           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
576
577 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
578
579         * tools/gst-inspect.c:
580           Save approx. 400 1 byte allocs when printing. Use API to acces element
581           details.
582
583         * tools/gst-run.c:
584           Avoid a strdup.
585
586         * tools/gst-xmlinspect.c:
587           Use API to acces element details.
588
589 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
590
591         * gst/gstinfo.c:
592           Fix some spelling errors.
593
594 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
595
596         * gst/gstbin.c: (bin_handle_async_done):
597         Correctly set the next state if all of our async children commited their
598         state. This makes sure we can actually cancel the state change in
599         progress. Fixes a regression in Rhythmbox when seeking.
600
601 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
602
603         * gst/gstbin.c:
604           Don't shadow local variable.
605
606         * gst/gstinfo.c:
607           Don't shadow global function name.
608
609 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
610
611         * gst/gstelementfactory.c:
612         * gst/gstpluginfeature.c:
613         * gst/gstpluginfeature.h:
614         * gst/gstregistrybinary.c:
615         * gst/gstregistryxml.c:
616         * gst/gsttypefind.c:
617           Use already-interned string for the private GstPluginFeature
618           plugin_name field.
619
620 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
621
622         * docs/libs/gstreamer-libs-sections.txt:
623           Add new API to docs; fixes the build.
624
625 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
626         
627         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
628
629         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
630         (gst_base_sink_event):
631         * libs/gst/base/gstbasesink.h:
632         Add function to wait for EOS, subclasses can use this to correctly wait
633         for devices to drain before performing the EOS logic. Fixes #485343.
634         API: gst_base_sink_wait_eos()
635
636 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
637
638         * gst/gstplugin.h:
639           Cast description string constants in GST_PLUGIN_DEFINE macros
640           to a (gchar*) to make C++ code using these macros compile
641           without warning with g++-4.2 (see #462737).  Even if slightly
642           ugly, this seems preferable to putting the description strings
643           into the GLib quark table or making the structure member a
644           const gchar * and doing casts in core code that allocs and
645           frees these strings, or requiring a cast in the C++ code.
646
647 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
648
649         * gst/gstinfo.h:
650           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
651           to print the entire class/function signature into the log
652           file for C++ code.  This only affects C++ code, for C code
653           everything remains the same.
654
655 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
656
657         * gst/gstbin.c: (remove_from_queue):
658         Work around a problem with pipelines containing (semi)loops until a
659         proper, more complicated solution is ready. See #475455.
660
661 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
662
663         * gst/gstplugin.c:
664         * gst/gstplugin.h:
665         * gst/gstregistrybinary.c:
666         * gst/gstregistryxml.c:
667           Put more strings into the GLib quark table. No need to keep
668           a hundred-something copies of identical version strings,
669           license strings, package name strings and package origin
670           strings around. 
671
672 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
673
674         * docs/manual/advanced-dataaccess.xml:
675           Don't imply that it's okay to unconditionally change
676           buffer data or buffer metadata in a pad probe callback,
677           and a bunch of other comments. Fixes #430031.
678
679 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
680
681         * win32/common/gstenumtypes.c:
682         * win32/common/gstenumtypes.h:
683         * win32/common/gstversion.h:
684           Update generated files.
685
686 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
687
688         * docs/manual/advanced-autoplugging.xml:
689           Prefix section with broken code with a warning (see #342432).
690
691 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
692
693         * docs/manual/appendix-integration.xml:
694         * docs/manual/basics-init.xml:
695           Call g_thread_init() before g_option_context_new() to
696           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
697
698 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
699
700         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
701         (gst_base_sink_queue_object_unlocked),
702         (gst_base_sink_queue_object), (gst_base_sink_event),
703         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
704         When we received EOS and are waiting for when to post the EOS message,
705         our state is prerolled and we should not return ASYNC.
706         Reorganize some code paths to implement this behavior.
707
708         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
709         (gst_sinks_suite):
710         Add unit test to verify above EOS fix.
711
712 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
713
714         * plugins/elements/gsttypefindelement.c:
715         (gst_type_find_element_have_type), (gst_type_find_element_init),
716         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
717         Move detecting the input caps of the sinkpad to the setcaps function.
718         This allows us to update the output caps when we receive new input caps
719         instead of always using the first detected caps.
720
721 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
722
723         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
724         (gst_base_sink_get_position):
725         Don't try to preroll non-async elements after a flush.
726         Subtract latency form clock times when reporting position.
727
728 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
729
730         * gst/gstpad.c: (gst_pad_pause_task):
731         * gst/gstutils.c:
732         Small comment and documentation update.
733
734 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
735
736         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
737         (gst_base_src_set_live), (gst_base_src_is_live),
738         (gst_base_src_query_latency), (gst_base_src_perform_seek),
739         (gst_base_src_default_event), (gst_base_src_wait),
740         (gst_base_src_do_sync), (gst_base_src_get_range),
741         (gst_base_src_pad_get_range), (gst_base_src_loop),
742         (gst_base_src_unlock), (gst_base_src_unlock_stop),
743         (gst_base_src_set_flushing), (gst_base_src_set_playing),
744         (gst_base_src_activate_push), (gst_base_src_activate_pull),
745         (gst_base_src_change_state):
746         Rework the locking of basesrc in a similar fashion to basesink. We
747         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
748         us to handle live sources and semi live ones much better.
749         Simplify flushing.
750         Fix unlocking when seeking, shutting down and pausing in live sources.
751
752 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
753
754         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
755         Fix compilation again.
756
757 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
758
759         * gst/gstelement.c:
760           Use meaningful categories for the logs to clean the default one.
761
762 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
763
764         * tests/check/pipelines/cleanup.c:
765           Print message name and not just number.
766
767 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
768
769         * docs/design/draft-tagreading.txt:
770           Add some more thoughts.
771
772 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
773
774         * tests/check/pipelines/simple-launch-lines.c:
775           Print message name and not just number.
776
777 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
778
779         * libs/gst/base/gsttypefindhelper.c:
780           Speedup typefinding. This is work in progress (see #459862).
781
782 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
783
784         * gst/gstplugin.c:
785           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
786           Spotted by Josep Torra Valles <josep@fluendo.com>.
787
788 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
789
790         * gst/gstclock.h:
791           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
792           field has moved to GstObject.
793
794 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
795
796         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
797         (gst_base_src_get_range), (gst_base_src_change_state):
798         Call unlock for live sources so that they can't get stuck in _create and
799         produce a buffer before they are set back to PLAYING.
800
801 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
802
803         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
804         (gst_queue_locked_dequeue):
805         Comment the segment-related code... in the PROPER function.
806         See #482147 and my commit from yesterday.
807
808 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
809
810         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
811         Also initialize the counter that calculates the first timestamp on a
812         buffer correctly for non-live sources.
813
814 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
815
816         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
817         Disable code that's breaking the current-time-level reporting.
818         See #482147
819
820 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
821
822         * docs/gst/gstreamer-sections.txt:
823         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
824         as they shouldn't show up. Fixes the docs build.
825
826 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
827         
828         * gst/gstinfo.h:
829         Add an explicit variable importation needed on VS6 (only for MSC_VER)
830         Define M_PI which is used in files which are including gstinfo.h. 
831         VS6 includes doesn't define it.
832         * win32/common/libgstbase.def:
833         * win32/common/libgstcontroller.def:
834         * win32/common/libgstreamer.def:
835         Add new exported functions and variables.
836         * win32/vs6/libgstcontroller.dsp:
837         * win32/vs6/libgstreamer.dsp:
838         Update the list of files to build.
839         
840 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
841
842         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
843
844         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
845         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
846         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
847         Improve debugging. Fixes #480858.
848
849 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
850
851         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
852
853         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
854         First patch of code cleanups, use the macros and right arguments in the
855         macros to signal and lock the queue. See #480858.
856
857 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
858
859         * gst/gstbus.c: (poll_func):
860         Improve debugging when dealing with _poll().
861
862 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
863
864         * gst/gstregistryxml.c:
865           Fix memory leak I introduced a few days ago.
866
867 2007-09-26  Michael Smith <msmith@fluendo.com>
868
869         * gst/gstbuffer.c: (gst_buffer_finalize):
870           Make it once again possible to free GstBuffers in the default
871           build.
872           The poisoning scribbles on parts of the miniobject we need in
873           order to free it.
874           Fixes #480341
875
876 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
877
878         * docs/gst/gstreamer-sections.txt:
879         * gst/gsttaglist.c:
880         * gst/gsttaglist.h:
881         API: add GST_TAG_COMPOSER, fixes #459809.
882
883 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
884
885         * gst/gstplugin.c:
886         * gst/gstplugin.h:
887         Add the 3-clause BSD license and the MIT/X11 license to the license
888         list. Fixes #479784.
889
890 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
891
892         * docs/faq/getting.xml:
893           Add Q+A about different GStreamer versions (#364056).
894
895 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
896
897         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
898         (gst_base_sink_event), (gst_base_sink_change_state):
899         Return correct gboolean from query function.
900
901 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
902
903         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
904         (gst_base_sink_event), (gst_base_sink_query),
905         (gst_base_sink_change_state):
906         Simplify latency query.
907         When not synchronizing, we can report latency without querying the peer
908         element.
909
910 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
911
912         * gst/gstobject.h:
913         * gst/gstvalue.c:
914         Fix small typos in the docs.
915
916 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
917
918         * docs/design/draft-latency.txt:
919         * docs/design/draft-push-pull.txt:
920         * docs/design/draft-tagreading.txt:
921         * docs/design/part-MT-refcounting.txt:
922         * docs/design/part-activation.txt:
923         * docs/design/part-block.txt:
924         * docs/design/part-element-source.txt:
925         * docs/design/part-events.txt:
926         * docs/design/part-gstbin.txt:
927         * docs/design/part-gstelement.txt:
928         * docs/design/part-gstobject.txt:
929         * docs/design/part-gstpipeline.txt:
930         * docs/design/part-messages.txt:
931         * docs/design/part-preroll.txt:
932         * docs/design/part-push-pull.txt:
933         * docs/design/part-qos.txt:
934         * docs/design/part-query.txt:
935         * docs/design/part-scheduling.txt:
936         * docs/design/part-seeking.txt:
937         * docs/design/part-segments.txt:
938         * docs/design/part-states.txt:
939         Documentation updates and typo fixes.
940
941 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
942
943         * plugins/elements/gstfakesink.c:
944           Add some debug text to error message to indicate that
945           we errored out on request.
946
947         * tools/gst-launch.c:
948           When the state change to PLAYING fails, check for an
949           error message on the bus and print it.
950
951 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
952
953         translated by: Jorge González González <aloriel@gmail.com>
954
955         * po/LINGUAS:
956         * po/es.po:
957           Added Spanish translation.
958
959 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
960
961         * plugins/elements/gstqueue.c: (gst_queue_push_one):
962         Fix printf arguments.
963
964 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
965
966         * tests/check/generic/states.c:
967           Improved state change unit test.
968
969 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
970
971         * gst/gstbin.h:
972           Move priv to the right place.
973
974         * gst/gstsystemclock.c:
975           Add FIXME: and improve log.
976
977         * tests/check/Makefile.am:
978         * tests/examples/manual/Makefile.am:
979           Work with all types of registries.
980
981 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
982
983         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
984         Don't unref the event after pushing it. Fixes #478401.
985
986 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
987
988         * .cvsignore:
989         * tests/examples/manual/.cvsignore:
990           Ignore registries in any format.
991
992 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
993
994         * gst/glib-compat-private.h:
995           Add compatibility macro for g_intern_string() for
996           GLib-2.8 (any reason we can't just bump the
997           requirement to at least 2.10?)
998
999         * gst/gstpadtemplate.h:
1000         * gst/gstelementfactory.c:
1001         * gst/gstregistryxml.c:
1002         * gst/gstregistrybinary.c:
1003           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
1004           up the internal code accordingly.  This shouldn't be a problem, since
1005           there is no reason external code could ever assume the string in such
1006           a structure is dynamically allocated unless it did that itself;  the
1007           use of g_strdup() is private to element factories.  The new code also
1008           saves some memory by putting pad template name strings into the GLib
1009           quark table instead of allocating them dynamically.
1010           Declaring this field constant fixes warnings with g++-4.2 when using
1011           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
1012
1013 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1014
1015         * gst/gstelementfactory.c:
1016           Release static caps. Fixes #475723.
1017
1018 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
1019
1020         * gst/gstinfo.c:
1021         * gst/gstinfo.h:
1022           Make some internal API take const gchar * instead of just
1023           gchar * to avoid compiler warnings with g++-4.2.2 when
1024           passing string constants (partially fixes #478092).
1025
1026 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1027
1028         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
1029         A latency query fails when one of the sinks fail.
1030
1031         * gst/gstelement.c: (gst_element_set_base_time):
1032         Improve debugging.
1033
1034 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1035
1036         * gst/gstbin.c: (gst_bin_continue_func):
1037         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1038         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
1039         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
1040
1041         Fix minor compilation warnings shown with Forte.
1042
1043 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1044
1045         * plugins/elements/gstqueue.c: (apply_buffer),
1046         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
1047         Measure queue level based on the diff between head and tail timestamps
1048         even when pushing the first buffer.
1049
1050 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1051
1052         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1053         (gst_base_sink_event), (gst_base_sink_change_state):
1054         Sinks that don't preroll can always be queried for the latency.
1055         Don't post ASYNC start when we are not async.
1056
1057 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1058
1059         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1060         (gst_queue_handle_sink_event), (gst_queue_chain),
1061         (gst_queue_push_one), (gst_queue_handle_src_query),
1062         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
1063         * plugins/elements/gstqueue.h:
1064         When downstream returns UNEXPECTED from pushing a buffer, don't try to
1065         push more buffers but allow pushing of EOS and NEWSEGMENT.
1066         Add some more debug info here and there. Fixes #476514.
1067
1068 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1069
1070         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1071         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
1072         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1073         (gst_base_sink_set_flushing), (gst_base_sink_query),
1074         (gst_base_sink_change_state):
1075         Latency query is allowed after we are prerolled. Introduce a new flag
1076         for this and stop abusing other variables.
1077
1078 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1079
1080         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1081         Push OOB events downstream when we get them in send_event. This allows
1082         the application to insert events in the pipeline.
1083         Add some more comments.
1084
1085 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1086
1087         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
1088         (do_bin_latency), (gst_bin_change_state_func):
1089         * gst/gstpipeline.c: (gst_pipeline_change_state):
1090         Move latency query from GstPipeline to GstBin so that we can also
1091         use it when async-handling is enabled on bins.
1092
1093 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1094
1095         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1096         (gst_base_src_do_sync), (gst_base_src_change_state):
1097         Update docs.
1098         Clean up the timestamping and syncing code for pseudo live sources.
1099
1100 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
1101
1102         Patch by: Steve Fink  <sphink gmail com>
1103
1104         * docs/manual/appendix-checklist.xml:
1105           Mention less -R switch in the section about debug output (#474055).
1106
1107 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1108
1109         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1110         Queue can latency to the pipeline up to the configured max size in time.
1111         Report this fact in the latency query.
1112
1113 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1114
1115         Patch by: Sebastien Moutte <sebastien at moutte dot net>
1116
1117         * libs/gst/controller/gstinterpolation.c:
1118         * libs/gst/controller/gstlfocontrolsource.c:
1119         Use gst_guint64_to_gdouble() when converting from a uint64 or
1120         GstClockTime to double to fix the build on win32. Fixes #474371.
1121
1122 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1123
1124         * gst/gstbuffer.c: (gst_buffer_finalize):
1125         Implement poisoning for GstBuffer if --enable-poisoning is specified.
1126         When finalizing a buffer the complete struct is filled with 0xff,
1127         thus making a use of the buffer after the final unref impossible.
1128
1129 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1130
1131         * tests/check/libs/controller.c: (GST_START_TEST):
1132         Use fail_unless_equals_int(a, b) instead of
1133         fail_unless_equals (a == b) to get better output on failures.
1134
1135 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1136
1137         * tests/check/gst/gsturi.c:
1138           Also check for the other file URI variant on win32.
1139
1140 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1141
1142         * gst/gsturi.c: (gst_uri_get_location):
1143           If there's no hostname, we want to return 'c:/foo/bar.txt'
1144           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
1145
1146         * tests/check/gst/gsturi.c:
1147           Unit test for the above and a few more things.
1148
1149 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1150
1151         * docs/design/part-live-source.txt:
1152         Add docs on how live sources should timestamp.
1153
1154         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1155         Add some more debug info.
1156         For subclasses that are live and like to sync, add aditional startup
1157         latency to sync time and timestamps so that we timstamp according to the
1158         design doc.
1159
1160 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1161
1162         * gst/gstbuffer.c:
1163           Also do a g_type_class_ref() for the subbuffer type in
1164           the init function.
1165
1166 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1167
1168         * docs/gst/gstreamer-sections.txt:
1169         * gst/gstpad.c: (gst_pad_peer_query):
1170         * gst/gstpad.h:
1171         Add function to perform a query on the peer of a pad.
1172         API: gst_pad_peer_query()
1173
1174 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
1175
1176         * tests/check/gst/gstsystemclock.c:
1177           Cleanup the test a little (use gst-logging and not g_message). Improve
1178           test to check if a wait reached the target.
1179
1180 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1181
1182         * docs/libs/gstreamer-libs-sections.txt:
1183           Add new API to docs and fix the build.
1184
1185 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
1186
1187         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1188         (gst_base_src_init), (gst_base_src_set_do_timestamp),
1189         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
1190         (gst_base_src_get_property), (gst_base_src_do_sync):
1191         * libs/gst/base/gstbasesrc.h:
1192         Add property to make the basesrc timestamp buffers based on the current
1193         running time.
1194         API: GstBaseSrc::do-timestamp
1195         API: gst_base_src_set_do_timestamp()
1196         API: gst_base_src_get_do_timestamp()
1197
1198 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
1199
1200         * docs/random/release:
1201           Really make sure translations are up-to-date before
1202           a release (#465010).
1203
1204 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
1205
1206         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1207         Always destroy the timer, also in error cases.
1208
1209 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1210
1211         * docs/manual/highlevel-xml.xml:
1212         Fix XML example code. Fixes #472714.
1213
1214 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1215
1216         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1217         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1218         (gst_base_sink_query):
1219         Protect eos and have_preroll with the OBJECT lock so we don't need to
1220         take the PREROLL lock when querying the latency. Fixes #473846.
1221
1222 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
1223
1224         * gst/gstelement.c:
1225           Give some log-messages a category.
1226
1227 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
1228
1229         * gst/gststructure.c:
1230         (gst_structure_fixate_field_nearest_fraction):
1231         Fix fraction list fixation code. Take the fraction with the smallest
1232         difference with the target instead of the first one in the list.
1233
1234         * tests/check/gst/gststructure.c: (GST_START_TEST),
1235         (gst_structure_suite):
1236         Added test to verify correct fraction list fixation behaviour.
1237
1238 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
1239
1240         * win32/common/libgstreamer.def:
1241           Export gst_bus_add_signal_watch too.
1242
1243 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
1244
1245         * docs/libs/gstreamer-libs-sections.txt:
1246         Add new methods to docs.
1247
1248         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1249         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
1250         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
1251         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
1252         * libs/gst/base/gstbasesink.h:
1253         Add ts-offset property to fine-tune the synchronisation.
1254         API: GstBaseSink::ts-offset property
1255         API: gst_base_sink_set_ts_offset()
1256         API: gst_base_sink_get_ts_offset()
1257
1258 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
1259
1260         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1261         (gst_base_sink_init), (gst_base_sink_set_sync),
1262         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1263         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
1264         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
1265         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
1266         (gst_base_sink_get_property), (gst_base_sink_change_state):
1267         * libs/gst/base/gstbasesink.h:
1268         Add async property to instruct the sink never to inform the parent about
1269         ASYNC state changes, update docs.
1270         Check argument with g_return_* for the public functions.
1271         API: GstBaseSink::async property
1272         API: gst_base_sink_set_async_enabled()
1273         API: gst_base_sink_is_async_enabled()
1274
1275 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
1276
1277         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
1278         Improve debugging.
1279
1280         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1281         (gst_base_src_default_query), (gst_base_src_wait),
1282         (gst_base_src_do_sync), (gst_base_src_change_state):
1283         Rearrange some code so that we can add support for measuring the 
1284         startup latency.
1285
1286 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
1287
1288         * docs/random/ensonic/dynlink.txt:
1289           More thoughs on this.
1290
1291         * plugins/elements/gstcapsfilter.c:
1292           Add bugzilla ticket number to FIXME comment.
1293
1294 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
1295
1296         * docs/design/part-TODO.txt:
1297         * docs/design/part-block.txt:
1298         Update some docs.
1299
1300 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1301
1302         * gst/Makefile.am:
1303           Revert patch which uses $(gst_headers) instead of $^ because it
1304           breaks make dist.
1305
1306 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1307
1308         * tests/check/gst/gstbin.c: (GST_START_TEST):
1309           Fix leaks in the new unit test.
1310
1311 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
1312
1313         * gst/gst.c:
1314           Don't use GST_INFO before the debug system is actually initialised
1315           (shouldn't do any harm, but won't print anything either, so we can
1316           just as well remove it).
1317
1318         * gst/gstinfo.h:
1319           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
1320           compilers that don't support variadic macros (such as MSVC), should
1321           check for debug_level <= __gst_debug_min as well, since that's the
1322           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
1323           inline helper functions. Should improve performance a bit, but also
1324           makes sure uses of GST_INFO et.al are ignored if the debugging
1325           system isn't initialised yet (instead of printing an assertion
1326           failure).
1327
1328 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
1329
1330         patch by: David Nečas <yeti@physics.muni.cz>
1331
1332         * gst/Makefile.am:
1333           Replace some non portable makefile constructs.
1334
1335 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
1336
1337         * common/gtk-doc-plugins.mak:
1338           Grrrrr. Don't remove the types file on make clean.
1339
1340 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
1341
1342         * tools/gst-launch.1.in:
1343         Add colorspace to example pipeline. Fixes #458274.
1344
1345 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
1346
1347         * docs/random/release:
1348           The release manager should run 'make download-po' before making a
1349           release to make sure translations are up-to-date.
1350
1351         * po/LINGUAS:
1352         * po/be.po:
1353         * po/pl.po:
1354         * po/rw.po:
1355           Add some new translations.
1356
1357 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
1358
1359         * tools/gst-launch.c: (event_loop), (main):
1360         Don´t try to do any state management when a live pipeline posts
1361         buffering messages.
1362         Also make the buffering string translatable.
1363
1364 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1365
1366         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
1367         (bin_handle_async_start), (gst_bin_handle_message_func):
1368         Improve debugging.
1369         When adding elements, insert messages into the bus of the newly added
1370         element and make sure the element is the source of the message. This
1371         allows the parent bin to intercept the message and do the
1372         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
1373         messages to the app (which is not allowed).
1374         Update some docs.
1375
1376         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1377         Fix testsuite so that is does not work around messages that should not
1378         have been posted in the first place.
1379
1380 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1381
1382         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
1383         (update_degree), (gst_bin_sort_iterator_next):
1384         Fix annoying bug in the sorted iterator where a sink that is not really
1385         a sink (when it has downstream links) screwed up the iterator.
1386
1387         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1388         Unit test to verify the fix.
1389
1390 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1391
1392         * gst/gstmessage.h:
1393         Add some more docs for the messages.
1394
1395         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1396         (gst_base_sink_query):
1397         Add some more debugging.
1398
1399         * tools/gst-launch.c: (event_loop):
1400         When interrupting, don't try to set pipeline to PAUSED twice.
1401
1402 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1403
1404         
1405         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
1406         (bin_handle_async_start), (gst_bin_handle_message_func):
1407         Move ASYNC_START message posting to where it belongs, similar to
1408         async_done. 
1409         Don't post ASYNC_START when we are in error. 
1410         Post ASYNC_START when we added an async element to a bin.
1411
1412 2007-08-14  Julien MOUTTE  <julien@moutte.net>
1413
1414         * gst/gstindex.c: (gst_index_add_association): Fix index entry
1415         generation from vargs. Fixes #466595.
1416
1417 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1418
1419         * gst/gstbin.c: (gst_bin_element_set_state):
1420         Always change the state of a NO_PREROLL element even if it has ASYNC
1421         elements inside (in case of a bin).
1422
1423         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
1424         Unit test for this case.
1425
1426 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
1427
1428         * libs/gst/check/gstbufferstraw.c:
1429         * libs/gst/check/gstcheck.h:
1430         * libs/gst/controller/gstcontroller.c:
1431         * libs/gst/controller/gstcontrolsource.h:
1432         * libs/gst/controller/gstlfocontrolsource.h:
1433         * plugins/elements/gstcapsfilter.h:
1434         * plugins/elements/gstfdsink.h:
1435         * plugins/elements/gstfdsrc.h:
1436           Add more missing docs.
1437
1438 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1439
1440         * gst/gststructure.c:
1441         Add Since tag to docs.
1442
1443 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1444
1445         * docs/gst/gstreamer-sections.txt:
1446         * gst/gststructure.c: (gst_structure_get_uint):
1447         * gst/gststructure.h:
1448         Add function to get uint from a structure.
1449         API: gst_structure_get_uint()
1450
1451 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1452
1453         * gst/gstcaps.c: (gst_caps_set_simple_valist),
1454         (gst_caps_intersect):
1455         Fix proper check for simple caps.
1456
1457 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
1458
1459         * docs/gst/Makefile.am:
1460         * docs/libs/Makefile.am:
1461           Remove cruft and do some cleanups.
1462
1463         * docs/gst/gstreamer-docs.sgml:
1464         * docs/libs/gstreamer-libs-docs.sgml:
1465           Prepare for comming gtkdoc features (rebase against online docs).
1466
1467 2007-08-10  Michael Smith <msmith@fluendo.com>
1468
1469         * docs/gst/gstreamer-sections.txt:
1470           Add gst_registry_add_path to docs.
1471
1472 2007-08-10  Michael Smith <msmith@fluendo.com>
1473
1474         * gst/gstregistry.h:
1475           Add gst_registry_add_path, which was missing from this header.
1476
1477 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
1478
1479         * libs/gst/controller/gstlfocontrolsource.c:
1480           Printf format fix.
1481
1482 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
1483
1484         * libs/gst/base/gstbasesink.c:
1485           Don't send an async_start message during downwards state change if 
1486           target state is less than READY
1487
1488 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1489
1490         translated by: Gabor Kelemen <kelemeng@gnome.hu>
1491
1492         * po/LINGUAS:
1493         * po/hu.po:
1494           Added Hungarian translation.
1495
1496 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1497
1498         * po/fi.po:
1499         * po/it.po:
1500         * po/nl.po:
1501         * po/sv.po:
1502         * po/uk.po:
1503           Updated translations.
1504
1505 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1506
1507         * libs/gst/controller/Makefile.am:
1508         Dist gstlfocontrolsourceprivate.h
1509
1510 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1511
1512         * docs/libs/gstreamer-libs.types:
1513         Don't register the enum type gst_lfo_waveform_get_type() in the
1514         .types file - only GObject derived types belong.
1515
1516 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1517
1518         Patch by: <arenevier at fdn dot fr>
1519
1520         * gst/gstbuffer.h:
1521         Remove comma from last element in enum to avoid compile errors when
1522         using -pendantic. Fixes #464366.
1523
1524 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1525
1526         * docs/design/part-TODO.txt:
1527         Add some more TODO items
1528
1529         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
1530         Improve debugging.
1531
1532         * gst/gstcaps.c: (gst_caps_intersect):
1533         Optimize trivial intersection case between identical caps pointers.
1534
1535         * gst/gstelement.c: (gst_element_continue_state),
1536         (gst_element_set_state_func):
1537         * gst/gstpad.c:
1538         Fix spelling and grammar mistakes.
1539
1540 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
1541
1542         * po/POTFILES.in:
1543         * po/POTFILES.skip:
1544           Update POTFILES. Fixes #461599.
1545
1546 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1547
1548         * gst/gst.c:
1549         Fix confusing typo in debug output.
1550
1551 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1552
1553         reviewed by: Stefan Kost <ensonic@users.sf.net>
1554
1555         * libs/gst/controller/Makefile.am:
1556         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
1557         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
1558         (gst_lfo_control_source_new),
1559         (gst_lfo_control_source_set_waveform),
1560         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
1561         (gst_lfo_control_source_finalize),
1562         (gst_lfo_control_source_dispose),
1563         (gst_lfo_control_source_set_property),
1564         (gst_lfo_control_source_get_property),
1565         (gst_lfo_control_source_class_init):
1566         * libs/gst/controller/gstlfocontrolsource.h:
1567         * libs/gst/controller/gstlfocontrolsourceprivate.h:
1568         API: Add GstLFOControlSource, a control source that gives values
1569         for specific timestamps based on several periodic waveforms.
1570         Fixes #459717.
1571
1572         * tests/check/libs/controller.c: (GST_START_TEST),
1573         (gst_controller_suite):
1574         * docs/libs/gstreamer-libs-docs.sgml:
1575         * docs/libs/gstreamer-libs-sections.txt:
1576         * docs/libs/gstreamer-libs.types:
1577         Add documentation and unit tests for GstLFOControlSource.
1578
1579 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
1580
1581         * configure.ac:
1582         Back to CVS
1583
1584 === release 0.10.14 ===
1585
1586 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
1587
1588         * configure.ac:
1589           releasing 0.10.14, "Breathing Vacuum"
1590
1591 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
1592
1593         * gst/gstelement.c: (gst_element_class_set_details_simple):
1594         * gst/gstelement.h:
1595           Make strings passed to gst_element_class_set_details_simple()
1596           constant, as they should be (#462752).
1597
1598 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
1599
1600         * gst/gstbin.c: (gst_bin_change_state_func),
1601         (bin_handle_async_done), (gst_bin_handle_message_func):
1602         Don't forget about the fact that some element went ASYNC even after a
1603         resync. This makes us post the ASYNC_DONE message correctly.
1604         Fixes #462558.
1605
1606 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1607
1608         * gst/gstregistry.c: (gst_registry_add_feature):
1609         When replacing an existing feature in the registry, make sure to
1610         continue holding a reference until we've replaced the name string
1611         within our feature hash table. Make sure to use g_hash_table_replace
1612         instead of g_hash_table_insert to ensure the new name string is used
1613         as a key instead of the old one that we're about to free.
1614         Fixes: #462085
1615
1616 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1617
1618         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1619         (gst_plugin_feature_set_name):
1620         Revert patch from #459466 until after the release and we can work
1621         out exactly what the problem is (if any).
1622
1623 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1624
1625         * docs/gst/gstreamer-sections.txt:
1626         * gst/gsttaglist.c:
1627         * gst/gsttaglist.h:
1628           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
1629
1630 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1631
1632         * docs/libs/Makefile.am:
1633         Include our build-prefix libs and includes before the generic ones to
1634         avoid linking against the installed libs when we want the build-tree
1635         ones.
1636
1637 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1638
1639         Patch by: Steve Fink  <sphink gmail com>
1640
1641         * docs/pwg/building-testapp.xml:
1642           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
1643           if people try to build or install the example from the plugin
1644           template against a GStreamer from package using the configure
1645           defaults.
1646
1647 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
1648
1649         Patch by: Steve Fink  <sphink gmail com>
1650
1651         * tools/gst-inspect.1.in:
1652           Document --print-all and --print-plugin-auto-install-info command
1653           line options in man page.
1654
1655 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
1656
1657         * docs/gst/gstreamer-sections.txt:
1658         Add docs for new api function.
1659
1660 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
1661
1662         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
1663         * gst/gstelementfactory.h:
1664         API: gst_element_factory_has_interface()
1665         Added method to check if an element factory implements a named
1666         interface.
1667
1668 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
1669
1670         * configure.ac:
1671         * docs/gst/gstreamer.types.in:
1672           Another conditional doc check.
1673
1674         * gst/gstmessage.c:
1675         * gst/gstparamspecs.h:
1676         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1677         * gst/gstvalue.c:
1678         * gst/gstxml.h:
1679           API-doc fixes.
1680
1681 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1682
1683         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
1684         (gst_registry_binary_load_feature),
1685         (gst_registry_binary_load_plugin),
1686         (gst_registry_binary_read_cache):
1687           Print error just once and with additional info.
1688
1689 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1690
1691         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
1692         (helper_find_suggest), (helper_find_get_length),
1693         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
1694         (gst_type_find_helper_for_buffer):
1695           Cleanup the typefindhelper code and add private doc comments.
1696
1697 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
1698
1699         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1700         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
1701         Fix capsfilter for cases where the caps set on capsfilter will provide
1702         additional information.
1703         Fixes #449197
1704
1705 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1706
1707         * gst/gsttypefindfactory.c:
1708           Fix docs that recommened wrong function to use.
1709
1710 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1711
1712         * tools/gst-inspect.c: (print_plugin_features):
1713           Also give media-type for typefinders in element output.
1714
1715 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1716
1717         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
1718         (gst_registry_remove_features_for_plugin_unlocked),
1719         (gst_registry_add_feature), (gst_registry_remove_feature),
1720         (gst_registry_lookup_feature_locked):
1721         * gst/gstregistry.h:
1722           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
1723           Fixes #459501.
1724
1725 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1726
1727         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1728         (gst_plugin_feature_set_name):
1729           Avoid double memory usage for pluginfeature names. Fixes #459466.
1730
1731 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
1732
1733         * gst/gstpad.h:
1734           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
1735           driving the pipeline may need to explicitly check for NOT_LINKED as
1736           well, since IS_FATAL doesn't cover that.
1737
1738 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
1739
1740         * docs/pwg/advanced-types.xml:
1741           Fix typo and duplicate entry in video formats list.
1742
1743 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
1744
1745         * libs/gst/controller/gstinterpolation.c:
1746         Also round to the nearest int when using cubic interpolation.
1747
1748 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
1749
1750         * libs/gst/controller/gstinterpolation.c:
1751         When linearly interpolating integer types, round to the nearest int
1752         by adding 0.5. Don't do it for float/double types.
1753         Fixes the failing controller test on my machine, which is somehow
1754         rounding differently than on the buildbots.
1755
1756 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1757
1758         * tools/gst-plot-timeline.py:
1759           Better log parsing (categories can have -). Adjust text vs. lines, so
1760           that they span the same y-range.        
1761
1762 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1763
1764         * docs/random/ensonic/audiobaseclasses.txt:
1765         * docs/random/ensonic/dynlink.txt:
1766         * docs/random/ensonic/profiling.txt:
1767           Save my thoughts.
1768
1769         * docs/random/moving-plugins:
1770           Add note to use g_assert type macros.
1771
1772 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1773
1774         * configure.ac:
1775         * libs/gst/check/Makefile.am:
1776           Add libm check as we use in for plugins.
1777
1778 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
1779
1780         * gst/gstbin.c: (gst_bin_continue_func):
1781         Check that the state_cookie hasn't changed since the continue_func
1782         was scheduled. Avoids problems where the state changes back to
1783         something it shouldn't be because it was changed in the meantime.
1784
1785 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
1786
1787         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
1788         (gst_registry_binary_save_string),
1789         (gst_registry_binary_save_pad_template),
1790         (gst_registry_binary_save_feature),
1791         (gst_registry_binary_save_plugin),
1792         (gst_registry_binary_load_feature),
1793         (gst_registry_binary_load_plugin),
1794         (gst_registry_binary_read_cache):
1795           Fix memory leak. Be less verbose in the log.
1796
1797 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1798
1799         * tests/check/elements/.cvsignore:
1800         Add file to cvsignore as commanded.
1801
1802 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1803
1804         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
1805         (mq_dummypad_event), (run_output_order_test):
1806         Use a GStaticMutex to protect all cases where libcheck
1807         fail_if/fail_unless macros might be called from multiple threads
1808         simultaneously to avoid errors like:
1809           "check_pack.c:107: :-1081725400:Bad message type arg"
1810
1811 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1812
1813         * tests/check/pipelines/stress.c: (GST_START_TEST):
1814         Make sure we set the pipeline back to the NULL state before
1815         dropping our final reference.
1816
1817 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1818
1819         * tests/check/elements/tee.c: (GST_START_TEST):
1820         Make the tee stress-test a little less stressful so it doesn't just
1821         time out on slow-machines, and remove a small race when it's starting 
1822         up by adding a get_state() call.
1823
1824 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
1825
1826         * gst/gst.c:
1827           Avoid reading registry twice on startup. Fixes #457322.
1828
1829 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
1830
1831         * pkgconfig/gstreamer-check-uninstalled.pc.in:
1832         * pkgconfig/gstreamer-check.pc.in:
1833         Substitute the CFLAGS for libcheck into our .pc file too so that
1834         dependent modules will pick it up properly if libcheck is installed
1835         into some other prefix.
1836
1837 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
1838
1839         * configure.ac:
1840         Revert the pkg-config check for libcheck, since it pulls in the
1841         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
1842         a proper solution, either from the check project, or something else.
1843
1844 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
1845
1846         * configure.ac:
1847           Use pkg-config to locate check.
1848
1849 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
1850
1851         * gst/gsttaglist.c:
1852           Fix doc syntax.
1853
1854         * gst/gstutils.c:
1855         * gst/gstutils.h:
1856           Add deprecation guards.
1857
1858         * libs/gst/base/gstcollectpads.h:
1859           Don't document object (this is implicitly private).
1860
1861 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
1862
1863         * gst/gststructure.c: (gst_structure_parse_value):
1864           When deserialising foo=bar without a type cast, check if it's a
1865           boolean before falling back to a string type, otherwise things like
1866           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
1867           because the filtercaps end up having a signed=(string)true field,
1868           which causes problems later when intersection caps.
1869
1870         * tests/check/gst/gststructure.c: (GST_START_TEST):
1871           Add a unit test for this.
1872
1873 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
1874
1875         Reviewed by: Stefan Kost <ensonic@users.sf.net>
1876
1877         * libs/gst/controller/Makefile.am:
1878         * libs/gst/controller/gstcontroller.c:
1879         (gst_controlled_property_add_interpolation_control_source),
1880         (gst_controlled_property_new), (gst_controlled_property_free),
1881         (gst_controller_find_controlled_property),
1882         (gst_controller_new_valist), (gst_controller_new_list),
1883         (gst_controller_new), (gst_controller_remove_properties_valist),
1884         (gst_controller_remove_properties_list),
1885         (gst_controller_remove_properties),
1886         (gst_controller_set_property_disabled),
1887         (gst_controller_set_disabled), (gst_controller_set_control_source),
1888         (gst_controller_get_control_source), (gst_controller_get),
1889         (gst_controller_sync_values), (gst_controller_get_value_array),
1890         (_gst_controller_dispose), (gst_controller_get_type),
1891         (gst_controlled_property_set_interpolation_mode),
1892         (gst_controller_set), (gst_controller_set_from_list),
1893         (gst_controller_unset), (gst_controller_unset_all),
1894         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
1895         * libs/gst/controller/gstcontroller.h:
1896         * libs/gst/controller/gstcontrollerprivate.h:
1897         * libs/gst/controller/gstcontrolsource.c:
1898         (gst_control_source_class_init), (gst_control_source_init),
1899         (gst_control_source_get_value),
1900         (gst_control_source_get_value_array), (gst_control_source_bind):
1901         * libs/gst/controller/gstcontrolsource.h:
1902         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
1903         (gst_object_get_control_source):
1904         * libs/gst/controller/gstinterpolation.c:
1905         (gst_interpolation_control_source_find_control_point_node),
1906         (gst_interpolation_control_source_get_first_value),
1907         (_interpolate_none_get), (interpolate_none_get),
1908         (interpolate_none_get_boolean_value_array),
1909         (interpolate_none_get_enum_value_array),
1910         (interpolate_none_get_string_value_array),
1911         (_interpolate_trigger_get), (interpolate_trigger_get),
1912         (interpolate_trigger_get_boolean_value_array),
1913         (interpolate_trigger_get_enum_value_array),
1914         (interpolate_trigger_get_string_value_array):
1915         * libs/gst/controller/gstinterpolationcontrolsource.c:
1916         (gst_control_point_free), (gst_interpolation_control_source_reset),
1917         (gst_interpolation_control_source_new),
1918         (gst_interpolation_control_source_set_interpolation_mode),
1919         (gst_interpolation_control_source_bind),
1920         (gst_control_point_compare), (gst_control_point_find),
1921         (gst_interpolation_control_source_set_internal),
1922         (gst_interpolation_control_source_set),
1923         (gst_interpolation_control_source_set_from_list),
1924         (gst_interpolation_control_source_unset),
1925         (gst_interpolation_control_source_unset_all),
1926         (gst_interpolation_control_source_get_all),
1927         (gst_interpolation_control_source_get_count),
1928         (gst_interpolation_control_source_init),
1929         (gst_interpolation_control_source_finalize),
1930         (gst_interpolation_control_source_dispose),
1931         (gst_interpolation_control_source_class_init):
1932         * libs/gst/controller/gstinterpolationcontrolsource.h:
1933         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1934         API: Refactor GstController into the core controller which can take
1935         a GstControlSource for providing actual values for timestamps.
1936         Implement a interpolation control source and use this for backward
1937         compatibility, deprecate a bunch of functions that are now handled
1938         by GstControlSource or GstInterpolationControlSource.
1939         Make it possible to disable the controller completely or only for
1940         specific properties. Fixes #450711.
1941         * docs/libs/gstreamer-libs-docs.sgml:
1942         * docs/libs/gstreamer-libs-sections.txt:
1943         * docs/libs/gstreamer-libs.types:
1944         Add new functions and classes to the docs.
1945         * tests/check/libs/controller.c: (GST_START_TEST),
1946         (gst_controller_suite):
1947         * tests/examples/controller/audio-example.c: (main):
1948         Port unit test and example to the new API and add some new
1949         unit tests.
1950
1951 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
1952
1953         Patch by: Mark Nauwelaerts <manauw at skynet be>
1954
1955         * plugins/elements/gstmultiqueue.c:
1956         (gst_multi_queue_get_internal_links), (apply_buffer),
1957         (single_queue_overrun_cb), (gst_single_queue_new):
1958         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
1959         the pipeline layout can be tracked correctly. Fixes #453732.
1960
1961 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
1962
1963         * docs/gst/Makefile.am:
1964         * docs/libs/Makefile.am:
1965         * docs/plugins/Makefile.am:
1966           Simplify --extra-dir as gtkdoc scans recursively.
1967
1968 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
1969
1970         * tools/gst-launch.c: (main):
1971         When we got an error, there is no point in waiting for preroll when
1972         shutting down.
1973
1974 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
1975
1976         * plugins/elements/gsttee.c: (gst_tee_base_init),
1977         (gst_tee_request_new_pad), (gst_tee_release_pad),
1978         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
1979         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
1980         (gst_tee_chain):
1981         Be a lot smarter when deciding what srcpad to use for proxying
1982         the buffer_alloc. Also handle pad added/removed when doing so.
1983         Fixes #357959.
1984         Keep track of what pads we already pushed on in case we have pads
1985         added/removed while pushing. Fixes #374639 
1986
1987         * tests/check/Makefile.am:
1988         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
1989         (tee_suite):
1990         Added unit test for pad resync.
1991
1992 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1993
1994         * po/nl.po:
1995         * po/sv.po:
1996           Updated translations.
1997
1998 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1999
2000         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
2001
2002         * po/LINGUAS:
2003         * po/fi.po:
2004           Added new Finnish translation.
2005
2006 2007-06-28  Wim Taymans  <wim@fluendo.com>
2007
2008         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2009         (single_queue_overrun_cb):
2010         When figuring out when a queue is filled, use our internal time estimate
2011         based on segments, just like check_full does.
2012
2013 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2014
2015         * gst/gstminiobject.c: (gst_mini_object_get_type):
2016           Remove 3 do-nothing methods.
2017
2018 2007-06-27  Wim Taymans  <wim@fluendo.com>
2019
2020         Patch by: Tim Angus <tim at ngus dot net>
2021
2022         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2023         (gst_capsfilter_set_property):
2024         Take a reference instead of a copy when setting "caps".
2025         Fix documentation to clarify this behaviour. Fixes #449414.
2026
2027 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2028
2029         * gst/gstindexfactory.c: (gst_index_factory_get_type):
2030         * gst/gstplugin.c: (gst_plugin_init):
2031         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
2032         * gst/gstquery.c: (gst_query_get_type):
2033         * gst/gstregistry.c: (gst_registry_init):
2034         * gst/gsturi.c: (gst_uri_handler_base_init):
2035           Remove empty instance_init() functions to save relocs and lessen the
2036           noise. Remove some of the function prototypes that are doubled by
2037           G_DEFINE_TYPE.
2038           
2039 2007-06-27  Wim Taymans  <wim@fluendo.com>
2040
2041         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
2042
2043         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
2044         Add peer and direction in the XML serialisation of ghostpads.
2045         Fixes #449226.
2046
2047 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2048
2049         * configure.ac:
2050           Preserve useful information, thanks Tim.
2051
2052 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
2053
2054         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2055         (gst_single_queue_flush), (apply_segment), (apply_buffer),
2056         (gst_single_queue_push_one), (gst_multi_queue_loop),
2057         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2058         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
2059         (compute_high_id), (gst_single_queue_new):
2060         * plugins/elements/gstmultiqueue.h:
2061         Take the multiqueue lock when updating the fill level so we don't get
2062         confused. 
2063
2064         After applying a buffer or event on the src pad segment, make sure to
2065         call gst_data_queue_limits_changed() to get the data queue to unblock
2066         and check the filled state again.
2067         
2068         Rework the not-linked pad handling so the logic is that not-linked 
2069         pads can push as fast as they like, but only so they never get 
2070         ahead of any linked pads.
2071
2072         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
2073         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
2074         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
2075
2076         Add a test to check that not-linked pads always stay behind
2077         linked pads.
2078
2079         Fixes: #430682
2080
2081 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
2082
2083         * docs/random/release:
2084           Some updates to the release procedure.
2085
2086 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2087
2088         * gst/gstelementfactory.c: (__gst_element_details_clear):
2089           Microoptimization that saves stunning 80 bytes.
2090
2091 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
2092
2093         * docs/plugins/gstreamer-plugins.args:
2094         * docs/plugins/inspect/plugin-coreelements.xml:
2095         * docs/plugins/inspect/plugin-coreindexers.xml:
2096           Update docs with caps info.
2097
2098 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2099
2100         * po/it.po:
2101           Updated Italian translation.
2102
2103 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2104
2105         * ChangeLog:
2106         * po/vi.po:
2107           Update Vietnamese translations.
2108
2109 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2110
2111         * libs/gst/base/gstbasesink.c:
2112           Remove unused signal enum.
2113
2114 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2115
2116         * docs/gst/gstreamer-sections.txt:
2117         * gst/gstelement.c:
2118         * gst/gstutils.c: (gst_type_register_static_full):
2119         Beef up and include the docs for gst_type_register_static_full and
2120         gst_element_class_set_details_simple and add the API keyword
2121         in the ChangeLog.
2122
2123 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2124
2125         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2126         (update_time_level), (gst_single_queue_push_one),
2127         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
2128         (single_queue_overrun_cb), (single_queue_underrun_cb),
2129         (single_queue_check_full):
2130         Fix setting max-* properties after adding queues.
2131         Use IS_FILLED for checking visible items.
2132         Signal overrun if multiple queues overrun.
2133         Add extra debug output.
2134         Patch by: Wim Taymans <wim@fluendo.com>
2135
2136 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
2137
2138         * gst/gstelement.c: (gst_element_class_set_details_simple):
2139         * gst/gstelement.h:
2140         * gst/gstutils.c: (gst_type_register_static_full):
2141         * gst/gstutils.h:
2142         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
2143         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
2144         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
2145         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
2146         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
2147         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
2148         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
2149         * plugins/elements/gstidentity.c: (gst_identity_base_init):
2150         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
2151         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2152         (apply_buffer), (gst_queue_chain):
2153         * plugins/elements/gsttee.c: (gst_tee_base_init):
2154         * plugins/elements/gsttypefindelement.c:
2155         (gst_type_find_element_base_init),
2156         (gst_type_find_element_class_init):
2157           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
2158           API: add gst_type_register_static_full
2159           API: add gst_element_class_set_details_simple
2160
2161 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2162
2163         * docs/pwg/advanced-types.xml:
2164           Fix typo in iana.org URI.
2165
2166 2007-06-19  Andy Wingo  <wingo@pobox.com>
2167
2168         * tests/check/pipelines/simple-launch-lines.c
2169         (test_state_change_returns): Enable pull-mode tests now that
2170         basesink has been fixed.
2171
2172         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
2173         Changed from gst_base_sink_is_prerolled, reversing the sense of
2174         the return value. Returns FALSE also if the sink is in pull mode,
2175         in which case it needs no preroll.
2176         (gst_base_sink_query, gst_base_sink_change_state): Update for
2177         needs_preroll change.
2178         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
2179         chaining up, in which we return SUCCESS directly if we activated
2180         in pull mode instead of ASYNC. Involves countering an async_start
2181         message sent before chaining up; not sure if this is correct, in
2182         an ideal world we only send async-start when activating in push
2183         mode.
2184
2185         * tests/check/pipelines/simple-launch-lines.c
2186         (test_state_change_returns): New test, partially disabled until
2187         basesink is fixed.
2188
2189 2007-06-19  Wim Taymans  <wim@fluendo.com>
2190
2191         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2192         (gst_multi_queue_sink_event):
2193         Fix event leak.
2194
2195 2007-06-19  Wim Taymans  <wim@fluendo.com>
2196
2197         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2198         (gst_bin_change_state_func), (bin_push_state_continue),
2199         (bin_handle_async_start), (bin_handle_async_done),
2200         (gst_bin_handle_message_func):
2201         Move the common code for posting state-change messages into
2202         one function.
2203         Broadcast the state signal after we posted the messages.
2204         Mark the bin as busy when it's doing a state-change.
2205         Make sure async-start/done messages don't interfere with the bin's
2206         state when it's busy.
2207         After the state change, let the bin check which elements completed the
2208         state change while it was busy so that it can update its state.
2209
2210 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
2211
2212         * docs/random/release:
2213         Add a note about updating the doap file to the release checklist
2214
2215 2007-06-18  Wim Taymans  <wim@fluendo.com>
2216
2217         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2218         (gst_single_queue_push_one), (gst_multi_queue_chain),
2219         (gst_multi_queue_sink_event):
2220         Make sure we don't reference the buffer/event after we have given away
2221         ownership in the queue.
2222
2223 2007-06-18  Wim Taymans  <wim@fluendo.com>
2224
2225         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2226         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
2227         Update queue state _after_ adding the item in the queue because else we
2228         could end up being full without the element added yet.
2229
2230 2007-06-18  Wim Taymans  <wim@fluendo.com>
2231
2232         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2233         (gst_bin_remove_func), (gst_bin_get_state_func),
2234         (gst_bin_element_set_state), (gst_bin_continue_func),
2235         (bin_push_state_continue), (bin_handle_async_start),
2236         (bin_handle_async_done), (gst_bin_handle_message_func):
2237         * gst/gstbin.h:
2238         Immediatly commit the toplevel bin state when receiving an async-done
2239         message. This enables us to avoid spawning a thread to commit the state
2240         in some common cases and it also avoids some races.
2241         Avoid spawning a state thread when adding/removing async elements to a
2242         toplevel bin. Instead we immediatly update the bin state.
2243         Get rid of iterating all the children when getting the state in the bin
2244         because it is now always up-to-date.
2245         Fix bug where locked elements would always return _SUCCESS even it they
2246         returned NO_PREROLL before being locked.
2247         Fix the order of the state_change, async-start/done messages that was
2248         sometimes incorrect.
2249         Mark the state_dirty field as deprecated, we don't need it anymore as we
2250         are always up-to-date.
2251
2252         * gst/gstelement.c: (gst_element_get_state_func),
2253         (gst_element_continue_state):
2254         Small debug inprovements.
2255         Return the previous element state return when nothing is pending instead
2256         of blindly returning SUCCESS.
2257
2258         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
2259         (gst_sinks_suite):
2260         Add a whole bunch of new testcases.
2261
2262 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2263
2264         * po/uk.po:
2265         * po/vi.po:
2266           Update translations.
2267
2268 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
2269
2270         * gst/gstpad.c:
2271         Fix typo in the docs.
2272
2273 2007-06-15  Wim Taymans  <wim@fluendo.com>
2274
2275         * docs/libs/gstreamer-libs-sections.txt:
2276         Add docs for new methods.
2277
2278 2007-06-15  Wim Taymans  <wim@fluendo.com>
2279
2280         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
2281         (gst_multi_queue_item_new):
2282         Don't use GSlice because we don't depend on >= 2.10 yet.
2283
2284 2007-06-15  Wim Taymans  <wim@fluendo.com>
2285
2286         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2287         (update_time_level), (apply_segment), (apply_buffer),
2288         (gst_single_queue_push_one), (gst_multi_queue_item_new),
2289         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
2290         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
2291         (single_queue_underrun_cb), (single_queue_check_full):
2292         Remove debug printf.
2293
2294 2007-06-15  Wim Taymans  <wim@fluendo.com>
2295
2296         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
2297         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
2298         (gst_data_queue_set_flushing), (gst_data_queue_push),
2299         (gst_data_queue_pop), (gst_data_queue_drop_head),
2300         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
2301         * libs/gst/base/gstdataqueue.h:
2302         Various cleanups.
2303         Added methods to get the current levels and to inform the queue that the
2304         'full' limits changed.
2305
2306         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2307         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2308         (gst_single_queue_flush), (update_time_level), (apply_segment),
2309         (apply_buffer), (gst_single_queue_push_one),
2310         (gst_multi_queue_item_steal_object),
2311         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2312         (gst_multi_queue_loop), (gst_multi_queue_chain),
2313         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2314         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
2315         (gst_multi_queue_src_query), (single_queue_overrun_cb),
2316         (single_queue_underrun_cb), (single_queue_check_full),
2317         (gst_single_queue_new):
2318         Keep track of time in the queue by measuring the difference between
2319         running_time on input and output. This gives more accurate results and
2320         can compensate for segments correctly.
2321         Make a queue by default only 5 buffers deep. We will now increase the
2322         buffer size depending on the filledness of the other queues.
2323         Factor out commong flush code.
2324         Make sure we don't add additional refcounts to buffers when we can avoid
2325         it.
2326         Propagate GstFlowReturn differently.
2327         Use GSlice for intermediate GstMultiQueueItems.
2328         Keep track of EOS.
2329         Resize queues on over and underruns based on filled level of other
2330         queues.
2331         When checking if the queue is filled, prefer to measure in time if we
2332         can and fall back to bytes when no time is known.
2333
2334         * plugins/elements/gstqueue.c:
2335         Fix return value.
2336
2337 2007-06-15  Wim Taymans  <wim@fluendo.com>
2338
2339         * libs/gst/base/gstbasetransform.c:
2340         (gst_base_transform_sink_event):
2341         Work around the brokenness of the event vmethod in basetransform. Prefer
2342         to return TRUE when the subclass returned FALSE (meaning don't forward
2343         the event). 
2344
2345         * libs/gst/base/gstbasetransform.h:
2346         Clarify the docs.
2347
2348 2007-06-15  Wim Taymans  <wim@fluendo.com>
2349
2350         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
2351         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2352         (gst_base_src_default_query), (gst_base_src_get_range),
2353         (gst_base_src_start):
2354         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
2355         Improve debugging.
2356
2357 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2358
2359         * docs/pwg/advanced-types.xml:
2360           Added more formats to caps table.
2361
2362 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2363
2364         * tools/gst-launch.c: (main):
2365           Remove crufy code. GOption does not need this workaround.
2366
2367 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2368
2369         * libs/gst/controller/gstcontroller.c:
2370         (gst_controlled_property_set_interpolation_mode):
2371           Fix wrong getter for enums in controller.
2372
2373 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2374
2375         * libs/gst/check/gstcheck.c: (gst_check_init):
2376           Intercept criticals and warnings in the Gst-Phonon log domain, so
2377           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
2378           well.
2379         
2380 2007-06-14  Edward Hervey  <edward@fluendo.com>
2381
2382         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
2383         Since this file doesn't include "gst.h" it will not go through the
2384         macros that disable GST_LOG if debugging was disabled.
2385
2386 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2387
2388         * libs/gst/check/Makefile.am:
2389         * libs/gst/check/gstcheck.h:
2390         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2391         * pkgconfig/gstreamer-check.pc.in:
2392           Ugly 'fix' for the controller unit test on the p5 bot: in
2393           fail_unless_equals_float() check whether the values are 'almost
2394           equal' by allowing a small absolute error, which should be good
2395           enough for our use cases (normal numbers and values close to 0).
2396           Proper fixage left to floating point arithmetic aficionados.
2397
2398 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2399
2400         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
2401         (gst_base_sink_render_object), (gst_base_sink_get_position):
2402           Add two breaks thats where missing.
2403
2404 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2405
2406         * docs/libs/gstreamer-libs-sections.txt:
2407         * libs/gst/check/gstcheck.h:
2408           API: add fail_unless_equals_float() and assert_equals_float().
2409           Add documentation for some of the macros.
2410
2411         * tests/check/libs/controller.c: (GST_START_TEST):
2412           Use newly-added asserts.
2413
2414 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2415
2416         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
2417           Show the caps change in the log to help spotting the case of not
2418           exactly matching caps.
2419
2420 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2421
2422         * docs/pwg/building-boiler.xml:
2423           Fix typos, spotted by Thijs Vermeir (#447190).
2424
2425 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2426
2427         * docs/plugins/tmpl/.cvsignore:
2428         Ignore file to keep the buildbots happy
2429
2430 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2431
2432         * docs/plugins/Makefile.am:
2433         * docs/plugins/gstreamer-plugins-docs.sgml:
2434         * docs/plugins/gstreamer-plugins-sections.txt:
2435         Pull fdsink into the docs too.
2436
2437 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
2438
2439         * libs/gst/controller/gstinterpolation.c:
2440         Actually use the new functions with min/max checks for the trigger and
2441         none interpolation modes for get() and get_value_array() instead of
2442         just the latter.
2443
2444 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
2445
2446         * libs/gst/controller/gstcontroller.c:
2447         (gst_controlled_property_free):
2448         Unset the minimum and maximum GValues when freeing the corresponding
2449         GstControllerProperty struct.
2450
2451 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
2452
2453         * libs/gst/controller/gstcontroller.c:
2454         (gst_controlled_property_new):
2455         * libs/gst/controller/gstcontrollerprivate.h:
2456         * libs/gst/controller/gstinterpolation.c:
2457         (gst_controlled_property_find_control_point_node),
2458         (interpolate_none_get), (interpolate_none_get_enum_value_array),
2459         (interpolate_none_get_string_value_array),
2460         (interpolate_trigger_get),
2461         (interpolate_trigger_get_enum_value_array),
2462         (interpolate_trigger_get_string_value_array):
2463         Protect against values larger or smaller than the minimum or maximum
2464         allowed value for the property when using values that can be compared.
2465
2466         Optimize trigger interpolator a bit by taking the last requested value
2467         into account instead of always looping through the complete list.
2468
2469         Fix coding style a bit, everywhere else we use "return foo" instead
2470         of "return (foo)".
2471         
2472         * tests/check/libs/controller.c: (GST_START_TEST),
2473         (gst_controller_suite):
2474         Add unit test for the protection against too large or too small
2475         values.
2476
2477 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
2478
2479         * docs/random/slomo/controller.txt:
2480         Add some thoughts about the future of the controller.
2481
2482 2007-06-08  Wim Taymans  <wim@fluendo.com>
2483
2484         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2485         Don't overflow in retimestamping code.
2486
2487 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
2488
2489         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
2490         Use gst_util_guint64_to_gdouble for conversions.
2491         * win32/common/libgstreamer.def:
2492         Add new exported functions.
2493
2494 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
2495
2496         * gst/gstutils.c:
2497           Small docs addition.
2498
2499 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2500
2501         * README:
2502           Remove that test line again.
2503
2504 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2505
2506         * README:
2507           Test commit mail sending.
2508
2509 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2510
2511         * configure.ac:
2512           Fix typo and test commit mail sending.
2513
2514 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2515
2516         * tests/examples/controller/audio-example.c:
2517           Improve comment and test commit mail sending.
2518
2519 2007-06-07  Wim Taymans  <wim@fluendo.com>
2520
2521         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
2522         (gst_bin_remove_func), (gst_bin_element_set_state),
2523         (bin_handle_async_start), (bin_handle_async_done),
2524         (gst_bin_handle_message_func):
2525         Add helper function to find messages.
2526         Generate the async-done messages together with the state change
2527         messages.
2528         Small cleanups in handling toplevel bins.
2529
2530 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2531
2532         * libs/gst/base/gstdataqueue.c:
2533         * libs/gst/base/gstdataqueue.h:
2534         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2535         (gst_multi_queue_item_new), (gst_multi_queue_chain),
2536         (gst_multi_queue_sink_event):
2537         * tests/check/elements/multiqueue.c: (multiqueue_suite):
2538           Fix multiqueue leaking buffers and events when downstream or the
2539           queue are flushing. Make refcounting assumptions explicit and
2540           document them (shouldn't break existing code that uses it other than
2541           maybe leak miniobjects, but that already happens anyway). Add unit
2542           test for the most common flushing case. Fixes #423700.
2543           
2544 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2545
2546         * libs/gst/controller/gstcontroller.c:
2547         Clarify docs: The get_all, get_value_array(s) functions
2548         don't modify the GObject properties.
2549
2550 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2551
2552         * libs/gst/controller/gstcontroller.c:
2553         (gst_controlled_property_set_interpolation_mode),
2554         (gst_controlled_property_prepend_default),
2555         (gst_controlled_property_new), (gst_controller_set_unlocked),
2556         (gst_controller_set), (gst_controller_set_from_list),
2557         (gst_controller_unset), (gst_controller_unset_all):
2558         * libs/gst/controller/gstcontrollerprivate.h:
2559         * libs/gst/controller/gstinterpolation.c:
2560         Factor out the 'set' logic into gst_controller_set_unlocked for the
2561         gst_controller_set and gst_controller_set_from_list functions.
2562
2563         To make life of the interpolators easier always add a control point
2564         at timestamp zero with the default value.
2565
2566         In the linear interpolator make things more obvious by better variable
2567         naming (slope).
2568
2569         Implement cubic interpolation mode (by using a natural cubic spline)
2570         and map the quadratic interpolation mode to this too (as quadratic
2571         doesn't make much sense, see discussion on the list).
2572
2573         * tests/check/libs/controller.c: (GST_START_TEST),
2574         (gst_controller_suite):
2575         Add unit test for the cubic interpolation mode and check everywhere
2576         if the interpolation mode could be set as expected.
2577
2578 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2579
2580         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
2581           Don't use GLib-2.10 functions, we still depend on
2582           GLib-how-old-is-it-again-2.8.
2583
2584 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2585
2586         * docs/gst/gstreamer-sections.txt:
2587         * gst/Makefile.am:
2588         * gst/gst.c:
2589         * gst/gst.h:
2590         * gst/gstparamspecs.c: (_gst_param_fraction_init),
2591         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
2592         (_gst_param_fraction_values_cmp),
2593         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
2594         * gst/gstparamspecs.h:
2595         * gst/gstvalue.c:
2596         * tests/check/Makefile.am:
2597         * tests/check/gst/.cvsignore:
2598         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
2599         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
2600         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
2601         (GST_START_TEST), (gst_param_spec_suite):
2602           API: add GstParamSpecFraction, so elements can have fraction
2603           properties without lots of painful string parsing (#444648).
2604
2605 2007-06-05  Wim Taymans  <wim@fluendo.com>
2606
2607         * gst/gstobject.c: (gst_object_class_init):
2608         Fix signal signature.
2609
2610         * gst/gstsegment.c:
2611         Add small clarification in the api docs.
2612
2613         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
2614         States are protected with object lock.
2615
2616 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2617
2618         * AUTHORS:
2619         I should probably be listed as an author by now.
2620
2621         * docs/random/release:
2622         Update the release doc
2623
2624 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
2625
2626         * gst/gstvalue.c:
2627           Make docs for gst_value_compare() mention return enums that
2628           actually exist.
2629
2630 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2631
2632         * configure.ac:
2633           Back to CVS
2634
2635 === release 0.10.13 ===
2636
2637 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
2638
2639         * configure.ac:
2640           releasing 0.10.13, "With or without you"
2641
2642 2007-05-25  Wim Taymans  <wim@fluendo.com>
2643
2644         * gst/gstbin.c: (bin_handle_async_done):
2645         Make sure that the child bin stops after completing the async state
2646         change so that the parent can continue the state change to PLAYING.
2647         Fixes #441159.
2648
2649 2007-05-25  Wim Taymans  <wim@fluendo.com>
2650
2651         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2652         (unref_data), (gst_collect_pads_remove_pad),
2653         (gst_collect_pads_check_pads):
2654         Use additional refcounting to avoid crashes when dynamically adding and
2655         removing pads. Fixes #420206.
2656
2657 2007-05-24  Wim Taymans  <wim@fluendo.com>
2658
2659         * tools/gst-launch.c: (event_loop):
2660         When buffering goes from a two digit to a single digit number, make sure
2661         to remove the old second digit by writing a blank over it.
2662
2663 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2664
2665         * libs/gst/base/gstdataqueue.c:
2666           Eliminate tabs and trailing comma in enum list; fix some typos.
2667
2668 2007-05-24  Wim Taymans  <wim@fluendo.com>
2669
2670         * tests/check/gst/gstbin.c: (GST_START_TEST):
2671         Allow refcount of 3 and 4 because some state thread might still be busy
2672         with it.
2673
2674 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2675
2676         * plugins/elements/Makefile.am:
2677         * plugins/elements/gstmultiqueue.h:
2678         * plugins/elements/gstqueue.h:
2679           These are not installed headers, no need for padding.
2680
2681 2007-05-24  Wim Taymans  <wim@fluendo.com>
2682
2683         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2684         (gst_bin_continue_func):
2685         Enable latency for next release.
2686         Restore STATE_LOCK around recalc_state that was left out during the
2687         rewrite and could result in racy behaviour when _get_state and
2688         recalc_state are run concurrently. See #440463.
2689
2690 2007-05-23  Wim Taymans  <wim@fluendo.com>
2691
2692         * tests/check/gst/gstsystemclock.c: (store_callback),
2693         (GST_START_TEST):
2694         Improve test_async_order to also work when both timers are already
2695         expired when we get scheduled to check it.
2696
2697 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2698
2699         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
2700         (gst_bin_set_property), (gst_bin_get_property),
2701         (gst_bin_remove_func), (gst_bin_handle_message_func):
2702         * gst/gstbin.h:
2703           'private' is a c++ keyword, let's not use that in header files,
2704           otherwise c++ compilers will throw a tantrum.
2705
2706 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2707
2708         * plugins/elements/gstelements.c:
2709         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
2710         (gst_file_sink_get_current_offset):
2711         * plugins/indexers/gstindexers.c: (plugin_init):
2712           Use #ifdef for HAVE_XYZ for consistency.
2713
2714         * tests/check/Makefile.am:
2715         * tests/check/elements/.cvsignore:
2716         * tests/check/elements/filesink.c: (setup_filesink),
2717         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
2718           Add some unit tests for filesink.
2719
2720 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2721
2722         Patch by: Mark Nauwelaerts <manauw at skynet be>
2723
2724         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2725         (gst_file_sink_query), (gst_file_sink_do_seek),
2726         (gst_file_sink_get_current_offset), (gst_file_sink_render):
2727         * plugins/elements/gstfilesink.h:
2728           Fix position reporting; rename data_written member to current_pos to
2729           reflect its real meaning (fixes #412648).
2730
2731 2007-05-22  Edward Hervey  <edward@fluendo.com>
2732
2733         * docs/gst/gstreamer-sections.txt:
2734         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2735         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
2736         (gst_bin_remove_func), (gst_bin_handle_message_func):
2737         * gst/gstbin.h:
2738         Add a property for bins that handle the state change of their childs.
2739         Fixes #435880
2740
2741 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2742
2743         * libs/gst/controller/gstinterpolation.c:
2744         Use an array of the correct type when using _get_value_array with
2745         linear interpolation.
2746
2747 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
2748
2749         * gst/gstelement.c (gst_element_requires_clock,
2750           gst_element_provides_clock, gst_element_request_pad,
2751           gst_element_class_set_details, gst_element_class_set_details_simple,
2752           gst_element_default_send_event, gst_element_abort_state,
2753           gst_element_continue_state, gst_element_set_state,
2754           gst_element_set_state_func, iterator_activate_fold_with_resync):
2755         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
2756           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
2757           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
2758           gst_pad_get_range, gst_pad_pull_range):
2759         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
2760           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
2761           GstPadActivateModeFunction, GstPadChainFunction,
2762           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
2763           GstPadFixateCapsFunction, GstPadTemplate):
2764         * gst/gstpipeline.c (gst_pipeline_change_state,
2765           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
2766           gst_pipeline_set_clock, gst_pipeline_auto_clock,
2767           gst_pipeline_get_delay):
2768           Whitespace and docs fixes.
2769
2770 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2771
2772         * libs/gst/controller/gstinterpolation.c:
2773         (interpolate_trigger_get_enum_value_array),
2774         (interpolate_trigger_get_string_value_array):
2775         Add support for retrieving value arrays when using the trigger
2776         interpolation mode. 
2777
2778 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2779
2780         * libs/gst/controller/gstcontroller.c:
2781         (gst_controller_get_value_array):
2782         * libs/gst/controller/gstcontroller.h:
2783         Clarify the docs of gst_controller_get_value_array(): The array where
2784         the values should be written to must be allocated as there seems to be
2785         no way to get the size of a random GType. This doesn't change any
2786         behaviour. Also fix some typos all over the place and remove an unused,
2787         commented function that is not necessary as g_object_set() could be
2788         used instead.
2789         * tests/check/libs/controller.c: (GST_START_TEST),
2790         (gst_controller_suite):
2791         Add unit test for gst_controller_get_value_array().
2792
2793 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
2794
2795         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2796
2797         Disable part of the gst_buffer_try_new_and_alloc test, because
2798         it can happily succeed on 64-bit systems where there's more address
2799         space available.
2800
2801 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2802
2803         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2804         Add unit test for the improved caps checking from bug #421543.
2805
2806 2007-05-21  Wim Taymans  <wim@fluendo.com>
2807
2808         * docs/design/part-synchronisation.txt:
2809         Small addition.
2810
2811         * gst/gstbin.c: (gst_bin_query):
2812         * plugins/elements/gstqueue.c: (apply_segment):
2813         Improve debugging.
2814
2815         * gst/gstmessage.h:
2816         Improve docs.
2817
2818 2007-05-21  Wim Taymans  <wim@fluendo.com>
2819
2820         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2821         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
2822         (gst_pad_configure_src):
2823         Added simple version of improved caps checking. It was previously
2824         assumed that a setcaps function would check the validity of the caps but
2825         people prefer us to check caps against the template automatically. 
2826         Fixes #421543.
2827
2828 2007-05-21  Wim Taymans  <wim@fluendo.com>
2829
2830         * libs/gst/base/gstbasetransform.h:
2831         Fix macro for locking/unlocking the transform lock.
2832
2833 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
2834
2835         * docs/plugins/tmpl/.cvsignore:
2836           Ignore more.
2837
2838 2007-05-18  Edward Hervey  <edward@fluendo.com>
2839
2840         * plugins/elements/gstqueue.c: (gst_queue_loop):
2841         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
2842         for the subtle art of warning a potentially blocking thread that it
2843         should check the source pad return value, and relay the information
2844         upstream.
2845
2846 2007-05-18  Edward Hervey  <edward@fluendo.com>
2847
2848         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2849         Release the queue lock !
2850
2851 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2852
2853         * docs/libs/gstreamer-libs-sections.txt:
2854         Add the two new controller functions to the appropiate places.
2855
2856 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2857
2858         reviewed by: Stefan Kost <ensonic@users.sf.net>
2859
2860         * libs/gst/controller/gstcontroller.c:
2861         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
2862         (_gst_controller_get_property), (_gst_controller_set_property),
2863         (_gst_controller_init), (_gst_controller_class_init):
2864         * libs/gst/controller/gstcontroller.h:
2865         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
2866         (gst_object_get_control_rate), (gst_object_set_control_rate):
2867         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
2868         Add API that provides sync suggestion timestamps for elements that
2869         call gst_object_sync_values() from which those elements can subdivide
2870         their processing loop to get the best results for the controlled
2871         properties. For now it just suggests last_sync + control_rate as
2872         new timestamp but this will be improved in the future.
2873
2874         While doing that change the control-rate property to a GstClockTime
2875         from guint and change it's meaning from samples to nanoseconds as
2876         the GstController doesn't know anything about sampling rate. Strictly
2877         speaking this breaks ABI but as the control-rate property didn't do
2878         anything in the past and as such couldn't be used this should be no
2879         problem.        
2880
2881 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2882
2883         reviewed by: Stefan Kost <ensonic@users.sf.net>
2884
2885         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2886         (gst_controller_unset_all):
2887         * libs/gst/controller/gstcontrollerprivate.h:
2888         * libs/gst/controller/gstinterpolation.c:
2889         (gst_controlled_property_find_control_point_node):
2890         Save last synced value from the list to continue searching from there
2891         in future syncs. This speeds everything up a bit.
2892         
2893 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2894
2895         reviewed by: Stefan Kost <ensonic@users.sf.net>
2896
2897         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
2898         (gst_control_point_find), (gst_controlled_property_new),
2899         (gst_control_point_free), (gst_controlled_property_free),
2900         (gst_controller_set), (gst_controller_set_from_list),
2901         (gst_controller_unset), (gst_controller_unset_all),
2902         (gst_controller_sync_values):
2903         * libs/gst/controller/gstcontroller.h:
2904         * libs/gst/controller/gstcontrollerprivate.h:
2905         * libs/gst/controller/gstinterpolation.c:
2906         (gst_controlled_property_find_control_point_node),
2907         (interpolate_none_get), (interpolate_trigger_get):
2908         Add a new private GstControlPoint struct which "inherits" from
2909         GstTimedValue to allow different interpolators to store internal
2910         values next to each control point. From the outside everything is
2911         still a GstControlPoint so we don't loose binary compatibility.
2912         Also fixup all the GValue handling to not leak GValues or list nodes.
2913         * tests/check/libs/controller.c: (GST_START_TEST):
2914         Free the list nodes and GValues in the controller_misc test.
2915
2916 2007-05-17  Edward Hervey  <edward@fluendo.com>
2917
2918         * gst/gstsegment.c:
2919         Small doc fix.
2920
2921 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
2922
2923         * gst/gstplugin.c: (gst_plugin_load_file):
2924           If we fail to load a plugin because of unresolved symbols or missing
2925           libraries and spew a warning to stderr, we may just as well mention
2926           which plugin it was that failed to load.
2927
2928 2007-05-13  David Schleef  <ds@schleef.org>
2929
2930         * docs/Makefile.am: the gtk-doc makefile snippet correctly
2931           handles the case when ENABLE_GTK_DOC is false, and installs
2932           the prebuilt documentation.  So gtk-doc subdirs are 
2933           unconditionally enabled.  Fixes: #349099.
2934
2935 2007-05-13  David Schleef  <ds@schleef.org>
2936
2937         * gst/gstutils.h: Reword some documentation.
2938
2939 2007-05-12  David Schleef  <ds@schleef.org>
2940
2941         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
2942           do anything with the passed "module" parameter, so remove it.
2943           Allows removal of additional vestigal code.
2944
2945 2007-05-12  David Schleef  <ds@schleef.org>
2946
2947         * gst/gstplugin.c:
2948           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
2949           Switch to using g_stat() because it's more portable.
2950
2951 2007-05-12  David Schleef  <ds@schleef.org>
2952
2953         * gst/gst.c:
2954           Add GST_DISABLE_OPTION_PARSING, in order to disable option
2955           parsing for embedded systems.
2956         * gst/gstelementfactory.c:
2957           Allow gst_element_register() to be called with plugin==NULL.
2958           Did nobody notice that static elements were broken?
2959
2960 2007-05-12  Wim Taymans  <wim@fluendo.com>
2961
2962         * tools/gst-launch.c: (event_loop):
2963         Give more interesting info when buffering starts and stops.
2964         Fix case where buffering starts but we fail to update the buffering flag
2965         because the target state is not PLAYING.
2966
2967 2007-05-12  Wim Taymans  <wim@fluendo.com>
2968
2969         * plugins/elements/gstqueue.c: (gst_queue_init),
2970         (gst_queue_finalize), (update_time_level), (apply_segment),
2971         (apply_buffer), (gst_queue_locked_flush),
2972         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
2973         (gst_queue_handle_sink_event), (gst_queue_chain),
2974         (gst_queue_push_one), (gst_queue_loop):
2975         * plugins/elements/gstqueue.h:
2976         Refactor an cleanup queue a bit.
2977         Do better time level calculations that also work when the srcpad is not
2978         yet running.
2979         Remove some unneeded debug lines.
2980
2981         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
2982         Added testcase for time level measurement.
2983         Try to make some stuff more racefree.
2984
2985 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
2986
2987         * gst/gsturi.c: (gst_element_make_from_uri):
2988           Don't leak plugin feature.
2989
2990         * tests/check/Makefile.am:
2991         * tests/check/gst/.cvsignore:
2992         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
2993           Add brain-dead unit test.
2994
2995 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
2996
2997         Patch by: Jeroen Wouters <woutersj at gmail com>
2998
2999         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
3000           Treat protocol strings in a case-insensitive way (#437563).
3001
3002 2007-05-11  Michael Smith <msmith@fluendo.com>
3003
3004         * gst/gstplugin.c: (gst_plugin_load_file):
3005         * gst/gstregistry.c: (gst_registry_scan_path_level):
3006           Don't print a g_warning for any failure to load a shared object.
3007           Instead, push this down into gstplugin.c, and warn _only_ if we
3008           failed to open the module (i.e. failure to link).
3009           Avoids warnings on normal, working, non-plugin .so files.
3010
3011 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
3012
3013         * gst/gstplugin.c (gst_plugin_load_file):
3014         * gst/gstregistry.c (GST_CAT_DEFAULT,
3015           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
3016           Print a g_warning if there was an error when loading a plugins during
3017           registry scan. The shuld help beginners starting with gst-plugin
3018           template.
3019
3020 2007-05-10  Wim Taymans  <wim@fluendo.com>
3021
3022         * plugins/elements/gstqueue.c: (gst_queue_class_init),
3023         (update_time_level), (gst_queue_locked_flush),
3024         (gst_queue_handle_sink_event), (gst_queue_chain),
3025         (gst_queue_push_one), (gst_queue_loop):
3026         * plugins/elements/gstqueue.h:
3027         Be smarter when calculating the current amount of data in the queue by
3028         measuring the difference between start and end timestamps (in running
3029         time) inside the queue. Fixes #432876.
3030         API: GstQueue::pushing to notify elements that we are pushing data again
3031         since the running signal is rather broken for this purpose.
3032
3033 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
3034
3035         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
3036           gst_queue_base_init, gst_queue_init):
3037           use GST_BOILERPLATE
3038
3039 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
3040
3041         * win32/common/libgstreamer.def:
3042         Add new exported functions.
3043         * win32/vs6/grammar.dsp:
3044         Use grammar pre-generated files.
3045
3046 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3047
3048         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
3049
3050         * gst/Makefile.am:
3051         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
3052         * gst/gstparse.h:
3053         * gst/gstutils.c: (gst_parse_bin_from_description):
3054         * gst/gstutils.h:
3055           Maintain API and ABI when --disable-parse is used. Now that
3056           we have an appropriate error code, we can just return NULL and the
3057           appropriate error when gst_parse_launch() is used despite it having
3058           been disabled (#342564).
3059
3060         * tests/check/Makefile.am:
3061         * tests/check/pipelines/.cvsignore:
3062         * tests/check/pipelines/parse-disabled.c:
3063           Make sure these functions exist and return NULL plus a GError when
3064           --disable-parse is used.
3065
3066 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3067
3068         * tests/benchmarks/complexity.c: (main):
3069         * tests/benchmarks/mass-elements.c: (main):
3070           Set a good example and don't leak messages.
3071
3072 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
3073
3074         * docs/gst/Makefile.am:
3075         * docs/libs/Makefile.am:
3076           Correct fixxrefs options.
3077
3078         * docs/plugins/Makefile.am:
3079         * docs/plugins/gstreamer-plugins-docs.sgml:
3080         * docs/plugins/gstreamer-plugins-sections.txt:
3081         * plugins/elements/Makefile.am:
3082         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
3083         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
3084           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
3085           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
3086           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
3087           _GstCapsFilterClass, trans_class):
3088         * plugins/elements/gstelements.c (name, rank, type, _elements):
3089         * plugins/elements/gstidentity.c
3090           (gst_identity_check_imperfect_timestamp,
3091           gst_identity_check_imperfect_offset):
3092           Document capsfilter and add doc-blurb to identity.
3093
3094 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3095
3096         * libs/gst/controller/gstcontroller.c:
3097         (gst_controlled_property_set_interpolation_mode):
3098         * libs/gst/controller/gstinterpolation.c:
3099           Don't crash if someone tries to set an interpolation mode that
3100           is invalid or that isn't supported yet. Fixes #422295.
3101
3102         * tests/check/libs/controller.c: (GST_START_TEST),
3103         (gst_controller_suite):
3104           Add a test case for the above.
3105
3106 2007-05-03  Edward Hervey  <edward@fluendo.com>
3107
3108         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3109         Properly set the last_stop position on GstSegment. This will only happen
3110         if there is a buffer to push out.
3111
3112 2007-05-03  Wim Taymans  <wim@fluendo.com>
3113
3114         * libs/gst/base/gstbasetransform.c:
3115         (gst_base_transform_buffer_alloc):
3116         always_in_place does not mean that the sink and source caps are the
3117         same! Make sure we don't blindly proxy the buffer_alloc in this case.
3118
3119 2007-05-03  Wim Taymans  <wim@fluendo.com>
3120
3121         * docs/libs/gstreamer-libs-sections.txt:
3122         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3123         (gst_base_src_default_query), (gst_base_src_get_range):
3124         * libs/gst/base/gstbasesrc.h:
3125         API: gst_base_src_query_latency(). Added method so that subclasses can
3126         easily get the latency values of the base source class.
3127
3128 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
3129
3130         * tools/gst-inspect.c (print_implementation_info):
3131         Remove 0.8 cruft.
3132
3133 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
3134
3135         * tools/Makefile.am:
3136         * tools/gst-launch.1.in:
3137           Don't create a customised man page based on the host architecture,
3138           describe the default registry path generically. That way the man
3139           page is the same for all architectures and packagers have one
3140           multilib issue less to deal with. Fixes #434926.
3141
3142 2007-05-02  Wim Taymans  <wim@fluendo.com>
3143
3144         * gst/gstpad.c:
3145         Fix documentation as spotted by rg on IRC. 
3146
3147 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
3148
3149         * gst/gstutils.c:
3150           Improve docs for gst_element_{link,unlink}.
3151
3152 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
3153
3154         * docs/design/part-events.txt:
3155         * docs/design/part-overview.txt:
3156         * gst/gstevent.c:
3157         * gst/gsturi.c:
3158         * gst/gsturi.h:
3159         * libs/gst/base/gstbasesink.c:
3160           Typo fixes; minor docs addition.
3161
3162 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3163
3164         * docs/gst/gstreamer-sections.txt:
3165         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
3166         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
3167         * gst/gsturi.h:
3168         API: Add gst_uri_protocol_is_supported(), which checks if a sink
3169         or src that supports a given URI protocol exists.
3170
3171 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3172
3173         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3174         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3175         Set the location to NULL if "file://" is set as URI. Otherwise
3176         some random previous URI would still be set if "file://" is
3177         set on an already used filesink/filesrc.
3178
3179 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3180
3181         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3182         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3183         Special case the "file://" URI as as this is used by some
3184         applications to test with gst_element_make_from_uri if there's
3185         an element that supports the URI protocol.
3186         Also move the g_path_is_absolute() check for the location part
3187         of the URI to also check this for "file://localhost/bla" URIs.
3188
3189 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
3190
3191         * docs/gst/gstreamer-sections.txt:
3192         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
3193         * gst/gstbuffer.h:
3194         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
3195         (gst_buffer_suite):
3196           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
3197
3198 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
3199
3200         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3201         (gst_registry_binary_load_pad_template),
3202         (gst_registry_binary_load_plugin),
3203         (gst_registry_binary_read_cache):
3204         * gst/gstregistrybinary.h:
3205           Implement no-mmap alternative for registry reading. Do code cleanups.
3206           Add more comments about avoiding strdups for all text data. Comments
3207           welcome.
3208
3209 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3210
3211         * gst/gstregistrybinary.h (GstBinaryPluginElement,
3212           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
3213           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
3214           Comment structs and reformat to fix the build (that stuff should go
3215           into a priv. header).
3216
3217 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3218
3219         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3220         (gst_registry_binary_load_feature):
3221         * gst/gstregistrybinary.h:
3222           Refactor so that we can implement multiple features. Add support for
3223           TypeFindFactory features.
3224
3225 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
3226
3227         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
3228
3229         * configure.ac:
3230           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
3231
3232 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
3233
3234         * gst/gstbin.c: (gst_bin_element_set_state),
3235         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
3236         (bin_handle_async_done), (gst_bin_handle_message_func):
3237           Fix build with --gst-disable-gst-debug
3238
3239 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3240
3241         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
3242           Make sure streaming has finished before calling the ::stop() vfunc,
3243           since that vfunc might clear state which is being used in the
3244           streaming thread. This fixes a race that caused crashes in
3245           audioresample when shutting down a pipeline (#420106).
3246
3247 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3248
3249         * docs/gst/gstreamer-sections.txt:
3250           That was one byte missing.
3251
3252 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3253
3254         * configure.ac:
3255         * docs/gst/gstreamer-sections.txt:
3256         * gst/Makefile.am:
3257         * gst/gstconfig.h.in:
3258         * gst/gstobject.c: (gst_object_class_init),
3259         (gst_signal_object_class_init):
3260         * gst/gstobject.h:
3261           2nd attempt to have a xml-less build as a joined effort of #413123
3262           and #421480.
3263
3264 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3265
3266         * docs/design/draft-tagreading.txt:
3267           Added open issues/thoughts to draft.
3268
3269 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3270
3271         * gst/parse/grammar.tab.pre.c:
3272         * gst/parse/grammar.tab.pre.h:
3273         * gst/parse/lex._gst_parse_yy.pre.c:
3274         Update the prebuild parser sources.
3275
3276 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3277
3278         * gst/parse/Makefile.am:
3279         And now fix the building of the flex sources. Now everything should
3280         work as expected.
3281
3282 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3283
3284         * gst/parse/Makefile.am:
3285         Now hopefully fix the build failures by setting proper rule
3286         dependencies and moving instead of copying.
3287
3288 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3289
3290         * tests/benchmarks/complexity.gnuplot:
3291         * tests/benchmarks/complexity.scm:
3292         * tests/benchmarks/mass-elements.gnuplot:
3293         * tests/benchmarks/mass-elements.scm:
3294           Total licensification.
3295
3296 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3297
3298         * gst/parse/Makefile.am:
3299           Fix the build by correcting the rule that gave wrong files to flex.
3300
3301 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3302
3303         * tests/benchmarks/complexity.c:
3304         * tests/benchmarks/mass-elements.c:
3305           Change licence to LGPL as granted by Benjamin and Andy.
3306
3307 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3308
3309         * gst/parse/Makefile.am:
3310         Add correct grammar.tab.h dependency if compiling without new enough
3311         flex. Fixes #431150.
3312
3313 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3314
3315         * gst/parse/Makefile.am:
3316         Fix typo and use outdated sources if the flex/bison sources are newer
3317         than the pregenerated ones but flex is too old. Print a warning in
3318         that case. This should fix the build on the build bot.
3319
3320 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3321
3322         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
3323         * gst/parse/Makefile.am:
3324         * gst/parse/grammar.y:
3325         * gst/parse/parse.l:
3326         Make the parser reentrant and recursively callable. This requires flex
3327         >= 2.5.31, for older versions pregenerated sources are used as we
3328         can't bump the build dependency. Finally fixes #349180.
3329
3330         * gst/gstparse.c: (gst_parse_launch):
3331         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
3332         now anyway.
3333
3334         * docs/gst/Makefile.am:
3335         * docs/gst/Makefile.am:
3336         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
3337         (__gst_parse_strfree), (__gst_parse_link_new),
3338         (__gst_parse_link_free), (__gst_parse_chain_new),
3339         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
3340         (gst_parse_element_set), (gst_parse_free_link),
3341         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
3342         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
3343         (_gst_parse_launch):
3344         * gst/parse/grammar.tab.pre.h:
3345         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
3346         (yy_get_previous_state), (yy_try_NUL_trans), (input),
3347         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
3348         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
3349         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
3350         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
3351         (_gst_parse_yypop_buffer_state),
3352         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
3353         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
3354         (yy_fatal_error), (_gst_parse_yyget_extra),
3355         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
3356         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
3357         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
3358         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
3359         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
3360         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
3361         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
3362         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
3363         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
3364         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
3365         (_gst_parse_yyfree):
3366         If the installed flex version is too old use pre-generated parser
3367         sources. These pre-generated parser sources are always updated when
3368         the actual flex/bison sources change but require everybody who wants
3369         to change something in the parser to have flex >= 2.5.31 installed.
3370
3371 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
3372
3373         * common/m4/gst-gettext.m4:
3374         * gst/gst-i18n-lib.h:
3375           Make --disable-nls to work
3376
3377 2007-04-17  Wim Taymans  <wim@fluendo.com>
3378
3379         * gst/gstconfig.h.in:
3380         Revert previous change that broke the build.
3381
3382 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
3383
3384         * configure.ac:
3385         * gst/Makefile.am:
3386         * gst/gstconfig.h.in:
3387           Drop libxml2 dependency when building with 
3388           --enable-binary-registry --disable-loadsave
3389
3390 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
3391
3392         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3393         (gst_registry_binary_read_cache):
3394         * gst/gstregistrybinary.h:
3395           Remove unnecessary <sys/mman.h> include which broke the win32 build
3396           with MingW; move includes from header file to .c file, even if the
3397           header file isn't installed; use g_strerror() where UTF-8 strings
3398           are expected, such as in GST_DEBUG messages.
3399
3400 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3401
3402         * docs/libs/gstreamer-libs-sections.txt:
3403         Remove bogus addition for API I didn't end up keeping.
3404
3405         * libs/gst/base/gstbasesrc.h:
3406         Mention Since: 0.10.13 in the documentation.
3407
3408         Add the API keyword to the previous ChangeLog entry.
3409
3410 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3411
3412         * docs/libs/gstreamer-libs-sections.txt:
3413         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3414         (gst_base_src_default_prepare_seek_segment),
3415         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
3416         * libs/gst/base/gstbasesrc.h:
3417         Allow basesrc derived classes to execute seeks in other formats
3418         by providing a prepare_seek_segment vmethod. Sub-classes can choose
3419         to prepare the GstSegment in any format that their perform_seek method
3420         will be able to understand. The default implementation provides the
3421         old behaviour of attempting to convert the seek offsets to the 
3422         configured native format.
3423
3424         API: basesrc::prepare_seek_segment vmethod.
3425
3426 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3427
3428         * gst/gstelement.c: (gst_element_get_state_func):
3429         Don't output the same debug statement twice.
3430
3431         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
3432         (gst_adapter_peek), (gst_adapter_take_buffer):
3433         Optimise the case where we have buffers at the head of the queue that
3434         can be joined quickly (because they're contiguous sub-buffers) by
3435         merging them together rather than copying data out into new memory.
3436
3437         * gst/parse/grammar.y:
3438         * tests/check/pipelines/parse-launch.c:
3439         Fix a leak in an error path for parse_launch, and add a check 
3440         for it to the testsuite.
3441
3442 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3443
3444         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3445           Don't deadlock when releasing a pad - gst_pad_set_active may try
3446           and take the multiqueue lock too.
3447
3448 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3449
3450         * gst/gsterror.c: (_gst_core_errors_init):
3451         * gst/gsterror.h:
3452           API: add GST_CORE_ERROR_DISABLED (#392804).
3453
3454 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3455
3456         * docs/faq/gst-uninstalled:
3457           don't get empty paths on the PATH variables
3458         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
3459           Don't format for the uncommon terminal width of 84 characters.
3460
3461 2007-04-06  Wim Taymans  <wim@fluendo.com>
3462
3463         * gst/gstpipeline.c: (reset_stream_time),
3464         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
3465         Only try to select a different pipeline clock when we went back to
3466         PAUSED and not when we merely got flushed.
3467
3468 2007-04-05  Michael Smith  <msmith@fluendo.com>
3469
3470         * tools/gst-launch.1.in:
3471           fractions are better supported in gstreamer than ractions, so
3472           suggest using those.
3473
3474 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3475
3476         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
3477
3478         * po/LINGUAS:
3479         * po/da.po:
3480           Added Danish translation.
3481
3482 2007-04-05  Wim Taymans  <wim@fluendo.com>
3483
3484         * libs/gst/base/gstbasesink.c:
3485         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
3486         Fix leak caused when refusing newsegment after EOS.
3487
3488         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3489         (gst_fake_sink_init), (gst_fake_sink_set_property),
3490         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
3491         (gst_fake_sink_render), (gst_fake_sink_change_state):
3492         * plugins/elements/gstfakesink.h:
3493         Add num-buffers property to make the element generate EOS after a
3494         configurable amount of buffers.
3495         API: fakesink::num-buffers property.
3496
3497         * tests/check/elements/fakesink.c: (GST_START_TEST),
3498         (fakesink_suite):
3499         Fix GstBus leak in test.
3500         Test for fakesink num-buffers.
3501
3502 2007-04-05  Wim Taymans  <wim@fluendo.com>
3503
3504         * libs/gst/base/gstbasesink.c:
3505         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3506         (gst_base_sink_change_state):
3507         Don't accept anything after an EOS, return UNEXPECTED instead.
3508
3509         * tests/check/elements/fakesink.c: (GST_START_TEST),
3510         (fakesink_suite):
3511         Unit test for new EOS behaviour.
3512
3513 2007-04-05  Wim Taymans  <wim@fluendo.com>
3514
3515         * gst/gstelement.c: (gst_element_get_request_pad):
3516         Make padtemplates also work when they don't contain %s or %d.
3517
3518 2007-04-05  Wim Taymans  <wim@fluendo.com>
3519
3520         * docs/gst/gstreamer-sections.txt:
3521         * gst/gstclock.c: (gst_clock_adjust_unlocked),
3522         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
3523         * gst/gstclock.h:
3524         Improve _adjust_unlocked() so that it overflows less.
3525         Add gst_clock_unadjust_unlocked to convert from external time to
3526         internal time based on calibration.
3527         Add some more debug.
3528         API: GstClock::gst_clock_unadjust_unlocked()
3529
3530 2007-04-03  Wim Taymans  <wim@fluendo.com>
3531
3532         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3533
3534         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3535         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
3536         when releasing sink pad. Fixes #425400.
3537
3538 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
3539
3540         * docs/random/ensonic/dynlink.txt:
3541           More work on proposal for new core api.
3542
3543         * docs/libs/gstreamer-libs-sections.txt:
3544         * libs/gst/base/gstbasetransform.h:
3545           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3546           
3547         * libs/gst/controller/gstcontroller.c:
3548         (on_object_controlled_property_changed),
3549         (gst_controller_sync_values),
3550         (gst_controller_set_interpolation_mode):
3551         * libs/gst/controller/gstcontroller.h:
3552           Less verbose logging add docs for unimplemented parts and correctly
3553           return when using unavailable parts.
3554
3555 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3556
3557         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
3558         Move all the debug to the CLOCK category, and associate it with
3559         the clock object.
3560
3561 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3562
3563         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
3564         Make take_buffer a bit quicker by removing redundant checks
3565         caused by calling gst_adapter_take.
3566
3567 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3568
3569         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
3570           Don't leak GCond.
3571
3572         * tests/check/Makefile.am:
3573         * tests/check/elements/.cvsignore:
3574         * tests/check/elements/multiqueue.c: (setup_multiqueue),
3575         (GST_START_TEST), (multiqueue_suite):
3576           Add some dead simple unit tests for the 'multiqueue' element
3577           (some bits don't work yet and are disabled for now).
3578
3579 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3580
3581         * gst/gstelement.c: (gst_element_get_request_pad),
3582         (gst_element_class_get_request_pad_template):
3583           Make gst_element_get_request_pad() create request pads only for
3584           request pad templates and not for, say, sometimes pad templates.
3585
3586 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
3587
3588         * docs/design/draft-klass.txt:
3589           Add example that needs more thinking.
3590         
3591         * docs/design/draft-missing-plugins.txt:
3592           More thoughts about wrapper plugins.
3593         
3594         * docs/random/ensonic/embedded.txt:
3595         * docs/random/ensonic/profiling.txt:
3596           More design work.
3597
3598 2007-03-25  Wim Taymans  <wim@fluendo.com>
3599
3600         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3601         (gst_base_src_loop):
3602         Only push the segment events in the PLAYING state for live sources.
3603
3604 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
3605
3606         * gst/gstpipeline.c: (gst_pipeline_change_state):
3607         Modify the clock distribution path in PAUSED->PLAYING so that we 
3608         never attempt to choose a new clock unless we're actually leaving
3609         the PAUSED state for the first time. This prevents choosing a
3610         different clock when the state_change gets called for a 2nd time due
3611         to some element doing an async state change.
3612
3613 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3614
3615         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
3616         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
3617         (gst_pad_chain_unchecked), (gst_pad_push):
3618         Revert last commit. This needs some more thoughts.
3619
3620 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3621
3622         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
3623         (gst_pad_chain_unchecked), (gst_pad_push):
3624         Check in set_caps if the caps are compatible with the pad and remove
3625         two functions that are redundant now. Fixes #421543.
3626
3627 2007-03-22  Wim Taymans  <wim@fluendo.com>
3628
3629         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3630         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
3631         Unref some more to make valgrind happy.
3632
3633 2007-03-22  Wim Taymans  <wim@fluendo.com>
3634
3635         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
3636         (gst_system_clock_id_wait_jitter),
3637         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
3638         Fix anoying regression that survived a few releases. When adding an
3639         async entry while blocking on a sync entry, the sync entry will unblock
3640         but still be busy, so it should continue to wait instead of returning
3641         _BUSY to the app.
3642         Add some comments here and there.
3643
3644         * tests/check/gst/gstsystemclock.c: (mixed_thread),
3645         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
3646         Add testcase for this.
3647
3648 2007-03-22  Wim Taymans  <wim@fluendo.com>
3649
3650         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3651         Handle errors from the clock sync better, only UNSCHEDULED indicates a
3652         WRONG_STATE and can silently pause the task. All other cases should
3653         error out.
3654
3655 2007-03-22  Wim Taymans  <wim@fluendo.com>
3656
3657         Patch by: Ville Syrjala <syrjala at sci dot fi>
3658
3659         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
3660         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
3661         Improve debugging.
3662
3663 2007-03-21  Michael Smith  <msmith@fluendo.com>
3664
3665         * docs/pwg/advanced-types.xml:
3666           Fix some errors in the typefinding docs pointed out on irc.
3667
3668 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
3669
3670         * libs/gst/base/gstbasesrc.c:
3671         Clarify FIXME comment in the face of having added unlock_stop()
3672
3673 2007-03-21  Wim Taymans  <wim@fluendo.com>
3674
3675         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
3676         Prepare for release where we warn against possible app breakage in the
3677         case of live pipelines along with an env var to enable/disable live
3678         preroll mode (GST_COMPAT=[no-]live-preroll).
3679
3680 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3681
3682         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
3683         So we should use correct constants for checking for None offset.
3684
3685 2007-03-20  Wim Taymans  <wim@fluendo.com>
3686
3687         * docs/design/part-block.txt:
3688         Mention the fact that the newly switched element should be set to at
3689         least PAUSED.
3690
3691 2007-03-20  Wim Taymans  <wim@fluendo.com>
3692
3693         * gst/gst.c:
3694         Fix compilation with registry disabled as spotted by Saur.
3695
3696 2007-03-20  Wim Taymans  <wim@fluendo.com>
3697
3698         Patch by: Olivier Crete <tester at tester dot ca>
3699
3700         * gst/gstelement.c: (gst_element_sync_state_with_parent):
3701         Look at the pending state too when syncing the element state to the
3702         parent. Fixes #420133.
3703
3704 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
3705
3706         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3707         (gst_base_sink_change_state):
3708         * libs/gst/base/gstbasesink.h:
3709         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3710         (gst_base_src_default_event), (gst_base_src_unlock_stop),
3711         (gst_base_src_deactivate):
3712         * libs/gst/base/gstbasesrc.h:
3713         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
3714         for sub-classes to correctly clear any state they set trying to
3715         unlock, such as clearing out unlock commands from a command fd.
3716         API: basesrc::unlock_stop
3717         API: basesink::unlock_stop
3718
3719         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
3720         (gst_fd_sink_render), (gst_fd_sink_unlock),
3721         (gst_fd_sink_unlock_stop):
3722         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
3723         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
3724         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
3725
3726         Implement unlock_stop in fdsrc and fdsink.
3727         Implement seeking in fdsrc when a seekable fd is passed, as in
3728         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
3729
3730 2007-03-19  Wim Taymans  <wim@fluendo.com>
3731
3732         Patch by: Evan Nemerson <evan at coeus dash group dot com>
3733
3734         * gst/gstelement.c: (gst_element_class_init):
3735         Fix pad-added and pad-removed signal signatures so that the pad type is
3736         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
3737
3738 2007-03-19  Wim Taymans  <wim@fluendo.com>
3739
3740         * docs/gst/gstreamer-sections.txt:
3741         Add new element field and method.
3742
3743         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3744         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
3745         (gst_bin_recalc_state), (gst_bin_get_state_func),
3746         (gst_bin_element_set_state), (gst_bin_change_state_func),
3747         (gst_bin_continue_func), (bin_bus_handler),
3748         (bin_push_state_continue), (bin_handle_async_start),
3749         (bin_handle_async_done), (gst_bin_handle_message_func):
3750         Make async state changes a bit smarter by using new ASYNC_START and
3751         ASYNC_DONE messages. This reduces the number of times we run the state
3752         recalculation thread.
3753         Don't change state of element with a pending ASYNC_START message.
3754         Deprecate STATE_DIRTY messages.
3755         
3756         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
3757         (gst_element_get_state_func), (gst_element_continue_state),
3758         (gst_element_lost_state), (gst_element_set_state_func),
3759         (gst_element_change_state):
3760         * gst/gstelement.h:
3761         Keep the state that was last set by the app in a new element field.
3762         Don't allow state changes when handling an element event.
3763         Post ASYNC_START and ASYNC_DONE messages.
3764         Change lost_state so that we go to PAUSED and wait for the parent to set
3765         us to PLAYING again (so latency calculation can be performed)
3766         Export gst_element_change_state() method so that subclasses can use it.
3767         API: gst_element_change_state()
3768         API: GST_STATE_TARGET
3769
3770         * gst/gstpipeline.c: (gst_pipeline_class_init),
3771         (reset_stream_time), (gst_pipeline_change_state),
3772         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
3773         Using the new ASYNC_START message we can reset the base_time when
3774         needed. This can then be used to implement base_time redistribution in
3775         flushing seeks so that we can remove the explicit seek handling.
3776         Perform latency query and configuration when going to PLAYING.
3777
3778         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3779         (gst_base_sink_query), (gst_base_sink_change_state):
3780         Post new ASYNC_START/ASYNC_DONE messages.
3781
3782         * tests/check/generic/sinks.c: (GST_START_TEST):
3783         Fix test because the bin will not set the async element to PLAYING right
3784         away.
3785
3786         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
3787         Make the message check a little stronger.
3788         Handle ASYNC messages.
3789
3790         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
3791         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
3792         Expect ASYNC_DONE messages.
3793
3794 2007-03-19  Wim Taymans  <wim@fluendo.com>
3795
3796         * docs/gst/gstreamer-sections.txt:
3797         * gst/gstmessage.c: (gst_message_new_async_start),
3798         (gst_message_new_async_done), (gst_message_parse_info),
3799         (gst_message_parse_async_start):
3800         * gst/gstmessage.h:
3801         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
3802         support.
3803
3804 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
3805
3806         * tools/gst-inspect.c:
3807         (print_plugin_automatic_install_info_codecs):
3808           Now that we don't check for the 'Codec' keyword any longer in the
3809           klass, we shouldn't spew a warning if the klass isn't a decoder or
3810           encoder (since it might be a Source/Network, for example).
3811
3812 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
3813
3814         * tools/gst-inspect.c:
3815         (print_plugin_automatic_install_info_codecs):
3816           Don't require decoder/demuxer/depayloader elements or
3817           encoder/muxer/paylader elements to have 'Codec' as part of their
3818           factory class string when introspecting a plugin's capabilities.
3819           draft-klass.txt mentions that it might be removed in future, and
3820           flump3dec doesn't have it as part of its class string, so chances
3821           are others might also not have it.
3822
3823 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3824
3825         * po/af.po:
3826         * po/az.po:
3827         * po/bg.po:
3828         * po/ca.po:
3829         * po/cs.po:
3830         * po/de.po:
3831         * po/en_GB.po:
3832         * po/fr.po:
3833         * po/it.po:
3834         * po/nb.po:
3835         * po/nl.po:
3836         * po/ru.po:
3837         * po/sq.po:
3838         * po/sr.po:
3839         * po/sv.po:
3840         * po/tr.po:
3841         * po/uk.po:
3842         * po/vi.po:
3843         * po/zh_CN.po:
3844         * po/zh_TW.po:
3845           Update translations from translation project
3846
3847 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
3848
3849         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
3850         (gst_child_proxy_set_property):
3851           Invert precondition check to be alike the ones in the mimiced gobject
3852           api.
3853
3854 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
3855
3856         * docs/design/draft-tagreading.txt:
3857         * docs/random/ensonic/audiobaseclasses.txt:
3858           Do some Architect work.
3859
3860         * gst/gstobject.c: (gst_object_set_name):
3861           Add a WARNING.
3862
3863         * gst/gstpad.c:
3864           Add docs that point from gst_pad_get_range to gst_pad_pull_range
3865
3866 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
3867
3868         * gst/gstsystemclock.c: (gst_system_clock_init),
3869         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
3870         Defer starting the async system clock thread until the first async
3871         wait is scheduled. Fixes #414986.
3872
3873 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
3874
3875         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
3876         (gst_single_queue_free):
3877           Fix small leak (free GstSingleQueue structure too, not only contents).
3878
3879 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
3880
3881         * gst/gstbin.c:(gst_bin_add):
3882         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
3883         * win32/common/libgstbase.def:
3884         * win32/common/libgstreamer.def:
3885         Add new exported functions.
3886
3887 2007-03-09  Wim Taymans  <wim@fluendo.com>
3888
3889         * docs/plugins/gstreamer-plugins-sections.txt:
3890         Fix GstTee docs.
3891
3892 2007-03-09  Wim Taymans  <wim@fluendo.com>
3893
3894         * docs/gst/gstreamer-sections.txt:
3895         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
3896         * gst/gstbuffer.h:
3897         Add metadata copy functions. Fixes #393099.
3898         API: gst_buffer_copy_metadata()
3899
3900         * gst/gstutils.c: (gst_buffer_stamp):
3901         * libs/gst/base/gstbasetransform.c:
3902         (gst_base_transform_prepare_output_buffer):
3903         Use new metadata copy functions.
3904
3905 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3906
3907         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3908         (gst_identity_init), (gst_identity_check_perfect),
3909         (gst_identity_check_imperfect_timestamp),
3910         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
3911         (gst_identity_set_property), (gst_identity_get_property):
3912         * plugins/elements/gstidentity.h:
3913         Separate out check-imperfect-timestamp and check-imperfect-offset.
3914         Put back check-perfect as it was to keep compatibility.
3915
3916 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
3917
3918         * gst/gstelement.c: (gst_element_dispose):
3919         There's no need to warn if VOID_PENDING is not NONE here, as
3920         long as the state is NULL it's ok, and that's checked immediately
3921         above.
3922
3923 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3924
3925         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3926         Fix check for perfect stream to ignore buffers with -1 
3927         offsets/offset ends when checking data contiguity.
3928
3929 2007-03-08  Wim Taymans  <wim@fluendo.com>
3930
3931         * tools/gst-launch.c: (event_loop):
3932         Print INFO messages.
3933
3934 2007-03-08  Wim Taymans  <wim@fluendo.com>
3935
3936         * libs/gst/base/gstbasetransform.c:
3937         (gst_base_transform_sink_eventfunc),
3938         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3939         (gst_base_transform_activate):
3940         * libs/gst/base/gstbasetransform.h:
3941         Add support for dropping buffers with custom GstFlowReturn.
3942         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
3943         buffers or dropped buffers.
3944
3945         * docs/libs/gstreamer-libs-sections.txt:
3946         docs for new custom return code.
3947
3948         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3949         Use drop support in base class to implement drop-probability.
3950
3951 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
3952
3953         * gst/gst.c: (load_plugin_func):
3954         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
3955         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3956         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
3957           Remove newlines at end of debug log strings.
3958
3959 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3960
3961         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3962         Only post bus message at max, once per buffer received.
3963
3964 2007-03-07  Wim Taymans  <wim@fluendo.com>
3965
3966         * docs/design/Makefile.am:
3967         * docs/design/part-synchronisation.txt:
3968         Add doc about synchronisation
3969
3970         * docs/design/draft-latency.txt:
3971         * docs/design/part-TODO.txt:
3972         * docs/design/part-clocks.txt:
3973         * docs/design/part-events.txt:
3974         * docs/design/part-gstbus.txt:
3975         * docs/design/part-gstpipeline.txt:
3976         * docs/design/part-live-source.txt:
3977         * docs/design/part-messages.txt:
3978         * docs/design/part-overview.txt:
3979         * docs/design/part-streams.txt:
3980         * docs/design/part-trickmodes.txt:
3981         Documentation updates.
3982
3983 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
3984
3985         * gstreamer.doap:
3986         Update the doap file.
3987
3988 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3989
3990         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3991         Rename non-perfect to imperfect for Mike and for the sanctity of the
3992         language.
3993         Also make sure bus message gets emitted for data-incontiguities.
3994
3995 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3996
3997         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
3998         (gst_identity_start):
3999         * plugins/elements/gstidentity.h:
4000         Emit bus message if check-perfect is true and we encounter a
4001         non-perfect stream between 2 consecutive buffers.
4002         Fixes #415394.
4003
4004 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4005
4006         * configure.ac:
4007         Back to CVS
4008
4009 === release 0.10.12 ===
4010
4011 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
4012
4013         * configure.ac:
4014           releasing 0.10.12, "Inevitable Demise"
4015
4016 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
4017
4018         * configure.ac:
4019          Version 0.10.11.2 (0.10.12 pre-release)
4020          Bump libtool versioning.
4021
4022 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
4023
4024         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4025           Log flow-names and not numbers.
4026
4027 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4028
4029         * configure.ac:
4030           Convert to new AG_GST style.
4031
4032 2007-02-28  Wim Taymans  <wim@fluendo.com>
4033
4034         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
4035         Don't unref query twice.
4036
4037 2007-02-28  Wim Taymans  <wim@fluendo.com>
4038
4039         * gst/gstvalue.c: (gst_value_transform_object_string),
4040         (_gst_value_initialize):
4041         Implement GstObject -> string transform so we print object names
4042         when serializing GValues containing GstObjects.
4043
4044 2007-02-28  Wim Taymans  <wim@fluendo.com>
4045
4046         * docs/gst/gstreamer-sections.txt:
4047         Add new stuff to docs.
4048
4049 2007-02-28  Wim Taymans  <wim@fluendo.com>
4050
4051         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4052         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
4053         (gst_base_sink_change_state):
4054         Improve latency query code.
4055         Don't leak latency events.
4056
4057         * tests/check/gst/gstbin.c: (GST_START_TEST):
4058         Improve debugging.
4059
4060 2007-02-28  Wim Taymans  <wim@fluendo.com>
4061
4062         * gst/gstelement.c: (gst_element_message_full),
4063         (gst_element_get_state_func):
4064         * gst/gstelement.h:
4065         Improve docs a little. Added Since: for new macro.
4066
4067         * gst/gstobject.c: (gst_object_sink):
4068         * gst/gstpipeline.c: (gst_pipeline_change_state),
4069         (gst_pipeline_set_new_stream_time):
4070         * gst/gstpipeline.h:
4071         Improve debugging and docs.
4072
4073         * gst/gstutils.c: (gst_element_state_change_return_get_name):
4074         Improve debugging.
4075
4076 2007-02-28  Wim Taymans  <wim@fluendo.com>
4077
4078         * gst/gstelement.c: (gst_element_message_full),
4079         (gst_element_set_locked_state), (gst_element_get_state_func),
4080         (gst_element_change_state):
4081         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
4082         Documentation updates.
4083         Small code cleanups.
4084
4085         * gst/gstmessage.c: (gst_message_new_info),
4086         (gst_message_parse_info):
4087         * gst/gstmessage.h:
4088         API: gst_message_new_info()
4089         API: gst_message_parse_info()
4090         Add INFO message create and parse code.
4091
4092 2007-02-28  Wim Taymans  <wim@fluendo.com>
4093
4094         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
4095         (bin_query_latency_done):
4096         Also report the live parameter of a latency query.
4097
4098 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4099
4100         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
4101           Copy the current generic/states example from -base and adapt so
4102           we can use the exact same code everywhere.
4103           Check a STATES_IGNORE_ELEMENTS env var which can be used
4104           to ignore certain element factories for this test, which is
4105           what is being done in -base
4106         * tests/check/Makefile.am:
4107           Mention this environment variable.
4108
4109 2007-02-27  Wim Taymans  <wim@fluendo.com>
4110
4111         * docs/gst/gstreamer-sections.txt:
4112         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4113         (gst_bus_timed_pop), (gst_bus_pop):
4114         * gst/gstbus.h:
4115         API: gst_bus_timed_pop()
4116         Implement gst_bus_timed_pop() to do a blocking timed wait for a
4117         message to arrive on the bus.
4118
4119         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
4120         (gst_bus_suite):
4121         Two unit tests for new _timed_pop() function.
4122
4123 2007-02-23  Wim Taymans  <wim@fluendo.com>
4124
4125         * gst/gstpipeline.c: (gst_pipeline_change_state),
4126         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
4127         Don't ref a NULL clock in _provide_clock_func().
4128         Don't allow an INVALID delay.
4129         Don't try to calculate base_time with an invalid start_time.
4130         Also distribute and notify a NULL clock when it was selected.
4131
4132         * tools/gst-launch.c: (event_loop):
4133         Don't crash when a NULL clock was selected in the pipeline.
4134
4135 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4136
4137         * docs/design/Makefile.am:
4138         * docs/design/draft-missing-plugins.txt:
4139         * docs/random/draft-missing-plugins.txt:
4140           Some small updates: update plugin system identifier prefix
4141           ('gstreamer.net' to 'gstreamer'), mention our new install
4142           API in libgstbaseutils rather than libgimme-codec, add
4143           reference to the online docs.
4144
4145 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4146
4147         * win32/common/config.h:
4148           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
4149           use moap cl ci to only check in what is mentioned in the ChangeLog.
4150
4151 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4152
4153         * docs/gst/gstreamer-sections.txt:
4154         * gst/gstelement.h:
4155           Fix up documentation to link to the correct GstGError section.
4156           Add GST_ELEMENT_INFO macro since someone else added a Info message.
4157
4158 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4159
4160         * tools/gst-launch.c: (event_loop):
4161           Make sure that we actually show the important message part of a
4162           warning message.
4163           No need to check if the gerror is not NULL to free; first of all
4164           g_free accepts NULL; and second the default error handler would
4165           segfault if gerror was NULL.
4166
4167 2007-02-21  Wim Taymans  <wim@fluendo.com>
4168
4169         * docs/gst/gstreamer-sections.txt:
4170         Removed docs as well.
4171
4172 2007-02-21  Wim Taymans  <wim@fluendo.com>
4173
4174         * gst/gstmessage.c: (gst_message_parse_duration):
4175         * gst/gstmessage.h:
4176         Remove new messages for release.
4177
4178 2007-02-20  Wim Taymans  <wim@fluendo.com>
4179
4180         * docs/design/part-gstghostpad.txt:
4181         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
4182         (gst_ghost_pad_new_full):
4183         Make the ghostpad a parent of the internal pad again for better backward
4184         compatibility. Don't write code that relies on this however.
4185
4186         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4187         (gst_pad_link_check_hierarchy):
4188         Require that parents should be GstElements in the hierarchy check.
4189
4190 2007-02-20  Wim Taymans  <wim@fluendo.com>
4191
4192         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
4193         (gst_bin_change_state_func), (bin_query_min_max_init),
4194         (bin_query_latency_fold), (bin_query_latency_done),
4195         (gst_bin_query):
4196         Improve debug info.
4197         Implement latency query.
4198
4199 2007-02-20  Wim Taymans  <wim@fluendo.com>
4200
4201         * docs/design/part-gstghostpad.txt:
4202         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
4203         (gst_ghost_pad_internal_do_activate_push),
4204         (gst_ghost_pad_internal_do_activate_pull),
4205         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4206         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
4207         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
4208         Do not set the internal pad as a parent anymore so we can avoid
4209         hierarchy linking errors when the ghostpad has no parent yet. This also
4210         fixes failed activation because of unlinked internal pads, which in
4211         turn fixes the impossible case where you have to activate a pad before
4212         you can add it to a running element.
4213         Also fix the docs.
4214
4215         * gst/gstpad.c: (pre_activate), (post_activate),
4216         (gst_pad_set_active), (gst_pad_activate_pull),
4217         (gst_pad_activate_push), (gst_pad_check_pull_range):
4218         Add some more debug info.
4219         Mark activation mode in pre_activate so that we don't try to activate in
4220         endless loops. Fixes #385084.
4221
4222 2007-02-19  Wim Taymans  <wim@fluendo.com>
4223
4224         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4225         (gst_base_transform_check_get_range):
4226         Implement a checkgetrange function instead of relying on the default
4227         core behaviour that assumes we can operate in pull mode if we have a
4228         getrange function. First step at fixing #385084.
4229
4230 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
4231
4232         * gst/gstchildproxy.h:
4233         * libs/gst/base/gstbasesink.h:
4234         * libs/gst/base/gstbasesrc.h:
4235         * libs/gst/base/gstbasetransform.h:
4236         More docs coverage and some ChangeLog surgery (add missing names)
4237
4238 2007-02-15  Wim Taymans  <wim@fluendo.com>
4239
4240         * docs/design/part-TODO.txt:
4241         * docs/design/part-activation.txt:
4242         * docs/design/part-block.txt:
4243         * docs/design/part-buffering.txt:
4244         * docs/design/part-clocks.txt:
4245         * docs/design/part-element-source.txt:
4246         * docs/design/part-events.txt:
4247         * docs/design/part-gstbin.txt:
4248         * docs/design/part-gstbus.txt:
4249         * docs/design/part-gstpipeline.txt:
4250         * docs/design/part-live-source.txt:
4251         * docs/design/part-messages.txt:
4252         * docs/design/part-overview.txt:
4253         * docs/design/part-qos.txt:
4254         * docs/design/part-query.txt:
4255         * docs/design/part-states.txt:
4256         * docs/design/part-trickmodes.txt:
4257         Some doc updates. Start renaming from stream_time to running_time where
4258         it was used wrongly.
4259
4260 2007-02-15  Wim Taymans  <wim@fluendo.com>
4261
4262         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4263         Answer LATENCY query.
4264
4265 2007-02-15  Wim Taymans  <wim@fluendo.com>
4266
4267         * tests/check/gst/gstevent.c: (event_probe), (test_event),
4268         (GST_START_TEST):
4269         Improve debugging.
4270
4271 2007-02-15  Wim Taymans  <wim@fluendo.com>
4272
4273         * gst/gstpad.c: (gst_pad_get_internal_links_default),
4274         (gst_pad_dispatcher):
4275         Improve debugging of default pad dispatcher and query functions.
4276
4277 2007-02-15  Wim Taymans  <wim@fluendo.com>
4278
4279         * docs/gst/gstreamer-sections.txt:
4280         Remove old unused method.
4281
4282 2007-02-13  Wim Taymans  <wim@fluendo.com>
4283
4284         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4285         Fix check
4286
4287 2007-02-13  Wim Taymans  <wim@fluendo.com>
4288
4289         * docs/design/part-seeking.txt:
4290         Some small update.
4291
4292         * gst/gstsegment.c: (gst_segment_set_seek):
4293         Revert old bogus change that should make seeking work again.
4294
4295 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4296
4297         * docs/random/ensonic/dynlink.txt:
4298         * docs/random/ensonic/interfaces.txt:
4299         * docs/random/ensonic/receipies.txt:
4300           Possible dynamic reconnection api, plus some type fixes the other two
4301           docs.
4302
4303 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
4304
4305         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4306         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4307         Also check for an absolute path following file:// in the filesrc
4308         element. Remove redundant check and call g_path_is_absolute() on the
4309         unescaped location.
4310
4311 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4312
4313         * docs/design/draft-klass.txt:
4314           Add existing category analysis.
4315           
4316         * gst/gstcaps.c:
4317           Fix doc example, framerate is a fraction.
4318
4319 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4320
4321         * configure.ac:
4322         * docs/gst/Makefile.am:
4323         * docs/gst/gstreamer-sections.txt:
4324         * docs/libs/Makefile.am:
4325           Erm, forgot a bunch of --extra-dir.
4326
4327 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4328
4329         * configure.ac:
4330         * docs/gst/Makefile.am:
4331         * docs/libs/Makefile.am:
4332         * docs/plugins/Makefile.am:
4333           Add crossreferences to glib/gobject docs.
4334
4335 2007-02-12  Wim Taymans  <wim@fluendo.com>
4336
4337         * docs/design/draft-latency.txt:
4338         Small update.
4339
4340         * docs/libs/gstreamer-libs-sections.txt:
4341         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4342         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
4343         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
4344         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
4345         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
4346         (gst_base_sink_get_position), (gst_base_sink_query),
4347         (gst_base_sink_change_state):
4348         * libs/gst/base/gstbasesink.h:
4349         API: gst_base_sink_query_latency() to let subclasses query the upstream
4350         latency.
4351         API: gst_base_sink_get_latency() to let subclasses query the configured
4352         latency in the sink.
4353         Implement query and set latency.
4354         Update some docs.
4355         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
4356         don't continue preroll when we are flushing. Fixes #405284.
4357
4358         * tests/check/pipelines/stress.c: (change_state_timeout),
4359         (quit_timeout), (GST_START_TEST), (stress_suite):
4360         Test for #405284.
4361
4362 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
4363
4364         Patch by: René Stadler <mail at renestadler de>
4365
4366         * docs/gst/gstreamer-sections.txt:
4367         * gst/gsttaglist.c: (_gst_tag_initialize):
4368         * gst/gsttaglist.h:
4369           API: add GST_TAG_REFERENCE_LEVEL (#403597).
4370
4371 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
4372
4373         * docs/libs/Makefile.am:
4374           Fix path to core docs.
4375
4376         * gst/gstbin.c: (gst_bin_get_by_interface),
4377         (gst_bin_iterate_all_by_interface):
4378           Refix docs by also renaming 'interface' to 'iface' in implementation.
4379
4380         * docs/gst/gstreamer-sections.txt:
4381         * gst/gstcaps.c:
4382         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
4383         * gst/gstchildproxy.h:
4384         * gst/gstelementfactory.c:
4385         * gst/gstpadtemplate.h:
4386         * libs/gst/controller/gstcontroller.c:
4387         (gst_controlled_property_new):
4388           Document more.
4389
4390 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
4391
4392         * gst/gstbin.h:(gst_bin_get_by_interface),
4393         (gst_bin_iterate_all_by_interface):
4394         Replace interface parameter name by iface as interface is 
4395         a reserved keyword in Visual Studio for C++ projects so it removes
4396         a build error for application developpers using VS.
4397         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
4398         Fix a bug on Windows in uri format check. Now the prefix checked
4399         is file:// and next we check if the path after file:// is absolute.
4400         * win32/common/libgstbase.def:
4401         * win32/common/libgstdataprotocol.def:
4402         * win32/common/libgstgstreamer.def:
4403         Add new exported functions.
4404
4405 2007-02-09  Andy Wingo  <wingo@pobox.com>
4406
4407         * tests/check/pipelines/simple-launch-lines.c
4408         (simple_launch_lines_suite, test_tee): Disable tee test until I
4409         have time to fix it :-(
4410
4411         * tests/check/Makefile.am (noinst_HEADERS): 
4412         * tests/check/libs/libsabi.c: 
4413         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
4414         * tests/check/gst/gstabi.c: 
4415         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
4416
4417         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
4418         tests for push and pull tee behavior.
4419
4420         * plugins/elements/gsttee.h: 
4421         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
4422         mark as deprecated as well as unimplemented. It was a crack idea.
4423         Add support for tee operating in pull mode, off by default.
4424
4425         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
4426         normal-case logs down to LOG, raise errors to WARNING.
4427         (gst_registry_xml_read_cache): Don't log before calling a function
4428         that logs.
4429
4430         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
4431         exit (registry finalize).
4432         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
4433         DEBUG log when we emit signals that people don't even have the
4434         chance to connect to.
4435         (gst_registry_scan_path_level): Less logging in the normal case.
4436
4437 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4438
4439         Patch by: Michal Benes <michal dot benes at itonis dot tv>
4440
4441         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4442         Correctly generate EOS for non-seekable files. We don't have a total
4443         length for them and would get an unexpected end of file if we only
4444         special-cased for regular files. (Fixes: #404569)
4445
4446 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4447
4448         * tests/check/elements/filesrc.c: (GST_START_TEST),
4449         (filesrc_suite):
4450         Add unit test for the GstURIHandler interface in filesrc. This also
4451         tests the newly added file://localhost/foo/bar support.
4452
4453 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
4454
4455         * gst/gstelementfactory.h:
4456           The klass string is not a hierarchy. Add reference to the design doc
4457           for more information and common types.
4458
4459 2007-02-02  Wim Taymans  <wim@fluendo.com>
4460
4461         * gst/gstquery.c: (gst_query_new_latency):
4462         Remove old structure field.
4463
4464 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
4465
4466         * tools/gst-launch.1.in:
4467           Give example for network streaming (#351998)
4468
4469 2007-02-02  Wim Taymans  <wim@fluendo.com>
4470
4471         * docs/gst/gstreamer-sections.txt:
4472         Add docs for new methods.
4473
4474         * gst/gstevent.c: (gst_event_new_latency),
4475         (gst_event_parse_latency):
4476         * gst/gstevent.h:
4477         Add new LATENCY event to configure latency in a pipeline.
4478         API: gst_event_new_latency
4479         API: gst_event_parse_latency
4480
4481         * gst/gstmessage.c: (gst_message_new_buffering),
4482         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
4483         (gst_message_new_latency), (gst_message_parse_buffering),
4484         (gst_message_parse_lost_preroll):
4485         * gst/gstmessage.h:
4486         Added messages used in draft-latency.
4487         API: gst_message_new_lost_preroll
4488         API: gst_message_parse_lost_preroll
4489         API: gst_message_new_prerolled
4490         API: gst_message_new_latency
4491
4492         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
4493         (gst_query_parse_latency):
4494         * gst/gstquery.h:
4495         Implemented new latency query as in design doc.
4496         API: gst_query_new_latency
4497         API: gst_query_set_latency
4498         API: gst_query_parse_latency
4499
4500 2007-02-02  Wim Taymans  <wim@fluendo.com>
4501
4502         * docs/design/draft-latency.txt:
4503         Slight redesign to allow for dynamic latency adjustments.
4504
4505         * docs/design/part-negotiation.txt:
4506         Fix some typos.
4507
4508 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4509
4510         reviewed by: Wim Taymans <wim@fluendo.com>
4511
4512         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4513         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4514         Allow file://localhost/foo/bar URLs and correctly fail for every other
4515         hostname that one sets. This was gnomevfssrc is linked for those if
4516         installed as it can handle it (#403172)
4517
4518 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4519
4520         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4521
4522         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4523         (unref_data), (gst_collect_pads_add_pad_full):
4524         * libs/gst/base/gstcollectpads.h:
4525         Don't put the previously added destroy notify in the GstCollectData
4526         struct as all it's padding is already used and we don't want to break
4527         ABI. Instead put in the pad's GObject data for now. This should be
4528         cleaned up for 0.11 (#402393).
4529
4530 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4531
4532         reviewed by: Wim Taymans <wim@fluendo.com>
4533
4534         * docs/libs/gstreamer-libs-sections.txt:
4535         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4536         (unref_data), (gst_collect_pads_add_pad),
4537         (gst_collect_pads_add_pad_full):
4538         * libs/gst/base/gstcollectpads.h:
4539         API: Add function to specify a destroy notification for custom
4540         GstCollectData when adding new pads in GstCollectPads (#402393).
4541
4542 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
4543
4544         * po/sv.po:
4545           Update Swedish translation (#378255).
4546
4547 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4548
4549         * docs/design/draft-klass.txt:
4550           Fix the previous change, this is a list of categories and not a hierarchy.
4551
4552 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4553
4554         * docs/design/draft-klass.txt:
4555           Add info about how to get a list of used classes.
4556
4557 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
4558
4559         * plugins/elements/gsttypefindelement.c:
4560         (gst_type_find_element_chain_do_typefinding),
4561         (gst_type_find_element_change_state):
4562           Don't leak found caps in chain function (no idea why that never
4563           showed up as a leak anywhere).
4564
4565 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
4566
4567         * gst/gstplugin.h:
4568           Fix and expand GstPluginDesc API docs.
4569
4570 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4571
4572         * gst/gstcaps.c:
4573         * gst/gstelementfactory.c:
4574         * gst/gstpadtemplate.h:
4575           api doc fixes
4576
4577         * libs/gst/controller/gstcontroller.c:
4578         (gst_controlled_property_new):
4579         * tests/examples/controller/audio-example.c:
4580           comment fixes
4581
4582 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4583
4584         * configure.ac:
4585           comment about refining the xml deps
4586
4587         * docs/manuals.mak:
4588           comments about moving away from jade for docs
4589         
4590         * gst/gst.c:
4591           recommit the ifdefs to use the binary registry
4592         
4593         * gst/gstbin.c: (gst_bin_change_state_func):
4594           this break is obsolete
4595
4596         * gst/gstelementfactory.h:
4597           better GST_ELEMENT_DETAILS docs, add comment about translation
4598
4599         * gst/gstinfo.h:
4600           remove eol slash
4601
4602         * gst/gstobject.c: (gst_signal_object_get_type):
4603           add G_UNLIKELY as usual
4604
4605         * gst/gstpad.c: (gst_pad_event_default):
4606           add fall trhu comment
4607
4608         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4609         (gst_registry_binary_initialize_magic),
4610         (gst_registry_binary_save_string),
4611         (gst_registry_binary_save_pad_template),
4612         (gst_registry_binary_save_feature),
4613         (gst_registry_binary_save_plugin),
4614         (gst_registry_binary_write_cache),
4615         (gst_registry_binary_check_magic),
4616         (gst_registry_binary_load_pad_template),
4617         (gst_registry_binary_load_feature),
4618         (gst_registry_binary_load_plugin),
4619         (gst_registry_binary_read_cache):
4620           comment typo and formatting
4621
4622         * gst/gstutils.c: (gst_element_state_get_name),
4623         (gst_element_state_change_return_get_name):
4624           remove obsolete breaks
4625
4626         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4627           add FIXME 0.11 and remove cpp comment
4628
4629 2007-01-29  Edward Hervey  <edward@fluendo.com>
4630
4631         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4632         Fix print statement in an even more portable way.
4633
4634 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
4635
4636         * docs/gst/gstreamer-sections.txt:
4637         * gst/gstutils.h:
4638           API: add GST_ROUND_DOWN_* macros (#401781).
4639
4640 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
4641
4642         * docs/gst/gstreamer.types.in:
4643         * gst/gstregistry.c: (gst_registry_class_init):
4644           Document registry signals and make gtk-doc pick them up (#401381).
4645
4646 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
4647
4648         * docs/pwg/building-testapp.xml:
4649           Add some audioconverts and audioresample to the pipeline, and some
4650           more comments and error handling.
4651
4652 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
4653
4654         * docs/manual/manual.xml:
4655         * docs/pwg/pwg.xml:
4656           Fix typo (#400987).
4657
4658 2007-01-26  Wim Taymans  <wim@fluendo.com>
4659
4660         * gst/gstcaps.c: (gst_static_caps_get):
4661         Init caps flags too.
4662
4663 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
4664
4665         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
4666
4667         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4668         If not using mmap'ed files try to seek to the end instead of the
4669         start to determine whether we can seek at all. This fixes the case
4670         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
4671         seeks for everything afterwards fail. Fixes #400656
4672
4673 2007-01-25  Wim Taymans  <wim@fluendo.com>
4674
4675         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
4676         Add some refcount debugging.
4677         Make gst_static_caps_get threadsafe, which is needed when autoplugging
4678         in multiple streaming threads.
4679
4680 2007-01-25  Wim Taymans  <wim@fluendo.com>
4681
4682         Patch by: David Schleef <ds at schleef dot org>
4683
4684         * docs/libs/gstreamer-libs-sections.txt:
4685         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
4686         * libs/gst/base/gstadapter.h:
4687         API: gst_adapter_copy() that can reduce the amount of memcpy when
4688         getting data from the adapter. Fixes #388201.
4689
4690 2007-01-25  Edward Hervey  <edward@fluendo.com>
4691
4692         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4693         In print statements, "%x" is for guint. Fixes build on macosx.
4694
4695 2007-01-24  Edward Hervey  <edward@fluendo.com>
4696
4697         * plugins/elements/gstmultiqueue.c:
4698         (gst_multi_queue_loop):
4699         Small fix.
4700         (single_queue_overrun_cb), (single_queue_underrun_cb),
4701         (single_queue_check_full), (gst_single_queue_new):
4702         Implement single queue growth system.
4703         This uses the extra-size properties, and will grow single queues by
4704         that much if one goes full whereas there are others empty. This is
4705         called extra-mode in the code.
4706         When a single queue's levels go back below the initial max-size
4707         limits, it is no longer in extra-mode. This is to ensure we don't
4708         consume too much memory.
4709         Fixes #399875
4710
4711 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
4712
4713         * gst/gst.c: (gst_init_get_option_group):
4714           Make warning about late g_thread_init() calls a bit more explicit,
4715           so that it's more obvious to application developers what they need
4716           to do if a user files a bug against their application.
4717
4718 2007-01-22  Edward Hervey  <edward@fluendo.com>
4719
4720         * plugins/elements/gstmultiqueue.c:
4721         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
4722         Remove previous hack of unsetting the flushing flag for the source pad
4723         instead of activating it. Instead, fix the source pad activate function
4724         so that it no longer depends on having a parent set or not.
4725
4726 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
4727
4728         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
4729
4730         * docs/manual/basics-bus.xml:
4731           Fix example code, gst_element_unref() doesn't exist any longer.
4732
4733 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
4734
4735         Patch by: Mark Nauwelaerts <manauw at skynet be>
4736
4737         * gst/gstpad.c:
4738           Fix two docs typoes (#399094).
4739
4740 2007-01-19  Edward Hervey  <edward@fluendo.com>
4741
4742         * docs/faq/gst-uninstalled:
4743         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
4744         depending on libgstbaseutils can work in uninstalled environment.
4745
4746 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
4747
4748         * gst/gsttaglist.h:
4749         * gst/gsttagsetter.c:
4750         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
4751         statement for new tag.
4752
4753 2007-01-17  Edward Hervey  <edward@fluendo.com>
4754
4755         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
4756         When dynamically creating single queues, activate sinkpad before adding
4757         it.
4758         We should be doing the same thing for the source pad, but we can't
4759         since it would call a method which needs the parent to be set in order
4760         to work propertly. Instead of activating the source pad, we just unset
4761         the flushing flag, which is the minimal requirement for adding a pad
4762         to an element in a state greater than READY.
4763
4764 2007-01-17  Edward Hervey  <edward@fluendo.com>
4765
4766         * docs/faq/gst-uninstalled:
4767         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
4768         Mac OS X.
4769
4770 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4771
4772         * tests/check/gst/gstabi.c:
4773         * tests/check/gst/struct_hppa.h:
4774         * tests/check/libs/libsabi.c:
4775         * tests/check/libs/struct_hppa.h:
4776           Add ABI structs for HPPA (see #393796).
4777
4778 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
4779
4780         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
4781           Actually write ABI structs to the file specified in the GST_ABI
4782           environment variable, as the message we print claims we would.
4783
4784 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4785
4786         * tests/check/gst/gsttask.c:
4787           Fix header comment.
4788
4789 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4790
4791         * gst/gsttaglist.c: (_gst_tag_initialize):
4792           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
4793           previous two entries.
4794
4795 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4796
4797         * docs/gst/gstreamer-sections.txt:
4798         * gst/gsttaglist.c: (_gst_tag_initialize):
4799         * gst/gsttaglist.h:
4800           Add tag support for beat-per-minute.
4801
4802 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4803
4804         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4805         (gst_registry_binary_initialize_magic),
4806         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
4807         (gst_registry_binary_save_pad_template),
4808         (gst_registry_binary_save_feature),
4809         (gst_registry_binary_save_plugin),
4810         (gst_registry_binary_write_cache),
4811         (gst_registry_binary_check_magic),
4812         (gst_registry_binary_load_pad_template),
4813         (gst_registry_binary_load_feature),
4814         (gst_registry_binary_load_plugin),
4815         (gst_registry_binary_read_cache):
4816         * gst/gstregistrybinary.h:
4817           Use glib types, cleanup comments, impement interfaces and uri-types.
4818
4819 2007-01-13  Andy Wingo  <wingo@pobox.com>
4820
4821         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
4822         getrange() to return buffers with other caps, while we fix
4823         demuxers and typefind, or otherwise change part-negotiation.txt.
4824
4825 2007-01-12  Andy Wingo  <wingo@pobox.com>
4826
4827         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
4828         Factor start/stop into this private function instead of partially
4829         in activate functions and partially in the change_state function.
4830         Fixes setup before the element has changed from READY->PAUSED, as
4831         is the case in pull-mode pipelines.
4832         (gst_base_transform_sink_activate_push)
4833         (gst_base_transform_src_activate_pull): Refactor to use
4834         gst_base_transform_activate().
4835         (gst_base_transform_change_state): Removed, not needed any more.
4836
4837         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4838         Truncate before fixating.
4839         
4840         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4841         Don't set_caps() if the result of fixating is ANY, as it's not
4842         supported, and not necessary in the case of a link with no
4843         template caps on either side. Fixes tests/check/libs/basesrc in
4844         some pull-mode tests.
4845
4846         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
4847         (gst_base_transform_init, gst_base_transform_sink_activate_push)
4848         (gst_base_transform_src_activate_pull): 
4849         Track the activation mode.
4850         (gst_base_transform_setcaps): In pull mode, when activating the
4851         src pad, after activating the sink pad, activate the sink pad's
4852         peer, as discussed in part-negotiation.txt.
4853
4854         * libs/gst/base/gstbasesrc.h: 
4855         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
4856         vmethod, as in basesink.
4857
4858         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
4859
4860         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
4861         mode, first proxy the setcaps to the peer pad.
4862         (gst_base_sink_pad_fixate): Add a fixate function that calls the
4863         new fixate vmethod.
4864         (gst_base_sink_default_activate_pull): Rename from
4865         gst_base_sink_activate_pull.
4866         (gst_base_sink_negotiate_pull): New function, performs negotiation
4867         in pull mode before calling ::activate_pull().
4868         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
4869         vmethod instead of the default implementation. I have no idea how
4870         this worked before. Negotiate before calling activate_pull.
4871
4872         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
4873         sink pads in pull mode. In addition to being correct, fixes
4874         filesrc ! decodebin ! identity ! fakesink.
4875         (gst_pad_get_range, gst_pad_pull_range): Don't call
4876         gst_pad_set_caps() if the caps changes; instead error out with
4877         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
4878
4879 2007-01-12  Andy Wingo  <wingo@pobox.com>
4880
4881         * docs/design/part-negotiation.txt: Update with more policy.
4882
4883 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
4884
4885         * libs/gst/check/gstbufferstraw.h:
4886         * libs/gst/check/gstcheck.h:
4887           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
4888           belongs.
4889
4890 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
4891
4892         * tests/check/Makefile.am:
4893         * tests/check/gst/.cvsignore:
4894         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
4895         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
4896         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
4897         (GST_START_TEST), (gst_tag_setter_suite):
4898           Add minimal unit test for beforementioned GstTagSetter bug.
4899
4900 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
4901
4902         Patch by: René Stadler <mail at renestadler dot de>
4903
4904         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
4905           gst_tag_list_merge() returns a new list, so it's not the best idea
4906           to ingore its return value. Effectively meant that tags could only
4907           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
4908           Also add function guard to require a non-NULL taglist as input (has
4909           always been so due to gst_tag_list_copy(), just making it explicit).
4910
4911 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
4912
4913         * docs/random/draft-missing-plugins.txt:
4914           Some additions: mention new API that is supposed to be used at the
4915           various stages; short blob about new gst-inspect introspection
4916           option; mention potential future problem with plugins that have
4917           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
4918
4919 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
4920
4921         * tools/gst-inspect.c:
4922         (print_plugin_automatic_install_info_codecs),
4923         (print_plugin_automatic_install_info_protocols),
4924         (print_plugin_automatic_install_info), (main):
4925         Add --print-plugin-auto-install-info option to gst-inspect, so we can
4926         introspect plugin files and get machine-parsable output that corresponds
4927         to the last bit of the missing-plugin installer string (small gotcha:
4928         doesn't take into account ranks).
4929
4930 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
4931
4932         * configure.ac:
4933         * docs/gst/gstreamer-sections.txt:
4934         * gst/Makefile.am:
4935         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
4936         (gst_registry_lookup_locked):
4937         * gst/gstregistry.h:
4938         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4939         (gst_registry_binary_initialize_magic),
4940         (gst_registry_binary_save_string),
4941         (gst_registry_binary_save_pad_template),
4942         (gst_registry_binary_save_feature),
4943         (gst_registry_binary_save_plugin),
4944         (gst_registry_binary_write_cache),
4945         (gst_registry_binary_check_magic),
4946         (gst_registry_binary_load_pad_template),
4947         (gst_registry_binary_load_feature),
4948         (gst_registry_binary_load_plugin),
4949         (gst_registry_binary_read_cache):
4950         * gst/gstregistrybinary.h:
4951         * gst/gstregistryxml.c: (load_feature),
4952         (gst_registry_xml_read_cache):
4953           commit binary registry (disabled by default, see #359653)
4954
4955 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
4956
4957         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
4958           Fix 'make check' too.
4959
4960 2007-01-10  Andy Wingo  <wingo@pobox.com>
4961
4962         * docs/design/part-negotiation.txt: Fix a typo, add a couple
4963         notes.
4964         
4965         * docs/design/part-negotiation.txt: Update with, um, one way that
4966         pull-mode negotiation might work?
4967
4968         * gst/gstpad.h: 
4969         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
4970         that the pad must be a src pad; makes sense to call it the other
4971         way in pull mode, and the logic is symmetric anyway.
4972
4973 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
4974
4975         * plugins/elements/gstfilesink.c:
4976           Include <stdio.h> for fseeko().
4977
4978 2007-01-10  Wim Taymans  <wim@fluendo.com>
4979
4980         * gst/gstevent.c:
4981         * gst/gstevent.h:
4982         Reserve LATENCY event.
4983
4984 2007-01-09  Wim Taymans  <wim@fluendo.com>
4985
4986         * docs/design/draft-latency.txt:
4987         Updates.
4988
4989 2007-01-09  Wim Taymans  <wim@fluendo.com>
4990
4991         * docs/design/draft-latency.txt:
4992         Updates.
4993
4994         * gst/gstelement.h:
4995         * gst/gststructure.c:
4996         * gst/gsttrace.c:
4997         Small typo fixes.
4998
4999 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5000
5001         * tests/check/.cvsignore:
5002           Ignore test-registry.xml as well.
5003
5004 2007-01-09  Wim Taymans  <wim@fluendo.com>
5005
5006         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5007         unref data at the end when we are done with the pad.
5008
5009 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5010
5011         * docs/gst/gstreamer-sections.txt:
5012         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
5013         (init_post), (gst_deinit), (gst_update_registry):
5014         * gst/gst.h:
5015           API: add gst_update_registry() (#391296).
5016
5017         * tests/check/Makefile.am:
5018         * tests/check/gst/gstregistry.c:
5019         * tests/check/gst/.cvsignore:
5020           Simple unit test for the above.
5021
5022 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5023
5024         * gst/gstregistry.c: (gst_registry_scan_path_level):
5025           Plugin extension on HP-UX is .sl, add that to the list of approved
5026           plugin extensions (see #393796).
5027
5028         * tests/check/gst/gstpad.c: (GST_START_TEST):
5029           ulong => gulong. Fixes compilation with HP-UX compiler.
5030
5031         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5032           Fix compilation if valgrind headers are not available.
5033
5034 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
5035
5036         * win32/common/libgstreamer.def: 
5037           Add new exported function.
5038         * win32/vs6/libgstbase.dsp: 
5039           Add gstdataqueue.c to the build.
5040         * win32/vs6/libgstcoreelements.dsp:
5041           Add gstmultiqueue.c to the build.
5042         
5043 2007-01-06  Andy Wingo  <wingo@pobox.com>
5044
5045         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
5046         activate_pull(), providing for a way to specialize the process of
5047         spawning a thread to pull on the sink pad. There is a default
5048         implementation.
5049
5050         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
5051         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
5052         (gst_base_sink_init): Renamed pad activation functions (inserting
5053         "_pad" in their names). Refactor to use the new activate_pull
5054         vmethod, as appropriate.
5055         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
5056         default activate_pull function to start a task pulling from the
5057         sink pad, as before.
5058
5059         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
5060         on the pads if necessary, as in push()/chain(). Update docs.
5061         Shouldn't affect existing pull() usage as it is currently only
5062         being used on buffers without caps.
5063
5064 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5065
5066         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5067         (init_pre):
5068           Call g_thread_init() first thing in gst_init() / gst_check_init().
5069           When initialisation is done via gst_init_get_option_group() and
5070           GOption parsing, issue a warning if the GLib thread system has not
5071           been initialised yet by the time gst_init_get_option_group() is
5072           called, as it's quite likely other GLib functions such as
5073           g_option_context_new() have been called already then, and
5074           g_thread_init() must be called before any other GLib function. The
5075           application in question must be fixed in that case, since memory
5076           corruption might happen otherwise.
5077           We issue the warning because even if the GLib folks decide to work
5078           around the problem on their end in future, this is still an issue
5079           with all GLib versions >= 2.10.0, so we should warn until we depend
5080           on a GLib version we know to be safe.
5081           Update documentation as well.
5082           Closes bug #391278.
5083
5084 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5085
5086         * tools/gst-inspect.c: (main):
5087         * tools/gst-launch.c: (main):
5088         * tools/gst-typefind.c: (main):
5089         * tools/gst-xmlinspect.c: (main):
5090           Call g_thread_init() really really early, before any other GLib
5091           function (see #342564 and recent discussion on gtk-devel-list).
5092
5093 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5094
5095         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
5096
5097         * gst/gst_private.h:
5098         * gst/gstconfig.h.in:
5099         * gst/gstinfo.h:
5100           On win32, all the __declspec stuff for symbol exporting is
5101           apparently only needed with MSVC, but doesn't work with MingW.
5102           Fixes compilation with MingW and #391909.
5103
5104 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5105
5106         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
5107           Change some GST_ERROR_OBJECT that aren't really errors to
5108           GST_WARNING_OBJECT in order to reduce terminal spam.
5109
5110 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5111
5112         * tests/check/Makefile.am:
5113           disable test again, as there seem to be still race problems
5114
5115 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5116
5117         * tests/check/Makefile.am:
5118         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5119         (GST_START_TEST), (queue_suite):
5120           enable queue test again, add tests for the leaky behaviour
5121
5122 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
5123
5124         * configure.ac:
5125         * tests/examples/Makefile.am:
5126           Compile adapter test/example only if the required headers are
5127           available (fixes #391915).
5128
5129 2007-01-01  David Schleef  <ds@schleef.org>
5130
5131         * gst/gstplugin.c:
5132           Restore the previous signal handler for SIGSEGV instead of
5133           setting to default, since we may have stolen it away from
5134           someone.  (i.e., Mono)
5135
5136 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5137
5138         * docs/random/draft-missing-plugins.txt:
5139           Some small additions and clarifications.
5140
5141 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5142
5143         * gst/gstregistryxml.c: (gst_registry_save_escaped):
5144           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
5145           since that can lead to random memory corruptions and crashes
5146           (may or may not be related to #383244, #386711, and #386711).
5147
5148 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5149
5150         * tests/check/.cvsignore:
5151         * tests/check/Makefile.am:
5152           sync .cvsignome and CLEANFILES
5153
5154 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5155
5156         * tests/check/Makefile.am:
5157           fix distcheck
5158
5159 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5160
5161         * docs/design/part-states.txt:
5162           two tiny additional comments
5163         
5164         * gst/gststructure.c:
5165           doc fixing
5166
5167         * tests/check/Makefile.am:
5168         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5169         (GST_START_TEST):
5170           disable test for now, unless it gets fixed
5171
5172 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5173
5174         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5175         (GST_START_TEST):
5176           fix race in underrun test
5177
5178 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5179
5180         * tests/check/elements/.cvsignore:
5181           ignore more
5182
5183         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5184         (GST_START_TEST):
5185           try to narrow test failure
5186
5187 2006-12-21  David Schleef  <ds@schleef.org>
5188
5189         * plugins/elements/gstfakesrc.c:
5190           Use g_random_int_range(), since it produces better random
5191           numbers in a range than almost-correct floating point code.
5192
5193 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5194
5195         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5196         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5197         (gst_check_teardown_sink_pad):
5198           do not automatically (de)activate pads
5199
5200         * tests/check/Makefile.am:
5201         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5202         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
5203           add new, yet simple tests for queue
5204
5205         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
5206         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
5207         * tests/check/elements/filesrc.c: (cleanup_filesrc),
5208         (GST_START_TEST):
5209         * tests/check/elements/identity.c: (cleanup_identity):
5210           consistent pad (de)activation
5211
5212 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5213
5214         Patch by: Sebastian Dröge  <slomo ubuntu com>
5215
5216         * libs/gst/base/gstcollectpads.c:
5217           Fix two doc typos (#387866).
5218
5219 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5220
5221         * docs/manual/advanced-dparams.xml:
5222           Fix typo (g_object_control_properties() doesn't exist).
5223
5224 2006-12-19  Edward Hervey  <edward@fluendo.com>
5225
5226         * gst/gstsegment.c: (gst_segment_set_seek):
5227         Fine tune the cases where the segment start/stop values are really
5228         updated.
5229         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5230         Add tests for the return values of gst_segment_set_seek().
5231
5232 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5233
5234         * gst/gst.c:
5235           Docs typo fix.
5236
5237         * plugins/elements/gstqueue.c: (gst_queue_class_init),
5238         (gst_queue_init):
5239           Fix incorrect documentation and flesh it out a bit more.
5240           Set default values for the max properties on the GParamSpec as well,
5241           so it shows up correctly in gst-inspect.
5242
5243 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
5244
5245         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5246           Correct docs of queue, add more detail and crosslink it more.
5247
5248 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5249
5250         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5251           Print additional debug info when the stream isn't perfectly
5252           timestamped; don't try to use invalid durations.
5253
5254 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5255
5256         * docs/design/Makefile.am:
5257           Dist new design docs.
5258
5259 2006-12-16  Wim Taymans  <wim@fluendo.com>
5260
5261         Patch by: Sjoerd Simons <sjoerd at luon dot net>
5262
5263         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
5264         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5265         (gst_collect_pads_stop), (gst_collect_pads_event),
5266         (gst_collect_pads_chain):
5267         * libs/gst/base/gstcollectpads.h:
5268         Add refcounting to the collectpads data so we can track when it's safe
5269         to free the data. Fixes #383382.
5270
5271 2006-12-15  Wim Taymans  <wim@fluendo.com>
5272
5273         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5274         (gst_collect_pads_remove_pad):
5275         Automatically activate/deactivate pads when they are added to a
5276         started/stoped collectpads.
5277
5278 2006-12-15  Wim Taymans  <wim@fluendo.com>
5279
5280         * gst/gstelement.c: (gst_element_add_pad):
5281         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5282         * gst/gstpad.c: (gst_pad_init):
5283         Set pads to FLUSHING when they are created. Check, warn and fix when a
5284         demuxer adds an inactive pad to itself when running. Fixes #339326.
5285
5286 2006-12-15  Wim Taymans  <wim@fluendo.com>
5287
5288         * gst/gstelement.c: (gst_element_class_init),
5289         (gst_element_default_send_event), (gst_element_send_event),
5290         (gst_element_default_query), (gst_element_query):
5291         Expose default element send_event and query handling as vmethods that
5292         subclasses can chain up to.
5293
5294 2006-12-15  Wim Taymans  <wim@fluendo.com>
5295
5296         * gst/gstelement.c: (gst_element_set_state_func):
5297         Small documentation fixes.
5298
5299 2006-12-15  Wim Taymans  <wim@fluendo.com>
5300
5301         * docs/design/draft-latency.txt:
5302         Checked in draft for handling latency in pipelines.
5303
5304 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5305
5306         * Makefile.am:
5307         * gstreamer.doap:
5308         * gstreamer.spec.in:
5309           adding .doap file
5310
5311 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
5312
5313         * gst/gst.c: (init_pre), (init_post):
5314           init_pre() and init_post() might be called via our GOptionGroup or
5315           from gst_init(), and we should skip both of them if we've already
5316           been initialised, otherwise we will init some things twice or add
5317           two default log functions.
5318
5319 2006-12-13  Edward Hervey  <edward@fluendo.com>
5320
5321         * docs/manual/basics-bus.xml:
5322         No, gst_main_loop does not exist. Its g_main_loop.
5323         Discovered by somebody who abused the copy-paste technique of coding :)
5324
5325 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5326
5327         * gst/gstghostpad.c:
5328           Log ghostpad debug stuff to the GST_PADS category as well rather
5329           than just to the default category.
5330
5331 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5332
5333         * configure.ac:
5334         * gst/gst.c: (init_pre):
5335           Add some basic system details such as OS and architecture
5336           to the debug output if possible, courtesy of uname().
5337
5338 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
5339
5340         * docs/gst/running.xml:
5341           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
5342           environment variables.
5343
5344 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5345
5346         * tests/check/gst/gstbin.c: (GST_START_TEST):
5347         It is acceptable to have a refcount of 2 or 3 at this point in the
5348         test, because the pipeline might be just posting its state_change
5349         message. The next line then waits for that message to appear using
5350         bus_poll, so that should be fine too.
5351
5352 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5353
5354         * gst/gst.c: (ensure_current_registry_forking):
5355         Ignore EINTR when reading from the child registry pipe.
5356         Explicitly ignore the return value from close, since it makes no
5357         difference.
5358
5359         * gst/gstminiobject.c: (gst_mini_object_ref),
5360         (gst_mini_object_unref):
5361         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
5362
5363         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
5364         When removing cached plugins, remove their features too, so they're
5365         not visible after they've disappeared.
5366
5367         * gst/gstutils.c: (prepare_link_maybe_ghosting):
5368         In the unlikely case that we are linking pads with no parents, don't
5369         crash trying to get the non-existent parent bin.
5370
5371         * gst/parse/grammar.y:
5372         Output debug in the PIPELINE category
5373
5374 2005-03-08  Wim Taymans  <wim@fluendo.com>
5375
5376         Patch by: René Stadler <mail at renestadler dot de>
5377
5378         * gst/gstclock.c: (gst_clock_new_periodic_id):
5379         Reject invalid clock times for interval of periodic ids.
5380         Fixes ##383506.
5381
5382 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5383
5384         * gst/gstelementfactory.c: (gst_element_factory_create):
5385         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5386         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5387         * tools/gst-inspect.c: (print_element_info):
5388         Fix refcounting of gst_plugin_feature_load to match the docs. 
5389         Fixes: #380129
5390
5391 2006-12-07  Wim Taymans  <wim@fluendo.com>
5392
5393         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5394         (gst_base_sink_get_position):
5395         Improve debugging of events.
5396
5397 2006-12-07  Wim Taymans  <wim@fluendo.com>
5398
5399         Patch by: René Stadler <mail at renestadler dot de>
5400
5401         * gst/gstclock.c: (gst_clock_id_wait):
5402         Make period ids add the interval to the origial requested time instead
5403         of the possibly updated time which can be wrong when there are multiple
5404         waiters for the same id. Fixes #382592.
5405
5406         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
5407         (gst_system_clock_id_wait_jitter_unlocked),
5408         (gst_system_clock_id_wait_jitter):
5409         Fix restart in the async notify thread when an async entry is added to
5410         the front of the list. Fixes #381492. 
5411
5412         * tests/check/gst/gstsystemclock.c: (store_callback),
5413         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
5414         Added test for multiple async waits.
5415         Added test for async wait order.
5416
5417 2006-12-07  Wim Taymans  <wim@fluendo.com>
5418
5419         * gst/gstbin.c: (gst_bin_query):
5420         Add some more docs about the POSITION query.
5421
5422 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5423
5424         * configure.ac:
5425         Bump version nano - back to CVS.
5426
5427 === release 0.10.11 ===
5428
5429 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
5430
5431         * configure.ac:
5432           releasing 0.10.11, "Love never runs on time"
5433
5434 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
5435
5436         * win32/common/libgstbase.def:
5437         * win32/common/libgstreamer.def:
5438         * win32/vs8/libgstbase.vcproj:
5439         * win32/vs8/libgstcoreelements.vcproj:
5440         * win32/vs8/libgstreamer.vcproj:
5441         Fix compilation on win32 under VS8
5442         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5443         Partially fixes #381175
5444
5445 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
5446
5447         * gst/gstvalue.c: (gst_value_compare_fraction):
5448         If someone is foolish enough to compare 2 fractions with denominator =
5449         0, return UNORDERED rather than aborting.
5450
5451 2006-11-28  Edward Hervey  <edward@fluendo.com>
5452
5453         * libs/gst/base/Makefile.am:
5454         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
5455         (gst_data_queue_base_init), (gst_data_queue_class_init),
5456         (gst_data_queue_init), (gst_data_queue_new),
5457         (gst_data_queue_cleanup), (gst_data_queue_finalize),
5458         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
5459         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
5460         (gst_data_queue_is_empty), (gst_data_queue_is_full),
5461         (gst_data_queue_set_flushing), (gst_data_queue_push),
5462         (gst_data_queue_pop), (gst_data_queue_drop_head),
5463         (gst_data_queue_set_property), (gst_data_queue_get_property):
5464         * libs/gst/base/gstdataqueue.h:
5465         New GstDataQueue object for threadsafe queueing. Most useful for
5466         elements that need some queueing functionnality.
5467         * docs/libs/gstreamer-libs-docs.sgml:
5468         * docs/libs/gstreamer-libs-sections.txt:
5469         Insert documentation for GstDataQueue
5470         * plugins/elements/Makefile.am:
5471         * plugins/elements/gstelements.c:
5472         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5473         (gst_multi_queue_class_init), (gst_multi_queue_init),
5474         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5475         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
5476         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
5477         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5478         (gst_multi_queue_loop), (gst_multi_queue_chain),
5479         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5480         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
5481         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
5482         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
5483         (wake_up_next_non_linked), (compute_next_non_linked),
5484         (single_queue_overrun_cb), (single_queue_underrun_cb),
5485         (single_queue_check_full), (gst_single_queue_new):
5486         * plugins/elements/gstmultiqueue.h:
5487         New multiqueue element, using GstDataQueue. Used for queuing multiple
5488         streams.
5489         Closes #344639 and #347785
5490
5491 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
5492
5493         * docs/pwg/advanced-types.xml:
5494           add more missing type details
5495
5496         * tools/gst-run.c: (main):
5497           remove unused variable
5498
5499 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
5500
5501         * docs/libs/Makefile.am:
5502         * docs/libs/gstreamer-libs.types:
5503           add types of base classes to enable gobject specific stuff in the docs
5504
5505         * docs/random/ensonic/embedded.txt:
5506           more ideas about isolating platform specific things
5507
5508 2006-11-20  Wim Taymans  <wim@fluendo.com>
5509
5510         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
5511
5512         * libs/gst/check/gstcheck.h:
5513         Fix compilation and running against 0.9.4. Fixes #377332.
5514
5515 2006-11-20  Wim Taymans  <wim@fluendo.com>
5516
5517         * gst/gstsegment.c: (gst_segment_set_seek),
5518         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5519         (gst_segment_to_running_time):
5520         Fix boundary checking in to_running_time() and to_stream_time().
5521         Fixes #377183.
5522
5523         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5524         stream and running time can now be calculated for the complete
5525         clipped segment.
5526
5527 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
5528
5529         * gst/gstpad.c: (gst_pad_push_event):
5530           Can't access event structure after giving away ownership of
5531           the event.
5532
5533 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
5534
5535         * docs/random/ensonic/embedded.txt:
5536         * docs/random/ensonic/profiling.txt:
5537         * docs/random/ensonic/receipies.txt:
5538           more thinking
5539
5540 2006-11-13  Wim Taymans  <wim@fluendo.com>
5541
5542         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5543
5544         * gst/gstpad.c:
5545         Fix documentation for gst_pad_dispatcher. Fixes #374475.
5546
5547 2006-11-13  Wim Taymans  <wim@fluendo.com>
5548
5549         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
5550
5551         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5552         Store new length in segment duration so we don't keep on calling the
5553         potentially expensize get_size() call. Fixes #370865.
5554
5555 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
5556
5557         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
5558
5559         * win32/common/libgstreamer.def:
5560           Add two missing symbols (#366492).
5561
5562 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
5563
5564         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
5565         (gst_adapter_take_buffer):
5566         Fix format string to use all its arguments.
5567         Remove useless >= check on a guint
5568
5569 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5570
5571         * tests/examples/adapter/.cvsignore:
5572         Ignore build file as commanded by the build-bot
5573
5574 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5575
5576         * tests/examples/adapter/Makefile.am:
5577         * tests/examples/adapter/adapter_test.c: (run_test_take),
5578         (run_test_take_buffer), (run_tests), (main):
5579
5580         Add new files from the previous commit
5581
5582 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5583
5584         * Makefile.am:
5585         * configure.ac:
5586         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
5587         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
5588         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
5589         * libs/gst/base/gstadapter.h:
5590         * tests/check/libs/adapter.c: (create_and_fill_adapter),
5591         (GST_START_TEST), (gst_adapter_suite):
5592         * tests/examples/Makefile.am:
5593         Do some optimisation work in GstAdapter to avoid copies in more cases.
5594         It could still do slightly better by merging buffers when
5595         gst_buffer_is_span_fast is true, but is already faster. 
5596
5597         Also, avoid traversing a single-linked list to append each incoming 
5598         buffer inside the adapter.
5599
5600         Add simple test app that times the adapter behaviour in different
5601         situations, and extend the unit test to check that bytes enter and
5602         exit the adapter in their original order.
5603
5604 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
5605
5606         * docs/random/draft-missing-plugins.txt:
5607           Update: use element message instead of adding a new message
5608           type to the core; don't provide GStreamer API to initiate the
5609           plugin download, just provide API to compose the strings needed
5610           and let an external libgimmestuff handle the rest.
5611
5612 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
5613
5614         * tools/gst-inspect.c: (print_element_properties_info):
5615         Print a string instead of 'unknown type' for GValueArray properties
5616
5617 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
5618
5619         * docs/random/draft-missing-plugins.txt:
5620         More small fixes.
5621
5622 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5623
5624         * tests/examples/typefind/typefind.c: (type_found), (main):
5625           Make typefind element example work again (#371894); add a
5626           license header.
5627
5628 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5629
5630         * docs/random/draft-missing-plugins.txt:
5631           Commit initial draft about how to deal with missing plugins,
5632           needs work (API too).
5633
5634 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
5635
5636         * docs/pwg/advanced-types.xml:
5637           documents the new caps elements (see #363118)
5638
5639 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5640
5641         * gst/gstplugin.c: (gst_plugin_load_file):
5642         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
5643         (gst_file_src_map_region), (gst_file_src_start):
5644         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
5645         (gst_file_index_commit):
5646           Use g_strerror() instead of strerror() - we want UTF-8.
5647
5648 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5649
5650         Patch by: Peter Kjellerstedt <pkj at axis com>
5651
5652         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5653           Another printf fix (#371493).
5654
5655 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5656
5657         * tests/check/gst/gsttag.c:
5658           relicence (okay with author=company)
5659
5660 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5661
5662         * gst/gstpad.c: (gst_pad_event_default_dispatch),
5663         (gst_pad_push_event):
5664           Enhance debug and improve docs
5665         
5666         * gst/gsturi.c:
5667           Fix docs
5668
5669 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5670
5671         * docs/random/ensonic/distributed.txt:
5672         * docs/random/ensonic/profiling.txt:
5673           more ideas
5674
5675 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5676
5677         * docs/gst/gstreamer-sections.txt:
5678           add new API and fix the build
5679           
5680         * gst/gstbin.c: (gst_bin_recalc_state):
5681         * gst/gstelement.c: (gst_element_message_full),
5682         (gst_element_get_state_func), (gst_element_set_state_func):
5683           use new API and improve logging
5684         
5685         * gst/gstutils.c: (gst_element_state_change_return_get_name):
5686         * gst/gstutils.h:
5687           API: add function to get StateChangereturn names to improve logs 
5688
5689 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
5690
5691         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5692           I'm considering shooting the next person to put strerror stuff
5693           in the translateable part of the message.
5694
5695 2006-11-03  Wim Taymans  <wim@fluendo.com>
5696
5697         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5698         Get the type and printf conversion specifiers right.
5699
5700 2006-11-03  Wim Taymans  <wim@fluendo.com>
5701
5702         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5703
5704         * gst/gstpad.c: (gst_pad_init), (pre_activate),
5705         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
5706         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
5707         Some small cleanups. Improve debugging.
5708         * gst/gstpad.h:
5709         Signal all waiting threads with a broadcast instead of just one.
5710         Fixes #369942.
5711
5712 2006-11-03  Wim Taymans  <wim@fluendo.com>
5713
5714         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
5715         (gst_fd_src_create):
5716         Add some debugging. 
5717         Only update fd when it's different from the old.
5718
5719 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5720
5721         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
5722           Printf fixes for PPC/OSX, take two (#369366).
5723
5724 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5725
5726         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
5727
5728         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5729         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5730         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
5731           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
5732           don't cast to long long for portability reasons, but use
5733           GLib's types instead.
5734
5735 2006-10-30  Michael Smith  <msmith@fluendo.com>
5736
5737         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5738           Get the arguments to lseek() the right way around.
5739           Fixes 367677.
5740
5741 2006-10-30  Wim Taymans  <wim@fluendo.com>
5742
5743         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
5744
5745         * gst/gstinfo.h:
5746         _declspec should be __declspec (two underscores, not one). Fixes 366572.
5747
5748 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
5749
5750         Patch by: Kjartan Maraas  <kmaraas at gnome org>
5751
5752         * docs/design/part-MT-refcounting.txt:
5753         * docs/random/wtay/capsnego2-docs:
5754         * gst/gstclock.c:
5755         * gst/gstxml.c:
5756           Typo fixes (#366212).
5757
5758 2006-10-28  Wim Taymans  <wim@fluendo.com>
5759
5760         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5761
5762         * gst/gst.c:
5763         * win32/common/libgstbase.def:
5764         * win32/common/libgstreamer.def:
5765         * win32/vs8/libgstbase.vcproj:
5766         * win32/vs8/libgstcontroller.vcproj:
5767         Add needed entries in .def files.
5768         Use HAVE_UNISTD_H.
5769         Rearrange def files in vs8 solutions. Fixes #366286.
5770
5771 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
5772
5773         * win32/common/gstconfig.h:
5774           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
5775           hand-made win32 gstconfig.h. Fixes #366321.
5776
5777 2006-10-27  Wim Taymans  <wim@fluendo.com>
5778
5779         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
5780         (gst_ghost_pad_new_full):
5781         Make acceptcaps return TRUE when we don't have a target, just like
5782         setcaps does.
5783
5784 2006-10-27  Wim Taymans  <wim@fluendo.com>
5785
5786         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5787         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
5788
5789 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
5790
5791         * gst/gststructure.c: (gst_structure_id_set_value):
5792           If someone tries to set a non-UTF8 string field on a structure,
5793           don't just print a warning, but also ignore the request and do
5794           not change/add that field to the structure.
5795
5796         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5797           Test for the above.
5798
5799 2006-10-25  David Schleef  <ds@schleef.org>
5800
5801         * gst/gstinfo.c:
5802           g_hash_table_insert() needs a cast to a non-const pointer duh.
5803
5804 2006-10-25  David Schleef  <ds@schleef.org>
5805
5806         * gst/gstinfo.c:
5807         * gst/gstinfo.h:
5808           Change name parameter of _gst_debug_register_funcptr to const
5809           to reflect the constness of its use in the function as well
5810           as to quiet a gcc warning.
5811
5812 2006-10-25  Edward Hervey  <edward@fluendo.com>
5813
5814         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5815         Don't push the buffer if it's empty.
5816         Closes #363095
5817
5818 2006-10-24  Wim Taymans  <wim@fluendo.com>
5819
5820         * gst/gstevent.h:
5821         Add small comment.
5822
5823         * libs/gst/base/gstbasetransform.c:
5824         (gst_base_transform_sink_eventfunc):
5825         Debug segment values *after* updating them as this is more
5826         interesting.
5827
5828 2006-10-23  Wim Taymans  <wim@fluendo.com>
5829
5830         * docs/design/part-events.txt:
5831         Update some docs.
5832
5833         * docs/design/part-block.txt:
5834         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5835         (gst_pad_push_event):
5836         Revert BLOCKING patch, it tries to be smart without really having a
5837         clear idea what or how. So, now we discard all FLUSHING events again on
5838         a blocking pad. Should fix gnonlin again.
5839
5840 2006-10-23  Wim Taymans  <wim@fluendo.com>
5841
5842         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5843
5844         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5845         (gst_base_src_start), (gst_base_src_activate_push):
5846         Make sure size is always initialized. Fixes #364388.
5847
5848 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
5849
5850         * docs/random/ensonic/distributed.txt:
5851           add some ideas about doing distributed processing
5852
5853         * docs/random/ensonic/profiling.txt:
5854           get_rusage look promising
5855
5856 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
5857
5858         * docs/manual/basics-helloworld.xml:
5859           Add a cast in example to fix compile warning
5860
5861 2006-10-18  Wim Taymans  <wim@fluendo.com>
5862
5863         * gst/gstsegment.c: (gst_segment_set_last_stop),
5864         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5865         Relax arg checking again, -1 is allowed.
5866
5867 2006-10-18  Wim Taymans  <wim@fluendo.com>
5868
5869         * gst/gstsegment.c: (gst_segment_set_last_stop),
5870         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5871         _set_last_stop() must be with a value != -1
5872         A _TYPE_SET to -1 means seek to 0.
5873         Calc last_stop correctly for negative rates.
5874         Make sure we work with positive durations when updating a segment.
5875
5876 2006-10-18  Wim Taymans  <wim@fluendo.com>
5877
5878         * docs/design/part-live-source.txt:
5879         * gst/gstclock.h:
5880         Small docs fixes.
5881
5882 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
5883
5884         * gst/gstbuffer.h:
5885           Add an explicit cast to GstBuffer** to keep old code that added an
5886           explicit cast to GstMiniObject** for gst_mini_object_replace()
5887           compiling without warning.
5888
5889 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
5890
5891         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
5892           check for validity of dates
5893
5894 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
5895
5896         * docs/gst/gstreamer-sections.txt:
5897           Forgot this one, makes gtk-doc shut up.
5898
5899 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
5900
5901         Patch by: Peter Kjellerstedt <pkj at axis com>
5902
5903         * gst/gstobject.h:
5904           Don't define xmlNodePtr to gpointer if the core was built with
5905           --disable-loadsave and --disable-registry, this will break
5906           applications that want to use libxml2 but are buildling against a
5907           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
5908           instead so we don't have to mess with the libxml2 namespace
5909           (#361675).
5910
5911 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
5912
5913         * gst/gstbuffer.h:
5914           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
5915           type-punned pointer warnings.
5916
5917 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
5918
5919         * gst/gstelement.h:
5920           Add casts to the correct return type to state <=> state transition
5921           macros.
5922
5923 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
5924
5925         * docs/design/part-live-source.txt:
5926           describe howto handle latency
5927         
5928         * docs/random/ensonic/profiling.txt:
5929           more ideas
5930
5931         * tools/gst-plot-timeline.py:
5932           fix log parsing for solaris, remove unused function
5933
5934 2006-10-16  Wim Taymans  <wim@fluendo.com>
5935
5936         * docs/design/part-trickmodes.txt:
5937         * gst/gstevent.c:
5938         Update some docs regarding reverse playback.
5939
5940 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
5941
5942         Patch by: Marcus Granado  <mrc dot gran at gmail com>
5943
5944         * win32/vs8/grammar.vcproj:
5945           Error out with a warning if glib-genmarshal.exe is not in path,
5946           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
5947
5948 2006-10-13  Wim Taymans  <wim@fluendo.com>
5949
5950         * gst/gstsegment.c: (gst_segment_set_seek):
5951         When seeking to stop -1, set last_stop (current position) to the
5952         duration of the segment.
5953
5954 2006-10-13  Wim Taymans  <wim@fluendo.com>
5955
5956         * gst/gstelement.h:
5957         Clarify _NO_PREROLL a bit more.
5958
5959         * gst/gstevent.c:
5960         Fix docs.
5961
5962         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
5963         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
5964         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
5965         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
5966         due to wrong locking order. Fixes #361769.
5967         Remove some redundant/misplaced checks in pad_block.
5968
5969         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5970         For negative rates, count backwards from the duration.
5971
5972 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
5973
5974         * gst/gsterror.c: (_gst_library_errors_init):
5975           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
5976           up with something better).
5977
5978 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
5979
5980         * win32/vs6/libgstreamer.dsp:
5981         * win32/vs7/libgstreamer.vcproj:
5982         * win32/vs8/libgstreamer.vcproj:
5983           Don't reference glib-compat.c which is currently not used and not
5984           disted; add gstquark.c which was recently added. Fixes #361730.
5985
5986 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
5987
5988         * win32/common/libgstbase.def:
5989         * win32/common/libgstcontroller.def:
5990         * win32/common/libgstreamer.def:
5991           Add gst_caps_merge() and a bunch of other recently-added functions.
5992           Fixes #361732.
5993
5994 2006-10-11  Wim Taymans  <wim@fluendo.com>
5995
5996         * docs/plugins/gstreamer-plugins.args:
5997         * docs/plugins/inspect/plugin-coreelements.xml:
5998         * docs/plugins/inspect/plugin-coreindexers.xml:
5999         Update element args.
6000
6001         * gst/gstsystemclock.c:
6002         Small comment update.
6003
6004         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
6005         (gst_tee_request_new_pad), (gst_tee_release_pad),
6006         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
6007         (gst_tee_sink_activate_pull):
6008         * plugins/elements/gsttee.h:
6009         Some tee loving:
6010         Add default property defines.
6011         Implement release pad function.
6012         Give properties better blubs etc.
6013         Activate pads before adding them to a running tee.
6014         Do simple buffer_alloc on the first requested pad.
6015         Post error when activation fails.
6016
6017 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6018
6019         * gst/gst.c: (ensure_current_registry_forking):
6020           Check return value of write() to make compiler happy.
6021
6022 2006-10-11  Wim Taymans  <wim@fluendo.com>
6023
6024         Patch by: Sjoerd Simons <sjoerd at luon dot net>
6025
6026         * plugins/elements/gstqueue.c: (gst_queue_chain):
6027         Recheck queue filledness after signalling the overrun when we're about
6028         to leak downstream because we released the lock when emitting the signal
6029         and the queue could be empty again. Fixes #352345.
6030
6031 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6032
6033         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
6034           Fix refcounting here too, just like we did for _new_valist() a few
6035           days ago (#357180) (thanks to René Stadler). Also remove all those
6036           'Since: 0.9' from the gtk-doc blobs.
6037
6038         * tests/check/libs/controller.c: (controller_refcount_new_list),
6039         (gst_controller_suite):
6040           Unit test for the above.
6041
6042 2006-10-10  Wim Taymans  <wim@fluendo.com>
6043
6044         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
6045
6046         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6047         (gst_pad_save_thyself):
6048         Update some docs.
6049         Write pad direction in XML output. Fixes #345496.
6050
6051 2006-10-10  Wim Taymans  <wim@fluendo.com>
6052
6053         Patch by: René Stadler <mail at renestadler dot de>
6054
6055         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6056         (gst_controller_new_list), (_gst_controller_dispose),
6057         (_gst_controller_finalize), (_gst_controller_class_init):
6058         Take ref to controlled object so that it cannot disappear. 
6059         Fixes #357432.
6060
6061 2006-10-10  Wim Taymans  <wim@fluendo.com>
6062
6063         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6064         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6065         (gst_check_teardown_sink_pad):
6066         Activate/deactivate pads in setup/teardown respectively.
6067
6068 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6069
6070         Patch by: Josep Torre Valles <josep@fluendo.com>
6071
6072         * gst/Makefile.am:
6073         Cast values when making gstenumtypes.h.  This pacifies Forte
6074         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
6075         in the enumeration.
6076
6077 2006-10-09  Wim Taymans  <wim@fluendo.com>
6078
6079         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
6080         Rename some more @cur to @start to fix docs. 
6081
6082         * gst/gstsegment.c: (gst_segment_set_seek):
6083         Fix typo.
6084         time and start must always stay in sync as defined in design doc.
6085
6086         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6087         Rename param to fix docs.
6088
6089         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6090         Check that start and time are in sync.
6091
6092         * tests/check/pipelines/parse-launch.c:
6093         (gst_parse_test_element_change_state):
6094         Activate pad before adding to the element.
6095
6096 2006-10-09  Wim Taymans  <wim@fluendo.com>
6097
6098         * docs/design/part-qos.txt:
6099         Fix typo.
6100
6101         * gst/gstevent.c:
6102         * gst/gstevent.h:
6103         Update seek event docs regarding negative rates.
6104         Rename @cur to @start. 
6105
6106         * gst/gstsegment.c: (gst_segment_set_seek):
6107         * gst/gstsegment.h:
6108         Update set_seek docs regarding negative rates.
6109         Correctly update last_stop to @stop when dealing with negative
6110         rates.
6111         Rename @cur to @start. 
6112
6113         * tests/check/gst/gstpad.c: (GST_START_TEST):
6114         Activate pads before trying to use them.
6115
6116         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6117         (gst_segment_suite):
6118         Add simple check for segments and negative rates.
6119
6120 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6121
6122         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6123         * gst/gsttaglist.h:
6124         * docs/gst/gstreamer-sections.txt:
6125           API: add gst_tag_list_is_empty() (#360467).
6126
6127         * tests/check/gst/gsttag.c: (GST_START_TEST):
6128           And a test case.
6129
6130 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6131
6132         * gst/gstmessage.h:
6133         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
6134         a value that doesn't fit on enumeration.
6135
6136 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6137
6138         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6139         Remove local debugging system and use Gstreamer's instead.
6140
6141 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6142
6143         Patch by: Josep Torre Valles <josep@fluendo.com>
6144
6145         * common/m4/gst-error.m4:
6146         Disable warning of statement not reached on Forte.
6147         * gst/gstmessage.h:
6148         Fix warning on Forte (value doesn't fit on enumeration).
6149         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
6150         Fix warning on Forte (value doesn't fit on enumeration).
6151         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6152         DEBUG macro says it takes minimum of 2 args and so Forte
6153         complains about the use with just 1 arg.
6154         * plugins/elements/gstfdsink.c:
6155         * plugins/elements/gstfdsrc.c:
6156         * plugins/elements/gstfilesink.c:
6157         * plugins/elements/gstfilesrc.c:
6158         Use correct return type for the uri handler implementations.
6159
6160         All these fix warnings in Forte.  Fixes bug #360860.
6161
6162 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6163
6164         * gst/gstelement.h:
6165           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
6166           format string, so don't use G_GNUC_PRINTF for those versions.
6167
6168 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6169
6170         * gst/gsttaglist.c: (gst_is_tag_list):
6171         * gst/gsttaglist.h:
6172           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
6173
6174         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6175           Small test for the above.
6176
6177 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6178
6179         * gst/gsttaglist.h:
6180           Less tabs, more spaces.
6181
6182 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
6183
6184         * gst/gstinfo.h:
6185           Those two function declarations do actually belong there, revert
6186           commit from yesterday that turned them intro macros.
6187
6188 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6189
6190         Patch by: Josep Torre Valles <josep@fluendo.com>
6191
6192         * gst/gst.c: (gst_init_get_option_group):
6193         Fix empty declaration and type mismatch.
6194         * gst/gstbin.c: (gst_bin_change_state_func):
6195         Fix type mismatch.
6196         * gst/gstelement.c: (gst_element_continue_state),
6197         (gst_element_set_state_func), (gst_element_change_state),
6198         (gst_element_change_state_func):
6199         Fix type mismatches.
6200         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
6201         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
6202         Cast as appropriate.
6203         * gst/gstobject.c: (gst_class_signal_connect):
6204         Cast as appropriate.  The function pointer parameter really
6205         has the wrong type but would break API if we change it.
6206         * gst/gstquery.c:
6207         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
6208         order of including string.h.
6209         * gst/gstutils.c: (gst_element_state_get_name):
6210         Remove unreachable line.
6211         * gst/gstxml.c: (gst_xml_parse_doc):
6212         Fix type mismatch.
6213         All these caught by Forte.
6214
6215 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6216
6217         Patch by: Josep Torre Valles <josep@fluendo.com>
6218
6219         * common/m4/gst-error.m4:
6220         Fixed bug #360151.
6221         We need to disable warnings on Forte for empty declarations
6222         due to gst-indent adding ;s to lines that just use macros
6223         where the macro actually doesn't need a ; at end to end
6224         statement.
6225
6226 2006-10-06  Wim Taymans  <wim@fluendo.com>
6227
6228         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6229         (gst_file_sink_close_file), (gst_file_sink_event),
6230         (gst_file_sink_render):
6231         Add some FIXME for the NEWSEGMENT handling.
6232
6233 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6234
6235         * gst/parse/grammar.y:
6236         Remove static function gst_parse_element_lock as all it does
6237         is return.  Looks like cruft from 0.8.
6238
6239 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6240
6241         Patch by: Josep Torre Valles <josep@fluendo.com>
6242
6243         * common/m4/gst-error.m4:
6244         * configure.ac:
6245         * libs/gst/net/Makefile.am:
6246         Fix a compilation issue with Forte on Solaris.  inet_aton is in
6247         libresolv.
6248
6249 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6250
6251         * gst/gstpad.c: (pre_activate):
6252         * gst/gstregistry.c: (gst_registry_scan_path_level):
6253         * gst/gstregistryxml.c: (load_plugin):
6254         * libs/gst/controller/gstcontroller.c:
6255         (gst_controlled_property_set_interpolation_mode):
6256         * libs/gst/dataprotocol/dataprotocol.c:
6257         (gst_dp_packet_from_event_1_0):
6258         * libs/gst/net/gstnetclientclock.c:
6259         (gst_net_client_clock_observe_times):
6260         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6261           Printf fixes.
6262
6263 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6264
6265         * configure.ac:
6266         * docs/gst/gstreamer-sections.txt:
6267         * gst/gstconfig.h.in:
6268         * gst/gstelement.h:
6269         * gst/gstinfo.h:
6270           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
6271           whether we can use G_GNUC_PRINTF in other header files and at
6272           least check the printf format/arguments of debug messages and
6273           GST_ELEMENT_ERROR messages when the printf extension is not
6274           being used.
6275           Replace more tabs with spaces in gstinfo.h and remove two spurious
6276           function declarations in GST_DISABLE_DEBUG part with macros.
6277
6278 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6279
6280         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
6281           More docs for the sync-message signal (mention that it is not
6282           emitted by default); log message structures of messages posted on
6283           the bus as well.
6284
6285 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
6286
6287         * gst/gst.c: (ensure_current_registry_forking):
6288         Use a pipe pair to receive status results from the forked child, and
6289         ignore the result from waitpid. Fixes #355499
6290
6291 2006-10-02  Wim Taymans  <wim@fluendo.com>
6292
6293         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6294         (gst_ghost_pad_suite):
6295         Fix leak in check.
6296
6297 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6298
6299         * gst/gstpad.c:
6300           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6301
6302 2006-10-02  Edward Hervey  <edward@fluendo.com>
6303
6304         * docs/design/part-block.txt:
6305         Further explain the use of flushing on blocked pads.
6306         * docs/gst/gstreamer-sections.txt:
6307         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6308         (gst_pad_push_event):
6309         * gst/gstpad.h:
6310         Added new GstPadFlag : GST_PAD_BLOCKING.
6311         Adds the notion of pads really blocking, which enables to properly
6312         handle FLUSH_START/FLUSH_STOP events on blocked pads.
6313         Fixes #358999
6314         API: gst_pad_is_blocking()
6315         API: GST_PAD_IS_BLOCKING() macro
6316         API: GST_PAD_BLOCKING GstPadFlag
6317         
6318 2006-10-02  Wim Taymans  <wim@fluendo.com>
6319
6320         Patch by: mrcgran <mrc.gran at gmail dot com>
6321
6322         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
6323         Filter the proxied caps against the padtemplate if we have one.
6324
6325         * gst/gstquery.c: (gst_query_new_segment):
6326         Add include for gstinfo.h so that compilation with
6327         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
6328
6329 2006-10-02  Wim Taymans  <wim@fluendo.com>
6330
6331         Patch by: Alessandro Decina  <alessandro at nnva org>
6332
6333         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
6334         (gst_file_sink_set_location), (gst_file_sink_open_file),
6335         (gst_file_sink_close_file), (gst_file_sink_event),
6336         (gst_file_sink_render):
6337         Set file to NULL when closing filesink so that we can set a new filename
6338         in READY. Fixes #358613.
6339
6340 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6341
6342         Patch by: Alessandro Decina  <alessandro at nnva org>
6343
6344         * gst/gstevent.c: (_gst_event_copy):
6345           Fix gst_mini_object_make_writable() and gst_event_copy() for events
6346           with event structures by setting the parent refcount address of the
6347           copied structure to the address of the refcount member of the newly
6348           copied event rather than the address of the refcount member of the
6349           original event. Fixes #358737.
6350
6351         * tests/check/gst/gstevent.c: (GST_START_TEST):
6352           Unit test for the above.
6353
6354 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
6355
6356         * docs/design/Makefile.am:
6357           Dist some more files.
6358
6359 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6360
6361         * tests/check/libs/controller.c: (GST_START_TEST),
6362         (gst_controller_suite):
6363           Add test for the previous fix; add some more tests
6364           for correct refcounting behaviour; fix a few leaks
6365           in test cases; call gst_controller_init() at start
6366           of all tests.
6367
6368 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6369
6370         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6371         (gst_controller_set_from_list):
6372           Don't g_return_val_if_fail() on timed values with invalid timestamps
6373           inside a critical section without unlocking the mutex. Spotted by
6374           René Stadler. (#357617)
6375           Also, fix up refcounting properly: when returning an existing
6376           controller, we should increase the reference only once and not
6377           once per property and when trying to control a property again
6378           we should also increase the refcount.
6379
6380 2006-09-29  Wim Taymans  <wim@fluendo.com>
6381
6382         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6383         * libs/gst/net/gstnettimeprovider.c:
6384         (gst_net_time_provider_thread):
6385         Stop reading commands when EOF as well.
6386
6387         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6388         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6389         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6390         Unify description of the dump property.
6391
6392 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6393
6394         * tests/examples/manual/.cvsignore:
6395         OK, so it's actually cvsignore that needs changing. Stop laughing.
6396
6397 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6398
6399         * tests/examples/manual/Makefile.am:
6400         Gah, declare vars *before* using them
6401
6402 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6403
6404         * gst/gst.c: (init_pre), (scan_and_update_registry),
6405         (ensure_current_registry_nonforking),
6406         (ensure_current_registry_forking), (ensure_current_registry),
6407         (init_post), (gst_debug_help), (gst_deinit):
6408         * gst/gst_private.h:
6409         * gst/gstregistry.c: (gst_registry_finalize),
6410         (gst_registry_remove_features_for_plugin_unlocked),
6411         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6412         (gst_registry_scan_path),
6413         (_priv_gst_registry_remove_cache_plugins),
6414         (_priv_gst_registry_cleanup):
6415         * gst/gstregistry.h:
6416         Re-commit the registry changes, along with an extra fix:
6417           When a cached plugin is encountered at a different file path,
6418           update the stored path in the registry cache so that the parent
6419           process knows where it actually is now when it re-reads the registry
6420           cache. Fixes the thing that broke distcheck with the previous commit.
6421
6422         * tests/check/Makefile.am:
6423         Clean up files named 'core' too when running make clean.
6424
6425         * tests/examples/manual/Makefile.am:
6426         Set up a registry path for running these tests, and clean it properly
6427         for distcheck.
6428
6429 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6430
6431         * configure.ac:
6432         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
6433         want gmodule-no-export-2.0.pc instead so that we don't drag in
6434         --export-dynamic on every project that links to GStreamer.
6435
6436         Also, make our export regex only match the start of symbols, rather 
6437         than any symbol that contains '_gst' somewhere.
6438
6439         * libs/gst/check/Makefile.am:
6440         The libgstcheck we build does however need export-dynamic, as it
6441         produces some symbols that don't match our _gst... style regex.
6442         Fixes: #318031
6443
6444 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6445
6446         * gst/gst.c: (init_pre), (scan_and_update_registry),
6447         (ensure_current_registry_nonforking),
6448         (ensure_current_registry_forking), (ensure_current_registry),
6449         (init_post), (gst_debug_help), (gst_deinit):
6450         * gst/gst_private.h:
6451         * gst/gstregistry.c: (gst_registry_finalize),
6452         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6453         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
6454         (_gst_registry_cleanup):
6455         * gst/gstregistry.h:
6456           Revert previous change until I figure out why it breaks distcheck.
6457
6458 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6459
6460         * gst/gst.c: (init_pre), (scan_and_update_registry),
6461         (ensure_current_registry_nonforking),
6462         (ensure_current_registry_forking), (ensure_current_registry),
6463         (init_post), (gst_debug_help), (gst_deinit):
6464
6465           Make init_pre and init_post take the full complement of GOptionFunc
6466           args so they can return useful GErrors. Make the registry updating
6467           functions do so.
6468
6469           Call _priv_gst_registry_remove_cache_plugins after scanning files to
6470           ensure that the registry we're about to write out doesn't contain
6471           stale information about old-deleted plugin files.
6472
6473           Make _priv_gst_registry_remove_cache_plugins return a boolean so
6474           that deletion of plugin files is considered a registry change.
6475
6476         * gst/gst_private.h:
6477         * gst/gstregistry.c: (gst_registry_finalize),
6478         (gst_registry_remove_features_for_plugin_unlocked),
6479         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6480         (gst_registry_scan_path),
6481         (_priv_gst_registry_remove_cache_plugins),
6482         (_priv_gst_registry_cleanup):
6483         * gst/gstregistry.h:
6484         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
6485         by adding _priv prefix, so that they won't appear in the global
6486         symbol table. They still do atm though because of #318031. Move the
6487         prototypes to gst_private.h
6488
6489         When removing a plugin, remove all features for that plugin too. 
6490         Fixes #340878.
6491
6492 2006-09-27  Wim Taymans  <wim@fluendo.com>
6493
6494         * docs/random/moving-plugins:
6495         Make it clear that the "compiled-in descriptions" really mean
6496         the element details.
6497
6498         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6499         (gst_base_sink_wait_preroll):
6500         Update docs.
6501
6502         * docs/libs/gstreamer-libs-sections.txt:
6503         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6504         (gst_base_src_get_range), (gst_base_src_activate_push):
6505         * libs/gst/base/gstbasesrc.h:
6506         Added function to block while waiting for PLAYING, this function
6507         is used by live sources that block on the clock.
6508         API: gst_base_src_wait_playing()
6509
6510 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6511
6512         Patch by: Peter Kjellerstedt <pkj at axis com>
6513
6514         * Makefile.am:
6515           gst-element-check.m4 is generated and should therefore be
6516           copied from the build dir rather than the source dir (#357593).
6517           'make distcheck' hasn't noticed this because we were disting
6518           the file as well, so stop doing that.
6519
6520 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6521
6522         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6523           Add some tests for gst_caps_intersect().
6524
6525         * tools/gst-launch.c: (event_loop):
6526           Print all buffering percentages we get, even the 100% one.
6527
6528 2006-09-26  Wim Taymans  <wim@fluendo.com>
6529
6530         * tools/gst-inspect.c: (print_element_properties_info),
6531         (print_signal_info):
6532         Fix printing of flags to match the look of enums.
6533
6534 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6535
6536         * gst/gstelementfactory.c:
6537           Fix typo in docs blurb.
6538
6539 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6540
6541         * gst/gsturi.c: (search_by_entry):
6542           Don't assert/crash here if a uri handler doesn't return any
6543           supported protocols. The list of protocols could be generated
6544           dynamically at runtime or at plugin registration, and an error
6545           in the underlying library shouldn't be fatal (#353301).
6546
6547 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6548
6549         * gst/gstinfo.c:
6550           Fix warning if HAVE_PRINTF_EXTENSION is undefined
6551           (spotted by Peter Kjellerstedt).
6552
6553 2006-09-23  Wim Taymans  <wim@fluendo.com>
6554
6555         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
6556
6557         * libs/gst/base/gstbasesrc.c:
6558         (gst_base_src_default_check_get_range), (gst_base_src_start),
6559         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6560         (gst_base_src_change_state):
6561         Match _start/_stop calls in the activate functions. Remove redundant
6562         _stop call from the state change function. Fixes #356910.
6563         Turn failure DEBUG into ERROR. 
6564
6565 2006-09-22  Wim Taymans  <wim@fluendo.com>
6566
6567         * docs/design/part-buffering.txt:
6568         * gst/gstmessage.c: (gst_message_new_buffering),
6569         (gst_message_parse_buffering):
6570         Update docs about buffering.
6571
6572         * docs/design/part-trickmodes.txt:
6573         Fix typo.
6574
6575 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
6576
6577         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6578         (gst_controller_new_list):
6579           Ref instances when returning them again (fixes #357180)
6580
6581 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6582
6583         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
6584           Don't forget to release proxy lock when there's an error.
6585
6586 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
6587
6588         * gst/gstcaps.h:
6589           Add extra initialisers for Caps things, to fix some plugin warnings
6590           when using -Wextra
6591
6592 2006-09-18  Wim Taymans  <wim@fluendo.com>
6593
6594         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6595           Also set template on the internal pad so that a getcaps from the 
6596           target pad returns the template caps.
6597
6598 2006-09-18  Wim Taymans  <wim@fluendo.com>
6599
6600         * gst/gstelement.c: (gst_element_post_message),
6601         (gst_element_dispose):
6602         Use _DEBUG_OBJECT some more.
6603
6604         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6605         Avoid typechecks.
6606
6607         * tools/gst-launch.c: (main):
6608         If the toplevel element is not a GstPipeline, it must be put in a
6609         pipeline so that a bus and clock is selected.
6610
6611 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6612
6613         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6614           JITTER, RATE, and LATENCY query should be handled by the
6615           default case and not by the CONVERT query code.
6616
6617 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6618
6619         * gst/gstformat.c: (gst_format_register):
6620           Fix locking order (must take lock before using n_values).
6621
6622         * gst/gstvalue.c: (gst_value_serialize_enum),
6623         (gst_value_deserialize_enum_iter_cmp),
6624         (gst_value_deserialize_enum):
6625           Fix serialisation/deserialisation of custom registered GstFormats.
6626
6627         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6628           Unit test for custom format serialisation/deserialisation.
6629
6630 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
6631
6632         * docs/pwg/building-boiler.xml:
6633         * plugins/elements/gstcapsfilter.c:
6634         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
6635         section.
6636
6637 2006-09-16  Edward Hervey  <edward@fluendo.com>
6638
6639         * libs/gst/base/gstbasetransform.c:
6640         (gst_base_transform_buffer_alloc):
6641         Check if requested caps are the same as the sinks caps IF
6642         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
6643         is FALSE.
6644         This fixes the renegotiation issues stated in #352827.
6645
6646 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6647
6648         * configure.ac:
6649         * docs/manual/advanced-autoplugging.xml:
6650         * tests/examples/Makefile.am:
6651         * tests/examples/manual/.cvsignore:
6652         * tests/examples/manual/Makefile.am:
6653         * tests/examples/manual/extract.pl:
6654           Extract the manual examples again like we used to do.
6655           Fix one of them.
6656
6657 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6658
6659         * win32/common/config.h:
6660           update for version
6661
6662 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
6663
6664         * gst/gsterror.c:
6665           Documents how to receive errors.
6666
6667 2006-09-15  Wim Taymans  <wim@fluendo.com>
6668
6669         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
6670         (event_loop), (main):
6671         Added some comments here and there.
6672         Post an application message when an interrupt is caught instead of doing
6673         an uncontrolled state change.
6674         Clean up the event loop.
6675         Handle buffering messages, pause/resume the pipeline.
6676         Make shutdown because of an interrupt more reliable.
6677
6678 2006-09-15  Wim Taymans  <wim@fluendo.com>
6679
6680         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6681         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
6682         (gst_base_sink_preroll_object):
6683         Make sure that our internal state is correct when we commit our state
6684         asynchronously. This solves a race where a state change to PLAYING
6685         could cause the sink to remain blocked in preroll in some situations.
6686
6687 2006-09-15  Wim Taymans  <wim@fluendo.com>
6688
6689         * tools/gst-inspect.c: (print_element_properties_info),
6690         (print_signal_info):
6691         List flags as hex so it's easier to deal with.
6692
6693 2006-09-15  Wim Taymans  <wim@fluendo.com>
6694
6695         * docs/libs/gstreamer-libs-sections.txt:
6696         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
6697         (gst_base_sink_do_sync):
6698         * libs/gst/base/gstbasesink.h:
6699         Expose logic to wait for preroll so that subclasses such as audiosink
6700         can also use this method.
6701         API: gst_base_sink_wait_preroll()
6702
6703 2006-09-15  Wim Taymans  <wim@fluendo.com>
6704
6705         * gst/gstobject.c: (gst_object_set_parent):
6706         * gst/gstpipeline.c: (do_pipeline_seek):
6707         Small cleanups in docs and code.
6708
6709         * gst/gstsegment.c: (gst_segment_clip):
6710         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6711         if stop == start and start is in the segment, no clipping should be
6712         done. Also add a test for this.
6713
6714 2006-09-15  Wim Taymans  <wim@fluendo.com>
6715
6716         * docs/design/part-buffering.txt:
6717         * docs/gst/gstreamer-sections.txt:
6718         * gst/gstmessage.c: (gst_message_new_buffering),
6719         (gst_message_parse_buffering):
6720         * gst/gstmessage.h:
6721         Added methods to create and parse BUFFERING messages.
6722         Added preliminary docs about buffering.
6723         API: gst_message_new_buffering
6724         API: gst_message_parse_buffering
6725
6726 2006-09-06  Wim Taymans  <wim@fluendo.com>
6727
6728         * gst/gstbin.c:
6729         Update documentation.
6730
6731         * gst/gstelement.c: (gst_element_class_init),
6732         (gst_element_release_request_pad), (gst_element_set_clock),
6733         (gst_element_get_index), (gst_element_add_pad),
6734         (gst_element_remove_pad), (gst_element_get_random_pad),
6735         (gst_element_send_event), (gst_element_get_query_types),
6736         (gst_element_query), (gst_element_post_message),
6737         (gst_element_message_full), (gst_element_continue_state),
6738         (gst_element_lost_state), (gst_element_save_thyself),
6739         (gst_element_restore_thyself):
6740         Documentation updates.
6741         Rename last bit of the new-pad -> pad-added signal rename.
6742         Fix the case where an element query would only work if the source
6743         pad was linked.
6744         Avoid some useless type checking in message handling.
6745
6746         * gst/gstevent.c:
6747         * gst/gstevent.h:
6748         * gst/gstutils.c:
6749         Documentation updates.
6750
6751 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6752
6753         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6754           add an INFO line for when we actually update the fd
6755
6756 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6757
6758         * configure.ac:
6759           back to TRUNK
6760
6761 === release 0.10.10 ===
6762
6763 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
6764
6765         * configure.ac:
6766           releasing 0.10.10, "Pais"
6767
6768 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
6769
6770         * docs/manual/advanced-position.xml:
6771           Fix typo in sample code.
6772
6773 2006-09-05  Wim Taymans  <wim@fluendo.com>
6774
6775         * libs/gst/net/gstnetclientclock.c: (inet_aton),
6776         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6777         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
6778         * libs/gst/net/gstnetclientclock.h:
6779         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6780         * libs/gst/net/gstnettimepacket.h:
6781         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
6782         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
6783         (gst_net_time_provider_thread), (gst_net_time_provider_new):
6784         * libs/gst/net/gstnettimeprovider.h:
6785         Make stuff compile on windows. Fixes #345295.
6786
6787 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6788
6789         * gst/gst.c: (ensure_current_registry_forking):
6790           Print better details when child was terminated by signal.
6791
6792 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6793
6794         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
6795           Print a warning rather than g_assert() if a plugin feature
6796           is a URI handler but returns no protocols (#353976).
6797
6798 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
6799
6800         * docs/random/moving-plugins:
6801         Fix two typos.         
6802
6803 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
6804
6805         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
6806           Fix locking order, handle NULL function values properly.
6807
6808         * gst/gstinfo.h:
6809           Fix docs.
6810
6811         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
6812           Initialise variable before using it and fix debug statement to
6813           print the address of the function rather than the address of the
6814           variable on the stack holding the address of the function.
6815
6816 2006-09-01  Wim Taymans  <wim@fluendo.com>
6817
6818         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
6819         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
6820         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
6821         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
6822         (gst_ghost_pad_parent_unset),
6823         (gst_ghost_pad_internal_do_activate_push),
6824         (gst_ghost_pad_internal_do_activate_pull),
6825         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6826         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6827         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6828         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
6829         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
6830         (gst_ghost_pad_new_no_target_from_template),
6831         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6832         More cleanups.
6833         Avoid needless typechecking in macros.
6834         Since the internal pad is always present and never changes, there is
6835         no need to locking or ref when retrieving it.
6836         Improve debugging a bit.
6837         Handle link errors when setting the target. Fixes #341029.
6838
6839 2006-09-01  Wim Taymans  <wim@fluendo.com>
6840
6841         * docs/libs/gstreamer-libs-sections.txt:
6842         * docs/plugins/gstreamer-plugins-sections.txt:
6843         Fix docs some more.
6844
6845         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6846         (gst_collect_pads_event):
6847         * libs/gst/base/gstcollectpads.h:
6848         Documentation updates.
6849         Free queued buffer when removing a pad.
6850
6851 2006-08-31  Michael Smith  <msmith@fluendo.com>
6852
6853         * gst/gstutils.c: (gst_element_link_pads),
6854         (gst_element_link_pads_filtered):
6855           Ensure that we set a capsfilter to NULL if we failed to link it
6856           when doing filtered linking, to avoid criticals.
6857
6858           No need to check for unreffing srcpad, which is explicly NULLed
6859           above (a trivial code cleanup).
6860
6861 2006-08-31  Wim Taymans  <wim@fluendo.com>
6862
6863         * docs/design/part-gstghostpad.txt:
6864         Update ascii art in documentation.
6865
6866         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
6867         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
6868         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6869         (gst_ghost_pad_internal_do_activate_push),
6870         (gst_ghost_pad_internal_do_activate_pull),
6871         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6872         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6873         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
6874         (gst_ghost_pad_set_target):
6875         Small cleanups and leak fixes.
6876         Remove some checks now that the internal pad is never NULL.
6877         Fix the case where linking pads without a target would create nasty
6878         criticals. Fixes #341029.
6879         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
6880         value of _set_target().
6881
6882         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6883         (gst_ghost_pad_suite):
6884         Some more tests for creating and linking untargeted ghostpads.
6885
6886 2006-08-31  Edward Hervey  <edward@fluendo.com>
6887
6888         * docs/gst/gstreamer-sections.txt:
6889         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
6890         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6891         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
6892         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
6893         (gst_ghost_pad_new_from_template),
6894         (gst_ghost_pad_new_no_target_from_template):
6895         * gst/gstghostpad.h:
6896         Refactored *_new() functions.
6897         Templates are now used as a g_object_new() parameter.
6898         Use template in _do_getcaps() if we don't have a target.
6899         Small documentation cleanups.
6900         Added two new constructors:
6901         gst_ghost_pad_new_from_template()
6902         gst_ghost_pad_new_no_target_from_template()
6903         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6904         (gst_ghost_pad_suite):
6905         Added tests for new ghostpad instanciation functions.
6906
6907         API additions: gst_ghost_pad_new_from_template,
6908         gst_ghost_pad_new_no_target_from_template
6909
6910 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
6911
6912         * docs/random/ensonic/profiling.txt:
6913           Ideas about qos profiling.
6914
6915 2006-08-29  Wim Taymans  <wim@fluendo.com>
6916
6917         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
6918         Code cleanups.
6919         Fix memleak.
6920
6921 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
6922
6923         * gst/gstxml.c:
6924           Improve and detypofy docs.
6925
6926         * tests/check/Makefile.am:
6927         * tests/check/gst/.cvsignore:
6928         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
6929           Add a basic test suite for GstXML.
6930
6931 2006-08-29  Wim Taymans  <wim@fluendo.com>
6932
6933         * gst/gstelement.c: (activate_pads), (clear_caps),
6934         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6935         Clear the pad caps when the element shut down all of the pads and
6936         is not streaming data that could modify the caps. 
6937         Fixes #352958.
6938
6939 2006-08-28  Michael Smith  <msmith@fluendo.com>
6940
6941         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6942           Revert previous change; I misunderstood single-segment mode.
6943
6944 2006-08-28  Michael Smith  <msmith@fluendo.com>
6945
6946         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6947           Unset DISCONT on buffers when using single-segment mode.
6948
6949 2006-08-28  Wim Taymans  <wim@fluendo.com>
6950
6951         * gst/gstcaps.c: (gst_caps_merge_structure):
6952         * gst/gstcaps.h:
6953         Fix docs and indentation again.
6954
6955         * tests/check/gst/gstquery.c: (GST_START_TEST):
6956         Fix leak in tests and add some more tests.
6957
6958 2006-08-28  Edward Hervey  <edward@fluendo.com>
6959
6960         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6961         Inform GstSegment of the last stop position in order for the current
6962         segment to have a proper duration if it doesn't have a specific stop
6963         position from which a duration could be calculated.
6964         This bug was noticeable when a non-flushing, non-update new segment was
6965         followed by another segment (all buffers from the new segment were being
6966         dropped).
6967
6968 2006-08-28  Wim Taymans  <wim@fluendo.com>
6969
6970         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6971         Small comment update.
6972
6973         * plugins/elements/gstidentity.c: (gst_identity_class_init),
6974         (gst_identity_transform_ip):
6975         Drop-probability is broken, mention this in the code with a 
6976         FIXME and also in the property description.
6977         Make silent also be silent about the drop messages.
6978
6979 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
6980
6981         * docs/manual/appendix-win32.xml:
6982           Remove mention of popt, we don't depend on that any
6983           longer (#353136). Add some comments pointing out that
6984           this section is slightly outdated.
6985
6986 2006-08-28  Wim Taymans  <wim@fluendo.com>
6987
6988         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6989
6990         * gst/gstquery.c: (gst_query_new_segment):
6991         * tests/check/gst/gstquery.c: (GST_START_TEST):
6992         Initialize variables when creating a new segment query.
6993         Fixes #353121.
6994
6995 2006-08-28  Wim Taymans  <wim@fluendo.com>
6996
6997         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6998
6999         * gst/gstelement.c: (gst_element_get_bus):
7000         * tests/check/gst/gstelement.c: (GST_START_TEST):
7001         Check for NULL before _reffing the bus. Fixes #353122.
7002
7003 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
7004
7005         * docs/manual/basics-bus.xml:
7006           Docs update: fix wrong callback return value explanation; add
7007           some lines about the implicit relationship between main loop
7008           and main context; remove duplicate main loop variable declaration.
7009
7010 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
7011
7012         * tests/check/gst/gstcaps.c: (GST_START_TEST):
7013           Don't leak caps in unit test; add a few more simple
7014           checks. 
7015
7016 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
7017
7018         * docs/gst/gstreamer-sections.txt:
7019         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
7020         (gst_caps_structure_is_subset), (gst_caps_merge),
7021         (gst_caps_merge_structure):
7022         * gst/gstcaps.h:
7023         * libs/gst/base/gstbasetransform.c:
7024         (gst_base_transform_transform_caps):
7025         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7026           implement caps merging (fixes #352580)
7027
7028 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
7029
7030         * tools/Makefile.am:
7031         * tools/gst-plot-timeline.py:
7032           add debug-log plotting developer tool (#340674)
7033
7034 2006-08-23  Wim Taymans  <wim@fluendo.com>
7035
7036         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
7037         (gst_pad_stop_task):
7038         Improve debugging for task functions.
7039
7040         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
7041         (gst_task_start), (gst_task_pause), (gst_task_join):
7042         Make sure that the task function started and finished after a 
7043         join(). 
7044         Don't try to push the task function on the threadpool multiple
7045         times.
7046         Improve the g_warning message with some useful suggestions
7047         about how to fix the problem. 
7048
7049 2006-08-23  Wim Taymans  <wim@fluendo.com>
7050
7051         * gst/gstutils.c: (gst_pad_proxy_getcaps):
7052         Handle RESYNC correctly in _proxy_getcaps.
7053
7054 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
7055
7056         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
7057         (gst_xml_parse_memory), (gst_xml_get_element):
7058           Chain up to parent class in dispose function and also
7059           unref the elements in the toplevel_elements GList.
7060           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
7061           Always return a reference in gst_xml_get_element() rather
7062           than only sometimes.
7063
7064         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7065           Don't leak GstXml object.
7066
7067 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
7068
7069         * docs/gst/gstreamer-sections.txt:
7070         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
7071         (gst_caps_merge):
7072         * gst/gstcaps.h:
7073         * libs/gst/base/gstbasetransform.c:
7074         (gst_base_transform_transform_caps):
7075           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
7076           in a better way
7077
7078 2006-08-21  Edward Hervey  <edward@fluendo.com>
7079
7080         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
7081         Implement GObject::dispose virtual method in GstXML so we can free the
7082         top_elements GList.
7083
7084 2006-08-21  Wim Taymans  <wim@fluendo.com>
7085
7086         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
7087         (gst_buffer_create_sub):
7088         Copy duration/offset_end/caps when creating a subbuffer of the
7089         complete parent.
7090         Make the subbuffer read-only when we make the metadata writable for
7091         now. Fixes #351768.
7092
7093         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7094         Added check for metadata copy when creating subbuffers.
7095
7096 2006-08-21  Edward Hervey  <edward@fluendo.com>
7097
7098         * libs/gst/base/gstbasetransform.c:
7099         (gst_base_transform_buffer_alloc):
7100         Only call downstream buffer_alloc if transform element is passthrough
7101         or always_in_place. Closes #350449.
7102
7103 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7104
7105         * ChangeLog:
7106           ChangeLog surgery to add comments to previous changes
7107
7108 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7109
7110         * gst/gst.c:
7111           Add comments
7112
7113         * gst/gstpad.c: (gst_pad_set_active):
7114           Be more verbose in the log
7115
7116         * libs/gst/base/gstbasetransform.c:
7117         (gst_base_transform_transform_caps):
7118           Simplify caps to get rid of duplicates, fixes #345444
7119
7120 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7121
7122         * gst/gstvalue.c:
7123         * gst/gstvalue.h:
7124           Use these optimizations only internally.
7125
7126 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7127
7128         * gst/gstvalue.c: (gst_value_compare_list),
7129         (gst_value_compare_fraction_range),
7130         (gst_value_intersect_fraction_fraction_range),
7131         (gst_value_intersect_fraction_range_fraction_range),
7132         (gst_value_subtract_fraction_fraction_range),
7133         (gst_value_subtract_fraction_range_fraction_range),
7134         (gst_value_get_compare_func), (gst_value_compare),
7135         (gst_value_compare_with_func):
7136         * gst/gstvalue.h:
7137           Saves the expensive lookup of the compare function in many cases
7138          (#345444)
7139
7140 2006-08-18  Edward Hervey  <edward@fluendo.com>
7141
7142         * tests/check/gst/gstinfo.c: (gst_info_suite):
7143         Disable test that require gstdebug if it wasn't built in core.
7144
7145 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7146
7147         * docs/random/ensonic/logging.txt:
7148           update ideas
7149           
7150         * gst/gstinfo.c: (gst_debug_log_default):
7151           reorder fields, save some columns, add optional color codes for log
7152           levels
7153
7154 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7155
7156         * docs/random/ensonic/logging.txt:
7157           add ideas about making the logs a bit more useful
7158
7159 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7160
7161         * docs/pwg/advanced-events.xml:
7162         * docs/pwg/titlepage.xml:
7163           Update for 0.10 API (#340627). Add myself
7164           to authors list.
7165
7166 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7167
7168         * docs/libs/gstreamer-libs-docs.sgml:
7169         * docs/libs/gstreamer-libs-sections.txt:
7170         * libs/gst/check/gstbufferstraw.c:
7171           Make gstcheck stuff show up in docs (still needs to
7172           be documented properly though).
7173
7174 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
7175
7176         * docs/gst/gstreamer-sections.txt:
7177         * gst/Makefile.am:
7178         * gst/gst.c: (init_post):
7179         * gst/gst_private.h:
7180         * gst/gstquark.c: (_priv_gst_quarks_initialize):
7181         * gst/gstquark.h:
7182         * gst/gstquery.c: (gst_query_new_position),
7183         (gst_query_set_position), (gst_query_parse_position),
7184         (gst_query_new_duration), (gst_query_set_duration),
7185         (gst_query_parse_duration), (gst_query_new_convert),
7186         (gst_query_set_convert), (gst_query_parse_convert),
7187         (gst_query_new_segment), (gst_query_set_segment),
7188         (gst_query_parse_segment), (gst_query_new_seeking),
7189         (gst_query_set_seeking), (gst_query_parse_seeking):
7190         Add internal helpers for pre-registering quarks from static strings
7191         and using the quark values directly instead of looking them up when
7192         creating and parsing queries. Can be used for event construction too.
7193         Closes #350432.
7194
7195 2006-08-16  Wim Taymans  <wim@fluendo.com>
7196
7197         * gst/gstbin.c:
7198         Fix bogus docs.
7199
7200 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7201
7202         * gst/gstutils.c: (gst_util_set_value_from_string):
7203           Fix memleak (#351502).
7204
7205         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7206           Add unit test for most of gst_util_set_value_from_string()
7207           (not that one would want to encourage use of this function).
7208
7209 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7210
7211         * libs/gst/check/gstcheck.h:
7212           Use const gchar * variables in fail_unless_equals_string
7213           macro to avoid compiler warnings (and don't use tabs for
7214           indenting).
7215
7216 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7217
7218         * tools/gst-launch.c: (print_tag):
7219           More space on the left for the tag names, to cater
7220           for the 'extended comment' tag (not touching the
7221           string for the first line since it's translated).
7222
7223 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7224
7225         * libs/gst/check/gstcheck.h:
7226           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
7227           print something when they fail.
7228
7229 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7230
7231         * docs/gst/gstreamer-sections.txt:
7232         * gst/gsttaglist.c: (_gst_tag_initialize):
7233         * gst/gsttaglist.h:
7234           API: add GST_TAG_EXTENDED_COMMENT (#350935).
7235           Also change merge function for GST_TAG_COMMENT to
7236           use_first.
7237
7238 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7239
7240         * gst/gstinfo.c: (gst_debug_print_object):
7241           Make GST_PTR_FORMAT print messages as well.
7242
7243         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
7244         (GST_START_TEST), (gst_info_suite):
7245           More tests.
7246
7247 2006-08-14  Edward Hervey  <edward@fluendo.com>
7248
7249         * gst/gstelementfactory.c: (gst_element_register):
7250         If the GstElementClass doesn't have a GstElementDetails with all fields
7251         filled up correctly (longname, description AND author), then error out
7252         nicely instead of crashing.
7253
7254 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7255
7256         * gst/gststructure.c:
7257           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
7258
7259         * gst/gstvalue.h:
7260           Expand on the difference between arrays and lists as we use them.
7261           
7262 2006-08-14  Wim Taymans  <wim@fluendo.com>
7263
7264         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7265         If the parent state change function failed, don't assume we can safely
7266         stop the source, this will be done when the pads are deactivated.
7267
7268 2006-08-14  Wim Taymans  <wim@fluendo.com>
7269
7270         * gst/gstbuffer.c:
7271         * gst/gsttask.c: (gst_task_join):
7272         Small doc updates.
7273
7274         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7275         (gst_pad_stop_task):
7276         When pad (de)activation failed for some reason, restore the old
7277         activation mode and set the pad to flushing instead of assuming the
7278         pad is deactivated.
7279         If the _task_join() failed, reinstall the task on the pad so that it can
7280         be stopped later and return an error.
7281
7282 2006-08-11  Andy Wingo  <wingo@pobox.com>
7283
7284         * configure.ac:
7285         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7286         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
7287         is only for users of API that don't want to see deprecated
7288         functions in the headers; people that want to compile out
7289         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
7290         CFLAGS. Fixes the build of multifdsink, or will soon..
7291
7292 2006-08-11  Wim Taymans  <wim@fluendo.com>
7293
7294         * docs/gst/gstreamer-sections.txt:
7295         Add GstClockClass vmethod docs.
7296
7297         * gst/gstcaps.h:
7298         Mark #endif with comment for associated #if
7299
7300         * gst/gstclock.c: (gst_clock_id_wait):
7301         * gst/gstclock.h:
7302         Add vmethod wait_jitter to avoid an unneeded _get_time() for
7303         most clock implementations.
7304         Document vmethods.
7305         Flesh out docs about resolution methods.
7306         API: GstClockClass::wait_jitter
7307
7308         * gst/gstsystemclock.c: (gst_system_clock_class_init),
7309         (gst_system_clock_async_thread),
7310         (gst_system_clock_id_wait_jitter_unlocked),
7311         (gst_system_clock_id_wait_jitter):
7312         Use base class wait_jitter variant for improved performance
7313         due to less clock polling.
7314
7315 2006-08-11  Edward Hervey  <edward@fluendo.com>
7316
7317         * gst/gst.c: (gst_init_check), (init_post):
7318         Set gst as being initialized before scanning/updating the registry,
7319         since there might be my python plugin loader that calls gst_init() and
7320         we don't want to loop back in.
7321         Closes #350879
7322
7323 2006-08-11  Wim Taymans  <wim@fluendo.com>
7324
7325         * docs/design/part-qos.txt:
7326         Bring docs in line with the code. Mostly the sign of the jitter was
7327         wrong in the docs. Fixes #349943.
7328
7329         * gst/gstclock.c:
7330         Fix the docs for the jitter.
7331
7332         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
7333         (gst_event_parse_tag), (gst_event_new_buffer_size),
7334         (gst_event_parse_buffer_size), (gst_event_parse_qos),
7335         (gst_event_new_seek), (gst_event_parse_seek),
7336         (gst_event_new_navigation):
7337         Make sure the GstStructure has no parent when creating custom
7338         events.
7339         Add some more argument checking so that we avoid 0.0 rates.
7340         Flesh out the docs for the QoS event some more.
7341
7342 2006-08-11  Wim Taymans  <wim@fluendo.com>
7343
7344         * docs/gst/gstreamer-sections.txt:
7345         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7346         (ensure_current_registry_forking), (ensure_current_registry),
7347         (parse_one_option), (parse_goption_arg), (gst_deinit),
7348         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
7349         * gst/gst.h:
7350         Doc updates.
7351         Added API and command line option to disable registry forking in
7352         addition to the environment variable.
7353         Constify some static arrays.
7354         Added some more debug.
7355         Don't deinit twice.
7356         API: gst_registry_fork_is_enabled()
7357         API: gst_registry_fork_set_enabled()
7358         API: --gst-disable-registry-fork command line option
7359         Fixes #348918.
7360
7361 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
7362
7363         * gst/gst.c: (gst_init):
7364           Fix typo in error message.
7365
7366 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7367
7368         * libs/gst/controller/gstcontroller.h:
7369           fix ABI size-correction
7370
7371         * tests/check/libs/gdp.c: (gst_dp_suite):
7372           make tests that use deprecated API conditional
7373
7374 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7375
7376         * docs/libs/gstreamer-libs-sections.txt:
7377         * libs/gst/controller/gstcontroller.c:
7378         (_gst_controller_get_property), (_gst_controller_set_property),
7379         (_gst_controller_init), (_gst_controller_class_init):
7380         * libs/gst/controller/gstcontroller.h:
7381         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
7382         (gst_object_set_control_rate):
7383           API: add gst_object_{s,g}et_control_rate(), add private data section,
7384           fix docs
7385
7386         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7387         * libs/gst/dataprotocol/dataprotocol.h:
7388           add deprecation guards to make gtk-doc happy and allow disabling cruft
7389
7390 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7391
7392         * tests/check/Makefile.am:
7393         * tests/check/gst/.cvsignore:
7394           Let's enable the new unit test as well.
7395
7396 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7397
7398         * configure.ac:
7399         * docs/gst/gstreamer-sections.txt:
7400         * gst/gstconfig.h.in:
7401         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
7402         (_gst_info_printf_extension_ptr),
7403         (_gst_info_printf_extension_segment):
7404           API: add GST_SEGMENT_FORMAT, which is a printf extension we
7405           register that lets us easily dump GstSegments into debug
7406           logs (#350419).
7407
7408         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
7409         (info_segment_format_printf_extension), (gst_info_suite):
7410           Add simple unit test that logs a bunch of different segments (not
7411           valgrinded at the moment because of leaks in
7412           gst_debug_add_log_function).
7413
7414 2006-08-09  Edward Hervey  <edward@fluendo.com>
7415
7416         * libs/gst/base/gstbasetransform.c:
7417         (gst_base_transform_buffer_alloc):
7418         Even if we can't figure out the proper format to request downstream,
7419         call buffer_alloc() downstream with the input parameters without setting
7420         the caps on the srcpad. This will force negotiation in the chain
7421         function.
7422         Closes #350449
7423
7424 2006-08-08  Edward Hervey  <edward@fluendo.com>
7425
7426         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
7427         Unlinking from a pad without a target is now a perfectly valid case
7428         which should NOT raise an assertion.
7429         This case would happen if a linked ghostpad its target set to NULL after
7430         it was previously linked.
7431
7432 2006-08-08  Edward Hervey  <edward@fluendo.com>
7433
7434         * tests/check/libs/gdp.c:
7435         Also comment out the test (see below).
7436
7437 2006-08-08  Edward Hervey  <edward@fluendo.com>
7438
7439         * tests/check/libs/gdp.c: (gst_dp_suite):
7440         Use the architecture information from config.h and not gcc macros
7441         in order to properly disable a test that fails on PPC64.
7442
7443 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
7444
7445         * gst/gstelement.c: (gst_element_remove_pad):
7446           Don't crash printing the warning if the pad has no parent.
7447
7448 2006-08-02  Wim Taymans  <wim@fluendo.com>
7449
7450         * libs/gst/dataprotocol/dataprotocol.c:
7451         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7452         (gst_dp_crc), (gst_dp_header_payload_length),
7453         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
7454         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
7455         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
7456         (gst_dp_event_from_packet), (gst_dp_validate_header),
7457         (gst_dp_validate_payload):
7458         Make debug category static
7459         Constify the crc table.
7460         Do some more arg checking in public functions.
7461         Fix some docs and do some small cleanups.
7462
7463         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
7464         Add some more checks to see if GDP deals with bogus input.
7465
7466 2006-07-31  Wim Taymans  <wim@fluendo.com>
7467
7468         * gst/gstvalue.c: (gst_value_compare_list):
7469         Fix GstValueList comparison code. Fixes #347293.
7470
7471         * tests/check/gst/gstvalue.c: (GST_START_TEST):
7472         Check to test GstValueList comparison.
7473
7474 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7475
7476         * gst/gstelementfactory.c: (gst_element_factory_create):
7477         Remove unnecessary ref/unref pair
7478
7479         * gst/parse/grammar.y:
7480         Make sure to free the parse buffer on all code paths.
7481         Move a g_free up to the error handler where it's easier to see.
7482
7483         * tests/check/gst/gstevent.c: (test_event):
7484         Extending timeout for downstream travelling events to 10 seconds to
7485         hopefully avoid intermittent failure on the buildbots.
7486
7487         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
7488         Don't manually set the state of the src element - it will happen as a
7489         natural consequence of the pipeline changing state, and that way it
7490         will do it in the right order too.
7491
7492 2006-07-31  Wim Taymans  <wim@fluendo.com>
7493
7494         * libs/gst/base/gstbasetransform.c:
7495         (gst_base_transform_buffer_alloc):
7496         Use OBJECT_LOCK and refcounting to get the pad caps in the
7497         buffer_alloc function because the caps could change while we are
7498         busy with them. Fixes #349105
7499
7500 2006-07-31  Wim Taymans  <wim@fluendo.com>
7501
7502         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
7503         Protect _PAD_CAPS with OBJECT_LOCK.
7504
7505 2006-07-31  Wim Taymans  <wim@fluendo.com>
7506
7507         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7508         (gst_pad_get_property), (gst_pad_activate_pull),
7509         (gst_pad_activate_push), (gst_pad_set_blocked_async),
7510         (gst_pad_set_activate_function),
7511         (gst_pad_set_activatepull_function),
7512         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
7513         (gst_pad_set_getrange_function),
7514         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
7515         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7516         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
7517         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
7518         (gst_pad_set_acceptcaps_function),
7519         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7520         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
7521         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
7522         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
7523         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
7524         (gst_pad_configure_sink), (gst_pad_configure_src),
7525         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
7526         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
7527         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
7528         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
7529         (gst_pad_send_event):
7530         Use _DEBUG_OBJECT when it makes sense.
7531         Protect GST_PAD_CAPS with the OBJECT_LOCK.
7532         Small cleanups and code reflows.
7533         Avoid caps refcounting in _accept_caps.
7534         Refactor alloc_buffer so that the code performed on the peer is in a
7535         separate function. Also if the pad does not implement a buffer alloc
7536         function, we should still check if the pad is flushing before falling
7537         back to the default allocator.
7538
7539 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7540
7541         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7542         Make all uses of identity and fakesink have silent=true to avoid
7543         serialising every passing data structure, which is breaking tests
7544         on FC4 for some unknown reason.
7545
7546 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7547
7548         * gst/parse/Makefile.am:
7549         * gst/parse/grammar.y:
7550         * gst/parse/parse.l:
7551           Reverted previous patch as it required to bump the flex dependency to
7552           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
7553
7554 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7555
7556         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
7557
7558         * gst/parse/Makefile.am:
7559         * gst/parse/grammar.y:
7560         * gst/parse/parse.l:
7561           push & pop the state of the lexer for reentrant use case
7562           Fixes #349180
7563
7564 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
7565
7566         * libs/gst/base/gstbasesrc.h:
7567           Note in the docs that the ::newsegment vfunc is not actually used by
7568           GstBaseSrc.
7569
7570 2006-07-28  Wim Taymans  <wim@fluendo.com>
7571
7572         * libs/gst/base/gstcollectpads.c:
7573         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
7574         (gst_collect_pads_clear), (gst_collect_pads_flush),
7575         (gst_collect_pads_event), (gst_collect_pads_chain):
7576         When flushing a pad, also clear the queued buffer so that we don't
7577         accidentally use it when we shouldn't.
7578         Fix leaks by inreffing incomming buffer.
7579         Flush out queued buffers in case of errors.
7580         Fixes #347452.
7581
7582 2006-07-28  Wim Taymans  <wim@fluendo.com>
7583
7584         * docs/random/phonon-gst:
7585         Random notes about a Phonon backend.
7586
7587 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7588
7589         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7590         Extra debug output
7591         * tests/check/libs/gdp.c: (gst_dp_suite):
7592         Take a whack at fixing the ppc compile using a different define to
7593         disable the broken test.
7594
7595         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7596         Remove excess g_print()
7597
7598 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7599
7600         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7601         Oops, meant to uncomment this line too to dampen the noise a bit.
7602
7603 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7604
7605         * gst/parse/grammar.y:
7606         * gst/parse/parse.l:
7607         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7608         (GST_START_TEST), (parse_suite):
7609         Fix some of the leaks exposed by extending the parse-launch testsuite,
7610         and move the 3 I can't figure out into a separate test that won't run
7611         the pipelines unless the appropriate line is uncommented.
7612
7613 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7614
7615         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7616           Requesting 0 bytes before the end of the file should result in
7617           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
7618           unit test.
7619
7620 2006-07-27  Wim Taymans  <wim@fluendo.com>
7621
7622         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
7623         Fix useless assert, a uint is always positive.
7624
7625         * gst/gststructure.c: (gst_structure_nth_field_name),
7626         (gst_structure_foreach), (gst_structure_map_in_place):
7627         Check input arguments for public functions to avoid obvious crashes.
7628
7629         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
7630         * plugins/elements/gstfakesink.h:
7631         Do less useless typechecking.
7632
7633 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7634
7635         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7636           Do not use mmap() by default since there are a number of error
7637           conditions that we would like to handle in a non-fatal way that
7638           will result in a SIGBUS if we use mmap(). Examples: external
7639           devices (USB harddrive, portable music player) being unplugged
7640           while in use; file on mounted CD/DVD that can't be read because
7641           the medium is partly damaged. Fixes #348455 and #348475.
7642
7643 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7644
7645         * gst/gstquery.h:
7646         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
7647         rates are a gdouble
7648
7649 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
7650
7651         * gst/gstregistry.c:
7652           Move big documentation comment into class section header, so that it
7653           appears in the API docs.
7654
7655 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7656
7657         * docs/gst/gstreamer-sections.txt:
7658         Oops. Commit the docs additions too for new API.
7659         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
7660
7661 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7662
7663         * gst/gststructure.c: (gst_structure_id_set),
7664         (gst_structure_id_set_valist):
7665         * gst/gststructure.h:
7666         Add API for setting values into structures without performing
7667         a quark lookup, if the appropriate quark is already known.
7668
7669         API: gst_structure_id_set
7670         API: gst_structure_id_set_valist
7671
7672         * gst/parse/grammar.y:
7673         * gst/parse/parse.l:
7674         Remove some dead code shown by the coverage information.
7675         Don't throw a critical g_warning when encountering a syntax error,
7676         just warn and let the normal error path handle it.
7677
7678         * plugins/elements/gstelements.c:
7679         Bump the rank of filesink up to PRIMARY so that it is preferred over
7680         gnomevfssink for file:// sink uri's
7681
7682         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7683         (GST_START_TEST), (run_delayed_test),
7684         (gst_parse_test_element_base_init),
7685         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
7686         (gst_parse_test_element_change_state),
7687         (gst_register_parse_element), (parse_suite):
7688         Beef up the tests for parse syntax to check that more error cases
7689         fail as they are supposed to. Increases the test coverage a bit.
7690
7691 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7692
7693         * docs/manual/basics-elements.xml:
7694           Fix gst_element_link() example.
7695
7696         * gst/gstutils.c:
7697           Mention in API docs that one should usually gst_bin_add()
7698           elements to a bin or pipeline before doing the linking.
7699           
7700 2006-07-26  Wim Taymans  <wim@fluendo.com>
7701
7702         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
7703         (gst_subbuffer_get_type), (gst_buffer_create_sub):
7704         Avoid function call for known types by keeping the buffer and
7705         subbuffer GType global.
7706
7707         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7708         Random silly optimisations in read() path.
7709
7710 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7711
7712         * tools/gst-launch.c: (main):
7713           If the top-level of the parse is a normal bin, it doesn't do the
7714           right logic to run as a top-level element, so place it inside a
7715           pipeline.
7716
7717 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7718
7719         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
7720           Remove superfluous g_object_notify() calls, GObject does
7721           that for us automatically.
7722
7723 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
7724
7725         * gst/gstinfo.h:
7726           on Win32, use dllspec to export the debug category symbols
7727
7728 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
7729
7730         * gst/gsttaglist.c: (_gst_tag_initialize):
7731           Allow more than one GST_TAG_IMAGE per taglist.
7732
7733 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7734
7735         * gst/gstminiobject.c:
7736           update docs
7737         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
7738         (gst_fd_src_create):
7739           log recurring events at LOG level
7740           add more debug for when the fd gets set
7741
7742 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
7743
7744         * gst/gstparse.c: (gst_parse_launch):
7745           Also remove reentrance checks if flex is MT safe (#348179)
7746          Fix my empty ChangeLog entry below
7747
7748 2006-07-21  Andy Wingo  <wingo@pobox.com>
7749
7750         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
7751
7752         * libs/gst/check/Makefile.am
7753         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
7754         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
7755         * libs/gst/check/gstbufferstraw.h:
7756         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
7757         functions, thus proving I am still a GStreamer haxor. OK I wrote
7758         them a long time ago, but anyways.
7759
7760 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
7761
7762         * configure.ac:
7763         * gst/gstparse.c: (gst_parse_launch):
7764           Check for flex version and omit mutex if we have a MT save flex
7765           (fixes #348179)
7766
7767 2006-07-21  Wim Taymans  <wim@fluendo.com>
7768
7769         * gst/gstparse.c: (gst_parse_launch):
7770         Protect recursive calls to _parse with a recursive mutex
7771         and busy flag.
7772
7773 2006-07-21  Wim Taymans  <wim@fluendo.com>
7774
7775         * tests/check/gst/gstpad.c: (GST_START_TEST):
7776         Fix leak in test.
7777
7778 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
7779
7780         * gst/gstparse.c: (gst_parse_launch):
7781           Do not hang on recursive usage of gst_parse_launch()
7782
7783 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
7784
7785         * gst/gsttaglist.c:
7786           Add some more docs, comments and FIXME 0.11s here and there
7787           and also fix some typos.
7788
7789 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
7790
7791         * gst/gstsegment.h:
7792           Convert tabs to spaces for better readability. 
7793
7794 2006-07-20  Edward Hervey  <edward@fluendo.com>
7795
7796         * tests/check/libs/gdp.c: (gst_dp_suite):
7797         the test_buffer test fails at line 140 on ppc64 at the following
7798         check:
7799         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
7800                 GST_BUFFER_FLAG_IN_CAPS),
7801                 "GST_BUFFER_IN_CAPS flag should have been copied !");
7802         See bug #348114 for more details.
7803
7804 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
7805
7806         * docs/pwg/advanced-scheduling.xml:
7807         * gst/gstpad.c:
7808           Fix typos (#348000).
7809
7810 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
7811
7812         * docs/pwg/intro-basics.xml:
7813           Fix wrong links (#347927).
7814
7815 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
7816
7817         * gst/gstregistry.h:
7818         * gst/gstregistryxml.c: (load_feature),
7819         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
7820         * win32/common/config.h:
7821           make --disable-index work (#342564)
7822
7823 2006-07-18  Wim Taymans  <wim@fluendo.com>
7824
7825         Patch by: Peter Kjellerstedt <pkj at axis dot com>
7826
7827         * gst/Makefile.am:
7828         * gst/gsttrace.h:
7829         The attached patch adds two missing defines to gsttrace.h when tracing
7830         is disabled.  It also corrects one existing define.
7831         Fixes #347756.
7832
7833 2006-07-17  Wim Taymans  <wim@fluendo.com>
7834
7835         * docs/gst/gstreamer-sections.txt:
7836         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
7837         * gst/gst.h:
7838         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
7839         Add two functions to check and change the SIGSEGV behaviour
7840         when loading plugins.
7841         Don't mess with the SIGSEGV handler when we were told not to.
7842         Fixes #347794.
7843         API: gst_segtrap_is_enabled
7844         API: gst_segtrap_set_enabled
7845
7846 2006-07-14  Wim Taymans  <wim@fluendo.com>
7847
7848         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7849         * tests/check/elements/filesrc.c: (GST_START_TEST):
7850         Revert fix for regression in #347408 after release.
7851
7852 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
7853
7854         Patch by: Antoine Tremblay <hexa00 at gmail com>
7855
7856         * gst/gstutils.c: (gst_element_unlink):
7857           Free iterator when done (#347311).
7858
7859         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7860           And add a test case for this.
7861
7862 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
7863
7864         * configure.ac:
7865         Bump nano back to CVS
7866
7867 === release 0.10.9 ===
7868
7869 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
7870
7871         * configure.ac:
7872           releasing 0.10.9, "On the road again"
7873
7874 2006-07-13  Wim Taymans  <wim@fluendo.com>
7875
7876         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7877         * tests/check/elements/filesrc.c: (GST_START_TEST):
7878         Revert pull-0 fix for release. Disable check. Fixes #347408.
7879
7880 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7881
7882         * libs/gst/dataprotocol/dataprotocol.c:
7883         (gst_dp_event_from_packet_1_0):
7884           Fixes #347337: failure to deserialize event packets with
7885           empty payload (only event type)
7886
7887 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7888
7889         * gst/Makefile.am:
7890           do not install a .c file in the header directory
7891
7892 2006-07-13  Edward Hervey  <edward@fluendo.com>
7893
7894         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
7895         GhostPad no longer implicitely use the padtemplates of the targets.
7896         Fixes #347384
7897
7898 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
7899
7900         * gst/gstvalue.c: (gst_value_compare_list),
7901         (gst_value_compare_array), (_gst_value_initialize):
7902         * tests/check/gst/gstvalue.c: (GST_START_TEST):
7903         Make GstValueArray comparison be order dependent as designed.
7904         Add checks for value lists and value array comparisons.
7905         Fixes #347221
7906
7907 2006-07-11  Edward Hervey  <edward@fluendo.com>
7908
7909         * gst/gstbin.c: (activate_pads),
7910         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
7911         (gst_bin_change_state_func):
7912         (de)activate src pads before calling state_change on the childs.
7913         This is to avoid the case where a src ghostpad is blocked (holding the
7914         stream lock), which would block the deactivation of the ghostpad's
7915         target pad.
7916         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
7917         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
7918         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
7919         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7920         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7921         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7922         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7923         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
7924         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
7925         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7926         (gst_ghost_pad_class_init),
7927         (gst_ghost_pad_internal_do_activate_push),
7928         (gst_ghost_pad_internal_do_activate_pull),
7929         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7930         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7931         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
7932         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
7933         GhostPads now create their internal GstProxyPad at creation (and not
7934         when they're linked, as it was being done previously).
7935         The internal and target pads are linked straight away.
7936         The data will also travel through the other pad in order to make
7937         pad blocking and probes non-hackish (the probe/block now really happens
7938         on the GhostPad and not on the target).
7939         * gst/gstpad.c: (gst_pad_set_blocked_async),
7940         (gst_pad_link_prepare), (gst_pad_push_event):
7941         Remove previous ghostpad cruft.
7942         * gst/gstutils.c: (gst_pad_add_data_probe),
7943         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7944         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7945         (gst_pad_remove_buffer_probe):
7946         Remove previous ghost pad cruft.
7947         Added more detailed debug statements.
7948         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7949         Fix the testsuite for refcounting changes.
7950         The comments about who has references were correct, but the refcount
7951         being checked wasn't the same (!?!).
7952
7953         Fixes #341029
7954
7955 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
7956
7957         * docs/gst/gstreamer-sections.txt:
7958         * gst/gstconfig.h.in:
7959         More docs for configuration options, add docs to gtk-doc.
7960
7961 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
7962
7963         * gst/Makefile.am:
7964         * gst/gstconfig.h.in:
7965         * win32/common/config.h:
7966         Fix build when disabling tracing (fixes #344016). Also start to document
7967         the defines that disable the sub-systems.
7968
7969 2006-07-10  Edward Hervey  <edward@fluendo.com>
7970
7971         * gst/gst.c: (ensure_current_registry_forking):
7972         let's make valgrind happy...
7973
7974 2006-07-09  Wim Taymans  <wim@fluendo.com>
7975
7976         * gst/gstelement.c: (activate_pads),
7977         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7978         Better pad activation code: Reset the collect value too on resync.
7979         Add some comments.
7980
7981 2006-07-09  Wim Taymans  <wim@fluendo.com>
7982
7983         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
7984         (gst_pad_activate_push):
7985         Use some more macros where it makes sense.
7986         Allow pad mode switching instead of asserting. When a pad
7987         is activated in one mode and we activate it in another, 
7988         deactivate it first before activating it in a different mode.
7989         Fixes #329198.
7990
7991 2006-07-08  Andy Wingo  <wingo@pobox.com>
7992
7993         * tools/gst-launch.c (main): Handle err == NULL.
7994
7995         * gst/gst.c (init_post, ensure_current_registry)
7996         (ensure_current_registry_forking)
7997         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
7998         factoring out the registry scanning into separate functions. Don't
7999         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
8000         Better environment var name/interface suggestions accepted.
8001
8002 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8003
8004         * gst/gstobject.c: (gst_object_set_name_default),
8005         (gst_object_set_name):
8006           Random micro-optimisation: don't use a hash table
8007           with strings as keys and the usual strdup/strcmp
8008           involved, but rather just use the GQuark of the
8009           type name as key, since it needs to be looked up
8010           anyway to get the type name string.
8011
8012         * tests/check/gst/gstobject.c: (GST_START_TEST):
8013           Fix various leaks.
8014
8015 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8016
8017         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
8018         (gst_bin_iterate_all_by_interface):
8019           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
8020           GTypes are gulongs and thus the top 4 bytes might be cut
8021           off on some platforms when doing GPOINTER_TO_INT, leading
8022           to invalid GTypes and bad things happening (see RH bug #179654).
8023           Also add a check to make sure the type passed in is really
8024           an interface type.
8025
8026 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8027
8028         * .cvsignore:
8029           Ignore more.
8030
8031 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8032
8033         * Makefile.am:
8034         * configure.ac:
8035         * gst-element-check.m4:
8036         * gst-element-check.m4.in:
8037           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
8038           instead of the unversioned gst-inspect (#324176, #168659).
8039
8040 2006-07-06  Wim Taymans  <wim@fluendo.com>
8041
8042         * gst/gstmessage.h:
8043         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
8044         warnings.
8045
8046 2006-07-06  Wim Taymans  <wim@fluendo.com>
8047
8048         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8049         (gst_base_src_wait), (gst_base_src_update_length),
8050         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
8051         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
8052         (gst_base_src_loop), (gst_base_src_start),
8053         (gst_base_src_activate_pull):
8054         Update docs.
8055         blocksize == 0 now means the default blocksize when working in push
8056         based mode.
8057         Remove some pointless asserts in _wait function.
8058         Fix offset/length calculations and EOS handling. We can now pull 0
8059         bytes as well, which is allowed.
8060         use _check_get_range() to decide if we can operate in _pull based
8061         mode.
8062         Fix refcounting leak when check_get_range function was not 
8063         implemented.
8064         API GstBaseSrc::blocksize range can be 0 too now (default)
8065
8066         * tests/check/elements/filesrc.c: (GST_START_TEST),
8067         (filesrc_suite):
8068         Added check to test _get_range() behaviour.
8069
8070 2006-07-06  Wim Taymans  <wim@fluendo.com>
8071
8072         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8073         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
8074         (gst_pad_pull_range):
8075         * gst/gstpad.h:
8076         Lots of comments and docs added to the pad functions.
8077         Flesh out the expected behaviour of the get_range() functions.
8078
8079 2006-07-06  Wim Taymans  <wim@fluendo.com>
8080
8081         * gst/gstbus.h:
8082         * gst/gstclock.h:
8083         * gst/gstevent.h:
8084         * gst/gstiterator.h:
8085         * gst/gstpad.h:
8086         * gst/gstplugin.h:
8087         * gst/gsttask.h:
8088         Remove comma at end of enumerator list. 
8089
8090 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
8091
8092         * win32/common/libgstbase.def:
8093         * win32/common/libgstdataprotocol.def:
8094         * win32/common/libsgtreamer.def:
8095         Add new exported functions.
8096
8097 2006-07-05  Wim Taymans  <wim@fluendo.com>
8098
8099         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
8100         Add some more docs here and there.
8101
8102 2006-07-05  Wim Taymans  <wim@fluendo.com>
8103
8104         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
8105         (gst_base_sink_loop), (gst_base_sink_get_position):
8106         When operating in pull mode update the offset so that we
8107         read sequentially.
8108
8109 2006-07-05  Wim Taymans  <wim@fluendo.com>
8110
8111         * gst/gstregistryxml.c: (read_string):
8112         Avoid strdup. (will happen in libxml, but hey!)
8113
8114         * gst/gsturi.c:
8115         Add some more docs.
8116
8117 2006-07-05  Wim Taymans  <wim@fluendo.com>
8118
8119         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
8120         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8121         (gst_buffer_suite):
8122         No point in checking if the size of the subbuffer > 0, the
8123         code handles it correclty as demonstrated by unit test.
8124         Also add a unit test for the zero sized _new_and_alloc and
8125         _copy. Fixes #346663.
8126
8127 2006-07-05  Wim Taymans  <wim@fluendo.com>
8128
8129         * libs/gst/base/gstbasetransform.c:
8130         (gst_base_transform_prepare_output_buffer),
8131         (gst_base_transform_buffer_alloc),
8132         (gst_base_transform_handle_buffer):
8133         Make sure the buffer we pass to transform_ip has a refcount of
8134         1 and thus is writable. Fixes #343196
8135
8136 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
8137
8138         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8139         (gst_file_src_init), (gst_file_src_set_property),
8140         (gst_file_src_get_property), (gst_file_src_map_region):
8141         * plugins/elements/gstfilesrc.h:
8142         Add "sequential" property, off by default, to use madvise and hint
8143         to the kernel that sequential access is desired.
8144         Touch all retrieved pages by default to ensure they are pulled
8145         into memory. (Closes #345720)
8146
8147 2006-07-03  Wim Taymans  <wim@fluendo.com>
8148
8149         * docs/design/part-block.txt:
8150         * docs/design/part-dynamic.txt:
8151         Small docs updates.
8152
8153 2006-07-03  Wim Taymans  <wim@fluendo.com>
8154
8155         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
8156         (gst_caps_unref), (gst_static_caps_get),
8157         (gst_caps_append_structure):
8158         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
8159         Use GSlice when the glib we build against is >= 2.10
8160
8161 2006-07-03  Wim Taymans  <wim@fluendo.com>
8162
8163         * gst/gstelement.c: (gst_element_pads_activate):
8164         Small cleanup in pad activation code.
8165
8166 2006-07-03  Wim Taymans  <wim@fluendo.com>
8167
8168         Patch by: Peter Kjellerstedt <pkj at axis dot com>
8169
8170         * gst/gst-i18n-app.h:
8171         * gst/gst-i18n-lib.h:
8172         * tools/gst-inspect.c: (print_signal_info):
8173         The attached patch will make the inclusion of gettext.h unconditional in
8174         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
8175         libintl.h in tools/gst-inspect.c.
8176         This allows use of --disable-nls again and fixes #344642.
8177
8178 2006-07-03  Edward Hervey  <edward@fluendo.com>
8179
8180         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
8181         Implement pad blocking on events according to part-block.txt.
8182         More comments on behaviour.
8183         * tests/check/gst/gstevent.c: (test_event):
8184         Send event to peer pad of blocked pad (else it will block).
8185
8186 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8187
8188         * libs/gst/check/gstcheck.c: (gst_check_message_error),
8189         (gst_check_run_suite):
8190           if we get the wrong message, give us the types as string
8191         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8192           Fix a translatable
8193         * tests/check/elements/filesrc.c: (GST_START_TEST):
8194           add a test for trying to open a non-existing file
8195
8196 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8197
8198         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8199           add a test for adding self
8200
8201 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8202
8203         * libs/gst/check/gstcheck.h:
8204           add some assert_ as alias for fail_unless_*
8205         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
8206           increase test coverage
8207
8208 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8209
8210         * Makefile.am:
8211           include lcov.mak for lcov coverage generation
8212         * tools/Makefile.am:
8213           add to CLEANFILES
8214
8215 2006-07-02  Edward Hervey  <edward@fluendo.com>
8216
8217         * tests/check/elements/.cvsignore:
8218         moaping
8219
8220 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8221
8222         * configure.ac:
8223           don't set CFLAGS and friends for gcov, done from GST_GCOV now
8224         * tests/check/Makefile.am:
8225           clean up gcov files
8226
8227 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8228
8229         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
8230           remove gst_caps_simplify; it was not declared and not used
8231           and deprecated in 0.8
8232
8233 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8234
8235         * docs/faq/gst-uninstalled:
8236           don't put empty paths on PYTHONPATH
8237         * docs/gst/gstreamer-sections.txt:
8238           remove some symbols that are not there
8239
8240 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8241
8242         * gst/gstcaps.c: (gst_caps_compare_structures):
8243           whitespace fixes
8244         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8245         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8246           add more tests
8247
8248 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8249
8250         * libs/gst/dataprotocol/Makefile.am:
8251           build dataprotocol test by linking to the lib, instead of
8252           compiling the source, so we get coverage
8253         * tests/check/Makefile.am:
8254         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
8255         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
8256           add a test for filesrc
8257
8258 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8259
8260         * tests/check/gst/gststructure.c: (GST_START_TEST),
8261         (gst_structure_suite):
8262           Push coverage from 59.04% to 70.00%
8263
8264 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8265
8266         * tests/check/Makefile.am:
8267           gst-inspect every element; this makes sure that we also get
8268           coverage on element's get/set functions
8269
8270 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8271
8272         * configure.ac:
8273           set CFLAGS and friends to -O0 if gcov is being used
8274           add GCOV LIBS
8275         * gst/Makefile.am:
8276         * libs/gst/base/Makefile.am:
8277         * libs/gst/check/Makefile.am:
8278         * libs/gst/controller/Makefile.am:
8279         * libs/gst/dataprotocol/Makefile.am:
8280         * libs/gst/net/Makefile.am:
8281         * plugins/elements/Makefile.am:
8282         * plugins/indexers/Makefile.am:
8283           add makefile rules to generate gcov data and clean up
8284         * tests/check/Makefile.am:
8285           add a coverage target that generates an html overview
8286           of coverage data
8287
8288 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8289
8290         * tests/check/elements/fakesink.c:
8291         * tests/check/elements/fakesrc.c:
8292         * tests/check/elements/fdsrc.c:
8293         * tests/check/elements/identity.c:
8294         * tests/check/generic/sinks.c: (gst_sinks_suite):
8295         * tests/check/generic/states.c:
8296         * tests/check/gst/gst.c:
8297         * tests/check/gst/gstabi.c:
8298         * tests/check/gst/gstbin.c:
8299         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
8300         * tests/check/gst/gstbus.c: (gst_bus_suite):
8301         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8302         * tests/check/gst/gstelement.c:
8303         * tests/check/gst/gstevent.c: (gst_event_suite):
8304         * tests/check/gst/gstghostpad.c:
8305         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
8306         * tests/check/gst/gstmessage.c: (gst_message_suite):
8307         * tests/check/gst/gstminiobject.c:
8308         * tests/check/gst/gstobject.c:
8309         * tests/check/gst/gstpad.c:
8310         * tests/check/gst/gstpipeline.c:
8311         * tests/check/gst/gstplugin.c:
8312         * tests/check/gst/gstquery.c: (gst_query_suite):
8313         * tests/check/gst/gstsegment.c: (gst_segment_suite):
8314         * tests/check/gst/gststructure.c:
8315         * tests/check/gst/gstsystemclock.c:
8316         * tests/check/gst/gsttag.c:
8317         * tests/check/gst/gsttask.c: (gst_task_suite):
8318         * tests/check/gst/gstutils.c:
8319         * tests/check/gst/gstvalue.c:
8320         * tests/check/libs/adapter.c:
8321         * tests/check/libs/basesrc.c:
8322         * tests/check/libs/collectpads.c:
8323         * tests/check/libs/controller.c:
8324         * tests/check/libs/gdp.c: (gst_dp_suite):
8325         * tests/check/libs/gstnetclientclock.c:
8326         * tests/check/libs/gstnettimeprovider.c:
8327         * tests/check/libs/libsabi.c: (libsabi_suite):
8328         * tests/check/libs/typefindhelper.c:
8329         * tests/check/pipelines/cleanup.c:
8330         * tests/check/pipelines/parse-launch.c:
8331         * tests/check/pipelines/simple-launch-lines.c:
8332         * tests/check/pipelines/stress.c: (stress_suite):
8333           use the new macro
8334
8335 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8336
8337         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
8338         * libs/gst/check/gstcheck.h:
8339           create a macro and function so that the simple unit test
8340           case can be just one macro to create main()
8341
8342 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
8343
8344         * gst/gstbin.c: (gst_bin_restore_thyself):
8345         * gst/gstxml.c: (gst_xml_make_element):
8346           Fix deserialisation from XML. Set parent manually
8347           instead of using gst_bin_add(), since gst_bin_add()
8348           will unlink all pads of the element being added.
8349           Fixes #341667.
8350
8351 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
8352
8353         Patch by: Peter Kjellerstedt <pkj at axis com>
8354
8355         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
8356           Fix missing g_strdup() and double free when using the
8357           --gst-plugin-load command line option (#346097).
8358
8359 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8360
8361         * gst/gstinfo.c:
8362           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
8363
8364         * libs/gst/net/gstnetclientclock.c:
8365         * libs/gst/net/gstnettimeprovider.c:
8366           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
8367
8368 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8369
8370         * docs/manual/advanced-dataaccess.xml:
8371           Fix buffer probe example compilation in
8372           ADM (#345708).
8373         
8374 2006-06-22  Edward Hervey  <edward@fluendo.com>
8375
8376         * gst/gstelement.c: (gst_element_pads_activate):
8377         We need to deactivate src pads first and then sink pads.
8378         The reason is the src pads might be blocking while holding the streaming
8379         lock, so we need to deactivate them first so that deactivating the sink
8380         pads doesn't block (since it will require the streaming lock).
8381
8382 2006-06-22  Wim Taymans  <wim@fluendo.com>
8383
8384         * libs/gst/base/gstbasetransform.c:
8385         (gst_base_transform_buffer_alloc):
8386         Forgot to remove two unneeded unrefs.
8387         Simplify a check _is_equal allready checks the obvious case.
8388
8389 2006-06-22  Wim Taymans  <wim@fluendo.com>
8390
8391         * docs/design/part-block.txt:
8392         Some docs about what pad_block should do.
8393
8394 2006-06-22  Wim Taymans  <wim@fluendo.com>
8395
8396         * gst/gstcaps.c: (gst_caps_replace):
8397         Fix crasher when passed NULL. Doc clarification.
8398         Optimize for the trivial case.
8399
8400         * gst/gstpipeline.c: (gst_pipeline_change_state):
8401         Small cleanups.
8402
8403         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8404         Small documentation cleanup.
8405
8406         * libs/gst/base/gstbasetransform.c:
8407         (gst_base_transform_buffer_alloc):
8408         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
8409         is what we need and it avoids a whole lot of redundant 
8410         refcount operations.
8411
8412 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
8413
8414         Patch by: Philip Jägenstedt  <philip at lysator liu se>
8415
8416         * docs/manual/advanced-dataaccess.xml:
8417           Fix 'Embedding static elements' section to use
8418           GST_PLUGIN_DEFINE_STATIC (#345607).
8419
8420 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8421
8422         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
8423           Attempt to 'fix' spuriously failing test case: it seems like the
8424           timeout of half a second is simply too small when the system is under
8425           load otherwise, and the timeout doesn't really seem to serve any
8426           particular purpose here. Give the pipeline a few seconds to preroll
8427           first, and then give it another half a second to go from PAUSED to
8428           PLAYING and marshal the message into the main thread.
8429
8430 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8431
8432         * tools/gst-feedback-m.m:
8433           Don't only use unversioned tools, try versioned tools as well
8434           (#345086).
8435
8436 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8437
8438         * gst/gstbus.c: (gst_bus_class_init):
8439           Fix some typos, make docs more explicit.
8440
8441 2006-06-20  Wim Taymans  <wim@fluendo.com>
8442
8443         * tests/check/gst/gstghostpad.c: (block_callback),
8444         (GST_START_TEST), (gst_ghost_pad_suite):
8445         Added some more ghostpad tests, mainly blocking
8446         and probes.
8447
8448 2006-06-16  Wim Taymans  <wim@fluendo.com>
8449
8450         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8451         (gst_file_sink_close_file), (gst_file_sink_do_seek),
8452         (gst_file_sink_event), (gst_file_sink_render):
8453         * plugins/elements/gstfilesink.h:
8454         Check if we can seek in the file instead of assuming
8455         we always can. Post an error when we are asked to seek in a
8456         non-seekable file (like a fifo). Fixes #343312.
8457         Some cleanups.
8458
8459 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8460
8461         * tools/gst-launch.1.in:
8462           Un-garble (fourcc) bit in filtered caps section.
8463
8464 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8465
8466         * docs/manual/advanced-autoplugging.xml:
8467         * docs/manual/basics-helloworld.xml:
8468         * docs/manual/highlevel-components.xml:
8469           Don't leak bus reference in sample code.
8470
8471 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
8472
8473         * autogen.sh:
8474           Add default for new --enable-plugin-docs switch.
8475
8476         * configure.ac:
8477           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
8478           Fixes #344039.
8479
8480         * docs/Makefile.am:
8481           Use new ENABLE_PLUGIN_DOCS conditional.
8482
8483 2006-06-14  Wim Taymans  <wim@fluendo.com>
8484
8485         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
8486         Make it clear with a FIXME and a real define what the #if 0
8487         previously disabled.
8488
8489 2006-06-14  Wim Taymans  <wim@fluendo.com>
8490
8491         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8492         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8493         * libs/gst/base/gstbasetransform.c:
8494         (gst_base_transform_sink_eventfunc):
8495         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8496         Don't randomly and silently reset a segment when the format 
8497         changes as this is a bug somewhere upstream. Fixes #330379.
8498
8499 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8500
8501         Patch by: Wouter Paesen  <wouter at kangaroot net>
8502
8503         * libs/gst/controller/gstcontroller.c:
8504         (gst_controlled_property_new):
8505           Fix controlling of float properties (#344849).
8506
8507         * tests/check/libs/controller.c:
8508         (gst_test_mono_source_get_property),
8509         (gst_test_mono_source_set_property),
8510         (gst_test_mono_source_class_init), (GST_START_TEST):
8511           While we're at it, add some float stuff to unit test.
8512
8513 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8514
8515         * docs/README:
8516         * docs/images/gdp-header.svg:
8517           add a gdp image
8518         * docs/libs/Makefile.am:
8519         * docs/libs/gdp-header.png:
8520         * libs/gst/dataprotocol/dataprotocol.c:
8521           add it to the API docs
8522         * docs/manual/intro-motivation.xml:
8523           fix typo
8524
8525 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8526
8527         * gst/gst.c: (scan_and_update_registry), (init_post):
8528           If the fork()'ed child process can't write the updated registry cache
8529           file to disk for some reason, make it exit with a failure exit code,
8530           so that the parent can then re-scan the plugins itself and update the
8531           registry structures in memory and work with that (rather than failing
8532           when creating elements because seemingly no plugins are available).
8533           Refactor registry scanning code into separate function for this and
8534           also separate fork() and non-fork() code paths. Fixes #344748.
8535
8536 2006-06-13  Wim Taymans  <wim@fluendo.com>
8537
8538         * docs/manual/advanced-dataaccess.xml:
8539         Fix wrong PluginDesc. Fixes #344755.
8540
8541 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8542
8543         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8544           Fix silly bug that prevented us from creating
8545           ~/.gstreamer-0.10 and writing the registry in one
8546           go (the first call to g_mkstemp() would overwrite the
8547           placeholder in the template string, so the second call
8548           to g_mkstemp() after creating the missing directory
8549           would then error out with 'invalid argument').
8550
8551 2006-06-13  Edward Hervey  <edward@fluendo.com>
8552
8553         * gst/gst.c: (init_post):
8554         Free string.
8555
8556 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8557
8558         * gst/glib-compat-private.h:
8559         * gst/glib-compat.c:
8560         * gst/glib-compat.h:
8561         * gst/gstvalue.c: (gst_value_serialize_flags):
8562           remove GLib 2.6 compatibility code
8563
8564 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
8565
8566         * gst/parse/Makefile.am:
8567           Fix build with 'make -j N' even more (#340016).
8568
8569 2006-06-12  Wim Taymans  <wim@fluendo.com>
8570
8571         * docs/gst/gstreamer-sections.txt:
8572         Fix docs.
8573
8574 2006-06-12  Wim Taymans  <wim@fluendo.com>
8575
8576         * gst/gstsegment.c: (gst_segment_set_duration),
8577         (gst_segment_set_last_stop), (gst_segment_set_seek),
8578         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8579         (gst_segment_to_running_time), (gst_segment_clip):
8580         Use G_UNLIKELY to help the compiler a bit.
8581
8582 2006-06-12  Wim Taymans  <wim@fluendo.com>
8583
8584         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8585
8586         * gst/gstevent.c: (gst_event_get_type):
8587         * gst/gstmessage.c:
8588         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8589         (gst_pad_push):
8590         constify quark registration strings. Fixes #344115
8591         Avoid unneeded type checking is _pad_push() by internally
8592         calling gst_pad_chain_unchecked().
8593
8594 2006-06-12  Wim Taymans  <wim@fluendo.com>
8595
8596         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
8597         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
8598         (gst_subbuffer_finalize), (gst_buffer_create_sub),
8599         (gst_buffer_is_span_fast), (gst_buffer_span):
8600         Init _type for consistency.
8601         Use _FLAGS macro to avoid type check.
8602         Avoid unneeded type checks in subbufer code.
8603
8604 2006-06-12  Wim Taymans  <wim@fluendo.com>
8605
8606         * gst/gst.c: (gst_debug_help):
8607         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
8608         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8609         (gst_plugin_feature_list_free):
8610         * gst/gstregistry.c: (gst_registry_add_plugin),
8611         (gst_registry_add_feature), (gst_registry_plugin_filter),
8612         (gst_registry_feature_filter), (gst_registry_find_plugin),
8613         (gst_registry_find_feature), (gst_registry_get_plugin_list),
8614         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
8615         * gst/gstregistryxml.c: (load_feature),
8616         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
8617         * gst/gstminiobject.c: (gst_mini_object_unref),
8618         (gst_mini_object_replace), (gst_value_mini_object_free),
8619         (gst_value_mini_object_copy):
8620         Use _CAST macros to avoid unneeded type checking.
8621         Added some more G_UNLIKELY.
8622
8623 2006-06-12  Wim Taymans  <wim@fluendo.com>
8624
8625         * gst/gstbuffer.h:
8626         Avoid unneeded type checking.
8627         API: GST_BUFFER_IS_DISCONT
8628
8629         * gst/gstminiobject.h:
8630         Avoid type check in flag accessor.
8631
8632         * gst/gstelementfactory.h:
8633         * gst/gstplugin.h:
8634         * gst/gstpluginfeature.h:
8635         Add _CAST macros.
8636         API: GST_ELEMENT_FACTORY_CAST
8637         API: GST_PLUGIN_CAST
8638         API: GST_PLUGIN_FEATURE_CAST
8639
8640 2006-06-12  Wim Taymans  <wim@fluendo.com>
8641
8642         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
8643         (gst_object_unref):
8644         Add G_UNLIKELY in type registration.
8645         Avoid type check in _ref/_unref since that is also
8646         done in glib.
8647
8648 2006-06-12  Wim Taymans  <wim@fluendo.com>
8649
8650         * gst/gsterror.c: (gst_g_error_get_type):
8651         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
8652         (gst_static_pad_template_get_type):
8653         * gst/gsttaglist.c: (gst_tag_list_get_type):
8654         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
8655         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
8656         * gst/gsturi.c: (gst_uri_handler_get_type):
8657         * gst/gstvalue.c: (gst_date_get_type):
8658         * gst/gstxml.c: (gst_xml_get_type):
8659         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
8660         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8661         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
8662         Add G_UNLIKELY in type registration.
8663
8664 2006-06-12  Wim Taymans  <wim@fluendo.com>
8665
8666         * tools/gst-inspect.c: (print_signal_info):
8667         Properly print enum values.
8668
8669 2006-06-12  Wim Taymans  <wim@fluendo.com>
8670
8671         * gst/gstinfo.c: (gst_debug_set_active),
8672         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
8673         * gst/gstinfo.h:
8674         Add some G_[UN]LIKELY.
8675         Maintain __gst_debug_min to avoid formatting the arguments of
8676         debug messages that will be dropped anyway to avoid a lot of 
8677         overhead from the debugging system.
8678
8679 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8680
8681         * po/POTFILES.in:
8682         * po/POTFILES.skip:
8683           add missing files containing translatable strings, tell intltool about
8684           one exception
8685
8686 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8687
8688         * tests/check/libs/.cvsignore:
8689         add test-binary to ignore list
8690
8691 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8692
8693         * docs/libs/gstreamer-libs-docs.sgml:
8694         reorder (put dp into a chapter) and indent
8695
8696 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8697
8698         * configure.ac:
8699           back to HEAD
8700
8701 === release 0.10.8 ===
8702
8703 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
8704
8705         * configure.ac:
8706           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
8707
8708 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8709
8710         * gst/gst.c: (init_post):
8711           move pid declaration to declaration block
8712
8713 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8714
8715         * gst/gst.c: (init_post):
8716           use _exit() instead of exit() in our forked child; this ensures
8717           that none of the registered exit handlers from whatever is using
8718           GStreamer get executed.  This fixes gnome-mixer-applet failing
8719           to load, because ORBit would shut down.
8720           Spotted by: Edward Hervey  <edward@fluendo.com>
8721           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
8722           Fixes #344474
8723
8724 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8725
8726         * configure.ac:
8727           back to TRUNK
8728
8729 === release 0.10.7 ===
8730
8731 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
8732
8733         * configure.ac:
8734           releasing 0.10.7, "Soepeke, ik zie ou"
8735
8736 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8737
8738         * configure.ac:
8739         * po/af.po:
8740         * po/az.po:
8741         * po/bg.po:
8742         * po/ca.po:
8743         * po/cs.po:
8744         * po/de.po:
8745         * po/en_GB.po:
8746         * po/fr.po:
8747         * po/it.po:
8748         * po/nb.po:
8749         * po/nl.po:
8750         * po/ru.po:
8751         * po/sq.po:
8752         * po/sr.po:
8753         * po/sv.po:
8754         * po/tr.po:
8755         * po/uk.po:
8756         * po/vi.po:
8757         * po/zh_CN.po:
8758         * po/zh_TW.po:
8759         * win32/common/config.h:
8760           0.10.6.2 prerelease
8761
8762 2006-06-07  Wim Taymans  <wim@fluendo.com>
8763
8764         * gst/gstindex.c: (gst_index_gtype_resolver):
8765         * tools/gst-xmlinspect.c: (print_plugin_info):
8766         Fix leak spotted by coverity checker. Fixes #343827
8767         Fix another other leak found by paolo borelli.
8768
8769 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8770
8771         * libs/gst/dataprotocol/dataprotocol.c:
8772         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
8773         (gst_dp_version_get_type), (gst_dp_init),
8774         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
8775         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
8776         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
8777         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
8778         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
8779         (gst_dp_packetizer_free):
8780         * libs/gst/dataprotocol/dataprotocol.h:
8781           API: add a GstDPPacketizer object, and create/free functions
8782           API: add GstDPVersion enum
8783           Add 1.0 event function that uses the string serialization
8784           Serialize more useful buffer flags
8785           Fixes #343988
8786
8787 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8788
8789         * tests/check/Makefile.am:
8790         * tests/check/gst/gstabi.c:
8791         * tests/check/gst/struct_ppc64.h:
8792         * tests/check/libs/libsabi.c:
8793         * tests/check/libs/struct_ppc64.h:
8794           add ppc64 structure sizes
8795
8796 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8797
8798         * tests/check/Makefile.am:
8799         * tests/check/gst/gstabi.c:
8800         * tests/check/gst/struct_x86_64.h:
8801         * tests/check/libs/libsabi.c:
8802         * tests/check/libs/struct_x86_64.h:
8803           generate and add structure size lists for x86_64
8804
8805 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8806
8807         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8808         * libs/gst/check/gstcheck.h:
8809           factor out the method from tests that checks size of structures,
8810           and add code to generate the header containing these sizes
8811         * tests/check/gst/gstabi.c: (GST_START_TEST):
8812         * tests/check/gst/struct_i386.h:
8813         * tests/check/libs/libsabi.c: (GST_START_TEST):
8814         * tests/check/libs/struct_i386.h:
8815           use it
8816
8817 2006-06-06  Michael Smith  <msmith@fluendo.com>
8818
8819         * gst/gstsegment.h:
8820           Don't use c++-style comments, fixes #343929
8821
8822 2006-06-05  Edward Hervey  <edward@fluendo.com>
8823
8824         * gst/gst.c:
8825         plugin_paths is not used if we build without registry support.
8826
8827         * gst/gstsegment.c: (gst_segment_copy): 
8828         _copy() was always returning NULL...
8829
8830 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8831
8832         * libs/gst/dataprotocol/dataprotocol.c:
8833         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8834         (gst_dp_packet_from_event):
8835           factor out CRC code
8836
8837 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8838
8839         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
8840           make sure we unset caps
8841
8842 2006-06-02  Michael Smith  <msmith@fluendo.com>
8843
8844         * libs/gst/check/gstcheck.c: (gst_check_init),
8845         (gst_check_chain_func):
8846         * libs/gst/check/gstcheck.h:
8847           Add a cond/mutex to the check support lib, signal this whenever we
8848           add to the buffers list. This will allow tests to not busy-wait on
8849           the buffer-list.
8850
8851 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8852
8853         * libs/gst/dataprotocol/dataprotocol.c:
8854         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8855         (gst_dp_packet_from_event):
8856           factor out some common header init code
8857
8858 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8859
8860         * docs/libs/gstreamer-libs-sections.txt:
8861         * docs/libs/tmpl/gstdataprotocol.sgml:
8862         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
8863         * libs/gst/dataprotocol/dataprotocol.h:
8864           API: make gst_dp_crc() public
8865
8866 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
8867
8868         * plugins/indexers/gstindexers.c: (plugin_init):
8869         conditionally register fileindexer (fixes #343598)
8870
8871 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
8872
8873         * gst/gsttagsetter.h:
8874         Can't cast ifaces to a class
8875
8876         * libs/gst/net/gstnetclientclock.h:
8877         * libs/gst/net/gstnettimeprovider.h:
8878         * plugins/elements/gstfakesink.h:
8879         * plugins/elements/gstfakesrc.h:
8880         * plugins/elements/gstfdsink.h:
8881         * plugins/elements/gstfdsrc.h:
8882         * plugins/elements/gstfilesink.h:
8883         * plugins/elements/gstfilesrc.h:
8884         * plugins/elements/gstidentity.h:
8885         * plugins/elements/gstqueue.h:
8886         * plugins/elements/gsttee.h:
8887         * plugins/indexers/gstfileindex.c:
8888         * plugins/indexers/gstmemindex.c:
8889         * tests/old/examples/plugins/example.h:
8890         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
8891
8892 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8893
8894         * libs/gst/dataprotocol/dataprotocol.c:
8895         (gst_dp_header_from_buffer):
8896           make sure we zero the whole ABI-compatible area
8897
8898 2006-06-01  Wim Taymans  <wim@fluendo.com>
8899
8900         Patch by: Alessandro Decina <alessandro at nnva dot org>
8901
8902         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
8903         Make sure the EOS flag is cleared from pads after a flush
8904         or stop. Fixes #343538.
8905
8906         * tests/check/libs/collectpads.c: (GST_START_TEST),
8907         (gst_collect_pads_suite):
8908         Added test for collectpads reusage after EOS.
8909
8910 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
8911
8912         * gst/gst.c:
8913          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
8914         * win32/common/libgstbase.def:
8915          export gst_collect_pads_set_flushing
8916         * win32/common/libgstreamer.def:
8917          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
8918          gst_value_fraction_multiply
8919         * win32/vs6/gst_inspect.dsp:
8920          add a link to intl.lib
8921
8922 2006-05-30  Wim Taymans  <wim@fluendo.com>
8923
8924         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8925         (gst_collect_pads_chain):
8926         Handle the case where a pad is removed from the collection
8927         that could cause the other pads to become collectable.
8928
8929 2006-05-30  Wim Taymans  <wim@fluendo.com>
8930
8931         * gst/gstelement.c:
8932         Clarify the use of _release_request_pad() and
8933         _get_request_pad() a bit better.
8934
8935         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
8936         (gst_adapter_take_buffer):
8937         Fix some doc and comment typos.
8938
8939 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
8940
8941         * docs/gst/gstreamer-sections.txt:
8942         * docs/libs/gstreamer-libs-sections.txt:
8943           add declared symbols
8944
8945 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
8946
8947         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8948         Add debug that can be enabled using a #define at the top of the file,
8949         for dumping stats about how late/early we were when waking up from
8950         waiting on the clock.
8951
8952 2006-05-30  Wim Taymans  <wim@fluendo.com>
8953
8954         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
8955         When rebuilding the pad list, don't leak the previous list.
8956
8957 2006-05-30  Wim Taymans  <wim@fluendo.com>
8958
8959         Patch by: Lutz Mueller <lutz at topfrose dot de>
8960
8961         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8962         (gst_base_src_get_query_types), (gst_base_src_update_length):
8963         Publish supported query types.
8964         Update last_stop field in get_range mode so the position
8965         query works. Fixes #342321.
8966
8967 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
8968
8969         * docs/gst/gstreamer-sections.txt:
8970         * gst/gsttaglist.c: (_gst_tag_initialize):
8971         * gst/gsttaglist.h:
8972           API: add GST_TAG_PREVIEW_IMAGE (#343341).
8973
8974 2006-05-30  Wim Taymans  <wim@fluendo.com>
8975
8976         Patch by: Alessandro Decina <alessandro at nnva dot org>
8977
8978         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8979         Unlock mutex when removing an unknown pad.
8980         Fixes #343334.
8981
8982         * tests/check/Makefile.am:
8983         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
8984         (push_event), (setup), (teardown), (GST_START_TEST),
8985         (gst_collect_pads_suite), (main):
8986         Added collecpads check, disabled for now as check crashes for
8987         some reason.
8988
8989 2006-05-29  Wim Taymans  <wim@fluendo.com>
8990
8991         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
8992         Don't leak pads lists.
8993
8994 2006-05-29  Wim Taymans  <wim@fluendo.com>
8995
8996         * docs/libs/gstreamer-libs-sections.txt:
8997         * libs/gst/base/gstcollectpads.c:
8998         (gst_collect_pads_set_flushing_unlocked),
8999         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9000         (gst_collect_pads_stop):
9001         * libs/gst/base/gstcollectpads.h:
9002         API: gst_collect_pads_set_flushing()
9003         Added api to set the pads to flushing, useful for seeking
9004         code in elements using collectpads.
9005         Clear segment when receiving a flush.
9006
9007 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
9008
9009         * gst/gst.c: (add_path_func), (init_post):
9010           Don't scan registry paths passed via --gst-plugin-path immediately
9011           (will crash, because absolutely nothing is set up and no types are
9012           registered etc.); do this later in init_post(). Fixes #343057.
9013
9014 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9015
9016         * gst/gst.c: (init_post):
9017           if we have fork, fork while reading/rebuilding the registry
9018           so the parent doesn't take the hit of having all plugins loaded
9019           in memory.  Fixes #342777.
9020         * configure.ac:
9021           Check if we have fork()
9022         * win32/common/config.h.in:
9023           no fork() on win32
9024
9025 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9026
9027         * plugins/elements/gstelements.c:
9028         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9029         (gst_file_src_init), (gst_file_src_set_property),
9030         (gst_file_src_get_property), (gst_file_src_start):
9031         * plugins/elements/gstfilesrc.h:
9032           API: GstFileSrc::use-mmap
9033
9034         Add a use-mmap property to enable easier testing of all code paths.
9035         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
9036         in the absence of gnomevfssrc. (Closes #340501)
9037
9038 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9039
9040         * tools/gst-inspect.c:
9041         Add missing include, removes warning of ngettext not being defined on
9042         some arches.
9043
9044 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9045
9046         * gst/gstvalue.c: (gst_value_deserialize_fraction):
9047         Handle NULL input and output pointers silently as a failed conversion,
9048         rather than g_warnings.
9049
9050 2006-05-25  Wim Taymans  <wim@fluendo.com>
9051
9052         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
9053         Initialize variable before using. Fixes #342820.
9054
9055 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
9056
9057         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
9058           Fix off-by-one bug that would only allow peeks of N-1 bytes
9059           from the start even if the buffer to typefind on contains
9060           in fact N bytes of data (makes vorbis typefinding from a
9061           vorbis identification header buffer work).
9062
9063         * tests/check/Makefile.am:
9064         * tests/check/libs/.cvsignore:
9065         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
9066         (gst_typefindhelper_suite), (main), (foobar_typefind),
9067         (plugin_init):
9068           Add very basic unit test for gst_type_find_helper_for_buffer()
9069           that checks for the problem fixed above.
9070
9071 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9072
9073         * tools/gst-inspect.c: (print_interfaces),
9074         (print_element_properties_info), (print_element_list), (main):
9075           add more translatable strings
9076
9077 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
9078
9079         Patch by: Julien Moutte  <julien at moutte net>
9080
9081         * docs/gst/gstreamer-sections.txt:
9082           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
9083           
9084         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9085         (gst_fake_sink_preroll):
9086         * plugins/elements/gstfakesink.h:
9087           API: Add new GstFakeSink::preroll-handoff signal (#337100).
9088
9089 2006-05-23  Wim Taymans  <wim@fluendo.com>
9090
9091         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
9092         * gst/gstpad.h:
9093         Added _CUSTOM error and success GstFlowReturn that can be
9094         used be elements internally. 
9095         Added macro to check for SUCCESS flowreturns.
9096         API: GST_FLOW_CUSTOM_SUCCESS
9097         API: GST_FLOW_CUSTOM_ERROR
9098         API: GST_FLOW_IS_SUCCESS
9099
9100         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
9101         Added check for GstFlowReturn sanity.
9102
9103 2006-05-23  Wim Taymans  <wim@fluendo.com>
9104
9105         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9106
9107         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9108         (gst_collect_pads_event):
9109         clear/reset segment info in FLUSH_STOP.
9110         Fixes #336929.
9111
9112 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
9113
9114         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
9115         (gst_collect_pads_check_collected):
9116         Flush queued buffer on _stop(), fixes playing again (#342454)
9117
9118 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9119
9120         * tests/check/gst/gststructure.c: (GST_START_TEST),
9121         (gst_structure_suite):
9122           add a test for a complete structure
9123
9124 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9125
9126         * docs/faq/developing.xml:
9127         * docs/faq/faq.xml:
9128         * docs/faq/troubleshooting.xml:
9129         * docs/faq/using.xml:
9130           Some minor FAQ updates that won't change the fact that
9131           our FAQ is badly structured, full of information hardly
9132           anyone new to GStreamer needs to know and lacking lots
9133           of information people constantly ask for.
9134           
9135 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
9136
9137         * gst/gstpad.c: (gst_pad_set_caps):
9138           Short-circuit gst_pad_set_caps if setting the existing
9139           caps pointer again, and avoid printing debug and 
9140           reffing/unreffing the caps.
9141
9142         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9143           There's actually no need to set the caps before pushing -
9144           the acceptcaps method will handle it anyway.
9145
9146 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9147
9148         * docs/gst/gstreamer-sections.txt:
9149         * win32/common/libgstreamer.def:
9150         * gst/gstutils.c: (gst_element_seek_simple):
9151         * gst/gstutils.h:
9152           API: add gst_element_seek_simple() (#342238).
9153
9154 2006-05-18  Edward Hervey  <edward@fluendo.com>
9155
9156         * gst/gsttypefind.c: (gst_type_find_get_type):
9157         * gst/gsttypefind.h:
9158         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
9159         registered for GstTypeFind pointers. This allows wrapping the structure
9160         in bindings (i.e. gst-python).
9161
9162 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9163
9164         * gst/gsttagsetter.c:
9165           Docs additions and fixes (see #339918).
9166
9167 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
9168
9169         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9170         The caps intersection algorithm can produce multiple copies of the
9171         caps. Until that is fixed, we need to simplify the result to be
9172         sure whether the allowed caps are fixed or not.
9173
9174         * plugins/elements/gstqueue.c: (gst_queue_init),
9175         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
9176         (gst_queue_push_one):
9177         Proxied buffer alloc should not set the caps on the source pad.
9178         When pushing buffers, we always accept the caps change that triggers.
9179         This prevents negotiation errors caused by caps changing mid-stream 
9180         and then being refused on our source pad (because upstream is now
9181         refusing those caps).
9182
9183 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9184
9185         * tests/examples/helloworld/helloworld.c: (main):
9186           Must plug audioconvert and audioresample between decoder
9187           and audio sink.
9188
9189 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
9190
9191         * gst/gstregistryxml.c: (read_string), (load_pad_template),
9192         (load_feature), (load_plugin):
9193         Allow empty strings for some of the plugin fields so we don't 
9194         drop valid plugin entries that were written out correctly
9195         (Fixes #341479)
9196
9197 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
9198         
9199         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9200           Use g_remove and g_rename instead of remove and rename that don't 
9201           handle utf8 characters. rename was failing for users who had specific
9202           characters in their name then the registry was built at each 
9203           gstreamer init.
9204         * win32/vs6/gst_inspect.dsp:
9205         * win32/vs6/gst_launch.dsp:
9206         * win32/vs6/libgstbase.dsp:
9207         * win32/vs6/libgstcoreelements.dsp:
9208         * win32/vs6/libgstreamer.dsp:
9209           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
9210           build of libgstreamer and clean unused libraries in projects link 
9211           settings.
9212
9213 2006-05-17  Edward Hervey  <edward@fluendo.com>
9214
9215         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9216         The queue is not responsible for pushing an EOS when receiving a fatal
9217         flow error. It's up to the real element driving the pipeline to do that.
9218
9219 2006-05-16  Edward Hervey  <edward@fluendo.com>
9220
9221         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9222         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
9223         buffer returned a fatal error. It should just send an EOS and stop
9224         its task.
9225         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
9226         when pushing buffers on the queue and will be able to handle the event.
9227
9228 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
9229
9230         * docs/manual/basics-bins.xml:
9231         * docs/manual/basics-init.xml:
9232           Fix typos and minor errors in sample code (#341856).
9233
9234 2006-05-16  Wim Taymans  <wim@fluendo.com>
9235
9236         * docs/design/part-qos.txt:
9237         Fix indexes in formulas to make more sense.
9238
9239 2006-05-15  Wim Taymans  <wim@fluendo.com>
9240
9241         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9242         Don't report POSITION based on clock time if sync is
9243         disabled in a sink.
9244
9245 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
9246
9247         * gst/gstobject.h:
9248           Add cast to make compiler happy - refcount variable was a gint
9249           in GstObject but is a guint in GObject and g_atomic_int_get()
9250           wants a gint *.
9251
9252 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9253
9254         * gst/parse/Makefile.am:
9255           chain commands using &&, which also makes parallel make work
9256
9257 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
9258
9259         * docs/gst/gstreamer-sections.txt:
9260         * gst/gstevent.c:
9261         * gst/gstevent.h:
9262         * gst/gstmessage.h:
9263           Minor docs fixes.
9264
9265 === release 0.10.6 ===
9266
9267 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
9268
9269         * configure.ac:
9270           releasing 0.10.6, "Take the cannoli"
9271
9272 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
9273
9274         * tools/gst-launch.c: (print_tag):
9275           Fix use of uninitialized variable in the hypothetical
9276           case that some broken plugin creates a GST_TAG_IMAGE
9277           tag containing a NULL buffer (#341667).
9278
9279 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
9280
9281         * tools/gst-launch.c: (print_tag):
9282           Print something more intelligible for image tags when
9283           using the -t switch (#341556).
9284
9285 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9286
9287         * Makefile.am:
9288           updates for win32
9289         * configure.ac:
9290           define GST_MAJORMINOR so we have it available in win32/common/config.h
9291           Possibly remove it from our Makefile.am files later
9292         * win32/common/config.h:
9293         * win32/common/config.h.in:
9294           added GST_MAJORMINOR
9295         * win32/common/gstenumtypes.c: (register_gst_resource_error):
9296         * win32/common/gstversion.h:
9297           updated
9298
9299 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
9300
9301         * win32/MANIFEST:
9302           Update win32 files listing.
9303         * win32/common/gstversion.h:
9304           Add GST_MAJORMINOR definition.
9305         * win32/common/libgstreamer.def:
9306           Add new exported functions.
9307           
9308 2006-05-12  Michael Smith  <msmith@fluendo.com>
9309
9310         * gst/gstplugin.c: (gst_plugin_load_file):
9311           If an so file has no plugin entry point, unload the module.
9312
9313 2006-05-11  Wim Taymans  <wim@fluendo.com>
9314
9315         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
9316         (gst_queue_set_property):
9317         Don't forget to signal the _chain or _loop function 
9318         when the queue size or thresholds change since that might
9319         cause them to make progres again.
9320
9321 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
9322
9323         * gst/gstclock.c: (gst_clock_class_init):
9324         * gst/gstindex.c: (gst_index_class_init):
9325         * gst/gstobject.c: (gst_object_class_init):
9326         * gst/gstpad.c: (gst_pad_class_init):
9327         * gst/gstpipeline.c: (gst_pipeline_class_init):
9328         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9329         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
9330         * libs/gst/base/gstbasetransform.c:
9331         (gst_base_transform_class_init):
9332         * libs/gst/net/gstnetclientclock.c:
9333         (gst_net_client_clock_class_init):
9334         * libs/gst/net/gstnettimeprovider.c:
9335         (gst_net_time_provider_class_init):
9336         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
9337         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9338         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9339         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
9340         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9341         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9342         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9343         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9344         * plugins/elements/gsttee.c: (gst_tee_class_init):
9345         * tests/old/examples/plugins/example.c: (gst_example_class_init):
9346         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9347           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
9348
9349 2006-05-11  Wim Taymans  <wim@fluendo.com>
9350
9351         * gst/gstbuffer.c: (_gst_buffer_initialize):
9352         Register subbufer along with the buffer type so that
9353         it does not accidentally gets registered from N
9354         different streaming threads in a non threadsafe way.
9355
9356 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9357
9358         * gst/gstbuffer.h:
9359         * gst/gstevent.h:
9360         * gst/gstmessage.h:
9361           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
9362           gst_event_ref() and gst_message_ref() functions again
9363           (ugly hack, please do fix if there's a better way besides
9364           overrides.txt, which doesn't seem to work).
9365
9366 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9367
9368         * libs/gst/check/gstcheck.h:
9369           add an assert for setting state to avoid lots of repetitive code
9370           in the future
9371
9372 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9373
9374         * gst/gstvalue.c: (gst_value_serialize_flags):
9375           fix a leak if no flags are set
9376         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9377           fix leak in tests
9378
9379 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9380
9381         * docs/manual/basics-pads.xml:
9382           Expand a bit on caps and filtered links and update
9383           examples that were still using the no longer existing
9384           gst_pad_link_filtered() (#338206).
9385
9386 2006-05-10  Wim Taymans  <wim@fluendo.com>
9387
9388         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9389         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9390         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9391         (gst_collect_pads_stop):
9392         * libs/gst/base/gstcollectpads.h:
9393         No need to call _stop in _finalize.
9394         Iterate the main pad list in _finalize.
9395         Added some more debug.
9396         Free lists and data in the right order.
9397         Also free data whem doing _remove_pad when stopped for
9398         backward compatibility protect ::started with PAD_LOCK as
9399         well.
9400
9401 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9402
9403         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
9404         (gst_structure_parse_value):
9405           add some comments
9406           rename a method so that it actually says what it does better
9407
9408 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9409
9410         * gst/gstevent.c: (_gst_event_initialize):
9411         * gst/gstformat.c: (_gst_format_initialize):
9412           make sure some essential types used by events are registered
9413           as part of gst_init()
9414         * gst/gstvalue.c: (gst_value_serialize_flags):
9415           if no flags are set, serialize them to a value that represents NONE
9416           so that deserializing them works
9417         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9418           add tests for serialization and deserialization of flags
9419
9420 2006-05-10  Wim Taymans  <wim@fluendo.com>
9421
9422         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
9423         (gst_collect_pads_collect_range), (gst_collect_pads_available),
9424         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
9425         (gst_collect_pads_event), (gst_collect_pads_chain):
9426         Update docs.
9427         Better debug info.
9428         Catch and return errors from the collect function
9429         Refuse data on eos pads.
9430
9431 2006-05-10  Edward Hervey  <edward@fluendo.com>
9432
9433         * gst/gstinterface.h:
9434         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
9435         GInterface type checking.
9436         They were previously using non-defined macros.
9437
9438 2006-05-09  Wim Taymans  <wim@fluendo.com>
9439
9440         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
9441         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
9442         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
9443         (gst_collect_pads_start), (gst_collect_pads_stop),
9444         (gst_collect_pads_peek), (gst_collect_pads_pop),
9445         (gst_collect_pads_available), (gst_collect_pads_read),
9446         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
9447         (gst_collect_pads_is_collected), (gst_collect_pads_event),
9448         (gst_collect_pads_chain):
9449         * libs/gst/base/gstcollectpads.h:
9450         Clean up the mess that is collectpads, add comments and
9451         FIXMEs where needed.
9452         Maintain a separate pad list so we can add pads while
9453         collecting the other ones. For this we need a new separate 
9454         lock (see comics).
9455         Fix memory leak in finalize.
9456         Refactor some weird code to set/unset pad flushing flags, mark
9457         with comments.
9458         Don't crash in _available, _read, _flush when we're EOS.
9459
9460         * tests/check/libs/.cvsignore:
9461         Ignore adapter check binary.
9462
9463 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9464
9465         * gst/gstindex.c: (gst_index_resolver_get_type):
9466         * plugins/elements/gstfakesink.c:
9467         (gst_fake_sink_state_error_get_type):
9468         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9469         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
9470         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9471           Const-ify GEnumValue arrays.
9472
9473 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9474
9475         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9476           Add test case for flags + gst_buffer_make_metadata_writable().
9477
9478 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9479
9480         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
9481           gst_buffer_make_metadata_writable() should maintain the
9482           buffer flags (those that make sense at least) (see #340859).
9483
9484 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9485
9486         * tools/gst-inspect.c:
9487         * tools/gst-launch.c:
9488         * tools/gst-typefind.c:
9489         * tools/gst-xmlinspect.c:
9490         * tools/tools.h:
9491           Fix up includes: need to include stdlib.h in tools.h for exit().
9492
9493 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9494
9495         * gst/gsttaglist.c: (_gst_tag_initialize):
9496         * gst/gsttaglist.h:
9497           API: add GST_TAG_IMAGE tag (#340721).
9498
9499 2006-05-08  Wim Taymans  <wim@fluendo.com>
9500
9501         * gst/gstquery.c:
9502         Added some docs for the segment query.
9503
9504 2006-05-08  Wim Taymans  <wim@fluendo.com>
9505
9506         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9507         (gst_base_src_loop), (gst_base_src_change_state):
9508         Always push non-flushing serialized events in the streaming 
9509         thread.
9510
9511 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9512
9513         * gst/gsterror.c: (_gst_stream_errors_init):
9514           Add a missing error string.
9515
9516 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
9517
9518         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9519         Add applied_rate to the debug
9520
9521         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9522         Copy applied_rate into the outgoing NEWSEGMENT event
9523
9524 2006-05-08  Wim Taymans  <wim@fluendo.com>
9525
9526         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
9527
9528         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9529         (gst_base_sink_change_state):
9530         call ::unlock before taking the PREROLL_LOCK so we can safely
9531         handle elements that lock in ::render.
9532         Fixes #340174.
9533
9534 2006-05-08  Edward Hervey  <edward@fluendo.com>
9535
9536         * autogen.sh: (CONFIGURE_DEF_OPT): 
9537         Darwin's libtoolize is in fact called glibtoolize.
9538         Adding glibtoolize to the list of accepted names for libtoolize.
9539
9540 2006-05-08  Wim Taymans  <wim@fluendo.com>
9541
9542         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9543         Unify error handling, don't post an error message
9544         when a push() returns EOS but perform our normal EOS
9545         handling code. Fixes #340772.
9546
9547 2006-05-08  Wim Taymans  <wim@fluendo.com>
9548
9549         * docs/design/part-overview.txt:
9550         Make upsteam/downstream concepts more clear.
9551         Give an example of serialized/non-serialized events.
9552
9553         * docs/design/part-events.txt:
9554         * docs/design/part-streams.txt:
9555         Mention applied_rate.
9556
9557         * docs/design/part-trickmodes.txt:
9558         Mention applied rate, flesh out some more use cases.
9559
9560         * gst/gstevent.c: (gst_event_new_new_segment),
9561         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
9562         (gst_event_parse_new_segment_full), (gst_event_new_tag),
9563         (gst_event_parse_tag), (gst_event_new_buffer_size),
9564         (gst_event_parse_buffer_size), (gst_event_new_qos),
9565         (gst_event_parse_qos), (gst_event_parse_seek),
9566         (gst_event_new_navigation):
9567         * gst/gstevent.h:
9568         Add applied_rate field to NEWSEGMENT event.
9569         API: gst_event_new_new_segment_full()
9570         API: gst_event_parse_new_segment_full()
9571
9572         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
9573         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
9574         (gst_segment_to_stream_time), (gst_segment_to_running_time):
9575         * gst/gstsegment.h:
9576         Add applied_rate to GstSegment structure.
9577         Make calculation of stream_time and running_time more correct
9578         wrt rate/applied_rate.
9579         Add some more docs.
9580         API: GstSegment::applied_rate field
9581         API: gst_segment_set_newsegment_full();
9582
9583         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9584         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
9585         * libs/gst/base/gstbasetransform.c:
9586         (gst_base_transform_sink_eventfunc),
9587         (gst_base_transform_handle_buffer):
9588         Parse and use applied_rate in the GstSegment field.
9589
9590         * tests/check/gst/gstevent.c: (GST_START_TEST):
9591         Add check for applied_rate field.
9592
9593         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9594         (gstsegments_suite):
9595         Add more checks for various GstSegment operations.
9596
9597 2006-05-08  Wim Taymans  <wim@fluendo.com>
9598
9599         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9600         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
9601         (gst_base_sink_get_position), (gst_base_sink_change_state):
9602         Store the sync time of the buffer end position separatly in a
9603         new variable eos_rtime so we can properly sync the EOS event.
9604         Fixes #340697.
9605         Fix the docs for gst_base_sink_set_qos_enabled().
9606         Don't set segment start to invalid value when we receive a 
9607         non TIME newsegment.
9608         get closer to handling position reporting for negative rates 
9609         correctly.
9610
9611 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9612
9613         * gst/gstcaps.c:
9614         Docs about how to print caps for debug purposes.
9615
9616         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
9617         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
9618
9619 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9620
9621         * gst/gstelement.c:
9622           use full enum names and preprend a '%' in docs strings to make recent 
9623           gtk-doc turn that into a link
9624
9625 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9626
9627         * docs/manual/basics-bins.xml:
9628         * docs/manual/basics-bus.xml:
9629         * docs/manual/basics-pads.xml:
9630           Some typo fixes, some additions, some clarifications. 
9631
9632 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9633
9634         * tools/gst-inspect.c: (main):
9635         * tools/gst-launch.c: (main):
9636         * tools/gst-run.c: (main):
9637         * tools/gst-typefind.c: (main):
9638         * tools/gst-xmlinspect.c: (main):
9639           Use the string passed to g_option_context_new() for
9640           what it's intended for - the program name is already
9641           printed elsewhere.
9642
9643 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9644
9645         * tools/Makefile.am:
9646         * tools/gst-inspect.c: (main):
9647         * tools/gst-launch.c: (main):
9648         * tools/gst-xmlinspect.c: (main):
9649         * tools/tools.h:
9650           Add back --version command line option (#340460).
9651
9652         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
9653           Add --version option and use GOption for argument parsing; refactor a
9654           bit; accept directories as arguments and recurse into them; lastly,
9655           print a decent error message when things go wrong.
9656
9657 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9658
9659         * docs/manual/basics-bins.xml:
9660         Don't mention GstThread (#340611)
9661         * docs/manual/basics-elements.xml:
9662         Update link to GObject tutorial (#340607)
9663         
9664 2006-05-05  Wim Taymans  <wim@fluendo.com>
9665
9666         * gst/gstbuffer.h:
9667         * gst/gstminiobject.c:
9668         Add note about refcounting and miniobject/buffer writeability
9669         to docs. Fixes #340604
9670
9671         * gst/gstelementfactory.h:
9672         Added some explanation about @klass.
9673
9674 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9675
9676         * docs/manual/intro-motivation.xml:
9677         * docs/manual/manual.xml:
9678         Avoid CORBA & Bonobo references (#340598)
9679
9680 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9681
9682         * docs/manual/basics-bus.xml:
9683         * docs/manual/basics-pads.xml:
9684         Fix up some inaccuracies and omissions (#340609)
9685         
9686 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9687
9688         * gst/gstghostpad.c:
9689           Small typo in docs (#340625)
9690
9691 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9692
9693         * gst/parse/Makefile.am:
9694           Make 'make -j' proof (see #340698).
9695
9696 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9697
9698         * configure.ac:
9699           Require GLib-2.8 here as well.
9700
9701 2006-05-05  Wim Taymans  <wim@fluendo.com>
9702
9703         * gst/glib-compat.c:
9704         * gst/gst.c: (init_pre):
9705         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9706         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
9707         (gst_object_dispatch_properties_changed):
9708         * gst/gstobject.h:
9709         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9710         * gst/gststructure.c: (gst_structure_set_valist):
9711         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9712         Remove pre glib2.8 compatibility, fixes #340508
9713
9714 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9715
9716         * gst/gsttaglist.h:
9717           Mention type of tags in doc blurbs.
9718
9719 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
9720
9721         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9722         (gst_pad_configure_src), (gst_pad_push):
9723         Restore acceptcaps checking behaviour now that good plugins have
9724         been released.
9725
9726 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9727
9728         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
9729
9730         * gst/gst.c:
9731         * gst/gstbus.c:
9732         * gst/gstclock.c:
9733         * gst/gstevent.c:
9734         * gst/gstformat.c:
9735         * gst/gstmessage.c:
9736         * gst/gstparse.c:
9737         * gst/gstquery.c:
9738         * gst/gstutils.c:
9739         * gst/parse/Makefile.am:
9740         * libs/gst/base/gstadapter.c:
9741         * libs/gst/base/gstbasesrc.c:
9742         * libs/gst/base/gstpushsrc.c:
9743         * libs/gst/base/gsttypefindhelper.c:
9744         * plugins/elements/gstfakesrc.c:
9745         * plugins/elements/gstidentity.c:
9746           Make sure gstprivate.h and/or config.h are
9747           always included first, otherwise some of our
9748           defines (like _FILE_OFFSET_BITS) might be
9749           redefined in the system headers. Fixes build
9750           on opensolaris (#340016).
9751
9752 2006-05-04  Wim Taymans  <wim@fluendo.com>
9753
9754         * docs/libs/gstreamer-libs-sections.txt:
9755         API: addition: gst_adapter_take_buffer()
9756         
9757         * libs/gst/base/gstadapter.c: (gst_adapter_push),
9758         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
9759         (gst_adapter_available_fast):
9760         * libs/gst/base/gstadapter.h:
9761         Prepare for optimizing the hell out of this hugely inefficient
9762         piece of code. 
9763         Added gst_adapter_take_buffer() so we can at least start thinking
9764         about subbuffering and merging.
9765         Added some comments.
9766
9767         * tests/check/Makefile.am:
9768         * tests/check/libs/adapter.c: (GST_START_TEST),
9769         (gst_adapter_suite), (main):
9770         Added GstAdapter check.
9771
9772 2006-05-04  Wim Taymans  <wim@fluendo.com>
9773
9774         * docs/design/part-overview.txt:
9775         Fix some typos, add blurb about buffer flags.
9776
9777 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9778
9779         * docs/libs/gstreamer-libs-sections.txt:
9780           make sure GstBaseTransformClass shows up in the docs
9781         * libs/gst/base/gstbasetransform.c:
9782         * libs/gst/base/gstbasetransform.h:
9783           move docs so gtk-doc picks it up now
9784
9785 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
9786
9787         * docs/libs/gstreamer-libs-sections.txt:
9788           add missing symbols to docs
9789
9790 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
9791
9792         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9793           back out the newsegment handling change, see #340060 for ongoing
9794           discussion
9795
9796 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
9797
9798         * tools/gst-run.c: (get_candidates), (main):
9799           Fix wrong g_file_test() usage (see glib docs for why it doesn't
9800           work); fix typo in error message. Fixes #340079.
9801
9802 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9803
9804         * common/Makefile.am:
9805         * docs/Makefile.am:
9806         * docs/faq/Makefile.am:
9807         * docs/gst/Makefile.am:
9808         * docs/libs/Makefile.am:
9809         * docs/manual/Makefile.am:
9810         * docs/plugins/Makefile.am:
9811         * docs/pwg/Makefile.am:
9812         * docs/slides/Makefile.am:
9813         * docs/upload.mak:
9814         * common/upload.mak:
9815           move upload.mak to common
9816
9817 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9818
9819         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9820           add more asserts on refcounts
9821           do more cleanup at end of tests
9822           fix test leaks showing in FC5
9823
9824 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
9825
9826         * plugins/elements/gsttypefindelement.c:
9827         (gst_type_find_element_handle_event):
9828         reverted wrong change and reflowed code to avoid others falling into
9829         this trap
9830
9831 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9832
9833         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9834           fix changelog entry about last collectpads change,
9835           add notes about proper fix
9836
9837 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9838
9839         * gst/gst.c:
9840         * gst/gstregistry.c: (gst_registry_scan_path_level),
9841         (gst_registry_scan_path):
9842         * gst/gstregistry.h:
9843           only write out registry if it has changed, fixes #338339
9844
9845 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9846
9847         * gst/gstbin.c:
9848         * gst/gstpipeline.c:
9849         * plugins/elements/gstcapsfilter.c:
9850         * plugins/elements/gstfakesink.c:
9851         * plugins/elements/gstfakesrc.c:
9852         * plugins/elements/gstfdsink.c:
9853         * plugins/elements/gstfdsrc.c:
9854         * plugins/elements/gstfilesink.c:
9855         * plugins/elements/gstfilesrc.c:
9856         * plugins/elements/gstidentity.c:
9857         * plugins/elements/gstqueue.c:
9858         * plugins/elements/gsttee.c:
9859         * plugins/elements/gsttypefindelement.c:
9860         (gst_type_find_element_handle_event):
9861           make GstElementDetails const
9862
9863 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9864
9865         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
9866         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9867         (gst_collect_pads_is_collected), (gst_collect_pads_event):
9868           more detailed debug and formatting cleanup,
9869           forward newsegments to src-pad (so that e.g. adder not eats them)
9870
9871 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9872
9873         * gst/gstutils.c: (gst_element_link_pads):
9874           cleanup double code
9875
9876 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9877
9878         * libs/gst/controller/gstcontroller.c:
9879         (gst_controller_sync_values):
9880           some little tuning
9881         * tests/check/libs/controller.c: (GST_START_TEST),
9882         (gst_controller_suite):
9883           a new test for live value handling
9884
9885 2006-04-28  Wim Taymans  <wim@fluendo.com>
9886
9887         * gst/gstutils.c: (push_and_ref):
9888         Added some more docs.
9889         Fix refcount issue whith gst_element_found_tags() helper 
9890         function. Fixes #338335
9891
9892         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9893         Added testsuite for gst_element_found_tags().
9894
9895 2006-04-28  Michael Smith  <msmith@fluendo.com>
9896
9897         * gst/gstvalue.c: (gst_value_serialize_flags):
9898           Avoid NULL dereference when trying to serialize flags containing
9899           invalid values.
9900
9901 2006-04-28  Michael Smith  <msmith@fluendo.com>
9902
9903         * plugins/elements/gsttypefindelement.c:
9904         (gst_type_find_element_handle_event):
9905           If we get EOS before any data is accumulated, don't use
9906           uninitialised local variables.
9907
9908 2006-04-28  Michael Smith  <msmith@fluendo.com>
9909
9910         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9911         (gst_dp_event_from_packet):
9912           Fixes in reading/writing events over GDP (not currently used?) - 
9913           dereferencing NULL events for unknown/invalid event types, memory
9914           leak, and change g_warning to GST_WARNING.
9915
9916 2006-04-28  Wim Taymans  <wim@fluendo.com>
9917
9918         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
9919         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9920         (gst_base_sink_get_position), (gst_base_sink_change_state):
9921         When frame dropping is enabled, we should not ignore frames
9922         without a duration.
9923         Update some documentation.
9924
9925 2006-04-28  Wim Taymans  <wim@fluendo.com>
9926
9927         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9928         (gst_base_src_send_event), (gst_base_src_change_state):
9929         Documentation updates.
9930
9931 2006-04-28  Wim Taymans  <wim@fluendo.com>
9932
9933         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
9934         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
9935         handle EAGAIN, EINTR and short writes correctly. Also clean
9936         up some error cases, avoid a deadlock on bad file descriptors and
9937         use GST_DEBUG_OBJECT.
9938         Fixes #339843
9939
9940 2006-04-28  Wim Taymans  <wim@fluendo.com>
9941
9942         * gst/gstvalue.c: (gst_value_serialize_buffer),
9943         (gst_value_deserialize_buffer):
9944         Don't try to serialize a GValue with a NULL buffer. 
9945         Fixes #339821.
9946
9947         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9948         Added check for serialisation of NULL buffers.
9949
9950 2006-04-28  Wim Taymans  <wim@fluendo.com>
9951
9952         * gst/gstminiobject.c: (gst_value_take_mini_object):
9953         Taking a NULL miniobject is valid, fix the case where
9954         we try to unref the NULL miniobject.
9955
9956 2006-04-28  Wim Taymans  <wim@fluendo.com>
9957
9958         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
9959
9960         * gst/gstbin.c: (gst_bin_handle_message_func):
9961         Update docs.
9962         Don't leak bin refcount when a state recalc is
9963         in progress and we delay another one #339808.
9964
9965 2006-04-28  Wim Taymans  <wim@fluendo.com>
9966
9967         * docs/design/part-TODO.txt:
9968         Mention QoS as an ongoing work item.
9969
9970         * docs/design/part-buffering.txt:
9971         New doc about buffering that needs to be fleshed out
9972         at some point.
9973
9974         * docs/design/part-qos.txt:
9975         More QoS policy for decoders/demuxers/transforms
9976
9977         * docs/design/part-trickmodes.txt:
9978         Small update.
9979
9980 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9981
9982         * configure.ac:
9983           back to HEAD
9984
9985 === release 0.10.5 ===
9986
9987 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
9988
9989         * configure.ac:
9990           releasing 0.10.5, "Fogo"
9991
9992 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9993
9994         patch by: Wim Taymans
9995
9996         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9997         (gst_pad_configure_src), (gst_pad_push):
9998         * gst/gstpipeline.c: (gst_pipeline_init):
9999           Fix internal data flow errors.  Fixes #338711.
10000
10001 2006-04-12  Wim Taymans  <wim@fluendo.com>
10002
10003         * tests/check/gst/gstelement.c: (GST_START_TEST):
10004         Don't leak the factory.
10005
10006 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10007
10008         * configure.ac:
10009         * win32/common/config.h:
10010           prerelease
10011
10012 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
10013
10014         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10015         (gst_controller_unset_all):
10016           Free allocated GstTimedValues when freeing list nodes.
10017           Should fix leaks 'make check-valgrind' complains about.
10018
10019         * win32/common/libgstcontroller.def:
10020           Add gst_controller_unset_all.
10021
10022 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
10023
10024         * docs/libs/gstreamer-libs-sections.txt:
10025         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10026         (gst_controller_unset_all):
10027         * libs/gst/controller/gstcontroller.h:
10028         API: Added new method gst_controller_unset_all()
10029         fixed gst_controller_unset()
10030         * tests/check/libs/controller.c: (GST_START_TEST),
10031         (gst_controller_suite):
10032         Added two testcases for new and fixed method
10033
10034 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
10035
10036         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10037           MSG_DONTWAIT is not defined on Cygwin, so work
10038           around that (fixes #317048).
10039           
10040 2006-04-11  Wim Taymans  <wim@fluendo.com>
10041
10042         * gst/gstelementfactory.c: (gst_element_register),
10043         (gst_element_factory_create), (gst_element_factory_make):
10044         Some cleanups.
10045         Fixed a FIXME.
10046         Updated docs (Fixes #131079)
10047
10048         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10049         Small cleanups.
10050
10051         * tests/check/gst/gstelement.c: (GST_START_TEST),
10052         (gst_element_suite):
10053         Added testcase for elementfactory class field.
10054
10055 2006-04-10  Wim Taymans  <wim@fluendo.com>
10056
10057         * gst/gstsegment.c:
10058         Added some more docs.
10059
10060         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
10061         (gst_base_sink_reset_qos):
10062         Calculate more accurate rate values.
10063
10064 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
10065
10066         * gst/gst_private.h:
10067           add a new #ifdef to use __declspec(dllimport) only for
10068           other modules and not for gstreamer core
10069         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
10070           use gst_guint64_to_gdouble for conversion
10071         * win32/common/libgstreamer.def:
10072           add new exported functions
10073         * win32/vs6/gst_inspect.dsp:
10074         * win32/vs6/gst_launch.dsp:
10075         * win32/vs6/libgstbase.dsp:
10076         * win32/vs6/libgstcontroller.dsp:
10077         * win32/vs6/libgstcoreelements.dsp:
10078         * win32/vs6/libgstdataprotocol.dsp:
10079         * win32/vs6/libgstnet.dsp:
10080           update project files
10081
10082 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10083
10084         * gst/gstbuffer.c: (gst_subbuffer_class_init):
10085         * gst/gstclock.c: (gst_clock_class_init):
10086         * gst/gstelement.c: (gst_element_class_init):
10087         * gst/gstindex.c: (gst_index_class_init):
10088         * gst/gstindexfactory.c: (gst_index_factory_class_init):
10089         * gst/gstobject.c: (gst_object_class_init),
10090         (gst_signal_object_class_init):
10091         * gst/gstpad.c: (gst_pad_class_init):
10092         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
10093         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
10094         * gst/gstregistry.c: (gst_registry_class_init):
10095         * gst/gstsystemclock.c: (gst_system_clock_class_init):
10096         * gst/gsttask.c: (gst_task_class_init):
10097         * gst/gstxml.c: (gst_xml_class_init):
10098         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10099         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10100         (gst_base_src_loop):
10101         * libs/gst/controller/gstcontroller.c:/
10102         (_gst_controller_class_init):
10103         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10104         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
10105         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
10106         * tests/old/examples/plugins/example.c: (gst_example_class_init):
10107         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10108         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
10109
10110 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
10111
10112         * gst/gstpad.c: (gst_pad_link):
10113           Must set peer pads before calling the link function, otherwise
10114           a task started from a link function might get a flow-not-linked
10115           result when trying to push because the other thread where the
10116           linking happens hasn't had a chance to set the peers yet. This
10117           might happen for example when a queue gets linked to a downstream
10118           element, as queue starts a streaming task when its source pad
10119           gets linked. Happens in real life when playing back flac/musepack
10120           files in playbin (#332390).
10121           
10122 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10123
10124         * gst/gstindex.h:
10125         * gst/gstxml.h:
10126         * libs/gst/base/gstadapter.h:
10127         * libs/gst/base/gstbasesink.h:
10128         * libs/gst/base/gstbasesrc.h:
10129         * libs/gst/base/gstbasetransform.h:
10130         * libs/gst/base/gstcollectpads.h:
10131         * libs/gst/base/gstpushsrc.h:
10132         Fix broken GObject macros
10133
10134 2006-04-07  Wim Taymans  <wim@fluendo.com>
10135
10136         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10137         Initialize start and stop times, thanks valgrind.
10138
10139 2006-04-07  Wim Taymans  <wim@fluendo.com>
10140
10141         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10142         Be a bit nicer to badly behaving upstream elements that expect
10143         us to deal with non TIME segments and timestamps (such as fakesrc
10144         in the testsuite).
10145
10146 2006-04-07  Wim Taymans  <wim@fluendo.com>
10147
10148         * gst/gstbus.c:
10149         Small documentation clarification about the signal watch.
10150
10151         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10152         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10153         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10154         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10155         (gst_base_sink_get_position_last),
10156         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
10157         Convert and store timestamps in stream time and running time, the
10158         raw timestamps are not useful, also document this better.
10159         Use different window sizes for good and bad QoS observations so
10160         we react to badness a little quicker.
10161         Keep track of the amount of rendered and dropped buffers.
10162         Send QoS timestamps in running time.
10163
10164         * libs/gst/base/gstbasetransform.c:
10165         (gst_base_transform_sink_eventfunc),
10166         (gst_base_transform_handle_buffer):
10167         Compare QoS timestamps against running time.
10168
10169 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10170
10171         * gst/gstpad.c:
10172           Typo fixes in docs.
10173
10174 2006-04-06  Michael Smith  <msmith@fluendo.com>
10175
10176         * gst/gstpad.c: (gst_pad_set_property):
10177           Use g_value_get_object() instead of g_value_dup_gst_object(),
10178           to avoid double-reffing the pad template (which we then sink,
10179           so this worked previously if (and only if) the pad template
10180           was floating.
10181
10182         * gst/gstpadtemplate.c: (gst_pad_template_init),
10183         (gst_pad_template_pad_created):
10184           Never return floating references to pad templates, create
10185           them as initially-sunken.
10186
10187           Document an extra function (and make this stop sinking our
10188           pad template, since that is now guaranteed to do nothing,
10189           since we created it sunken).
10190
10191         * gst/gstghostpad.c:
10192           Fix docs typo.
10193
10194 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10195
10196         * gst/gstinfo.c: (__gst_in_valgrind):
10197           Add some newlines.
10198
10199         * plugins/elements/gsttypefindelement.c:
10200         (gst_type_find_element_chain):
10201           Don't leak buffer caps.
10202
10203 2006-04-06  Michael Smith  <msmith@fluendo.com>
10204
10205         * gst/parse/grammar.y:
10206           Fix a leak in parse-launch for any source-or-sink named element 
10207           references used.
10208
10209         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10210           Unref the pipeline if it exists after we've failed parsing.
10211
10212 2006-04-05  Michael Smith  <msmith@fluendo.com>
10213
10214         * gst/gstpipeline.c: (gst_pipeline_init):
10215           When we create a pipeline bus, initially create it in flushing mode.
10216           Fixes leaks in at least one test, and makes a new pipeline work the
10217           same as one that has gone to READY and then back to NULL.
10218
10219         * gst/gstelement.c:
10220           Typo fix in docs.
10221
10222 2006-04-05  Michael Smith  <msmith@fluendo.com>
10223
10224         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10225           Unref a pad we reffed.
10226         * tests/check/gst/gstutils.c: (GST_START_TEST):
10227           Unref bins
10228
10229 2006-04-05  Michael Smith  <msmith@fluendo.com>
10230
10231         * gst/gstquery.c: (gst_query_set_formats),
10232         (gst_query_set_formatsv):
10233           Fix leaking GValues in queries, as shown by valgrind/testsuite.
10234
10235 2006-04-05  Michael Smith  <msmith@fluendo.com>
10236
10237         * tests/check/generic/sinks.c: (GST_START_TEST):
10238           Fix a variety of memleaks in sinks check, which are only sometimes 
10239           shown by running the tests under valgrind (weird?).
10240
10241 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
10242
10243         * docs/version.entities.in:
10244           Fix the substituted entity name after thomas' changes on the
10245           weekend.
10246
10247 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10248
10249         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
10250         VALGRIND_PRINTF
10251         
10252 2006-04-05  Andy Wingo  <wingo@pobox.com>
10253
10254         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
10255
10256         * libs/gst/base/gstbasetransform.c
10257         (gst_base_transform_sink_eventfunc): When resetting our segment on
10258         FLUSH_STOP, also update the flag saying we haven't seen a
10259         newsegment.
10260
10261 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10262
10263         Patch by: Paolo Borelli  <pborelli at katamail dot com>
10264
10265         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10266         (gst_plugin_check_license):
10267           minor clean-ups: G_DEFINE_TYPE already takes care of the
10268           parent_class stuff, no need to do it twice. Mark array of
10269           license strings as constant. (#337103)
10270           
10271 2006-04-04  Michael Smith  <msmith@fluendo.com>
10272
10273         * tools/gst-inspect.c: (print_element_list):
10274           Free the right plugin list; fixes a memory leak.
10275
10276 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10277
10278         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
10279
10280         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10281           Don't error out on empty buffers (#336945).
10282           
10283 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
10284
10285         * docs/libs/gstreamer-libs-sections.txt:
10286         * gst/gsttaglist.c:
10287         * libs/gst/base/gstbasesink.c:
10288         * libs/gst/base/gstbasesink.h:
10289         * libs/gst/base/gstbasesrc.c:
10290         * libs/gst/base/gstbasesrc.h:
10291           Documentation updates. Make BaseSink and BaseSrc docs contain the
10292           class structure so that people can actually see the prototypes for
10293           virtual functions they're supposed to be overriding.
10294
10295 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10296
10297         * plugins/elements/gsttypefindelement.c:
10298         (gst_type_find_element_chain):
10299           More debug info; when skipping typefinding, send cached
10300           events in all cases.
10301
10302 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10303
10304         * configure.ac:
10305           use new AS_VERSION and AS_NANO macros
10306         * gst/gst-i18n-lib.h:
10307         * gst/gst.c:
10308         * gst/gsterror.c:
10309         * gst/gstversion.h.in:
10310         * win32/common/config.h:
10311         * win32/common/config.h.in:
10312           update accordingly
10313
10314 2006-03-31  Michael Smith  <msmith@fluendo.com>
10315
10316         * plugins/elements/gsttypefindelement.c:
10317         (gst_type_find_element_chain):
10318           Do not typefind content if the buffers already have caps.
10319           Neccesary for icydemux (#333657), and the right thing to do anyway.
10320
10321 2006-03-30  Wim Taymans  <wim@fluendo.com>
10322
10323         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10324         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
10325         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
10326         (gst_base_sink_record_qos_observation),
10327         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10328         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10329         (gst_base_sink_change_state):
10330         More QoS measurements as described in the design doc.
10331         Get rid of ringbuffer with observations, running average is
10332         more simple and equally good.
10333         Calculates valid proportion now.
10334         Added beginning of flood measurement.
10335
10336 2006-03-29  Wim Taymans  <wim@fluendo.com>
10337
10338         * docs/design/part-qos.txt:
10339         * gst/gstclock.c:
10340         Small documentation updates and additions.
10341
10342 2006-03-29  Wim Taymans  <wim@fluendo.com>
10343
10344         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10345         (gst_base_src_send_event), (gst_base_src_loop),
10346         (gst_base_src_change_state):
10347         Perform the EOS logic when we reach the segment stop position.
10348         Fix compilation on gcc4.1
10349
10350 2006-03-29  Wim Taymans  <wim@fluendo.com>
10351
10352         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
10353
10354         * plugins/elements/gstqueue.c: (gst_queue_init),
10355         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10356         (gst_queue_set_property):
10357         * plugins/elements/gstqueue.h:
10358         In queue, when EOS is received, if minimum threshold > max_size -
10359         current_level, there is chance that queue blocks forever in conditional
10360         item del wait. This is because the queue is not emptied completely due
10361         to minimum threshold.  Here is another approach. Instead of setting
10362         cur_levels to max in EOS, just zero all minimum threshold levels. This
10363         should make sure that queue gives out all data. When going to READY
10364         (stop) state, just reset the original minimum threshold levels.
10365         Fixes #336336.
10366
10367 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
10368
10369         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
10370         (gst_type_find_element_handle_event),
10371         (gst_type_find_element_send_cached_events),
10372         (gst_type_find_element_change_state):
10373         * plugins/elements/gsttypefindelement.h:
10374           When typefinding is done in push mode, we should cache
10375           events we receive during typefinding instead of just
10376           dropping them (e.g. newsegment, custom events from
10377           dvdreadsrc etc.) and then send them out once we've
10378           determined the type of the stream (and decodebin
10379           has had a chance to plug in a decoder/demuxer).
10380           
10381 2006-03-27  Wim Taymans  <wim@fluendo.com>
10382
10383         * docs/design/part-qos.txt:
10384         First QoS ideas.
10385
10386 2006-03-27  Wim Taymans  <wim@fluendo.com>
10387
10388         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
10389
10390         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10391         (gst_base_src_send_event), (gst_base_src_change_state):
10392         Handle element seek correctly when we are streaming.
10393         Fixes #326998.
10394
10395 2006-03-24  Michael Smith  <msmith@fluendo.com>
10396
10397         * docs/faq/gst-uninstalled:
10398           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
10399           allow you to correctly run intalled applications built against old 
10400           core, using plugins that require updated core (e.g. running
10401           installed totem against a full uninstalled gstreamer stack)
10402
10403 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10404
10405         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10406         more debug details
10407
10408 2006-03-24  Wim Taymans  <wim@fluendo.com>
10409
10410         * docs/gst/gstreamer-sections.txt:
10411         Rearrange the order of the methods so that related methods
10412         are grouped together in sections.
10413
10414 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10415
10416         * gst/gstelement.c:
10417           Little clarification in the docs
10418
10419 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10420
10421         * docs/README:
10422         formatting fix
10423         * plugins/elements/gstidentity.c:
10424         * plugins/elements/gstqueue.c:
10425         * plugins/elements/gsttee.c:
10426         * plugins/elements/gsttypefindelement.c:
10427         GST_ELEMENT_DETAILS formatting
10428
10429 2006-03-24  Wim Taymans  <wim@fluendo.com>
10430
10431         * libs/gst/base/gstbasesink.h:
10432         Only add fields, not insert or we break ABI.
10433
10434 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10435
10436         * win32/common/libgstbase.def:
10437         * win32/common/libgstreamer.def:
10438           Update, add recently added functions.
10439
10440 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10441
10442         * docs/gst/gstreamer-sections.txt:
10443         * gst/gstutils.c: (gst_pad_query_peer_position),
10444         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
10445         * gst/gstutils.h:
10446           API: add some new utility functions:
10447            - gst_pad_query_peer_position()
10448            - gst_pad_query_peer_duration()
10449            - gst_pad_query_peer_convert()
10450           
10451 2006-03-23  Wim Taymans  <wim@fluendo.com>
10452
10453         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10454         (gst_base_sink_init), (gst_base_sink_finalize),
10455         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
10456         (gst_base_sink_set_property), (gst_base_sink_get_property),
10457         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
10458         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10459         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
10460         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10461         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10462         (gst_base_sink_preroll_object), (gst_base_sink_event),
10463         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
10464         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
10465         (gst_base_sink_query), (gst_base_sink_change_state):
10466         Decouple max-lateness and the fact that QoS messages are generated
10467         with a new property (qos).
10468         added API: GstBaseSink::async_play()
10469         Add vmethod so subclasses can be notified of ASYNC playing
10470         state changes.
10471         Collect timestamp start and stop to report better current
10472         position in EOS/PLAYING/PAUSED/READY/NULL.
10473         Refactor QoS/frame dropping and other measurements.
10474         API: GstBaseSrc::qos
10475         Fixes #326311
10476
10477         * libs/gst/base/gstbasesink.h:
10478         Added Private struct.
10479         API: gst_base_sink_set_qos_enabled()
10480         API: gst_base_sink_is_qos_enabled()
10481
10482 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10483
10484         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10485           If compiling against GLib-2.8 or newer, try to read the
10486           registry file using GMappedFile first before falling back
10487           to fopen() + fread() (#332151).
10488
10489 2006-03-22  Wim Taymans  <wim@fluendo.com>
10490
10491         * gst/gstinfo.c: (gst_debug_set_active),
10492         (gst_debug_category_set_threshold):
10493         Disable debugging unless explicitly activated.
10494         Fixes #335480.
10495
10496 2006-03-22  Wim Taymans  <wim@fluendo.com>
10497
10498         * gst/gstelement.c: (gst_element_set_locked_state),
10499         (gst_element_dispose):
10500         Cleanup the error case.
10501
10502         * gst/gstobject.c: (gst_object_dispose):
10503         print a critical when some object was disposed with
10504         a parent, also revive the object since it might
10505         crash the parent.
10506
10507 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
10508
10509         * tools/gst-launch.1.in:
10510           Fix another typo.
10511
10512 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10513
10514         * configure.ac:
10515         * tests/check/Makefile.am:
10516           disable some tests when we don't have a registry
10517         * tests/check/gst/gstutils.c: (gst_utils_suite):
10518           don't build the part that needs parsing
10519
10520 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10521
10522         * gst/Makefile.am
10523         * tests/examples/Makefile.am:
10524           fix --disable-parse build
10525
10526 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10527
10528         * tools/gst-feedback.1.in:
10529           Fix typo: s/feeback/feedback/ (#133494).
10530
10531 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10532
10533         * tools/Makefile.am:
10534         * tools/gst-launch.1.in:
10535           Add FILES section and correct entry about GST_REGISTRY_PATH
10536           environment variable (#133495; #133494).
10537
10538 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10539
10540         * tools/Makefile.am:
10541         * tools/gst-md5sum.1.in:
10542         * tools/gst-md5sum.c:
10543           Remove gst-md5sum and man page (the md5sink element
10544           required was removed ages ago)
10545
10546 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10547
10548         * gst/gststructure.c: (gst_structure_id_set_value):
10549           Make sure that string fields in structures/taglists
10550           contain valid UTF-8 - we don't want to pass rubbish to
10551           applications because of a buggy plugin (cp. #334167).
10552
10553 2006-03-21  Edward Hervey  <edward@fluendo.com>
10554
10555         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10556         (gst_bin_handle_message_func):
10557         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
10558         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
10559         (gst_element_set_bus_func):
10560         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
10561         * gst/gstminiobject.c: (gst_value_set_mini_object),
10562         (gst_value_take_mini_object):
10563         * gst/gstpad.c: (gst_pad_set_pad_template):
10564         * gst/gstpipeline.c: (gst_pipeline_dispose),
10565         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10566         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
10567         (gst_collect_pads_chain):
10568         * libs/gst/net/gstnettimeprovider.c:
10569         (gst_net_time_provider_set_property):
10570         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
10571         It's in fact all issues with gst_*object_replace().
10572
10573 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10574
10575         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
10576         
10577         * pkgconfig/gstreamer-check-uninstalled.pc.in:
10578         * pkgconfig/gstreamer-check.pc.in:
10579           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
10580
10581 2006-03-21  Edward Hervey  <edward@fluendo.com>
10582
10583         * gst/gstbuffer.h:
10584         * gst/gstevent.h:
10585         * gst/gstmessage.h:
10586         gst_[buffer|event|message]_ref() macros are replaced by a static
10587         inline functions because gcc-4.1 will about if the return value
10588         isn't used.
10589         * tests/check/gst/gstevent.c: (event_probe):
10590         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
10591
10592 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
10593
10594         * gst/gstutils.h:
10595         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
10596         the type' case. (Closes: #335195 for now). In the future, when we
10597         depend on GLib 2.10, we could also intern the type name using
10598         g_intern_static_string()
10599
10600 2006-03-20  Wim Taymans  <wim@fluendo.com>
10601
10602         * gst/gstbin.c: (gst_bin_handle_message_func),
10603         (bin_query_max_init), (bin_query_position_fold),
10604         (bin_query_position_done), (gst_bin_query):
10605         Position query should also take max of all streams.
10606
10607 2006-03-20  Wim Taymans  <wim@fluendo.com>
10608
10609         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10610         (gst_fake_src_finalize):
10611         Fix leaks in fakesrc.
10612
10613         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10614         Fix leaks in the testcase.
10615
10616 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
10617
10618         * gst/gst_private.h:
10619           add win32 specific import decoration(__declspec(dllimport)) 
10620           for all extern GstDebugCategory * variables
10621         * win32/common/libgstbase.def:
10622         * win32/common/libgstcontroller.def:
10623         * win32/common/libgstreamer.def:
10624           Add some exports, remove empty lines
10625         * win32/common/libgstdataprotocol.def:
10626         * win32/common/libgstdataprotocol.dsp:
10627         * win32/common/libgstnet.def:
10628         * win32/common/libgstnet.dsp:
10629           new project files and exportation files added
10630         
10631 2006-03-19  Wim Taymans  <wim@fluendo.com>
10632
10633         * tests/check/libs/basesrc.c: (eos_event_counter):
10634         Use proper return value for probe.
10635
10636 2006-03-17  Wim Taymans  <wim@fluendo.com>
10637
10638         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10639         (gst_pad_push):
10640         Don't leak buffers, caps and pads on negotiation errors.
10641
10642 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
10643
10644         * docs/faq/cvs.xml:
10645         * docs/faq/dependencies.xml:
10646         * docs/faq/developing.xml:
10647         * docs/faq/faq.xml:
10648         * docs/faq/general.xml:
10649         * docs/faq/getting.xml:
10650         * docs/faq/legal.xml:
10651         * docs/faq/troubleshooting.xml:
10652         * docs/faq/using.xml:
10653         Faq review and update.
10654
10655 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
10656
10657         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10658         (gst_pad_push):
10659         Don't pound the cpu to pieces by checking get_caps when accept_caps
10660         is called with the same caps as the pad already has.
10661         Use GST_DEBUG_OBJECT when outputting caps change information.
10662
10663 2006-03-15  Wim Taymans  <wim@fluendo.com>
10664
10665         * gst/gstclock.c: (gst_clock_class_init):
10666         Fix docs.
10667
10668 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
10669
10670         * gst/gstbuffer.h:
10671         Documentation fix.
10672
10673         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
10674         (gst_pad_accept_caps), (gst_pad_configure_sink),
10675         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
10676         Make the default acceptcaps behaviour be to check the requested 
10677         caps against the gst_pad_get_caps output. 
10678
10679         Ensure that gst_pad_accept_caps is used to check caps when a pad
10680         doesn't have a setcaps function, so that pads automatically refuse 
10681         caps that they don't allow in their pad template. (Fixes #332986)
10682
10683         When a buffer with attached caps is pushed, ensure that the source 
10684         pad receives those caps even if the element didn't call
10685         gst_pad_set_caps first.
10686
10687 2006-03-15  Wim Taymans  <wim@fluendo.com>
10688
10689         * libs/gst/base/gstadapter.c:
10690         Add some docs.
10691
10692 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
10693
10694         * win32/common/libgstbase.def:
10695         * win32/common/libgstcontroller.def:
10696         * win32/common/libgstreamer.def:
10697           Add a whole bunch of missing functions (#334434).
10698
10699 2006-03-14  Wim Taymans  <wim@fluendo.com>
10700
10701         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10702         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10703         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
10704         Better debug info when we receive a segment event.
10705         Reorganize a bit so we can pass the get_times() results around.
10706         Use the segment format when calculating the running time.
10707         Don't do QoS is sync is disabled or we have no clock or the
10708         element does not want us to sync to the clock.
10709         Don't drop buffers if QoS is disabled for now.
10710
10711 2006-03-14  Wim Taymans  <wim@fluendo.com>
10712
10713         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
10714         Marked the stats property as unimplemented so people don't get
10715         wild ideas.
10716         Add debug message when regression goes wrong.
10717         Added some more docs.
10718
10719 2006-03-14  Wim Taymans  <wim@fluendo.com>
10720
10721         * gst/gstsegment.c: (gst_segment_to_stream_time):
10722         Return correct return type in case of errors.
10723
10724 2006-03-14  Wim Taymans  <wim@fluendo.com>
10725
10726         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
10727           Don't segfault on invalid formats.
10728
10729 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
10730
10731         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10732           Can't use gst_segment_to_running_time() when the segment
10733           is not in GST_TIME_FORMAT (like with filesink, for example).
10734           Stops flac encoding pipelines from spewing critical warnings
10735           at EOS (#331248).
10736           
10737 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
10738
10739         * gst/gstpipeline.c: (gst_pipeline_class_init):
10740           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
10741
10742         * plugins/elements/gsttypefindelement.c:
10743         (gst_type_find_element_handle_event):
10744           Don't try to typefind empty streams.
10745
10746 2006-03-14  Wim Taymans  <wim@fluendo.com>
10747
10748         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10749         (gst_base_sink_do_qos):
10750         Separate QoS calculation.
10751         Only drop buffers when lateness is bigger than the 
10752         duration of the buffer.
10753
10754 2006-03-13  Wim Taymans  <wim@fluendo.com>
10755
10756         * gst/gstpipeline.c: (gst_pipeline_set_property),
10757         (gst_pipeline_get_property), (do_pipeline_seek),
10758         (gst_pipeline_change_state), (gst_pipeline_set_delay),
10759         (gst_pipeline_get_delay):
10760         Don't deadlock when reading properties.
10761
10762 2006-03-13  Wim Taymans  <wim@fluendo.com>
10763
10764         * libs/gst/base/gstbasetransform.c:
10765         (gst_base_transform_class_init), (gst_base_transform_init),
10766         (gst_base_transform_sink_event),
10767         (gst_base_transform_sink_eventfunc),
10768         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
10769         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10770         (gst_base_transform_set_property),
10771         (gst_base_transform_get_property),
10772         (gst_base_transform_change_state), (gst_base_transform_update_qos),
10773         (gst_base_transform_set_qos_enabled),
10774         (gst_base_transform_is_qos_enabled):
10775         * libs/gst/base/gstbasetransform.h:
10776         Make basetransform virtual method for src events too.
10777         Handle QOS in basetransform.
10778         API: gst_base_transform_update_qos()
10779         API: gst_base_transform_set_qos_enabled()
10780         API: gst_base_transform_is_qos_enabled()
10781
10782 2006-03-13  Wim Taymans  <wim@fluendo.com>
10783
10784         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10785         (gst_base_sink_do_sync):
10786         Small cleanups.
10787         Use QOS debug category.
10788
10789 2006-03-13  Wim Taymans  <wim@fluendo.com>
10790
10791         * plugins/elements/gstqueue.c:
10792         Very small doc update.
10793
10794 2006-03-13  Wim Taymans  <wim@fluendo.com>
10795
10796         * gst/gst_private.h:
10797         * gst/gstinfo.c: (_gst_debug_init):
10798         Added QOS debug category
10799
10800 2006-03-13  Wim Taymans  <wim@fluendo.com>
10801
10802         * docs/gst/gstreamer-sections.txt:
10803         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
10804         * gst/gstbin.h:
10805         * gst/gstbus.c: (gst_bus_class_init):
10806         * gst/gstbus.h:
10807         * gst/gstclock.c:
10808         * gst/gstelement.c: (gst_element_set_locked_state):
10809         * gst/gstsegment.c:
10810         Documentation updates.
10811
10812         * gst/gstpipeline.c: (gst_pipeline_get_type),
10813         (gst_pipeline_class_init), (gst_pipeline_init),
10814         (gst_pipeline_dispose), (gst_pipeline_set_property),
10815         (gst_pipeline_get_property), (do_pipeline_seek),
10816         (gst_pipeline_send_event), (gst_pipeline_change_state),
10817         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
10818         (gst_pipeline_get_delay):
10819         * gst/gstpipeline.h:
10820         Added methods for setting the delay.
10821         API: gst_pipeline_set_delay()
10822         API: gst_pipeline_get_delay()
10823         Add pipeline debug category
10824         Various cleanups.
10825         Updated docs.
10826         Don't reset stream time when seek failed.
10827
10828 2006-03-13  Wim Taymans  <wim@fluendo.com>
10829
10830         * docs/design/draft-klass.txt:
10831         * docs/design/part-clocks.txt:
10832         * docs/design/part-events.txt:
10833         * docs/design/part-gstbin.txt:
10834         * docs/design/part-gstpipeline.txt:
10835         * docs/design/part-messages.txt:
10836         * docs/design/part-negotiation.txt:
10837         * docs/design/part-overview.txt:
10838         * docs/design/part-preroll.txt:
10839         * docs/design/part-seeking.txt:
10840         * docs/design/part-states.txt:
10841         * docs/design/part-streams.txt:
10842         Documentation updates.
10843
10844 2006-03-12  Julien MOUTTE  <julien@moutte.net>
10845
10846         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
10847         us to leak strings...
10848
10849 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10850
10851         * libs/gst/net/gstnettimeprovider.c:
10852           fix docs
10853         * win32/common/config.h:
10854           update
10855
10856 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
10857
10858         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
10859
10860         * configure.ac:
10861           Don't check for libgnomeui (leftover from old examples
10862           that aren't built or disted any longer) (#334303).
10863           
10864 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
10865
10866         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
10867         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10868           Emit RESOURCE_NO_SPACE_LEFT error here as well when
10869           there's no space left on the device.
10870
10871 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
10872
10873         * gst/gstclock.h:
10874           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
10875           to cast the input to GstClockTime before comparing with
10876           another GstClockTime value.
10877
10878 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10879
10880         * configure.ac:
10881           back to trunk
10882
10883 === release 0.10.4 ===
10884
10885 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
10886
10887         * configure.ac:
10888           releasing 0.10.4, "Light"
10889
10890 2006-03-10  Michael Smith  <msmith@fluendo.com>
10891
10892         * libs/gst/dataprotocol/dataprotocol.c:
10893           Fix docs for dataprocotol to not get the return types completely
10894           wrong for a few functions.
10895
10896 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
10897
10898         * docs/gst/gstreamer-sections.txt:
10899         * gst/gstpipeline.c: (gst_pipeline_class_init),
10900         (gst_pipeline_init), (gst_pipeline_set_property),
10901         (gst_pipeline_get_property), (gst_pipeline_change_state),
10902         (gst_pipeline_set_auto_flush_bus),
10903         (gst_pipeline_get_auto_flush_bus):
10904         * gst/gstpipeline.h:
10905           Add new API: gst_pipeline_set_auto_flush_bus() and
10906           gst_pipeline_get_auto_flush_bus() to disable automatic
10907           flushing of the pipeline's GstBus when going from READY
10908           to NULL state (#332045).
10909
10910 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
10911
10912         * docs/gst/gstreamer-sections.txt:
10913         * gst/gsturi.c: (gst_uri_has_protocol):
10914         * gst/gsturi.h:
10915            Add new API: gst_uri_has_protocol() (#333779).
10916
10917 2006-03-09  Wim Taymans  <wim@fluendo.com>
10918
10919         * gst/gstclock.c: (gst_clock_entry_new),
10920         (gst_clock_id_compare_func), (gst_clock_id_wait),
10921         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
10922         (gst_clock_init), (gst_clock_get_internal_time),
10923         (gst_clock_set_master), (do_linear_regression),
10924         (gst_clock_add_observation), (gst_clock_set_property):
10925         * gst/gstclock.h:
10926         Review docs.
10927         Small cleanups.
10928         Fix a possible segfault when the window-size is made smaller.
10929         Calculate jitter before performing the clock wait. Ideally
10930         the clock implementation should calculate jitter but we need
10931         API breakage for that.
10932
10933         * gst/gstsystemclock.c: (gst_system_clock_init):
10934         Docs review.
10935         
10936         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10937         Remove leftover else
10938
10939         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
10940         (gst_systemclock_suite):
10941         Added check to test GST_CLOCK_DIFF.
10942
10943 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
10944
10945         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
10946         (gst_type_find_helper_get_range):
10947           If we are provided with the size, we should implement
10948           GstTypeFind::get_length, so that typefind functions who
10949           want to can actually peek at the middle of a file.
10950
10951 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
10952
10953         * docs/manual/advanced-dataaccess.xml:
10954           Add some very very basic error checking.
10955
10956         * docs/pwg/appendix-checklist.xml:
10957           Some updates to the list of things to check when writing an element.
10958
10959 2006-03-08  Wim Taymans  <wim@fluendo.com>
10960
10961         * docs/design/part-element-transform.txt:
10962         Added some docs about the design of tranform elements.
10963
10964         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10965         (gst_base_src_loop), (gst_base_src_change_state):
10966         Mark buffers with the DISCONT flag.
10967
10968 2006-03-08  Michael Smith  <msmith@fluendo.com>
10969
10970         * gst/gstregistry.h:
10971         * gst/gstregistryxml.c: (gst_registry_save),
10972         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
10973         (gst_registry_xml_save_pad_template),
10974         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
10975         (gst_registry_xml_write_cache):
10976           Rewrite registry-saving to avoid race conditions and check for
10977           failed writes.
10978
10979 2006-03-08  Wim Taymans  <wim@fluendo.com>
10980
10981         * libs/gst/base/gstbasetransform.c:
10982         (gst_base_transform_transform_caps),
10983         (gst_base_transform_transform_size),
10984         (gst_base_transform_prepare_output_buffer),
10985         (gst_base_transform_get_unit_size),
10986         (gst_base_transform_buffer_alloc),
10987         (gst_base_transform_handle_buffer),
10988         (gst_base_transform_change_state):
10989         Cleanups, separate normal flow from errors, add sensible
10990         DEBUG lines.
10991         Don't try to renegotiate when allocating an output buffer.
10992         Also copy DISCONT buffer flag when copying a buffer.
10993         Reset the transform after we finish streaming, not during.
10994
10995 2006-03-08  Wim Taymans  <wim@fluendo.com>
10996
10997         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10998         Use last buffer timestamp in qos message.
10999
11000 2006-03-07  Wim Taymans  <wim@fluendo.com>
11001
11002         Patch by: Christophe Fergeau
11003
11004         * docs/pwg/advanced-tagging.xml:
11005         * docs/pwg/building-pads.xml:
11006           fixes #333416
11007
11008 2006-03-07  Wim Taymans  <wim@fluendo.com>
11009
11010         * docs/libs/gstreamer-libs-sections.txt:
11011         Added basesink new methods.
11012
11013         * gst/gstevent.c:
11014         * gst/gstevent.h:
11015         Docs updates. Flesh out the QoS docs.
11016
11017         * libs/gst/base/gstadapter.c:
11018         Small doc clarification about ownership and flushing.
11019
11020         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
11021         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
11022         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
11023         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11024         * libs/gst/base/gstbasesink.h:
11025         API additions: 
11026         Added new methods to allow subclass to control max-lateness 
11027         and sync.
11028         Generate very basic QoS events based on last sync observation.
11029         Updated docs, fix typo, added some QoS blurb.
11030
11031         * libs/gst/base/gstbasesrc.c:
11032         Remove obsolete _get_state() calls from docs.
11033
11034 2006-03-07  Wim Taymans  <wim@fluendo.com>
11035
11036         * docs/libs/gstreamer-libs-sections.txt:
11037         * libs/gst/base/gstbasetransform.h:
11038         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
11039         Fix docs for GstBaseSrc.
11040
11041 2006-03-07  Wim Taymans  <wim@fluendo.com>
11042
11043         * docs/gst/gstreamer-sections.txt:
11044         * gst/gstbuffer.h:
11045         * gst/gstvalue.c:
11046         * libs/gst/base/gstbasetransform.h:
11047         Small documentation fixes.
11048
11049 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11050
11051         * gst/gstvalue.c:
11052           Document thread-unsafety of gst_value_register_foo_func()
11053           when used at the same time as gst_value_foo() (#322628).
11054
11055 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11056
11057         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
11058         (gst_push_src_check_get_range):
11059           Push sources don't support pull mode by default.
11060
11061 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11062
11063         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11064         (gst_base_src_init), (gst_base_src_pad_check_get_range),
11065         (gst_base_src_default_check_get_range):
11066         * libs/gst/base/gstbasesrc.h:
11067           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
11068           provide default implementation, and rename
11069           gst_base_src_check_get_range() to
11070           gst_base_src_pad_check_get_range() for clarity.
11071
11072 2006-03-06  Wim Taymans  <wim@fluendo.com>
11073
11074         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11075         Make property overridable.
11076
11077 2006-03-06  Wim Taymans  <wim@fluendo.com>
11078
11079         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11080         (gst_base_sink_init), (gst_base_sink_set_property),
11081         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11082         * libs/gst/base/gstbasesink.h:
11083         API addition: Make max-lateness a property.
11084
11085 2006-03-06  Wim Taymans  <wim@fluendo.com>
11086
11087         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
11088         (gst_base_sink_do_sync), (gst_base_sink_render_object):
11089         Don't ever draw a frame that is >10ms late.
11090
11091 2006-03-06  Michael Smith  <msmith@fluendo.com>
11092
11093         * gst/gstmessage.c: (_gst_message_copy):
11094           When copying a message, set the parent_refcount of the enclosed
11095           structure to point at the copy, not the original message.
11096
11097 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11098
11099         Patch by: Christophe Fergeau
11100
11101         * gst/gstutils.h:
11102           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
11103           usable in c++ code (#333417)
11104
11105 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11106
11107         * gst/gstclock.h:
11108           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
11109
11110 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
11111
11112         * libs/gst/base/gstbasetransform.c:
11113         (gst_base_transform_transform_caps):
11114           Make sure caps are writable before passing them to
11115           gst_caps_append().
11116
11117 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11118
11119         * gst/gsterror.h:
11120           Fix some minor docs errors.
11121
11122 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11123
11124           Patch by: Ross Burton <ross at burtonini dot com>
11125
11126         * gst/gsterror.c: (_gst_resource_errors_init):
11127         * gst/gsterror.h:
11128           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
11129
11130 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11131
11132         * gst/gst.c:
11133         Add a check and output a g_warning when GStreamer is built
11134         against GLib 2.6 but running against 2.8 or higher, and vice 
11135         versa. (Closes: #323542)
11136
11137 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11138
11139         * gst/parse/parse.l:
11140           Commit patch for parse_launch syntax from #331255. Removes 
11141           support for quoted strings and mimetypes when writing filtered 
11142           caps. See the bug report for more details - I'm pretty sure this
11143           obscure feature is not in use by _anyone_ anywhere.
11144
11145           With this simple change, the size of the gstreamer.so here 
11146           drops from 2193KB to 1565KB.
11147
11148 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11149
11150         * plugins/elements/gsttypefindelement.h:
11151         * plugins/elements/gsttypefindelement.c:
11152         (gst_type_find_element_src_event), (start_typefinding),
11153         (stop_typefinding), (gst_type_find_element_handle_event),
11154         (gst_type_find_element_chain),
11155         (gst_type_find_element_chain_do_typefinding):
11156           Use gst_type_find_helper_for_buffer() for chain-based
11157           typefinding.
11158
11159 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11160
11161         * plugins/elements/gsttypefindelement.c:
11162         (gst_type_find_element_class_init),
11163         (gst_type_find_element_set_property),
11164         (gst_type_find_element_get_property):
11165           Deprecate "maximum" property (not only was it only taken into
11166           account for typefinding in push-mode anyway, it also was never
11167           actually possible to set it in the first place because the
11168           property was registered with the numeric property ID for the
11169           "minimum" property). Register "maximum" property correctly,
11170           for the sake of future copy'n'pasters. Remove some cruft
11171           from property get/set functions.
11172
11173 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11174
11175         * plugins/elements/gsttypefindelement.c:
11176         (gst_type_find_element_activate):
11177           Use gst_type_find_helper_get_range() here, so we
11178           can honour the "minimum" property and also emit
11179           the signal with the correct probability of the found caps.
11180
11181 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
11182
11183         * docs/libs/gstreamer-libs-sections.txt:
11184         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
11185         (helper_find_suggest), (gst_type_find_helper_get_range),
11186         (gst_type_find_helper):
11187         * libs/gst/base/gsttypefindhelper.h:
11188           New API: gst_type_find_helper_get_range() (#333042).
11189
11190 2006-03-02  Michael Smith  <msmith@fluendo.com>
11191
11192         * gst/gstregistryxml.c: (load_feature):
11193           Asserting on a failure to read part of the registry is Not Cool.
11194           Just log a warning and return NULL (which is already handled)
11195
11196 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
11197
11198         * win32/common/libgstbase.def:
11199           added export of gst_type_find_helper_for_buffer
11200         * win32/common/libgstbase.def:
11201           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
11202           gst_ghost_pad_get_target
11203
11204 2006-02-28  Wim Taymans  <wim@fluendo.com>
11205
11206         * docs/design/draft-klass.txt:
11207         We use Filter now.
11208         Added Connector to mark elements that are only used to
11209         allow pipeline connections.
11210         Moved Debug to extra feature since most of them are 
11211         functionally something else.
11212
11213 2006-02-28  Wim Taymans  <wim@fluendo.com>
11214
11215         * docs/design/draft-klass.txt:
11216         Some updates and clarifications.
11217
11218 2006-02-28  Wim Taymans  <wim@fluendo.com>
11219
11220         * docs/design/draft-klass.txt:
11221         Proposal for klass field values.
11222
11223         * docs/design/part-streams.txt:
11224         Start of a doc describing stream anatomy.
11225
11226 2006-02-28  Wim Taymans  <wim@fluendo.com>
11227
11228         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
11229         Help the compiler a bit with type registration.
11230         Use existing forward cod path instead of duplicating it when 
11231         handling a message.
11232         
11233         * gst/gstbus.c: (gst_bus_get_type):
11234         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
11235         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
11236         * gst/gstclock.c: (gst_clock_get_type):
11237         * gst/gstelement.c: (gst_element_get_type),
11238         * gst/gstelementfactory.c: (gst_element_factory_get_type):
11239         * gst/gstindexfactory.c: (gst_index_factory_get_type):
11240         * gst/gstminiobject.c: (gst_mini_object_get_type):
11241         * gst/gstpad.c: (gst_pad_get_type):
11242         * gst/gstsegment.c: (gst_segment_get_type):
11243         * gst/gststructure.c: (gst_structure_get_type):
11244         * gst/gstsystemclock.c: (gst_system_clock_get_type):
11245         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
11246         * gst/gstvalue.c:
11247         Help compiler with type registration.
11248
11249         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
11250         Small doc update.
11251
11252 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11253
11254         * plugins/elements/gsttypefindelement.c:
11255         (gst_type_find_element_handle_event):
11256           When we get an EOS event and have not found a type yet
11257           (most likely because we had not yet accumulated
11258           TYPE_FIND_MIN_SIZE of data yet), try to determine the
11259           type given the data we have so far. Fixes typefinding
11260           for very short streams again, most notably quicktime
11261           redirections as used on Apple's trailer site (#331701).
11262
11263 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11264
11265         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
11266         (gst_type_find_helper):
11267           Try typefinding factories with the highest rank first.
11268
11269 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11270
11271         * docs/libs/gstreamer-libs-docs.sgml:
11272         * docs/libs/gstreamer-libs-sections.txt:
11273         * libs/gst/base/gsttypefindhelper.c:
11274           Add section for typefind helper and add documentation
11275           for the old and the new function.
11276
11277 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11278
11279         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
11280         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
11281         (gst_type_find_helper_for_buffer):
11282         * libs/gst/base/gsttypefindhelper.h:
11283           New API: gst_type_find_helper_for_buffer() (#332723).
11284           
11285 2006-02-27  Michael Smith  <msmith@fluendo.com>
11286
11287         Patch by: Loïc Minier
11288
11289         * configure.ac:
11290         * docs/Makefile.am:
11291         * docs/slides/Makefile.am:
11292           prevent CVS directories getting disted.
11293
11294 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11295
11296         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
11297           Use the REFCOUNTING category for caps refcounting.
11298           
11299 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11300
11301         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11302           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
11303
11304 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11305
11306         * plugins/elements/gsttypefindelement.c:
11307         (gst_type_find_element_activate):
11308           Use gst_pad_check_pull_range() before _activate_pull()
11309           to avoid unnecessary open/close (see #331690).
11310
11311 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11312
11313         * gst/gstutils.c:
11314           Docs enhancement: make it crystal clear what the
11315           gst_pad_add_*_probe() callbacks should look like.
11316
11317 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11318
11319         * libs/gst/base/gstbasesrc.c:
11320           Document how applications can stop recording from
11321           live sources (see #330996).
11322
11323 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11324
11325         * tests/check/Makefile.am:
11326         * tests/check/libs/basesrc.c: (eos_event_counter),
11327         (basesrc_eos_events_pull), (basesrc_eos_events_push),
11328         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
11329         (gst_basesrc_suite), (main):
11330           ... and add some tests for the base source EOS stuff.
11331
11332 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11333
11334         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
11335           Test case originally showed the problem fixed below,
11336           but was then amended. Add checks back at the place
11337           where they used to be.
11338
11339 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11340
11341         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11342         (gst_base_src_init), (gst_base_src_loop),
11343         (gst_base_src_activate_push), (gst_base_src_activate_pull),
11344         (gst_base_src_change_state):
11345         * libs/gst/base/gstbasesrc.h:
11346           Don't unconditionally send EOS when going from PAUSED to
11347           READY state, esp. make sure we don't send two EOS events
11348           in some cases (e.g. one when reaching EOS and one when
11349           going from PAUSED to READY). Also, we don't want to send
11350           EOS events when operating in pull mode. However, we do
11351           want to send an EOS event when shutting down a live
11352           source explicitly, for example (fixes #330996).
11353           
11354 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11355
11356         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11357           Update src->read_position after a seek when not using mmap.
11358           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
11359
11360 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
11361
11362         * gst/Makefile.am:
11363         * gst/gstparse.h:
11364         * gst/gstutils.c:
11365         * gst/gstutils.h:
11366         Make things work with --disable-parse as they do with 
11367         --disable-load-save - the symbols involved disappear, but the
11368         header is still installed and GST_DISABLE_PARSE is included via
11369         gstconfig.h
11370
11371 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11372
11373         * libs/gst/base/gstbasetransform.c:
11374         (gst_base_transform_change_state): Fix a stupid bug. I was 
11375         sure I compiled that.
11376
11377 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11378
11379         * gst/gstpad.c: (gst_pad_set_blocked_async):
11380         * gst/gstutils.c: (gst_pad_add_data_probe),
11381         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11382         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11383         (gst_pad_remove_buffer_probe): Make those function act on the
11384         ghostpad target when it's a ghostpad. (Closes #331727)
11385
11386 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11387
11388         * libs/gst/base/gstbasetransform.c:
11389         (gst_base_transform_change_state): Make basetransform reusable.
11390         (Closes #331898)
11391
11392 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
11393
11394         * docs/random/release:
11395         Move the current documentation of how to do a release to the top
11396         of the file.
11397
11398         * gst/gstbin.c: (gst_bin_class_init),
11399         (gst_bin_handle_message_func):
11400         Allow multiple state-recalculation threads. (Closes #328873)
11401
11402 2006-02-19  Julien MOUTTE  <julien@moutte.net>
11403
11404         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
11405         * gst/gstpad.c: (gst_pad_set_event_function),
11406         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11407         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
11408         2 strings. You can't use the STR_NULL macro on that.
11409
11410 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
11411
11412         * gst/gstpad.c: (gst_pad_set_event_function),
11413         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11414         (gst_pad_set_getcaps_function)
11415         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
11416           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
11417           So now, we can use --gst-debug-level=5 on Windows
11418         * win32/common/libgstcontroller.def:
11419           Added export of gst_controller_init
11420         * win32/vs6/libgstcontroller.dsp:
11421           Fixed Release post build configuration
11422
11423 2006-02-17  Wim Taymans  <wim@fluendo.com>
11424
11425         * tests/check/gst/gstquery.c: (GST_START_TEST):
11426         Added another check.
11427
11428 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
11429
11430         * plugins/elements/gsttypefindelement.c: (find_peek):
11431           We can do peeks at non-zero offsets, as long as they
11432           fall within the buffer we have.
11433
11434 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
11435
11436         * tests/check/Makefile.am:
11437         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
11438         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
11439         (parse_suite), (main):
11440           Add testsuite for parse launch syntax
11441
11442 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
11443
11444         * plugins/elements/gsttypefindelement.c:
11445         (gst_type_find_element_chain):
11446           When typefinding is unsuccessful in the chain function, don't
11447           error out immediately. Only error out with NO_CAPS_FOUND if
11448           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
11449           otherwise simply wait for more data so we can try typefinding
11450           again with more data later. Also, don't attempt to typefind
11451           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
11452           this should improve typefinding from network sources where the
11453           size of the first buffer can be somewhat random.
11454
11455 2006-02-14  Wim Taymans  <wim@fluendo.com>
11456
11457         * docs/gst/gstreamer-sections.txt:
11458         * gst/gstpadtemplate.c:
11459         * gst/gstpadtemplate.h:
11460         Fix padtemplate docs, fixes #328805.
11461
11462 2006-02-14  Wim Taymans  <wim@fluendo.com>
11463
11464         * tools/gst-launch.c: (main):
11465         NO_PREROLL is not an ERROR so don't send confusing messages
11466         to the user.
11467
11468 2006-02-14  Wim Taymans  <wim@fluendo.com>
11469
11470         Patch by: Torsten Schoenfeld
11471
11472         * gst/gstregistry.c: (gst_registry_get_default),
11473         (_gst_registry_cleanup):
11474         Protect default registry with lock and ref/sink it.
11475         Fixes #324818
11476
11477 2006-02-14  Wim Taymans  <wim@fluendo.com>
11478
11479         * gst/gstbuffer.c:
11480         * gst/gstquery.c: (gst_query_list_add_format),
11481         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11482         (gst_query_parse_formats_nth):
11483         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11484         Docs fixes.
11485
11486 2006-02-14  Wim Taymans  <wim@fluendo.com>
11487
11488         * docs/gst/gstreamer-sections.txt:
11489         Reworked query docs.
11490
11491         * gst/gstquery.c: (gst_query_new_formats),
11492         (gst_query_list_add_format), (gst_query_set_formats),
11493         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11494         (gst_query_parse_formats_nth):
11495         * gst/gstquery.h:
11496         Flesh out formats query, added some new methods.
11497         Fix part of #324398.
11498
11499         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
11500         Added query creation tests.
11501
11502 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
11503
11504         * gst/gstpad.c: (fixate_value):
11505         Add a default fixation for fraction lists.
11506
11507 2006-02-13  Wim Taymans  <wim@fluendo.com>
11508
11509         * gst/gsttask.c: (gst_task_init), (gst_task_func),
11510         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
11511         (gst_task_join):
11512         * gst/gsttask.h:
11513         Detect and warn for obvious deadlocks. fixes #320340
11514         Fix error case where lock was not released.
11515
11516         * tests/check/Makefile.am:
11517         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
11518         (task_func), (gst_element_suite), (main):
11519         Add task check.
11520
11521 2006-02-13  Wim Taymans  <wim@fluendo.com>
11522
11523         * docs/gst/gstreamer-sections.txt:
11524         * gst/gstbus.c:
11525         Add new functions to docs.
11526
11527 2006-02-13  Wim Taymans  <wim@fluendo.com>
11528
11529         * docs/design/part-TODO.txt:
11530         Updated TODO list, basesrc supports seeking to non-bytes
11531         formats.
11532
11533         * docs/design/part-element-sink.txt:
11534         Update docs.
11535
11536         * gst/gstbin.c: (bin_replace_message),
11537         (gst_bin_handle_message_func):
11538         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11539         * gst/gstevent.c: (gst_event_finalize):
11540         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11541         (gst_pad_send_event):
11542         Use shiny new _TYPE_NAME macros.
11543
11544         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11545         Move debug statement up.
11546
11547         * gst/gstelement.c: (gst_element_set_locked_state):
11548         Add some debugging.
11549
11550 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
11551
11552         * docs/gst/gstreamer-sections.txt:
11553         * gst/gstmessage.h:
11554         * gst/gstquery.h:
11555           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
11556           macros (#330906). Also, document the already existing
11557           GST_QUERY_TYPE macro.
11558
11559 2006-02-13  Wim Taymans  <wim@fluendo.com>
11560
11561         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
11562         (event_probe), (GST_START_TEST):
11563         Only events up to the pipeline EOS are counted, there are
11564         some more when going to NULL currently which we don't care
11565         about for now.
11566
11567 2006-02-13  Wim Taymans  <wim@fluendo.com>
11568
11569         * gst/gstpad.c: (gst_pad_send_event):
11570         Correctly check flushing and emit probes. fixes #330125
11571
11572 2006-02-10  Andy Wingo  <wingo@pobox.com>
11573
11574         * gst/gstbus.c (gst_bus_class_init): Declare our private data
11575         structure.
11576         (gst_bus_init): Cache the location of the private data in the
11577         instance structure.
11578         (gst_bus_enable_sync_message_emission) 
11579         (gst_bus_disable_sync_message_emission): Implement new public
11580         functions.
11581         (gst_bus_post): Emit the sync-message signal if the user asked for
11582         it. Fixes #330684.
11583
11584         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
11585         location of the bus-private structure.
11586         (gst_bus_enable_sync_message_emission)
11587         (gst_bus_disable_sync_message_emission): API addition
11588
11589 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
11590
11591         Patch by: Vincent Torri
11592
11593         * docs/pwg/building-boiler.xml:
11594         PWG patch from #326800
11595
11596 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
11597
11598         * configure.ac:
11599         * docs/Makefile.am:
11600         * docs/design/Makefile.am:
11601           Dist design docs.
11602
11603 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11604
11605         * configure.ac:
11606           back to CVS
11607
11608 === release 0.10.3 ===
11609
11610 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
11611
11612         * configure.ac:
11613           releasing 0.10.3, "Like a virgin"
11614
11615 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11616
11617         * configure.ac:
11618           2nd prerelease of 0.10.3
11619           Bump libtool versioning.
11620
11621 2006-02-07  Andy Wingo  <wingo@pobox.com>
11622
11623         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
11624         update last_stop if we're in TIME format and the timestamp is
11625         valid.
11626
11627         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
11628         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
11629         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
11630         If we get a new newsegment with a different format, adapt
11631         accordingly.
11632
11633         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
11634         of 0. Not a problem, really.
11635
11636         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
11637         warn if sync=true.
11638
11639 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
11640
11641         * configure.ac:
11642           Prelease of 0.10.3
11643
11644 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
11645
11646         * win32/vs7:
11647           project files updated to the default vs7 configuration
11648         * win32/common/libgstbase.def:
11649         * win32/common/libgstreamer.def:
11650           added new symbols,
11651           removed empty lines,
11652           sorted all exported symbols alphabetically
11653         * win32/common/dirent.c:
11654         * win32/common/dirent.h:
11655         * win32/common/gchar.h:
11656           use windows line end.
11657           
11658 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
11659
11660         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11661           Send EOS event when stopping.
11662
11663 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
11664
11665         * docs/README:
11666           Tell folks what to do if the plugin-foobar.xml file
11667           hasn't been generated for a newly-added plugin.
11668
11669 2006-02-05  Julien MOUTTE  <julien@moutte.net>
11670
11671         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11672         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11673         (gst_collect_pads_start), (gst_collect_pads_stop),
11674         (gst_collect_pads_event): Collectpads now holds a reference
11675         to the GstPad that was added. Indeed we don't want to look
11676         at pads that might just go away with no warning...
11677
11678 2006-02-05  Julien MOUTTE  <julien@moutte.net>
11679
11680         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11681         (gst_collect_pads_start), (gst_collect_pads_stop),
11682         (gst_collect_pads_event), (gst_collect_pads_chain):
11683         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
11684         Mark Nauwelaerts's patch on bug #328491.
11685
11686 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
11687
11688         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
11689         (gst_utils_suite):
11690           Add some simple tests for gst_parse_bin_from_description() and
11691           gst_bin_find_unconnected_pad() (#329069).
11692
11693 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
11694
11695         * tools/gst-launch.c: (event_loop), (main):
11696           Catch errors during preroll (#320084).
11697
11698 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
11699
11700         * plugins/elements/gsttypefindelement.c:
11701         (gst_type_find_element_activate):
11702           Post TYPE_NOT_FOUND error message when typefinding
11703           is unsuccessful in the activate function as well.
11704
11705 2006-02-02  Wim Taymans  <wim@fluendo.com>
11706
11707         * docs/design/part-element-sink.txt:
11708         Updated doc.
11709
11710 2006-02-02  Wim Taymans  <wim@fluendo.com>
11711
11712         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11713         (gst_base_sink_render_object),
11714         (gst_base_sink_queue_object_unlocked):
11715         Only keep track of prerollable items when we are 
11716         prerolling.
11717         Before rendering after preroll, always check if we
11718         have queued items.
11719         Added some more debugging.
11720
11721 2006-02-02  Wim Taymans  <wim@fluendo.com>
11722
11723         * gst/gstelement.c: (gst_element_continue_state),
11724         (gst_element_set_state_func), (gst_element_change_state):
11725         Fixed #326576, been running this for quite some time with
11726         no regressions at all.
11727
11728 2006-02-02  Wim Taymans  <wim@fluendo.com>
11729
11730         * common/gst.supp:
11731         Added more suppressions
11732
11733 2006-02-02  Wim Taymans  <wim@fluendo.com>
11734
11735         * docs/design/part-element-sink.txt:
11736         Updated document.
11737
11738         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11739         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
11740         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
11741         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11742         (gst_base_sink_do_sync), (gst_base_sink_render_object),
11743         (gst_base_sink_preroll_object),
11744         (gst_base_sink_queue_object_unlocked),
11745         (gst_base_sink_queue_object), (gst_base_sink_event),
11746         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
11747         (gst_base_sink_loop), (gst_base_sink_activate_pull),
11748         (gst_base_sink_get_position), (gst_base_sink_change_state):
11749         * libs/gst/base/gstbasesink.h:
11750         Totally refactored matching the design doc.
11751         Use two segments, one to clip incomming buffers and another to
11752         perform sync.
11753         Handle queueing correctly, bypass the queue when playing.
11754         Make EOS cancelable.
11755         Handle errors correctly when operating in pull based mode.
11756
11757         * tests/check/elements/fakesink.c: (GST_START_TEST),
11758         (fakesink_suite):
11759         Added new check for sinks.
11760
11761 2006-02-02  Wim Taymans  <wim@fluendo.com>
11762
11763         * gst/gstsegment.c: (gst_segment_clip):
11764         No reason to refuse to clip when start == -1
11765
11766 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
11767
11768         * docs/README:
11769         * docs/manual/intro-basics.xml:
11770         * docs/manual/intro-preface.xml:
11771         * docs/manual/manual.xml:
11772         * docs/pwg/advanced-dparams.xml:
11773         * docs/pwg/intro-basics.xml:
11774         * docs/pwg/intro-preface.xml:
11775         * docs/pwg/pwg.xml:
11776           describe dparams (controller) for plugins
11777           unify docs a little more
11778
11779 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
11780
11781         * docs/gst/gstreamer-sections.txt:
11782         * gst/gstutils.c: (element_find_unconnected_pad),
11783         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
11784         * gst/gstutils.h:
11785           Add new API: gst_parse_bin_from_description() and
11786           gst_bin_find_unconnected_pad() (#329069).
11787
11788 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
11789
11790         * docs/manual/README:
11791           uncover a nasty detail of the docs build
11792
11793 2006-01-31  Wim Taymans  <wim@fluendo.com>
11794
11795         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
11796         Don't cache duration messages if we're not going to use or
11797         free them.
11798
11799 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
11800
11801         * docs/manual/advanced-dparams.xml:
11802         * docs/pwg/advanced-dparams.xml:
11803           more dparam docs
11804         * gst/gstindex.c:
11805           fix docs
11806         * libs/gst/controller/lib.c: (gst_controller_init):
11807           init just once
11808
11809 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
11810
11811         * gst/gstelement.c: (gst_element_message_full):
11812           also show file/line/func if no additional debug was given
11813
11814 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
11815         
11816         * win32/vs7/grammar.vcproj:
11817           activate copy of autogenerated files for Release mode
11818
11819 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
11820         
11821         * win32/common/libgstreamer.def:
11822           export gst_value_compare
11823
11824 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
11825
11826         * plugins/elements/Makefile.am:
11827         * plugins/elements/gstelements.c:
11828         * plugins/elements/gstfdsink.c: (_do_init),
11829         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
11830         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
11831         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
11832         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
11833         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
11834         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
11835         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
11836         * plugins/elements/gstfdsink.h:
11837         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
11838
11839 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
11840
11841         * docs/manual/advanced-dparams.xml:
11842           describe controller
11843         * docs/manual/advanced-position.xml:
11844         * docs/manual/basics-init.xml:
11845         * docs/manual/manual.xml:
11846         * docs/manual/titlepage.xml:
11847         * docs/pwg/pwg.xml:
11848         * docs/pwg/titlepage.xml:
11849           cleanup xml (more to come)
11850         * libs/gst/controller/gstcontroller.c:
11851           fix typo
11852
11853 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
11854         
11855         * win32/vs6/grammar.dsp:
11856           add autogen of gstmarshal.c,h for Release mode
11857                 
11858 2006-01-30  Wim Taymans  <wim@fluendo.com>
11859
11860         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11861         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
11862         (gst_base_sink_handle_object), (gst_base_sink_event),
11863         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
11864         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
11865         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
11866         (gst_base_sink_deactivate), (gst_base_sink_activate),
11867         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11868         (gst_base_sink_query), (gst_base_sink_change_state):
11869         Basesink cleanups, remove some old code.
11870         Handle the case where a subclass can preroll in the render
11871         method (mostly audiosinks).
11872         Handle more events.
11873         Remove some locks around variables that are now protected
11874         with the PREROLL_LOCK (clock_id, flushing, ..).
11875         Optimize position query some more, do correct locking.
11876         Remove old code to push queue in state change, this is not
11877         needed anymore since preroll blocks on all prerollable items 
11878         now.
11879         Almost implemented as described in design doc.
11880
11881 2006-01-30  Wim Taymans  <wim@fluendo.com>
11882
11883         * tests/check/gst/gstbin.c: (GST_START_TEST):
11884         Wait for refcount to settle down before checking.
11885
11886 2006-01-30  Wim Taymans  <wim@fluendo.com>
11887
11888         * docs/design/part-element-sink.txt:
11889         Pseudo code overview of desired sink behaviour regarding
11890         preroll.
11891
11892 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
11893         * win32/vs6/grammar.dsp:
11894           fix some bugs in Release mode for autogenerated files
11895                 
11896 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
11897         * win32/common/libgstbase.def:
11898         * win32/common/libgstreamer.def:
11899           export some new symbols: gst_base_src_set_format,
11900           gst_iterator_next, gst_structure_set_valist
11901
11902 2006-01-29  Julien MOUTTE  <julien@moutte.net>
11903
11904         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11905         Set pad functions unconditionally. Fixes #329105.
11906
11907 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
11908         * win32/vs8:
11909           add vs8 project files created by Sergey Scobich
11910
11911 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
11912
11913         * gst/gstutils.c: (gst_element_unlink_pads):
11914         Don't leak pad references.
11915
11916         * tests/check/elements/fakesink.c: (GST_START_TEST):
11917         * tests/check/generic/sinks.c: (GST_START_TEST):
11918         * tests/check/generic/states.c: (GST_START_TEST):
11919         * tests/check/gst/gstbin.c: (GST_START_TEST):
11920         * tests/check/gst/gstcaps.c: (GST_START_TEST):
11921         * tests/check/gst/gstelement.c: (GST_START_TEST):
11922         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11923         * tests/check/gst/gstiterator.c: (GST_START_TEST):
11924         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11925         Fix a bunch of leaks. Make generic/sinks.c
11926         use a bit less cpu by slowing the buffer rate
11927         between fakesrc and fakesink.
11928         
11929 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
11930         * gst/gstcaps.c:
11931         * gst/gstelement.c: (gst_element_send_event):
11932         * gst/gstevent.c:
11933         * gst/gstinfo.c:
11934         * gst/gstiterator.c:
11935         * gst/gstiterator.h:
11936         * gst/gstpad.c: (gst_pad_send_event):
11937         * gst/gststructure.c:
11938         * gst/gsturi.c:
11939         * gst/gstutils.c:
11940         * gst/gstvalue.c:
11941         * libs/gst/base/gstadapter.c:
11942           doc fixes, to link to function, just write gst_cool_function(), don't
11943           prefix with '#'
11944
11945 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
11946
11947         * plugins/elements/gsttee.c: (gst_tee_do_push),
11948         (gst_tee_handle_buffer):
11949         Always prefer an actual return value from a src
11950         pad in place of NOT_LINKED. This means we return
11951         WRONG_STATE when all src pads are WRONG_STATE
11952         instead of NOT_LINKED.
11953
11954         Lock when replacing the last message to prevent
11955         racing with the get_property method.
11956
11957         Add debug output
11958
11959 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
11960
11961         * tests/check/Makefile.am:
11962         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
11963         (main):
11964         Add a very simple check that should have caught the memleak I fixed
11965         last night (if not for the slice allocator hiding it)
11966
11967 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
11968
11969         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11970         (gst_bin_remove_func), (gst_bin_handle_message_func),
11971         (bin_query_duration_fold), (bin_query_generic_fold):
11972         Clean up references to the clock provider when disposed or when
11973         handling a clock-lost message from it.
11974
11975         Unref sinks when performing a query via gst_iterator_fold, as the
11976         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
11977
11978         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
11979         (gst_clock_set_master):
11980         Drop our reference to the master clock, if any, when we are disposed.
11981
11982         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
11983         Chain up in dispose. 
11984
11985 2006-01-26  Wim Taymans  <wim@fluendo.com>
11986
11987         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11988         Add some debugging.
11989
11990 2006-01-26  Julien MOUTTE  <julien@moutte.net>
11991
11992         * plugins/elements/gsttee.c: (gst_tee_do_push),
11993         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
11994         handles pad being NOT_LINKED or in WRONG_STATE.
11995
11996 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
11997
11998         * win32/MANIFEST:
11999           more updating
12000
12001 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12002
12003         * win32/MANIFEST:
12004           remove obsolete entry
12005
12006 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12007
12008         * docs/gst/gstreamer-sections.txt:
12009         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
12010         (gst_bin_iterate_sources), (gst_bin_send_event):
12011         * gst/gstbin.h:
12012         * gst/gstelement.c: (gst_element_send_event):
12013         * gst/gstevent.c:
12014         * gst/gstpad.c: (gst_pad_send_event):
12015           added code for downstream events, reviewed docs in gstevent.c
12016
12017 2006-01-25  Julien MOUTTE  <julien@moutte.net>
12018
12019         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12020         We only query position using the clock in the playing state.
12021         Query peer in the other cases.
12022         * win32/common/config.h: Updates.
12023
12024 2006-01-24  Wim Taymans  <wim@fluendo.com>
12025
12026         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12027         A clock entry that is scheduled for the exact time of the
12028         clock is still in time.
12029
12030         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12031         (gst_base_sink_do_sync):
12032         Add some more debug info.
12033
12034 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12035
12036         * win32/vs7:
12037           Add new vs7 project files and solution.
12038
12039 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12040
12041         * win32/vs7:
12042           all files removed as they were out-dated.
12043
12044 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12045
12046         * docs/random/release:
12047           update notes
12048         * gst/gstbin.c: (gst_bin_init):
12049         * gst/gstbus.c: (gst_bus_new):
12050         * gst/gstbus.h:
12051         * gst/gstpipeline.c: (gst_pipeline_init):
12052           use gst_bus_new(), improve logging, fix docs
12053         * win32/common/config.h:
12054           update for cvs build
12055
12056 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12057
12058         * autogen.sh:
12059           up required version of automake to 1.7
12060
12061 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
12062
12063         * win32/common/libgstreamer.def:
12064           export gst_buffer_is_metadata_writable
12065
12066 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
12067
12068         * docs/gst/gstreamer-sections.txt:
12069         * gst/gstevent.h:
12070           Add gst_event_replace() (#327001)
12071
12072 2006-01-20  Wim Taymans  <wim@fluendo.com>
12073
12074         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
12075         Make it actually compile too..
12076
12077 2006-01-20  Wim Taymans  <wim@fluendo.com>
12078
12079         * gst/gstcaps.c:
12080         Clarify behaviour of _is_equal() when passing NULL parameters.
12081
12082         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12083         (gst_pad_set_caps):
12084         Cleanups. Don't unref NULL caps.
12085         When setting the same caps, protect caps of the pad with
12086         proper lock.
12087         Use full functionality of _is_equal() when comparing caps.
12088
12089 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12090
12091         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12092         Don't loop infinitely if there are no buffers to present. Partially
12093         fixes #327197, but collectpads is just broken for reusing elements
12094         to do multiple encodes atm.
12095
12096 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12097
12098         * tools/gst-inspect.c: (print_element_features):
12099         * tools/gst-xmlinspect.c: (main):
12100         URL_HANDLER is not a plugin feature we can search for in
12101         the registry.
12102
12103 2006-01-19  Edward Hervey  <edward@fluendo.com>
12104
12105         * gst/gstelement.c: (gst_element_pads_activate): 
12106         When activating, do src pads first, then sink pads.
12107         When de-activating, do sink pads first, then src pads.
12108
12109 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12110
12111         * docs/gst/gstreamer-sections.txt:
12112         Add gst_index_add_associationv to the docs
12113
12114 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12115
12116         * gst/gstevent.c:
12117           Fix docs typo
12118
12119         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
12120         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
12121           Do some refactoring. Doesn't actually change functionality,
12122           but makes landing the DRAIN event easier later.
12123
12124 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
12125
12126         * docs/pwg/advanced-scheduling.xml:
12127           Update from 0.9.x to 0.10 API and make example a bit
12128           clearer.
12129
12130 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12131
12132         * docs/gst/gstreamer-sections.txt:
12133         Add gst_buffer_(is|make)_metadata_writable methods.
12134
12135 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12136
12137         * docs/design/part-sparsestreams.txt:
12138         Update sparse streams doc, hopefully for greater clarity
12139
12140 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
12141
12142         * docs/design/part-events.txt:
12143         Remove mention of FILLER events.
12144         Add DRAIN event.
12145
12146         * docs/design/part-sparsestreams.txt:
12147         Write some things about using NEWSEGMENT to keep sparse streams
12148         flowing.
12149
12150 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12151
12152         * gst/gstbin.c: (gst_bin_dispose):
12153           Guard gst_object_unref call against a NULL object (dispose
12154           can theoretically be called multiple times).
12155           
12156 2006-01-18  Wim Taymans  <wim@fluendo.com>
12157
12158         * gst/gstbin.c: (gst_bin_element_set_state):
12159         * gst/gstclock.c: (gst_clock_id_wait):
12160         Added some more debug info.
12161
12162         * libs/gst/base/gstadapter.c:
12163         Added more docs.
12164
12165         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12166         (gst_base_sink_do_sync), (gst_base_sink_chain):
12167         Added some comments.
12168
12169 2006-01-18  Wim Taymans  <wim@fluendo.com>
12170
12171         * tests/check/Makefile.am:
12172         * tests/check/elements/fakesink.c: (chain_async_buffer),
12173         (chain_async), (chain_async_return), (GST_START_TEST),
12174         (fakesink_suite), (main):
12175         Added fakesink test that checks prerolling and clipping
12176         behaviour.
12177
12178         * tests/check/gst/gstutils.c: (GST_START_TEST):
12179         Make check run faster so that buildbots don't timeout.
12180
12181 2006-01-18  Wim Taymans  <wim@fluendo.com>
12182
12183         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12184         (gst_base_sink_do_sync):
12185         Some cleanups.
12186         When the sink finishes blocking on the preroll buffer, it can
12187         immediatly render it instead of rendering when the next buffer
12188         arrives.
12189
12190 2006-01-18  Wim Taymans  <wim@fluendo.com>
12191
12192         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
12193         (gst_base_sink_get_property), (gst_base_sink_do_sync),
12194         (gst_base_sink_chain):
12195         Small cleanups.
12196         GST_ELEMENT_CLOCK and sync are protected with LOCK.
12197         Don't store _last_stop if the buffer is dropped.
12198
12199 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12200
12201         * plugins/elements/gsttypefindelement.c:
12202         (gst_type_find_element_class_init):
12203           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
12204           object method handler that sets the caps on the pad and we want
12205           that to happen before we emit the signal (fixes e.g. feeding a
12206           plain text file to decodebin).
12207
12208 2006-01-18  Christian Schaller  <Christian@fluendo.com>
12209
12210         * gst/gstplugin.c: Add MPL and Proprietary as license options
12211
12212 2006-01-18  Andy Wingo  <wingo@pobox.com>
12213
12214         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
12215         symbol was exported before, it appears this was just an oversight.
12216         Fixes #168703.
12217         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
12218
12219         * gst/gstindex.c (gst_index_add_associationv): Changed int in
12220         prototype to gint. OK since this prototype was not in the header.
12221
12222 2006-01-17  Andy Wingo  <wingo@pobox.com>
12223
12224         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
12225         registry while we remove plugins.
12226
12227         * tools/gst-inspect.c (print_element_info): Don't unref the
12228         factory arg, that should be the responsibility of whatever code
12229         received the ref. Fixes a double-free when called from
12230         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
12231         (main): Unref the factory if we have one.
12232         (print_element_list): No change -- relies on the
12233         plugin_feature_list_free to free the list of features.
12234
12235 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
12236
12237         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12238         (gst_buffer_make_metadata_writable):
12239         * gst/gstbuffer.h:
12240         * libs/gst/base/gstbasetransform.c:
12241         (gst_base_transform_prepare_output_buf):
12242         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12243         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12244           Replace gst_buffer_(make|is)_metadata_writable patch now
12245           that the release is out.
12246
12247 2006-01-17  Andy Wingo  <wingo@pobox.com>
12248
12249         * gst/gstregistry.c: Reflow design comment. Update so as to speak
12250         in the present tense without reference to versions.
12251
12252         * gst/gstregistry.c (gst_registry_add_plugin)
12253         (gst_registry_remove_plugin, gst_registry_remove_feature)
12254         (gst_registry_find_feature, gst_registry_get_feature_list)
12255         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
12256         (gst_registry_lookup, gst_registry_scan_path)
12257         (_gst_registry_remove_cache_plugins)
12258         (gst_registry_get_feature_list_by_plugin): Add argument
12259         validation.
12260
12261 === release 0.10.2 ===
12262
12263 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
12264
12265         * configure.ac:
12266           releasing 0.10.2, "If man is five"
12267
12268 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12269
12270         * gst/gstbuffer.c:
12271         * gst/gstbuffer.h:
12272         * libs/gst/base/gstbasetransform.c:
12273         (gst_base_transform_prepare_output_buf):
12274         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12275         * tests/check/gst/gstbuffer.c: (gst_test_suite):
12276           Back out patch until after the release.
12277
12278 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12279
12280         * gst/gstminiobject.c:
12281           Spelling fix in docs.
12282         * ChangeLog - remove conflict indicator
12283
12284 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12285
12286         Reviewed By: Andy Wingo
12287
12288         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12289         (gst_buffer_make_metadata_writable):
12290         * gst/gstbuffer.h:
12291           Add gst_buffer_(is|make)_metadata_writable as analogues of
12292           gst_buffer_(is|make)_writable.
12293
12294         * libs/gst/base/gstbasetransform.c:
12295         (gst_base_transform_prepare_output_buf):
12296         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12297           Use name gst_buffer_(is|make)_metadata_writable functions.
12298
12299         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12300           Test gst_buffer_(is|make)_metadata_writable
12301         
12302           (Closes: #324162)
12303
12304 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12305
12306         * docs/manual/Makefile.am:
12307           don't do parallel make
12308         * configure.ac:
12309           AC_SUBST HOST_CPU
12310         * win32/common/config.h.in:
12311           add generations for HOST_CPU and GST_MAJORMINOR
12312         * win32/common/config.h:
12313           commit generated result
12314
12315 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
12316
12317         * docs/manual/appendix-integration.xml:
12318           Update GNOME integration section to use gst_init_get_option_group()
12319           instead of the old popt stuff (#322911). Also, GNOME applications
12320           should  now use gconf*sink and gconf*src instead of the old gconf
12321           helper lib we had.
12322
12323 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
12324
12325
12326         * docs/gst/gstreamer-docs.sgml:
12327         * docs/gst/gstreamer-sections.txt:
12328         * docs/libs/gstreamer-libs-sections.txt:
12329           add new API entries to the docs
12330         * libs/gst/controller/Makefile.am:
12331         * libs/gst/controller/gstcontroller.c:
12332         * libs/gst/controller/gstcontroller.h:
12333         * libs/gst/controller/gstcontrollerprivate.h:
12334         * libs/gst/controller/gsthelper.c:
12335         * libs/gst/controller/gstinterpolation.c:
12336           move private structs to private header
12337         * po/README:
12338           gstreamer-0.7 -> gstreamer-0.10
12339         * tests/check/libs/struct_i386.h:
12340           remove private structs
12341
12342 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12343
12344         * plugins/indexers/Makefile.am:
12345           Fixes as part of #317048
12346
12347 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12348
12349         * plugins/indexers/Makefile.am:
12350           fix #316086 - compilation when mmap is missing
12351
12352 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
12353
12354         * libs/gst/base/gstbasesink.c:
12355           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
12356           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
12357         * win32/common/config.h:
12358           added some defines GST_MAJORMINOR and HOST_CPU
12359         * win32/common/libgstbase.def:
12360         * win32/common/libgstreamer.def:
12361           added some exported functions.
12362
12363 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12364
12365         * libs/gst/controller/gstcontroller.c:
12366         (gst_controlled_property_set_interpolation_mode),
12367         (gst_controlled_property_new):
12368         * libs/gst/controller/gstcontroller.h:
12369         * libs/gst/controller/gstinterpolation.c:
12370         (interpolate_none_get_string_value_array):
12371           make G_TYPE_STRING controlable
12372
12373 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12374
12375         * tools/README:
12376         * tools/gst-feedback.1.in:
12377         * tools/gst-inspect.1.in:
12378         * tools/gst-launch.1.in:
12379         * tools/gst-md5sum.1.in:
12380         * tools/gst-typefind.1.in:
12381         * tools/gst-xmlinspect.1.in:
12382         * tools/gst-xmllaunch.1.in:
12383           cleanup man-pages, remove reference to gst-register, document env-vars
12384
12385 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
12386
12387         * gst/gstbuffer.c: (gst_buffer_span):
12388           gst_buffer_span should copy the timestamp of the first buffer
12389           if they were both originally overlapping subbuffers of the 
12390           same parent, using the same logic as the 'slow copy' case.
12391
12392 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
12393
12394         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
12395           Need to awaken ALL the pads when we pop a buffer, otherwise
12396           collectpads only works when there is 2 input streams.
12397
12398 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
12399
12400         * docs/random/ensonic/media-device-daemon.txt:
12401           more ideas (dbus)
12402         * gst/gstbuffer.c:
12403           fix doc example, add clarification
12404         * tools/gst-launch.1.in:
12405           add initial info about GST_PLUGIN_PATH, needs more work
12406
12407 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
12408
12409         * docs/manual/basics-bins.xml:
12410         * docs/manual/basics-elements.xml:
12411         * docs/manual/intro-basics.xml:
12412           Some more minor docs additions and updates.
12413
12414 2006-01-11  Wim Taymans  <wim@fluendo.com>
12415
12416         * docs/manual/basics-bins.xml:
12417         * docs/manual/basics-elements.xml:
12418         Some small fixes as pointed out by Ser-ver on IRC.
12419
12420 2006-01-10  Edward Hervey  <edward@fluendo.com>
12421
12422         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12423         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
12424         the single-segment mode.
12425
12426 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
12427
12428         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12429
12430         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
12431         (gst_base_src_perform_seek), (gst_base_src_send_event),
12432         (gst_base_src_set_property), (gst_base_src_get_property),
12433         (gst_base_src_loop), (gst_base_src_start),
12434         (gst_base_src_activate_push):
12435         * libs/gst/base/gstbasesrc.h:
12436           Name (private) union; makes Sun's Forte compiler happy (#324900).
12437
12438 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
12439
12440         * README:
12441           gst-register is gone.
12442
12443 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12444
12445         * gst/gstvalue.c: (_gst_value_initialize):
12446           make the G_TYPE_DATE instantiation work if debug is disabled
12447
12448 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
12449
12450         * gst/gstmessage.c: (gst_message_parse_tag),
12451         (gst_message_parse_error), (gst_message_parse_warning):
12452           Don't crash when return location for error/warning debug
12453           string is NULL; add fact that return locations can be
12454           NULL to docs where appropriate.
12455
12456 2006-01-05  Wim Taymans  <wim@fluendo.com>
12457
12458         * gst/gstplugin.c: (gst_plugin_load_file):
12459         Replace strdup by g_strdup.
12460
12461 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12462
12463         * docs/pwg/advanced-types.xml:
12464           fix doc borkage
12465
12466 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12467
12468         submitted by: Abel Cheung
12469
12470         * po/LINGUAS:
12471         * po/zh_TW.po:
12472           Added Chinese (traditional) translation
12473
12474 2006-01-04  Wim Taymans  <wim@fluendo.com>
12475
12476         * docs/manual/basics-pads.xml:
12477         * docs/plugins/Makefile.am:
12478         * docs/plugins/gstreamer-plugins-docs.sgml:
12479         * docs/plugins/gstreamer-plugins-sections.txt:
12480         * docs/pwg/advanced-clock.xml:
12481         * docs/pwg/advanced-scheduling.xml:
12482         * docs/pwg/advanced-types.xml:
12483         * plugins/elements/gstfdsink.c:
12484         * plugins/elements/gstfdsrc.c:
12485         * plugins/elements/gstfdsrc.h:
12486         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12487         * plugins/elements/gstidentity.h:
12488         * plugins/elements/gstqueue.h:
12489         * plugins/elements/gsttee.c:
12490         * plugins/elements/gsttee.h:
12491         * plugins/elements/gsttypefindelement.c:
12492         (gst_type_find_element_class_init):
12493         * plugins/elements/gsttypefindelement.h:
12494         Small updates to various docs.
12495         Added core plugins to docs.
12496
12497 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12498
12499         * common/gst.supp:
12500           add a suppression for liboil's uninitialized variable
12501
12502 2006-01-02  James Livingston  <jrl at ids dot org dot au>
12503
12504         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12505
12506         * gst/gstutils.h:
12507           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
12508           macro, so that gcc doesn't complain if the -Wmissing-prototypes
12509           compiler switch is being used (#325429).
12510
12511 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
12512
12513         * gst/gstbin.c: (gst_bin_query):
12514           Disable duration query caching in bins until it gets
12515           fixed (see #324807).
12516
12517 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12518
12519         * tools/gst-inspect.c: (print_element_properties_info):
12520           Handle properties of POINTER and BOXED type.
12521
12522 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12523
12524         * gst/gst.c: (init_post):
12525           Init tags stuff and some other things before loading
12526           any static plugins (there may be other static plugins
12527           than just the GStreamer ones, and they may want to
12528           register their own tags or formats or whatever, and
12529           preferably without segfaulting).
12530
12531         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
12532           Print at least a warning in the debug logs if we drop a
12533           query just because we don't know how to adjust the value
12534           in the particular format.
12535
12536 2005-12-24  David Schleef  <ds@schleef.org>
12537
12538         * tools/gstreamer-completion:
12539           Replacement for gst-complete written in sh and sed.  Only
12540           completes names of features, but that's 90% of what I want
12541           it for.  Properties are not available in registry.xml.  (Maybe
12542           they should be...)
12543
12544 === release 0.10.1 ===
12545
12546 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
12547
12548         * configure.ac:
12549           releasing 0.10.1, "Nollaig chridheil"
12550
12551 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
12552
12553         * docs/faq/cvs.xml:
12554           Add missing quote, should be make ERROR_CFLAGS="".
12555
12556 2005-12-20  Wim Taymans  <wim@fluendo.com>
12557
12558         * docs/design/part-trickmodes.txt:
12559         More documentation on trickmodes.
12560
12561 2005-12-20  Edward Hervey  <edward@fluendo.com>
12562
12563         * gst/gstcaps.c: (gst_static_caps_get_type):
12564         * gst/gstcaps.h:
12565           API addition: GST_TYPE_STATIC_CAPS
12566         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
12567         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
12568         * gst/gstpadtemplate.h:
12569           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
12570         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
12571         bindings.
12572
12573 2005-12-18  Wim Taymans  <wim@fluendo.com>
12574
12575         * libs/gst/base/gstadapter.c:
12576         * libs/gst/base/gstadapter.h:
12577         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12578         (gst_base_sink_get_position):
12579         * libs/gst/base/gstbasesink.h:
12580         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12581         (gst_base_src_default_query), (gst_base_src_default_do_seek),
12582         (gst_base_src_do_seek), (gst_base_src_perform_seek),
12583         (gst_base_src_send_event), (gst_base_src_update_length),
12584         (gst_base_src_get_range), (gst_base_src_loop),
12585         (gst_base_src_start):
12586         * libs/gst/base/gstbasesrc.h:
12587         * libs/gst/base/gstbasetransform.h:
12588         * libs/gst/base/gstcollectpads.h:
12589         * libs/gst/base/gstpushsrc.c:
12590         * libs/gst/base/gstpushsrc.h:
12591         * libs/gst/dataprotocol/dataprotocol.c:
12592         * libs/gst/dataprotocol/dataprotocol.h:
12593         * libs/gst/net/gstnetclientclock.h:
12594         * libs/gst/net/gstnettimeprovider.h:
12595         Documentation updates.
12596
12597 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
12598
12599         * docs/manual/basics-helloworld.xml:
12600           Remove superfluous closing bracket in helloworld example.
12601
12602 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
12603
12604         * tools/gst-launch.1.in:
12605           Update gst-launch man page; add a section with useful
12606           environment variables. Fixes #323882.
12607
12608 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
12609
12610         * gst/gst.c:
12611         * gst/gst_private.h:
12612           change some char* into char[]
12613
12614 2005-12-16  Wim Taymans  <wim@fluendo.com>
12615
12616         * gst/gstregistryxml.c: (load_feature):
12617         Cleanups.
12618         Don't use g_object_unref on GstObjects so that we avoid
12619         leaks on unsafe glibs.
12620
12621 2005-12-16  Wim Taymans  <wim@fluendo.com>
12622
12623         * gst/gstbin.c: (gst_bin_recalc_state):
12624         Small doc updates.
12625
12626 2005-12-16  Wim Taymans  <wim@fluendo.com>
12627
12628         * common/check.mak:
12629         Added make forever target for check.
12630
12631 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12632
12633         * gst/gst.c: (init_post):
12634           make the registry cache file HOST_CPU-dependent
12635
12636 2005-12-16  Andy Wingo  <wingo@pobox.com>
12637
12638         * plugins/elements/gstbufferstore.c
12639         (gst_buffer_store_cleared_func): Pay attention to g_list_append
12640         return value.
12641
12642         * tests/check/gst/gstobject.c
12643         (test_fake_object_name_threaded_unique): Pay attention to
12644         g_list_sort return value.
12645
12646 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
12647
12648         * tools/gst-feedback-m.m:
12649           Update for 0.9/0.10 (fixes #323870).
12650
12651 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
12652
12653         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
12654           Fix lcopy for mini objects, the mini object needs to be ref'ed.
12655           
12656         * tests/check/gst/gstminiobject.c: (my_foo_init),
12657         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
12658         (test_value_collection), (gst_mini_object_suite):
12659           Add test to ensure refcounts end up as expected when passing
12660           GstMiniObjects through g_object_get() and g_object_set().
12661
12662 2005-12-14  Julien MOUTTE  <julien@moutte.net>
12663
12664         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12665         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
12666         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
12667         of collectpads. This version removes a lot of races without
12668         touching API/ABI. Yay !
12669
12670 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
12671
12672         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
12673           Don't allow activation of a srcpad in pull_range if it has no
12674           getrange function.
12675           Change some debug statements to be a little clearer
12676
12677         * plugins/elements/gsttypefindelement.c:
12678         (gst_type_find_handle_src_query):
12679           Check that we have a peer before executing queries thereupon.
12680
12681         * tests/examples/metadata/read-metadata.c: (message_loop):
12682           Use gst_bus_pop instead of gst_bus_poll when we just want it to
12683           immediately return us any available message with 0 timeout.
12684
12685 2005-12-12  Michael Smith  <msmith@fluendo.com>
12686
12687         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
12688           Don't unref factories after calling them.
12689         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
12690         * plugins/elements/gsttypefindelement.c:
12691         (gst_type_find_element_chain):
12692           Free lists of factories after using them. Fixing typefinding memory
12693           leaks.
12694
12695 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12696
12697         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12698         (gst_plugin_feature_load):
12699           more meaningful debug output
12700         * configure.ac:
12701         * tests/Makefile.am:
12702         * tests/old/examples/Makefile.am:
12703           make make distcheck happy again
12704
12705 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
12706
12707         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12708           Catch the special case where we are operating chain-based,
12709           but the downstream peer pad has no chain function. Emit a
12710           custom error message in this case instead of letting the
12711           core generate one implying that this is some sort of core
12712           bug. It's not, it just means that whatever got plugged
12713           into the pipeline downstream when we announced the type
12714           can only operate pull-based, while our source can only
12715           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
12716           Error string has not been marked for translation yet, as
12717           it probably needs some more work first.
12718
12719         (gst_type_find_element_get_best_possibility):
12720           Add helper function to find the best of all available
12721           found possibilities that qualify given the min. threshold.
12722
12723         (gst_type_find_element_handle_event):
12724           Fix the case where we get an EOS while still in TYPEFIND
12725           mode (we want to chose the best of all possible types,
12726           not just the first type that happens to be in our unsorted
12727           list of possible types).
12728
12729         (gst_type_find_element_chain):
12730           Make sure we return GST_FLOW_ERROR when we errored out
12731           in stop_typefinding(); also, don't just find the best of
12732           all found type entries and then use the last examined
12733           type entry, but actually use the best entry.
12734
12735 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
12736
12737         * tests/examples/typefind/typefind.c: (type_found):
12738         * tests/examples/xml/runxml.c: (xml_loaded):
12739           More gcc4 fixes and a mem leak fix.
12740
12741 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12742
12743         * tests/examples/xml/createxml.c: (object_saved):
12744           gcc 4 fixes
12745
12746 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12747
12748         * tests/Makefile.am:
12749           enable the examples even more
12750
12751 2005-12-12  Andy Wingo  <wingo@pobox.com>
12752
12753         * libs/gst/net/gstnettimeprovider.c
12754         (gst_net_time_provider_class_init, gst_net_time_provider_init)
12755         (gst_net_time_provider_set_property)
12756         (gst_net_time_provider_get_property):
12757         API addition: Export "active" as a GObject property.
12758         (gst_net_time_provider_thread): Only respond to time queries if
12759         the time provider is active.
12760
12761         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
12762         NetTimeProvider, preserving binary compat.
12763
12764 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12765
12766         * tests/examples/controller/audio-example.c: (main):
12767         * tests/examples/launch/Makefile.am:
12768           convert comments again
12769
12770 2005-12-12  Wim Taymans  <wim@fluendo.com>
12771
12772         * libs/gst/base/gstpushsrc.c:
12773         Fix typo.
12774
12775 2005-12-12  Wim Taymans  <wim@fluendo.com>
12776
12777         * docs/libs/gstreamer-libs-sections.txt:
12778         Added new symbol to docs.
12779
12780         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12781         (gst_base_src_init), (gst_base_src_set_format),
12782         (gst_base_src_default_query), (gst_base_src_query),
12783         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
12784         (gst_base_src_perform_seek), (gst_base_src_send_event),
12785         (gst_base_src_default_event), (gst_base_src_event_handler),
12786         (gst_base_src_set_property), (gst_base_src_get_property),
12787         (gst_base_src_wait), (gst_base_src_do_sync),
12788         (gst_base_src_update_length), (gst_base_src_get_range),
12789         (gst_base_src_check_get_range), (gst_base_src_loop),
12790         (gst_base_src_default_negotiate), (gst_base_src_start),
12791         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12792         (gst_base_src_change_state):
12793         * libs/gst/base/gstbasesrc.h:
12794         Implement seeking to other formats than _BYTES.
12795         Implement more seeking methods correctly.
12796         Doc updates.
12797         Added query vmethod.
12798         Added do_seek vmethod to make life easier for subclasses
12799         when seeking.
12800         API addition: gst_base_src_set_format()
12801
12802 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12803
12804         * tests/examples/Makefile.am:
12805           added that too
12806
12807 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12808
12809         * configure.ac:
12810         * docs/random/ensonic/media-device-daemon.txt:
12811         * tests/examples/controller/.cvsignore:
12812         * tests/examples/controller/Makefile.am:
12813         * tests/examples/controller/audio-example.c: (main):
12814         * tests/examples/helloworld/.cvsignore:
12815         * tests/examples/helloworld/Makefile.am:
12816         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
12817         * tests/examples/launch/.cvsignore:
12818         * tests/examples/launch/Makefile.am:
12819         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
12820         * tests/examples/metadata/.cvsignore:
12821         * tests/examples/metadata/Makefile.am:
12822         * tests/examples/metadata/read-metadata.c: (message_loop),
12823         (make_pipeline), (print_tag), (main):
12824         * tests/examples/queue/.cvsignore:
12825         * tests/examples/queue/Makefile.am:
12826         * tests/examples/queue/queue.c: (event_loop), (main):
12827         * tests/examples/typefind/.cvsignore:
12828         * tests/examples/typefind/Makefile.am:
12829         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
12830         (main):
12831         * tests/examples/xml/.cvsignore:
12832         * tests/examples/xml/Makefile.am:
12833         * tests/examples/xml/createxml.c: (object_saved), (main):
12834         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
12835         * tests/old/examples/Makefile.am:
12836         * tests/old/examples/TODO:
12837         * tests/old/examples/controller/.cvsignore:
12838         * tests/old/examples/controller/Makefile.am:
12839         * tests/old/examples/controller/audio-example.c:
12840         * tests/old/examples/helloworld/.cvsignore:
12841         * tests/old/examples/helloworld/Makefile.am:
12842         * tests/old/examples/helloworld/helloworld.c:
12843         * tests/old/examples/launch/.cvsignore:
12844         * tests/old/examples/launch/Makefile.am:
12845         * tests/old/examples/launch/mp3parselaunch.c:
12846         * tests/old/examples/launch/mp3play:
12847         * tests/old/examples/manual/Makefile.am:
12848         * tests/old/examples/metadata/Makefile.am:
12849         * tests/old/examples/metadata/read-metadata.c:
12850         * tests/old/examples/queue/.cvsignore:
12851         * tests/old/examples/queue/Makefile.am:
12852         * tests/old/examples/queue/queue.c:
12853         * tests/old/examples/typefind/.cvsignore:
12854         * tests/old/examples/typefind/Makefile.am:
12855         * tests/old/examples/typefind/typefind.c:
12856         * tests/old/examples/xml/.cvsignore:
12857         * tests/old/examples/xml/Makefile.am:
12858         * tests/old/examples/xml/createxml.c:
12859         * tests/old/examples/xml/runxml.c:
12860           applied some simple fixing to some examples
12861           re-enabled the working examples
12862
12863 2005-12-12  Wim Taymans  <wim@fluendo.com>
12864
12865         * gst/gstsegment.c: (gst_segment_init),
12866         (gst_segment_set_last_stop), (gst_segment_set_seek),
12867         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
12868         (gst_segment_to_running_time):
12869         Added more documentation.
12870         Make sure the last_pos value is updated properly.
12871         Make sure to_stream_time and to_running_time don't
12872         operate on wrong values.
12873
12874         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12875         Update check.
12876
12877 2005-12-12  Michael Smith  <msmith@fluendo.com>
12878
12879         * plugins/elements/gsttypefindelement.c: (free_entry),
12880         (gst_type_find_element_chain):
12881           Now that we're not leaking factories, make sure we keep references
12882           to them while we need them.
12883
12884 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12885
12886         * tests/check/gst/struct_i386.h:
12887           ifdef out the XML structs
12888
12889 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12890
12891         * gst/gstvalue.c: (gst_value_transform_double_fraction):
12892           floor is not needed, F is always positive; this obviates the
12893           need for adding -lm when building without libxml
12894
12895 2005-12-12  Wim Taymans  <wim@fluendo.com>
12896
12897         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12898         Take current playback rate into account when reporting
12899         the position.
12900
12901 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12902
12903         * docs/manual/mime-world.fig:
12904           Let's try this again, this time with a file that is
12905           actually in XFig format.
12906
12907 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12908
12909         * docs/manual/mime-world.fig:
12910           Add audioconvert element to diagram so that it
12911           matches the text and the code (fixes #319526).
12912
12913 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12914
12915         * docs/pwg/building-chainfn.xml:
12916         * docs/pwg/building-pads.xml:
12917         * docs/pwg/building-state.xml:
12918         * docs/pwg/other-source.xml:
12919           Update state change stuff for 0.10 (fixes #322969).
12920
12921 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12922
12923         * docs/manual/advanced-dataaccess.xml:
12924         * docs/manual/appendix-checklist.xml:
12925         * docs/manual/appendix-programs.xml:
12926         * docs/manual/basics-pads.xml:
12927         * docs/manual/highlevel-components.xml:
12928         * docs/manual/manual.xml:
12929           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
12930           add converters in front of pipelines; remove curly
12931           brackets for threads stuff, they no longer exist; use
12932           GST_TYPE_FRACTION for framerates; update some pieces of
12933           code to 0.10, but there's plenty more to do.
12934
12935         * docs/manual/appendix-porting.xml:
12936           Expand on asynchroneous state changes; s/0.9/0.10/;
12937           mention disappearance of gst_init_get_popt_table()
12938           (fixes #322916).
12939
12940 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12941
12942         * docs/faq/using.xml:
12943           Spider no longer exists, and neither does gst-launch-ext.
12944           Update examples to use decodebin and playbin and put
12945           converters in front of sinks (fixes #323726).
12946
12947 2005-12-09  Michael Smith  <msmith@fluendo.com>
12948
12949         * plugins/elements/gsttypefindelement.c: (find_peek),
12950         (gst_type_find_element_chain):
12951           Fix leaking element factories in typefinding.
12952           Fix problem where we forgot about a probable type on non-seekable
12953           files, and thus later mis-typefound it.
12954
12955 2005-12-09  Michael Smith  <msmith@fluendo.com>
12956
12957         * common/m4/gst-makecontext.m4:
12958         * common/m4/gst-mcsc.m4:
12959         * configure.ac:
12960         * win32/common/config.h:
12961         * win32/common/config.h.in:
12962           Remove makecontext stuff; not used in 0.10 and causes problems on
12963           HPUX according to bug #322441
12964
12965 2005-12-07  Wim Taymans  <wim@fluendo.com>
12966
12967         * tests/check/Makefile.am:
12968         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
12969         (main):
12970         * tests/check/libs/struct_i386.h:
12971         Added ABI check for libs
12972
12973 2005-12-07  Wim Taymans  <wim@fluendo.com>
12974
12975         * tests/check/Makefile.am:
12976         And add the struct_i386.h to dist.
12977
12978 2005-12-07  Wim Taymans  <wim@fluendo.com>
12979
12980         * tests/check/Makefile.am:
12981         * tests/check/gst/.cvsignore:
12982         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
12983         (main):
12984         * tests/check/gst/struct_i386.h:
12985         Added check for ABI compatibility.
12986
12987 2005-12-07  Wim Taymans  <wim@fluendo.com>
12988
12989         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12990         (gst_fake_src_get_times), (gst_fake_src_create):
12991         Fix broken sync option, fixes #323259
12992
12993 2005-12-07  Wim Taymans  <wim@fluendo.com>
12994
12995         * gst/gstbuffer.c:
12996         Small docs update.
12997
12998         * gst/gstcaps.c: (gst_caps_is_equal):
12999         Don't assert on NULL <--> X. Fixes #323260
13000
13001         * gst/gstminiobject.c: (gst_mini_object_replace):
13002         If we're doing atomic operations, we might just as well use
13003         the proper way to get an atomic pointer.
13004
13005         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13006         Clean up debugging.
13007
13008 2005-12-07  Michael Smith  <msmith@fluendo.com>
13009
13010         * gst/parse/grammar.y:
13011           Remove handling of { } for threads.
13012
13013 2005-12-06  David Schleef  <ds@schleef.org>
13014
13015         * libs/gst/base/gstbasetransform.c: speling fix.
13016
13017 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13018
13019         * docs/libs/tmpl/gstdataprotocol.sgml:
13020         * docs/random/omega/testing/gstobject.c:
13021         * gst/gst.c:
13022         * gst/gstclock.c:
13023         * gst/gstelement.c:
13024         * gst/gstelementfactory.c:
13025         * gst/gsterror.c:
13026         * gst/gstevent.c:
13027         * gst/gstghostpad.c:
13028         * gst/gstinfo.c:
13029         * gst/gstpadtemplate.c:
13030         * gst/gstregistryxml.c:
13031         * gst/gsttaglist.c:
13032         * gst/gsttagsetter.c:
13033         * gst/gsttypefind.c:
13034         * gst/gstvalue.c:
13035         * libs/gst/base/gstbasesrc.c:
13036         * libs/gst/net/gstnetclientclock.c:
13037         * libs/gst/net/gstnettimeprovider.c:
13038         * plugins/elements/gstfakesrc.c:
13039         * plugins/elements/gstfdsrc.c:
13040         * plugins/elements/gstfilesrc.c:
13041         * plugins/elements/gstidentity.c:
13042         * plugins/elements/gstqueue.c:
13043         * plugins/elements/gsttypefindelement.c:
13044         * plugins/indexers/gstfileindex.c:
13045         * plugins/indexers/gstmemindex.c:
13046         * tests/check/gst/gsttag.c:
13047         * tests/old/examples/cutter/cutter.c:
13048         * tests/old/examples/mixer/mixer.c:
13049         * tests/old/examples/xml/runxml.c: (main):
13050         * tests/old/testsuite/caps/normalisation.c:
13051         * tests/old/testsuite/debug/global.c:
13052         * tests/old/testsuite/parse/parse1.c:
13053         * tools/gst-xmlinspect.c:
13054         * win32/common/dirent.c:
13055           expand tabs
13056
13057 === release 0.10.0 ===
13058
13059 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13060
13061         * configure.ac:
13062           releasing 0.10.0, "Maroilles"
13063
13064 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13065
13066         submitted by: Funda Wang <fundawang@linux.net.cn>
13067
13068         * po/LINGUAS:
13069         * po/zh_CN.po:
13070           added Chinese (Traditional) translation
13071
13072 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13073
13074         * docs/gst/gstreamer-sections.txt:
13075         * docs/libs/tmpl/gstdataprotocol.sgml:
13076         * docs/random/thomasvs/TODO:
13077         * gst/gstutils.c:
13078         * gst/gstutils.h:
13079           fix docs
13080
13081 2005-12-05  Andy Wingo  <wingo@pobox.com>
13082
13083         patch by: Wim Taymans <wim@fluendo.com>
13084
13085         * libs/gst/base/gstbasetransform.c
13086         (gst_base_transform_prepare_output_buf)
13087         (gst_base_transform_buffer_alloc):
13088         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
13089         alloc_buffer_and_set_caps.
13090
13091         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
13092         set_caps on the source pad.
13093         (gst_pad_alloc_buffer_and_set_caps): New function, does what
13094         alloc_buffer used to do. Fixes #322874.
13095
13096         * docs/gst/gstreamer-sections.txt: 
13097         * docs/design/part-negotiation.txt: 
13098         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
13099         changes.
13100
13101 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13102
13103         patch by: Sebastien Moutte
13104
13105         * win32/MANIFEST:
13106         * win32/common/config.h.in:
13107         * win32/vs6/libgstcontroller.dsp:
13108           win32 build fixes
13109
13110 2005-12-05  Wim Taymans  <wim@fluendo.com>
13111
13112         * gst/gstcaps.c: (gst_caps_is_equal):
13113         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13114         (gst_fake_src_create):
13115         Back out previous code changes, leave doc updates, file bugs 
13116         instead. 
13117
13118 2005-12-05  Wim Taymans  <wim@fluendo.com>
13119
13120         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13121         (gst_fake_src_get_times), (gst_fake_src_create):
13122         * plugins/elements/gstfakesrc.h:
13123         Fix broken sync code.
13124
13125 2005-12-05  Wim Taymans  <wim@fluendo.com>
13126
13127         * gst/gstcaps.c: (gst_caps_is_equal):
13128         Comparing NULL against !NULL yields different caps, not a
13129         failure.
13130
13131 2005-12-05  Wim Taymans  <wim@fluendo.com>
13132
13133         * gst/gstpipeline.c:
13134         Fix small typo in docs.
13135
13136 2005-12-05  Andy Wingo  <wingo@pobox.com>
13137
13138         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
13139
13140         * gst/gst.c (init_post): remove hard-coded 0.9 location for
13141         registries/plugins with a MAJORMINOR one.
13142         (plugin_desc): Rename library from gstcoreleements to
13143         staticelements. Fixes #323222.
13144
13145 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
13146
13147         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
13148           Change debug category to 'collectpads' from 'collect_pads'
13149           (fixes #323250).
13150
13151 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13152
13153         patch by: Sebastien Moutte
13154
13155         * libs/gst/controller/gstinterpolation.c:
13156           use convert function for uint64/double
13157         * win32/vs6/libgstcontroller.dsp:
13158           link to GLib
13159
13160 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13161
13162         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
13163         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
13164         * gst/gstutils.h:
13165         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13166           add tests that seem to show that the guint64/gdouble conversions
13167           are correct.
13168
13169 2005-12-02  Wim Taymans  <wim@fluendo.com>
13170
13171         * gst/gstregistry.c: (gst_registry_add_path):
13172         * gst/gstregistry.h:
13173         * gst/gstregistryxml.c:
13174         Fix docs again.
13175
13176 2005-12-02  Wim Taymans  <wim@fluendo.com>
13177
13178         * gst/gstutils.c: (gst_util_uint64_scale_int64),
13179         (gst_util_uint64_scale_int):
13180         Small cleanup.
13181
13182         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13183         Add debug log line.
13184
13185         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
13186         Add FIXME.
13187
13188 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13189
13190         * win32/MANIFEST:
13191         * win32/common/config.h:
13192         * win32/vs6/gstreamer.dsw:
13193         * win32/vs6/libgstcoreelements.dsp:
13194         * win32/vs6/libgstelements.dsp:
13195           renamed core elements plugin
13196
13197 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13198
13199         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13200         (get_candidates):
13201           do piece-wise major/minor comparison so 0.9 < 0.10
13202           also allow .exe extensions for tools
13203
13204 2005-12-02  Michael Smith  <msmith@fluendo.com>
13205
13206         * gst/gst.c:
13207           Escape a % to make gtkdoc happier; bug 322958.
13208
13209 === release 0.9.7 ===
13210
13211 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13212
13213         * configure.ac:
13214           releasing 0.9.7, "My Dog Has No Nose"
13215
13216 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13217
13218         * common/gst-xmlinspect.py:
13219         * configure.ac:
13220         * docs/libs/tmpl/gstdataprotocol.sgml:
13221         * docs/random/release:
13222         * po/af.po:
13223         * po/az.po:
13224         * po/bg.po:
13225         * po/ca.po:
13226         * po/cs.po:
13227         * po/de.po:
13228         * po/en_GB.po:
13229         * po/fr.po:
13230         * po/it.po:
13231         * po/nb.po:
13232         * po/nl.po:
13233         * po/ru.po:
13234         * po/sq.po:
13235         * po/sr.po:
13236         * po/sv.po:
13237         * po/tr.po:
13238         * po/uk.po:
13239         * po/vi.po:
13240         * win32/common/config.h:
13241         * win32/common/config.h.in:
13242         * win32/vs6/gst_inspect.dsp:
13243         * win32/vs6/gst_launch.dsp:
13244         * win32/vs6/libgstbase.dsp:
13245         * win32/vs6/libgstelements.dsp:
13246         * win32/vs6/libgstreamer.dsp:
13247         * win32/vs7/GStreamer.vcproj:
13248         * win32/vs7/gst-inspect.vcproj:
13249         * win32/vs7/gst-launch.vcproj:
13250         * win32/vs7/libgstbase.vcproj:
13251           bump GST_MAJORMINOR to 0.10
13252           reset libtool version
13253
13254 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13255
13256         * po/LINGUAS:
13257         * po/bg.po:
13258           Added Bulgarian translation by (Alexander Shopov)
13259
13260 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13261
13262         * tests/check/gst/gstplugin.c:
13263           fix test
13264
13265 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13266
13267         * common/gst-xmlinspect.py:
13268         * common/gtk-doc-plugins.mak:
13269         * configure.ac:
13270         * docs/Makefile.am:
13271         * docs/gst/Makefile.am:
13272         * docs/gst/gstreamer-docs.sgml:
13273         * docs/gst/gstreamer-sections.txt:
13274         * docs/gst/gstreamer.types:
13275         * docs/gst/gstreamer.types.in:
13276         * docs/plugins/Makefile.am:
13277         * docs/plugins/gstreamer-plugins-docs.sgml:
13278         * docs/plugins/gstreamer-plugins-sections.txt:
13279         * docs/plugins/gstreamer-plugins.types:
13280         * docs/plugins/inspect.stamp:
13281         * docs/plugins/inspect/plugin-coreelements.xml:
13282         * docs/plugins/inspect/plugin-coreindexers.xml:
13283         * docs/plugins/scanobj-build.stamp:
13284         * gstreamer.spec.in:
13285         * plugins/elements/Makefile.am:
13286         * plugins/elements/gstelements.c:
13287         * plugins/elements/gstfakesink.c:
13288         * plugins/elements/gstfakesrc.c:
13289         * plugins/elements/gstfilesink.c:
13290         * plugins/elements/gstfilesrc.c:
13291         * plugins/elements/gstqueue.c:
13292         * plugins/indexers/Makefile.am:
13293         * plugins/indexers/gstindexers.c:
13294           document core plugins in a separate document just like all the
13295           others
13296           rename these plugins to something starting with core
13297
13298 2005-12-01  Andy Wingo  <wingo@pobox.com>
13299
13300         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
13301         padding here before, but it missed the commit.
13302
13303 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13304
13305         * libs/gst/controller/gstinterpolation.c:
13306           whitespace prices have crashed, we should feel free to use some now
13307           use gst_guint64_to_gdouble
13308
13309 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13310
13311         * libs/gst/controller/gstcontroller.c:
13312         * libs/gst/controller/gsthelper.c:
13313         * libs/gst/controller/gstinterpolation.c:
13314         * libs/gst/controller/lib.c:
13315           wrap config.h include
13316
13317 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13318
13319         * docs/gst/gstreamer-sections.txt:
13320           update docs
13321
13322 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13323
13324         * plugins/elements/gstelements.c:
13325         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
13326         (gst_fd_sink__class_init), (gst_fd_sink__init),
13327         (gst_fd_sink__chain), (gst_fd_sink__set_property),
13328         (gst_fd_sink__get_property):
13329         * plugins/elements/gstfdsink.h:
13330         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
13331         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
13332         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
13333         (gst_fd_src_unlock), (gst_fd_src_set_property),
13334         (gst_fd_src_get_property), (gst_fd_src_create),
13335         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
13336         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
13337         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
13338         (gst_fd_src_uri_handler_init):
13339         * plugins/elements/gstfdsrc.h:
13340         * plugins/elements/gstqueue.c: (gst_queue_get_type):
13341           more anal cleanup
13342
13343 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13344
13345         * docs/gst/Makefile.am:
13346         * docs/gst/gstreamer.types.in:
13347         * gst/Makefile.am:
13348           fix the docs build
13349
13350 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13351
13352         * configure.ac:
13353         * gst/Makefile.am:
13354         * gst/gst.c:
13355         * gst/gstplugin.h:
13356         * gst/gstregistry.h:
13357         * tests/benchmarks/complexity.c:
13358         * tests/benchmarks/mass-elements.c:
13359         * tests/check/Makefile.am:
13360         * tools/Makefile.am:
13361         * tools/gst-inspect.c:
13362         * tools/gst-xmlinspect.c:
13363           various fixes to make
13364           --disable-nls --disable-registry --disable-loadsave
13365           --disable-parse --disable-gst-debug
13366           work and get the core .so down to 360444 bytes after stripping
13367
13368 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13369
13370         * Makefile.am:
13371         * configure.ac:
13372           descend into tests
13373         * docs/random/thomasvs/TODO:
13374         * tests/Makefile.am:
13375         * tests/README:
13376           add a README
13377
13378 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13379
13380         * win32/GStreamer.vcproj:
13381         * win32/MANIFEST:
13382         * win32/Makefile:
13383         * win32/Makefile.inspect:
13384         * win32/Makefile.launch:
13385         * win32/Makefile.register:
13386         * win32/README.txt:
13387         * win32/gst-inspect.vcproj:
13388         * win32/gst-launch.vcproj:
13389         * win32/gst-register.vcproj:
13390         * win32/gstelements.vcproj:
13391         * win32/gstgetbits.def:
13392         * win32/gstgetbits.vcproj:
13393         * win32/gstreamer-dbg.def:
13394         * win32/gstreamer.def:
13395         * win32/libgstbase.def:
13396         * win32/libgstbase.vcproj:
13397         * win32/link_oldruntime.c:
13398         * win32/mman.c:
13399         * win32/mman.h:
13400         * win32/mman.inl:
13401         * win32/msvc71.sln:
13402           move even more stuff, win32/ is nice and clean now
13403
13404 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13405
13406         * libs/gst/control/.cvsignore:
13407         * win32/MANIFEST:
13408         * win32/config.h:
13409         * win32/dirent.c:
13410         * win32/dirent.h:
13411         * win32/gstbytestream.def:
13412         * win32/gstbytestream.vcproj:
13413         * win32/gstconfig.h:
13414         * win32/gstenumtypes.c:
13415         * win32/gstenumtypes.h:
13416         * win32/gstoptimalscheduler.vcproj:
13417         * win32/gstversion.h:
13418         * win32/gtchar.h:
13419         * win32/testsuite/bins.vcproj:
13420         * win32/testsuite/bytestream.vcproj:
13421         * win32/testsuite/caps.vcproj:
13422         * win32/testsuite/cleanup.vcproj:
13423         * win32/testsuite/clock.vcproj:
13424         * win32/testsuite/debug.vcproj:
13425         * win32/testsuite/dlopen.vcproj:
13426         * win32/testsuite/dynparams.vcproj:
13427         * win32/testsuite/elements.vcproj:
13428         * win32/testsuite/ghostpads.vcproj:
13429         * win32/testsuite/indexers.vcproj:
13430         * win32/testsuite/negotiation.vcproj:
13431         * win32/testsuite/parse.vcproj:
13432         * win32/testsuite/plugin.vcproj:
13433         * win32/testsuite/refcounting.vcproj:
13434         * win32/testsuite/schedulers.vcproj:
13435         * win32/testsuite/states.vcproj:
13436         * win32/testsuite/tags.vcproj:
13437         * win32/testsuite/threads.vcproj:
13438           remove old win32 stuff that isn't maintained and should be
13439           reorganized
13440
13441 2005-11-30  Andy Wingo  <wingo@pobox.com>
13442
13443         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
13444         loading the gst.interfaces python module bork.
13445
13446         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
13447         available since GLib 2.2. Fixes #318031.
13448
13449 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13450
13451         * Makefile.am:
13452         * check/.cvsignore:
13453         * check/Makefile.am:
13454         * check/elements/.cvsignore:
13455         * check/elements/fakesrc.c:
13456         * check/elements/fdsrc.c:
13457         * check/elements/identity.c:
13458         * check/generic/.cvsignore:
13459         * check/generic/states.c:
13460         * check/gst-libs/.cvsignore:
13461         * check/gst-libs/controller.c:
13462         * check/gst-libs/gdp.c:
13463         * check/gst/.cvsignore:
13464         * check/gst/capslist.h:
13465         * check/gst/gst.c:
13466         * check/gst/gstbin.c:
13467         * check/gst/gstbuffer.c:
13468         * check/gst/gstbus.c:
13469         * check/gst/gstcaps.c:
13470         * check/gst/gstelement.c:
13471         * check/gst/gstevent.c:
13472         * check/gst/gstghostpad.c:
13473         * check/gst/gstiterator.c:
13474         * check/gst/gstmessage.c:
13475         * check/gst/gstminiobject.c:
13476         * check/gst/gstobject.c:
13477         * check/gst/gstpad.c:
13478         * check/gst/gstpipeline.c:
13479         * check/gst/gstplugin.c:
13480         * check/gst/gstsegment.c:
13481         * check/gst/gststructure.c:
13482         * check/gst/gstsystemclock.c:
13483         * check/gst/gsttag.c:
13484         * check/gst/gstutils.c:
13485         * check/gst/gstvalue.c:
13486         * check/net/.cvsignore:
13487         * check/net/gstnetclientclock.c:
13488         * check/net/gstnettimeprovider.c:
13489         * check/pipelines/.cvsignore:
13490         * check/pipelines/cleanup.c:
13491         * check/pipelines/simple_launch_lines.c:
13492         * check/pipelines/stress.c:
13493         * check/states/.cvsignore:
13494         * check/states/sinks.c:
13495         * configure.ac:
13496         * examples/Makefile.am:
13497         * examples/appreader/.cvsignore:
13498         * examples/appreader/Makefile.am:
13499         * examples/appreader/appreader.c:
13500         * examples/controller/.cvsignore:
13501         * examples/controller/Makefile.am:
13502         * examples/controller/audio-example.c:
13503         * examples/cutter/.cvsignore:
13504         * examples/cutter/Makefile.am:
13505         * examples/cutter/cutter.c:
13506         * examples/cutter/cutter.h:
13507         * examples/events/Makefile.am:
13508         * examples/events/seek.c:
13509         * examples/helloworld/.cvsignore:
13510         * examples/helloworld/Makefile.am:
13511         * examples/helloworld/helloworld.c:
13512         * examples/helloworld2/.cvsignore:
13513         * examples/helloworld2/Makefile.am:
13514         * examples/helloworld2/helloworld2.c:
13515         * examples/launch/.cvsignore:
13516         * examples/launch/Makefile.am:
13517         * examples/launch/mp3parselaunch.c:
13518         * examples/launch/mp3play:
13519         * examples/manual/.cvsignore:
13520         * examples/manual/Makefile.am:
13521         * examples/manual/extract.pl:
13522         * examples/metadata/Makefile.am:
13523         * examples/metadata/read-metadata.c:
13524         * examples/mixer/.cvsignore:
13525         * examples/mixer/Makefile.am:
13526         * examples/mixer/mixer.c:
13527         * examples/mixer/mixer.h:
13528         * examples/pingpong/.cvsignore:
13529         * examples/pingpong/Makefile.am:
13530         * examples/pingpong/pingpong.c:
13531         * examples/plugins/.cvsignore:
13532         * examples/plugins/Makefile.am:
13533         * examples/plugins/example.c:
13534         * examples/plugins/example.h:
13535         * examples/pwg/.cvsignore:
13536         * examples/pwg/Makefile.am:
13537         * examples/pwg/extract.pl:
13538         * examples/queue/.cvsignore:
13539         * examples/queue/Makefile.am:
13540         * examples/queue/queue.c:
13541         * examples/queue2/.cvsignore:
13542         * examples/queue2/Makefile.am:
13543         * examples/queue2/queue2.c:
13544         * examples/queue3/.cvsignore:
13545         * examples/queue3/Makefile.am:
13546         * examples/queue3/queue3.c:
13547         * examples/queue4/.cvsignore:
13548         * examples/queue4/Makefile.am:
13549         * examples/queue4/queue4.c:
13550         * examples/retag/.cvsignore:
13551         * examples/retag/Makefile.am:
13552         * examples/retag/retag.c:
13553         * examples/retag/transcode.c:
13554         * examples/thread/.cvsignore:
13555         * examples/thread/Makefile.am:
13556         * examples/thread/thread.c:
13557         * examples/typefind/.cvsignore:
13558         * examples/typefind/Makefile.am:
13559         * examples/typefind/typefind.c:
13560         * examples/xml/.cvsignore:
13561         * examples/xml/Makefile.am:
13562         * examples/xml/createxml.c:
13563         * examples/xml/runxml.c:
13564         * tests/Makefile.am:
13565         * tests/check/Makefile.am:
13566         * testsuite/.cvsignore:
13567         * testsuite/Makefile.am:
13568         * testsuite/Rules:
13569         * testsuite/caps/.cvsignore:
13570         * testsuite/caps/Makefile.am:
13571         * testsuite/caps/app_fixate.c:
13572         * testsuite/caps/audioscale.c:
13573         * testsuite/caps/caps.c:
13574         * testsuite/caps/caps.h:
13575         * testsuite/caps/caps_strings:
13576         * testsuite/caps/compatibility.c:
13577         * testsuite/caps/deserialize.c:
13578         * testsuite/caps/enumcaps.c:
13579         * testsuite/caps/eratosthenes.c:
13580         * testsuite/caps/filtercaps.c:
13581         * testsuite/caps/fixed.c:
13582         * testsuite/caps/fraction-convert.c:
13583         * testsuite/caps/fraction-multiply-and-zero.c:
13584         * testsuite/caps/intersect2.c:
13585         * testsuite/caps/intersection.c:
13586         * testsuite/caps/normalisation.c:
13587         * testsuite/caps/random.c:
13588         * testsuite/caps/renegotiate.c:
13589         * testsuite/caps/sets.c:
13590         * testsuite/caps/simplify.c:
13591         * testsuite/caps/string-conversions.c:
13592         * testsuite/caps/structure.c:
13593         * testsuite/caps/subtract.c:
13594         * testsuite/caps/union.c:
13595         * testsuite/debug/.cvsignore:
13596         * testsuite/debug/Makefile.am:
13597         * testsuite/debug/category.c:
13598         * testsuite/debug/commandline.c:
13599         * testsuite/debug/global.c:
13600         * testsuite/debug/output.c:
13601         * testsuite/debug/printf_extension.c:
13602         * testsuite/dlopen/.cvsignore:
13603         * testsuite/dlopen/Makefile.am:
13604         * testsuite/dlopen/dlopen_gst.c:
13605         * testsuite/dlopen/loadgst.c:
13606         * testsuite/elements/.cvsignore:
13607         * testsuite/elements/Makefile.am:
13608         * testsuite/elements/gst-inspect-check.in:
13609         * testsuite/elements/struct_i386.h:
13610         * testsuite/elements/struct_size.c:
13611         * testsuite/indexers/.cvsignore:
13612         * testsuite/indexers/Makefile.am:
13613         * testsuite/indexers/cache1.c:
13614         * testsuite/indexers/indexdump.c:
13615         * testsuite/parse/.cvsignore:
13616         * testsuite/parse/Makefile.am:
13617         * testsuite/parse/parse1.c:
13618         * testsuite/parse/parse2.c:
13619         * testsuite/plugin/.cvsignore:
13620         * testsuite/plugin/Makefile.am:
13621         * testsuite/plugin/README:
13622         * testsuite/plugin/dynamic.c:
13623         * testsuite/plugin/linked.c:
13624         * testsuite/plugin/loading.c:
13625         * testsuite/plugin/registry.c:
13626         * testsuite/plugin/static.c:
13627         * testsuite/plugin/static2.c:
13628         * testsuite/plugin/testplugin.c:
13629         * testsuite/plugin/testplugin2.c:
13630         * testsuite/plugin/testplugin2_s.c:
13631         * testsuite/plugin/testplugin_s.c:
13632         * testsuite/refcounting/.cvsignore:
13633         * testsuite/refcounting/Makefile.am:
13634         * testsuite/refcounting/bin.c:
13635         * testsuite/refcounting/element.c:
13636         * testsuite/refcounting/element_pad.c:
13637         * testsuite/refcounting/mainloop.c:
13638         * testsuite/refcounting/mem.c:
13639         * testsuite/refcounting/mem.h:
13640         * testsuite/refcounting/object.c:
13641         * testsuite/refcounting/pad.c:
13642         * testsuite/refcounting/sched.c:
13643         * testsuite/refcounting/thread.c:
13644         * testsuite/states/.cvsignore:
13645         * testsuite/states/Makefile.am:
13646         * testsuite/states/bin.c:
13647         * testsuite/states/locked.c:
13648         * testsuite/states/parent.c:
13649         * testsuite/threads/.cvsignore:
13650         * testsuite/threads/159566.c:
13651         * testsuite/threads/159852.c:
13652         * testsuite/threads/Makefile.am:
13653         * testsuite/threads/queue.c:
13654         * testsuite/threads/signals.c:
13655         * testsuite/threads/staticrec.c:
13656         * testsuite/threads/thread.c:
13657         * testsuite/threads/threadb.c:
13658         * testsuite/threads/threadc.c:
13659         * testsuite/threads/threadd.c:
13660         * testsuite/threads/threade.c:
13661         * testsuite/threads/threadf.c:
13662         * testsuite/threads/threadg.c:
13663         * testsuite/threads/threadh.c:
13664         * testsuite/threads/threadi.c:
13665           move all of these under tests
13666
13667 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13668
13669         * configure.ac:
13670         * tests/Makefile.am:
13671           fix distcheck
13672
13673 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13674
13675         * docs/gst/gstreamer-sections.txt:
13676         * tests/sched/.cvsignore:
13677         * tests/sched/Makefile.am:
13678         * tests/sched/cases/(fs-fs).xml:
13679         * tests/sched/cases/(fs-i-fs).xml:
13680         * tests/sched/cases/(fs-i-i-fs).xml:
13681         * tests/sched/cases/(fs-i-q[i-fs]).xml:
13682         * tests/sched/dynamic-pipeline.c:
13683         * tests/sched/interrupt1.c:
13684         * tests/sched/interrupt2.c:
13685         * tests/sched/interrupt3.c:
13686         * tests/sched/runtestcases:
13687         * tests/sched/runxml.c:
13688         * tests/sched/sched-stress.c:
13689         * tests/sched/sort.c:
13690         * tests/sched/testcases:
13691         * tests/sched/testcases1.tc:
13692         * tests/seeking/.cvsignore:
13693         * tests/seeking/Makefile.am:
13694         * tests/seeking/seeking1.c:
13695         * tests/threadstate/.cvsignore:
13696         * tests/threadstate/Makefile.am:
13697         * tests/threadstate/test1.c:
13698         * tests/threadstate/test2.c:
13699         * tests/threadstate/threadstate1.c:
13700         * tests/threadstate/threadstate2.c:
13701         * tests/threadstate/threadstate3.c:
13702         * tests/threadstate/threadstate4.c:
13703         * tests/threadstate/threadstate5.c:
13704           remove obsolete tests
13705         * configure.ac:
13706         * tests/bench-complexity.scm:
13707         * tests/bench-mass_elements.scm:
13708         * tests/complexity.c:
13709         * tests/complexity.gnuplot:
13710         * tests/instantiate/.cvsignore:
13711         * tests/instantiate/Makefile.am:
13712         * tests/instantiate/caps.c:
13713         * tests/mass_elements.c:
13714         * tests/network-clock-utils.scm:
13715         * tests/network-clock.scm:
13716         * tests/plot-data:
13717         First pass at cleaning up tests/ dir before moving the rest
13718         Combined with CVS surgery
13719
13720 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13721
13722         * po/POTFILES.in:
13723           queue has moved, update
13724
13725 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13726
13727         * docs/gst/gstreamer-sections.txt:
13728           remove double entries from the docs
13729         * gst/gst_private.h:
13730         * gst/gstinfo.c: (_gst_debug_init):
13731           remove the THREAD debug category
13732         * gst/Makefile.am:
13733         * gst/gstqueue.c:
13734         * gst/gstqueue.h:
13735         * docs/gst/gstreamer.types:
13736         * plugins/elements/gstqueue.c: (gst_queue_get_type),
13737         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
13738           completely move queue and fix up debugging categories
13739
13740 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13741
13742         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13743           make initialization portable, using LL is not
13744
13745 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13746
13747         * win32/common/gstconfig.h:
13748           add large padding
13749
13750 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13751
13752         * win32/common/libgstreamer.def:
13753           rename symbols; sort base section
13754
13755 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13756
13757         * gst/gstclock.c: (do_linear_regression):
13758           remove crack non-portable handrolled DEBUG macro
13759
13760 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13761
13762         * docs/random/release:
13763           update notes
13764         * win32/common/gstenumtypes.c: (register_gst_object_flags),
13765         (gst_object_flags_get_type), (register_gst_bin_flags),
13766         (gst_bin_flags_get_type), (register_gst_buffer_flag),
13767         (gst_buffer_flag_get_type), (register_gst_bus_flags),
13768         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13769         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
13770         (gst_caps_flags_get_type), (register_gst_clock_return),
13771         (gst_clock_return_get_type), (register_gst_clock_entry_type),
13772         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13773         (gst_clock_flags_get_type), (register_gst_state),
13774         (gst_state_get_type), (register_gst_state_change_return),
13775         (gst_state_change_return_get_type), (register_gst_state_change),
13776         (gst_state_change_get_type), (register_gst_element_flags),
13777         (gst_element_flags_get_type), (register_gst_core_error),
13778         (gst_core_error_get_type), (register_gst_library_error),
13779         (gst_library_error_get_type), (register_gst_resource_error),
13780         (gst_resource_error_get_type), (register_gst_stream_error),
13781         (gst_stream_error_get_type), (register_gst_event_type_flags),
13782         (gst_event_type_flags_get_type), (register_gst_event_type),
13783         (gst_event_type_get_type), (register_gst_seek_type),
13784         (gst_seek_type_get_type), (register_gst_seek_flags),
13785         (gst_seek_flags_get_type), (register_gst_format),
13786         (gst_format_get_type), (register_gst_index_certainty),
13787         (gst_index_certainty_get_type), (register_gst_index_entry_type),
13788         (gst_index_entry_type_get_type),
13789         (register_gst_index_lookup_method),
13790         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13791         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13792         (gst_index_resolver_method_get_type), (register_gst_index_flags),
13793         (gst_index_flags_get_type), (register_gst_debug_level),
13794         (gst_debug_level_get_type), (register_gst_debug_color_flags),
13795         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13796         (gst_iterator_result_get_type), (register_gst_iterator_item),
13797         (gst_iterator_item_get_type), (register_gst_message_type),
13798         (gst_message_type_get_type), (register_gst_mini_object_flags),
13799         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13800         (gst_pad_link_return_get_type), (register_gst_flow_return),
13801         (gst_flow_return_get_type), (register_gst_activate_mode),
13802         (gst_activate_mode_get_type), (register_gst_pad_direction),
13803         (gst_pad_direction_get_type), (register_gst_pad_flags),
13804         (gst_pad_flags_get_type), (register_gst_pad_presence),
13805         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13806         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13807         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13808         (gst_plugin_error_get_type), (register_gst_plugin_flags),
13809         (gst_plugin_flags_get_type), (register_gst_rank),
13810         (gst_rank_get_type), (register_gst_query_type),
13811         (gst_query_type_get_type), (register_gst_tag_merge_mode),
13812         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13813         (gst_tag_flag_get_type), (register_gst_task_state),
13814         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13815         (gst_alloc_trace_flags_get_type),
13816         (register_gst_type_find_probability),
13817         (gst_type_find_probability_get_type), (register_gst_uri_type),
13818         (gst_uri_type_get_type), (register_gst_parse_error),
13819         (gst_parse_error_get_type):
13820         * win32/common/gstenumtypes.h:
13821         * win32/common/gstversion.h:
13822           update visual studio generated files
13823
13824 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13825
13826         * win32/vs6/libgstbase.dsp:
13827         * win32/vs6/libgstelements.dsp:
13828           update project files for new locations
13829
13830 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13831
13832         * Makefile.am:
13833           remove some files
13834         * README:
13835           reinstate and update
13836         * DEVEL:
13837         * REQUIREMENTS:
13838           removed
13839         * LICENSE:
13840         * docs/random/LICENSE:
13841           moved to random
13842
13843 2005-11-30  Edward Hervey  <edward@fluendo.com>
13844
13845         * gst/gsttypefind.c: (gst_type_find_register):
13846         * gst/gsttypefind.h:
13847         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
13848         (gst_type_find_factory_dispose):
13849         * gst/gsttypefindfactory.h:
13850         Fix memory leak in GstTypeFindFactory.
13851
13852 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13853
13854         * gst/gst.c:
13855         * plugins/elements/Makefile.am:
13856         * plugins/elements/gstelements.c:
13857         * plugins/elements/gstqueue.c:
13858           move queue from core to the elements plugin
13859
13860 2005-11-29  Andy Wingo  <wingo@pobox.com>
13861
13862         * libs/gst/base/gstbasetransform.h: 
13863         * libs/gst/base/gstbasesrc.h: 
13864         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
13865
13866         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
13867         of pointers by which to pad very extensible base classes (like the
13868         ones in libs/gst/base).
13869
13870 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13871
13872         * docs/gst/gstreamer-docs.sgml:
13873         * docs/gst/gstreamer-sections.txt:
13874         * docs/libs/gstreamer-libs-docs.sgml:
13875         * docs/libs/gstreamer-libs-sections.txt:
13876           moving documentation from core to lib
13877
13878 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13879
13880         * check/Makefile.am:
13881         * configure.ac:
13882         * docs/gst/Makefile.am:
13883         * gst/Makefile.am:
13884         * gst/base/.cvsignore:
13885         * gst/base/Makefile.am:
13886         * gst/base/README:
13887         * gst/base/gstadapter.c:
13888         * gst/base/gstadapter.h:
13889         * gst/base/gstbasesink.c:
13890         * gst/base/gstbasesink.h:
13891         * gst/base/gstbasesrc.c:
13892         * gst/base/gstbasesrc.h:
13893         * gst/base/gstbasetransform.c:
13894         * gst/base/gstbasetransform.h:
13895         * gst/base/gstcollectpads.c:
13896         * gst/base/gstcollectpads.h:
13897         * gst/base/gstpushsrc.c:
13898         * gst/base/gstpushsrc.h:
13899         * gst/base/gsttypefindhelper.c:
13900         * gst/base/gsttypefindhelper.h:
13901         * gst/check/Makefile.am:
13902         * gst/check/gstcheck.c:
13903         * gst/check/gstcheck.h:
13904         * gst/net/Makefile.am:
13905         * gst/net/gstnet.h:
13906         * gst/net/gstnetclientclock.c:
13907         * gst/net/gstnetclientclock.h:
13908         * gst/net/gstnettimepacket.c:
13909         * gst/net/gstnettimepacket.h:
13910         * gst/net/gstnettimeprovider.c:
13911         * gst/net/gstnettimeprovider.h:
13912         * libs/gst/Makefile.am:
13913         * libs/gst/base/Makefile.am:
13914         * libs/gst/base/gstbasetransform.c:
13915         * libs/gst/check/Makefile.am:
13916         * plugins/elements/Makefile.am:
13917         * po/POTFILES.in:
13918           CVS surgery + support to move base, check, and net out of gst
13919           and into libs/gst
13920
13921 2005-11-29  Andy Wingo  <wingo@pobox.com>
13922
13923         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
13924
13925         * gst/gststructure.h (struct _GstStructure): Only one pointer of
13926         padding.
13927
13928         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
13929
13930         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
13931
13932         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
13933
13934         * gst/gstobject.h: (struct _GstObject): Only one pointer of
13935         padding; reduces object size by about 30%. We don't expect
13936         anything else to go into gstobject.
13937
13938         * gst/gstminiobject.h (struct _GstMiniObject)
13939         (struct _GstMiniObjectClass): Only one pointer of padding; the
13940         payload is only a pointer and two ints anyway. For the class there
13941         are only two methods as well.
13942         
13943         * gst/gstelement.h (struct _GstElementClass): Removed
13944         the state_changed signal callback, it is not used.
13945
13946 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13947
13948         * docs/gst/gstreamer.types:
13949           fix includes, though they are a little dinky
13950
13951 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13952
13953         * check/Makefile.am:
13954           look in the right place for elements, a lot more chance of
13955           success
13956         * gst/Makefile.am:
13957           remove indexers and elements subdirs
13958         * plugins/Makefile.am:
13959           make indexers conditional
13960
13961 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13962
13963         * Makefile.am:
13964         * configure.ac:
13965         * plugins/elements/Makefile.am:
13966         * plugins/elements/gstcapsfilter.c:
13967         * plugins/elements/gstfilesink.c:
13968         * plugins/elements/gstfilesrc.c:
13969         * plugins/elements/gstidentity.c:
13970         * plugins/indexers/Makefile.am:
13971           do CVS surgery and related build fixery to move elements
13972           and indexers in a new gstreamer/plugins directory, out of the
13973           gst/ directory
13974
13975 2005-11-29  Andy Wingo  <wingo@pobox.com>
13976
13977         * check/Makefile.am:
13978         * pkgconfig/gstreamer-net-uninstalled.pc.in:
13979         * pkgconfig/gstreamer-net.pc.in:
13980         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
13981         #322257.
13982
13983 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13984
13985         * tools/Makefile.am:
13986         * tools/gst-complete.1.in:
13987         * tools/gst-complete.c:
13988         * tools/gst-compprep.1.in:
13989         * tools/gst-compprep.c:
13990           removing -compprep and -complete
13991
13992 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13993
13994         * gst/gstevent.c: (gst_event_new_new_segment),
13995         (gst_event_parse_new_segment):
13996         * gst/gstevent.h:
13997           fix #320529 - clean up new_segment API and structure.
13998           Let's hope everyone was using the methods, and not the structure.
13999
14000 2005-11-29  Edward Hervey  <edward@fluendo.com>
14001
14002         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14003         (gst_base_sink_event), (gst_base_sink_do_sync),
14004         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
14005         Properly handle non GST_FORMAT_TIME segment
14006         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14007         Properly handle non GST_FORMAT_TIME segment
14008         * gst/gstsegment.c:
14009         This function is valid if the accumulator is 0 and the format
14010         is different from the requested format.
14011         
14012 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14013
14014         * docs/gst/gstreamer-sections.txt:
14015         Add gst_query_new_seeking and gst_query_parse_seeking to the
14016         docs.
14017
14018 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14019
14020         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14021           Treat a pad alloc with new caps the same as if we were not
14022           negotiated, in order to allow a changing upstream output
14023           to produce a new format of data.
14024
14025 2005-11-29  Edward Hervey  <edward@fluendo.com>
14026
14027         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14028         (gst_base_transform_event), (gst_base_transform_eventfunc):
14029         The event virtual method is now properly implemented, with a default
14030         handler
14031         Sub classes should call the parent_class event method. They should
14032         return FALSE if they had a problem handling the given event, or don't
14033         want GstBaseTransform to send that even downstream
14034         * gst/elements/gstidentity.c: (gst_identity_class_init),
14035         (gst_identity_init), (gst_identity_event),
14036         (gst_identity_transform_ip), (gst_identity_set_property),
14037         (gst_identity_get_property):
14038         * gst/elements/gstidentity.h:
14039         Added the single-segment boolean property.
14040         If set to TRUE, it will output a single segment of data, starting from
14041         0, will eat up all incoming newsegment, and modify the timestamp of the
14042         buffers accordingly
14043
14044 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
14045
14046         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
14047           Don't ref NULL target pad (#322751). Improve docs.
14048
14049 2005-11-29  Michael Smith  <msmith@fluendo.com>
14050
14051         * gst/gstregistryxml.c: (load_plugin):
14052           Don't crash if we failed to load a feature from a plugin. 
14053
14054 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14055
14056         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
14057         (GST_START_TEST):
14058           use more check API and less GLib API
14059
14060 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14061
14062         * Makefile.am:
14063           don't run checks if we don't have check
14064         * common/check.mak:
14065           remove the registry when running make torture
14066         * docs/gst/gstreamer-sections.txt:
14067           remove second multiply
14068         * gst/gstqueue.c: (gst_queue_loop):
14069           fix a compile warning when disabling debug
14070
14071 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14072
14073         * gst/gstinfo.h:
14074         Hey! Let's print the pad name if the pointer != NULL instead
14075         of when it == NULL :-)
14076
14077 2005-11-28  Wim Taymans  <wim@fluendo.com>
14078
14079         * check/gst/gstutils.c: (GST_START_TEST):
14080         Updated check, add some scaling accuracy checking code.
14081
14082         * gst/gstutils.c: (gst_util_div128_64),
14083         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
14084         (gst_util_uint64_scale_int):
14085         Fix 6 times faster division code. Optimize for common 
14086         1/1 and less common X/1 cases.
14087
14088 2005-11-28  Wim Taymans  <wim@fluendo.com>
14089
14090         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14091         More checks.
14092
14093         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
14094         (do_linear_regression), (gst_clock_add_observation):
14095         Cleanups.
14096         Release lock when the clock cannot be slaved.
14097         Catch the case where the regression returned an invalid denominator.
14098
14099         * gst/gstutils.c: (gst_util_div128_64_iterate),
14100         (gst_util_div128_64), (gst_util_uint64_scale_int64),
14101         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14102         Add protentially more performant non-iterative 128/64 divide function
14103         that unfortunatly does not work yet.
14104         Shortcut the trivial 0/X = 0 case.
14105         Remove the warnings on overflow.
14106
14107 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14108
14109         * gst/gstplugin.c: (gst_plugin_register_func):
14110           everything causing a plugin not to load should be at least a WARNING
14111
14112 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
14113
14114         * docs/random/ensonic/dparams.txt:
14115           some TODOs for the next dev cycle
14116         * libs/gst/controller/gstcontroller.c:
14117         (gst_controlled_property_set_interpolation_mode),
14118         (gst_controlled_property_new):
14119         * libs/gst/controller/gstcontroller.h:
14120           use base type to assign acccessor functions
14121
14122 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14123
14124         * check/Makefile.am:
14125         Oops, that should have been top_srcdir
14126
14127 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14128
14129         * check/Makefile.am:
14130         * check/elements/fdsrc.c: (GST_START_TEST):
14131         Use a cmdline define to specify the location of a file to use for
14132         testing, to avoid breaking distcheck.
14133
14134 2005-11-28  Andy Wingo  <wingo@pobox.com>
14135
14136         * gst/gstpad.c (fixate_value): Use array functions for arrays.
14137
14138 2005-11-28  Edward Hervey  <edward@fluendo.com>
14139
14140         * tools/gst-launch.c: (main):
14141         Clarify the output strings, makes it easier to translate.
14142         Fixes #322626
14143
14144 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14145
14146         * gst/Makefile.am:
14147           don't try and build net if we don't even have <sys/socket.h>
14148
14149 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
14150
14151         * check/Makefile.am:
14152         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
14153         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
14154           Add tests for fdsrc seekability
14155
14156         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
14157         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
14158         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
14159         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
14160         * gst/elements/gstfdsrc.h:
14161           fdsrc should not be a 'live' source.
14162           Implement seeking on seekable fd's.
14163
14164         * gst/gstquery.c: (gst_query_new_seeking),
14165         (gst_query_parse_seeking):
14166         * gst/gstquery.h:
14167           Implement SEEKING query functions: 
14168             *_new_seeking and *_parse_seeking
14169
14170 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
14171
14172         * gst/gstelement.c: (gst_element_dispose):
14173           don't loop forever
14174
14175         * gst/gstiterator.c:
14176         * gst/gststructure.c:
14177           doc fixes
14178
14179         * libs/gst/controller/gstcontroller.c:
14180         (gst_controlled_property_set_interpolation_mode):
14181         * libs/gst/controller/gstcontroller.h:
14182         * libs/gst/controller/gstinterpolation.c:
14183         (interpolate_none_get_enum_value_array):
14184           support controlling enums
14185
14186 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14187
14188         * gst/gstvalue.c:
14189           Improve documentation for gst_value_union().
14190
14191         * gst/gstvalue.h:
14192           Change return value for union, intersect and subtract functions
14193           from gint to gboolean.
14194
14195 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14196
14197         * gst/gstvalue.c: (gst_value_serialize_any_list),
14198         (gst_value_transform_any_list_string),
14199         (gst_value_deserialize_list), (gst_value_deserialize_array),
14200         (gst_value_set_int_range), (gst_value_deserialize_int_range),
14201         (gst_value_set_double_range), (gst_value_deserialize_double_range),
14202         (gst_value_set_fraction_range_full),
14203         (gst_value_deserialize_fraction_range),
14204         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
14205         (gst_value_deserialize_boolean),
14206         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
14207         (gst_value_serialize_float), (gst_value_deserialize_float),
14208         (gst_string_wrap), (gst_value_deserialize_string),
14209         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
14210         (gst_value_union_int_range_int_range),
14211         (gst_value_intersect_int_range_int_range),
14212         (gst_value_intersect_double_range_double_range),
14213         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
14214         (gst_value_subtract_int_range_int_range),
14215         (gst_value_subtract_double_double_range),
14216         (gst_value_subtract_double_range_double_range),
14217         (gst_value_deserialize_fraction):
14218         * gst/gstvalue.h:
14219           Use gint, gdouble and gchar in our API instead of int, double and
14220           char (and make usage in gstvalue.c more consistent).
14221
14222 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14223
14224         * check/Makefile.am:
14225         * libs/gst/controller/Makefile.am:
14226         * libs/gst/dataprotocol/Makefile.am:
14227           fix up Makefile.am and remove GST_ENABLE_NEW
14228
14229 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14230
14231         * configure.ac:
14232         * gst/Makefile.am:
14233         * gst/base/Makefile.am:
14234         * gst/check/Makefile.am:
14235         * gst/elements/Makefile.am:
14236         * gst/net/Makefile.am:
14237           update LDFLAGS use some more
14238
14239 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14240
14241         * common/m4/gst-doc.m4:
14242           Fixes #312589
14243
14244 2005-11-26  Edward Hervey  <edward@fluendo.com>
14245
14246         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14247         This shouldn't issue a g_warning since it returns NULL if it
14248         couldn't find the plugin, and all functions using this behave
14249         properly on a NULL return. Switching to a GST_WARNING.
14250
14251 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
14252
14253         * gst/gstbin.c: (gst_bin_handle_message_func):
14254         Don't leak clock messages.
14255
14256 2005-11-25  Wim Taymans  <wim@fluendo.com>
14257
14258         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14259         (gst_util_uint64_scale_int):
14260         Optimisations, remove unneeded vars.
14261
14262 2005-11-25  Wim Taymans  <wim@fluendo.com>
14263
14264         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14265         Added more checks for the high precision uint64 cases.
14266
14267         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14268         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14269         Implement high precision (guint64 * guint64) / guint64.
14270
14271 2005-11-24  Wim Taymans  <wim@fluendo.com>
14272
14273         * gst/base/gstbasesrc.c: (gst_base_src_query):
14274         Fix wrong percentage query.
14275
14276         * gst/gstutils.c: (gst_util_uint64_scale),
14277         (gst_util_uint64_scale_int):
14278         Add some more common cases that can be handled 
14279         efficiently to _scale.
14280
14281 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14282
14283         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
14284         (gst_mini_object_suite):
14285           don't use check calls from threads; check probably isn't
14286           threadsafe and using a lock to make it threadsafe would
14287           defeat the purpose of this check
14288         * gst/check/gstcheck.c:
14289         * gst/check/gstcheck.h:
14290           use GST_DEBUG some more
14291
14292 2005-11-24  Wim Taymans  <wim@fluendo.com>
14293
14294         * gst/gstutils.c: (gst_util_uint64_scale),
14295         (gst_util_uint64_scale_int):
14296         Chain trivial case to _scale_int.
14297
14298 2005-11-24  Wim Taymans  <wim@fluendo.com>
14299
14300         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14301         Added test for scaling.
14302
14303         * gst/gstclock.h:
14304         Small doc fix.
14305
14306         * gst/gstutils.c: (gst_util_uint64_scale_int):
14307         Implemented high precision scaling code.
14308
14309 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
14310
14311         * gst/gstinfo.h:
14312           do not crash on pad==NULL
14313
14314 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14315
14316         Patch by: Stefan Kost
14317
14318         * common/gtk-doc.mak:
14319         * docs/gst/Makefile.am:
14320         * docs/libs/Makefile.am:
14321           Fix distcheck issues for the libraries docs build
14322           Closes #319599.
14323
14324 2005-11-24  Michael Smith <msmith@fluendo.com>
14325
14326         * docs/manual/basics-helloworld.xml:
14327           Fix bug #315027: memory leak in example code in docs.
14328
14329 2005-11-24  Michael Smith <msmith@fluendo.com>
14330
14331         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14332           Unlock the PREROLL_LOCK in a failure case.
14333
14334 2005-11-24  Wim Taymans  <wim@fluendo.com>
14335
14336         * docs/gst/gstreamer-sections.txt:
14337         * gst/base/gstadapter.h:
14338         * gst/base/gstbasesink.h:
14339         * gst/base/gstbasesrc.h:
14340         * gst/base/gstbasetransform.h:
14341         * gst/base/gstpushsrc.h:
14342         * gst/elements/gstfakesink.h:
14343         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
14344         * gst/elements/gstfakesrc.h:
14345         * gst/elements/gstfilesink.h:
14346         * gst/elements/gstfilesrc.h:
14347         * gst/gst.c:
14348         * gst/gstbin.c:
14349         * gst/gstbuffer.c: (_gst_buffer_copy):
14350         * gst/gstbus.h:
14351         * gst/gstcaps.c:
14352         * gst/gstchildproxy.c:
14353         * gst/gstclock.c:
14354         * gst/gstelement.c:
14355         * gst/gstelementfactory.c:
14356         * gst/gstelementfactory.h:
14357         * gst/gstevent.c:
14358         * gst/gstghostpad.h:
14359         * gst/gstindex.h:
14360         * gst/gstinterface.h:
14361         * gst/gstminiobject.c:
14362         * gst/gstminiobject.h:
14363         * gst/gstpad.c:
14364         * gst/gstpad.h:
14365         * gst/gstpadtemplate.h:
14366         * gst/gstpipeline.h:
14367         * gst/gstpluginfeature.h:
14368         * gst/gstquery.h:
14369         * gst/gstqueue.h:
14370         * gst/gsttaglist.c:
14371         * gst/gsttaglist.h:
14372         * gst/gsttagsetter.c:
14373         * gst/gsttagsetter.h:
14374         * gst/gsttrace.c:
14375         * gst/gsttrace.h:
14376         * gst/gsttypefind.h:
14377         * gst/gsturi.h:
14378         * gst/gstvalue.c:
14379         * gst/net/gstnetclientclock.c:
14380         * gst/net/gstnetclientclock.h:
14381         * gst/net/gstnettimepacket.c:
14382         * gst/net/gstnettimeprovider.c:
14383         * gst/net/gstnettimeprovider.h:
14384         Doc fixes.
14385
14386 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14387
14388         * configure.ac: back to HEAD
14389
14390 === release 0.9.6 ===
14391
14392 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
14393
14394         * configure.ac:
14395           releasing 0.9.6, "Always On Time"
14396
14397 2005-11-23  Wim Taymans  <wim@fluendo.com>
14398
14399         * docs/gst/gstreamer-sections.txt:
14400         * gst/glib-compat.c:
14401         * gst/gsttagsetter.c:
14402         * gst/gstvalue.c:
14403         * gst/net/gstnetclientclock.c:
14404         * gst/net/gstnettimepacket.h:
14405         Doc updates.
14406
14407 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14408
14409         * docs/faq/using.xml:
14410         * docs/libs/tmpl/gstcontrol.sgml:
14411         * docs/manual/advanced-dparams.xml:
14412         * docs/manual/appendix-checklist.xml:
14413         * docs/manual/basics-elements.xml:
14414         * docs/pwg/other-source.xml:
14415         * docs/random/moving-plugins:
14416         * gst/gstpad.c:
14417         * tools/gst-launch.1.in:
14418           remove mentions of sinesrc
14419
14420 2005-11-23  Michael Smith <msmith@fluendo.com>
14421
14422         * docs/gst/gstreamer-sections.txt:
14423           Update for new API and API changes.
14424         * gst/gstobject.h:
14425           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
14426         * gst/gstvalue.c:
14427           Documentation typo fix.
14428         * gst/net/gstnettimepacket.c:
14429           Documentation fixes for arguments.
14430
14431 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
14432
14433         * gst/gststructure.c: (gst_structure_get_fraction),
14434         (gst_structure_parse_value),
14435         (gst_structure_fixate_field_nearest_fraction):
14436         * gst/gststructure.h:
14437         * gst/gstutils.c: (gst_util_uint64_scale_int):
14438         * gst/gstutils.h:
14439         * scripts/update-funcnames:
14440         API Changes. 
14441         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
14442         Make gst_structure_fixate_field_nearest_fraction take a numerator
14443         and denominator argument instead of a GValue
14444         add gst_structure_get_fraction helper function.
14445
14446 2005-11-23  Wim Taymans  <wim@fluendo.com>
14447
14448         * docs/design/part-TODO.txt:
14449         Update TODO.
14450
14451         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
14452         * gst/net/gstnetclientclock.h:
14453         Use parent fields for timeout and window_size.
14454
14455 2005-11-23  Andy Wingo  <wingo@pobox.com>
14456
14457         * check/net/gstnetclientclock.c (test_functioning): Adjust to
14458         rate_num/rate_denom change.
14459
14460         * gst/net/gstnetclientclock.c
14461         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
14462         OBJECT_LOCK. Don't call add_observation with the lock.
14463
14464         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
14465         fraction.
14466         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
14467         rate fraction.
14468         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
14469         deal with rate as a fraction whose numerator and denominator are
14470         GstClockTime values.
14471         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
14472         master; the other fields are protected by the SLAVE_LOCK.
14473         (do_linear_regression): Note that this must be called with the
14474         SLAVE_LOCK.
14475         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
14476         OBJECT_LOCK. Call set_calibration instead of touching the
14477         variables directly.
14478         (gst_clock_set_property, gst_clock_get_property): Protect
14479         master/slave parameters with the SLAVE_LOCK.
14480
14481         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
14482         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
14483         note that all of the instance variables that add_observation and
14484         the set_master functions use are protected by that lock and not
14485         the OBJECT_LOCK.
14486         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
14487
14488         * gst/gstclock.c (gst_clock_add_observation): No longer requires
14489         the caller to take the object lock.
14490
14491 2005-11-23  Wim Taymans  <wim@fluendo.com>
14492
14493         * gst/gsterror.c: (_gst_core_errors_init):
14494         * gst/gsterror.h:
14495         Add error for clock stuff.
14496
14497         * gst/gstpipeline.c: (gst_pipeline_change_state),
14498         (gst_pipeline_set_clock):
14499         Post clock error when clock cannot be used in a pipeline.
14500
14501 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
14502
14503         * docs/gst/gstreamer-sections.txt:
14504           make two symbols from gstinfo private for the docs
14505         * gst/base/gstcollectpads.h:
14506         * gst/gstutils.c:
14507           fix doc typos, update docs
14508
14509 2005-11-22  Wim Taymans  <wim@fluendo.com>
14510
14511         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14512         (gst_base_sink_wait), (gst_base_sink_do_sync),
14513         (gst_base_sink_handle_event):
14514         * gst/base/gstbasesink.h:
14515         No need to store the clock, the parent element class already
14516         has it.
14517
14518         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
14519         Updates for clock_set returning a gboolean
14520
14521         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
14522         (gst_clock_id_wait_async), (gst_clock_class_init),
14523         (gst_clock_init), (gst_clock_finalize),
14524         (gst_clock_get_internal_time), (gst_clock_get_time),
14525         (gst_clock_slave_callback), (gst_clock_set_master),
14526         (gst_clock_get_master), (do_linear_regression),
14527         (gst_clock_add_observation), (gst_clock_set_property),
14528         (gst_clock_get_property):
14529         * gst/gstclock.h:
14530         Implement master/slave. When setting a clock as a slave, a
14531         periodic timeout is scheduled to sample master and slave times.
14532         Then the slave clock is recalibrated to match offset and rate
14533         of the master clock.
14534         Update logging a bit.
14535         Add flag so that a clock can state that is cannot be slaved to
14536         another clock.
14537
14538         * gst/gstelement.c: (gst_element_set_clock):
14539         * gst/gstelement.h:
14540         The set clock returns a gboolean for when an element cannot
14541         deal with the selected clock in the pipeline. 
14542
14543         * gst/gstpipeline.c: (gst_pipeline_change_state),
14544         (gst_pipeline_set_clock):
14545         * gst/gstpipeline.h:
14546         Handle the case where the selected clock cannot be set on
14547         the pipeline.
14548
14549         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
14550         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
14551         (gst_net_client_clock_set_property),
14552         (gst_net_client_clock_get_property),
14553         (gst_net_client_clock_observe_times):
14554         * gst/net/gstnetclientclock.h:
14555         Use regression code in GstClock parent, remove duplicated
14556         functionality.
14557
14558 2005-11-22  Michael Smith <msmith@fluendo.com>
14559
14560         * gst/gstutils.c: (gst_util_clock_time_scale):
14561         * gst/gstutils.h:
14562         * docs/gst/gstreamer-sections.txt:
14563           Rename method to have extra underscore.
14564
14565 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14566
14567         * gst/elements/Makefile.am:
14568         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
14569         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14570         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14571         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
14572         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
14573         * gst/elements/gstfakesrc.h:
14574         * gst/gstqueue.c: (queue_leaky_get_type):
14575           correctly fix GEnumValues so that nick is the short lowercase
14576           dashed tag
14577         * tools/gst-inspect.c: (print_element_properties_info):
14578           also show the nick, since it's useful to use from parse_launch
14579           syntax
14580           Fixes #322139
14581
14582 2005-11-22  Michael Smith <msmith@fluendo.com>
14583
14584         * gst/gstutils.c: (gst_util_clocktime_scale):
14585         * gst/gstutils.h:
14586         * docs/gst/gstreamer-sections.txt:
14587           Add util method for scaling a clocktime by a fraction. Useful 
14588           implementation is left as an exercise for the reader.
14589
14590 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14591
14592         * gst/gstvalue.c: (gst_value_collect_fraction_range):
14593         If needed, allocate storage in the destination value during
14594         collection.
14595
14596 2005-11-22  Edward Hervey  <edward@fluendo.com>
14597
14598         * docs/gst/gstreamer-sections.txt:
14599         * gst/Makefile.am:
14600         * gst/gst.h:
14601         * gst/gsturitype.c:
14602         * gst/gsturitype.h:
14603         * gst/gstutils.c: (gst_util_set_object_arg):
14604         * tools/gst-compprep.c: (main):
14605         * tools/gst-inspect.c: (print_element_properties_info):
14606         Removed GstURI, closes bug #321061
14607
14608 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14609
14610         * check/gst/gststructure.c: (GST_START_TEST):
14611         * gst/gststructure.c: (gst_structure_parse_value):
14612           Oops, broke automatic string type parsing.
14613           Add a test to catch it in future.
14614
14615 2005-11-22  Andy Wingo  <wingo@pobox.com>
14616
14617         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
14618         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
14619         Actually rename the function implementations. Grr.
14620
14621 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14622
14623         * check/gst/capslist.h:
14624           Comment test cases
14625         * check/gst/gststructure.c: (GST_START_TEST),
14626         (gst_structure_suite):
14627           Test automatic value type detection in gst_structure_from_string.
14628         * gst/gststructure.c: (gst_structure_parse_value):
14629           Add fraction as a type we try and guess automatically in
14630           caps/structure strings.
14631
14632 2005-11-22  Andy Wingo  <wingo@pobox.com>
14633
14634         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
14635
14636         * gst/gsttagsetter.h:
14637         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
14638         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
14639         (gst_tag_setter_add_tag_valist)
14640         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
14641         _add_values, _add_valist, and _add_valist_values. Since this is an
14642         interface the function suffixes should be more explicit so
14643         language binding don't end up with element.add_valist ->
14644         gst_tag_setter_add_valist, for example. Fixes #322069.
14645
14646 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14647
14648         * check/gst/gstcaps.c: (GST_START_TEST):
14649           Extend caps string tests to check that a caps to string
14650           conversion is reversible and produces the same caps.
14651
14652         * gst/gststructure.c: (gst_structure_value_get_generic_type):
14653           Output "fraction" as the generic type fraction range, so caps
14654           serialisation and deserialisation works.
14655         * check/gst/capslist.h:
14656         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14657           Support 'MIN' and 'MAX' for deserialising fractions.
14658
14659 2005-11-22  Andy Wingo  <wingo@pobox.com>
14660
14661         * gst/gstevent.h (gst_event_new_new_segment)
14662         (gst_event_parse_new_segment, gst_event_new_buffer_size)
14663         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
14664         Renamed from *_newsegment, *_buffersize, *_notarget.
14665
14666         * scripts/update-funcnames: New script, performs the changes
14667         listed above.
14668
14669 2005-11-22  Wim Taymans  <wim@fluendo.com>
14670
14671         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14672         Make sure the GstFlowReturn is returned.
14673
14674         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
14675         (gst_bus_add_signal_watch):
14676         * gst/gstbus.h:
14677         add gst_bus_add_signal_watch_full.
14678
14679         * gst/gstplugin.c: (gst_plugin_load_file):
14680         Small style cleanup.
14681
14682 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14683
14684         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
14685           Block the fakesrc srcpad when we send an event, to avoid
14686           contention on the stream_lock causing random test failures.
14687
14688 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14689
14690         * check/gst/gstvalue.c: (GST_START_TEST):
14691         * gst/gstvalue.c: (gst_value_fraction_subtract):
14692           Fix subtraction.
14693
14694 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
14695
14696         * gst/gst.h:
14697           include "gstchildproxy.h"
14698         * gst/gstchildproxy.h:
14699         * libs/gst/controller/gstcontroller.h:
14700           use G_GNUC_NULL_TERMINATED
14701
14702 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14703
14704         * check/gst/capslist.h:
14705         * check/gst/gstcaps.c: (GST_START_TEST):
14706         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14707         * gst/gststructure.c: (gst_structure_parse_range),
14708         (gst_structure_fixate_field_nearest_fraction):
14709         * gst/gststructure.h:
14710         * gst/gstvalue.c: (gst_value_init_fraction_range),
14711         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
14712         (gst_value_collect_fraction_range),
14713         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
14714         (gst_value_set_fraction_range_full),
14715         (gst_value_get_fraction_range_min),
14716         (gst_value_get_fraction_range_max),
14717         (gst_value_serialize_fraction_range),
14718         (gst_value_transform_fraction_range_string),
14719         (gst_value_compare_fraction_range),
14720         (gst_value_deserialize_fraction_range),
14721         (gst_value_intersect_fraction_fraction_range),
14722         (gst_value_intersect_fraction_range_fraction_range),
14723         (gst_value_subtract_fraction_fraction_range),
14724         (gst_value_subtract_fraction_range_fraction),
14725         (gst_value_subtract_fraction_range_fraction_range),
14726         (gst_value_collect_fraction), (gst_value_fraction_multiply),
14727         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
14728         (gst_value_transform_string_fraction), (_gst_value_initialize):
14729         * gst/gstvalue.h:
14730           Implement fraction ranges and extend GstFraction to support
14731           arithmetic subtraction, as well as deserialization from integer
14732           strings such as "100"
14733           Add a testsuite as for int and double range set operations
14734
14735 2005-11-21  Andy Wingo  <wingo@pobox.com>
14736
14737         * gst/gsttaglist.h: 
14738         * gst/gstcaps.h: 
14739         * gst/gststructure.h: Add glib-compat.h.
14740
14741 2005-11-21  Wim Taymans  <wim@fluendo.com>
14742
14743         * gst/gstbin.c: (gst_bin_change_state_func):
14744         Fix for #321595
14745
14746 2005-11-21  Wim Taymans  <wim@fluendo.com>
14747
14748         * gst/gstsegment.h:
14749         And add a nice define too.
14750
14751 2005-11-21  Wim Taymans  <wim@fluendo.com>
14752
14753         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
14754         (gst_segment_new), (gst_segment_free), (gst_segment_init),
14755         (gst_segment_set_duration), (gst_segment_set_last_stop),
14756         (gst_segment_set_seek), (gst_segment_set_newsegment),
14757         (gst_segment_to_stream_time), (gst_segment_to_running_time),
14758         (gst_segment_clip):
14759         * gst/gstsegment.h:
14760         Make binding friendly.
14761
14762 2005-11-21  Andy Wingo  <wingo@pobox.com>
14763
14764         * gst/gsttagsetter.h: 
14765         * gst/gsttaglist.h: 
14766         * gst/gststructure.h: 
14767         * gst/gstcaps.h: 
14768         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
14769         #319940.
14770
14771         * gst/gsterror.c (_gst_core_errors_init):
14772         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
14773         category.
14774
14775         * gst/Makefile.am (gst_headers): Add glib-compat.h.
14776         (noinst_HEADERS): noinst the -private.
14777
14778 2005-11-21  Michael Smith <msmith@fluendo.com>
14779
14780         * gst/gstplugin.h:
14781         * gst/gstregistry.h:
14782           Remove unimplemented declarations for which we can see no sensible
14783           use.
14784
14785 2005-11-21  Andy Wingo  <wingo@pobox.com>
14786
14787         * gst/gst.h: Include glib-compat.h.
14788
14789         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
14790
14791         * gst/glib-compat.c: Include the public and the private header.
14792
14793         * gst/glib-compat-private.h: Copied here from glib-compat.h.
14794
14795         * gst/gstvalue.c: 
14796         * gst/gstpad.c: 
14797         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
14798
14799         * check/gst/gstevent.c (create_custom_events): Check that
14800         FLUSH_STOP is serialized.
14801
14802         * check/elements/identity.c (event_func): 
14803         * check/elements/fakesrc.c (event_func): No stream lock, the core
14804         takes it.
14805
14806         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
14807         stream lock taking, yay.
14808
14809         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
14810         ensure that core takes the stream lock.
14811
14812         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
14813         lock name change.
14814
14815         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
14816         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
14817         it already. For the flush start we do take it though so we get the
14818         right preroll state change messages.
14819
14820         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
14821         the stream lock here, the core does it for us.
14822
14823         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
14824         GST_STREAM_GET_LOCK.
14825         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
14826         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
14827         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
14828         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
14829         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
14830         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
14831
14832         * gst/gstpad.c: Update for stream lock name change.
14833
14834         * gst/base/gstbasesink.c: Update for preroll lock name change.
14835
14836 2005-11-21  Wim Taymans  <wim@fluendo.com>
14837
14838         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
14839         (gst_clock_get_master):
14840         * gst/gstclock.h:
14841         * gst/gstsystemclock.c: (gst_system_clock_init):
14842         Convert Clock flags to object flags.
14843         Added methods to manage master/slave clocks.
14844
14845 2005-11-21  Wim Taymans  <wim@fluendo.com>
14846
14847         * check/gst/gstsegment.c: (GST_START_TEST):
14848         * docs/design/part-TODO.txt:
14849         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14850         (gst_base_sink_event), (gst_base_sink_do_sync),
14851         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
14852         (gst_base_sink_query), (gst_base_sink_change_state):
14853         * gst/base/gstbasesink.h:
14854         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14855         (gst_base_src_default_newsegment),
14856         (gst_base_src_configure_segment), (gst_base_src_do_seek),
14857         (gst_base_src_get_range), (gst_base_src_loop),
14858         (gst_base_src_change_state):
14859         * gst/base/gstbasesrc.h:
14860         * gst/base/gstbasetransform.c:
14861         (gst_base_transform_prepare_output_buf),
14862         (gst_base_transform_event), (gst_base_transform_change_state):
14863         * gst/base/gstbasetransform.h:
14864         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
14865         (gst_collect_pads_event):
14866         * gst/base/gstcollectpads.h:
14867         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
14868         (gst_fake_src_create):
14869         * gst/elements/gstfakesrc.h:
14870         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14871         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14872         (gst_segment_set_last_stop), (gst_segment_set_seek),
14873         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14874         (gst_segment_to_running_time), (gst_segment_clip):
14875         * gst/gstsegment.h:
14876         More segment updates, replace code in plugins with segment
14877         helper functions.
14878
14879 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
14880
14881         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
14882         Don't ignore sscanf results
14883
14884 2005-11-21  Andy Wingo  <wingo@pobox.com>
14885
14886         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
14887
14888         * *.h:
14889         * *.c: Ran scripts/update-macros. Oh yes.
14890
14891         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
14892         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
14893         GST_GET_LOCK, etc.
14894
14895         * scripts/update-macros: New script. Run it on your files to
14896         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
14897         well.
14898
14899 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
14900
14901         * docs/gst/Makefile.am:
14902         * docs/gst/gstreamer-docs.sgml:
14903         * docs/gst/gstreamer-sections.txt:
14904         * docs/gst/gstreamer.types:
14905         * gst/gstinfo.h:
14906           more docs fixes, add new api to the docs
14907
14908 2005-11-21  Andy Wingo  <wingo@pobox.com>
14909
14910         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
14911         state_broadcast call.
14912
14913         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
14914
14915 2005-11-21  Julien MOUTTE  <julien@moutte.net>
14916
14917         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
14918         function calls for arrays.
14919
14920 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
14921
14922         * docs/random/ensonic/media-device-daemon.txt:
14923           wild idea, can this be done?
14924         * docs/gst/gstreamer-sections.txt:
14925         * gst/gsterror.h:
14926         * gst/gstfilter.c:
14927         * gst/gstfilter.h:
14928         * gst/gstplugin.h:
14929         * gst/gstpluginfeature.c:
14930         * gst/gsttrace.c:
14931         * gst/gstvalue.c:
14932         * gst/gstvalue.h:
14933           doc fixes and additions
14934
14935 2005-11-21  Andy Wingo  <wingo@pobox.com>
14936
14937         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
14938         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
14939         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
14940         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
14941         private to the basesrc implementation.
14942
14943         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
14944         behalf of event function if necessary. It should no longer be
14945         necessary to take the stream lock in pad's event functions. Fixes
14946         #320299.
14947
14948 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
14949         * docs/gst/gstreamer-sections.txt:
14950         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
14951         (gst_structure_fixate_field_nearest_double),
14952         (gst_structure_fixate_field_boolean):
14953         * gst/gststructure.h:
14954         * win32/common/libgstreamer.def:
14955         * win32/gstreamer.def:
14956
14957         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
14958         (#322027)
14959
14960 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
14961
14962         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
14963         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
14964         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
14965         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
14966         (gst_fdsrc_uri_handler_init):
14967         * gst/elements/gstfdsrc.h:
14968           Port fd:// URI handler from 0.8 to fdsrc
14969
14970 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14971
14972         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
14973         (gst_value_serialize_fourcc):
14974         * gst/gstvalue.h:
14975           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
14976           consistent with our other format defines (#320324).
14977
14978 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14979
14980         * gst/gstvalue.c: (gst_value_is_fixed):
14981           Revert previous commit. Value lists are by definition
14982           not fixed, as they are a list of possible values.
14983
14984 2005-11-21  Andy Wingo  <wingo@pobox.com>
14985
14986         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
14987         during the stable series if we need it. Fixes #319178.
14988
14989         * gst/gstevent.c (gst_event_new_filler): Removed.
14990
14991         * check/gst/gstevent.c: Update comment about filler events.
14992
14993 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14994
14995         * gst/gstvalue.c: (gst_value_is_fixed):
14996           Should handle both value arrays and value lists.
14997
14998 2005-11-21  Andy Wingo  <wingo@pobox.com>
14999
15000         patch by: Alessandro Dessina <alessandro nnva org>
15001
15002         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
15003         functions to access arrays. Fixes #321962.
15004
15005 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15006
15007         * docs/gst/gstreamer.types:
15008           gst_collectpads_get_type => gst_collect_pads_get_type.
15009           
15010         * gst/base/gstbasetransform.c:
15011           Remove unused SIGNAL_HANDOFF enum.
15012
15013 2005-11-21  Andy Wingo  <wingo@pobox.com>
15014
15015         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
15016         the event type (upstream, downstream, serialized). Renamed
15017         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
15018         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
15019         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
15020
15021         * gst/gstevent.c: Update for new CUSTOM event names.
15022
15023         * check/gst/gstevent.c: Update check for new CUSTOM event names.
15024
15025         * gst/gstevent.h:
15026         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
15027         bug #319392.
15028
15029 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15030
15031         * docs/gst/gstreamer-sections.txt:
15032         * win32/common/libgstbase.def:
15033         * win32/libgstbase.def:
15034         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15035         (gst_collect_pads_class_init), (gst_collect_pads_init),
15036         (gst_collect_pads_finalize), (gst_collect_pads_new),
15037         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
15038         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
15039         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
15040         (gst_collect_pads_start), (gst_collect_pads_stop),
15041         (gst_collect_pads_peek), (gst_collect_pads_pop),
15042         (gst_collect_pads_available), (gst_collect_pads_read),
15043         (gst_collect_pads_flush), (gst_collect_pads_event),
15044         (gst_collect_pads_chain):
15045         * gst/base/gstcollectpads.h:
15046           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
15047           unimplemented functions as unimplemented. Add padding to
15048           GstCollectData. (#320766, #320423)
15049
15050 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15051
15052         * gst/gstmessage.c:
15053           Improve docs for DURATION message (usage of duration parameter)
15054           (#320113)
15055
15056 2005-11-20  Wim Taymans  <wim@fluendo.com>
15057
15058         * check/Makefile.am:
15059         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
15060         (main):
15061         * gst/Makefile.am:
15062         * gst/gst.h:
15063         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15064         (gst_segment_set_seek), (gst_segment_set_newsegment),
15065         (gst_segment_to_stream_time), (gst_segment_to_running_time),
15066         (gst_segment_clip):
15067         * gst/gstsegment.h:
15068         Added segment helper structure and methods. Not fully implemented
15069         yet.
15070         Added segment check.
15071
15072 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
15073
15074         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15075           Add a deserialisation test for fractions
15076         * examples/metadata/read-metadata.c: (message_loop),
15077         (make_pipeline), (main):
15078           Fix up metadata reading sample.
15079         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15080           Debug format fix
15081         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15082           Don't try and fixate empty caps
15083         * gst/gst_private.h:
15084           Wrap in G_BEGIN_DECLS/G_END_DECLS
15085         * gst/gstvalue.c: (gst_value_collect_fraction),
15086         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
15087         (gst_value_transform_string_fraction),
15088         (gst_value_compare_fraction):
15089           Add some extra guards to ensure that we don't end up 
15090           with an invalid denominator of 0 in a gstfraction and
15091           that fractions always get reduced.
15092
15093 2005-11-20  Wim Taymans  <wim@fluendo.com>
15094
15095         * docs/gst/gstreamer-sections.txt:
15096         * gst/gstbuffer.h:
15097         * gst/gstelement.c:
15098         * gst/gstformat.c:
15099         * gst/gstformat.h:
15100         * gst/gstindex.h:
15101         * gst/gstquery.c:
15102         * gst/gstquery.h:
15103         * gst/gstvalue.c:
15104         Doc fixes.
15105
15106 2005-11-20  Wim Taymans  <wim@fluendo.com>
15107
15108         * docs/design/part-TODO.txt:
15109         * gst/gstcaps.h:
15110         Make a proper enum of the flag.
15111
15112 2005-11-19  Wim Taymans  <wim@fluendo.com>
15113
15114         * docs/design/part-TODO.txt:
15115         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
15116         (gst_format_to_quark), (gst_format_register):
15117         * gst/gstformat.h:
15118         * gst/gstquery.c: (_gst_query_initialize),
15119         (gst_query_type_get_name), (gst_query_type_to_quark),
15120         (gst_query_type_register):
15121         * gst/gstquery.h:
15122         Add type to quark and type to string conversions.
15123
15124 2005-11-19  Andy Wingo  <wingo@pobox.com>
15125
15126         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
15127         #320097.
15128
15129 2005-11-19  Wim Taymans  <wim@fluendo.com>
15130
15131         * docs/design/part-TODO.txt:
15132         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15133         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
15134         (gst_bin_handle_message_func):
15135         * gst/gstbin.h:
15136         Make message handling overridable.
15137
15138 2005-11-19  Andy Wingo  <wingo@pobox.com>
15139
15140         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
15141
15142         * gst/gstclock.h:
15143         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
15144         be a GstClockTime.
15145         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
15146         is a GstClockTime. Fixes #321710.
15147
15148         * gst/gstclock.h (GstClock): Remove offset property. Add
15149         internal_calibration and external_calibration. Fix padding. Pad
15150         also by GstClockTime so we don't run into problems.
15151
15152         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
15153         (gst_clock_get_rate_offset): Remove.
15154         (gst_clock_set_time_adjust): Remove. Fixes #321712.
15155
15156         * gst/gstutils.h:
15157         * gst/gstutils.c (g_static_rec_cond_wait)
15158         (g_static_rec_cond_timed_wait): Removed, no longer needed.
15159
15160         * gst/gstbin.c: Remove terrible continue_state prototype.
15161
15162         * gst/gstelement.h (gst_element_continue_state): Make public.
15163
15164         * gst/gstelement.h:
15165         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
15166         by continue_state. Fixes #319389.
15167
15168         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
15169         Really fixes #168438. However I don't see anywhere where the
15170         filter function is called... stupid GStreamer...
15171         
15172         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
15173         don't have a dispose function, so it won't get called when the
15174         object is unreffed, but oh well!
15175
15176         * gst/gstindex.c (gst_index_set_filter_full): New API function,
15177         allows a destroy function to be set so user_data can be freed.
15178         Fixes #168438.
15179         (gst_index_set_filter): Call gst_index_set_filter_full.
15180
15181         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
15182
15183         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
15184         string should produce an error, given the lack of a way to
15185         represent NULL strings. Fixes #165650.
15186         
15187         * gst/gstvalue.h: 
15188         * gst/gstvalue.c (gst_value_array_append_value) 
15189         (gst_value_array_prepend_value, gst_value_array_get_size) 
15190         (gst_value_array_get_value): New API, copied from
15191         gst_value_list_*, only operates on arrays.
15192         (gst_value_list_append_value, gst_value_list_prepend_value) 
15193         (gst_value_list_concat, gst_value_list_get_size) 
15194         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
15195
15196         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
15197         init_list, because it works on both.
15198         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
15199         (gst_value_copy_list_or_array): Renamed from copy_list.
15200         (gst_value_free_list_or_array): Renamed from free_list.
15201         (gst_value_collect_list_or_array): Renamed from collect_list.
15202         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
15203         (gst_value_list_or_array_peek_pointer): Renamed from
15204         list_peek_pointer.
15205         (_gst_value_array_value_table, _gst_value_list_value_table):
15206         Update value table functions.
15207         (gst_value_compare_list_or_array): Renamed from compare_list.
15208
15209         * gsttaglist.h: Whoops, foreach function returns void. Also fix
15210         some constness.
15211
15212         * gst/gsttaglist.c:
15213         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
15214         GstTagList*. Fixes #143472.
15215
15216         * gst/gststructure.h: Clarify what the foreach/map functions can
15217         or can't do to their arguments.
15218
15219 2005-11-18  Wim Taymans  <wim@fluendo.com>
15220
15221         * gst/gstclock.c: (gst_clock_set_calibration),
15222         (gst_clock_get_calibration):
15223         Doc and API fixes.
15224         Calibration can be set with internal time equal to current
15225         internal time too.
15226
15227 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15228
15229         * gst/gsterror.c:
15230         * gst/gsterror.h:
15231           document
15232
15233 2005-11-18  Andy Wingo  <wingo@pobox.com>
15234
15235         * configure.ac: 
15236         * pkgconfig/gstreamer-net.pc.in:
15237         * pkgconfig/gstreamer-net-uninstalled.pc.in:
15238         * pkgconfig/Makefile.am: Add net pkgconfig files.
15239
15240 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
15241
15242         * gst/gstcaps.c:
15243         * gst/gstghostpad.c:
15244         * gst/gsttrace.c:
15245         * gst/gstvalue.c:
15246         * gst/gstvalue.h:
15247           docs fixes
15248
15249 2005-11-18  Andy Wingo  <wingo@pobox.com>
15250
15251         * gst/net/gstnetclientclock.c: Turn off debugging.
15252
15253         * check/net/gstnetclientclock.c (test_functioning): Assert that the
15254         times connverge somewhat. Can't make a real test.
15255
15256         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
15257         integer arithmetic. Return the minimum of the domain, which can be
15258         set as "internal" for gst_clock_set_calibration.
15259         (gst_net_client_clock_observe_times): Call _set_calibration.
15260         (gst_net_client_clock_new): Call _set_calibration instead of
15261         rate_offset.
15262
15263         * check/net/gstnetclientclock.c (test_functioning): Use the right
15264         adjustment api.
15265
15266         * gst/gstclock.h:
15267         * gst/gstclock.c (gst_clock_get_calibration) 
15268         (gst_clock_set_calibration): New functions, obsolete the ones I
15269         added yesterday. Doh. Precision issues mean we have to extrapolate
15270         from a point in the more recent past than 1970.
15271         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
15272         obsolete.
15273         (gst_clock_adjust_unlocked): Use the right calibration data.
15274
15275 2005-11-18  Edward Hervey  <edward@fluendo.com>
15276
15277         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
15278         Also reset the ->current_* values in READY->PAUSED
15279
15280 2005-11-18  Andy Wingo  <wingo@pobox.com>
15281
15282         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
15283         Whoops, check the right fd. Also add some debugging.
15284         (gst_net_client_clock_observe_times): Adjust for int64 offset.
15285         (do_linear_regression): Add a crapload of debugging. Subtract off
15286         the minimum values from the input series to discard unneeded bits.
15287         Use only int arithmetic. There is still double arithmetic when
15288         calculating the intercept that needs fixing. Return boolean to
15289         indicate success; FALSE would mean the domain or range is too
15290         great. Still needs fixes.
15291
15292 2005-11-18  Wim Taymans  <wim@fluendo.com>
15293
15294         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15295         For the current position in stream time, we need to subtract
15296         accumulated time.
15297         
15298         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15299         Release lock before calling the callback function of async
15300         entries.
15301
15302 2005-11-18  Andy Wingo  <wingo@pobox.com>
15303
15304         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
15305         Port goes all the way to MAXUINT16.
15306
15307         * gst/net/gstnettimeprovider.c: Make the port range the same as
15308         for the kernel: 0 assigns, otherwise ports are less than
15309         MAXUINT16.
15310
15311         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
15312         port change.
15313
15314         * check/net/gstnetclientclock.c (test_functioning): Add the start
15315         of another test. 
15316
15317 2005-11-18  Wim Taymans  <wim@fluendo.com>
15318
15319         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15320         (gst_bin_remove_func), (bin_bus_handler):
15321         * gst/gstbin.h:
15322         Removing a clock provider from a bin, triggers a clock lost message
15323         so that a new clock will be selected.
15324         Adding a clock to a bin triggers a clock provider message.
15325         Make sure we reselect a clock when we received a clock lost message.
15326         Keep a reference to the element that provided the clock.
15327
15328 2005-11-18  Andy Wingo  <wingo@pobox.com>
15329
15330         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
15331         the clock initially so it produces values around the base time.
15332         (gst_net_client_clock_class_init): Typo fix.
15333         (gst_net_client_clock_thread): Add note on when the socket gets
15334         closed.
15335
15336 2005-11-17  Wim Taymans  <wim@fluendo.com>
15337
15338         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
15339         Free remote and local time arrays.
15340
15341 2005-11-17  Wim Taymans  <wim@fluendo.com>
15342
15343         * gst/net/gstnetclientclock.c: (do_linear_regression),
15344         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
15345         Fix compilation, uninitialized vars and a forgotten continue.
15346
15347 2005-11-17  Andy Wingo  <wingo@pobox.com>
15348
15349         * check/Makefile.am (check_PROGRAMS): 
15350         * check/net/gstnetclientclock.c: Add a most minimal test for the
15351         net client clock. More to come later.
15352
15353         * gst/net/gstnet.h: 
15354         * gst/net/Makefile.am: Add netclientclock.
15355
15356         * gst/net/gstnetclientclock.h:
15357         * gst/net/gstnetclientclock.c: New files, implement an untested
15358         GstClock that takes its time from a network time provider.
15359         Implements the algorithm in network-clock.scm.
15360
15361         * tests/network-clock.scm (*window-size*): Rename from
15362         *queue-length*.
15363         * tests/network-clock.scm (network-time): 
15364         * tests/network-clock-utils.scm (q-push): Update callers.
15365
15366 2005-11-17  Wim Taymans  <wim@fluendo.com>
15367
15368         * gst/gstbin.c: (gst_bin_provide_clock_func),
15369         (gst_bin_sort_iterator_new):
15370         And unref the child too..
15371
15372 2005-11-17  Wim Taymans  <wim@fluendo.com>
15373
15374         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15375         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
15376         Refactor the sort iterator so it can be used while holding the
15377         LOCK too.
15378         Make clock selection select a clock closest to the source.
15379
15380 2005-11-17  Michael Smith <msmith@fluendo.com>
15381
15382         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
15383         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
15384         * gst/gstclock.h:
15385           Anonymous structs are a gcc (and some other compilers) extension, so
15386           don't use them. Since this is only for ABI-compatibility, and our
15387           API/ABI freeze is over in a few days, this whole thing will only
15388           last a few days, so don't bother trying to think up a meaningful
15389           name for the struct.
15390
15391 2005-11-17  Andy Wingo  <wingo@pobox.com>
15392
15393         * gst/gstclock.h (GstClock): Add rate and offset properties,
15394         preserving ABI stability. Add rate/offset accessors. Will file bug
15395         for the freeze break.
15396
15397         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
15398         and offset, trying to keep precision and avoiding
15399         underflow/overflow.
15400         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
15401         functions. Make gst_clock_set_time_adjust obsolete.
15402         (gst_clock_set_time_adjust): Note that this function is obsolete.
15403         Will file bug soon.
15404
15405         * gst/base/gstbasetransform.h: Make the ABI-stability hack
15406         greppable by using GST_PADDING-1+1.
15407
15408 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
15409
15410         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15411
15412         * gst/gstmessage.c: (gst_message_parse_clock_lost):
15413           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
15414
15415         * gst/gstpadtemplate.h:
15416         * gst/gstpluginfeature.h:
15417           Don't use c++ style comments in headers (#321638).
15418
15419 2005-11-16  Andy Wingo  <wingo@pobox.com>
15420
15421         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
15422         buffer.
15423
15424         * check/net/gstnettimeprovider.c: Check to see that the time
15425         provider actually provides times. Works, yo!
15426
15427 2005-11-16  Wim Taymans  <wim@fluendo.com>
15428
15429         * check/Makefile.am:
15430         Enable more tests.
15431
15432         * check/elements/fakesrc.c: (GST_START_TEST):
15433         Set element to NULL before disposing it.
15434
15435 2005-11-16  Andy Wingo  <wingo@pobox.com>
15436
15437         * gst/net/Makefile.am:
15438         * gst/net/gstnet.h:
15439         * gst/net/gstnettimeprovider.c: 
15440         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
15441         provider, include it from gstnet.h, and add it to the build.
15442
15443         * gst/net/gstnettimepacket.h: 
15444         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
15445         sending and receiving.
15446
15447 2005-11-16  Wim Taymans  <wim@fluendo.com>
15448
15449         * check/Makefile.am:
15450         Enable valgrind check.
15451
15452         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
15453         (gst_fake_src_alloc_buffer):
15454         Fix memleak.
15455
15456 2005-11-16  Wim Taymans  <wim@fluendo.com>
15457
15458         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
15459         Call parent finalize too.
15460
15461 2005-11-16  Wim Taymans  <wim@fluendo.com>
15462
15463         * check/Makefile.am:
15464         Enable valgrind check that should work fine now.
15465
15466         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15467         * gst/gstqueue.c: (gst_queue_init):
15468         Fix memleaks in pad allocation.
15469
15470 2005-11-16  Andy Wingo  <wingo@pobox.com>
15471
15472         * gst/net/Makefile.am:
15473         * gst/net/gstnet.h: New part of core to hold network elements and
15474         objects. Put in core because it exposes API that applications want
15475         to use. The library is named libgstnet-tempname right now because
15476         of the existing libgstnet in gst-plugins-base. Solution is
15477         probably to rename the one in plugins-base; will file a bug for
15478         the freeze break.
15479
15480         * gst/net/gstnettimeprovider.c: 
15481         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
15482         get_time call over the network.
15483
15484         * configure.ac: 
15485         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
15486
15487         * check/Makefile.am:
15488         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
15489         get additions shortly.
15490
15491 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15492
15493         * gst/gstpad.c: (gst_pad_new_from_static_template):
15494         * gst/gstpad.h:
15495           add gst_pad_new_from_static_template functions
15496         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
15497         (gst_check_setup_sink_pad):
15498         * gst/elements/gsttee.c: (gst_tee_init):
15499           and use them
15500
15501 2005-11-16  Wim Taymans  <wim@fluendo.com>
15502
15503         * gst/gstpad.c: (gst_pad_pause_task):
15504         Removed warning, it's not really an error either.
15505
15506 2005-11-16  Wim Taymans  <wim@fluendo.com>
15507
15508         * gst/base/gstbasetransform.c:
15509         (gst_base_transform_prepare_output_buf),
15510         (gst_base_transform_event):
15511         Check if the caps are NULL, this can happen if the element
15512         is shutting down and the pad caps are set to NULL.
15513
15514 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15515
15516         * gst/elements/gsttee.c: (gst_tee_init):
15517           fix pad template leak in tee
15518
15519 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15520
15521         * gst/glib-compat.c: (g_value_dup_gst_object):
15522         * gst/glib-compat.h:
15523         * gst/gstpad.c: (gst_pad_set_property):
15524           use gst_object_ref when setting the pad template; this will
15525           trigger the pad template leaks on GLib 2.6 and the slaves
15526
15527 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15528
15529         * gst/glib-compat.c: (gst_flags_get_first_value):
15530         * gst/glib-compat.h:
15531         * gst/gstregistryxml.c:
15532           remove functions copied from GLib 2.6
15533
15534 2005-11-16  Michael Smith <msmith@fluendo.com>
15535
15536         * gst/Makefile.am:
15537           Don't link against VALGRIND_LIBS. That was always the wrong thing to
15538           do, but only breaks with newer valgrind versions. We're not a
15539           valgrind tool, we have no link-time dependencies on libcoregrind.
15540
15541 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15542
15543         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15544           some debug changes
15545         * gst/gstmessage.h:
15546           typo fixes
15547
15548 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15549
15550         * gst/base/gstbasesrc.c: (gst_base_src_init):
15551         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15552         * gst/gstqueue.c: (gst_queue_init):
15553         * gst/gstregistryxml.c: (load_feature):
15554           Revert all these unrefs, they don't even pass make check !
15555
15556 2005-11-15  Johan Dahlin  <johan@gnome.org>
15557
15558         * gst/base/gstbasesrc.c: (gst_base_src_init):
15559         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15560         * gst/gstqueue.c: (gst_queue_init): 
15561         Free pad templates, fixes a couple of leaks.
15562
15563 2005-11-15  Daniel Fischer  <dan at f3c dot com>
15564
15565         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15566
15567         * gst/gstpad.c: (gst_pad_get_property):
15568           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
15569           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
15570           (#321452)
15571
15572 2005-11-15  Wim Taymans  <wim@fluendo.com>
15573
15574         * gst/gstevent.c:
15575         Small doc update.
15576
15577 2005-11-15  Andy Wingo  <wingo@pobox.com>
15578
15579         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
15580
15581         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
15582         using GST_CLOCK_TIME_NONE to disable base time management.
15583         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
15584         time if it was NONE before.
15585         (gst_pipeline_change_state): Only munge the base time if
15586         stream_time != GST_CLOCK_TIME_NONE.
15587
15588         * check/gst/gstpipeline.c (test_base_time): Punt around the
15589         problem of the probe not being called, because that's not the
15590         issue I'm looking at. Add a check that setting stream_time to NONE
15591         disables base time management.
15592         
15593 2005-11-15  Wim Taymans  <wim@fluendo.com>
15594
15595         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15596         segment_stop == -1 at startup.
15597
15598         * gst/base/gstbasetransform.c: (gst_base_transform_event),
15599         (gst_base_transform_change_state):
15600         Init segment values at start.
15601
15602 2005-11-15  Wim Taymans  <wim@fluendo.com>
15603
15604         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15605         0 segment values are 0 in any format.
15606
15607         * gst/base/gstbasetransform.c: (gst_base_transform_event):
15608         * gst/base/gstbasetransform.h:
15609         Parse newsegment correctly in basetransform
15610
15611         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15612         Sync to clock using updated segment values.
15613
15614 2005-11-15  Andy Wingo  <wingo@pobox.com>
15615
15616         * check/gst/gstpipeline.c (test_base_time): Add check that the
15617         base time and stream time are reset correctly.
15618
15619 2005-11-15  Wim Taymans  <wim@fluendo.com>
15620
15621         * docs/design/part-TODO.txt:
15622         Some more TODO items.
15623
15624 2005-11-15  Andy Wingo  <wingo@pobox.com>
15625
15626         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
15627         error if the user selected "no clock" as the clocking method.
15628
15629         * check/gst/gstpipeline.c (test_base_time): New test for buffer
15630         timestamps with live capture.
15631
15632         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
15633         is 0 but we are a live source, timestamp the buffers using the
15634         element's clock.
15635
15636 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
15637
15638         * docs/gst/gstreamer-sections.txt:
15639         * gst/gsterror.c:
15640         * gst/gstghostpad.c:
15641         * gst/gstobject.h:
15642         * gst/gstxml.c:
15643           more section docs
15644
15645 2005-11-14  Wim Taymans  <wim@fluendo.com>
15646
15647         * common/gst.supp:
15648           add suppressions from Wim's Debian machine
15649
15650 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
15651
15652         * common/gst.supp:
15653           add suppressions from Andy's AMD64 Ubuntu machine
15654
15655 2005-11-14  Andy Wingo  <wingo@pobox.com>
15656
15657         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
15658         STATE_LOCK not necessary. Fixes #311489.
15659
15660         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
15661         #305291.
15662
15663         * gst/gstindex.c (gst_index_add_object): Note in the docs that
15664         this function is not implemented.
15665
15666 2005-11-14  Julien MOUTTE  <julien@moutte.net>
15667
15668         * gst/base/gstbasetransform.c:
15669         (gst_base_transform_prepare_output_buf):
15670         Ref the source pad caps while we need them.
15671         Fixes (#321386)
15672
15673 2005-11-11  Wim Taymans  <wim@fluendo.com>
15674
15675         * docs/gst/gstreamer-sections.txt:
15676         Added some docs for GstCollectData.
15677
15678         * gst/base/gstadapter.c:
15679         Some small code example fix.
15680
15681         * gst/base/gstcollectpads.c:
15682         * gst/base/gstcollectpads.h:
15683         Document some more.
15684
15685 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15686
15687         * configure.ac: back to HEAD
15688
15689 === release 0.9.5 ===
15690
15691 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
15692
15693         * configure.ac:
15694           releasing 0.9.5, "Bike Lunch Day"
15695
15696 2005-11-11  Wim Taymans  <wim@fluendo.com>
15697
15698         * gst/gstbuffer.c: (_gst_buffer_copy):
15699         Copy more flags.
15700
15701         * gst/gstcaps.c: (gst_caps_is_equal):
15702         Fix some docs.
15703         Make _is_equal fast in the trivial cases.
15704
15705         * gst/gstminiobject.c:
15706         * gst/gstminiobject.h:
15707         More docs. Spifify .h file.
15708
15709         * gst/gstutils.c:
15710         Small doc update.
15711
15712 2005-11-11  Wim Taymans  <wim@fluendo.com>
15713
15714         * gst/base/gstbasetransform.c:
15715         (gst_base_transform_prepare_output_buf),
15716         (gst_base_transform_handle_buffer):
15717         Small cleanups.
15718         If we're processing a buffer and need to allocate an output
15719         buffer, we cannot accept a format change. If we did get a 
15720         format change, we have to alloc a buffer ourselves of the 
15721         right size.
15722
15723 2005-11-11  Wim Taymans  <wim@fluendo.com>
15724
15725         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
15726         While checking the flag for reentrancy in the gstcaps function
15727         is nice to detect recursive invocations, it also makes it 
15728         impossible to call getcaps from multiple threads, which must be
15729         possible. So, checking for recursive calls has to go.
15730
15731 2005-11-11  Michael Smith <msmith@fluendo.com>
15732
15733         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15734           Don't sync on buffers that fall partially outside our current
15735           segment. Prevents an assertion failure/abort playing some files.
15736
15737 2005-11-10  Andy Wingo  <wingo@pobox.com>
15738
15739         * check/gst/gstbin.c (test_message_state_changed_children): Style
15740         fix..
15741
15742         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
15743         gst_bus_poll with the signal watch. Ensures that poll and a signal
15744         watch see the same messages.
15745
15746         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
15747         a poll and a watch at the same time get the same messages.
15748
15749 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15750
15751         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
15752         * gst/gstcaps.c: (gst_caps_intersect):
15753           Don't call gst_caps_do_simplify - it doesn't respect order of caps
15754           and it's not needed.
15755
15756 2005-11-10  Wim Taymans  <wim@fluendo.com>
15757
15758         * docs/design/part-TODO.txt:
15759         Updated todo.
15760
15761 2005-11-10  Wim Taymans  <wim@fluendo.com>
15762
15763         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15764         * gst/base/gstbasesrc.c: (gst_base_src_wait),
15765         (gst_base_src_do_sync), (gst_base_src_get_range):
15766         Implement clock sync in base class.
15767
15768 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15769
15770         patch by: Tim-Philipp Müller <tim at centricular dot net>
15771
15772         * gst/gststructure.c: (gst_structure_parse_field),
15773         (gst_structure_from_string):
15774           Forward-port a 0.8 patch to handle escaped spaces in structure string,
15775           so that gst_parse_launch() can deal with spaces in filtered link
15776           caps (fixes #164479)
15777         * check/gst/capslist.h:
15778         * check/gst/gststructure.c: (GST_START_TEST):
15779           add unit tests for this change
15780
15781 2005-11-10  Wim Taymans  <wim@fluendo.com>
15782
15783         * docs/gst/gstreamer-sections.txt:
15784         * gst/gstelement.c:
15785         * gst/gstelement.h:
15786         Fix docs, move some STATE macros to private.
15787
15788 2005-11-10  Wim Taymans  <wim@fluendo.com>
15789
15790         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15791         Added check for bug #317341
15792
15793         * gst/gstbuffer.c:
15794         * gst/gstbuffer.h:
15795         Some more spiffifying.
15796
15797         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
15798         Call peer linkfunction if we are a source pad. Totally fixes
15799         #317341
15800
15801         * gst/gstpad.c:
15802         Update docs, source pads should call the peer linkfunction
15803         so they can atomically perform the pad link.
15804
15805 2005-11-09  Wim Taymans  <wim@fluendo.com>
15806
15807         * gst/gstbuffer.c:
15808         * gst/gstbuffer.h:
15809         Uber-spiffy-spiffify some more.
15810
15811 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
15812
15813         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
15814         * gst/elements/gstfilesink.c: (gst_file_sink_init):
15815         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15816         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
15817         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
15818         * gst/gstpad.c: (gst_pad_init):
15819           Use GST_DEBUG_FUNCPTR() more extensively.
15820
15821 2005-11-09  Wim Taymans  <wim@fluendo.com>
15822
15823         * gst/gstobject.c: (gst_object_class_init):
15824         * gst/gstobject.h:
15825         Documentation fixes.
15826
15827 2005-11-09  Edward Hervey  <edward@fluendo.com>
15828
15829         * gst/gsttypefindfactory.c:
15830         Fix docs.
15831         
15832 2005-11-09  Edward Hervey  <edward@fluendo.com>
15833
15834         * gst/base/gsttypefindhelper.c:
15835         * gst/gsttypefind.c:
15836         * gst/gsttypefind.h:
15837         Fix docs.
15838
15839 2005-11-09  Wim Taymans  <wim@fluendo.com>
15840
15841         * gst/gstiterator.c:
15842         Fix revision data.
15843
15844         * gst/gsttask.c:
15845         * gst/gsttask.h:
15846         Fix docs.
15847
15848 2005-11-09  Wim Taymans  <wim@fluendo.com>
15849
15850         * gst/gstevent.h:
15851         * gst/gsturi.h:
15852         Fix docs.
15853
15854 2005-11-09  Wim Taymans  <wim@fluendo.com>
15855
15856         * docs/gst/gstreamer-sections.txt:
15857         Moved the message async delivery private lock and cond
15858         to the private section.
15859
15860         * gst/gstmessage.c:
15861         * gst/gstmessage.h:
15862         Fixed docs.
15863
15864 2005-11-09  Edward Hervey  <edward@fluendo.com>
15865
15866         * docs/gst/gstreamer-sections.txt:
15867         * gst/gsturi.c:
15868         * gst/gsturi.h:
15869         Document GstURIHandler
15870
15871 2005-11-09  Wim Taymans  <wim@fluendo.com>
15872
15873         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
15874         (gst_iterator_find_custom):
15875         * gst/gstiterator.h:
15876         Fix iterator docs.
15877
15878 2005-11-09  Wim Taymans  <wim@fluendo.com>
15879
15880         * gst/gstbin.h:
15881         Document another field.
15882
15883         * gst/gststructure.c:
15884         * gst/gststructure.h:
15885         Document.
15886
15887 2005-11-09  Wim Taymans  <wim@fluendo.com>
15888
15889         * gst/gstbin.h:
15890         Documented structs.
15891
15892 2005-11-09  Wim Taymans  <wim@fluendo.com>
15893
15894         * docs/gst/gstreamer-sections.txt:
15895         Added some new macros.
15896
15897         * gst/gstclock.c:
15898         * gst/gstclock.h:
15899         * gst/gstobject.h:
15900         Docs updates.
15901
15902 2005-11-09  Wim Taymans  <wim@fluendo.com>
15903
15904         * docs/design/part-TODO.txt:
15905         Some more items for the TODO
15906
15907         * gst/gstcaps.c:
15908         * gst/gstcaps.h:
15909         Document GstCaps.
15910
15911 2005-11-09  Andy Wingo  <wingo@pobox.com>
15912
15913         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
15914         to work on something else now tho...
15915
15916         * gst/base/gstadapter.c: More adapter docs.
15917
15918         * gst/elements/gstfilesink.c (gst_file_sink_start) 
15919         (gst_file_sink_stop): New functions, replace the state change
15920         handler.
15921         (gst_file_sink_class_init): Hook up the start and stop functions.
15922         (gst_file_sink_base_init): Don't set the state change handler any
15923         more. It was a bit ugly too, being set from here...
15924         (gst_file_sink_get_property, gst_file_sink_set_property):
15925         Cleanups...
15926         (gst_file_sink_set_location): More robust check that doesn't call
15927         GST_STATE. Ugggggg.
15928
15929 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
15930
15931         * gst/base/gstbasetransform.c: (gst_base_transform_event):
15932           Hold STREAM_LOCK while pushing newsegment or tag events as well.
15933
15934 2005-11-08  Wim Taymans  <wim@fluendo.com>
15935
15936         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15937         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15938         (gst_base_sink_chain), (gst_base_sink_change_state):
15939         * gst/base/gstbasesink.h:
15940         * gst/base/gstbasesrc.h:
15941         * gst/gstelement.h:
15942         * gst/gstevent.h:
15943         Avoid excessive typechecking in macros.
15944
15945         * gst/gstminiobject.c: (gst_mini_object_get_type),
15946         (gst_mini_object_init), (gst_mini_object_new),
15947         (gst_mini_object_free):
15948         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
15949         (gst_object_finalize):
15950         Remove cruft code, optimize alloc_trace.
15951
15952 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
15953
15954         * docs/faq/gst-uninstalled:
15955           fix up PS1 for systems that try to reset it
15956
15957 2005-11-07  Wim Taymans  <wim@fluendo.com>
15958
15959         * gst/base/gstbasesrc.c: (gst_base_src_init),
15960         (gst_base_src_get_range):
15961         Set the segment_end to -1 initially. Fixed typefind.
15962
15963 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
15964
15965         * gst/base/gstadapter.c:
15966           Debug category should be 'adapter', not 'GstAdapter'.
15967           
15968         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
15969         (gst_collectpads_class_init), (gst_collectpads_init),
15970         (gst_collectpads_peek), (gst_collectpads_pop),
15971         (gst_collectpads_event), (gst_collectpads_chain):
15972           Add debug category and some debugging output. Use boilerplate
15973           macros. Remove some extraneous words from docs.
15974
15975 2005-11-05  Andy Wingo  <wingo@pobox.com>
15976
15977         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
15978         macro.
15979
15980 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
15981
15982         * docs/gst/gstreamer-sections.txt:
15983         * gst/gstcaps.h:
15984         * gst/gstinfo.c:
15985         * gst/gstminiobject.h:
15986         * gst/gstobject.h:
15987         * gst/gstutils.h:
15988           more docs added
15989
15990 2005-11-04  Wim Taymans  <wim@fluendo.com>
15991
15992         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15993         Small update to stop at the configured segment_end
15994         position.
15995
15996 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
15997
15998         * gst/gstregistry.c:
15999         * gst/gstregistry.h:
16000           added missing docs
16001
16002 2005-11-04  Edward Hervey  <edward@fluendo.com>
16003
16004         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16005         Check if we are doing a segment seek and have arrived at the
16006         end of that segment.
16007
16008 2005-11-04  Wim Taymans  <wim@fluendo.com>
16009
16010         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
16011         Don't leak a mutex unlock in case of an error.
16012
16013         * gst/gstbus.h:
16014         Doc fixes.
16015
16016 2005-11-04  Wim Taymans  <wim@fluendo.com>
16017
16018         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
16019         (gst_bus_post):
16020         Get the context to wake up only once.
16021
16022 2005-11-03  Wim Taymans  <wim@fluendo.com>
16023
16024         * check/states/sinks.c: (GST_START_TEST):
16025         Uncomment fixed check.
16026
16027         * docs/design/part-TODO.txt:
16028         Updated TODO.
16029
16030         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16031         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16032         (gst_base_sink_get_position):
16033         If we are going to PLAYING, post the right pending state
16034         when we post the intermediate paused message.
16035
16036         * gst/gstelement.c: (gst_element_continue_state),
16037         (gst_element_set_state_func), (gst_element_change_state):
16038         Don't post state changes that were between the same state
16039         and were not ASYNC.
16040
16041 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16042
16043         * docs/gst/gstreamer-sections.txt:
16044         * gst/gstcaps.h:
16045         * gst/gstinfo.c:
16046         * gst/gstminiobject.h:
16047         * gst/gstobject.h:
16048         * gst/gstutils.h:
16049           more docs and doc style fixes
16050
16051 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16052
16053         * docs/gst/gstreamer-sections.txt:
16054         * gst/gstelement.c:
16055         * gst/gstminiobject.c:
16056         doc fixes
16057
16058 2005-11-03  Andy Wingo  <wingo@pobox.com>
16059
16060         * check/states/sinks.c (test_livesrc_sink): Add checks that the
16061         state-changed messages actually have the right order and the right
16062         values.
16063
16064 2005-11-03  Wim Taymans  <wim@fluendo.com>
16065
16066         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16067         Added some more checks. Specifically the case where NO_PREROLL
16068         elements are in the pipeline.
16069
16070         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16071         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16072         (gst_base_sink_get_position):
16073         Post READY->PAUSED state change messages too.
16074         Fix bug where VOID was posted as pending state...
16075
16076         * gst/gstbin.c: (gst_bin_recalc_state):
16077         use _element_continue_state() to continue the state change.
16078
16079         * gst/gstelement.c: (gst_element_continue_state),
16080         (gst_element_commit_state), (gst_element_set_state_func),
16081         (gst_element_change_state), (gst_element_change_state_func):
16082         Lots of state change cleanups, assign the STATE_RETURN in
16083         a new continue_state() function that also propagates the
16084         last return value from a state change to the app.
16085         Update some debug statements with proper category.
16086
16087 2005-11-03  Wim Taymans  <wim@fluendo.com>
16088
16089         * docs/design/part-events.txt:
16090         * docs/design/part-gstpipeline.txt:
16091         * docs/design/part-messages.txt:
16092         * docs/design/part-overview.txt:
16093         * docs/design/part-seeking.txt:
16094         * docs/design/part-states.txt:
16095         * docs/design/part-trickmodes.txt:
16096         * docs/manual/advanced-position.xml:
16097         Small docs updates.
16098
16099         * gst/gstobject.h:
16100         People think !! is ugly, this looks better.
16101
16102         * gst/gstpad.c: (gst_pad_set_blocked_async):
16103         Remove !! since it's fixed elsewhere now.
16104
16105 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16106
16107         * gst/gstminiobject.h:
16108         * gst/gstobject.h:
16109           Add !! to _FLAG_IS_SET macros to make the result boolean.
16110
16111 2005-11-03  Edward Hervey  <edward@fluendo.com>
16112
16113         * gst/gstpad.c: (gst_pad_set_blocked_async):
16114         comparing a flag and a gboolean rarely returns coherent results...
16115         Added two characters (!!) to make that work correctly.
16116         
16117 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16118
16119         * gst/gstbus.c: (gst_bus_class_init):
16120           Fix some typos.
16121           
16122         * gst/gstqueue.c: (gst_queue_loop):
16123           Don't assume a miniobject that isn't a buffer is an
16124           event (it could be that there is a refcounting
16125           problem somewhere and the pointer is stale and
16126           refers to an already destroyed miniobject).
16127
16128 2005-11-03  Julien MOUTTE  <julien@moutte.net>
16129
16130         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
16131
16132 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16133
16134         * docs/manual/advanced-position.xml:
16135           Update seek example and explanations to current 0.9 API.
16136
16137         * gst/elements/gsttypefindelement.c:
16138         (gst_type_find_element_activate):
16139           Remove FIXME comment now that the found caps
16140           are unreffed.
16141
16142 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16143
16144         * gst/gstregistryxml.c: (load_feature):
16145           Add another GST_STR_NULL instance
16146
16147 2005-11-02  Edward Hervey  <edward@fluendo.com>
16148
16149         * gst/gstpad.c: (handle_pad_block):
16150         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
16151         
16152 2005-11-02  Wim Taymans  <wim@fluendo.com>
16153
16154         * gst/gstbin.c:
16155         Fix typo in docs.
16156
16157         * gst/gstelement.c: (gst_element_commit_state):
16158         Remove unused value.
16159
16160         * gst/gstiterator.c:
16161         Mention that the returned element is reffed in the docs.
16162
16163 2005-11-02  Wim Taymans  <wim@fluendo.com>
16164
16165         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
16166         (gst_pad_push), (gst_pad_push_event):
16167         Unlock blocked pads when they are flushed.
16168
16169 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16170
16171         * docs/README:
16172         * docs/gst/gstreamer-sections.txt:
16173         * gst/gstbin.c:
16174           doc updates
16175         * gst/gstregistry.c: (gst_registry_scan_path_level):
16176           fix for a nasty little missed situation where an installed plug-in
16177           which was in the cache did not get overridden by an uninstalled one
16178           which was earlier in the plugin path because the newly created plugin
16179           for the uninstalled one (not in the registry) didn't get its
16180           ->registered set to TRUE
16181
16182 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16183
16184         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
16185         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
16186         (gst_collectpads_is_active), (gst_collectpads_collect),
16187         (gst_collectpads_collect_range), (gst_collectpads_start),
16188         (gst_collectpads_stop), (gst_collectpads_peek),
16189         (gst_collectpads_pop), (gst_collectpads_available),
16190         (gst_collectpads_read), (gst_collectpads_flush):
16191           Guard public API with assertions.
16192         
16193         * gst/gstpad.c:
16194           Fix docs for gst_pad_set_link_function().
16195
16196 2005-11-02  Johan Dahlin  <johan@gnome.org>
16197
16198         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
16199         Unref found_caps after we used it.
16200
16201 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16202
16203         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
16204           Don't try to ref NULL.
16205
16206 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16207
16208         * win32/common/config.h.in:
16209           provide a GST_FUNCTION that just gives a string for now
16210
16211 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16212
16213         * win32/common/gstenumtypes.c: (register_gst_object_flags),
16214         (gst_object_flags_get_type), (register_gst_bin_flags),
16215         (gst_bin_flags_get_type), (register_gst_buffer_flag),
16216         (gst_buffer_flag_get_type), (register_gst_bus_flags),
16217         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16218         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
16219         (gst_clock_return_get_type), (register_gst_clock_entry_type),
16220         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16221         (gst_clock_flags_get_type), (register_gst_state),
16222         (gst_state_get_type), (register_gst_state_change_return),
16223         (gst_state_change_return_get_type), (register_gst_state_change),
16224         (gst_state_change_get_type), (register_gst_element_flags),
16225         (gst_element_flags_get_type), (register_gst_core_error),
16226         (gst_core_error_get_type), (register_gst_library_error),
16227         (gst_library_error_get_type), (register_gst_resource_error),
16228         (gst_resource_error_get_type), (register_gst_stream_error),
16229         (gst_stream_error_get_type), (register_gst_event_type),
16230         (gst_event_type_get_type), (register_gst_seek_type),
16231         (gst_seek_type_get_type), (register_gst_seek_flags),
16232         (gst_seek_flags_get_type), (register_gst_format),
16233         (gst_format_get_type), (register_gst_index_certainty),
16234         (gst_index_certainty_get_type), (register_gst_index_entry_type),
16235         (gst_index_entry_type_get_type),
16236         (register_gst_index_lookup_method),
16237         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16238         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16239         (gst_index_resolver_method_get_type), (register_gst_index_flags),
16240         (gst_index_flags_get_type), (register_gst_debug_level),
16241         (gst_debug_level_get_type), (register_gst_debug_color_flags),
16242         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16243         (gst_iterator_result_get_type), (register_gst_iterator_item),
16244         (gst_iterator_item_get_type), (register_gst_message_type),
16245         (gst_message_type_get_type), (register_gst_mini_object_flags),
16246         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16247         (gst_pad_link_return_get_type), (register_gst_flow_return),
16248         (gst_flow_return_get_type), (register_gst_activate_mode),
16249         (gst_activate_mode_get_type), (register_gst_pad_direction),
16250         (gst_pad_direction_get_type), (register_gst_pad_flags),
16251         (gst_pad_flags_get_type), (register_gst_pad_presence),
16252         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16253         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16254         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16255         (gst_plugin_error_get_type), (register_gst_plugin_flags),
16256         (gst_plugin_flags_get_type), (register_gst_rank),
16257         (gst_rank_get_type), (register_gst_query_type),
16258         (gst_query_type_get_type), (register_gst_tag_merge_mode),
16259         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16260         (gst_tag_flag_get_type), (register_gst_task_state),
16261         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16262         (gst_alloc_trace_flags_get_type),
16263         (register_gst_type_find_probability),
16264         (gst_type_find_probability_get_type), (register_gst_uri_type),
16265         (gst_uri_type_get_type), (register_gst_parse_error),
16266         (gst_parse_error_get_type):
16267         * win32/common/gstversion.h:
16268           update win32 copies
16269
16270 2005-11-01  Luca Ognibene  <luogni@tin.it>
16271
16272         * gst/gst.c:
16273           fix docs. popt is dead, long live GOption.
16274
16275 2005-10-31  Wim Taymans  <wim@fluendo.com>
16276
16277         * gst/gstbuffer.h:
16278         Small doc fix.
16279
16280 2005-10-31  Andy Wingo  <wingo@pobox.com>
16281
16282         * Boo!
16283
16284         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
16285
16286         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
16287         need to serialize property notifications on GLib 2.8. GLib 2.6 has
16288         the possibility of deadlocks here if code calling notify() or
16289         set() has a lock that can be taken in another notify handler (ABBA
16290         with class lock and e.g. python GIL state lock).
16291
16292 2005-10-28  Julien MOUTTE  <julien@moutte.net>
16293
16294         * gst/gstbus.c: Doc updates.
16295
16296 2005-10-28  Wim Taymans  <wim@fluendo.com>
16297
16298         * docs/design/part-TODO.txt:
16299         * gst/gstiterator.c:
16300         * gst/gstsystemclock.c:
16301         * gst/gstsystemclock.h:
16302         Doc updates.
16303
16304 2005-10-28  Edward Hervey  <edward@fluendo.com>
16305
16306         * docs/gst/gstreamer-docs.sgml:
16307         * docs/gst/gstreamer-sections.txt:
16308         the GstURIType documentation page is private, it only defines GstURIType
16309         which should be defined in the GstURIHandler page
16310         
16311 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16312
16313         * gst/gstbin.c: (gst_bin_class_init):
16314         * gst/gstbin.h:
16315         * gst/gstutils.c:
16316         Documentation updates.
16317
16318 2005-10-28  Wim Taymans  <wim@fluendo.com>
16319
16320         * docs/gst/gstreamer-sections.txt:
16321         * gst/gstclock.c:
16322         * gst/gstclock.h:
16323         Documented the clocks.
16324
16325 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
16326
16327         * docs/gst/gstreamer-sections.txt:
16328           move some macros to private sections
16329         * gst/gstminiobject.c:
16330         * gst/gstminiobject.h:
16331           add descriptions provided by ds and some more
16332         * gst/gstpad.h:
16333           mark macro as to be removed
16334
16335 2005-10-28  Wim Taymans  <wim@fluendo.com>
16336
16337         * docs/design/part-TODO.txt:
16338         Add an item to TODO.
16339
16340         * gst/gstiterator.c: (gst_iterator_fold),
16341         (gst_iterator_find_custom):
16342         * gst/gstiterator.h:
16343         Add iterator docs.
16344
16345 2005-10-28  Wim Taymans  <wim@fluendo.com>
16346
16347         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16348         (gst_base_transform_init):
16349         Don't leak class.
16350
16351         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
16352         An EOS event marks the queue as completely filled.
16353
16354 2005-10-27  Wim Taymans  <wim@fluendo.com>
16355
16356         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16357         (gst_base_sink_do_sync), (gst_base_sink_get_position):
16358         Some more debugging.
16359
16360         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
16361         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
16362         (gst_base_transform_event), (gst_base_transform_getrange),
16363         (gst_base_transform_chain):
16364         * gst/base/gstbasetransform.h:
16365         Fix debugging,
16366         Protect transform and concurrent buffer alloc with a new lock.
16367         Try not to break ABI/API.
16368
16369 2005-10-27  Wim Taymans  <wim@fluendo.com>
16370
16371         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16372         (gst_base_src_init), (gst_base_src_query),
16373         (gst_base_src_default_newsegment),
16374         (gst_base_src_configure_segment), (gst_base_src_do_seek),
16375         (gst_base_src_send_event), (gst_base_src_event_handler),
16376         (gst_base_src_pad_get_range), (gst_base_src_loop),
16377         (gst_base_src_unlock), (gst_base_src_default_negotiate),
16378         (gst_base_src_start), (gst_base_src_deactivate),
16379         (gst_base_src_activate_push), (gst_base_src_change_state):
16380         Move some stuff around and cleanup things.
16381
16382 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
16383
16384         * gst/base/gstbasesrc.c: (gst_base_src_query):
16385           Add missing break statements.
16386
16387 2005-10-27  Wim Taymans  <wim@fluendo.com>
16388
16389         * check/gst/gstbin.c: (GST_START_TEST):
16390         An extra refcount is taken in basesrc.
16391
16392         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16393         (gst_base_src_get_range), (gst_base_src_pad_get_range),
16394         (gst_base_src_loop):
16395         Small cleanups, check for flushing after being unlocked from the 
16396         LIVE_LOCK. take refcounts correctly (not yet everywhere).
16397         Don't send out EOS when going to READY.
16398
16399 2005-10-27  Wim Taymans  <wim@fluendo.com>
16400
16401         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16402         (gst_base_sink_get_position):
16403         Some more debug.
16404
16405         * gst/gstbin.c: (message_check), (bin_replace_message),
16406         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16407         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16408         (bin_query_duration_init), (bin_query_duration_fold),
16409         (bin_query_duration_done), (bin_query_generic_fold),
16410         (gst_bin_query):
16411         * tools/gst-launch.c: (main):
16412         Remove old option.
16413
16414 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
16415
16416         * examples/controller/audio-example.c: (main):
16417         * examples/queue/queue.c: (event_loop):
16418         * gst/base/gstbasetransform.h:
16419         * gst/gstelement.c: (gst_element_send_event):
16420         * gst/gstevent.h:
16421         * gst/gstpad.c: (gst_pad_send_event):
16422           fixing examples
16423           fixing docs typos
16424           changing log priority in error situations
16425
16426 2005-10-25  Wim Taymans  <wim@fluendo.com>
16427
16428         * gst/gstbin.c: (message_check), (bin_replace_message),
16429         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16430         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16431         (bin_query_duration_init), (bin_query_duration_fold),
16432         (bin_query_duration_done), (bin_query_generic_fold),
16433         (gst_bin_query):
16434         Some doc and debug updates.
16435         Cache previously requested query DURATION for speed. invalidate
16436         cached duration if element posts a DURATION message.
16437
16438 2005-10-25  Wim Taymans  <wim@fluendo.com>
16439
16440         * docs/design/part-TODO.txt:
16441         Update TODO.
16442
16443         * gst/gstbin.c: (message_check), (bin_replace_message),
16444         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16445         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16446         (bin_query_duration_init), (bin_query_duration_fold),
16447         (bin_query_duration_done), (bin_query_generic_fold),
16448         (gst_bin_query):
16449         Handle SEGMENT_START/DONE messages correctly.
16450         More evolved query algorithm that handles duration queries
16451         correctly.
16452
16453         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
16454         (gst_element_get_state_func), (gst_element_abort_state),
16455         (gst_element_commit_state), (gst_element_lost_state):
16456         Some more debugging.
16457
16458         * gst/gstmessage.h:
16459         Added doc.
16460
16461 2005-10-25  Wim Taymans  <wim@fluendo.com>
16462
16463         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16464         Don't use invalid stream_time.
16465
16466         * gst/gstevent.c: (gst_event_new_newsegment):
16467         stream_time in newsegment cannot be undefined.
16468
16469 2005-10-24  Wim Taymans  <wim@fluendo.com>
16470
16471         * gst/gstbus.c:
16472         Doc fix.
16473
16474         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16475         (gst_queue_loop):
16476         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
16477
16478 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
16479
16480         * docs/libs/tmpl/gstdparam.sgml:
16481         * docs/libs/tmpl/gstdplinint.sgml:
16482         * docs/libs/tmpl/gstdpman.sgml:
16483         * docs/libs/tmpl/gstdpsmooth.sgml:
16484         * docs/libs/tmpl/gstunitconvert.sgml:
16485           these are obsolete
16486
16487 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16488
16489         * configure.ac:
16490           back to HEAD
16491
16492 === release 0.9.4 ===
16493
16494 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16495
16496         * configure.ac:
16497           releasing 0.9.4, "Tyrannosaurus Rex"
16498
16499 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
16500
16501         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16502         (gst_file_sink_get_current_offset):
16503           Use fseeko() and ftello() if available. When falling back on
16504           lseek() to get the current offset, fflush() first to make sure
16505           everything is up-to-date and we get the right offset.
16506
16507 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16508
16509         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16510         * gst/base/gstbasesrc.c: (gst_base_src_loop):
16511         * gst/gsterror.c: (_gst_stream_errors_init):
16512         * gst/gsterror.h:
16513         * gst/gstqueue.c: (gst_queue_loop):
16514         * po/POTFILES.in:
16515           remove prematurely added error category and clean up the instances
16516
16517 2005-10-21  Wim Taymans  <wim@fluendo.com>
16518
16519         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16520         (gst_base_sink_get_position), (gst_base_sink_query),
16521         (gst_base_sink_change_state):
16522         Simply set the right flag when going to playing, that's all
16523         we need to do instead of calling a function inside the object
16524         lock (that could take the lock as well and deadlock)
16525
16526 2005-10-21  Wim Taymans  <wim@fluendo.com>
16527
16528         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
16529         (gst_base_src_loop):
16530         Don't warn, the peer element knows what to do best when
16531         the seek failed, it might try something else.
16532
16533 2005-10-21  Wim Taymans  <wim@fluendo.com>
16534
16535         * gst/base/gstbasesrc.c: (gst_base_src_init),
16536         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16537         Fix seeking.
16538
16539 2005-10-21  Wim Taymans  <wim@fluendo.com>
16540
16541         * docs/design/part-segments.txt:
16542         More docs.
16543
16544         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16545         Correctly set caps, even on the subbufer.
16546
16547 2005-10-21  Wim Taymans  <wim@fluendo.com>
16548
16549         * docs/gst/gstreamer-docs.sgml:
16550         * docs/gst/gstreamer-sections.txt:
16551         * gst/gstelement.h:
16552         * gst/gstevent.c:
16553         * gst/gstevent.h:
16554         * gst/gstmessage.h:
16555         * gst/gstpad.h:
16556         * gst/gstparse.h:
16557         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
16558         * gst/gsttask.h:
16559         * gst/gstutils.c:
16560         * gst/gstutils.h:
16561         And 2% more doc coverage.
16562
16563 2005-10-21  Andy Wingo  <wingo@pobox.com>
16564
16565         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
16566         position reporting.
16567
16568 2005-10-20  Wim Taymans  <wim@fluendo.com>
16569
16570         * gst/gsterror.c: (gst_error_get_message):
16571         * gst/gstparse.h:
16572         * gst/gstquery.h:
16573         * gst/gststructure.c:
16574         * gst/gsttrace.c:
16575         * gst/gstutils.c:
16576         More docs.
16577
16578 2005-10-20  Wim Taymans  <wim@fluendo.com>
16579
16580         * gst/gstbuffer.h:
16581         * gst/gstpad.c:
16582         * gst/gstparse.c:
16583         Another 1% more coverage.
16584
16585 2005-10-20  Wim Taymans  <wim@fluendo.com>
16586
16587         * docs/gst/gstreamer-sections.txt:
16588         * gst/gstelement.c: (gst_element_get_state_func),
16589         (gst_element_abort_state), (gst_element_commit_state),
16590         (gst_element_lost_state):
16591         * gst/gstevent.h:
16592         * gst/gstquery.c: (gst_query_set_position),
16593         (gst_query_parse_position), (gst_query_set_duration),
16594         (gst_query_parse_duration), (gst_query_new_convert):
16595         * gst/gstutils.c:
16596         Yay! 1% more docs coverage.
16597
16598 2005-10-20  Wim Taymans  <wim@fluendo.com>
16599
16600         * gst/gstpad.h:
16601         * gst/gstquery.c: (gst_query_set_position),
16602         (gst_query_parse_position), (gst_query_set_duration),
16603         (gst_query_parse_duration), (gst_query_new_convert):
16604         * gst/gstquery.h:
16605         * gst/gstutils.c: (gst_element_query_convert):
16606         * gst/gstutils.h:
16607         Docs and consistency fixes.
16608
16609 2005-10-20  Wim Taymans  <wim@fluendo.com>
16610
16611         * gst/gsttask.c:
16612         * gst/gsttask.h:
16613         More docs.
16614
16615 2005-10-20  Wim Taymans  <wim@fluendo.com>
16616
16617         * gst/gstbin.c: (message_check), (bin_replace_message),
16618         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16619         (update_degree), (gst_bin_sort_iterator_next),
16620         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
16621         Reworked the message handling a bit, cache the messages instead of
16622         only the senders. alows us to do more in the future.
16623
16624 2005-10-20  Wim Taymans  <wim@fluendo.com>
16625
16626         * docs/design/part-TODO.txt:
16627         Update TODO
16628
16629         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16630         (gst_base_sink_query):
16631         Don't use clock time to report position when in EOS.
16632
16633 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
16634
16635         * tools/gst-inspect.c: (print_interfaces),
16636         (print_element_properties_info), (print_element_info):
16637           Fix interface output with gst-inspect -a; don't print
16638           newlines after double/float properties.
16639
16640 2005-10-20  Wim Taymans  <wim@fluendo.com>
16641
16642         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16643         (gst_base_sink_query):
16644         Speed up current position calculation.
16645
16646         * gst/base/gstbasesrc.c: (gst_base_src_query),
16647         (gst_base_src_default_newsegment):
16648         Correctly set stream position in newsegment.
16649
16650         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
16651         (update_degree), (gst_bin_sort_iterator_next),
16652         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
16653         * gst/gstmessage.c: (gst_message_new_custom):
16654         Clean up debugging info
16655
16656         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16657         (gst_queue_loop), (gst_queue_handle_src_query):
16658         Pause task faster.
16659
16660 2005-10-19  Wim Taymans  <wim@fluendo.com>
16661
16662         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16663         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16664         Fix query handling again.
16665
16666 2005-10-19  Wim Taymans  <wim@fluendo.com>
16667
16668         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16669         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16670         * gst/base/gstbasesrc.c: (gst_base_src_query):
16671         * gst/elements/gstfilesink.c: (gst_file_sink_query):
16672         * gst/elements/gsttypefindelement.c:
16673         (gst_type_find_handle_src_query), (find_element_get_length),
16674         (gst_type_find_element_activate):
16675         API change fix.
16676
16677         * gst/gstquery.c: (gst_query_new_position),
16678         (gst_query_set_position), (gst_query_parse_position),
16679         (gst_query_new_duration), (gst_query_set_duration),
16680         (gst_query_parse_duration), (gst_query_set_segment),
16681         (gst_query_parse_segment):
16682         * gst/gstquery.h:
16683         Bundling query position/duration is not a good idea since duration
16684         does not change much and we don't want to recalculate it for every
16685         position query, so they are separated again..
16686         Base value in segment query is not needed.
16687
16688         * gst/gstqueue.c: (gst_queue_handle_src_query):
16689         * gst/gstutils.c: (gst_element_query_position),
16690         (gst_element_query_duration), (gst_pad_query_position),
16691         (gst_pad_query_duration):
16692         * gst/gstutils.h:
16693         Updates for query API change.
16694         Added some docs here and there.
16695
16696 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16697
16698         * check/gst/gstbin.c: (GST_START_TEST):
16699         * check/gst/gstghostpad.c: (GST_START_TEST):
16700         * check/pipelines/cleanup.c: (GST_START_TEST):
16701           wait on thread to die so we can check refcount correctly
16702
16703 2005-10-18  Wim Taymans  <wim@fluendo.com>
16704
16705         * check/pipelines/stress.c: (GST_START_TEST):
16706         Make check a little more time consuming.
16707
16708 2005-10-18  Wim Taymans  <wim@fluendo.com>
16709
16710         * check/Makefile.am:
16711         * check/pipelines/stress.c: (GST_START_TEST),
16712         (simple_launch_lines_suite), (main):
16713         Small state change torture test.
16714
16715         * docs/design/part-states.txt:
16716         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16717         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
16718         (gst_base_sink_change_state):
16719         Never take state lock from streaming thread, clean up ugly
16720         hacks. Unfortunatly core does not yet support nice ways to
16721         async commit state.
16722         
16723         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
16724         (bin_bus_handler):
16725         Start state recalc if a STATE_DIRTY message is posted, but only
16726         on the toplevel bin.
16727
16728         * gst/gstelement.c: (gst_element_sync_state_with_parent),
16729         (gst_element_get_state_func), (gst_element_abort_state),
16730         (gst_element_commit_state), (gst_element_lost_state),
16731         (gst_element_set_state_func), (gst_element_change_state):
16732         * gst/gstelement.h:
16733         State variables are now protected with the LOCK, the state
16734         lock is only used to serialize _set_state().
16735
16736 2005-10-18  Wim Taymans  <wim@fluendo.com>
16737
16738         * check/gst/gstbin.c: (GST_START_TEST):
16739         * check/gst/gstmessage.c: (GST_START_TEST):
16740         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16741         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
16742         (bin_bus_handler):
16743         * gst/gstelement.c: (gst_element_abort_state),
16744         (gst_element_commit_state), (gst_element_lost_state):
16745         * gst/gstmessage.c: (gst_message_new_state_changed),
16746         (gst_message_new_state_dirty), (gst_message_new_segment_start),
16747         (gst_message_new_segment_done), (gst_message_new_duration),
16748         (gst_message_parse_state_changed),
16749         (gst_message_parse_segment_start),
16750         (gst_message_parse_segment_done), (gst_message_parse_duration):
16751         * gst/gstmessage.h:
16752         * tools/gst-launch.c: (event_loop):
16753         Seriously, this is better than a previous commit as we only need
16754         to notify the fact that an element changed state in a streaming
16755         thread, marking the state of the parents dirty, hence the 
16756         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
16757         message.
16758
16759 2005-10-18  Wim Taymans  <wim@fluendo.com>
16760
16761         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
16762         (gst_bin_recalc_func):
16763         * gst/gstelement.c: (gst_element_set_clock),
16764         (gst_element_abort_state), (gst_element_lost_state):
16765         Cleanups, prepare for state change fixes.
16766
16767 2005-10-18  Wim Taymans  <wim@fluendo.com>
16768
16769         * gst/gstbin.h:
16770         * gst/gstelement.c: (gst_element_class_init),
16771         (gst_element_set_state), (gst_element_set_state_func):
16772         * gst/gstelement.h:
16773         Pending ABI changes.
16774         GThreadPool in GstBinClass to monitor async state changes.
16775         state_cookie in GstElement to detect concurrent gst/set state.
16776         set_state is now virtual too in case a very complicated element
16777         has to be constructed.
16778
16779 2005-10-18  Wim Taymans  <wim@fluendo.com>
16780
16781         * check/gst/gstbin.c: (GST_START_TEST):
16782         * check/gst/gstmessage.c: (GST_START_TEST):
16783         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16784         * gst/gstbin.c: (bin_bus_handler):
16785         * gst/gstelement.c: (gst_element_commit_state),
16786         (gst_element_lost_state):
16787         * gst/gstmessage.c: (gst_message_new_state_changed),
16788         (gst_message_new_segment_start), (gst_message_new_segment_done),
16789         (gst_message_new_duration), (gst_message_parse_state_changed),
16790         (gst_message_parse_segment_start),
16791         (gst_message_parse_segment_done), (gst_message_parse_duration):
16792         * gst/gstmessage.h:
16793         * tools/gst-launch.c: (event_loop):
16794         Make messages future proof.
16795         state-change gets a flag if it was a message comming from the
16796         streaming thread.
16797         segment-start/stop can also be specified in other formats.
16798         A message to notify an app that a pipeline changed playback 
16799         duration.
16800         Also fix a GstMessage leak in -launch
16801
16802 2005-10-18  Andy Wingo  <wingo@pobox.com>
16803
16804         * gst/gstelement.c (gst_element_dispose): More helpful message.
16805
16806 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16807
16808         reviewed by: <delete if not using a buddy>
16809
16810         * common/gtk-doc.mak:
16811
16812 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16813
16814         * gst/gstregistry.c: (gst_registry_scan_path_level):
16815           unref a plug-in we get that was already initialized
16816
16817 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
16818
16819         * docs/gst/gstreamer-sections.txt:
16820         * docs/libs/gstreamer-libs-sections.txt:
16821         * gst/gstelement.h:
16822           add new api entries
16823           hide internal macro
16824
16825 2005-10-17  Andy Wingo  <wingo@pobox.com>
16826
16827         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
16828         cleanup.
16829
16830         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
16831
16832         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
16833
16834         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
16835         (gst_element_get_state_func): Better debug message.
16836         (gst_element_commit_state): s/INFO/DEBUG/.
16837         (gst_element_lost_state, gst_element_change_state): 
16838
16839         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
16840         (gst_message_new_custom): s/INFO/LOG/.
16841
16842 2005-10-17  Michael Smith <msmith@fluendo.com>
16843
16844         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16845           Check if end time is valid using end time, not start time.
16846
16847 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
16848
16849         * check/gst-libs/controller.c: (GST_START_TEST),
16850         (gst_controller_suite):
16851         * libs/gst/controller/gstcontroller.c:
16852         (gst_controlled_property_set_interpolation_mode):
16853         * libs/gst/controller/gstcontroller.h:
16854         * libs/gst/controller/gstinterpolation.c:
16855         * testsuite/controller/.cvsignore:
16856         * testsuite/controller/Makefile.am:
16857         * testsuite/controller/interpolator.c:
16858           merge controller testsuites
16859           fix broken tests
16860           remove mem-chunk from docs
16861
16862 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
16863
16864         * gst/gstmemchunk.c:
16865         * gst/gstmemchunk.h:
16866         * gst/gsttrashstack.c:
16867         * gst/gsttrashstack.h:
16868           out.  get out.  you're fired.  to the Attic !
16869
16870 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
16871
16872         * gst/gstcaps.c: (gst_caps_intersect):
16873           fix signedness issues in a (hopefully) correct way
16874         * gst/gstelement.c: (gst_element_pads_activate):
16875           some debugging
16876         * gst/gstobject.c: (gst_object_set_parent):
16877           some debugging
16878
16879 2005-10-17  Julien MOUTTE  <julien@moutte.net>
16880
16881         * gst/gstvalue.h: Fix prototypes.
16882
16883 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16884
16885         * docs/gst/gstreamer-sections.txt:
16886         * gst/gst.c: (gst_version_string):
16887         * gst/gst.h:
16888         * gst/gstversion.h.in:
16889         * win32/common/libgstreamer.def:
16890           add gst_version_string ()
16891
16892 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16893
16894         * configure.ac:
16895           clean up further
16896         * gst/gst.c: (init_post):
16897         * win32/common/config.h.in:
16898           it's PLUGINDIR now
16899         * gst/gstcaps.c: (gst_caps_intersect):
16900           use gint64, the range could be bigger than a guint
16901
16902 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16903
16904         * gst/gstclock.h:
16905           document potential problem in 2038
16906
16907 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16908
16909         * gst/gstcaps.c: (gst_caps_intersect):
16910           Fix guint j diving under 0
16911
16912 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16913
16914         * configure.ac:
16915         * win32/common/config.h:
16916         * win32/common/config.h.in:
16917           check for process.h, declares getpid() on Windows
16918         * gst/gstinfo.c:
16919           include process.h if we have it
16920         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
16921         * gst/gstmemchunk.h:
16922           fix signedness issues
16923         * win32/common/libgstreamer.def:
16924           fix get_type's
16925
16926 2005-10-16  Julien MOUTTE  <julien@moutte.net>
16927
16928         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
16929         fix. Because of unsigned ints, caps intersection was going nuts and
16930         trying to access structures with G_MAXUINT index. That fixes
16931         videotestsrc ! ffmpegcolorspace ! fakesink
16932         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
16933         consistency.
16934
16935 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16936
16937         * configure.ac:
16938           use the gettext macro
16939         * gst/elements/gstelements.c:
16940         * gst/gst.c:
16941         * gst/indexers/gstindexers.c:
16942           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
16943         * win32/common/config.h:
16944           updated config.h
16945         * win32/common/config.h.in:
16946           add the template to generate config.h
16947         * win32/common/gstenumtypes.c:
16948         * win32/common/gstversion.h:
16949           updated copies
16950
16951 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16952
16953         * gst/gst.c: (gst_version):
16954         * gst/gstversion.h.in:
16955           add the nano
16956
16957 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
16958
16959         * gst/gstevent.h:
16960           Oops, add missing closing bracket.
16961
16962 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16963
16964         * configure.ac:
16965           use common m4's for argument checking
16966
16967 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
16968
16969         * docs/gst/gstreamer-sections.txt:
16970         * gst/gstevent.h:
16971           Add GST_EVENT_TYPE_NAME() macro.
16972
16973 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16974
16975         * gst/gstinfo.c:
16976         * gst/gstpluginfeature.c:
16977         * gst/gsttask.c:
16978           privatize more symbols
16979
16980 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16981
16982         * configure.ac:
16983           add srcdir, builddir includes to GST_ALL_CFLAGS, since
16984           everything that uses GStreamer API should have the includes
16985
16986 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16987
16988         * docs/gst/gstreamer-sections.txt:
16989         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
16990         * gst/gstvalue.h:
16991           give each value a _get_type, removes the DATA exports
16992
16993 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16994
16995         * gst/gst.c:
16996         * gst/gst.h:
16997           remove _gst_registry_auto_load, not used anymore
16998         * gst/gstbin.c: (gst_bin_get_type):
16999         * gst/gstbin.h:
17000         * gst/gstelement.c: (gst_element_get_type):
17001         * gst/gstelement.h:
17002         * gst/gstobject.c: (gst_object_get_type):
17003         * gst/gstobject.h:
17004         * gst/gstpad.c: (gst_pad_get_type):
17005         * gst/gstpad.h:
17006           make _get_type functions similar, fixes data export from library
17007
17008 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17009
17010         * configure.ac:
17011           correctly make conditionals
17012         * gst/elements/Makefile.am:
17013         * gst/elements/gstelements.c:
17014           fix typo causing fdsrc not to build
17015
17016 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17017
17018         * testsuite/Makefile.am:
17019         * testsuite/bytestream/.cvsignore:
17020         * testsuite/bytestream/Makefile.am:
17021         * testsuite/bytestream/filepadsink.c:
17022         * testsuite/bytestream/gstbstest.c:
17023         * testsuite/bytestream/test1.c:
17024         * testsuite/bytestream/testfile1:
17025         * testsuite/caps/normalisation.c:
17026         * testsuite/caps/random.c: (main):
17027         * testsuite/cleanup/.cvsignore:
17028         * testsuite/cleanup/Makefile.am:
17029         * testsuite/cleanup/cleanup1.c:
17030         * testsuite/cleanup/cleanup2.c:
17031         * testsuite/cleanup/cleanup3.c:
17032         * testsuite/cleanup/cleanup4.c:
17033         * testsuite/cleanup/cleanup5.c:
17034         * testsuite/controller/interpolator.c:
17035         * testsuite/debug/printf_extension.c: (main):
17036         * testsuite/elements/tee.c:
17037         * testsuite/negotiation/.cvsignore:
17038         * testsuite/negotiation/Makefile.am:
17039         * testsuite/negotiation/pad_link.c:
17040         * testsuite/pad/Makefile.am:
17041         * testsuite/pad/chainnopull.c:
17042         * testsuite/pad/getnopush.c:
17043         * testsuite/pad/link.c:
17044         * testsuite/refcounting/sched.c: (create_pipeline):
17045         * testsuite/registry/Makefile.am:
17046         * testsuite/registry/gst-print-formats.c:
17047         * testsuite/schedulers/.cvsignore:
17048         * testsuite/schedulers/142183-2.c:
17049         * testsuite/schedulers/142183.c:
17050         * testsuite/schedulers/143777-2.c:
17051         * testsuite/schedulers/143777.c:
17052         * testsuite/schedulers/147713.c:
17053         * testsuite/schedulers/147819.c:
17054         * testsuite/schedulers/147894-2.c:
17055         * testsuite/schedulers/147894.c:
17056         * testsuite/schedulers/Makefile.am:
17057         * testsuite/schedulers/group_link.c:
17058         * testsuite/schedulers/queue_link.c:
17059         * testsuite/schedulers/relink.c:
17060         * testsuite/schedulers/unlink.c:
17061         * testsuite/schedulers/unref.c:
17062         * testsuite/schedulers/useless_iteration.c:
17063         * testsuite/states/bin.c:
17064           clean out/remove some stuff from the testsuite directories
17065
17066 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17067
17068         * configure.ac:
17069           check for some headers
17070         * gst/elements/Makefile.am:
17071         * gst/elements/gstelements.c:
17072           don't compile fdsrc without sys/socket.h
17073         * gst/indexers/Makefile.am:
17074         * gst/indexers/gstindexers.c: (plugin_init):
17075           don't compile fileindex without mmap
17076
17077 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17078
17079         * configure.ac:
17080           reorganize
17081           clean up
17082           document more
17083           remove cruft
17084         * check/Makefile.am:
17085         * docs/gst/Makefile.am:
17086         * examples/helloworld/Makefile.am:
17087         * gst/Makefile.am:
17088         * gst/base/Makefile.am:
17089         * gst/check/Makefile.am:
17090         * gst/elements/Makefile.am:
17091         * gst/indexers/Makefile.am:
17092         * gst/parse/Makefile.am:
17093         * libs/gst/controller/Makefile.am:
17094         * libs/gst/dataprotocol/Makefile.am:
17095         * examples/helloworld/helloworld.c: (event_loop):
17096           compile fixes, though it's not being compiled currently
17097
17098 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17099
17100         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
17101           Add some simple tests for the new taglist date API.
17102
17103 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17104
17105         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
17106         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
17107           Beautify 'last-message' output: print 'none' for buffer timestamps
17108           and durations if none is set; improve alignment with next messages.
17109
17110 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17111
17112         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
17113         * gst/gstpluginfeature.h:
17114         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
17115         * gst/gstregistry.h:
17116         * docs/gst/gstreamer-sections.txt:
17117           Add new API to check plugin feature version requirements.
17118
17119         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
17120           Some basic tests for the above.         
17121
17122 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17123
17124         * gst/gststructure.c: (gst_structure_to_string):
17125           guard against NULL printf - happens when for example
17126           a message structure with GstClock gets serialized
17127
17128 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17129
17130         * gst/base/gstcollectpads.c: (gst_collectpads_event):
17131           Fix presumable copy'n'pasto.
17132
17133 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17134
17135         * gst/elements/gstfakesrc.h:
17136         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
17137         * gst/elements/gsttypefindelement.c:
17138           fix some signedness
17139         * gst/elements/gstfilesink.c: (gst_file_sink_render):
17140           I wonder if this could actually write +2GB files before
17141
17142 2005-10-13  Andy Wingo  <wingo@pobox.com>
17143
17144         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
17145         Fix Timmeke Waymans bug.
17146         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
17147         string of the proper length to gst_caps_from_string. There's a
17148         potential for, before this fix, that this could cause someone
17149         connecting over the network to cause a segfault if the payload is
17150         not NUL-terminated.
17151
17152 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17153
17154         * docs/design/draft-push-pull.txt:
17155         * docs/design/part-overview.txt:
17156         * docs/random/TODO-pre-0.9:
17157         * docs/random/old/ChangeLog.gstreamer:
17158         * gst/base/gstpushsrc.c:
17159         * gst/gstclock.c:
17160           fixed typos
17161
17162 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17163
17164         * gst/glib-compat.c: (gst_flags_get_first_value):
17165         * gst/glib-compat.h:
17166         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
17167         (gst_value_compare_double), (gst_value_serialize_flags):
17168           GLib 2.6 g_flags_get_first_value has a bug that triggers an
17169           infinite loop
17170
17171 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17172
17173         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17174         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17175           fix up debugging
17176         * tools/gst-launch.c: (event_loop):
17177           print out clock nicely
17178
17179 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17180
17181         * docs/gst/gstreamer-sections.txt:
17182         * gst/gsttaglist.h:
17183         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
17184         (gst_tag_list_get_date_index):
17185           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
17186           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
17187
17188 2005-10-13  Julien MOUTTE  <julien@moutte.net>
17189
17190         * gst/base/gstcollectpads.c: (gst_collectpads_event),
17191         (gst_collectpads_chain):
17192         * gst/base/gstcollectpads.h: Handle newsegment and store informations
17193         in CollectData.
17194
17195 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17196
17197         * docs/gst/gstreamer-sections.txt:
17198         * gst/gst.c:
17199         * gst/gsterror.h:
17200         * tools/gst-inspect.c: (main):
17201         * tools/gst-launch.c: (main):
17202         * tools/gst-run.c: (main):
17203         * tools/gst-xmlinspect.c: (main):
17204           fix GOption context leaks
17205           doc fixes
17206
17207 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17208
17209         * gst/gstbus.c:
17210           use HAVE_UNISTD_H
17211         * win32/common/config.h:
17212           update config
17213         * win32/vs6/grammar.dsp:
17214         * win32/vs6/libgstelements.dsp:
17215         * win32/vs6/libgstreamer.dsp:
17216           update vs6 files
17217
17218 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17219
17220         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17221         * gst/base/gstbasesrc.c: (gst_base_src_query):
17222           fix more guint64<->gdouble conversions
17223
17224 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17225
17226         * Makefile.am:
17227           add win32-update target
17228         * win32/common/gstconfig.h:
17229         * win32/common/gstenumtypes.c:
17230         * win32/common/gstenumtypes.h:
17231         * win32/common/gstversion.h:
17232           add files that visual studio can't generate
17233
17234 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17235
17236         * Makefile.am:
17237           add a win32-update target
17238         * configure.ac:
17239
17240 2005-10-12  Wim Taymans  <wim@fluendo.com>
17241
17242         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17243         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
17244         * gst/gstelement.c: (gst_element_commit_state),
17245         (gst_element_set_state):
17246         Protect flags with proper lock.
17247         unref provided cached clock in dispose.
17248
17249 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17250
17251         * gst/gst.c:
17252         * gst/gstminiobject.h:
17253         * gst/gstpad.h:
17254         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
17255           removed unused flags from miniobject
17256           doc fixes
17257
17258 2005-10-12  Wim Taymans  <wim@fluendo.com>
17259
17260         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17261         (gst_file_sink_event), (gst_file_sink_render):
17262         Flush before seeking.
17263
17264 2005-10-12  Andy Wingo  <wingo@pobox.com>
17265
17266         * gst/gst.c (gst_init_check): Ignore unknown options, as has
17267         always been the case.
17268
17269 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17270
17271         * check/gst/gstbin.c: (GST_START_TEST):
17272         * docs/gst/gstreamer-sections.txt:
17273         * gst/base/gstbasesink.c: (gst_base_sink_init):
17274         * gst/base/gstbasesrc.c: (gst_base_src_init),
17275         (gst_base_src_get_range), (gst_base_src_check_get_range),
17276         (gst_base_src_start), (gst_base_src_stop):
17277         * gst/base/gstbasesrc.h:
17278         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
17279         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17280         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
17281         (bin_bus_handler):
17282         * gst/gstbin.h:
17283         * gst/gstbuffer.h:
17284         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
17285         * gst/gstbus.h:
17286         * gst/gstelement.c: (gst_element_is_locked_state),
17287         (gst_element_set_locked_state), (gst_element_commit_state),
17288         (gst_element_set_state):
17289         * gst/gstelement.h:
17290         * gst/gstindex.c: (gst_index_init):
17291         * gst/gstindex.h:
17292         * gst/gstminiobject.h:
17293         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
17294         (gst_object_set_parent):
17295         * gst/gstobject.h:
17296         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
17297         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
17298         * gst/gstpad.h:
17299         * gst/gstpadtemplate.h:
17300         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
17301         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
17302         * gst/gstpipeline.h:
17303         * gst/indexers/gstfileindex.c: (gst_file_index_load),
17304         (gst_file_index_commit):
17305         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
17306         * testsuite/pad/link.c: (gst_test_src_init),
17307         (gst_test_filter_init), (gst_test_sink_init):
17308         * testsuite/states/locked.c: (main):
17309           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
17310           moved bitshift from macro to enum definition
17311
17312 2005-10-12  Wim Taymans  <wim@fluendo.com>
17313
17314         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
17315         * gst/elements/gstfilesink.c: (gst_file_sink_event),
17316         (gst_file_sink_render):
17317         Some more debugging info.
17318
17319 2005-10-12  Wim Taymans  <wim@fluendo.com>
17320
17321         * docs/design/part-states.txt:
17322         * tools/gst-launch.c: (main):
17323         Some doc updates.
17324         Revert non-intentional change.
17325
17326 2005-10-12  Wim Taymans  <wim@fluendo.com>
17327
17328         * check/gst/gstbin.c: (GST_START_TEST):
17329         * check/gst/gstelement.c: (GST_START_TEST):
17330         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
17331         * check/gst/gstghostpad.c: (GST_START_TEST):
17332         * check/gst/gstpipeline.c: (GST_START_TEST):
17333         * check/pipelines/simple_launch_lines.c: (run_pipeline):
17334         * check/states/sinks.c: (GST_START_TEST):
17335         * gst/elements/gsttypefindelement.c: (stop_typefinding):
17336         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17337         (gst_bin_remove_func), (gst_bin_get_state_func),
17338         (gst_bin_recalc_state), (gst_bin_change_state_func),
17339         (bin_bus_handler):
17340         * gst/gstelement.c: (gst_element_get_state_func),
17341         (gst_element_get_state), (gst_element_abort_state),
17342         (gst_element_commit_state), (gst_element_set_state),
17343         (gst_element_change_state), (gst_element_change_state_func):
17344         * gst/gstelement.h:
17345         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
17346         (gst_pipeline_provide_clock_func):
17347         * gst/gstutils.c: (gst_element_link_pads_filtered):
17348         * tools/gst-launch.c: (main):
17349         * tools/gst-typefind.c: (main):
17350         Use GstClockTime in _get_state() instead of GTimeVal.
17351         Remove old code in gstutils.c
17352
17353 2005-10-12  Andy Wingo  <wingo@pobox.com>
17354
17355         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
17356         removed.
17357
17358         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
17359         there is no task. Shouldn't affect any code, as nothing in our
17360         plugins checks this return value.
17361         (gst_pad_stop_task): Also take the stream lock if the pad has no
17362         task. Docs updated.
17363
17364 2005-10-12  Wim Taymans  <wim@fluendo.com>
17365
17366         * gst/gstpad.c: (pre_activate), (post_activate),
17367         (gst_pad_activate_pull), (gst_pad_activate_push):
17368         Cleanup activation code. Reset old state if
17369         activation failed.
17370
17371 2005-10-12  Wim Taymans  <wim@fluendo.com>
17372
17373         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17374         (gst_base_sink_change_state):
17375         No need to prerol after receiving EOS.
17376
17377         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17378         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
17379         * gst/elements/gstidentity.c: (gst_identity_event):
17380         Print events more verbosely.
17381
17382 2005-10-12  Wim Taymans  <wim@fluendo.com>
17383
17384         * check/Makefile.am:
17385         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17386         * check/states/sinks2.c:
17387         Moved sinks2 testcode in sinks check.
17388
17389         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17390         (gst_bin_remove_func), (gst_bin_recalc_state),
17391         (gst_bin_change_state_func), (bin_bus_handler):
17392         Fix potential race condition when _get_state() iterated over an
17393         ASYNC element right before it posted a state completion.
17394
17395         * gst/gstclock.h:
17396         Do proper cast here.
17397
17398         * gst/gstevent.c: (gst_event_new_newsegment),
17399         (gst_event_parse_newsegment):
17400         A playback rate of 0.0 is not allowed.
17401
17402 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17403
17404         * win32/common/config.h:
17405         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
17406         (_trewinddir), (_ttelldir), (_tseekdir):
17407         * win32/common/dirent.h:
17408         * win32/common/gtchar.h:
17409         * win32/common/libgstbase.def:
17410         * win32/common/libgstreamer.def:
17411         * win32/vs6/grammar.dsp:
17412         * win32/vs6/gst_inspect.dsp:
17413         * win32/vs6/gst_launch.dsp:
17414         * win32/vs6/gstreamer.dsw:
17415         * win32/vs6/libgstbase.dsp:
17416         * win32/vs6/libgstelements.dsp:
17417         * win32/vs6/libgstreamer.dsp:
17418           Visual Studio 6 project files, and a new common directory.
17419           Phear.
17420
17421 2005-10-11  Wim Taymans  <wim@fluendo.com>
17422
17423         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17424         (gst_base_sink_do_sync), (gst_base_sink_query),
17425         (gst_base_sink_change_state):
17426         * gst/base/gstbasesink.h:
17427         Correctly parse newsegment info.
17428
17429 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17430
17431         * gst/gst.c: (init_post):
17432           split plugin paths correctly
17433
17434 2005-10-11  Wim Taymans  <wim@fluendo.com>
17435
17436         * check/gst/gstevent.c: (GST_START_TEST):
17437         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17438         (gst_base_sink_change_state):
17439         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
17440         * gst/base/gstbasetransform.c: (gst_base_transform_event):
17441         * gst/elements/gstfilesink.c: (gst_file_sink_event):
17442         * gst/gstevent.c: (gst_event_new_newsegment),
17443         (gst_event_parse_newsegment):
17444         * gst/gstevent.h:
17445         Added extra flag to newsegment for future API freeze.
17446         Updated check and base elements.
17447
17448 2005-10-11  Julien MOUTTE  <julien@moutte.net>
17449
17450         * gst/base/gstcollectpads.c: (gst_collectpads_init),
17451         (gst_collectpads_add_pad), (gst_collectpads_pop),
17452         (gst_collectpads_event), (gst_collectpads_chain):
17453         * gst/base/gstcollectpads.h: Handle EOS correctly.
17454
17455 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17456
17457         * tools/gst-launch.c: (main):
17458           more null protecting
17459
17460 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17461
17462         * gst/gst-i18n-lib.h:
17463           check for ENABLE_NLS, not GETTEXT_PACKAGE
17464         * gst/gstregistry.c: (gst_registry_add_plugin),
17465         (gst_registry_scan_path_level),
17466         (_gst_registry_remove_cache_plugins):
17467           protect possibly NULL strings
17468         * gst/parse/types.h:
17469           config.h already included before
17470         * tools/gst-inspect.c: (main):
17471           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
17472           check for ENABLE_NLS, not GETTEXT_PACKAGE
17473         * tools/gst-launch.c: (main):
17474           check for ENABLE_NLS, not GETTEXT_PACKAGE
17475
17476 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17477
17478         * configure.ac:
17479           if we don't have glib, fail before testing 2.8
17480         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
17481           fix a leak, should fix plugins-base testsuite
17482
17483 2005-10-11  Andy Wingo  <wingo@pobox.com>
17484
17485         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
17486         take the mode we're going to as an arg. Go head and set the mode
17487         and flushing flags now, so that if the activate function starts a
17488         thread all the flags will be in the right state.
17489         (post_activate): Renamed also. Just handle making sure streaming
17490         finishes for the deactivation case, and setting the deactivated
17491         mode.
17492         (gst_pad_set_active): Complain loudly if deactivation fails.
17493         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
17494         (gst_pad_activate_push): Adapt to pre/post_activate changes,
17495         remove the terrible hack.
17496
17497 2005-10-11  Wim Taymans  <wim@fluendo.com>
17498
17499         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17500         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
17501         (gst_bin_recalc_state), (gst_bin_change_state_func),
17502         (gst_bin_dispose), (bin_bus_handler):
17503         * gst/gstbin.h:
17504         Prepare to make current EOS message queue more generic.
17505         Fix some typos.
17506
17507         * gst/gstevent.c: (gst_event_new_newsegment),
17508         (gst_event_parse_newsegment):
17509         * gst/gstevent.h:
17510         Rename base to stream_time.
17511
17512         * gst/gstmessage.h:
17513         Fix typo in docs.
17514
17515 2005-10-11  Wim Taymans  <wim@fluendo.com>
17516
17517         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17518         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
17519         (gst_bin_change_state_func), (bin_bus_handler):
17520         * gst/gstbin.h:
17521         Work on proper clock selection.
17522
17523 2005-10-11  Edward Hervey  <edward@fluendo.com>
17524
17525         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
17526         * libs/gst/controller/gstcontroller.h:
17527         Added GList* version of _remove_properties() in order to be able to wrap
17528         it in bindings.
17529
17530 2005-10-11  Wim Taymans  <wim@fluendo.com>
17531
17532         * docs/design/part-states.txt:
17533         Some more docs.
17534
17535         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
17536         (gst_bin_change_state_func), (bin_bus_handler):
17537         Doc updates. Don't distribute the same clock over and over again.
17538
17539         * gst/gstclock.c:
17540         * gst/gstclock.h:
17541         Doc updates.
17542
17543         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17544         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17545         (gst_pad_send_event):
17546         * gst/gstpad.h:
17547         Make probe emission threadsafe again.
17548         Register quarks and move _get_name() from utils.
17549         Doc updates.
17550
17551         * gst/gstpipeline.c: (gst_pipeline_class_init),
17552         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17553         Only redistribute the clock of it changed.
17554
17555         * gst/gstsystemclock.h:
17556         Doc updates. 
17557
17558         * gst/gstutils.c:
17559         * gst/gstutils.h:
17560         Moved the _flow_get_name() to GstPad.
17561
17562 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17563
17564         * check/gst-libs/gdp.c: (GST_START_TEST):
17565         * check/gst/gstcaps.c: (GST_START_TEST):
17566         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
17567         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
17568         (gst_dp_packet_from_caps):
17569           fix more valgrind warnings before turning up the heat
17570
17571 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17572
17573         * gst/parse/grammar.y:
17574           some cleanup before the hacking
17575
17576 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17577
17578         * gst/base/gstbasesrc.c: (gst_base_src_query):
17579           use conversions
17580         * gst/gstutils.c: (gst_guint64_to_gdouble),
17581         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
17582         * gst/gstutils.h:
17583           externalize, basesrc uses it
17584           obviously the implementation needs testing
17585
17586 2005-10-10  Wim Taymans  <wim@fluendo.com>
17587
17588         * tests/sched/Makefile.am:
17589         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
17590         (make_pipeline3), (make_pipeline4), (print_elem), (main):
17591
17592 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17593
17594         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
17595           apparently converting from guint64 to double is not implemented
17596           on MSVC
17597
17598 2005-10-10  Wim Taymans  <wim@fluendo.com>
17599
17600         * check/Makefile.am:
17601         * check/generic/states.c: (GST_START_TEST):
17602         * check/gst/gstbin.c: (GST_START_TEST):
17603         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17604         * check/states/sinks.c: (GST_START_TEST):
17605         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
17606         (main):
17607         Check fixes, use API as stated in design docs, remove hacks.
17608
17609         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17610         (gst_base_sink_change_state):
17611         Catch stopping our task while we're shutting down.
17612
17613         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
17614         (gst_bin_remove_func), (gst_bin_get_state_func),
17615         (gst_bin_recalc_state), (gst_bin_change_state_func),
17616         (bin_bus_handler):
17617         * gst/gstbin.h:
17618         * gst/gstelement.c: (gst_element_init),
17619         (gst_element_get_state_func), (gst_element_abort_state),
17620         (gst_element_commit_state), (gst_element_lost_state),
17621         (gst_element_set_state), (gst_element_change_state),
17622         (gst_element_change_state_func):
17623         * gst/gstelement.h:
17624         New state change algorithm (see #318116)
17625
17626         * gst/gstpipeline.c: (gst_pipeline_class_init),
17627         (gst_pipeline_init), (gst_pipeline_set_property),
17628         (gst_pipeline_get_property), (do_pipeline_seek),
17629         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17630         * gst/gstpipeline.h:
17631         Remove crude state change hacks.
17632
17633         * gst/gstutils.h:
17634         Remove crude hacks.
17635
17636         * tools/gst-launch.c: (main):
17637         Fixes for state change. Needs some more work to fully use the
17638         new stuff.
17639
17640 2005-10-10  Andy Wingo  <wingo@pobox.com>
17641
17642         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
17643
17644         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
17645         this flag, but it's not even in GLib 2.6. Odd. Hack around the
17646         issue.
17647
17648 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17649
17650         * gst/gstiterator.c: (gst_iterator_new):
17651           Fix my previous commit: GTypes passed to gst_iterator_new()
17652           can be fundamental types.
17653
17654 2005-10-10  Wim Taymans  <wim@fluendo.com>
17655
17656         * gst/gstelement.c: (gst_element_iterate_pad_list),
17657         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
17658         (gst_element_iterate_sink_pads):
17659         Use src/sink pads lists for the respective iterators instead
17660         of filtering.
17661
17662 2005-10-10  Andy Wingo  <wingo@pobox.com>
17663
17664         Merged in popt removal + GOption addition patch from Ronald, bug
17665         #169772.
17666
17667         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
17668         GstElement macros around, remove popt-related symbols, add goption
17669         stuff.
17670
17671         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
17672         
17673         * docs/gst/Makefile.am:
17674         * docs/libs/Makefile.am: No POPT_CFLAGS.
17675         
17676         * examples/manual/Makefile.am:
17677         * docs/manual/basics-init.xml: Doc updates with an example.
17678         
17679         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
17680         (gst_init), (parse_one_option), (parse_goption_arg):
17681         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
17682         bit of hand merging and debugging to get the GOption stuff working
17683         tho.
17684         
17685         * tests/Makefile.am:
17686         * tools/Makefile.am:
17687         * tools/gst-inspect.c: (main):
17688         * tools/gst-launch.c: (main):
17689         * tools/gst-run.c: (main):
17690         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
17691
17692 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17693
17694         * gst/gstiterator.c: (gst_iterator_new):
17695           Add assertions to make sure passed GType is likely to really
17696           be a GType (as the compiler won't catch it if the size and
17697           GType arguments get mixed up, see #318447).
17698
17699 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
17700
17701         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17702
17703         * gst/gstbin.c: (gst_bin_iterate_sorted):
17704           Pass GType and size arguments to gst_iterator_new() in the right
17705           order (maybe we should make _new() take the GType as first argument
17706           just like _new_list()?) (#318447).
17707           
17708
17709 2005-10-10  Wim Taymans  <wim@fluendo.com>
17710
17711         * gst/gstelement.c: (gst_element_finalize):
17712         And free the GStaticRecMutex too
17713
17714 2005-10-10  Andy Wingo  <wingo@pobox.com>
17715
17716         * gst/gstelement.c (gst_element_init, gst_element_finalize):
17717         Allocate and free the mutex properly.
17718
17719         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
17720         New macros.
17721         (GstElement): The state_lock is now recursive. Rebuild your
17722         plugins, suckers. Old macros adapted.
17723
17724         * docs/gst/gstreamer-sections.txt: Doc updates.
17725
17726         * gst/gstutils.h:
17727         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
17728         (g_static_rec_cond_wait): Ported from state changes patch, while
17729         we wait on bug #317802 to be solved in a well-distributed GLib.
17730
17731         * gst/gstelement.c (gst_element_change_state_func): Renamed from
17732         gst_element_change_state, variable name changes.
17733         (gst_element_change_state): Split out of gst_element_set_state in
17734         preparation for the state change merge. Doesn't pay attention to
17735         the 'transition' argument.
17736         (gst_element_set_state): Updates, hopefully purely cosmetic.
17737         (gst_element_sync_state_with_parent): MT-safety. Ported from the
17738         state change patch.
17739         (gst_element_get_state_func): Renamed from get_state, cosmetic
17740         changes.
17741
17742 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17743
17744         * gst/elements/gstelements.c:
17745         * win32/GStreamer.vcproj:
17746         * win32/config.h:
17747         * win32/dirent.c: (_tseekdir):
17748         * win32/gst-inspect.vcproj:
17749         * win32/gst-launch.vcproj:
17750         * win32/gstconfig.h:
17751         * win32/gstelements.vcproj:
17752         * win32/gstenumtypes.c: (gst_object_flags_get_type):
17753         * win32/gstreamer.def:
17754         * win32/msvc71.sln:
17755           updates for the win32 build (patch from Sebastien Moutte)
17756
17757 2005-10-10  Andy Wingo  <wingo@pobox.com>
17758
17759         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
17760         gst_bin_get_state, cleaned up (but no logic changes).
17761         (bin_element_is_sink): Comment updates.
17762         (sink_iterator_filter): Remove needless cast.
17763         (gst_bin_iterate_sinks): Doc update.
17764         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
17765         cleaned up (but no logic changes).
17766
17767         * check/states/sinks.c (test_src_sink): Cleanups from the state
17768         change patch.
17769         (test_livesrc_sink): Sync on the state.
17770
17771         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
17772         the state change patch.
17773
17774         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
17775         change patch.
17776
17777         * check/gst/gstbin.c: Merge in some style fixes and additional
17778         checks from Wim's state change patch.
17779
17780 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17781
17782         * gst/base/gsttypefindhelper.c: (helper_find_peek),
17783         (gst_type_find_helper):
17784           Check whether we have the requested data already in our list of
17785           cached buffers before pulling a new buffer; also make the buffer
17786           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
17787
17788 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17789
17790         * gst/gstcaps.c:
17791         * gst/gstevent.c:
17792           doc updates
17793         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17794           don't use long long, it's not portable.  Replacing with
17795           gint64 seems to work; let's hope no skeletons fall out of the closet.
17796
17797 2005-10-10  Andy Wingo  <wingo@pobox.com>
17798
17799         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
17800
17801 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
17802
17803         * docs/gst/gstreamer-sections.txt:
17804         * gst/gstevent.c:
17805         * gst/gstevent.h:
17806         * gst/gstinfo.c:
17807         * gst/gstinfo.h:
17808         * gst/gstmessage.c: (gst_message_parse_state_changed):
17809         * gst/gstpad.c:
17810         * gst/gstpad.h:
17811           more docs, fix compilation
17812
17813 2005-10-09  Philippe Khalaf <burger@speedy.org>
17814         * gst/gstmessage.c:
17815           Fixed a few forgotten variables on previous commit
17816
17817 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
17818
17819         * gst/base/gsttypefindhelper.c: (helper_find_peek):
17820           Fix evil typefind crasher: getrange() might return a short
17821           buffer at the end of a file, but gst_type_find_peek() must
17822           either return the full data as requested or NULL, but
17823           never a short buffer.
17824
17825 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17826
17827         * gst/gstmessage.c: (gst_message_new_state_changed),
17828         (gst_message_parse_state_changed):
17829         * gst/gstmessage.h:
17830           don't use "new", it's a C++ keyword
17831
17832 2005-10-08  Wim Taymans  <wim@fluendo.com>
17833
17834         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
17835         * gst/gstelement.c: (gst_element_post_message):
17836         * gst/gstpipeline.c: (gst_pipeline_change_state):
17837         Small docs and debug updates.
17838
17839 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
17840
17841         * docs/gst/gstreamer-sections.txt:
17842         * gst/gstelementfactory.c:
17843         * gst/gstevent.c:
17844         * gst/gsttaglist.c:
17845           more docs
17846
17847 2005-10-08  Wim Taymans  <wim@fluendo.com>
17848
17849         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
17850         (gst_bin_dispose), (bin_bus_handler):
17851         Fix typos, add comments.
17852         Clear EOS list when going to PAUSED from any direction and do it
17853         in a threadsafe way.
17854         Get base time in a threadsafe way too.
17855         Fix confusing debug in the change_state function.
17856         Various other small cleanups.
17857         
17858         * gst/gstelement.c: (gst_element_post_message):
17859         Fix very verbose bus posting code.
17860
17861         * gst/gstpipeline.c: (gst_pipeline_class_init),
17862         (gst_pipeline_set_property), (gst_pipeline_get_property),
17863         (gst_pipeline_change_state):
17864         Small ARG_ -> PROP_ cleanup
17865
17866 2005-10-08  Wim Taymans  <wim@fluendo.com>
17867
17868         * gst/gstbin.c: (is_eos), (bin_bus_handler):
17869         Do a less CPU demanding EOS check because we can.
17870
17871 2005-10-08  Wim Taymans  <wim@fluendo.com>
17872
17873         * libs/gst/dataprotocol/dataprotocol.c:
17874         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
17875         (gst_dp_packet_from_event):
17876         * libs/gst/dataprotocol/dataprotocol.h:
17877         * libs/gst/dataprotocol/dp-private.h:
17878         It's about time we bump the version number.
17879         Since event types don't fit in the guint8 anymore describing
17880         the payload type, make payload type 16 bits wide.
17881
17882 2005-10-08  Wim Taymans  <wim@fluendo.com>
17883
17884         * docs/design/part-TODO.txt:
17885         * docs/design/part-clocks.txt:
17886         * docs/design/part-events.txt:
17887         * docs/design/part-gstbin.txt:
17888         * docs/design/part-gstelement.txt:
17889         * docs/design/part-gstpipeline.txt:
17890         * docs/design/part-live-source.txt:
17891         * docs/design/part-messages.txt:
17892         * docs/design/part-overview.txt:
17893         * docs/design/part-states.txt:
17894         Many doc updates.
17895
17896 2005-10-08  Wim Taymans  <wim@fluendo.com>
17897
17898         * gst/gstevent.c:
17899         * gst/gstevent.h:
17900         Fix event quark registration.
17901         Add some space between events so we can insert them in the
17902         right groups.
17903
17904 2005-10-08  Wim Taymans  <wim@fluendo.com>
17905
17906         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17907         (gst_base_sink_handle_buffer):
17908         Better log message.
17909
17910         * gst/gstbus.h:
17911         * gst/gstelement.h:
17912         More docs.
17913
17914         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
17915         (gst_queue_set_property), (gst_queue_get_property):
17916         * gst/gstqueue.h:
17917         Remove old unused properties.
17918
17919 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
17920         * docs/gst/gstreamer-sections.txt:
17921         * gst/gstmessage.c:
17922         * gst/gstmessage.h:
17923         * gst/gstminiobject.c:
17924         * gst/gstminiobject.h:
17925         * gst/gstobject.h:
17926         * gst/gstpad.h:
17927         * gst/gstutils.h:
17928           lots of new docs and doc fixes
17929
17930 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17931
17932         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
17933         * gst/gstplugin.h:
17934         * gst/gstregistry.c: (gst_registry_lookup_locked),
17935         (gst_registry_scan_path_level):
17936         * gst/gstregistryxml.c: (load_plugin):
17937           Only ever load one plugin for a given plugin basename.
17938           This ensures correct overriding of GST_PLUGIN_PATH over
17939           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
17940           system installed plugins.
17941
17942 2005-10-08  Wim Taymans  <wim@fluendo.com>
17943
17944         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17945         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
17946         Prepare for doing QOS.
17947
17948 2005-10-08  Wim Taymans  <wim@fluendo.com>
17949
17950         * check/gst/gstbin.c: (GST_START_TEST):
17951         * check/pipelines/cleanup.c: (GST_START_TEST):
17952         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
17953         Allow new clock message too.
17954
17955 2005-10-08  Wim Taymans  <wim@fluendo.com>
17956
17957         * gst/gstmessage.c: (gst_message_new_error),
17958         (gst_message_new_warning), (gst_message_new_tag),
17959         (gst_message_new_state_changed), (gst_message_new_clock_provide),
17960         (gst_message_new_clock_lost), (gst_message_new_new_clock),
17961         (gst_message_new_segment_start), (gst_message_new_segment_done),
17962         (gst_message_parse_state_changed),
17963         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
17964         (gst_message_parse_new_clock):
17965         * gst/gstmessage.h:
17966         Also carry the clock in question.
17967
17968 2005-10-08  Wim Taymans  <wim@fluendo.com>
17969
17970         * gst/gstmessage.c: (gst_message_new_custom),
17971         (gst_message_new_eos), (gst_message_new_error),
17972         (gst_message_new_warning), (gst_message_new_tag),
17973         (gst_message_new_state_changed), (gst_message_new_clock_provide),
17974         (gst_message_new_new_clock), (gst_message_new_segment_start),
17975         (gst_message_new_segment_done), (gst_message_parse_state_changed),
17976         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
17977         * gst/gstmessage.h:
17978         Clean up.
17979         Added clock related messages.
17980
17981         * gst/gstpipeline.c: (gst_pipeline_change_state):
17982         Post message when the clock changed.
17983
17984         * tools/gst-launch.c: (event_loop):
17985         Print new clock.
17986
17987 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
17988
17989         * tools/gst-inspect.c: (print_element_properties_info):
17990           Can't pass NULL strings to g_print() on windows.
17991
17992 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17993
17994         * docs/Makefile.am:
17995         * docs/gst/Makefile.am:
17996         * docs/gst/gstreamer-docs.sgml:
17997         * docs/gst/running.xml:
17998         * docs/version.entities.in:
17999           add a chapter on running GStreamer.
18000           document GST_DEBUG and GST_PLUGIN* env vars
18001
18002 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18003
18004         * Makefile.am:
18005           remove include dir
18006         * configure.ac:
18007           remove PLUGINS_BUILDDIR stuff
18008         * gst/gst.c: (init_post):
18009           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
18010         * idiottest.mak:
18011           remove, it was condescending and not needed
18012
18013 2005-10-08  Wim Taymans  <wim@fluendo.com>
18014
18015         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
18016         (gst_base_sink_handle_object), (gst_base_sink_event),
18017         (gst_base_sink_wait), (gst_base_sink_handle_event),
18018         (gst_base_sink_change_state):
18019         * gst/base/gstbasesink.h:
18020         Repost EOS message while going to PLAYING if still EOS.
18021         Make sure that when receiving a FLUSH_START we don't attempt
18022         to sync on the clock anymore.
18023
18024 2005-10-08  Wim Taymans  <wim@fluendo.com>
18025
18026         * tools/gst-launch.c: (event_loop):
18027         Better message printout.
18028
18029 2005-10-08  Wim Taymans  <wim@fluendo.com>
18030
18031         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
18032         (gst_bin_child_proxy_get_children_count):
18033         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
18034         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
18035         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
18036         (gst_child_proxy_set_valist):
18037         * gst/parse/grammar.y:
18038         Make ChildProxy threadsafe and fix mem leaks.
18039
18040 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18041
18042         * gst/gst.c: (init_post):
18043           debug the GST_PLUGIN_ env vars
18044
18045 2005-10-08  Wim Taymans  <wim@fluendo.com>
18046
18047         * check/gst/gstbin.c: (GST_START_TEST):
18048         * check/gst/gstmessage.c: (GST_START_TEST):
18049         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18050         * gst/gstelement.c: (gst_element_commit_state),
18051         (gst_element_lost_state):
18052         * gst/gstmessage.c: (gst_message_new_state_changed),
18053         (gst_message_parse_state_changed):
18054         * gst/gstmessage.h:
18055         * tools/gst-launch.c: (event_loop):
18056         Added extra field to STATE_CHANGE message with the pending
18057         state, which will be different from the new state soon.
18058
18059 2005-10-08  Wim Taymans  <wim@fluendo.com>
18060
18061         * gst/gstbus.c: (gst_bus_pop):
18062         * gst/gstclock.c:
18063         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18064         Small cleanups and doc updates.
18065
18066 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18067
18068         * gst/gst.c: (init_pre):
18069         * gst/gstbin.c: (gst_bin_add_func):
18070           log distributing clocks and base time
18071         * gst/gstregistry.c: (gst_registry_add_plugin),
18072         (gst_registry_scan_path_level), (gst_registry_scan_path):
18073           clean up the debugging output a little
18074         * gst/gstutils.c: (gst_element_state_get_name):
18075           warn about a memleak (I've actually seen this be used, though
18076           it was probably a bug)
18077
18078 2005-10-07  Wim Taymans  <wim@fluendo.com>
18079
18080         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18081         (gst_base_src_init), (gst_base_src_default_newsegment),
18082         (gst_base_src_newsegment), (gst_base_src_do_seek),
18083         (gst_base_src_loop), (gst_base_src_start):
18084         * gst/base/gstbasesrc.h:
18085         Make the newsegment event customizable by subclasses.
18086
18087 2005-10-07  Wim Taymans  <wim@fluendo.com>
18088
18089         * gst/gstevent.c: (gst_event_new_buffersize),
18090         (gst_event_parse_buffersize):
18091         * gst/gstevent.h:
18092         New event for future idea.
18093
18094 2005-10-07  Andy Wingo  <wingo@pobox.com>
18095
18096         * gst/gstelement.c (gst_element_post_message): Doc update.
18097
18098         * docs/gst/gstreamer-sections.txt: Update.
18099
18100         * gst/gstmessage.c (gst_message_new_application): Made into a
18101         function like honest API calls.
18102         (gst_message_new_element): New message type.
18103
18104         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
18105
18106         * check/elements/fakesrc.c (test_no_preroll): New check, checks
18107         that setting a live fakesrc to PAUSED returns NO_PREROLL both
18108         times.
18109
18110         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
18111         NO_PREROLL from gst_element_change_state to fall through.
18112
18113 2005-10-07  Wim Taymans  <wim@fluendo.com>
18114
18115         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
18116         (gst_ghost_pad_do_activate_push):
18117         Activating a ghostpad with no internal pad in push mode
18118         is ok.
18119
18120 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18121
18122         * gst/gstobject.h:
18123           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
18124           Fixes compilation on Windows.
18125
18126 2005-10-07  Michael Smith <msmith@fluendo.com>
18127
18128         * tools/gst-inspect.c:
18129           Print out feature and plugin count at the end when printing out
18130           all features.
18131
18132 2005-10-04  Michael Smith <msmith@fluendo.com>
18133
18134         * gst/gsterror.c: (_gst_stream_errors_init):
18135           Add another error string used in a few existing plugins.
18136
18137         * gst/gstplugin.c:
18138         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18139         * tools/gst-inspect.c: (print_element_info):
18140           When a feature disappears from a plugin (and the feature exists in
18141           the cached registry file), things went horribly wrong. This isn't a
18142           complete fix, we should actually be removing the 'missing' features
18143           from the features list when we load the actual plugin. That's not
18144           yet implemented. 
18145
18146 2005-10-04  Johan Dahlin  <johan@gnome.org>
18147
18148         * check/gst/gstiterator.c: (GST_START_TEST):
18149         * gst/gstbin.c: (gst_bin_iterate_elements),
18150         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
18151         * gst/gstelement.c: (gst_element_iterate_pads):
18152         * gst/gstformat.c: (gst_format_iterate_definitions):
18153         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18154         (gst_iterator_new_list), (gst_iterator_filter):
18155         * gst/gstiterator.h:
18156         * gst/gstquery.c: (gst_query_type_iterate_definitions):
18157         Add a GType to GstIterator, update callsites and tests.
18158
18159 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18160
18161         * gst/gstpad.c: (gst_pad_event_default_dispatch):
18162           give events a chance to be handled by event probes when the pad
18163           is not linked
18164
18165 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18166
18167         * gst/gstevent.c: (gst_event_type_get_name),
18168         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
18169         * gst/gstevent.h:
18170           add string representations for event types
18171
18172 2005-10-06  Wim Taymans  <wim@fluendo.com>
18173
18174         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
18175         Don't use NULL pointers.
18176
18177 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18178
18179         * gst/gst_private.h:
18180         * gst/gstbus.c:
18181         * gst/gstelement.c:
18182         * gst/gstinfo.c:
18183         * gst/gstpluginfeature.c:
18184           widen the debug category in output to fit the biggest one we have
18185           add a bus category and use it
18186           play with the colors
18187           fix up some categories
18188
18189 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18190
18191         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
18192           add push activation of sink ghost pads.
18193           Andye, please verify
18194
18195 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18196
18197         * gst/gstutils.c: (gst_element_link_pads):
18198           fix a bug in the case where neither element has a pad
18199         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18200           add a test for that case
18201
18202 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18203
18204         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
18205           emit have-data before checking for peers.  This allows
18206           for probe handlers to connect elements.  This helps autopluggers.
18207         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
18208         (gst_pad_suite):
18209           add six checks, linked/unlinked with no/true/false probe
18210
18211 2005-10-04  Wim Taymans  <wim@fluendo.com>
18212
18213         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
18214         (gst_fake_sink_event), (gst_fake_sink_preroll),
18215         (gst_fake_sink_render), (gst_fake_sink_change_state):
18216         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
18217         (gst_fake_src_get_property), (gst_fake_src_create),
18218         (gst_fake_src_stop):
18219         * gst/elements/gstidentity.c: (gst_identity_stop):
18220         Protect last_message with lock.
18221
18222 2005-10-04  Edward Hervey  <edward@fluendo.com>
18223
18224         * gst/gstformat.h: 
18225         Added precision in the comments for GST_FORMAT_DEFAULT
18226
18227 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
18228
18229         * tools/gst-launch.c: (main):
18230           Don't try to run erroneous pipelines.
18231
18232 2005-10-04  Julien MOUTTE  <julien@moutte.net>
18233
18234         * gst/gstbus.c: We don't need this header.
18235
18236 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18237
18238         * configure.ac:
18239           back to development
18240
18241 === release 0.9.3 ===
18242
18243 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18244
18245         * README:
18246         * configure.ac:
18247           Releasing 0.9.3, "Unregistered"
18248
18249 2005-10-03  Andy Wingo  <wingo@pobox.com>
18250
18251         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
18252         whereby calling a pad's activatepush() function can start a thread
18253         that starts to push or pull before the pad gets the FLUSHING flag
18254         unset. Hack around it by holding the stream lock until the flag is
18255         set. Need to replace this with a proper solution. Together with
18256         the ghost pad fixes, this fixes mp3 playing/tagreading.
18257
18258         * docs/design/part-gstghostpad.txt: Add a note about activation of
18259         proxy pads outside of ghost pads.
18260
18261         * gst/gstghostpad.c: Implement the ghost pad activation design.
18262
18263 2005-10-02  Andy Wingo  <wingo@pobox.com>
18264
18265         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
18266         It is volatile, after all.
18267
18268         * docs/design/part-gstghostpad.txt: Flesh out activation with
18269         ghost pads.
18270
18271         * gst/base/gstbasesrc.c (gst_base_src_init): Use
18272         GST_DEBUG_FUNCPTR.
18273
18274 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
18275
18276         * configure.ac:
18277           Fix (unused) AM_CONDITIONAL tests.
18278
18279 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
18280
18281         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18282
18283         * gst/gstutils.c: (gst_pad_query_convert):
18284           Add assertion that makes sure src_val is >=0, just like
18285           gst_query_new_convert() has. (#315895)
18286
18287 2005-09-30  Edward Hervey  <edward@fluendo.com>
18288
18289         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
18290         Let's not iterate pads we're not interested in, it avoids getting 
18291         sky-high refcounts on sinkpad.
18292
18293 2005-09-30  Wim Taymans  <wim@fluendo.com>
18294
18295         * gst/gstelement.c: (gst_element_set_state),
18296         (gst_element_change_state):
18297         Small tweak, element in ASYNC remains ASYNC.
18298
18299 2005-09-30  Wim Taymans  <wim@fluendo.com>
18300
18301         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18302         Only error is an error.
18303
18304         * gst/gstbin.c: (gst_bin_change_state):
18305         Better debugging.
18306
18307         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
18308         Also call pad_block in pad alloc.
18309
18310         * gst/gstutils.c: (gst_flow_get_name):
18311         Better debugging.
18312
18313 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18314
18315         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18316         (gst_base_src_get_range):
18317           Fix documentation typos. Add some more debug info.
18318
18319 2005-09-29  David Schleef  <ds@schleef.org>
18320
18321         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
18322           more end-user friendly.
18323         * tools/gst-inspect.c: (main): Check if command-line argument is
18324           a file and attempt to load that file as a plugin.
18325
18326 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18327
18328         * check/gst/gstbin.c:
18329         * check/states/sinks.c:
18330           fix tests for the new warning
18331         * check/gst/gstpipeline.c:
18332           add a test for pipeline and bus interaction
18333         * gst/gstelement.c:
18334           elements should be NULL if they get disposed; add a warning if not
18335
18336 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18337
18338         * gst/gstobject.c:
18339           for 2.6 refcounting, make debug log more correct by printing
18340           the actual refcounts at the time of swap (Wim)
18341
18342 2005-09-29  Andy Wingo  <wingo@pobox.com>
18343
18344         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
18345         removes signal watches previously added via
18346         gst_bus_add_signal_watch.
18347         (gst_bus_add_signal_watch): Don't return the source id, just store
18348         it on the bus if there wasn't an id already.
18349
18350         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
18351         add_signal_watch and remove_signal_watch.
18352
18353 2005-09-29  Edward Hervey  <edward@fluendo.com>
18354
18355         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
18356         Better if we actually iterate the list :)
18357
18358 2005-09-29  Wim Taymans  <wim@fluendo.com>
18359
18360         * check/gst/gstbin.c: (GST_START_TEST):
18361         Change for new bus API.
18362
18363         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18364         (send_messages), (GST_START_TEST), (gstbus_suite):
18365         Change for new bus signal API.
18366
18367         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
18368         (gst_bus_source_prepare), (gst_bus_source_check),
18369         (gst_bus_create_watch), (gst_bus_add_watch_full),
18370         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
18371         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
18372         * gst/gstbus.h:
18373         Remove support for multiple GSources operating on different
18374         message types as it is too complex and unneeded when using
18375         signals.
18376         Added support for receiving signals from the bus.
18377
18378 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18379
18380         * docs/libs/tmpl/gstdataprotocol.sgml:
18381         * docs/manual/advanced-dataaccess.xml:
18382         * gst/elements/gstcapsfilter.c:
18383         * gst/gstutils.c:
18384           rename filter-caps to caps property
18385
18386 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18387
18388         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18389           More robust fraction string parsing.
18390
18391         * docs/pwg/appendix-porting.xml:
18392           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
18393
18394 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18395
18396         * gst/gstcaps.c: (gst_caps_do_simplify):
18397           Thou shalt not free a structure and then continue using it
18398           in the next loop iteration.
18399
18400         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
18401         (gst_caps_suite):
18402           Add test case for caps simplification.
18403
18404 2005-09-29  Wim Taymans  <wim@fluendo.com>
18405
18406         * check/gst/gstbin.c: (GST_START_TEST):
18407         Oops.
18408
18409 2005-09-29  Wim Taymans  <wim@fluendo.com>
18410
18411         * check/gst/gstbin.c: (GST_START_TEST):
18412         Add bus to bin.
18413
18414         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
18415         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18416         (find_element), (gst_bin_sort_iterator_next),
18417         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18418         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18419         (gst_bin_change_state), (gst_bin_dispose):
18420         A bin does not have a bus, it gets the bus from the parent.
18421
18422         * gst/gstelement.c: (gst_element_requires_clock),
18423         (gst_element_provides_clock), (gst_element_is_indexable),
18424         (gst_element_is_locked_state), (gst_element_change_state),
18425         (gst_element_set_bus_func):
18426         Small cleanups.
18427
18428         * gst/gstpipeline.c: (gst_pipeline_class_init),
18429         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
18430         The pipeline provides a bus.
18431
18432 2005-09-28  Johan Dahlin  <johan@gnome.org>
18433
18434         * gst/gstmessage.c (gst_message_parse_state_changed): Use
18435         gst_structure_get_enum instead of gst_structure_get_int
18436
18437         * gst/gststructure.c (gst_structure_get_enum): Impl.
18438
18439         * gst/gststructure.h (gst_structure_get_enum): Add
18440
18441         * docs/gst/gstreamer-sections.txt: Ditto
18442
18443         * gst/gstmessage.c (gst_message_new_state_changed): Use
18444         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
18445         which does introspection.
18446         Reviewed by Christian Schaller
18447
18448 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18449
18450         * gst/gstinfo.c: (gst_debug_log_default):
18451           don't do dummy g_strdup()s
18452         * libs/gst/controller/gstcontroller.c:
18453         (on_object_controlled_property_changed),
18454         (gst_controlled_property_new), (gst_controller_new_valist),
18455         (gst_controller_new_list),
18456         (gst_controller_remove_properties_valist), (gst_controller_set),
18457         (gst_controller_get), (gst_controller_sync_values),
18458         (gst_controller_get_value_array), (_gst_controller_class_init),
18459         (gst_controller_get_type):
18460         * libs/gst/controller/gstcontroller.h:
18461         * libs/gst/controller/gstinterpolation.c:
18462         (gst_controlled_property_find_timed_value_node):
18463           convert // to /**/ comments
18464
18465 2005-09-28  Wim Taymans  <wim@fluendo.com>
18466
18467         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
18468         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
18469         (gst_bus_sync_signal_handler):
18470         * gst/gstbus.h:
18471         Added async-message and sync-message signals to the bus.
18472         Added helper BusFunc to emit signals for all posted messages.
18473
18474         * gst/gstmessage.c: (gst_message_type_get_name),
18475         (gst_message_type_to_quark), (gst_message_get_type):
18476         * gst/gstmessage.h:
18477         Register quarks for message names.
18478
18479 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18480
18481         * docs/libs/gstreamer-libs-sections.txt:
18482         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
18483         (gst_controller_new_list):
18484         * libs/gst/controller/gstcontroller.h:
18485           added another constructor for language bindings
18486
18487 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18488
18489         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18490           add another check
18491         * gst/gstbus.c:
18492           add some doc
18493         * gst/gstinfo.c: (_gst_debug_init):
18494           slightly more readable color for refcount debugging
18495
18496 2005-09-28  Wim Taymans  <wim@fluendo.com>
18497
18498         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18499         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18500         (find_element), (gst_bin_sort_iterator_next),
18501         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18502         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18503         (gst_bin_change_state), (gst_bin_dispose):
18504         Small doc fixes. get_clock -> provide_clock.
18505
18506         * gst/gstelement.c: (gst_element_class_init),
18507         (gst_element_provides_clock), (gst_element_provide_clock),
18508         (gst_element_get_clock), (gst_element_commit_state),
18509         (gst_element_lost_state):
18510         * gst/gstelement.h:
18511         Make get/set_clock() symetric. Add provide_clock vmethod since
18512         that is actually what this function does.
18513
18514         * gst/gstpipeline.c: (gst_pipeline_class_init),
18515         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
18516         (gst_pipeline_get_clock):
18517         get_clock -> provide_clock.
18518
18519 2005-09-28  Andy Wingo  <wingo@pobox.com>
18520
18521         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
18522         lieu of real docs...
18523
18524         * gst/elements/gstfdsrc.c: Cleaned up a bit.
18525
18526 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
18527
18528         * gst/elements/gstcapsfilter.c:
18529         * gst/elements/gstfakesink.c:
18530         * gst/elements/gstfakesrc.c:
18531         * gst/elements/gstfdsink.c:
18532         * gst/elements/gstfdsrc.c:
18533         * gst/elements/gstfilesink.c:
18534         * gst/elements/gstfilesrc.c:
18535         * gst/elements/gstidentity.c:
18536         * gst/elements/gsttee.c:
18537         * gst/elements/gsttypefindelement.c:
18538           Make element details static.
18539
18540 2005-09-28  Wim Taymans  <wim@fluendo.com>
18541
18542         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18543         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18544         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18545         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18546         (gst_bin_change_state), (gst_bin_dispose):
18547         Some documentation updates.
18548         Clean up dispose handlers.
18549
18550         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
18551         * gst/gstpad.c: (gst_pad_dispose):
18552         Clean up dispose handler.
18553
18554         * gst/gstpipeline.c: (gst_pipeline_change_state):
18555         Removed spurious UNLOCK.
18556
18557 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
18558
18559         * docs/gst/gstreamer-sections.txt:
18560         * gst/base/gstbasesrc.h:
18561         * gst/gstelement.h:
18562         * gst/gstevent.h:
18563         * gst/gstobject.h:
18564         * gst/gstpad.h:
18565         * gst/gstpipeline.c:
18566         * gst/gstpipeline.h:
18567         * gst/gstutils.h:
18568         * gst/gstxml.h:
18569           added two new functions to the docs
18570                 documents all undocumented GstXXXFlags
18571                 completed some incomplete docs 
18572
18573 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18574
18575         * gst/gstbin.c: (gst_bin_dispose):
18576         * gst/gstelement.c: (gst_element_dispose):
18577           remove now useless and leaky resurrection code in dispose
18578         * gst/base/gstbasesrc.c: (gst_base_src_init):
18579         * gst/gstelementfactory.c: (gst_element_factory_create):
18580         * gst/gstobject.c: (gst_object_set_parent):
18581           add some debugging
18582
18583 2005-09-27  Wim Taymans  <wim@fluendo.com>
18584
18585         * docs/design/part-TODO.txt:
18586         Update TODO.
18587
18588         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18589         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18590         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18591         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18592         (gst_bin_change_state):
18593         * gst/gstelement.h:
18594         Remove element variable, we keep element info in the iterator now.
18595
18596 2005-09-27  Andy Wingo  <wingo@pobox.com>
18597
18598         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
18599         values.
18600
18601 2005-09-27  Wim Taymans  <wim@fluendo.com>
18602
18603         * check/gst/gstbin.c: (GST_START_TEST):
18604         Enable check that works now.
18605
18606         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18607         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18608         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18609         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18610         (gst_bin_change_state):
18611         * gst/gstbin.h:
18612         Redid the state change algorithm using a topological sort algo.
18613         Handles all cases correctly.
18614         Exposed iterator for state change order.
18615
18616         * gst/gstelement.h:
18617         Temp storage for state changes. Need to get rid of this soon.
18618
18619 2005-09-27  Wim Taymans  <wim@fluendo.com>
18620
18621         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
18622         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
18623         (link_fold_func), (gst_pad_proxy_setcaps):
18624         Leak fixes, the fold functions need to unref the passed object and
18625         _get_parent_*() returns ref to parent.
18626
18627 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18628
18629         * check/gst/gstbuffer.c: (test_make_writable):
18630           Plug leak in test case and fix 'make check-valgrind'
18631
18632 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18633
18634         * gst/gstbuffer.c: (gst_subbuffer_init):
18635           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
18636           works correctly in all circumstances (we could have just copied
18637           the parent buffer's readonly flag, but conceptually it seems
18638           cleaner to mark all subbuffers as read-only). (based on patch
18639           by Alessandro Decina, #314710).
18640         
18641         * check/gst/gstbuffer.c: (create_read_only_buffer),
18642         (test_make_writable), (test_subbuffer_make_writable),
18643         (gst_test_suite):
18644           Add some tests for gst_buffer_make_writable().
18645
18646 2005-09-27  Wim Taymans  <wim@fluendo.com>
18647
18648         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
18649         use gst_object_has_ancestor().
18650
18651         * gst/gstobject.c: (gst_object_has_ancestor):
18652         * gst/gstobject.h:
18653         gst_object_has_ancestor() copied from gstbin.c as it is a
18654         useful function.
18655
18656         * tests/instantiate/create.c: (create_all_elements):
18657         * tests/lat.c: (handoff_src), (handoff_sink):
18658         * tests/sched/runxml.c: (main):
18659         * tests/seeking/seeking1.c: (main):
18660         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18661         (main):
18662         Fix compilation of some tests.
18663
18664 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18665
18666         * gst/gsterror.h:
18667           Remove comment. GST_TYPE_G_ERROR is here to stay,
18668           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
18669           (#316961, #300610).
18670
18671 2005-09-26  Wim Taymans  <wim@fluendo.com>
18672
18673         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18674         Added check that shows error in state change order.
18675
18676 2005-09-26  Wim Taymans  <wim@fluendo.com>
18677
18678         * gst/gstbin.c: (gst_bin_change_state):
18679         Make state change function use 3 queues again, we were
18680         adding elements in the wrong order.
18681
18682         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
18683         Some debug info,
18684
18685         * gst/gstpad.c: (gst_pad_dispose):
18686         Added some debug info first.
18687
18688 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
18689
18690         * docs/design/draft-push-pull.txt:
18691         * docs/design/part-events.txt:
18692         * docs/design/part-overview.txt:
18693         * docs/design/part-scheduling.txt:
18694           Replace all _pull_region() with _pull_range()
18695           
18696 2005-09-26  Andy Wingo  <wingo@pobox.com>
18697
18698         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
18699
18700         * check/gst-libs/controller.c: Update for controller api change.
18701
18702         * configure.ac: 
18703         * tests/Makefile.am:
18704         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
18705         over by GLib bug 118439.
18706         
18707         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
18708         routines to a function.
18709
18710         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
18711
18712         * libs/gst/controller/gsthelper.c:
18713         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
18714         (gst_object_sync_values): Renamed from sink_values. Ugh.
18715
18716         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
18717
18718         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
18719         Renamed from controller_key, as it is exported.
18720
18721         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
18722
18723 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
18724
18725         * gst/Makefile.am:
18726         * gst/gst.h:
18727         * gst/gstpad.h:
18728         * gst/gstpadtemplate.h:
18729         * gst/gstquery.c:
18730         * gst/gstquery.h:
18731         * gst/gstqueryutils.c:
18732         * gst/gstqueryutils.h:
18733           remove queryutils headers after moving the two used functions
18734           to gstquery.  also fixes build problem for gstsiddec
18735
18736 2005-09-26  Michael Smith <msmith@fluendo.com>
18737
18738         * tools/gst-launch.1.in:
18739         Correct documentation in manpage of debug syntax
18740
18741 2005-09-26  Wim Taymans  <wim@fluendo.com>
18742
18743         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
18744         (gst_base_src_is_seekable), (gst_base_src_change_state):
18745         Some more debugging info.
18746
18747 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18748
18749         * docs/gst/gstreamer-sections.txt:
18750         * gst/base/gstbasetransform.h:
18751         * gst/gstindex.h:
18752           added more docs
18753
18754 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18755
18756         * docs/gst/.cvsignore:
18757         * docs/gst/tmpl/.cvsignore:
18758         * docs/gst/tmpl/gstpipeline.sgml:
18759         * docs/gst/tmpl/gstplugin.sgml:
18760         * gst/gstpipeline.c:
18761         * gst/gstplugin.c:
18762         * gst/gstplugin.h:
18763           inlined the last two docs files
18764           removed the tmpl directory from cvs (no more conflicts here!)
18765
18766 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18767
18768         * docs/gst/gstreamer-sections.txt:
18769         * docs/gst/tmpl/.cvsignore:
18770         * docs/gst/tmpl/gstpad.sgml:
18771         * docs/gst/tmpl/gstpadtemplate.sgml:
18772         * gst/Makefile.am:
18773         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
18774         (gst_pad_finalize), (gst_pad_set_pad_template):
18775         * gst/gstpad.h:
18776         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
18777         (gst_pad_template_class_init), (gst_pad_template_init),
18778         (gst_pad_template_dispose), (name_is_valid),
18779         (gst_static_pad_template_get), (gst_pad_template_new),
18780         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
18781         (gst_pad_template_pad_created):
18782         * gst/gstpadtemplate.h:
18783           inlined two more docs
18784           factored gstpadtemplate out of gstpad
18785
18786 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
18787
18788         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18789         (test_children_state_change_order_semi_sink):
18790           Fix test case: we can't rely on a fixed state change order when
18791           going from READY => PAUSED because the sink might commit its 
18792           new state first when the first buffer created by the source 
18793           reaches the sink before the source has finished its change state.
18794           (Test case still fails at times, see #316856, comment 5 onwards)
18795
18796 2005-09-24  Wim Taymans  <wim@fluendo.com>
18797
18798         * docs/design/part-events.txt:
18799         * docs/design/part-gstbus.txt:
18800         * docs/design/part-gstpipeline.txt:
18801         * docs/design/part-messages.txt:
18802         * docs/design/part-overview.txt:
18803         * docs/design/part-segments.txt:
18804         * gst/gstbin.c:
18805         * gst/gstbuffer.c:
18806         * gst/gstclock.c:
18807         * gst/gstelement.c:
18808         * gst/gstevent.c:
18809         * gst/gstfilter.c:
18810         * gst/gstiterator.c:
18811         Various documentation updates.
18812
18813 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18814
18815         * gst/gstclock.h:
18816           Well, that's embarassing.  Luckily we weren't using
18817           GST_CLOCK_DIFF anywhere.
18818
18819 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18820
18821         * common/gtk-doc.mak:
18822           don't fail on building XML, FC4 slave shows a bunch of doc
18823           missing bits that I don't get
18824         * gst/gstpad.c:
18825         * gst/gstpipeline.c:
18826         * gst/gststructure.c:
18827           some doc updates
18828
18829 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
18830
18831         * docs/design/part-gstbin.txt:
18832         * docs/design/part-gstbus.txt:
18833         * gst/gstbus.c:
18834           Add blurb about how the bus goes into flushing mode and
18835           drops all messages when its bin goes from READY into NULL 
18836           state.
18837
18838 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18839
18840         * docs/gst/gstreamer-sections.txt:
18841         * gst/gststructure.c: (gst_structure_get_clock_time):
18842         * gst/gststructure.h:
18843           add a method to get a GstClockTime out of a structure
18844
18845 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
18846
18847         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18848         (test_children_state_change_order_semi_sink), (gst_bin_suite):
18849           Added test to check state change order in bins (can still be made
18850           to fail here under heavy disk load; bails out with 'Push on pad
18851           fakesink:sink0, but it was not activated in push mode').
18852
18853         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
18854           Fix state change order when there is only a semi sink (#316856)
18855
18856         * gst/gstbus.c: (gst_bus_class_init):
18857           Use _class_peek_parent(), not _class_ref(); fix docs to say
18858           'default main context' instead of 'mainloop' where that is
18859           what's meant.
18860
18861         * gst/gstelement.c: (gst_element_commit_state),
18862         (gst_element_set_state):
18863           Fix typos in debug messages
18864
18865 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18866
18867         * docs/README:
18868         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
18869         * gst/gstpluginfeature.c:
18870         * gst/gstutils.c:
18871           various doc updates
18872         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18873           change an assert into an error until it gets fixed properly
18874
18875 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
18876
18877         * docs/gst/gstreamer-sections.txt:
18878         * docs/gst/tmpl/.cvsignore:
18879         * docs/gst/tmpl/gstelement.sgml:
18880         * docs/gst/tmpl/gstinfo.sgml:
18881         * docs/gst/tmpl/gstobject.sgml:
18882         * gst/gstelement.c:
18883         * gst/gstelement.h:
18884         * gst/gstinfo.c:
18885         * gst/gstinfo.h:
18886         * gst/gstobject.c: (gst_object_class_init):
18887         * gst/gstobject.h:
18888           inlined 3 more biiiig doc files and added some missing docs on the fly
18889
18890 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18891
18892         * check/gst/.cvsignore:
18893         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
18894         * gst/gstregistryxml.c: (load_plugin),
18895         (gst_registry_xml_save_plugin):
18896           put back source in registry.  add checks for find_plugin.
18897         * testsuite/states/bin.c: (assert_state), (empty_bin),
18898         (test_adding_one_element), (main):
18899         * testsuite/states/locked.c: (main):
18900           some compile/run fixes
18901
18902 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18903
18904         * check/gst/gstvalue.c: (GST_START_TEST):
18905           fix leaks in the test itself
18906
18907 2005-09-22  Wim Taymans  <wim@fluendo.com>
18908
18909         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18910         (gst_base_sink_send_event), (gst_base_sink_peer_query),
18911         (gst_base_sink_query):
18912         Prepare for more accurate position reporting and query
18913         handling.
18914
18915         * gst/gstelement.c: (gst_element_send_event),
18916         (gst_element_set_state):
18917         Add some comment.
18918
18919 2005-09-22  Wim Taymans  <wim@fluendo.com>
18920
18921         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
18922         (gst_query_parse_segment):
18923         * gst/gstquery.h:
18924         More documentation.
18925         Add segment query for future use.
18926
18927 2005-09-22  Wim Taymans  <wim@fluendo.com>
18928
18929         * gst/gstbin.c: (gst_bin_add_func):
18930         Some more debug info.
18931
18932         * gst/gstelement.c: (gst_element_send_event):
18933         Simplify send_event
18934
18935         * gst/gstelement.h:
18936         Don't know how flags got broken.
18937
18938         * gst/gstquery.h:
18939         Added new query.
18940
18941 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
18942
18943         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
18944           Add simplistic test suite for GST_TYPE_DATE serialisation and
18945           deserialisation.
18946
18947 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
18948
18949         * docs/gst/gstreamer-sections.txt:
18950         * gst/gststructure.c: (gst_structure_set_valist),
18951         (gst_structure_get_date):
18952         * gst/gststructure.h:
18953         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
18954         (gst_date_copy), (gst_value_compare_date),
18955         (gst_value_serialize_date), (gst_value_deserialize_date),
18956         (gst_value_transform_date_string),
18957         (gst_value_transform_string_date), (_gst_value_initialize):
18958         * gst/gstvalue.h:
18959           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
18960           bunch of utility functions along with a hack that checks that
18961           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
18962           is required. Part of the grand scheme in #170777.
18963
18964 2005-09-22  Andy Wingo  <wingo@pobox.com>
18965
18966         * gst/gstconfig.h.in: Psych out gtk-doc.
18967
18968         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
18969
18970         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
18971
18972         * tools/gst-inspect.c (print_element_list): Plug some
18973         inconsequential leaks.
18974
18975         * gst/gstregistry.c (gst_registry_get_default): Doc.
18976
18977         * check/gst/gstplugin.c: 
18978         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
18979         * gst/gstelementfactory.c (gst_element_factory_create): 
18980         * gst/gstindexfactory.c (gst_index_factory_create): Update for
18981         refcount changes.
18982
18983         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
18984         (gst_plugin_feature_load): Doc, don't eat refs.
18985
18986         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
18987         (gst_plugin_list_free): Doc.
18988         (gst_plugin_load_file): Doc updates.
18989
18990         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
18991         accessors returning refcounted objects, return a ref.
18992
18993         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
18994         accessor for caps. IDEMPOTENCE. Oh yes.
18995
18996 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
18997
18998         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18999
19000         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19001         (_gst_debug_register_funcptr):
19002           Add mutex to serialise access to the hash table with
19003           the function pointer => function name string mapping;
19004           make that hash table static scope (#316809).
19005
19006         * gst/registries/.cvsignore:
19007           Remove left-over file.
19008
19009 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19010
19011         * docs/pwg/appendix-porting.xml:
19012           And something about newsegment events and caps-on-buffers to
19013           the porting guide (feel free to improve).
19014
19015 2005-09-21  Andy Wingo  <wingo@pobox.com>
19016
19017         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
19018         data and event probes on the same pad.
19019         (test_buffer_probe_once): Test that removing probes from within
19020         the probe functions works.
19021
19022 2005-09-21  Andy Wingo  <wingo@pobox.com>
19023
19024         * check/gst/gstutils.c: New file.
19025         (test_buffer_probe_n_times): A simple buffer probe test. More to
19026         come, foolios.
19027
19028         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
19029         have-data::buffer, not have-data.
19030         (gst_pad_add_event_probe): Likewise for have-data::event.
19031         (gst_pad_add_data_probe): More docs. The part about 'resolving the
19032         peer' isn't quite right yet though.
19033         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
19034         (gst_pad_remove_data_probe): Change to take the guint handler_id
19035         as their arg, not the function+data, which is more glib-like.
19036
19037         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
19038         the signal emission to indicate if the data is a buffer or an
19039         event.
19040         (gst_pad_get_type): Initialize buffer and event quarks.
19041         (gst_pad_class_init): have-data is now a detailed signal, yes it
19042         is.
19043
19044 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19045
19046         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19047         * gst/gstutils.c: (gst_util_set_value_from_string),
19048         (gst_util_set_object_arg):
19049           Don't put functional code in g_return_if_fail() or
19050           g_return_val_if_fail() statements, otherwise things will 
19051           break when G_DISABLE_CHECKS is defined during compilation.
19052
19053 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19054
19055         * docs/gst/tmpl/.cvsignore:
19056         * docs/gst/tmpl/gstvalue.sgml:
19057         * gst/gstvalue.c:
19058         * gst/gstvalue.h:
19059           inlied another one and added  some obvious docs
19060
19061 2005-09-21  Wim Taymans  <wim@fluendo.com>
19062
19063         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19064         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
19065         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
19066         (gst_fdsrc_get_property), (gst_fdsrc_create):
19067         * gst/elements/gstfdsrc.h:
19068         Properly implement fdsrc. Removed signal and timeout,
19069         better implemented somewhere else.
19070
19071 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19072
19073         * docs/gst/tmpl/.cvsignore:
19074         * docs/gst/tmpl/gstimplementsinterface.sgml:
19075         * gst/gstinterface.c:
19076           inlined more docs
19077
19078 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19079
19080         * docs/gst/gstreamer-sections.txt:
19081         * docs/gst/tmpl/.cvsignore:
19082         * docs/gst/tmpl/gstenumtypes.sgml:
19083           remove obsolete doc file
19084
19085 2005-09-21  David Schleef  <ds@schleef.org>
19086
19087         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
19088         little beer, fix a little leak.
19089
19090 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19091
19092         * docs/gst/gstreamer-docs.sgml:
19093         * docs/gst/gstreamer-sections.txt:
19094         * docs/gst/tmpl/.cvsignore:
19095         * gst/Makefile.am:
19096         * gst/gst.h:
19097         * gst/gstbin.c:
19098         * gst/gstelement.h:
19099         * gst/gstindex.c: (gst_index_class_init):
19100         * gst/gstindex.h:
19101         * gst/gstindexfactory.c: (gst_index_factory_get_type),
19102         (gst_index_factory_class_init), (gst_index_factory_init),
19103         (gst_index_factory_finalize), (gst_index_factory_new),
19104         (gst_index_factory_destroy), (gst_index_factory_find),
19105         (gst_index_factory_create), (gst_index_factory_make):
19106         * gst/gstindexfactory.h:
19107         * gst/gstpluginfeature.c:
19108         * gst/gstpluginfeature.h:
19109         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19110           more docs inlined, splitted gstindex.{c,h}
19111
19112 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19113
19114         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19115           fix a leak
19116
19117 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19118
19119         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19120           Set sync to FALSE by default.
19121
19122 2005-09-20  Wim Taymans  <wim@fluendo.com>
19123
19124         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19125         (gst_base_sink_init):
19126         Make sync property settable from subclass.
19127
19128         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19129         (gst_fake_sink_change_state):
19130         Set sync to FALSE by default.
19131
19132 2005-09-20  Wim Taymans  <wim@fluendo.com>
19133
19134         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
19135         * tools/gst-launch.c: (main):
19136         The timeout handler should have lower priority than the source
19137         so we don't timeout before popping a message with 0 timeout.
19138         Dump error messages after failed state change.
19139
19140 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19141
19142         * tools/gst-inspect.c: (print_element_properties_info):
19143           Fix two typos.
19144
19145 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19146
19147         * check/gst/gstevent.c:
19148         * gst/elements/gstfakesink.c:
19149         * gst/elements/gstfakesink.h:
19150           remove the sync property from fakesink.
19151           has the side effect of setting sync TRUE
19152           for fakesink, which is a change.  Anyone who knows how
19153           to fix this nicely in a GObject-y way, feel free.
19154
19155 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19156
19157         * docs/gst/gstreamer-docs.sgml:
19158           remove probe refsection
19159
19160 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19161
19162         * check/Makefile.am:
19163           disable valgrinding the controller test again
19164         * docs/gst/gstreamer-sections.txt:
19165           update for api-changes
19166
19167 2005-09-20  Wim Taymans  <wim@fluendo.com>
19168
19169         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19170         (gst_base_sink_set_property), (gst_base_sink_get_property),
19171         (gst_base_sink_do_sync):
19172         * gst/base/gstbasesink.h:
19173         Added sync property to basesink to disable clock sync.
19174
19175 2005-09-20  Andy Wingo  <wingo@pobox.com>
19176
19177         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
19178         eating the caller's refcount.
19179
19180         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
19181         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
19182         refcount.
19183
19184         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
19185         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
19186         of GLib 2.8 public, so we can know which refcount to check in
19187         tests.
19188
19189         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
19190         (gst_object_init): Only set the gst refcount if we're going ahead
19191         with the refcount hack.
19192
19193 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19194
19195         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19196         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19197           more leaks plumbed, added more debug-logging
19198         * gst/gstmacros.h:
19199           whitespace fix
19200
19201 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19202
19203         * gst/gstmessage.c:
19204           remove include of gstmemchunk.h
19205
19206 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19207
19208         * gst/gstclock.c: (_gst_clock_id_free):
19209           Commit from the Political Party For More Atomic CVS Commits,
19210           so that people don't waste too much of their day fishing
19211           out obvious leaks out of massive commits.
19212           Oh, and fix a pretty damn obvious leak in the memchunk
19213           removal code.
19214
19215 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19216
19217         * check/Makefile.am:
19218         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19219           plug mem-leak, re-add to valgrindable tests
19220
19221 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19222
19223         * gst/gstplugin.h:
19224           unbreak the build for those who have chronic arthritis
19225           and typing "make check" is just too taxing on the hands
19226
19227 2005-09-20  Andy Wingo  <wingo@pobox.com>
19228
19229         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
19230         really want it out, you should fix plugins at the same time.
19231
19232 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
19233
19234         * configure.ac:
19235         * docs/gst/gstreamer-sections.txt:
19236         * gst/gstobject.c:
19237           added missing symbols to api docs
19238           disable ref-count hack if we have glib >= 2.8
19239
19240 2005-09-19  David Schleef  <ds@schleef.org>
19241
19242         * docs/gst/Makefile.am: Ignore a few more internal headers
19243         * docs/gst/gstreamer-docs.sgml: Remove old sections
19244         * docs/gst/gstreamer-sections.txt: Remove old sections
19245         * docs/gst/tmpl/gstobject.sgml: update
19246         * docs/gst/tmpl/gstplugin.sgml: update
19247         * docs/gst/tmpl/gstpluginfeature.sgml: update
19248         * docs/random/ds/0.9-suggested-changes: update.
19249         * gst/Makefile.am: remove memchunk and trashstack, since they're
19250           not used.
19251         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
19252         * gst/gst.h: don't include some headers
19253         * gst/gstchildproxy.c: add gstmarshal.h
19254         * gst/gstclock.c: Don't use memchunks
19255         * gst/gstminiobject.c: Add some docs
19256         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
19257         * gst/gstobject.h: same
19258         * gst/gstplugin.c: include gstmacros.h
19259         * gst/gstplugin.h: don't include gstmacros.h, since it's private
19260         * gst/gstquery.c: don't use memchunks
19261         * gst/gstregistry.c: rename gst_registry_deinit()
19262         * gst/gstregistry.h: same
19263
19264 2005-09-19  David Schleef  <ds@schleef.org>
19265
19266         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
19267         * docs/libs/gstreamer-libs-sections.txt:
19268         * docs/libs/tmpl/gstgetbits.sgml:
19269         * docs/libs/tmpl/gstputbits.sgml:
19270
19271 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
19272
19273         * win32/gstenumtypes.c:
19274         * win32/gstenumtypes.h:
19275           Update.
19276
19277 2005-09-19  Wim Taymans  <wim@fluendo.com>
19278
19279         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
19280         Automatically PAUSE and RESUME a pipeline when a flushing seek
19281         is performed.
19282
19283 2005-09-19  Andy Wingo  <wingo@pobox.com>
19284
19285         * gst/gstregistry.h: Spacing fixen.
19286
19287 2005-09-19  Wim Taymans  <wim@fluendo.com>
19288
19289         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
19290         Handle state change failure more correctly.
19291
19292 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19293
19294         * check/Makefile.am:
19295         * check/pipelines/cleanup.c: (run_pipeline):
19296         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19297         (GST_START_TEST):
19298           enable cleanup again after fixing the leak
19299         * docs/README:
19300           some more info on docs
19301
19302 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19303
19304         * check/Makefile.am:
19305           re-enable tests now that leaks are plugged
19306         * check/gst/gst.c:
19307         * check/gst/gstbin.c:
19308         * check/gst/gstpipeline.c:
19309           add some more tests while fixing leaks
19310         * common/check.mak:
19311           make sure binaries are uptodate when valgrinding/gdbing
19312         * gst/gst.c:
19313         * gst/gstelementfactory.c:
19314           remove a ref too many, and add a FIXME for when we get
19315           round to disposing of classes
19316         * gst/gstplugin.c:
19317           fix the refcounting when loading a plugin from a file and
19318           the code pretends that the pointer is the same even though
19319           of course it can change
19320         * gst/gstpluginfeature.c:
19321           unref plugins marked cached (a bit confusing as a name)
19322           as the docs state should be done
19323           various doc additions to explain refcounting
19324         * gst/gstregistry.c:
19325         * gst/gstregistryxml.c:
19326           debugging
19327
19328 2005-09-19  Wim Taymans  <wim@fluendo.com>
19329
19330         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19331         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19332         (send_messages), (GST_START_TEST), (gstbus_suite):
19333         * check/gst/gstpipeline.c: (GST_START_TEST):
19334         * check/pipelines/cleanup.c: (run_pipeline):
19335         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19336         (GST_START_TEST):
19337         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
19338         (gst_bus_source_check), (gst_bus_source_dispatch),
19339         (gst_bus_create_watch), (gst_bus_add_watch_full),
19340         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
19341         * gst/gstbus.h:
19342         * tools/gst-launch.c: (event_loop):
19343         * tools/gst-md5sum.c: (event_loop):
19344         GstBusHandler -> GstBusFunc, return value has the same meaning as
19345         any other GSource (FALSE == remove source).
19346         _add_watch() and _add_watch_full() now take a MessageType mask to
19347         only handle specific types of messages.
19348         _poll() returns the GstMessage instead of the message type to avoid
19349         race conditions.
19350         _have_pending() takes a MessageType mask now too.
19351         Added testsuite for multiple bus watches.
19352         Fix testsuites and applications for new bus API.
19353
19354 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19355
19356         * check/Makefile.am:
19357           mark a bunch of the tests as to fix until we fix them
19358
19359 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19360
19361         * common/check.mak:
19362           use GST_PLUGIN settings for valgrind tests as well, so we're
19363           valgrinding the correct thing
19364         * gst/gst.c: (init_post):
19365           plug another leak
19366
19367 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19368
19369         * gst/gst.c: (init_post), (gst_deinit):
19370         * gst/gstelementfactory.c: (gst_element_factory_class_init),
19371         (gst_element_factory_finalize), (gst_element_factory_cleanup):
19372         * gst/gstindex.c: (gst_index_factory_class_init),
19373         (gst_index_factory_finalize):
19374         * gst/gstobject.c: (gst_object_dispose):
19375         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
19376         (gst_plugin_load_file), (gst_plugin_desc_free):
19377         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
19378         (gst_plugin_feature_finalize):
19379         * gst/gstregistry.c: (gst_registry_class_init),
19380         (gst_registry_init), (gst_registry_finalize),
19381         (gst_registry_get_default), (gst_registry_deinit):
19382         * gst/gstregistry.h:
19383         * gst/gstregistryxml.c: (load_feature), (load_plugin):
19384           various cleanups and memleak plugging.  make valgrind is happy now.
19385
19386 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19387
19388         * common/check.mak:
19389           add a check-valgrind target
19390
19391 2005-09-18  David Schleef  <ds@schleef.org>
19392
19393         * tools/gst-inspect.c: Revert the GOption code.
19394
19395 2005-09-17  David Schleef  <ds@schleef.org>
19396
19397         * check/Makefile.am: Fix environment variables.
19398         * check/gst/gstplugin.c: Fix for API changes.
19399         * tools/gst-inspect.c: Fix for API changes.
19400         * tools/gst-xmlinspect.c: Fix for API changes.
19401         * gst/gstelementfactory.c:
19402         * gst/gstplugin.c:
19403         * gst/gstplugin.h:
19404         * gst/gstpluginfeature.c:
19405         * gst/gstpluginfeature.h:
19406         * gst/gstregistry.c:
19407         * gst/gstregistry.h:
19408         * gst/gstregistryxml.c:
19409         * gst/gsttypefind.c:
19410         * gst/gsttypefindfactory.c:
19411         * gst/indexers/gstfileindex.c:
19412         * gst/indexers/gstmemindex.c:
19413         * gst/schedulers/Makefile.am:
19414           Change registry to keep track of both plugins and features,
19415           removing the feature tracking from plugins themselves.
19416
19417 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19418
19419         * check/Makefile.am:
19420         * tools/gst-register.1.in:
19421           remove gst-register
19422
19423 2005-09-15  David Schleef  <ds@schleef.org>
19424
19425         * check/gst/gstplugin.c:
19426         * gst/gstelementfactory.c:
19427         * gst/gstplugin.c:
19428         * gst/gstpluginfeature.c:
19429         * gst/gstregistry.c:
19430           Getting tired of debugging.  Disabled all the unreffing of
19431           plugins and features, which fixes the segfaults, but of
19432           course leaks like crazy.  At least playbin works.
19433
19434 2005-09-15  David Schleef  <ds@schleef.org>
19435
19436         * check/gst/gstplugin.c: (register_check_elements),
19437         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
19438         More testing
19439         * gst/elements/gsttypefindelement.c: Fix refcounting.
19440         * gst/gsttypefind.c:
19441         * gst/gsttypefindfactory.c:
19442         * gst/gsttypefindfactory.h:
19443
19444 2005-09-15  David Schleef  <ds@schleef.org>
19445
19446         * gst/gstindex.c: get refcounting correct.
19447         * gst/gstregistry.c: Handle the case where a feature/plugin is
19448           not found.
19449
19450 2005-09-15  David Schleef  <ds@schleef.org>
19451
19452         * check/Makefile.am:
19453         * check/gst/gstplugin.c: Add test
19454         * gst/gstplugin.c: Fix problems noticed by testsuite
19455         * gst/gstplugin.h:
19456         * gst/gstregistry.c: 
19457         * gst/gstregistry.h:
19458
19459 2005-09-15  David Schleef  <ds@schleef.org>
19460
19461         * gst/gstplugin.c: Implement semi-decent recounting and locking
19462           in plugins and plugin features.
19463         * gst/gstplugin.h:
19464         * gst/gstpluginfeature.c:
19465         * gst/gstpluginfeature.h:
19466         * gst/gstregistry.c:
19467
19468 2005-09-15  Michael Smith <msmith@fluendo.com>
19469
19470         * gst/gstregistry.c: (gst_registry_get_feature_list):
19471           Implement this. Makes oggdemux work; decodebin still broken.
19472
19473 2005-09-14  David Schleef  <ds@schleef.org>
19474
19475         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
19476           #316076)
19477         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
19478         * gst/check/Makefile.am:
19479         * libs/gst/controller/Makefile.am:
19480         * libs/gst/dataprotocol/Makefile.am:
19481
19482 2005-09-14  David Schleef  <ds@schleef.org>
19483
19484         * configure.ac: Remove getbits library.  Nothing uses it, and
19485           it should be in something like liboil if someone did want
19486           to use it.
19487         * libs/gst/Makefile.am:
19488         * libs/gst/getbits/Makefile.am:
19489         * libs/gst/getbits/gbtest.c:
19490         * libs/gst/getbits/getbits.c:
19491         * libs/gst/getbits/getbits.h:
19492         * libs/gst/getbits/gstgetbits_generic.c:
19493         * libs/gst/getbits/gstgetbits_i386.s:
19494         * libs/gst/getbits/gstgetbits_inl.h:
19495
19496 2005-09-14  David Schleef  <ds@schleef.org>
19497
19498         * gst/Makefile.am: Dist glib-compat.h
19499
19500 2005-09-14  David Schleef  <ds@schleef.org>
19501
19502         * configure.ac: Remove gst/registries, since it's no longer used.
19503         * gst/registries/Makefile.am:
19504         * gst/registries/gstlibxmlregistry.c:
19505         * gst/registries/gstlibxmlregistry.h:
19506         * gst/registries/gstxmlregistry.c:
19507         * gst/registries/gstxmlregistry.h:
19508         * gst/registries/registrytest.c:
19509
19510 2005-09-14  David Schleef  <ds@schleef.org>
19511
19512         * gst/glib-compat.h:
19513         * gst/gstregistryxml.c:
19514           Convergence is near.  Seriously.
19515
19516 2005-09-14  David Schleef  <ds@schleef.org>
19517
19518         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19519         * gst/glib-compat.h:
19520           Attempt #4 to appease the buildbots.
19521
19522 2005-09-14  David Schleef  <ds@schleef.org>
19523
19524         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19525           Attempt #3.
19526
19527 2005-09-14  David Schleef  <ds@schleef.org>
19528
19529         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19530         Attempt #2.
19531
19532 2005-09-14  David Schleef  <ds@schleef.org>
19533
19534         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
19535           the new functions.
19536
19537 2005-09-14  David Schleef  <ds@schleef.org>
19538
19539         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19540         * gst/glib-compat.h: Add some functions that are in newer versions
19541           of glib than we care to require.
19542         * gst/gstregistryxml.c: Use them.
19543
19544 2005-09-14  David Schleef  <ds@schleef.org>
19545
19546         * po/POTFILES.in: remove gst-register.c
19547
19548 2005-09-14  David Schleef  <ds@schleef.org>
19549
19550         * docs/gst/gstreamer-docs.sgml:
19551         * docs/gst/gstreamer-sections.txt:
19552         * docs/gst/gstreamer.types:
19553         * docs/gst/tmpl/gstelement.sgml:
19554         * docs/gst/tmpl/gstplugin.sgml:
19555         * docs/gst/tmpl/gstpluginfeature.sgml:
19556           Documentation updates for registry changes.
19557
19558 2005-09-14  David Schleef  <ds@schleef.org>
19559
19560         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
19561           because we don't require glib-2.8.
19562
19563 2005-09-14  David Schleef  <ds@schleef.org>
19564
19565         * gst/gstregistryxml.c: Added.  Essentially moved out of the
19566           registries directory.
19567
19568 2005-09-14  David Schleef  <ds@schleef.org>
19569
19570         * check/Makefile.am:
19571         * check/generic/states.c:
19572         * gst/Makefile.am:
19573         * gst/gst.c:
19574         * gst/gst.h:
19575         * gst/gst_private.h:
19576         * gst/gstelementfactory.c:
19577         * gst/gstindex.c:
19578         * gst/gstinfo.c:
19579         * gst/gstplugin.c:
19580         * gst/gstplugin.h:
19581         * gst/gstpluginfeature.c:
19582         * gst/gstpluginfeature.h:
19583         * gst/gstregistry.c:
19584         * gst/gstregistry.h:
19585         * gst/gstregistrypool.c: remove
19586         * gst/gstregistrypool.h: remove
19587         * gst/gsttypefind.c:
19588         * gst/gsttypefindfactory.c:
19589         * gst/gsturi.c:
19590         * tools/Makefile.am:
19591         * tools/gst-compprep.c:
19592         * tools/gst-inspect.c:
19593         * tools/gst-register.c: remove
19594         * tools/gst-xmlinspect.c:
19595           Registry rewrite.  Changes registry from being a file created
19596           by a tool into a simple cache file created automatically by 
19597           libgstreamer.  Removed gst-register (because it's no longer
19598           needed).  Remove registry pools, because we only have one
19599           registry implementation (XML).  Fix up other subsystems as
19600           necessary.
19601
19602 2005-09-13  Michael Smith <msmith@fluendo.com>
19603
19604         * gst/gstconfig.h.in:
19605           Don't Use windows linking attributes for MinGW. Fixes #316157
19606
19607 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19608
19609         * gst/gstutils.c: (set_state_async_thread_func),
19610         (gst_element_set_state_async):
19611           Apparently people think it's better if this function doesn't
19612           try to set the state to whatever state was asked for on the first
19613           call to this function for any object.  Seriously.
19614
19615 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19616
19617         * check/gst/gstpipeline.c: (GST_START_TEST):
19618         * docs/gst/gstreamer-sections.txt:
19619         * gst/gstutils.c: (set_state_async_thread_func),
19620         (gst_element_set_state_async):
19621         * gst/gstutils.h:
19622           add a "gst_element_set_state_async" method that
19623           sets the state and starts a thread to make sure the state
19624           change completes as best as it can
19625
19626 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19627
19628         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19629           codify design+behaviour in testsuite after discussion
19630
19631 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19632
19633         * docs/gst/tmpl/gstelement.sgml:
19634         * docs/manual/appendix-quotes.xml:
19635           add a quote
19636         * gst/gstelement.c: (gst_element_set_state):
19637           add some debug
19638
19639 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
19640
19641         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19642         (gst_base_transform_prepare_output_buf),
19643         (gst_base_transform_handle_buffer):
19644         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
19645         (gst_capsfilter_prepare_buf):
19646           Remove the requirement for sub-classes to call the parent
19647           implementation of prepare_output_buffer with a wrapper function.
19648           
19649         * gst/gsttaglist.h:
19650         * gst/gsttagsetter.h:
19651           Fix #define wrapper
19652
19653 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
19654
19655         * docs/gst/gstreamer-sections.txt:
19656           more doc cleanups
19657
19658 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19659
19660         * docs/gst/gstreamer-sections.txt:
19661         * docs/gst/tmpl/gstelement.sgml:
19662         * docs/gst/tmpl/gstplugin.sgml:
19663         * gst/gstminiobject.c:
19664         * gst/gstvalue.h:
19665           docs now stop throwing warnings
19666
19667 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19668
19669         * docs/gst/gstreamer-sections.txt:
19670         * docs/gst/gstreamer.types:
19671         * docs/gst/tmpl/gstpad.sgml:
19672         * docs/gst/tmpl/gsttypes.sgml:
19673         * gst/base/gstadapter.h:
19674         * gst/base/gstbasesink.h:
19675         * gst/base/gstbasesrc.h:
19676         * gst/gstbin.h:
19677         * gst/gstbuffer.h:
19678         * gst/gstbus.h:
19679         * gst/gstcaps.h:
19680         * gst/gstclock.h:
19681         * gst/gstelement.h:
19682         * gst/gstevent.h:
19683         * gst/gstmessage.h:
19684         * gst/gstpad.h:
19685         * gst/gststructure.c:
19686         * gst/registries/gstlibxmlregistry.h:
19687           various documentation fixes
19688
19689 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19690
19691         * docs/gst/gstreamer-sections.txt:
19692         * docs/gst/tmpl/gstvalue.sgml:
19693           rearrange gstvalue section
19694         * gst/gstutils.c: (gst_element_state_get_name):
19695           NONE -> VOID
19696         * gst/gstvalue.c: (_gst_value_initialize):
19697         * gst/gstvalue.h:
19698           doc updates
19699
19700 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
19701
19702         * check/gst-libs/controller.c:
19703           Header include fix.
19704         * gst/base/gstbasetransform.c:
19705         (gst_base_transform_default_prepare_buf),
19706         (gst_base_transform_handle_buffer):
19707         * gst/base/gstbasetransform.h:
19708           Some more basetransform changes and fixes to enable sub-classes
19709           that modify buffer metadata only.
19710         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
19711         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
19712         (gst_capsfilter_prepare_buf):
19713           If the output pad has fixed allowed caps and input buffers 
19714           don't have any, set the fixed caps on outgoing buffers.
19715
19716 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
19717         * check/elements/identity.c: (GST_START_TEST):
19718           Make the error a little clearer when the test fails because
19719           identity made a copy of the buffer.
19720         * docs/gst/gstreamer-sections.txt:
19721           New symbols in gstbasetransform.h
19722         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19723         (gst_base_transform_init), (gst_base_transform_transform_size),
19724         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19725         (gst_base_transform_default_prepare_buf),
19726         (gst_base_transform_get_unit_size),
19727         (gst_base_transform_buffer_alloc),
19728         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
19729         (gst_base_transform_change_state),
19730         (gst_base_transform_set_passthrough),
19731         (gst_base_transform_set_in_place),
19732         (gst_base_transform_is_in_place):
19733         * gst/base/gstbasetransform.h:
19734           Change BaseTransform to separate in_place operate from same_caps
19735           output. in_place implies that the element can perform the transform
19736           on incoming buffers in-place, even if the caps on the output are
19737           different.
19738           Sub-class elements can now implement special buffer allocation
19739           methods for outgoing buffers if they wish to.
19740           Big documentation addition.
19741         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
19742         * gst/elements/gstelements.c:
19743           Changes for basetransform modifications.
19744         * gst/elements/Makefile.am:
19745         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
19746           Compile fix. Extra debug output.
19747
19748 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19749
19750         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
19751         (gst_pad_suite):
19752           add tests for valid pad naming
19753         * gst/check/gstcheck.c: (gst_check_log_message_func),
19754         (gst_check_log_critical_func):
19755           add ASSERT_WARNING
19756           remove printing of code, it is fragile when the code contains
19757           % and the line number is enough info
19758         * gst/check/gstcheck.h:
19759         * gst/gstpad.c: (gst_pad_template_new):
19760           fix memleaks
19761
19762 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19763
19764         * configure.ac:
19765           say what CHECK flags we use
19766         * docs/libs/gstreamer-libs.types:
19767         * libs/gst/controller/Makefile.am:
19768         * libs/gst/controller/gst-controller.c:
19769         * libs/gst/controller/gst-controller.h:
19770         * libs/gst/controller/gst-helper.c:
19771         * libs/gst/controller/gst-interpolation.c:
19772         * libs/gst/controller/gstcontroller.c:
19773         * libs/gst/controller/gsthelper.c:
19774         * libs/gst/controller/gstinterpolation.c:
19775         * tools/gst-inspect.c: (print_plugin_info):
19776           we don't use dashes in header names
19777
19778 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19779
19780         * check/Makefile.am:
19781         * check/gst/.cvsignore:
19782         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
19783         (gst_pipeline_suite), (main):
19784           adding a test for pipelines and state changes
19785         * gst/gstutils.c: (get_state_func):
19786           add some debugging
19787         * gstreamer.spec.in:
19788           fix up spec file
19789
19790 2005-09-08  Michael Smith <msmith@fluendo.com>
19791
19792         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
19793         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
19794         (gst_file_src_is_seekable), (gst_file_src_get_size),
19795         (gst_file_src_start):
19796         * gst/elements/gstfilesrc.h:
19797           Various fixes for unseekable, unmmapable, and non-normal files, so
19798           that fallback to read() rather than mmap() works.
19799         * gst/gstevent.c: (gst_event_new_newsegment):
19800           Allow newsegment events with segment_start == segment_end, as will
19801           correctly happen if you use filesrc on a zero-size file, for
19802           example.
19803
19804 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
19805
19806         * gst/gstplugin.c: (gst_plugin_load_file):
19807           Call g_module_close when we don't load the module
19808
19809         * gst/registries/gstlibxmlregistry.c:
19810         (gst_xml_registry_get_property):
19811           Port leak fix from 0.8
19812
19813 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
19814
19815         * docs/gst/gstreamer-docs.sgml:
19816         * docs/gst/tmpl/.cvsignore:
19817         * docs/gst/tmpl/gsttrace.sgml:
19818         * docs/gst/tmpl/gsttrashstack.sgml:
19819         * gst/Makefile.am:
19820         * gst/gst.h:
19821         * gst/gstelement.h:
19822         * gst/gstevent.h:
19823         * gst/gstmessage.c:
19824         * gst/gstmessage.h:
19825         * gst/gsttag.c:
19826         * gst/gsttag.h:
19827         * gst/gsttaginterface.c:
19828         * gst/gsttaginterface.h:
19829         * gst/gsttaglist.c:
19830         * gst/gsttaglist.h:
19831         * gst/gsttagsetter.c:
19832         * gst/gsttagsetter.h:
19833         * gst/gsttrace.c:
19834         * gst/gsttrace.h:
19835         * gst/gsttrashstack.c:
19836           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
19837           inlined docs for gsttrace, gsttrashstack
19838
19839 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
19840
19841         * gst/Makefile.am:
19842         * gst/elements/gstbufferstore.h:
19843         * gst/elements/gsttypefindelement.c:
19844         * gst/elements/gsttypefindelement.h:
19845         * gst/gst.h:
19846         * gst/gsttypefind.c:
19847         * gst/gsttypefind.h:
19848         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
19849         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
19850         (gst_type_find_factory_dispose),
19851         (gst_type_find_factory_unload_thyself),
19852         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
19853         (gst_type_find_factory_get_caps),
19854         (gst_type_find_factory_get_extensions),
19855         (gst_type_find_factory_call_function):
19856         * gst/gsttypefindfactory.h:
19857         * gst/registries/gstlibxmlregistry.c:
19858         * gst/registries/gstxmlregistry.c:
19859           splitted gsttypefind into gsttypefind, gsttypefindfactory
19860
19861 2005-09-07  Andy Wingo  <wingo@pobox.com>
19862
19863         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
19864         condition whereby the pad's task function is entered before the
19865         pad_mode variable was set.
19866
19867 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
19868
19869         * gst/gstpad.c: (gst_pad_alloc_buffer):
19870           Catch misbehaving pad_alloc functions that don't
19871           set up caps and do it for them.
19872
19873 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
19874
19875         * check/pipelines/simple_launch_lines.c: (run_pipeline):
19876           test for pipe!=NULL
19877         * docs/gst/tmpl/.cvsignore:
19878         * docs/gst/tmpl/gstmemchunk.sgml:
19879         * docs/gst/tmpl/gstparse.sgml:
19880         * docs/gst/tmpl/gsttaglist.sgml:
19881         * docs/gst/tmpl/gsttagsetter.sgml:
19882         * docs/gst/tmpl/gsttypefind.sgml:
19883         * docs/gst/tmpl/gsttypefindfactory.sgml:
19884         * gst/gstmemchunk.c:
19885         * gst/gstparse.c:
19886         * gst/gsttag.c:
19887         * gst/gsttaginterface.c:
19888         * gst/gsttypefind.c:
19889         * gst/gsttypefind.h:
19890           inlined more docs
19891
19892 === release 0.9.2 ===
19893
19894 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19895
19896         * NEWS:
19897         * RELEASE:
19898         * configure.ac:
19899           releasing 0.9.2, "South"
19900
19901 2005-09-05  Andy Wingo  <wingo@pobox.com>
19902
19903         * gst/registries/gstxmlregistry.h:
19904         * gst/registries/gstxmlregistry.c: Um... resurrect...
19905         
19906         * gst/registries/gstxmlregistry.h:
19907         * gst/registries/gstxmlregistry.c: and update to newer API.
19908         Incidentally they should be a bit faster now that they don't have
19909         to parse the caps.
19910         
19911 2005-09-05  Andy Wingo  <wingo@pobox.com>
19912
19913         * gst/registries/gstxmlregistry.h:
19914         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
19915         replaced by the libxml registry a while back
19916
19917 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19918
19919         * docs/gst/tmpl/gstplugin.sgml:
19920         * gst/elements/gstelements.c:
19921         * gst/gst.c:
19922         * gst/gstplugin.c: (gst_plugin_register_func),
19923         (gst_plugin_desc_copy), (gst_plugin_desc_free),
19924         (gst_plugin_get_source):
19925         * gst/gstplugin.h:
19926         * gst/registries/gstlibxmlregistry.c: (load_plugin),
19927         (gst_xml_registry_save_plugin):
19928         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
19929         (gst_xml_registry_save_plugin):
19930         * tools/gst-inspect.c: (print_plugin_info):
19931           add a "source" plugin description field, to represent the source
19932           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
19933           will set it to PACKAGE, which is automake's idea of the name of
19934           the source project.
19935
19936 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19937
19938         * Makefile.am:
19939         * autogen.sh:
19940         * configure.ac:
19941         * docs/Makefile.am:
19942         * docs/faq/Makefile.am:
19943         * docs/gst/tmpl/gstelement.sgml:
19944         * docs/gst/tmpl/gsttypes.sgml:
19945         * docs/htmlinstall.mak:
19946         * docs/manual/Makefile.am:
19947         * docs/pwg/Makefile.am:
19948           reorganize doc build a little
19949           split out docbook and gtk-doc stuff
19950           have two separate --enable's and enable them through autogen
19951           but disable by default in configure (to be similar to other
19952           projects)
19953         * gstreamer.spec.in:
19954           clean up docs install
19955         * po/af.po:
19956         * po/az.po:
19957         * po/ca.po:
19958         * po/cs.po:
19959         * po/de.po:
19960         * po/en_GB.po:
19961         * po/fr.po:
19962         * po/it.po:
19963         * po/nb.po:
19964         * po/nl.po:
19965         * po/ru.po:
19966         * po/sq.po:
19967         * po/sr.po:
19968         * po/sv.po:
19969         * po/tr.po:
19970         * po/uk.po:
19971         * po/vi.po:
19972           translation updates
19973
19974 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
19975
19976         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
19977           Add comment.
19978           
19979         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19980         (gst_fake_sink_change_state):
19981           Make state change function thread-safe.
19982           
19983         * gst/gstpad.c: (gst_pad_alloc_buffer):
19984           Set offset on generic buffer allocated by fallback.
19985
19986 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
19987
19988         * docs/gst/gstreamer-sections.txt:
19989         * docs/gst/tmpl/gstelement.sgml:
19990         * gst/gstpad.c:
19991         * libs/gst/controller/gst-controller.c:
19992         (gst_controlled_property_set_interpolation_mode),
19993         (gst_controlled_property_new),
19994         (gst_controller_find_controlled_property):
19995          run the wingo-magic script against the docs
19996
19997 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
19998
19999         * docs/gst/gstreamer-docs.sgml:
20000         * docs/gst/gstreamer-sections.txt:
20001         * docs/gst/tmpl/.cvsignore:
20002         * docs/gst/tmpl/gstelementdetails.sgml:
20003         * docs/gst/tmpl/gstelementfactory.sgml:
20004         * gst/gst.c:
20005         * gst/gstbus.c:
20006         * gst/gstelementfactory.c:
20007         * gst/gstelementfactory.h:
20008           merged elementdetails docs into elementfactory docs
20009           inlined both
20010
20011 2005-09-02  Andy Wingo  <wingo@pobox.com>
20012
20013         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
20014         consider this enum an enum and not a flags.
20015
20016 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20017
20018         * docs/gst/gstreamer-docs.sgml:
20019         * docs/gst/tmpl/.cvsignore:
20020         * docs/gst/tmpl/gstghostpad.sgml:
20021         * docs/gst/tmpl/gstiterator.sgml:
20022         * docs/gst/tmpl/gstmacros.sgml:
20023         * docs/gst/tmpl/gstrealpad.sgml:
20024         * docs/gst/tmpl/gstregistry.sgml:
20025         * docs/gst/tmpl/gstregistrypool.sgml:
20026         * docs/gst/tmpl/gststructure.sgml:
20027         * docs/gst/tmpl/gstsystemclock.sgml:
20028         * docs/gst/tmpl/gsttrace.sgml:
20029         * gst/gstghostpad.c:
20030         * gst/gstmacros.h:
20031         * gst/gstmemchunk.c:
20032         * gst/gstmemchunk.h:
20033         * gst/gstqueue.c:
20034         * gst/gstregistry.c:
20035         * gst/gstregistrypool.c:
20036         * gst/gststructure.c:
20037         * gst/gstsystemclock.c:
20038           more docs inlined
20039
20040 2005-09-02  Andy Wingo  <wingo@pobox.com>
20041
20042         * gst/gstelement.h (GstState): Renamed from GstElementState,
20043         changed to be a normal enum instead of flags.
20044         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
20045         munged to be GST_STATE_CHANGE_*.
20046         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
20047         work with the new state representation.
20048         (GstStateChange): New enumeration of possible state transitions.
20049         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
20050         (GstElementClass::change_state): Pass the GstStateChange along as
20051         an argument. Helps language bindings, so they don't have to use
20052         tricky lock-needing macros like GST_STATE_CHANGE ().
20053
20054         * scripts/update-states (file): New script. Run it on a file to
20055         update it for state naming and API changes. Updates files in
20056         place.
20057
20058         * All files updated for the new API.
20059
20060 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20061
20062         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
20063         * gst/gstutils.c: (gst_util_set_value_from_string),
20064         (gst_util_set_object_arg):
20065           fix a bunch of unchecked return values
20066         * tools/gst-complete.c: (main):
20067         * gstreamer.spec.in:
20068           clean up a little
20069
20070 2005-09-01  Wim Taymans  <wim@fluendo.com>
20071
20072         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20073         (gst_base_sink_event), (gst_base_sink_do_sync),
20074         (gst_base_sink_handle_event):
20075         * gst/base/gstbasesink.h:
20076         Handle newsegments more correctly.
20077
20078         * gst/gstbus.c:
20079         Fix docs.
20080
20081         * gst/gstevent.c: (gst_event_new_newsegment):
20082         A newsegment cannot have a start_time of -1
20083
20084 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
20085
20086         * win32/gstenumtypes.c:
20087         * win32/gstenumtypes.h:
20088           Update
20089
20090 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20091
20092         * libs/gst/controller/gst-controller.c:
20093         (gst_controlled_property_set_interpolation_mode),
20094         (gst_controlled_property_new):
20095          fixed boolean again
20096
20097 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
20098
20099         * docs/faq/gst-uninstalled:
20100           add -good
20101         * gst/gstevent.c:
20102         * gst/gstevent.h:
20103           remove wrong docs
20104         * gst/gstutils.c: (gst_element_link_filtered):
20105         * gst/gstutils.h:
20106           add gst_element_link_filtered
20107
20108 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20109
20110         * docs/gst/gstreamer-docs.sgml:
20111         * docs/gst/gstreamer-sections.txt:
20112         * docs/gst/tmpl/.cvsignore:
20113         * docs/gst/tmpl/gsterror.sgml:
20114         * docs/gst/tmpl/gstfilter.sgml:
20115         * docs/gst/tmpl/gsturihandler.sgml:
20116         * docs/gst/tmpl/gsturitype.sgml:
20117         * docs/gst/tmpl/gstutils.sgml:
20118         * docs/gst/tmpl/gstxml.sgml:
20119         * gst/gsterror.c:
20120         * gst/gsterror.h:
20121         * gst/gstfilter.c:
20122         * gst/gsturi.c:
20123         * gst/gsturitype.c:
20124         * gst/gstutils.c:
20125         * gst/gstxml.c:
20126           inlined more docs, fixed double id-ref
20127
20128 2005-08-31  Wim Taymans  <wim@fluendo.com>
20129
20130         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20131         (gst_base_transform_handle_buffer):
20132         Passthrough elements don't need the caps as they don't care.
20133
20134 2005-08-31  Wim Taymans  <wim@fluendo.com>
20135
20136         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20137         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
20138         Don't leak refcounts on buffers.
20139
20140 2005-08-31  Wim Taymans  <wim@fluendo.com>
20141
20142         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
20143         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20144         (gst_base_transform_chain), (gst_base_transform_change_state):
20145         * gst/base/gstbasetransform.h:
20146         Handle the case where we are not negotiated more gracefully.
20147
20148 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
20149
20150         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
20151         (gst_file_src_map_region):
20152           Set READONLY flag on mmap'ed buffers, otherwise
20153           gst_buffer_make_writable() won't work properly (#314708).
20154
20155 2005-08-31  Wim Taymans  <wim@fluendo.com>
20156
20157         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
20158         passthrough elements can even do inplace on non writable
20159         buffers (as they don't touch them).
20160
20161 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20162
20163         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20164         (gst_test_mono_source_set_property),
20165         (gst_test_mono_source_class_init), (GST_START_TEST),
20166         (gst_controller_suite):
20167           more tests (hehe I have the most)
20168         * gst/gstbus.c:
20169           describe popping messages whenusing mulltiple sources
20170         * libs/gst/controller/gst-controller.c:
20171         (gst_controlled_property_set_interpolation_mode),
20172         (gst_controlled_property_new):
20173         * libs/gst/controller/gst-controller.h:
20174         * libs/gst/controller/gst-interpolation.c:
20175           implement boolean properties
20176
20177 2005-08-31  Wim Taymans  <wim@fluendo.com>
20178
20179         * gst/gstminiobject.c: (gst_mini_object_ref):
20180         Cannot assert that the refcount has to be positive
20181         since a disposed object can be resurrected.
20182
20183 2005-08-31  Wim Taymans  <wim@fluendo.com>
20184
20185         * gst/gstpad.c: (gst_pad_init):
20186         Revert change, need to first fix badly behaving 
20187         apps.
20188
20189 2005-08-30  Wim Taymans  <wim@fluendo.com>
20190
20191         * check/elements/fakesrc.c: (setup_fakesrc):
20192         * check/elements/identity.c: (setup_identity):
20193         Activate pads before using them.
20194
20195 2005-08-30  Wim Taymans  <wim@fluendo.com>
20196
20197         * gst/base/gstadapter.c: (gst_adapter_flush):
20198         Flushing out 0 bytes is ok for this function.
20199
20200         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20201         no newsegment gives a warning and sets the start/stop to 
20202         invalid.
20203
20204         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
20205         (gst_base_transform_set_passthrough):
20206         Some debug info.
20207
20208         * gst/gstminiobject.c: (gst_mini_object_ref):
20209         Check refcount here too.
20210
20211         * gst/gstpad.c: (gst_pad_init):
20212         Pads are initially flushing and refusing data.
20213
20214         * gst/gstutils.c: (gst_element_link_pads_filtered):
20215         When adding a capsfilter element make sure it has the
20216         same state as the parent bin.
20217
20218 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20219
20220         * docs/gst/tmpl/.cvsignore:
20221         * docs/gst/tmpl/gstformat.sgml:
20222         * docs/gst/tmpl/gstversion.sgml:
20223         * gst/gstbus.h:
20224         * gst/gstformat.c:
20225         * gst/gstformat.h:
20226         * gst/gstversion.h.in:
20227           more docs and two more inlined
20228
20229 2005-08-30  Wim Taymans  <wim@fluendo.com>
20230
20231         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
20232         Don't sync to clock.
20233
20234 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20235
20236         * docs/gst/gstreamer-sections.txt:
20237           ultral33t func10ns deserve to appear in the docs actually
20238         * docs/gst/tmpl/.cvsignore:
20239         * docs/gst/tmpl/gstcompat.sgml:
20240         * docs/gst/tmpl/gstconfig.sgml:
20241         * gst/check/gstcheck.c:
20242         * gst/gstcompat.h:
20243         * gst/gstconfig.h.in:
20244           inlined more docs
20245
20246 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20247
20248         * docs/gst/tmpl/.cvsignore:
20249         * docs/gst/tmpl/gstquery.sgml:
20250         * docs/gst/tmpl/gstutils.sgml:
20251         * gst/gstquery.c:
20252         * gst/gstquery.h:
20253           inlined and extended docs
20254
20255 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20256
20257         * check/gst-libs/controller.c: (GST_START_TEST),
20258         (gst_controller_suite):
20259           more tests
20260         * docs/gst/tmpl/gstutils.sgml:
20261         * docs/libs/gstreamer-libs-sections.txt:
20262         * docs/libs/tmpl/gstdataprotocol.sgml:
20263           include path fixes
20264         * examples/controller/audio-example.c: (main):
20265           controller example works now
20266         * gst/gstclock.h:
20267           doc fixes
20268         * tools/gst-inspect.c: (print_element_properties_info):
20269           show param spec flags
20270
20271 2005-08-29  Andy Wingo  <wingo@pobox.com>
20272
20273         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
20274
20275 2005-08-28  Andy Wingo  <wingo@pobox.com>
20276
20277         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
20278         as having two arguments instead of just one. Allows superclasses
20279         to access information on subclasses -- see the terrible for() loop
20280         in gtype.c:g_type_create_instance for the reason why. All callers
20281         changed.
20282
20283 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20284
20285         * docs/design/part-messages.txt:
20286           update info
20287         * docs/gst/tmpl/.cvsignore:
20288         * docs/gst/tmpl/gstcaps.sgml:
20289         * docs/gst/tmpl/gstclock.sgml:
20290         * gst/gstbus.c:
20291         * gst/gstcaps.c:
20292         * gst/gstcaps.h:
20293         * gst/gstclock.c:
20294         * gst/gstclock.h:
20295         * gst/gstmessage.c:
20296           added descriptions for bus and message
20297           inline caps and clock docs
20298
20299 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20300
20301         * gst/gstmessage.c:
20302         * gst/gstmessage.h:
20303           doc fixes
20304
20305 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20306
20307         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20308           fix div-by-zero
20309
20310 2005-08-26  Andy Wingo  <wingo@pobox.com>
20311
20312         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
20313         element_set_state's return val.
20314         (test_2_elements): Add test that's been disabled for months.
20315
20316         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
20317         can-activate-pull properties.
20318
20319         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
20320         can-activate-pull properties. Implement is_seekable so fakesrc can
20321         operate in pull mode.
20322
20323         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
20324         properties.
20325         (gst_base_sink_activate, gst_base_sink_activate_pull)
20326         (gst_base_sink_activate_push): Make activation mode choosing work.
20327         Cleanups.
20328         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
20329         is right. Make pull mode work. Post an eos before pausing in pull
20330         mode.
20331         (gst_base_sink_change_state): Pay attention to the core's
20332         change_state() return val.
20333         
20334         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
20335         has-getrange properties. Cleanups.
20336         
20337         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
20338         has_getrange and replace with can_activate_pull and
20339         can_activate_push.
20340
20341         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
20342         locking comments. Remove has_loop, has_chain and replace with
20343         can_activate_pull and can_activate_push.
20344
20345 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
20346
20347         * configure.ac:
20348         * examples/Makefile.am:
20349         * examples/metadata/Makefile.am:
20350         * examples/metadata/read-metadata.c: (message_loop),
20351         (have_pad_handler), (make_pipeline), (print_tag), (main):
20352           Add metadata reading example that loops over a list of filenames,
20353           dumping any tags found.
20354
20355         * gst/gstbus.c: (gst_bus_dispose):
20356         * gst/gstelement.c: (gst_element_dispose):
20357           Release a few potentially-held references in dispose.
20358
20359 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20360
20361         * docs/gst/tmpl/gstminiobject.sgml:
20362           do *not* add tmpl/*.sgml files to CVS!
20363
20364 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20365
20366         * libs/gst/bytestream/.cvsignore:
20367         * libs/gst/bytestream/Makefile.am:
20368         * libs/gst/bytestream/adapter.c:
20369         * libs/gst/bytestream/adapter.h:
20370         * libs/gst/bytestream/bytestream.c:
20371         * libs/gst/bytestream/bytestream.h:
20372         * libs/gst/bytestream/filepad.c:
20373         * libs/gst/bytestream/filepad.h:
20374           removing obsolete files
20375
20376 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20377
20378         * docs/gst/gstreamer-docs.sgml:
20379         * docs/libs/gstreamer-libs-docs.sgml:
20380           disabed additional index entries again, as this makes docs-gen just
20381           slow and they aren't useful yet
20382         * docs/libs/gstreamer-libs-sections.txt:
20383           little -section.txt cleanup for libs
20384
20385 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
20386
20387         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20388         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
20389           fix up some debugging
20390         (gst_base_transform_get_unit_size),
20391         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20392         (gst_base_transform_handle_buffer):
20393         * gst/base/gstbasetransform.h:
20394           handle and store timed NEWSEGMENT events so that subclasses that
20395           calculate time by counting samples have a segment_start time they
20396           need to add to their timestamps - see audioresample
20397
20398 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20399
20400         * gst/gstbin.h:
20401           removed ';' from the end of macro defs
20402         * docs/gst/gstreamer-docs.sgml:
20403         * docs/gst/gstreamer-sections.txt:
20404         * docs/gst/tmpl/.cvsignore:
20405         * gst/gstbus.h:
20406         * gst/gstelement.c: (gst_element_class_init),
20407         (gst_element_set_state), (activate_pads),
20408         (gst_element_save_thyself):
20409         * gst/gstevent.c: (gst_event_new_newsegment):
20410         * gst/gstevent.h:
20411         * gst/gstiterator.c:
20412         * gst/gstiterator.h:
20413         * gst/gstpad.c:
20414         * gst/gstprobe.h:
20415         * gst/gstutils.c: (gst_pad_query_convert):
20416         * gst/gstutils.h:
20417           fixed parameter name mismatches between source, header and docs
20418           added some more docs, resolved the last batch of unused elements in
20419           docs (now someone needs to doc them)
20420
20421 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20422
20423         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
20424         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
20425           don't walk through the plugins backwards.  Where is all this
20426           reversed logic coming from ?
20427
20428 2005-08-25  Wim Taymans  <wim@fluendo.com>
20429
20430         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20431         (gst_base_transform_transform_size),
20432         (gst_base_transform_configure_caps),
20433         (gst_base_transform_get_unit_size),
20434         (gst_base_transform_buffer_alloc),
20435         (gst_base_transform_change_state):
20436         * gst/base/gstbasetransform.h:
20437         Cache caps unit_size.
20438         Make sure we cannot negotiate up and downstream at the
20439         same time.
20440
20441 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20442
20443         * gst/gst.c: (init_pre), (init_post):
20444           register the installed plugin path after the env var
20445         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
20446         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
20447           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
20448           directories, so the tests can prefer uninstalled over installed
20449
20450 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20451
20452         * gst/base/gstbasetransform.h:
20453           comment
20454         * gst/gstpad.c:
20455           add to docs
20456
20457 2005-08-25  Wim Taymans  <wim@fluendo.com>
20458
20459         * gst/gstbin.c: (bin_bus_handler):
20460         Be a bit more conservative about the posted message.
20461         
20462         * gst/gstbus.c: (gst_bus_post):
20463         Some cleanups, warn wrong return values.
20464
20465 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
20466
20467         * check/gst/gstbin.c: (GST_START_TEST):
20468         * gst/gstbin.c: (bin_bus_handler):
20469         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20470         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20471         (gst_message_new_warning), (gst_message_new_tag),
20472         (gst_message_new_state_changed), (gst_message_new_segment_start),
20473         (gst_message_new_segment_done), (gst_message_new_custom):
20474         * gst/gstmessage.h:
20475         * tools/gst-launch.c: (event_loop):
20476         * tools/gst-md5sum.c: (event_loop):
20477           Revert unpopular change for GST_MESSAGE_SRC to GObject.
20478
20479 2005-08-25  Wim Taymans  <wim@fluendo.com>
20480
20481         * check/generic/states.c: (GST_START_TEST):
20482         Cleanup can be done at the end.
20483
20484         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
20485         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20486         (gst_task_get_state), (gst_task_start), (gst_task_pause):
20487         Oh boy.. Thanks for finding this, Thomas. 
20488
20489 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20490
20491         * docs/gst/gstreamer.types:
20492           added missing types
20493
20494 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20495
20496         * docs/gst/gstreamer-docs.sgml:
20497         * docs/gst/gstreamer-sections.txt:
20498         * docs/gst/tmpl/.cvsignore:
20499         * gst/gstbin.c:
20500         * gst/gstiterator.c:
20501         * gst/gstutils.c:
20502         * gst/registries/gstxmlregistry.h:
20503           added missing classes and symbols (123 more to go)
20504           removed removed symbols from section file
20505           fixed many doc-comments
20506
20507 2005-08-24  Wim Taymans  <wim@fluendo.com>
20508
20509         * check/generic/states.c: (GST_START_TEST):
20510         Make sure all tasks are stopped.
20511
20512         * check/gst/gstbin.c: (GST_START_TEST):
20513         Unref after usage for proper valgrinding.
20514
20515         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
20516         Really wait for the task to stop before destroying the
20517         mutex.
20518
20519         * gst/gstqueue.c: (gst_queue_sink_activate_push),
20520         (gst_queue_src_activate_push):
20521         Small cleanups. Don't stop the task when we did not start
20522         it.
20523
20524         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
20525         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20526         (gst_task_get_state), (gst_task_start), (gst_task_pause),
20527         (gst_task_join):
20528         * gst/gsttask.h:
20529         Protect the stream lock with the object lock.
20530         Disallow setting the stream lock when running.
20531         Add cleanup_all to wait for the threadpool to finish.
20532         Remove code to autoallocate a mutex if none was provided.
20533         Add _join() to wait for a task to stop.
20534         Protect the thread pool with a global lock.
20535
20536 2005-08-24  Wim Taymans  <wim@fluendo.com>
20537
20538         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20539         (gst_base_sink_get_times), (gst_base_sink_do_sync),
20540         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20541         * gst/base/gstbasesink.h:
20542         Handle newsegment events correctly.
20543         Drop buffers out of the segment range.
20544
20545 2005-08-22  Andy Wingo  <wingo@pobox.com>
20546
20547         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20548         macro, implements an interface and gstimplementsinterface for a
20549         new type.
20550
20551 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20552
20553         * check/Makefile.am:
20554         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
20555           add a test that does a bunch of state changes on elements
20556           needs some fixing for valgrind
20557         * check/states/sinks.c: (gst_object_suite):
20558           whitespace
20559         * gst/gstcaps.h:
20560           add prototype for gst_caps_is_equal_fixed
20561         * gst/gstplugin.c:
20562         * gst/gstregistrypool.c:
20563           doc fixes
20564
20565 2005-08-24  Andy Wingo  <wingo@pobox.com>
20566
20567         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
20568         convert a negative value. Doesn't make much sense. Mostly this is
20569         here to force callers to ensure -1 maps to -1.
20570
20571 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20572
20573         * docs/pwg/advanced-types.xml:
20574           Well done to Michael for catching my deliberate introduction
20575           of this spelling mistake. 
20576         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
20577         * gst/gstelement.h:
20578           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
20579           unlink pads before removing the element from the bin.
20580
20581 2005-08-24  Andy Wingo  <wingo@pobox.com>
20582
20583         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
20584         the same thing as GST_DEBUG=*:4.
20585         (parse_debug_level, parse_debug_category): New helper parsers.
20586
20587 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20588
20589         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20590         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
20591         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
20592         (gst_base_transform_buffer_alloc),
20593         (gst_base_transform_handle_buffer):
20594           use gboolean return values and pointers to size so we can use the
20595           full GST_BUFFER_SIZE range (guint) for buffer sizes
20596           use GstPadDirection for transform_caps
20597         * gst/base/gstbasetransform.h:
20598           rename get_size to get_unit_size since that's what it is
20599         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
20600           use GstPadDirection for transform_caps
20601         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20602         * gst/gstutils.h:
20603           cleanup and debugging
20604
20605 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20606
20607         * gst/gstelement.c: (gst_element_class_init),
20608         (gst_element_set_state), (activate_pads),
20609         (gst_element_save_thyself):
20610         * tools/gst-compprep.c: (main):
20611         * tools/gst-inspect.c: (print_element_properties_info):
20612         * tools/gst-xmlinspect.c: (print_element_properties):
20613           Fixed long standing mem-leak
20614
20615 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20616
20617         * check/gst/gstbin.c: (GST_START_TEST):
20618         * gst/gstbin.c: (bin_bus_handler):
20619         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20620         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20621         (gst_message_new_warning), (gst_message_new_tag),
20622         (gst_message_new_state_changed), (gst_message_new_segment_start),
20623         (gst_message_new_segment_done), (gst_message_new_custom):
20624         * gst/gstmessage.h:
20625         * tools/gst-launch.c: (event_loop):
20626         * tools/gst-md5sum.c: (event_loop):
20627           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
20628           that applications can sensibly post custom messages with references
20629           to their own objects.
20630
20631 2005-08-24  Andy Wingo  <wingo@pobox.com>
20632
20633         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
20634         already.
20635
20636 2005-08-24  Wim Taymans  <wim@fluendo.com>
20637
20638         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20639         (gst_base_transform_transform_caps),
20640         (gst_base_transform_transform_size),
20641         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20642         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20643         (gst_base_transform_handle_buffer):
20644         * gst/base/gstbasetransform.h:
20645         Many fixes and new features added by Thomas. Can now also do
20646         transforms with variable sizes and a custom fixate_caps function.
20647
20648 2005-08-24  Wim Taymans  <wim@fluendo.com>
20649
20650         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20651         Some debugging.
20652
20653         * gst/gstclock.h:
20654         Cast to ClockTime before formatting to time.
20655
20656         * gst/gstutils.h:
20657         Cleanups.
20658
20659 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20660
20661         * check/gst-libs/controller.c: (GST_START_TEST),
20662         (gst_controller_suite):
20663         * docs/gst/tmpl/gstcaps.sgml:
20664         * docs/gst/tmpl/gstghostpad.sgml:
20665         * docs/gst/tmpl/gstquery.sgml:
20666         * docs/gst/tmpl/gstutils.sgml:
20667         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
20668         (gst_object_sink_values), (gst_object_get_value_arrays),
20669         (gst_object_get_value_array):
20670           gracefully handle helper method calls to objects that are not beeing
20671           controlled, added test case for that          
20672
20673 2005-08-23  Wim Taymans  <wim@fluendo.com>
20674
20675         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
20676         (gst_event_new_newsegment), (gst_event_parse_newsegment),
20677         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
20678         (gst_event_parse_qos), (gst_event_new_seek),
20679         (gst_event_parse_seek):
20680         * gst/gstevent.h:
20681         Some more debugging output and doc cleanups.
20682
20683         * gst/gstqueue.c: (gst_queue_handle_sink_event):
20684         Fix possible deadlock.
20685
20686 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20687
20688         * docs/gst/gstreamer-docs.sgml:
20689         * docs/gst/gstreamer-sections.txt:
20690         * docs/gst/gstreamer.types:
20691         * docs/gst/tmpl/.cvsignore:
20692         * gst/gstbin.h:
20693         * gst/gstbus.c:
20694         * gst/gstelement.c:
20695         * gst/gstevent.h:
20696           added 100 symbols from gstreamer-unused.txt to the right sections
20697           fixed more broken comments
20698           added GstBus to docs
20699
20700 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20701
20702         * docs/gst/gstreamer-sections.txt:
20703         * docs/gst/tmpl/.cvsignore:
20704         * docs/gst/tmpl/gstbin.sgml:
20705         * docs/gst/tmpl/gstbuffer.sgml:
20706         * gst/base/gstbasesrc.c:
20707         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
20708         * gst/gstbuffer.c:
20709         * gst/gstbuffer.h:
20710         * tools/gst-launch.1.in:
20711           inlined more doc comments, added missing comments and fixed comments
20712           fixed typos
20713
20714 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20715
20716         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20717           some debugging
20718         * gst/gstcaps.h:
20719           whitespace fixes
20720         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
20721           more debugging
20722         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
20723         * gst/gststructure.h:
20724           add a fixate function for booleans; add a FIXME that these func
20725           names should probably be gst_structure_fixate_*
20726
20727 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20728
20729         * docs/gst/gstreamer-docs.sgml:
20730         * docs/gst/gstreamer-sections.txt:
20731         * gst/Makefile.am:
20732         * gst/gstbin.c: (gst_bin_get_type),
20733         (gst_bin_child_proxy_get_child_by_index),
20734         (gst_bin_child_proxy_get_children_count),
20735         (gst_bin_child_proxy_init):
20736         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
20737         (gst_child_proxy_get_child_by_index),
20738         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
20739         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
20740         (gst_child_proxy_get), (gst_child_proxy_set_property),
20741         (gst_child_proxy_set_valist), (gst_child_proxy_set),
20742         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
20743         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
20744         * gst/gstchildproxy.h:
20745         * gst/parse/grammar.y:
20746         * tools/gst-inspect.c: (print_interfaces),
20747         (print_element_properties_info), (print_element_info):
20748           ported gstchildproxy over from 0.8
20749           ported gst-inspect fixes and enhancements over from 0.8
20750
20751 2005-08-22  Wim Taymans  <wim@fluendo.com>
20752
20753         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20754         (gst_base_transform_handle_buffer):
20755         Also call the transform function if we have ANY caps.
20756
20757         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
20758         Fix debug info.
20759
20760 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
20761
20762         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
20763           Don't pretend to handle seek events if the source is not seekable
20764
20765 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
20766
20767         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20768           Remove extra parameter to debug output
20769
20770         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20771         (gst_base_src_do_seek), (gst_base_src_activate_push):
20772           Fix seek event handling.
20773
20774         * gst/gstpipeline.c: (gst_pipeline_change_state):
20775         * gst/gstqueue.c: (gst_queue_handle_sink_event),
20776         (gst_queue_src_activate_push):
20777           Don't start the src pad task on FLUSH_STOP if the pad
20778           isn't linked.
20779           Debug changes.
20780
20781 2005-08-22  Wim Taymans  <wim@fluendo.com>
20782
20783         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
20784         Added check for gst_static_caps_get() refcounting.
20785
20786 2005-08-22  Wim Taymans  <wim@fluendo.com>
20787
20788         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
20789         Make _static_caps_get() refcounting sane.
20790         
20791         * gst/gstelement.c: (gst_element_set_state):
20792         Add g_return_val_if_fail() to protect against segfaults.
20793
20794 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
20795
20796         * docs/gst/tmpl/gstevent.sgml:
20797         * gst/gstevent.c:
20798         * gst/gstevent.h:
20799           inlined remaining docs, added missing doc comments
20800
20801 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20802
20803         * check/gst/gstbin.c: (GST_START_TEST):
20804           since we don't know when preroll is done, use refcount range
20805           check for the sink
20806         * gst/check/gstcheck.h:
20807           add macro for checking refcount range
20808
20809 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20810
20811         * check/Makefile.am:
20812           clean up environment for when registry gets built versus
20813           when actual tests are run; valgrind seems to not report
20814           leaks if GST_PLUGIN_PATH is set to some specific values
20815         * check/gst/gstbin.c: (GST_START_TEST):
20816           add more refcounting checks; maybe this exposes a
20817           preroll lock bug ?
20818         * common/check.mak:
20819         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20820         * gst/check/gstcheck.h:
20821         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
20822         (gst_bin_change_state):
20823         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
20824           add/fix debugging/whitespace
20825
20826 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
20827
20828         * check/gst/gstevent.c: (event_probe), (test_event),
20829         (GST_START_TEST):
20830          Er, don't call gst_bin_watch_for_state_change you idiot.
20831
20832 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
20833
20834         * check/Makefile.am:
20835           Use CHECK_CFLAGS and CHECK_LIBS
20836         * check/gst/gstevent.c: (event_probe), (test_event),
20837         (GST_START_TEST):
20838           Don't leak events.
20839         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20840         (gst_base_src_start), (gst_base_src_stop),
20841         (gst_base_src_activate_push), (gst_base_src_activate_pull),
20842         (gst_base_src_change_state):
20843           Sprinkle gst_base_src_stop liberally around error paths to fix
20844           problems reusing a source after failed state changes.
20845         * gst/base/gsttypefindhelper.c: (helper_find_peek),
20846         (helper_find_suggest), (gst_type_find_helper):
20847           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
20848         * gst/gstevent.h:
20849         * docs/gst/tmpl/gstevent.sgml:
20850           Migrate part of the docs from the SGML file. Wait for ensonic to
20851           tell me how I did it wrong ;)
20852         * tools/gst-typefind.c: (main):
20853           Extra robustness to state changes between files.
20854
20855 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20856
20857         * check/Makefile.am:
20858           don't valgrind the controller test - it's leaking - Stefan, HELP
20859         * gst/check/gstcheck.c: (gst_check_message_error),
20860         (gst_check_chain_func), (gst_check_setup_element),
20861         (gst_check_teardown_element), (gst_check_setup_src_pad),
20862         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
20863         (gst_check_teardown_sink_pad):
20864         * gst/check/gstcheck.h:
20865           add a bunch of methods to set up elements, and src and sink pads
20866         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
20867         * check/elements/identity.c: (setup_identity), (cleanup_identity),
20868         (GST_START_TEST):
20869           use them
20870         * gst/gstmessage.c:
20871         * gst/gsttag.h:
20872           whitespace/doc fixes
20873
20874 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20875
20876         * gst/gstelement.h:
20877           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
20878           be handled by the application and not always printed as well
20879
20880 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20881
20882         * check/Makefile.am:
20883           set GST_TOOLS_DIR
20884         * gst/check/gstcheck.c: (gst_check_message_error):
20885         * gst/check/gstcheck.h:
20886           add a fail_unless_equals_int
20887           add fail_unless for error messages
20888
20889 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20890
20891         * check/Makefile.am:
20892         * check/gst.supp:
20893         * common/Makefile.am:
20894         * common/check.mak:
20895         * common/gst.supp:
20896           factor out some of the common stuff so we can use it
20897
20898 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20899
20900         * check/Makefile.am:
20901         * check/gst/gstiterator.c: (GST_START_TEST):
20902         * check/gst/gstsystemclock.c: (GST_START_TEST),
20903         (gst_systemclock_suite):
20904         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
20905         * gst/gstclock.c:
20906           valgrind more tests
20907
20908 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20909
20910         * check/elements/.cvsignore:
20911         * check/elements/gstfakesrc.c:
20912           rename to name of element
20913         * check/elements/identity.c: (chain_func), (event_func),
20914         (setup_identity), (cleanup_identity), (GST_START_TEST),
20915         (identity_suite), (main):
20916           add a test for identity
20917         * check/Makefile.am:
20918         * pkgconfig/Makefile.am:
20919         * pkgconfig/gstreamer-check.pc.in:
20920         * pkgconfig/gstreamer-check-uninstalled.pc.in:
20921         * gst/check:
20922         * gst/Makefile.am:
20923         * configure.ac:
20924           move the check stuff to a library that gets installed
20925         * check/gst-libs/controller.c: (GST_START_TEST):
20926         * check/gst-libs/gdp.c:
20927         * check/gst/gst.c: (GST_START_TEST):
20928         * check/gst/gstbin.c:
20929         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20930         * check/gst/gstbus.c:
20931         * check/gst/gstcaps.c: (GST_START_TEST):
20932         * check/gst/gstelement.c:
20933         * check/gst/gstghostpad.c:
20934         * check/gst/gstiterator.c:
20935         * check/gst/gstmessage.c:
20936         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
20937         * check/gst/gstobject.c:
20938         * check/gst/gstpad.c: (GST_START_TEST):
20939         * check/gst/gststructure.c: (GST_START_TEST):
20940         * check/gst/gstsystemclock.c: (GST_START_TEST),
20941         (gst_systemclock_suite):
20942         * check/gst/gsttag.c: (gst_tag_suite):
20943         * check/gst/gstvalue.c:
20944         * check/pipelines/cleanup.c:
20945         * check/pipelines/simple_launch_lines.c:
20946         * check/states/sinks.c:
20947           change include statement
20948
20949         * docs/gst/gstreamer-sections.txt:
20950         * docs/gst/tmpl/gstpad.sgml:
20951           document more pad stuff
20952         * gst/gstminiobject.c: (gst_mini_object_ref),
20953         (gst_mini_object_unref):
20954           debug refcounting
20955
20956 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
20957
20958         * docs/gst/tmpl/gst.sgml:
20959         * gst/gst.c:
20960           eliminate another tmpl file, fix spelling in the long-description
20961
20962 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20963
20964         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20965         (test_event), (timediff), (gstevents_suite):
20966           Should fix build on 64-bit arch's
20967
20968 2005-08-18  Andy Wingo  <wingo@pobox.com>
20969
20970         Make sure that when a pipeline goes to PLAYING, that data has
20971         actually hit the sink.
20972
20973         * check/states/sinks.c (test_sink): A sink that doesn't get any
20974         data shouldn't return SUCCESS for going to either PLAYING or
20975         PAUSED. Test also the return values on the way back down.
20976
20977         * gst/gstelement.c (gst_element_set_state): When changing the
20978         state of an element currently changing state asynchronously, go to
20979         lost-state after commiting the pending state. Makes future calls
20980         to get_state continue to return ASYNC.
20981
20982         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
20983         ASYNC when going to PLAYING if we still don't have preroll, as can
20984         happen with live sources.
20985
20986 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20987
20988         * docs/pwg/advanced-types.xml:
20989           Hack long paragraph into 2 chunks as a workaround for buggy
20990           jadetex version in sid and breezy that loops infinitely and
20991           eats all RAM.
20992
20993 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20994
20995         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20996         (test_event), (timediff), (gstevents_suite):
20997           Provide more error margin in clock measurements to allow for 
20998           g_get_current_time inaccuracies.
20999
21000 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21001
21002         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21003         (test_event), (timediff), (gstevents_suite):
21004            Fix error message output so I might be able to tell why the
21005            test works here but fails on the build farm.
21006
21007 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21008
21009         * check/Makefile.am:
21010         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21011         (test_event), (timediff), (gstevents_suite), (main):
21012           I wrote a test!
21013
21014         * docs/design/part-seeking.txt:
21015           Spelling correction
21016
21017         * docs/gst/tmpl/gstevent.sgml:
21018         * docs/gst/tmpl/gstfakesrc.sgml:
21019           Docs updates.
21020
21021         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21022           Treat a buffer-without-newsegment the same as a receiving 
21023           a newsegment not in time format, and disable syncing to the clock
21024           with a warning.
21025
21026         * gst/gstbus.c: (gst_bus_set_sync_handler):
21027           Assert if anyone tries to replace the existing sync_handler for bus, 
21028           as only the owner should be setting it.
21029
21030         * gst/gstevent.h:
21031           Have a fixed set of custom event enums with events identified by
21032           their structure name (as in 0.8), rather than a free-for-all
21033           allowing collisions between enum values from different plugins.
21034
21035         * gst/gstpad.c: (gst_pad_class_init):
21036           Docs change.
21037           
21038         * gst/gstqueue.c: (gst_queue_handle_sink_event):
21039           Handle out-of-band downstream events from the sending thread.
21040
21041 2005-08-17  Andy Wingo  <wingo@pobox.com>
21042
21043         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
21044         play-timeout==0 to mean no timeout at all. In that case, don't
21045         bother with a get_state or a warning, just return directly, even
21046         if it's ASYNC.
21047
21048         * gst/base/gstbasetransform.c: Debug changes.
21049
21050         * gst/gstutils.h:
21051         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
21052         ensure bins post state change messages. A bit of a hack but I can't
21053         think of a way to avoid it.
21054
21055         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
21056
21057 2005-08-16  Andy Wingo  <wingo@pobox.com>
21058
21059         * gst/base/gstadapter.h:
21060         * gst/base/gstadapter.c (gst_adapter_take): New function, like
21061         peek() but you own the data. Not terribly efficient atm.
21062
21063 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21064
21065         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
21066         (gst_element_found_tags):
21067         * gst/gstutils.h:
21068           Add two utility functions for tag handling.
21069
21070 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21071
21072         * docs/manual/advanced-dataaccess.xml:
21073         * docs/manual/basics-helloworld.xml:
21074           Fix docs to use _bin_add() before _link(), which fixes the examples
21075           with recent core versions (reported by Madhan Raj M
21076           <raj_madan@rediffmail.com>, #313199).
21077
21078 2005-08-16  Wim Taymans  <wim@fluendo.com>
21079
21080         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21081         Added subtract checks.
21082
21083         * docs/design/part-events.txt:
21084         Some more docs about newsegment
21085
21086         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21087         Fix FIXME
21088
21089         * gst/gstcaps.c: (gst_caps_to_string):
21090         Add comments, cleanups.
21091         
21092         * gst/gstelement.c: (gst_element_save_thyself):
21093         cleanups
21094         
21095         * gst/gstvalue.c: (gst_value_collect_int_range),
21096         (gst_string_unwrap), (gst_value_union_int_int_range),
21097         (gst_value_union_int_range_int_range),
21098         (gst_value_intersect_int_int_range),
21099         (gst_value_intersect_int_range_int_range),
21100         (gst_value_intersect_double_double_range),
21101         (gst_value_intersect_double_range_double_range),
21102         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
21103         (gst_value_subtract_int_range_int),
21104         (gst_value_subtract_double_range_double),
21105         (gst_value_subtract_double_range_double_range),
21106         (gst_value_subtract_from_list), (gst_value_subtract_list),
21107         (gst_value_can_compare), (gst_value_compare_fraction):
21108         Cleanups, add comments, remove unneeded asserts.
21109
21110 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21111
21112         * tools/gst-launch.c: (event_loop):
21113           don't convert NULL structures to strings
21114
21115 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
21116
21117         * docs/gst/gstreamer-sections.txt:
21118           made some defines private
21119         * docs/gst/tmpl/gstconfig.sgml:
21120         * docs/gst/tmpl/gstqueue.sgml:
21121         * docs/gst/tmpl/gsttaglist.sgml:
21122         * docs/gst/tmpl/gsttypes.sgml:
21123         * docs/gst/tmpl/gstutils.sgml:
21124         * docs/pwg/appendix-porting.xml:
21125         * gst/base/gstbasesink.h:
21126         * gst/base/gstbasesrc.c:
21127         * gst/base/gstbasesrc.h:
21128         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
21129         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
21130         * gst/gstelement.c: (gst_element_class_init):
21131         * gst/gstpad.c: (gst_pad_class_init):
21132         * gst/gstqueue.c: (gst_queue_class_init):
21133         * gst/gstxml.c: (gst_xml_class_init):
21134           documented all undocumented signal inline
21135         * libs/gst/controller/gst-controller.h:
21136           added padding
21137
21138 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21139
21140         * docs/pwg/appendix-porting.xml:
21141           Document _set_link_function -> _set_setcaps_function.
21142
21143 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21144
21145         * check/Makefile.am:
21146           add a .check target for running the check
21147         * check/gst-libs/controller.c: (GST_START_TEST):
21148           cosmetic fixups
21149         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21150           complete checks for gstbuffer; would be nice if I could get the
21151           gcov stuff to work so I can see if I actually completed gstbuffer.c
21152         * check/gstcheck.h:
21153           add ASSERT_BUFFER_REFCOUNT
21154
21155 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
21156
21157         * docs/gst/gstreamer-sections.txt:
21158         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
21159         * gst/gsttag.h:
21160           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
21161           spew out a warning if a tag that is already registered
21162           is re-registered, unless it is re-registered with a 
21163           different type (#308438).
21164
21165 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
21166
21167         * docs/pwg/appendix-porting.xml:
21168         * docs/pwg/building-state.xml:
21169           Add some paragraphs about state changes in 0.9 to the PWG
21170           and the porting guide, in particular about the new meaning
21171           of GST_STATE_PAUSED and how to write state change functions
21172           with concurrent access by multiple threads in mind.
21173
21174 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
21175
21176         * docs/gst/gstreamer-docs.sgml:
21177         * docs/libs/gstreamer-libs-docs.sgml:
21178           added deprecation and since indexes
21179         * libs/gst/controller/gst-controller.c:
21180         * libs/gst/controller/gst-helper.c:
21181           added since tags
21182
21183
21184 2005-08-11  Wim Taymans  <wim@fluendo.com>
21185
21186         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
21187         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
21188         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
21189         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
21190         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
21191         (gst_ghost_pad_set_target):
21192         Actually implement (re)setting the target on a ghostpad
21193         as described in the docs.
21194
21195 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21196
21197         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
21198           Check whether GST_DEBUG_NO_COLOR environment variable is
21199           set and disable coloured debug output if that is the case.
21200
21201 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21202
21203         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21204         (gst_type_find_helper):
21205           The memory returned by gst_type_find_peek() needs to
21206           stay valid until the end of a typefind function, and
21207           typefind functions may keep results from different 
21208           offsets around, so we can't just unref the buffer from
21209           the previous _peek(), but have to save all buffers 
21210           returned by _peek() until typefinding is done and only
21211           free them then.
21212
21213 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
21214
21215         * docs/gst/gstreamer-sections.txt:
21216         * gst/gstutils.h:
21217           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
21218
21219 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21220
21221         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
21222           Fix a pretty good memleak.
21223
21224 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21225
21226         * gst/gstiterator.h:
21227           Fix wrong include and 'make distcheck'.
21228
21229 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21230
21231         * gst/gstbin.c: (bin_bus_handler):
21232           Use gst_element_post_message() instead.
21233
21234 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21235
21236         * gst/base/gstadapter.h:
21237         * gst/base/gstbasesink.h:
21238         * gst/base/gstbasesrc.h:
21239         * gst/base/gstbasetransform.h:
21240         * gst/base/gstcollectpads.h:
21241         * gst/base/gstpushsrc.h:
21242         * gst/gstiterator.h:
21243           Add padding to our base elements' class and instance structs and
21244           to GstIterator (you will need to rebuild all plugins and apps!)
21245
21246 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21247
21248         * gst/gstbin.c: (bin_bus_handler):
21249           Make default message forwarding from child->bus to bin->bus
21250           threadsafe and make it not emit warnings if the parent has no bus.
21251
21252 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21253
21254         * gst/gstelement.c: (activate_pads):
21255           On paused->ready, set pad->caps to NULL, as is the documented
21256           behaviour in this state change. Fixes playback of series of
21257           media files when visualization is enabled in Totem.
21258
21259 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21260
21261         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21262           Allow NULL as filter-caps (which means "any").
21263
21264 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21265
21266         * docs/libs/gstreamer-libs-sections.txt:
21267         * libs/gst/controller/gst-controller.c:
21268         * libs/gst/controller/gst-controller.h:
21269         * libs/gst/controller/gst-helper.c:
21270           adding more entries to the docs and fix small doc-bugs
21271
21272 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21273
21274         * docs/gst/gstreamer-docs.sgml:
21275         * docs/gst/gstreamer-sections.txt:
21276         * docs/gst/gstreamer.types:
21277         * docs/gst/tmpl/gstbasesink.sgml:
21278         * docs/gst/tmpl/gstbasesrc.sgml:
21279         * docs/gst/tmpl/gstbasetransform.sgml:
21280         * docs/gst/tmpl/gstfakesrc.sgml:
21281         * gst/base/gstcollectpads.c:
21282         * gst/base/gstcollectpads.h:
21283         * libs/gst/controller/gst-controller.c:
21284         * libs/gst/controller/gst-controller.h:
21285         * libs/gst/controller/gst-helper.c:
21286         * libs/gst/controller/gst-interpolation.c:
21287         * libs/gst/controller/lib.c:
21288           added long/short desc for controller docs
21289           added collectpads base class docs
21290           added correct includes to base-class docs
21291
21292 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21293
21294         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21295         (gst_test_mono_source_set_property),
21296         (gst_test_mono_source_class_init), (GST_START_TEST),
21297         (gst_controller_suite):
21298         * docs/gst/gstreamer-docs.sgml:
21299         * docs/gst/gstreamer-sections.txt:
21300         * docs/gst/gstreamer.types:
21301         * docs/libs/gstreamer-libs-docs.sgml:
21302         * docs/libs/gstreamer-libs-sections.txt:
21303         * gst/base/gstadapter.c:
21304         * libs/gst/controller/gst-controller.c:
21305         (gst_controlled_property_new), (gst_controlled_property_free),
21306         (gst_controller_new_valist),
21307         (gst_controller_remove_properties_valist),
21308         (gst_controller_sink_values), (_gst_controller_finalize):
21309         * libs/gst/controller/gst-controller.h:
21310         * libs/gst/controller/gst-helper.c:
21311         (gst_object_control_properties), (gst_object_uncontrol_properties),
21312         (gst_object_get_controller), (gst_object_set_controller),
21313         (gst_object_sink_values), (gst_object_get_value_arrays),
21314         (gst_object_get_value_array):
21315           more tests (and fixes) for the controller
21316           more docs for the controller
21317           integrated companies docs for the adapter 
21318
21319 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21320
21321         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
21322         (GST_START_TEST), (fakesrc_suite):
21323           add tests for sizetype
21324
21325 2005-08-04  Andy Wingo  <wingo@pobox.com>
21326
21327         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
21328         fixes buffer_alloc proxying among other things.
21329
21330         * gst/base/gstbasetransform.c:
21331         * gst/base/gstbasetransform.h:
21332         Revert patch to gstbasetransform from 7-28 removing
21333         delay_configure.
21334
21335         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
21336         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
21337         Semantics changed, should return not the size of the output buffer
21338         but the byte size of a buffer with a given caps.
21339
21340         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
21341         debug object.
21342         (gst_base_transform_configure_caps): Don't set out_size here: (in,
21343         out) are not the pad caps until setcaps finishes.
21344         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
21345         not-in-place case as well. Deal with changing from in-place to
21346         not-in-place within calling pad_alloc_buffer. Still a bit
21347         concerned about the overhead here...
21348
21349 2005-08-03  Andy Wingo  <wingo@pobox.com>
21350
21351         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
21352         fixating is an error.
21353
21354 2005-08-04  Edward Hervey  <edward@fluendo.com>
21355
21356         * gst/base/gstadapter.h: 
21357         Added gst_adapter_get_type() to the header
21358
21359 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21360
21361         * check/Makefile.am:
21362         * check/gst-libs/controller.c:
21363         * libs/gst/controller/gst-controller.c:
21364         (gst_controller_new_valist):
21365           added check test suite for the controller
21366         * gst/base/gstpushsrc.c:
21367           fixed a doc typo
21368
21369 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21370
21371         * docs/gst/Makefile.am:
21372         * docs/gst/gstreamer-docs.sgml:
21373         * docs/gst/gstreamer-sections.txt:
21374         * docs/gst/gstreamer.types:
21375         * docs/gst/tmpl/gstfakesrc.sgml:
21376         * gst/base/README:
21377         * gst/base/gstbasesink.c:
21378         * gst/base/gstbasesink.h:
21379         * gst/base/gstbasesrc.c:
21380         * gst/base/gstbasesrc.h:
21381         * gst/base/gstbasetransform.c:
21382         * gst/base/gstpushsrc.c:
21383         * gst/base/gstpushsrc.h:
21384           add short/long description docs to base classes
21385           add pushsrc to the docs
21386           remove consolidated doc fragments
21387
21388 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21389
21390         * configure.ac:
21391         * docs/libs/Makefile.am:
21392         * docs/libs/gstreamer-libs-docs.sgml:
21393         * docs/libs/gstreamer-libs-sections.txt:
21394         * docs/libs/gstreamer-libs.types:
21395         * examples/Makefile.am:
21396         * examples/controller/.cvsignore:
21397         * examples/controller/Makefile.am:
21398         * examples/controller/audio-example.c: (main):
21399         * libs/gst/Makefile.am:
21400         * libs/gst/controller/.cvsignore:
21401         * libs/gst/controller/Makefile.am:
21402         * libs/gst/controller/gst-controller.c:
21403         (on_object_controlled_property_changed), (gst_timed_value_compare),
21404         (gst_timed_value_find),
21405         (gst_controlled_property_set_interpolation_mode),
21406         (gst_controlled_property_new), (gst_controlled_property_free),
21407         (gst_controller_find_controlled_property),
21408         (gst_controller_new_valist), (gst_controller_new),
21409         (gst_controller_remove_properties_valist),
21410         (gst_controller_remove_properties), (gst_controller_set),
21411         (gst_controller_set_from_list), (gst_controller_unset),
21412         (gst_controller_get), (gst_controller_get_all),
21413         (gst_controller_sink_values), (gst_controller_get_value_arrays),
21414         (gst_controller_get_value_array),
21415         (gst_controller_set_interpolation_mode),
21416         (_gst_controller_finalize), (_gst_controller_init),
21417         (_gst_controller_class_init), (gst_controller_get_type):
21418         * libs/gst/controller/gst-controller.h:
21419         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
21420         (g_object_uncontrol_properties), (g_object_get_controller),
21421         (g_object_set_controller), (g_object_sink_values),
21422         (g_object_get_value_arrays), (g_object_get_value_array):
21423         * libs/gst/controller/gst-interpolation.c:
21424         (gst_controlled_property_find_timed_value_node),
21425         (interpolate_none_get), (interpolate_trigger_get),
21426         (interpolate_trigger_get_value_array):
21427         * libs/gst/controller/lib.c: (gst_controller_init):
21428         * pkgconfig/Makefile.am:
21429         * pkgconfig/gstreamer-control-uninstalled.pc.in:
21430         * pkgconfig/gstreamer-control.pc.in:
21431         * testsuite/Makefile.am:
21432         * testsuite/controller/.cvsignore:
21433         * testsuite/controller/Makefile.am:
21434         * testsuite/controller/interpolator.c: (main):
21435           added controller code
21436           removed dparam pc files
21437
21438 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21439         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
21440         (gst_collectpads_stop):
21441           Broadcast the condition when shutting down, to make sure we wake all
21442           threads up. Shut down pads on finalize, for safety.
21443
21444 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21445         * gst/base/gstbasetransform.c: (gst_base_transform_init),
21446         (gst_base_transform_handle_buffer),
21447         (gst_base_transform_change_state):
21448           Handle PAUSED->READY->PAUSED transition after negotiation
21449           occurred already.
21450         * gst/gstmessage.c: (gst_message_init):
21451           Extra piece of debug for new messages.
21452
21453 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
21454
21455         * configure.ac:
21456         * docs/gst/tmpl/gstbasesrc.sgml:
21457         * docs/gst/tmpl/gstelement.sgml:
21458         * docs/gst/tmpl/gstevent.sgml:
21459         * docs/gst/tmpl/gstfakesrc.sgml:
21460         * docs/gst/tmpl/gstformat.sgml:
21461         * docs/gst/tmpl/gstghostpad.sgml:
21462         * docs/gst/tmpl/gstpad.sgml:
21463         * docs/gst/tmpl/gstquery.sgml:
21464         * docs/gst/tmpl/gststructure.sgml:
21465         * docs/gst/tmpl/gsttaglist.sgml:
21466         * docs/gst/tmpl/gstvalue.sgml:
21467         * docs/libs/gstreamer-libs-docs.sgml:
21468         * docs/libs/gstreamer-libs-sections.txt:
21469         * docs/libs/gstreamer-libs.types:
21470         * libs/gst/Makefile.am:
21471         * libs/gst/control/.cvsignore:
21472         * libs/gst/control/Makefile.am:
21473         * libs/gst/control/control.c:
21474         * libs/gst/control/control.h:
21475         * libs/gst/control/dparam.c:
21476         * libs/gst/control/dparam.h:
21477         * libs/gst/control/dparam_smooth.c:
21478         * libs/gst/control/dparam_smooth.h:
21479         * libs/gst/control/dparamcommon.h:
21480         * libs/gst/control/dparammanager.c:
21481         * libs/gst/control/dparammanager.h:
21482         * libs/gst/control/dplinearinterp.c:
21483         * libs/gst/control/dplinearinterp.h:
21484         * libs/gst/control/unitconvert.c:
21485         * libs/gst/control/unitconvert.h:
21486         * testsuite/Makefile.am:
21487         * testsuite/dynparams/.cvsignore:
21488         * testsuite/dynparams/Makefile.am:
21489         * testsuite/dynparams/dparamstest.c:
21490         * tools/Makefile.am:
21491         * tools/gst-inspect.c: (print_element_info), (main):
21492         * tools/gst-xmlinspect.c: (print_element_info), (main):
21493           deactivate and remove dparams (libgstcontrol)
21494
21495 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21496
21497         * gst/elements/gsttypefindelement.c:
21498         (gst_type_find_element_have_type), (gst_type_find_element_init),
21499         (stop_typefinding), (gst_type_find_element_handle_event),
21500         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21501         * gst/elements/gsttypefindelement.h:
21502           Set caps on all outgoing buffers, not just the first one.
21503
21504 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21505
21506         * gst/elements/gsttypefindelement.c:
21507         (gst_type_find_element_have_type),
21508         (gst_type_find_element_check_set_buffer_caps),
21509         (gst_type_find_element_init), (stop_typefinding),
21510         (gst_type_find_element_handle_event),
21511         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21512         * gst/elements/gsttypefindelement.h:
21513           Set caps on first outgoing buffer when we've found the type.
21514
21515 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21516
21517         * docs/gst/gstreamer-docs.sgml:
21518         * docs/gst/gstreamer-sections.txt:
21519         * docs/gst/tmpl/gstscheduler.sgml:
21520         * docs/gst/tmpl/gstschedulerfactory.sgml:
21521           Remove some old cruft from docs.
21522
21523 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
21524
21525         * gst/gstpad.h:
21526           Fix inline docs for GstPadLinkReturn.
21527           
21528         * gst/gststructure.c: (gst_structure_has_name):
21529         * gst/gststructure.h:
21530         * docs/gst/gstreamer-sections.txt:
21531           New API: gst_structure_has_name().
21532
21533 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
21534
21535         * configure.ac:
21536           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
21537           and _LARGEFILE_SOURCE in config.h as required. Do not 
21538           export those flags in our .pc files any longer (#142209).
21539
21540           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21541
21542         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21543         (gst_file_sink_do_seek), (gst_file_sink_event),
21544         (gst_file_sink_get_current_offset), (gst_file_sink_render):
21545           Redo seek/tell calls with large file support in mind; add some
21546           debugging messages; add log message that tells us when large
21547           file support is unavailable or not enabled for some reason.
21548
21549         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
21550           Add log message that tells us when large file support 
21551           is unavailable or not enabled for some reason.
21552
21553 2005-07-29  Wim Taymans  <wim@fluendo.com>
21554
21555         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21556         Added test for removing an element with ghostpad from a bin.
21557         Fixed test as current implementation does the right thing.
21558
21559         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
21560         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
21561         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
21562         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
21563         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
21564         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
21565         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
21566         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21567         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
21568         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
21569         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
21570         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
21571         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
21572         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
21573         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
21574         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
21575         * gst/gstghostpad.h:
21576         Clean up ghostpads, remove properties for internal stuff.
21577         Make threadsafe.
21578         Fix refcounting.
21579         Prepare for switching targets, not all use cases work yet.
21580
21581 2005-07-29  Wim Taymans  <wim@fluendo.com>
21582
21583         * docs/design/part-gstghostpad.txt:
21584         Small update.
21585
21586         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21587         (gst_bin_remove_func):
21588         Unlinking pads while holding the bin LOCK is not a good
21589         idea.
21590
21591         * gst/gstpad.c: (gst_pad_class_init),
21592         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
21593         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
21594         No prob setting template after creating the pad.
21595
21596 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
21597
21598         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
21599         (gst_bus_peek), (gst_bus_source_dispatch),
21600         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
21601         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
21602           gst_bus_poll may be called from other threads. Handle
21603           this nicely by not making poll_data disappear off the
21604           stack once gst_bus_poll returns.
21605           gst_bus_peek now increments the refcount on the returned
21606           message.
21607
21608 2005-07-29  Wim Taymans  <wim@fluendo.com>
21609
21610         * docs/design/part-gstghostpad.txt:
21611         Overview of current GhostPad datastructures and use
21612         cases for changing the target.
21613
21614 2005-07-28  Wim Taymans  <wim@fluendo.com>
21615
21616         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21617         Added checks for hierarchy consistency whan adding linked
21618         elements to bins.
21619
21620         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21621         Added check to test element scheduling without bin/pipeline.
21622
21623         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21624         First add elements to bin, then link.
21625         
21626         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21627         (gst_bin_remove_func):
21628         Unlink pads from elements added/removed from bin to maintain
21629         hierarchy consistency.
21630
21631 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21632
21633         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21634         (gst_base_transform_handle_buffer):
21635         * gst/base/gstbasetransform.h:
21636           Remove broken delay_configure (fixes renegotiation of software
21637           scaling pipelines); remove some leftover printf()s.
21638
21639 2005-07-28  Wim Taymans  <wim@fluendo.com>
21640
21641         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21642         Added some more tests for wrong hierarchy
21643
21644         * docs/design/part-overview.txt:
21645         Some updates.
21646
21647         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
21648         Cleanups.
21649
21650         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
21651         (gst_element_dispose):
21652         Some more cleanups.
21653
21654         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21655         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
21656         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21657         (gst_pad_set_caps), (gst_pad_send_event):
21658         Check for correct hierarchy when linking pads. Moving to
21659         strict requirement for ghostpads when linking elements in
21660         different bins.
21661
21662         * gst/gstpad.h:
21663         Clean ups. Added WRONG_HIERARCHY return value.
21664
21665 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21666
21667         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21668           Better debug if no transform is possible.
21669
21670 2005-07-27  Wim Taymans  <wim@fluendo.com>
21671
21672         * docs/random/wtay/network-transp:
21673         Some old doc I had.
21674
21675 2005-07-27  Wim Taymans  <wim@fluendo.com>
21676
21677         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21678         (gst_dp_event_from_packet):
21679         Fix serialization of seek events.
21680
21681 2005-07-27  Wim Taymans  <wim@fluendo.com>
21682
21683         * check/gst-libs/gdp.c: (GST_START_TEST):
21684         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21685         Fix compilation and fix event serialization.
21686
21687 2005-07-27  Wim Taymans  <wim@fluendo.com>
21688
21689         * CHANGES-0.9:
21690         * docs/design/part-TODO.txt:
21691         * docs/design/part-events.txt:
21692         Some docs updates
21693
21694         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21695         (gst_base_sink_event), (gst_base_sink_do_sync),
21696         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21697         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21698         (gst_base_src_do_seek), (gst_base_src_event_handler),
21699         (gst_base_src_loop):
21700         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21701         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21702         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21703         (gst_base_transform_event), (gst_base_transform_handle_buffer),
21704         (gst_base_transform_set_passthrough),
21705         (gst_base_transform_is_passthrough):
21706         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21707         * gst/elements/gstfilesink.c: (gst_file_sink_event):
21708         Event updates.
21709
21710         * gst/gstbuffer.h:
21711         Use faster casts.
21712
21713         * gst/gstelement.c: (gst_element_seek):
21714         * gst/gstelement.h:
21715         Update gst_element_seek.
21716
21717         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
21718         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
21719         (gst_event_new_flush_start), (gst_event_new_flush_stop),
21720         (gst_event_new_eos), (gst_event_new_newsegment),
21721         (gst_event_parse_newsegment), (gst_event_new_tag),
21722         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
21723         (gst_event_parse_qos), (gst_event_new_seek),
21724         (gst_event_parse_seek), (gst_event_new_navigation):
21725         * gst/gstevent.h:
21726         Make GstEvent use GstStructure. Add parsing code, make sure the
21727         API is sufficiently generic.
21728         Mark possible directions of events and serialization.
21729
21730         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
21731         (_gst_message_copy), (gst_message_new_segment_start),
21732         (gst_message_new_segment_done), (gst_message_new_custom),
21733         (gst_message_parse_segment_start),
21734         (gst_message_parse_segment_done):
21735         Small cleanups.
21736
21737         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21738         (gst_pad_set_caps), (gst_pad_send_event):
21739         Update for new events. 
21740         Catch events sent in wrong directions.
21741
21742         * gst/gstqueue.c: (gst_queue_link_src),
21743         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21744         (gst_queue_handle_src_query):
21745         Event updates.
21746
21747         * gst/gsttag.c:
21748         * gst/gsttag.h:
21749         Remove event code from this file.
21750
21751         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21752         (gst_dp_event_from_packet):
21753         Event updates.
21754
21755 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21756
21757         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
21758         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21759         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
21760           Make debugging actually useful.
21761
21762 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21763
21764         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
21765         (gst_pad_fixate_caps):
21766           Implement default fixation once again, so that gst_pad_fixate()
21767           actually does anything at all. This probably needs to be some
21768           sort of a last resort, and use profile-based fixation first, but
21769           since that doesn't exist yet, this is the best we have. Fixes
21770           visualization in Totem.
21771
21772 2005-07-22  Wim Taymans  <wim@fluendo.com>
21773
21774         * docs/design/part-events.txt:
21775         Small update.
21776
21777         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21778         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
21779         (gst_base_sink_activate_pull):
21780         Some more comments.
21781
21782         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
21783         (gst_fake_src_create):
21784         Fix handoff marshall.
21785
21786         * gst/elements/gstidentity.c: (gst_identity_class_init),
21787         (gst_identity_transform_ip):
21788         We're a real inplace element.
21789
21790         * gst/gstbus.c: (gst_bus_post):
21791         Added some comments.
21792
21793         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
21794         * tests/muxing/case1.c: (main):
21795         * tests/sched/dynamic-pipeline.c: (main):
21796         * tests/sched/interrupt1.c: (main):
21797         * tests/sched/interrupt2.c: (main):
21798         * tests/sched/interrupt3.c: (main):
21799         * tests/sched/runxml.c: (main):
21800         * tests/sched/sched-stress.c: (main):
21801         * tests/seeking/seeking1.c: (event_received), (main):
21802         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
21803         (main):
21804         * tests/threadstate/threadstate3.c: (main):
21805         * tests/threadstate/threadstate4.c: (main):
21806         * tests/threadstate/threadstate5.c: (main):
21807         Fix the tests.
21808
21809 2005-07-21  Wim Taymans  <wim@fluendo.com>
21810
21811         * docs/design/part-seeking.txt:
21812         Some small additions.
21813
21814         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21815         (gst_base_sink_get_times), (gst_base_sink_do_sync),
21816         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21817         * gst/base/gstbasesink.h:
21818         discont values are gint64, handle the math correctly.
21819
21820         * gst/base/gstbasesrc.c: (gst_base_src_loop):
21821         Make the basesrc report error if the source pad is not linked.
21822
21823         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
21824         (gst_queue_loop), (gst_queue_handle_src_query),
21825         (gst_queue_src_activate_push):
21826         Make queue collect data even if the srcpad is not linked.
21827         Start pushing out data as soon as it is linked.
21828
21829         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
21830         * gst/gstutils.h:
21831         Added gst_flow_get_name() to ease error reporting.
21832
21833 2005-07-20  Wim Taymans  <wim@fluendo.com>
21834
21835         * gst/gstmessage.c: (gst_message_new_segment_start),
21836         (gst_message_new_segment_done), (gst_message_parse_segment_start),
21837         (gst_message_parse_segment_done):
21838         * gst/gstmessage.h:
21839         Added a bunch of messages for advanced seeking.
21840
21841         * gst/parse/grammar.y:
21842         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
21843         (gst_dpman_state_changed):
21844         Fix some new-pad -> pad-added signals
21845
21846 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21847
21848         * docs/manual/appendix-porting.xml:
21849         * docs/pwg/appendix-porting.xml:
21850           Document new-pad/state-change signal renames and the FixedList
21851           type rename.
21852
21853 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21854
21855         * docs/manual/advanced-autoplugging.xml:
21856         * docs/manual/basics-helloworld.xml:
21857         * docs/manual/basics-pads.xml:
21858         * docs/random/ds/0.9-suggested-changes:
21859         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
21860         * gst/gstelement.h:
21861         * gst/gstevent.h:
21862         * gst/gstformat.h:
21863         * gst/gstquery.h:
21864         * gst/gststructure.c: (gst_structure_value_get_generic_type),
21865         (gst_structure_parse_array), (gst_structure_parse_value):
21866         * gst/gstvalue.c: (gst_type_is_fixed),
21867         (gst_value_list_prepend_value), (gst_value_list_append_value),
21868         (gst_value_list_get_size), (gst_value_list_get_value),
21869         (gst_value_transform_array_string), (gst_value_serialize_array),
21870         (gst_value_deserialize_array), (gst_value_intersect_array),
21871         (gst_value_is_fixed), (_gst_value_initialize):
21872         * gst/gstvalue.h:
21873           GstElement::new-pad -> pad-added, GstElement::state-change ->
21874           state-changed, GstValueFixedList -> GstValueArray, add format and
21875           flags as their own arguments in gst_element_seek() (should improve
21876           "bindeability"), remove function generators since they don't work
21877           under a whole bunch of compilers (they were deprecated already
21878           anyway).
21879
21880 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21881
21882         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
21883         (_gst_debug_register_funcptr):
21884         * gst/gstinfo.h:
21885           Fix illegal cast on some platforms (#309253).
21886
21887 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21888
21889         * gst/gstmessage.c: (gst_message_new_custom):
21890         * gst/gstmessage.h:
21891           Add _new_custom, make _new_application a macro to _new_custom.
21892
21893 2005-07-20  Wim Taymans  <wim@fluendo.com>
21894
21895         * gst/base/gstbasesrc.c: (gst_base_src_init),
21896         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
21897         * gst/base/gstbasesrc.h:
21898         Add a gboolean to decide when to push out a discont.
21899
21900         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21901         (gst_queue_loop), (gst_queue_handle_src_query),
21902         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
21903         (gst_queue_set_property), (gst_queue_get_property):
21904         Some cleanups.
21905
21906         * tests/threadstate/threadstate1.c: (main):
21907         Make a thread test compile and run... very silly..
21908
21909
21910 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21911
21912         * docs/manual/appendix-porting.xml:
21913           Mention removal of libgstgconf-0.9.la and existence of gconf
21914           elements.
21915
21916 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21917
21918         * docs/pwg/advanced-clock.xml:
21919         * docs/pwg/appendix-porting.xml:
21920         * docs/pwg/intro-preface.xml:
21921         * docs/pwg/other-base.xml:
21922         * docs/pwg/other-manager.xml:
21923         * docs/pwg/other-nton.xml:
21924         * docs/pwg/other-ntoone.xml:
21925         * docs/pwg/other-oneton.xml:
21926         * docs/pwg/pwg.xml:
21927           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
21928           demuxer), remove n-to-n (was never written), fix some code examples
21929           and links and update the porting section to include all this.
21930
21931 2005-07-19  Wim Taymans  <wim@fluendo.com>
21932
21933         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
21934         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
21935         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
21936         (gst_queue_src_activate_push), (gst_queue_change_state),
21937         (gst_queue_get_property):
21938         * gst/gstqueue.h:
21939         Propagate GstFlowReturn more intelligently upstream and output
21940         an ERROR/EOS when streaming stopped due to fatal error.
21941
21942 2005-07-19  Wim Taymans  <wim@fluendo.com>
21943
21944         * tools/gst-launch.c: (check_intr), (event_loop), (main):
21945         Don't block forever for the state change to complete, the
21946         pipeline already did with a sensible timeout.
21947
21948 2005-07-19  Wim Taymans  <wim@fluendo.com>
21949
21950         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21951         Make sure we never call the create function is we
21952         got deactivated.
21953
21954 2005-07-19  Andy Wingo  <wingo@pobox.com>
21955
21956         * gst/parse/parse.l: Attempt to solve bug #172815.
21957
21958 2005-07-19  Wim Taymans  <wim@fluendo.com>
21959
21960         * docs/design/part-clocks.txt:
21961         * docs/design/part-events.txt:
21962         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
21963         Small docs updates.
21964         Only update the seeking values when we are not
21965         busy streaming.
21966
21967 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
21968
21969         * gst/base/gstbasesrc.c: (gst_base_src_loop):
21970           Oops, ignore the result of gst_pad_push_event here.
21971
21972 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
21973
21974         * gst/base/gstbasesrc.c: (gst_base_src_loop),
21975         (gst_base_src_activate_push):
21976           Send discont event from the loop function, as pads
21977           aren't activated yet in the activate_push handler.
21978
21979         * gst/gstbin.c: (bin_bus_handler):
21980           Don't leak element name.
21981
21982 2005-07-18  Andy Wingo  <wingo@pobox.com>
21983
21984         * configure.ac: Use AS_LIBTOOL_TAGS.
21985
21986 2005-07-18  Wim Taymans  <wim@fluendo.com>
21987
21988         * docs/gst/gstreamer.types:
21989         Remove deleted types.
21990
21991 2005-07-18  Wim Taymans  <wim@fluendo.com>
21992
21993         * check/elements/gstfakesrc.c: (GST_START_TEST):
21994         * configure.ac:
21995         * gst/Makefile.am:
21996         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
21997         (init_popt_callback):
21998         * gst/gst.h:
21999         * gst/gst_private.h:
22000         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
22001         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
22002         * gst/gstbin.h:
22003         * gst/gstbus.h:
22004         * gst/gstconfig.h.in:
22005         * gst/gstelement.c: (gst_element_class_init),
22006         (gst_element_set_base_time), (gst_element_get_base_time),
22007         (iterator_fold_with_resync), (gst_element_change_state),
22008         (gst_element_dispose), (gst_element_get_bus):
22009         * gst/gstelement.h:
22010         * gst/gstelementfactory.h:
22011         * gst/gsterror.c: (_gst_core_errors_init):
22012         * gst/gsterror.h:
22013         * gst/gstevent.h:
22014         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22015         * gst/gstindex.c:
22016         * gst/gstinfo.c: (_gst_debug_init):
22017         * gst/gstmessage.c: (_gst_message_copy):
22018         * gst/gstmessage.h:
22019         * gst/gstminiobject.h:
22020         * gst/gstobject.c:
22021         * gst/gstobject.h:
22022         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22023         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
22024         * gst/gstpad.h:
22025         * gst/gstparse.h:
22026         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22027         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22028         (gst_pipeline_get_last_stream_time):
22029         * gst/gstpipeline.h:
22030         * gst/gstpluginfeature.h:
22031         * gst/gstquery.h:
22032         * gst/gstscheduler.c:
22033         * gst/gstscheduler.h:
22034         * gst/gststructure.h:
22035         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22036         (gst_task_finalize), (gst_task_func), (gst_task_create),
22037         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
22038         (gst_task_stop), (gst_task_pause):
22039         * gst/gsttask.h:
22040         * gst/gsttypefind.h:
22041         * gst/gsttypes.h:
22042         * gst/registries/gstlibxmlregistry.c: (load_feature),
22043         (gst_xml_registry_load), (gst_xml_registry_save_feature):
22044         * gst/registries/gstxmlregistry.c:
22045         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
22046         * gst/schedulers/threadscheduler.c:
22047         * libs/gst/control/dparammanager.h:
22048         * tools/gst-inspect.c: (print_element_list),
22049         (print_plugin_features), (print_element_features):
22050         * tools/gst-xmlinspect.c: (print_element_list),
22051         (print_plugin_info), (main):
22052         Removed plugable schedulers.
22053         Removed Scheduler/Manager from elements.
22054         Removed gsttypes.h, rearranged includes.
22055         Removed dependency pad<->element, element<>pipeline, and
22056         various others,  fix includes.
22057         implement gst_pad_get_parent() with gst_object_get_parent()
22058         Make GstTask sefcontained.
22059         Fix _get_state() on GstBin, it did not return ASYNC with a 0
22060         timeout.
22061         Fix endless loop in iterator_fold_with_resync.
22062
22063
22064 2005-07-18  Wim Taymans  <wim@fluendo.com>
22065
22066         * gst/Makefile.am:
22067         * gst/gstarch.h:
22068         Remove old file.
22069
22070 2005-07-18  Wim Taymans  <wim@fluendo.com>
22071
22072         * gst/Makefile.am:
22073         No more cothreads.h
22074
22075 2005-07-18  Wim Taymans  <wim@fluendo.com>
22076
22077         * gst/cothreads.c:
22078         * gst/cothreads.h:
22079         Let's remove these.
22080
22081 2005-07-18  Wim Taymans  <wim@fluendo.com>
22082
22083         * docs/design/part-dynamic.txt:
22084         * docs/design/part-events.txt:
22085         * docs/design/part-seeking.txt:
22086         Some more docs in the works.
22087
22088         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22089         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
22090         (gst_base_transform_setcaps), (gst_base_transform_get_size),
22091         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22092         (gst_base_transform_handle_buffer),
22093         (gst_base_transform_sink_activate_push),
22094         (gst_base_transform_src_activate_pull),
22095         (gst_base_transform_set_passthrough),
22096         (gst_base_transform_is_passthrough):
22097         Refcounting fixes.
22098
22099         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
22100         Cleanups.
22101
22102         * gst/gstevent.c: (gst_event_finalize):
22103         Set SRC to NULL.
22104
22105         * gst/gstutils.c: (gst_element_unlink),
22106         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
22107         (gst_pad_proxy_setcaps):
22108         * gst/gstutils.h:
22109         Add _get_parent_element() to get a pads parent as an element.
22110
22111 2005-07-18  Wim Taymans  <wim@fluendo.com>
22112
22113         * check/gst/gstbin.c: (GST_START_TEST):
22114         Remove bogus test.
22115
22116 2005-07-18  Wim Taymans  <wim@fluendo.com>
22117
22118         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22119         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22120         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22121         (gst_base_sink_event), (gst_base_sink_do_sync),
22122         (gst_base_sink_chain), (gst_base_sink_loop),
22123         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
22124         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
22125         Refcounting fixes.
22126         Fix logic for returning ASYNC when not prerolled.
22127
22128 2005-07-18  Wim Taymans  <wim@fluendo.com>
22129
22130         * gst/gstqueue.c: (gst_queue_handle_sink_event):
22131         Fix nasty refcount bug.
22132
22133 2005-07-16 Philippe Khalaf <burger@speedy.org>
22134
22135         * gst/elements/gstfdsrc.c:
22136         * gst/elements/gstfdsrc.h:
22137         * gst/elements/gstelements.c:
22138         * gst/elements/Makefile.am:
22139         Ported fdsrc to 0.9.
22140
22141 2005-07-16  Wim Taymans  <wim@fluendo.com>
22142
22143         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22144         (gst_base_sink_do_sync):
22145         Fix compile error.
22146
22147 2005-07-16  Wim Taymans  <wim@fluendo.com>
22148
22149         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22150         (gst_base_sink_event), (gst_base_sink_get_times),
22151         (gst_base_sink_do_sync), (gst_base_sink_change_state):
22152         * gst/base/gstbasesink.h:
22153         Store and use discont values when syncing buffers as described
22154         in design docs.
22155         
22156         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22157         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
22158         (gst_base_src_activate_push):
22159         Push discont event when starting.
22160
22161         * gst/elements/gstidentity.c: (gst_identity_transform):
22162         Small cleanups.
22163
22164         * gst/gstbin.c: (gst_bin_change_state):
22165         Small cleanups in base_time  distribution.
22166
22167         * gst/gstelement.c: (gst_element_set_base_time),
22168         (gst_element_get_base_time), (gst_element_change_state):
22169         * gst/gstelement.h:
22170         Added methods for the base_time of the element.
22171         Some MT fixes.
22172
22173         * gst/gstpipeline.c: (gst_pipeline_send_event),
22174         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22175         (gst_pipeline_get_last_stream_time):
22176         * gst/gstpipeline.h:
22177         MT fixes.
22178         Handle seeking as described in design doc, remove stream_time
22179         hack.
22180         Cleanups clock and stream_time selection code. Added accessors
22181         for the stream_time.
22182         
22183
22184 2005-07-16  Andy Wingo  <wingo@pobox.com>
22185
22186         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
22187         (#305291).
22188
22189 2005-07-16  Wim Taymans  <wim@fluendo.com>
22190
22191         * check/gst/gstbin.c: (GST_START_TEST):
22192         Make elements silent as the deep_notify refs the
22193         parent, which might make the test fail.
22194
22195         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22196         Don't hold the lock for too long.
22197
22198 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
22199
22200         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
22201           Don't unref the caps we passed to gst_caps_make_writable() after
22202           passing them. gst_caps_make_writable() will do that for us.
22203
22204 2005-07-15  Andy Wingo  <wingo@pobox.com>
22205
22206         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
22207         (#157311).
22208
22209         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
22210         own marshalling function for the handoff signal. Properly type the
22211         buffer as a buffer. Fixes some warnings. Should do a more general
22212         solution.
22213         (gst_identity_class_init): Plug into the right marshaller.
22214
22215 2005-07-15  Wim Taymans  <wim@fluendo.com>
22216
22217         * docs/design/part-TODO.txt:
22218         * docs/design/part-clocks.txt:
22219         * docs/design/part-element-sink.txt:
22220         * docs/design/part-events.txt:
22221         * docs/design/part-gstpipeline.txt:
22222         Updated docs, mostly DISCONT related.
22223
22224 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
22225
22226         * docs/pwg/building-pads.xml:
22227           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
22228
22229 2005-07-15  Andy Wingo  <wingo@pobox.com>
22230
22231         * tools/gst-typefind.c: Update, add copyright block.
22232
22233         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
22234         Normalize and truncate caps before fixation.
22235
22236         * gst/gstcaps.h:
22237         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
22238         discards all but the first structure from its argument.
22239
22240 2005-07-15  Wim Taymans  <wim@fluendo.com>
22241
22242         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22243         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
22244         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22245         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22246         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
22247         (gst_base_transform_chain), (gst_base_transform_change_state),
22248         (gst_base_transform_set_passthrough),
22249         (gst_base_transform_is_passthrough):
22250         * gst/base/gstbasetransform.h:
22251         Make passthrough work using the bufferpools.
22252         Changed API a bit, subclasses have to write into a buffer
22253         provided by the base class.
22254         More debug info in nego functions.
22255         
22256         * gst/elements/gstidentity.c: (gst_identity_init),
22257         (gst_identity_transform):
22258         Port to new base class.
22259
22260 2005-07-15  Wim Taymans  <wim@fluendo.com>
22261
22262         * gst/gstmessage.c: (gst_message_new_state_changed):
22263         * tools/gst-launch.c: (event_loop), (main):
22264         Totally dump messages in -launch with the -m option.
22265         Fix message name for State messages,
22266
22267 2005-07-14  Wim Taymans  <wim@fluendo.com>
22268
22269         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22270         Post error messages on errors.
22271
22272 2005-07-14  Wim Taymans  <wim@fluendo.com>
22273
22274         * gst/gstcaps.c: (gst_caps_do_simplify):
22275         Remove debug info.
22276
22277         * gst/gsterror.h:
22278         Define error for stream stopped.
22279
22280         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22281         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
22282         Do proper return values.
22283
22284         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22285         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
22286         (gst_pad_get_range):
22287         Better return values.
22288
22289         * gst/gstpad.h:
22290         Reorganise return values, add macro to check for fatal errors.
22291
22292         * gst/gstqueue.c: (gst_queue_chain):
22293         Return proper GstFlowReturn values,
22294
22295 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
22296
22297         * docs/gst/gstreamer-sections.txt:
22298         * docs/gst/gstreamer.types:
22299         * docs/gst/tmpl/gst.sgml:
22300         * docs/gst/tmpl/gstbasesink.sgml:
22301         * docs/gst/tmpl/gstbasesrc.sgml:
22302         * docs/gst/tmpl/gstbasetransform.sgml:
22303         * docs/gst/tmpl/gstbin.sgml:
22304         * docs/gst/tmpl/gstbuffer.sgml:
22305         * docs/gst/tmpl/gstcaps.sgml:
22306         * docs/gst/tmpl/gstclock.sgml:
22307         * docs/gst/tmpl/gstcompat.sgml:
22308         * docs/gst/tmpl/gstconfig.sgml:
22309         * docs/gst/tmpl/gstelement.sgml:
22310         * docs/gst/tmpl/gstelementdetails.sgml:
22311         * docs/gst/tmpl/gstelementfactory.sgml:
22312         * docs/gst/tmpl/gstenumtypes.sgml:
22313         * docs/gst/tmpl/gsterror.sgml:
22314         * docs/gst/tmpl/gstevent.sgml:
22315         * docs/gst/tmpl/gstfakesink.sgml:
22316         * docs/gst/tmpl/gstfakesrc.sgml:
22317         * docs/gst/tmpl/gstfilesink.sgml:
22318         * docs/gst/tmpl/gstfilesrc.sgml:
22319         * docs/gst/tmpl/gstfilter.sgml:
22320         * docs/gst/tmpl/gstformat.sgml:
22321         * docs/gst/tmpl/gstghostpad.sgml:
22322         * docs/gst/tmpl/gstimplementsinterface.sgml:
22323         * docs/gst/tmpl/gstindex.sgml:
22324         * docs/gst/tmpl/gstindexfactory.sgml:
22325         * docs/gst/tmpl/gstinfo.sgml:
22326         * docs/gst/tmpl/gstiterator.sgml:
22327         * docs/gst/tmpl/gstmacros.sgml:
22328         * docs/gst/tmpl/gstmemchunk.sgml:
22329         * docs/gst/tmpl/gstminiobject.sgml:
22330         * docs/gst/tmpl/gstobject.sgml:
22331         * docs/gst/tmpl/gstpad.sgml:
22332         * docs/gst/tmpl/gstpadtemplate.sgml:
22333         * docs/gst/tmpl/gstparse.sgml:
22334         * docs/gst/tmpl/gstpipeline.sgml:
22335         * docs/gst/tmpl/gstplugin.sgml:
22336         * docs/gst/tmpl/gstpluginfeature.sgml:
22337         * docs/gst/tmpl/gstquery.sgml:
22338         * docs/gst/tmpl/gstqueue.sgml:
22339         * docs/gst/tmpl/gstregistry.sgml:
22340         * docs/gst/tmpl/gstregistrypool.sgml:
22341         * docs/gst/tmpl/gstscheduler.sgml:
22342         * docs/gst/tmpl/gstschedulerfactory.sgml:
22343         * docs/gst/tmpl/gststructure.sgml:
22344         * docs/gst/tmpl/gstsystemclock.sgml:
22345         * docs/gst/tmpl/gsttaglist.sgml:
22346         * docs/gst/tmpl/gsttagsetter.sgml:
22347         * docs/gst/tmpl/gsttrace.sgml:
22348         * docs/gst/tmpl/gsttrashstack.sgml:
22349         * docs/gst/tmpl/gsttypefind.sgml:
22350         * docs/gst/tmpl/gsttypefindfactory.sgml:
22351         * docs/gst/tmpl/gsttypes.sgml:
22352         * docs/gst/tmpl/gsturihandler.sgml:
22353         * docs/gst/tmpl/gsturitype.sgml:
22354         * docs/gst/tmpl/gstutils.sgml:
22355         * docs/gst/tmpl/gstvalue.sgml:
22356         * docs/gst/tmpl/gstversion.sgml:
22357         * docs/gst/tmpl/gstxml.sgml:
22358         * docs/libs/tmpl/gstcontrol.sgml:
22359         * docs/libs/tmpl/gstdataprotocol.sgml:
22360         * docs/libs/tmpl/gstdparam.sgml:
22361         * docs/libs/tmpl/gstdplinint.sgml:
22362         * docs/libs/tmpl/gstdpman.sgml:
22363         * docs/libs/tmpl/gstdpsmooth.sgml:
22364         * docs/libs/tmpl/gstgetbits.sgml:
22365         * docs/libs/tmpl/gstunitconvert.sgml:
22366         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
22367         (gst_push_src_base_init), (gst_push_src_class_init),
22368         (gst_push_src_init), (gst_push_src_create):
22369         * gst/base/gstpushsrc.h:
22370         * gst/elements/gstelements.c:
22371         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
22372         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
22373         (gst_fake_sink_init), (gst_fake_sink_set_property),
22374         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
22375         (gst_fake_sink_event), (gst_fake_sink_preroll),
22376         (gst_fake_sink_render), (gst_fake_sink_change_state):
22377         * gst/elements/gstfakesink.h:
22378         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
22379         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
22380         (gst_fake_src_base_init), (gst_fake_src_class_init),
22381         (gst_fake_src_init), (gst_fake_src_event_handler),
22382         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
22383         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
22384         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
22385         (gst_fake_src_create_buffer), (gst_fake_src_create),
22386         (gst_fake_src_start), (gst_fake_src_stop):
22387         * gst/elements/gstfakesrc.h:
22388         * gst/elements/gstfilesink.c: (_do_init),
22389         (gst_file_sink_base_init), (gst_file_sink_class_init),
22390         (gst_file_sink_init), (gst_file_sink_dispose),
22391         (gst_file_sink_set_location), (gst_file_sink_set_property),
22392         (gst_file_sink_get_property), (gst_file_sink_open_file),
22393         (gst_file_sink_close_file), (gst_file_sink_query),
22394         (gst_file_sink_event), (gst_file_sink_render),
22395         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
22396         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
22397         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
22398         * gst/elements/gstfilesink.h:
22399         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
22400         (gst_file_src_class_init), (gst_file_src_init),
22401         (gst_file_src_finalize), (gst_file_src_set_location),
22402         (gst_file_src_set_property), (gst_file_src_get_property),
22403         (gst_file_src_map_region), (gst_file_src_map_small_region),
22404         (gst_file_src_create_mmap), (gst_file_src_create_read),
22405         (gst_file_src_create), (gst_file_src_is_seekable),
22406         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
22407         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
22408         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
22409         (gst_file_src_uri_handler_init):
22410         * gst/elements/gstfilesrc.h:
22411           more autistic cleanliness in functions/names/defines
22412
22413 2005-07-13  Andy Wingo  <wingo@pobox.com>
22414
22415         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
22416         source couldn't negotiate.
22417
22418         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
22419         connections again.
22420
22421         * gst/gstutils.h:
22422         * gst/gstutils.c (gst_element_link_pads_filtered): New old
22423         function. I am channeling Hades. Put your boots on suckers!!!
22424
22425 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22426
22427         * testsuite/caps/Makefile.am:
22428         * testsuite/caps/value_compare.c:
22429         * testsuite/caps/value_intersect.c:
22430         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22431           move two testsuite apps over to the check dir
22432
22433 2005-07-12  Wim Taymans  <wim@fluendo.com>
22434
22435         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22436         Added more debug info in the negotiate process.
22437
22438         * gst/gstmessage.h:
22439         Prepare for segment playback.
22440
22441         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
22442         Better debugging.
22443
22444         * gst/gstutils.c:
22445         Some more docs.
22446
22447         * tools/gst-launch.c: (main):
22448         NULL pipeline on errors.
22449
22450 2005-07-12  Andy Wingo  <wingo@pobox.com>
22451
22452         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
22453         not it comes from a malloc region. Make sure our copy gets freed.
22454
22455 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22456
22457         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22458         * check/gst/gstmessage.c: (GST_START_TEST):
22459         * check/gst/gststructure.c: (GST_START_TEST),
22460         (gst_structure_suite), (main):
22461           more testing
22462         * gst/gstelement.c: (gst_element_message_full):
22463           clean up GError and debug string now that they get copied
22464         * gst/gstmessage.c: (gst_message_new_error),
22465         (gst_message_new_warning), (gst_message_parse_error),
22466         (gst_message_parse_warning):
22467           use GST_TYPE_G_ERROR for structure_new, and take copies of
22468           arguments, so that we don't mess up refcounting
22469
22470 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22471
22472         * check/Makefile.am:
22473           add per-test valgrind targets
22474         * check/gst-libs/gdp.c: (GST_START_TEST),
22475         (gst_data_protocol_suite), (main):
22476           clean up
22477
22478 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22479
22480         * check/Makefile.am:
22481           instate more valgrindable tests
22482         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22483         (GST_START_TEST), (fakesrc_suite):
22484         * check/gst/gstpad.c: (GST_START_TEST):
22485         * check/gst/gststructure.c: (GST_START_TEST):
22486           fix test leaks
22487         * docs/gst/tmpl/gstminiobject.sgml:
22488         * gst/gstpad.c: (gst_pad_finalize):
22489           fix the static mutex leak
22490
22491 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22492
22493         * check/Makefile.am:
22494           add two more tests for valgrinding
22495         * check/gst/gstvalue.c: (GST_START_TEST):
22496           test refcount of deserialized buffer, found a leak
22497         * docs/gst/gstreamer-docs.sgml:
22498         * docs/gst/gstreamer-sections.txt:
22499         * docs/gst/gstreamer.types:
22500         * docs/gst/tmpl/gstminiobject.sgml:
22501           add miniobject to docs
22502         * gst/gstminiobject.c:
22503           add some docs
22504         * gst/gstvalue.c: (gst_value_deserialize_buffer),
22505         (gst_string_unwrap):
22506           fix a hard-to-find invalid write for one of the tests
22507           fix a leak for deserialized buffers
22508
22509 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22510
22511         * docs/pwg/advanced-events.xml:
22512         * docs/pwg/advanced-request.xml:
22513         * docs/pwg/advanced-scheduling.xml:
22514         * docs/pwg/appendix-porting.xml:
22515         * docs/pwg/building-boiler.xml:
22516         * docs/pwg/intro-preface.xml:
22517         * docs/pwg/other-ntoone.xml:
22518           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
22519           of example code and explanation for pad activation, loop() and
22520           getrange() functions and a bit more. Remove old comments pointing
22521           to loop-functions.
22522         * examples/pwg/Makefile.am:
22523           Add loop/getrange examples.
22524
22525 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22526
22527         * configure.ac:
22528           check for valgrind binary + some fixes
22529         * check/gst.supp:
22530           valgrind suppressions for the tests
22531         * check/Makefile.am:
22532           add a valgrind: target that valgrinds the unit tests
22533         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
22534         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22535         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22536         * check/gst/gstghostpad.c:
22537           added some cleanup
22538         * check/gst/gstdata.c:
22539           removed
22540         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22541         (thread_unref), (gst_mini_object_suite), (main):
22542           added
22543         * gst/gst.c: (gst_deinit):
22544         * gst/gst.h:
22545           add a method to clean up.
22546         * gst/gstsystemclock.c: (gst_system_clock_dispose),
22547         (gst_system_clock_obtain):
22548           allow for disposing the system clock.
22549         * tools/gst-launch.c: (main):
22550           deinit
22551
22552 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22553
22554         * docs/gst/tmpl/gstbasesrc.sgml:
22555         * docs/gst/tmpl/gstfakesrc.sgml:
22556         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22557         (gst_base_src_init), (gst_base_src_set_property),
22558         (gst_base_src_get_property), (gst_base_src_get_range),
22559         (gst_base_src_start):
22560         * gst/base/gstbasesrc.h:
22561           add num-buffers property
22562         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22563         (gst_fakesrc_init), (gst_fakesrc_set_property),
22564         (gst_fakesrc_get_property), (gst_fakesrc_create),
22565         (gst_fakesrc_start):
22566           remove num-buffers property
22567
22568 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22569
22570         * docs/gst/gstreamer-sections.txt:
22571         * docs/gst/tmpl/gstbasesink.sgml:
22572         * docs/gst/tmpl/gstbasesrc.sgml:
22573         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22574         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22575         (gst_base_sink_finalize), (gst_base_sink_set_clock),
22576         (gst_base_sink_set_property), (gst_base_sink_get_property),
22577         (gst_base_sink_handle_object), (gst_base_sink_event),
22578         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22579         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
22580         (gst_base_sink_loop), (gst_base_sink_deactivate),
22581         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
22582         (gst_base_sink_change_state):
22583         * gst/base/gstbasesink.h:
22584         * gst/base/gstbasesrc.h:
22585         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
22586         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22587         (gst_filesink_init):
22588           more macro splitting
22589
22590 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22591
22592         * gst/gstelement.c: (gst_element_get_bus):
22593           add debug
22594         * tools/gst-launch.c: (check_intr), (event_loop):
22595           fix bus leaks
22596
22597 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22598
22599         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
22600           fix a caps leak
22601
22602 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22603
22604         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22605         (gst_base_src_finalize):
22606           add finalize method and clean up properly
22607         * gst/gstpipeline.c: (gst_pipeline_dispose):
22608           add debug
22609
22610 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22611
22612         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
22613         (gst_bin_suite):
22614           add more things to check
22615         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22616         * gst/gstelement.c:
22617           more debug
22618
22619 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22620
22621         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22622         (GST_START_TEST), (fakesrc_suite):
22623         * check/gst-libs/gdp.c: (GST_START_TEST):
22624         * check/gst/gst.c: (GST_START_TEST):
22625         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22626         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22627         * check/gst/gstbus.c: (GST_START_TEST):
22628         * check/gst/gstcaps.c: (GST_START_TEST):
22629         * check/gst/gstdata.c: (GST_START_TEST):
22630         * check/gst/gstelement.c: (GST_START_TEST):
22631         * check/gst/gstghostpad.c: (GST_START_TEST):
22632         * check/gst/gstiterator.c: (GST_START_TEST):
22633         * check/gst/gstmessage.c: (GST_START_TEST):
22634         * check/gst/gstobject.c: (GST_START_TEST):
22635         * check/gst/gstpad.c: (GST_START_TEST):
22636         * check/gst/gststructure.c: (GST_START_TEST):
22637         * check/gst/gstsystemclock.c: (GST_START_TEST),
22638         (gst_systemclock_suite):
22639         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22640         * check/gst/gstvalue.c: (GST_START_TEST):
22641         * check/pipelines/cleanup.c: (GST_START_TEST):
22642         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22643         * check/states/sinks.c: (GST_START_TEST):
22644         * check/gstcheck.c: (gst_check_init):
22645         * check/gstcheck.h:
22646           add debugging category
22647           use GST_START_TEST now, so we add a debug line
22648
22649 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22650
22651         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
22652           add test for state change message on a bin
22653         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
22654           add another test
22655         * gst/gstbin.c: (gst_bin_init):
22656         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
22657         * gst/gstelement.c: (gst_element_post_message),
22658         (gst_element_set_state):
22659         * gst/gstelementfactory.c: (gst_element_factory_create):
22660         * gst/gstmessage.c: (gst_message_new):
22661         * gst/gstscheduler.c:
22662           various debugging additions and cleanups
22663
22664 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22665
22666         * check/Makefile.am:
22667         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
22668         (main):
22669           adding tests for elements
22670         * gst/gstelement.c: (gst_element_dispose):
22671
22672 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22673
22674         * gst/registries/gstlibxmlregistry.c: (load_feature):
22675           plug more leaks.  A simple gst_init() now is leakfree, yay.
22676
22677 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22678
22679         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
22680         (gst_xml_registry_load):
22681           plug another memleak
22682
22683 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22684
22685         * configure.ac:
22686           use GST_SET_ERROR_CFLAGS
22687         * docs/faq/cvs.xml:
22688           change to ERROR_CFLAGS
22689
22690 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22691
22692         * configure.ac:
22693           make GST_ERROR_CFLAGS overridable and re-enable Werror
22694         * docs/faq/cvs.xml:
22695           add a note about error CFLAGS
22696         * docs/gst/tmpl/gstfakesrc.sgml:
22697         * gst/elements/gstfakesrc.c:
22698           comment out some unused code
22699         * gst/gst.c: (split_and_iterate):
22700         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
22701         (load_feature):
22702           plug some memleaks
22703
22704 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22705
22706         * common/Makefile.am:
22707         * common/gtk-doc.mak:
22708         * docs/gst/Makefile.am:
22709           factor out gtk-doc.mak
22710
22711 2005-07-07  Wim Taymans  <wim@fluendo.com>
22712
22713         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
22714         (gst_thread_scheduler_dispose):
22715         Unlock the STREAM_LOCK completely.
22716
22717 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22718
22719         * check/Makefile.am:
22720         * check/elements/.cvsignore:
22721         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22722         (START_TEST), (fakesrc_suite), (main):
22723         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22724         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22725         (gst_fakesrc_create), (gst_fakesrc_start):
22726         * gst/elements/gstfakesrc.h:
22727           adding a first element test
22728
22729 2005-07-07  Andy Wingo  <wingo@pobox.com>
22730
22731         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
22732         debug message.
22733
22734 2005-07-07  Wim Taymans  <wim@fluendo.com>
22735
22736         * gst/gstquery.c:
22737         * gst/gstquery.h:
22738         Remove old types
22739
22740 2005-07-07  Wim Taymans  <wim@fluendo.com>
22741
22742         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22743         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
22744         Allow subclasses to implement their own negotiation.
22745
22746 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22747
22748         * docs/design/part-gstbin.txt:
22749         * docs/design/part-gstpipeline.txt:
22750           Update design notes to reflect the movement of
22751           responsibility for bus handling from GstPipeline to
22752           GstBin
22753
22754 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22755
22756         * configure.ac:
22757           Remove unnecessary queue2/3/4 examples.
22758
22759 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22760
22761         * examples/Makefile.am:
22762         * examples/helloworld/helloworld.c: (event_loop), (main):
22763         * examples/queue/queue.c: (event_loop), (main):
22764         * examples/queue2/queue2.c: (main):
22765           Update a couple of the examples to work again.
22766
22767         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22768         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
22769          Spelling corrections and extra debug.
22770         
22771         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
22772         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
22773         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
22774         * gst/gstbin.h:
22775         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22776         (gst_pipeline_change_state):
22777         * gst/gstpipeline.h:
22778           Move the bus handler for children to the GstBin, and create a
22779           separate bus for receiving messages from children to the one the
22780           bus sends 'upwards' on.
22781
22782 2005-07-06  Wim Taymans  <wim@fluendo.com>
22783
22784         * gst/base/README:
22785         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22786         (gst_base_sink_handle_object), (gst_base_sink_loop),
22787         (gst_base_sink_change_state):
22788         * gst/base/gstbasesink.h:
22789         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22790         (gst_base_src_init), (gst_base_src_setcaps),
22791         (gst_base_src_getcaps), (gst_base_src_loop),
22792         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
22793         (gst_base_src_start), (gst_base_src_change_state):
22794         * gst/base/gstbasesrc.h:
22795         Make basesrc negotiate.
22796         Handle the case where preroll fails in basesink.
22797         Update README.
22798
22799 2005-07-06  Wim Taymans  <wim@fluendo.com>
22800
22801         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
22802         Implement the fixate function.
22803         Clean up acceptcaps.
22804
22805 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22806
22807         * docs/pwg/building-filterfactory.xml:
22808         * docs/pwg/pwg.xml:
22809           Remove never-written filter-factory chapter; I'll add the various
22810           base classes to part 4 ("other element types") later on.
22811
22812 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22813
22814         * docs/pwg/advanced-negotiation.xml:
22815         * docs/pwg/building-boiler.xml:
22816         * docs/pwg/building-pads.xml:
22817         * docs/pwg/pwg.xml:
22818         * examples/pwg/Makefile.am:
22819           Add a chapter on caps negotiation, simplify the original code
22820           samples a bit w.r.t. caps negotiation, add link to the advanced
22821           section. Add a bunch of examples showing different use cases of
22822           different types of caps negotiation. Upstream renegotiation isn't
22823           fully documented yet since nobody knows how that works.
22824
22825 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22826
22827         * check/gst/gstpad.c:
22828         * check/gstcheck.c:
22829         * gst/gstpad.c: (gst_pad_get_internal_links_default):
22830           if pad has no parent, return NULL as list of internal links
22831
22832 2005-07-05  Andy Wingo  <wingo@pobox.com>
22833
22834         * gst/elements/gstfilesrc.c:
22835         * gst/elements/gstfakesrc.c: 
22836         * gst/base/gstpushsrc.c:
22837         * gst/base/gstbasesrc.h: 
22838         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
22839         
22840 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
22841
22842         * Makefile.am:
22843           better report generation target (lcov needs a patch)
22844
22845 2005-07-05  Andy Wingo  <wingo@pobox.com>
22846
22847         * gst/elements, testsuite: Null if we got it...
22848
22849 2005-07-05  Wim Taymans  <wim@fluendo.com>
22850
22851         * configure.ac:
22852         * libs/gst/dataprotocol/Makefile.am:
22853         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
22854         * libs/gst/dataprotocol/dataprotocol.h:
22855         * pkgconfig/Makefile.am:
22856         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
22857         * pkgconfig/gstreamer-dataprotocol.pc.in:
22858         Ported dataprotol to 0.9. 
22859         Added pkgconfig files.
22860
22861 2005-07-05  Andy Wingo  <wingo@pobox.com>
22862
22863         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
22864         Default to returning TRUE for the case when tranform_caps returns
22865         a fixed caps, like for identity or volume.
22866
22867         * check/gst/gstbus.c (pound_bus_with_messages): 
22868         * check/gst/gstmessage.c (START_TEST): 
22869         * check/pipelines/simple_launch_lines.c (got_handoff): Application
22870         message API change.
22871
22872         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
22873         logic weaks here: always run transform_caps, trying passthrough
22874         operation only if the original caps intersects with the transform.
22875
22876         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
22877         source and sink caps.
22878
22879         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
22880         Intersect the peer caps with the pad template before going into
22881         transform_caps.
22882         (gst_base_transform_transform_caps): More debugging.
22883
22884         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
22885         src argument.
22886
22887 2005-07-04  Edward Hervey  <edward@fluendo.com>
22888
22889         * gst/gstutils.c:
22890         * gst/gstutils.h:
22891         (gst_pad_add_*_probe): now returns the signal id for better wrapping
22892         in bindings.
22893
22894 2005-07-04  Andy Wingo  <wingo@pobox.com>
22895
22896         * check/gst/gstpad.c: Only set explicit caps on pads.
22897
22898 2005-07-01  Andy Wingo  <wingo@pobox.com>
22899
22900         * tests/network-clock.scm: Commentary update.
22901
22902         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
22903         Didn't really make sense, not implementable with basetransform,
22904         etc.
22905         (gst_identity_transform): Unref inbuf via make_writable. Feeble
22906         attempt at implementing the sync property, needs an unlock method.
22907
22908         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
22909         New func, by default returns the same caps (the identity
22910         transformation).
22911         (gst_base_transform_getcaps): Uses transform_caps to return
22912         something sensible.
22913         (gst_base_transform_setcaps): Complicated logic to get caps on
22914         both pads, even if they are different, and to call set_caps once
22915         for every time both pads get their caps set.
22916         (gst_base_transform_handle_buffer): Give the ref to the transform
22917         function. Allows in-place modification of the buffer.
22918
22919         * gst/base/gstbasetransform.h (transform_caps): New class method.
22920         Given caps on one side, what can I do on the other.
22921         (set_caps): Take two caps, one for each side of the element.
22922
22923         * gst/gstpad.h:
22924         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
22925         caps in place. This is safe because we can check the mutability of
22926         the caps, and a good idea because fixate functions are just called
22927         as a matter of last resort. (Not actually implemented.)
22928         (gst_pad_set_caps): If the caps we're setting is actually the same
22929         as the existing pad caps, just update the pointer without calling
22930         setcaps. Assert that caps is either NULL or fixed, as per the
22931         docs.
22932
22933         * gst/gstghostpad.c: Update for fixate changes.
22934
22935 2005-07-02  Andy Wingo  <wingo@pobox.com>
22936
22937         * gst/gstcaps.c:
22938         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
22939         two refcounts makes it immutable, which is enough. Doc more.
22940
22941 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
22942
22943         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
22944           Put the mini_object into GValue as a mini_object,
22945           not a gpointer, since that's how we declared
22946           the signal.
22947
22948 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22949
22950         * examples/pwg/Makefile.am:
22951           Fix buildbot again.
22952
22953 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22954
22955         * docs/pwg/building-testapp.xml:
22956           Add extra check.
22957         * examples/pwg/Makefile.am:
22958           Fix buildbot.
22959
22960 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22961
22962         * configure.ac:
22963         * examples/Makefile.am:
22964         * examples/pwg/Makefile.am:
22965         * examples/pwg/extract.pl:
22966           Enable building the PWG examples.
22967         * docs/pwg/advanced-interfaces.xml:
22968           Add URI interface stub.
22969         * docs/pwg/advanced-types.xml:
22970         * docs/pwg/other-autoplugger.xml:
22971         * docs/pwg/appendix-porting.xml:
22972         * docs/pwg/pwg.xml:
22973           Add porting guide (mostly stubs), remove autoplugging (see ADM).
22974         * docs/pwg/building-boiler.xml:
22975         * docs/pwg/building-chainfn.xml:
22976         * docs/pwg/building-pads.xml:
22977         * docs/pwg/building-props.xml:
22978         * docs/pwg/building-state.xml:
22979         * docs/pwg/building-testapp.xml:
22980           Update the building-*.xml parts for 0.9 changes. All examples
22981           code blocks compile in examples/pwg/*.
22982
22983 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22984
22985         * docs/manual/advanced-autoplugging.xml:
22986         * docs/manual/appendix-checklist.xml:
22987         * docs/manual/appendix-integration.xml:
22988         * docs/manual/highlevel-components.xml:
22989           Fix playbin/decodebin examples, update docs a bit, mention bus
22990           instead of signals in various places, mention kmplayer and
22991           kaffeine since they have a working GStreamer backend in the KDE
22992           section.
22993
22994 2005-06-30  Wim Taymans  <wim@fluendo.com>
22995
22996         * CHANGES-0.9:
22997         * docs/design/draft-ghostpads.txt:
22998         * docs/design/draft-push-pull.txt:
22999         * docs/design/draft-query.txt:
23000         * docs/design/part-TODO.txt:
23001         * docs/design/part-query.txt:
23002         Added CHANGES-0.9 doc, updated status of other docs.
23003         
23004         * gst/gstquery.h:
23005         Remove "hmm" macro
23006
23007 2005-06-30  Wim Taymans  <wim@fluendo.com>
23008
23009         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23010         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23011         (gst_base_sink_change_state):
23012         * gst/base/gstbasesink.h:
23013         Some tweaks, only EOS and a buffer complete a preroll.
23014
23015 2005-06-30  Andy Wingo  <wingo@pobox.com>
23016
23017         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
23018         activate_push down to the internal pad as well.
23019
23020 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
23021
23022         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23023
23024         * gst/gsttaginterface.c:
23025           Some documentation fixes (#307394 and #307397).
23026
23027 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
23028
23029         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23030
23031         * gst/gstvalue.c: (gst_value_intersect_list):
23032           Fix memleak (#309125).
23033
23034 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23035
23036         * docs/manual/advanced-dataaccess.xml:
23037           Fix fakesrc example to compile; doesn't work, bug somewhere...?
23038         * docs/manual/basics-pads.xml:
23039           Add reference for filtered caps to above chapter.
23040
23041 2005-06-30  Wim Taymans  <wim@fluendo.com>
23042
23043         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
23044         (gst_bin_change_state):
23045         Probes are gone.
23046         Lame attempt at making the state change function a bit
23047         more readable.
23048
23049 2005-06-30  Wim Taymans  <wim@fluendo.com>
23050
23051         * docs/design/part-clocks.txt:
23052         * docs/design/part-element-sink.txt:
23053         * docs/design/part-events.txt:
23054         * docs/design/part-preroll.txt:
23055         * docs/design/part-states.txt:
23056         Some more tweeks and additions to the docs.
23057
23058 2005-06-30  Wim Taymans  <wim@fluendo.com>
23059
23060         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23061         (default_have_data), (gst_pad_class_init), (gst_pad_init),
23062         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23063         (gst_pad_check_pull_range), (gst_pad_get_range),
23064         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
23065         * gst/gstpad.h:
23066         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
23067         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23068         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23069         (gst_pad_remove_buffer_probe):
23070         Removed atomic operations, use existing LOCK.
23071         Move exception handling out of main code path.
23072
23073 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23074
23075         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23076         (silly_return_true_function), (gst_pad_class_init),
23077         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23078         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
23079         (gst_pad_send_event):
23080           Fix accumulator, add default value by using _emitv() instead
23081           of _emit() for signal emission.
23082
23083 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23084
23085         * docs/manual/advanced-dataaccess.xml:
23086         * examples/manual/Makefile.am:
23087           Add probe example.
23088         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
23089           Make work (??).
23090
23091 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
23092
23093         * gst/elements/gstfilesink.c: (gst_filesink_render):
23094           Simplify code so that we don't have to handle short
23095           writes and return GST_FLOW_ERROR if an error occured.
23096
23097 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23098
23099         * docs/gst/gstreamer-docs.sgml:
23100           Remove probes more.
23101
23102 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23103
23104         * docs/gst/gstreamer-sections.txt:
23105         * docs/gst/tmpl/gstpad.sgml:
23106         * docs/gst/tmpl/gstprobe.sgml:
23107         * gst/Makefile.am:
23108         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23109         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
23110         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23111         (gst_pad_push_event), (gst_pad_send_event):
23112         * gst/gstpad.h:
23113         * gst/gstutils.c: (gst_pad_add_data_probe),
23114         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23115         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23116         (gst_pad_remove_buffer_probe):
23117         * gst/gstutils.h:
23118           Remove old probes, add new g-signal-based probes and some utility
23119           functions.
23120
23121 2005-06-29  Edward Hervey  <edward@fluendo.com>
23122
23123         * gst/gstelementfactory.c:
23124         * gst/gstutils.h:
23125         * gst/gstutils.c:
23126         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
23127         the definition to the header file.
23128
23129 2005-06-29  Andy Wingo  <wingo@pobox.com>
23130
23131         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
23132         plugins from the source directory.
23133
23134 2005-06-29  Wim Taymans  <wim@fluendo.com>
23135
23136         * docs/gst/tmpl/gstbuffer.sgml:
23137         * docs/gst/tmpl/gstclock.sgml:
23138         Some fixings for blantently wrong text.
23139
23140 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23141
23142         * check/Makefile.am:
23143         * gst/gst.c: (add_path_func), (init_pre):
23144         * gst/gstregistry.c: (gst_registry_add_path):
23145           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
23146           only scan the GST_PLUGIN_PATH locations, and not add
23147           system locations
23148
23149 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23150
23151         * docs/gst/gstreamer-sections.txt:
23152         * docs/gst/tmpl/gstbasesrc.sgml:
23153         * gst/gstelement.c:
23154         * gst/gstelement.h:
23155         * gst/gstevent.c:
23156         * gst/gstutils.c:
23157           doc fixes
23158
23159 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23160
23161         * docs/manual/advanced-autoplugging.xml:
23162           Fix autoplugging example.
23163
23164 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23165
23166         * docs/manual/advanced-autoplugging.xml:
23167         * docs/manual/mime-world.fig:
23168           Try to get autoplugging working, fix type detection. Fix text
23169           in hello-world image.
23170
23171 2005-06-29  Wim Taymans  <wim@fluendo.com>
23172
23173         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23174         (gst_base_sink_change_state):
23175         Small debug line.
23176
23177         * gst/gstclock.h:
23178         map SIGNAL and BROADCAST to the right function.
23179
23180         * gst/gstobject.h:
23181         Remove redundant braces.
23182
23183         * gst/gstpad.c: (gst_pad_set_caps):
23184         Don't call setcaps function when reseting caps to NULL.
23185
23186         * gst/gstsystemclock.c: (gst_system_clock_dispose),
23187         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
23188         (gst_system_clock_id_unschedule):
23189         Use BROADCAST as this is what we do.
23190
23191 2005-06-29  Wim Taymans  <wim@fluendo.com>
23192
23193         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23194         We are actually prerolling before commiting the state
23195         change. 
23196
23197 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23198
23199         * docs/manual/advanced-clocks.xml:
23200         * docs/manual/advanced-interfaces.xml:
23201         * docs/manual/advanced-metadata.xml:
23202         * docs/manual/advanced-position.xml:
23203         * docs/manual/advanced-schedulers.xml:
23204         * docs/manual/advanced-threads.xml:
23205         * docs/manual/appendix-porting.xml:
23206         * docs/manual/basics-bins.xml:
23207         * docs/manual/basics-bus.xml:
23208         * docs/manual/basics-elements.xml:
23209         * docs/manual/basics-helloworld.xml:
23210         * docs/manual/basics-pads.xml:
23211         * docs/manual/highlevel-components.xml:
23212         * docs/manual/manual.xml:
23213         * docs/manual/thread.fig:
23214           Update (until threads/scheduling) Application Development Manual;
23215           remove GstThread, add GstBus, add simple porting checklist, add
23216           documentation for tag writing, clocks, make all examples until this
23217           part compile and run.
23218         * examples/manual/Makefile.am:
23219           Update from changes to Application Development Manual; add bus
23220           example, remove thread example.
23221
23222 2005-06-28  Wim Taymans  <wim@fluendo.com>
23223
23224         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
23225         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
23226         (gst_bus_source_dispatch):
23227         Add debugging messages.
23228         Make internal methods static.
23229         Handle the case where the bus is flushed in the handler.
23230         
23231         * gst/gstelement.c: (gst_element_get_bus):
23232         Fix refcount in _get_bus();
23233
23234         * gst/gstpipeline.c: (gst_pipeline_change_state),
23235         (gst_pipeline_get_clock_func):
23236         Clock refcounting fixes.
23237         Handle the case where preroll timed out more gracefully.
23238         
23239         * gst/gstsystemclock.c: (gst_system_clock_dispose):
23240         Clean up the internal thread in dispose. This is needed
23241         for subclasses that actually get disposed.
23242         
23243         * gst/schedulers/threadscheduler.c:
23244         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23245         (gst_thread_scheduler_dispose):
23246         Free thread pool in dispose.
23247
23248 2005-06-28  Andy Wingo  <wingo@pobox.com>
23249
23250         * tests/network-clock-utils.scm (debug, print-event): New utils.
23251
23252         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
23253         (*packet-loss*): Unified loss probability.
23254         (network-time): Report out-of-band events.
23255
23256         * tests/plot-data: Add support for out-of-band events. Hack it
23257         into this script instead of passing it down the pipe; should fix
23258         this later.
23259
23260 2005-06-28  Wim Taymans  <wim@fluendo.com>
23261
23262         * docs/gst/gstreamer.types:
23263         * docs/gst/tmpl/gstbasesrc.sgml:
23264         * docs/gst/tmpl/gstpad.sgml:
23265         Docs fixes.
23266
23267 2005-06-28  Wim Taymans  <wim@fluendo.com>
23268
23269         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23270         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
23271         (gst_proxy_pad_do_fixatecaps):
23272         Correctly proxy the check_pull_range function.
23273
23274 2005-06-28  Andy Wingo  <wingo@pobox.com>
23275
23276         * tests/network-clock.scm: Removed need for slib.
23277         
23278 2005-06-28  Wim Taymans  <wim@fluendo.com>
23279
23280         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
23281         (gst_basesink_preroll_queue_flush):
23282         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
23283         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
23284         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23285         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23286         (gst_proxy_pad_set_property):
23287         * gst/gstpad.c:
23288         * gst/gstpad.h:
23289         * gst/gstqueue.c: (gst_queue_init):
23290         The deprecated pad loop function is removed now.
23291
23292 2005-06-28  Andy Wingo  <wingo@pobox.com>
23293
23294         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
23295         New parameters, simulate network packet loss.
23296
23297         * tests/network-clock-utils.scm: Initialize the RNG.
23298
23299 2005-06-28  Wim Taymans  <wim@fluendo.com>
23300
23301         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
23302         (gst_basesink_event), (gst_basesink_deactivate):
23303         Flushing the preroll queue always needs to unlock the waiters.
23304
23305 2005-06-28  Edward Hervey  <edward@fluendo.com>
23306
23307         * gst/gstpipeline.c: (gst_pipeline_send_event): 
23308         Wheen a seek was successful on a pipeline, set the stream_time to the
23309         seek offset in order to have a synchronized stream_time.
23310
23311 2005-06-28  Wim Taymans  <wim@fluendo.com>
23312
23313         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23314         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
23315         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
23316         (gst_proxy_pad_do_fixatecaps):
23317         Call wrapper function instead of just calling the function
23318         pointers. This takes care of any locking and whatmore.
23319
23320 2005-06-28  Wim Taymans  <wim@fluendo.com>
23321
23322         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
23323         (gst_pad_pull_range):
23324         * gst/gstpad.h:
23325         CONNECTED -> LINKED.
23326
23327 2005-06-28  Andy Wingo  <wingo@pobox.com>
23328
23329         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
23330         source-munging commit!!!
23331
23332         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
23333         (gst_object_sink): Take gpointer arguments, not GstObject --
23334         avoids casts. Like GLib.
23335
23336         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
23337         activate.
23338
23339 2005-06-27  Andy Wingo  <wingo@pobox.com>
23340
23341         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
23342         remaining buffer.
23343
23344         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
23345         returns a sorted copy of the trace list.
23346         (gst_alloc_trace_print_live): New API, only prints traces with
23347         live objects. Sort the list.
23348         (gst_alloc_trace_print_all): Sort the list.
23349         (gst_alloc_trace_print): Align columns.
23350
23351         * gst/elements/gstttypefindelement.c:
23352         * gst/elements/gsttee.c:
23353         * gst/base/gstbasesrc.c:
23354         * gst/base/gstbasesink.c:
23355         * gst/base/gstbasetransform.c:
23356         * gst/gstqueue.c: Adapt for pad activation changes.
23357
23358         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
23359         sched.
23360         (gst_pipeline_dispose): Drop ref on sched.
23361
23362         * gst/gstpad.c (gst_pad_init): Set the default activate func.
23363         (gst_pad_activate_default): Push mode by default.
23364         (pre_activate_switch, post_activate_switch): New stubs, things to
23365         do before and after switching activation modes on pads.
23366         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
23367         the pad's activate function to choose which mode to activate.
23368         Shortcut on deactivation and call the right function directly.
23369         (gst_pad_activate_pull): New API, (de)activates a pad in pull
23370         mode.
23371         (gst_pad_activate_push): New API, same for push mode.
23372         (gst_pad_set_activate_function) 
23373         (gst_pad_set_activatepull_function) 
23374         (gst_pad_set_activatepush_function): Setters for new API.
23375
23376         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
23377         Trace all miniobjects.
23378         (gst_mini_object_make_writable): Unref the arg if we copy, like
23379         gst_caps_make_writable.
23380
23381         * gst/gstmessage.c (_gst_message_initialize): No trace init.
23382
23383         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
23384         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
23385         Adapt for new pad API.
23386
23387         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
23388
23389         * gst/gstelement.h:
23390         * gst/gstelement.c (gst_element_iterate_src_pads) 
23391         (gst_element_iterate_sink_pads): New API functions.
23392         
23393         * gst/gstelement.c (iterator_fold_with_resync): New utility,
23394         should fold into gstiterator.c in some form.
23395         (gst_element_pads_activate): Simplified via use of fold and
23396         delegation of decisions to gstpad->activate.
23397
23398         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
23399         help in debugging.
23400
23401         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
23402         class once in init, like gstmessage. Didn't run into this issue
23403         but it seems correct. Don't initialize a trace, gstminiobject does
23404         that.
23405
23406         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
23407         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
23408         to the bus.
23409         (assert_live_count): New util function, uses alloc traces to check
23410         cleanup.
23411
23412         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
23413         To be modified when unlink drops the internal pad.
23414
23415 2005-06-27  Wim Taymans  <wim@fluendo.com>
23416
23417         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
23418         (gst_bin_change_state):
23419         Cleanup the get_state() function a little, make sure it
23420         iterates the same set of elements.
23421         Added stub iterate_state_order().
23422
23423 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
23424
23425         * docs/gst/gstreamer-docs.sgml:
23426         * docs/gst/gstreamer-sections.txt:
23427         * docs/gst/gstreamer.types:
23428         * docs/gst/tmpl/gstbasesink.sgml:
23429         * docs/gst/tmpl/gstbasesrc.sgml:
23430         * docs/gst/tmpl/gstbasetransform.sgml:
23431         * docs/gst/tmpl/gstelement.sgml:
23432         * docs/gst/tmpl/gstiterator.sgml:
23433         * gst/base/gstbasesrc.c:
23434         * gst/base/gstbasesrc.h:
23435         * gst/base/gstbasetransform.h:
23436         * gst/gstelement.c:
23437         * gst/gstiterator.h:
23438           adding basetransform and iterator docs
23439
23440 2005-06-27  Andy Wingo  <wingo@pobox.com>
23441
23442         * docs/design/part-activation.txt: Notes on how activation should
23443         work -- not quite implemented yet.
23444
23445 2005-06-25  Wim Taymans  <wim@fluendo.com>
23446
23447         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
23448         At least get the chain function correct, needs more
23449         fixing.
23450
23451 2005-06-25  Wim Taymans  <wim@fluendo.com>
23452
23453         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23454         (gst_basesink_handle_object), (gst_basesink_event),
23455         (gst_basesink_do_sync), (gst_basesink_handle_event),
23456         (gst_basesink_change_state):
23457         * gst/gsttask.h:
23458         Right, two problems here: ghostpads don't take locks and
23459         glib _rec_mutex_lock_full() with depth==0 still locks.
23460         Catch illegal locking and g_warn them.
23461
23462 2005-06-25  Wim Taymans  <wim@fluendo.com>
23463
23464         * check/states/sinks.c: (START_TEST), (gst_object_suite):
23465         Have to check for completion now...
23466
23467 2005-06-25  Wim Taymans  <wim@fluendo.com>
23468
23469         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23470         (gst_basesink_handle_object), (gst_basesink_event),
23471         (gst_basesink_do_sync), (gst_basesink_handle_event),
23472         (gst_basesink_change_state):
23473         * gst/gstpad.h:
23474         Unlock STREAM_LOCK whatever the recursion was.
23475
23476 2005-06-25  Wim Taymans  <wim@fluendo.com>
23477
23478         * gst/base/gstbasesink.c: (gst_basesink_set_property),
23479         (gst_basesink_preroll_queue_empty),
23480         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
23481         (gst_basesink_event), (gst_basesink_do_sync),
23482         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
23483         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
23484         (gst_basesink_change_state):
23485         Reworked the base sink, handle event and buffer serialisation
23486         correctly and removed possible deadlock.
23487         Handle EOS correctly.
23488
23489 2005-06-25  Wim Taymans  <wim@fluendo.com>
23490
23491         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
23492         (gst_pipeline_change_state):
23493         * tools/gst-launch.c: (check_intr), (event_loop), (main):
23494         Allow elements to post EOS in the state change function.
23495         Fix up -launch, make it exit the poll loop when the
23496         pipeline actually changed state.
23497         Fix up warning parsing in -launch.
23498
23499 2005-06-25  Wim Taymans  <wim@fluendo.com>
23500
23501         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
23502         (gst_tee_sink_activate):
23503         Core takes STREAM_LOCK for us now.
23504
23505 2005-06-25  Wim Taymans  <wim@fluendo.com>
23506
23507         * gst/gstelement.c: (gst_element_get_state_func),
23508         (gst_element_set_state):
23509         * gst/gstelement.h:
23510         * gst/gstmessage.c: (gst_message_parse_error),
23511         (gst_message_parse_warning):
23512         Keep track of current target state while performing a state
23513         change so that subclasses can do something interesting.
23514         Fix parsing of warning/error messages when GError is NULL.
23515
23516 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
23517
23518         * docs/gst/Makefile.am:
23519         * docs/gst/gstreamer-docs.sgml:
23520         * docs/gst/gstreamer-sections.txt:
23521         * docs/gst/gstreamer.types:
23522         * docs/gst/tmpl/gstbasesink.sgml:
23523         * docs/gst/tmpl/gstbasesrc.sgml:
23524         * docs/gst/tmpl/gstbin.sgml:
23525         * docs/gst/tmpl/gstcompat.sgml:
23526         * docs/gst/tmpl/gstfakesink.sgml:
23527         * docs/gst/tmpl/gstfakesrc.sgml:
23528         * docs/gst/tmpl/gstfilesink.sgml:
23529         * docs/gst/tmpl/gstfilesrc.sgml:
23530         * docs/gst/tmpl/gstindex.sgml:
23531         * docs/manual/appendix-quotes.xml:
23532         * gst/base/gstbasesrc.h:
23533         * gst/elements/gstfakesrc.h:
23534         * gst/gstmessage.h:
23535           start pulling in base classes and elements in our docs
23536
23537 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
23538
23539         * docs/gst/Makefile.am:
23540         * docs/libs/Makefile.am:
23541           fixed make distcheck with gtk-doc 1.3
23542
23543 2005-06-23  Wim Taymans  <wim@fluendo.com>
23544
23545         * gst/gstelement.c: (gst_element_get_state_func),
23546         (gst_element_set_state), (gst_element_change_state):
23547         When the state did not change, also report NO_PREROLL
23548         when it matters.
23549
23550 2005-06-23  Wim Taymans  <wim@fluendo.com>
23551
23552         * gst/gstpad.c: (gst_pad_event_default):
23553         * gst/gstqueue.c: (gst_queue_loop):
23554         No unsafe task pausing please.
23555
23556 2005-06-23  Wim Taymans  <wim@fluendo.com>
23557
23558         * gst/schedulers/threadscheduler.c:
23559         (gst_thread_scheduler_task_start),
23560         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
23561         Ref the task before pushing it on the threadpool. This
23562         makes sure that we have a ref when the threadfunction is
23563         actually called.
23564
23565 2005-06-23  Andy Wingo  <wingo@pobox.com>
23566
23567         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
23568         offset is greater than the file's size.
23569
23570         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
23571         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
23572         * gst/gstobject.c (gst_object_class_init): Make the class lock
23573         recursive. Wim won't let me drop deep_notify. Decodebin works
23574         again, whoopdy doo.
23575
23576         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
23577         internal pad, and hacks accordingly. Doesn't do it on the target
23578         pad because we change its caps. Probably catches all cases of
23579         interest tho.
23580         (gst_ghost_pad_set_property): Connect to notify::caps as
23581         appropritate.
23582
23583         * tests/network-clock.scm (plot-simulation): Pipe data to the
23584         elite python skript.
23585
23586         * tests/network-clock-utils.scm (define-parameter): New macro,
23587         defines a parameter that can be set via the command line.
23588         (set-parameter!, parse-parameter-arguments): Command line args
23589         parser.
23590
23591         * tests/plot-data: Simple matplotlib-based plotter, takes input on
23592         stdin.
23593
23594 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
23595
23596         * gst/elements/gsttypefindelement.c:
23597         (gst_type_find_element_handle_event):
23598           Don't restart typefinding on a discont.
23599         * gst/gstelement.c: (gst_element_set_state):
23600           Debug spelling fix.
23601         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
23602           Allow changing mode of an active pad.
23603           Debug output fixes.
23604         * gst/registries/gstlibxmlregistry.c: (load_feature):
23605           Don't cast a static pad template to a normal pad template.
23606
23607 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23608
23609         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23610         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23611           remove gst_strtoll completely, since it didn't actually do
23612           anything more than what g_ascii_strtoull already does.
23613           check for range errors when deserializing
23614           do a cast for the unsigned cases; but further fixing needs
23615           a decision on what the interpretation of "(int)" and
23616           deserialization should be for values that fall outside the
23617           type's boundaries (ie, refuse, or interpret as casting)
23618
23619 2005-06-23  Wim Taymans  <wim@fluendo.com>
23620
23621         * check/Makefile.am:
23622         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
23623         * docs/design/part-live-source.txt:
23624         * docs/design/part-states.txt:
23625         * gst/base/gstbasesrc.c: (gst_basesrc_init),
23626         (gst_basesrc_set_live), (gst_basesrc_is_live),
23627         (gst_basesrc_get_range), (gst_basesrc_activate),
23628         (gst_basesrc_change_state):
23629         * gst/base/gstbasesrc.h:
23630         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23631         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23632         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
23633         * gst/gstelement.c: (gst_element_get_state_func),
23634         (gst_element_set_state):
23635         * gst/gstelement.h:
23636         * gst/gsttypes.h:
23637         * tools/gst-launch.c: (event_loop), (main):
23638         Added support for live sources and other elements that
23639         cannot do preroll.
23640         Updated design docs, added live-source design doc.
23641         Implemented live source functionality in basesrc
23642         Fix error condition in _bin_get_state()
23643         Implement live source handling in -launch.
23644         Added check for live sources.
23645         Fixed case in GstBin where elements were changed state
23646         multiple times.
23647
23648
23649 2005-06-23  Andy Wingo  <wingo@pobox.com>
23650
23651         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
23652         borken refcounting.
23653
23654         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
23655         gst_caps_replace takes care of this for us.
23656
23657         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
23658         gst_pad_set_caps on the target, not just its setcaps() function.
23659
23660         * tests/network-clock.scm: 
23661         * tests/network-clock-utils.scm: A network clock simulator.
23662         Something of an algorithmic testbed before doing something in C.
23663
23664 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23665
23666         * check/Makefile.am:
23667         * check/gst/capslist.h:
23668           copy over from 0.8, and add two with bitmasks specified with
23669           (int) 0xFF...
23670         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23671           add test to parse everything from capslist.h
23672         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
23673         (main):
23674           add test for structure deserialization
23675         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23676           add tests for deserialization of strings to int types
23677         * gst/gststructure.c: (gst_structure_nth_field_name):
23678         * gst/gststructure.h:
23679           add a way to get the name of a field referenced by index
23680         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23681           instead of checking if the resulting long long lies between
23682           min and max, we check if the long long would fit into
23683           a number of bytes for the final type.
23684           This fixes cases where a string represents 2^32 - 1, which
23685           when cast to int would be the (valid) -1, but is bigger than
23686           G_MAXINT
23687
23688 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23689
23690         * gst/parse/grammar.y:
23691           add a log line for type deserialization
23692
23693 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23694
23695         * check/gst/gstvalue.c: (START_TEST):
23696         * gst/gstvalue.c: (gst_value_deserialize):
23697           return long long, not int, so gint64 deserialization actually
23698           works.  Is there any flag that makes the compiler check this ?
23699           Fixes #308559
23700
23701 2005-06-22  Wim Taymans  <wim@fluendo.com>
23702
23703         * gst/gstbuffer.h:
23704         Added convenience macros for setting buffers in GValue.
23705
23706 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23707
23708         * check/gst/.cvsignore:
23709         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23710           add a test deserializing int64, and comment part out because
23711           it fails, yay !
23712
23713 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23714
23715         * check/Makefile.am:
23716         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
23717         * testsuite/Makefile.am:
23718         * testsuite/caps/Makefile.am:
23719         * testsuite/caps/value_serialize.c:
23720         * testsuite/test_gst_init.c:
23721           move a value_serialize test over
23722
23723 2005-06-20  Wim Taymans  <wim@fluendo.com>
23724
23725         * gst/gstpad.c:
23726         Small doc updates.
23727         
23728         * gst/gstvalue.c: (gst_value_compare_buffer),
23729         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
23730         (gst_value_compare_flags), (gst_value_serialize_flags),
23731         (gst_value_deserialize_flags), (_gst_value_initialize):
23732         Fix serialisation of buffers, they are not boxed types anymore
23733
23734 2005-06-20  Wim Taymans  <wim@fluendo.com>
23735
23736         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23737         Testcase to show error in buffer-on-caps serialisation.
23738
23739 2005-06-20  Andy Wingo  <wingo@pobox.com>
23740
23741         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
23742         will be adding to later.
23743
23744         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
23745         if its socks fill with rocks.
23746         (gst_system_clock_obtain): Set the name on object construction.
23747         Avoid double-checked locking.
23748
23749 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
23750
23751         * gst/gsturi.c: (gst_element_make_from_uri):
23752           Fix potential endless loop.
23753
23754 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23755
23756         * check/Makefile.am:
23757           add gsttag
23758         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
23759         (main):
23760           move over from testsuite dir and clean up
23761         * configure.ac:
23762         * gst/gsttag.c:
23763         * testsuite/Makefile.am:
23764         * testsuite/tags/.cvsignore:
23765         * testsuite/tags/Makefile.am:
23766         * testsuite/tags/merge.c:
23767           remove testsuite/tags
23768
23769 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23770
23771         * docs/gst/gstreamer-sections.txt:
23772         * docs/gst/tmpl/gstenumtypes.sgml:
23773         * win32/gstenumtypes.c:
23774           clean up documentation build a little
23775
23776 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23777
23778         * check/gstcheck.h:
23779           add macros for checking refcounts on objects and caps
23780         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
23781           add some more unit tests
23782         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23783         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
23784           fix leaked refcounts (I hope :)) so unittest works
23785         * gst/gstpad.h:
23786           whitespace removal
23787
23788 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23789
23790         * configure.ac: back to HEAD
23791
23792 === release 0.9.1 ===
23793
23794 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
23795
23796         * NEWS:
23797         * RELEASE:
23798           updated
23799
23800 2005-06-17  Andy Wingo  <wingo@pobox.com>
23801
23802         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
23803         assert; it's always possible that the pad gets deactivated in
23804         between the checks in gstpad.c and the implementation. Rely on
23805         finish_preroll() to return a FLUSHING or similar instead of on the
23806         assert.
23807         
23808         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
23809         clock and post an EOS message if we come out of finish_preroll in
23810         the playing state.
23811
23812 2005-06-16  David Schleef  <ds@schleef.org>
23813
23814         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23815         (gst_capsfilter_set_property): Allow NULL as possible value
23816         for filter_caps property, indicating GST_CAPS_ANY.
23817
23818 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23819
23820         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
23821           fix debug output
23822         * gst/schedulers/Makefile.am:
23823           use libgst prefix
23824         * gstreamer.spec.in:
23825           fix spec for it
23826
23827 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23828
23829         * gstreamer.spec.in:
23830           clean up
23831
23832 2005-06-08  Andy Wingo  <wingo@pobox.com>
23833
23834         * gst/gstutils.c: RPAD fixes all around.
23835         (gst_element_link_pads): Refcounting fixes.
23836
23837         * tools/gst-inspect.c:
23838         * tools/gst-xmlinspect.c:
23839         * parse/grammar.y:
23840         * gst/base/gsttypefindhelper.c:
23841         * gst/base/gstbasesink.c:
23842         * gst/gstqueue.c: RPAD fixes.
23843
23844         * gst/gstghostpad.h:
23845         * gst/gstghostpad.c: New ghost pad implementation as full proxy
23846         pads. The tricky thing is they provide both source and sink
23847         interfaces, since they proxy the internal pad for the external
23848         pad, and vice versa. Implement with lower-level ProxyPad objects,
23849         with the interior proxy pad as a child of the exterior ghost pad.
23850         Should write a doc on this.
23851         
23852         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
23853         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
23854         gst_object API.
23855         
23856         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
23857         pads are real pads. No ghost pads in this file. Not documenting
23858         the myriad s/RPAD/PAD/ and REALIZE fixes.
23859         (gst_pad_class_init): Add properties for "direction" and
23860         "template". Both are construct-only, so they can't change during
23861         the life of the pad. Fixes properly deriving from GstPad.
23862         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
23863         derived objects, just set properties when creating the objects via
23864         g_object_new.
23865         (gst_pad_get_parent): Implement as a function, return NULL if the
23866         parent is not an element.
23867         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
23868         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
23869         
23870         * gst/gstobject.c (gst_object_class_init): Make name a construct
23871         property. Don't set it in the object init.
23872
23873         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
23874         with UNKNOWN direction.
23875         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
23876         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
23877         (gst_element_remove_pad): Remove ghost-pad special cases.
23878         (gst_element_pads_activate): Remove rpad cruft.
23879
23880         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
23881         catch the pad's-parent-not-an-element case.
23882
23883         * gst/gst.h: Include gstghostpad.h.
23884
23885         * gst/gst.c (init_post): No more real, ghost pads.
23886
23887         * gst/Makefile.am: Add gstghostpad.[ch].
23888
23889         * check/Makefile.am:
23890         * check/gst/gstbin.c:
23891         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
23892         into a bin creates ghost pads, and that the refcounts are right.
23893         Partly moved from gstbin.c.
23894
23895 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23896
23897         * check/gst-libs/.cvsignore:
23898         * check/gst/.cvsignore:
23899         * check/pipelines/.cvsignore:
23900           ignore more
23901         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
23902         (START_TEST), (cleanup_suite), (main):
23903           add some tests related to cleanup after running pipelines
23904
23905 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23906
23907         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
23908           add a testsuite for GstBuffer
23909
23910 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23911
23912         * gst/gstminiobject.h:
23913           add defines for accessing the refcount
23914
23915 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
23916
23917         * Makefile.am: added support for html unit test coverage reports
23918
23919 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
23920
23921         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
23922           Free existing caps if the capsfilter changes. Add a FIXME about
23923           setting those caps on the pads.
23924
23925         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
23926           Before adding a ghost pad to a parent bin, check that there isn't
23927           already one for the element on the bin. Prevents infinite recursion
23928           when using decodebin in parse pipelines. Andy says he'll rewrite the
23929           way this works anyway, so ignore the hack.
23930
23931 2005-06-02  Andy Wingo  <wingo@pobox.com>
23932
23933         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
23934         file size, pass it on to the type find helper.
23935
23936         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
23937         segment_start and segment_end properly according to the seek
23938         method. Segment_end is still a bit flaky because offset can be
23939         negative for CUR and END cases, but it takes -1 as an "unset"
23940         value.
23941
23942 2005-06-02  Wim Taymans  <wim@fluendo.com>
23943
23944         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
23945         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
23946         (gst_basesink_activate):
23947         * gst/base/gstbasesink.h:
23948         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23949         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23950         (gst_pad_query), (gst_pad_start_task):
23951         * gst/gstpad.h:
23952         * gst/gstqueue.c: (gst_queue_bufferalloc),
23953         (gst_queue_handle_sink_event), (gst_queue_chain):
23954         Bufferalloc: return GstFlowReturn to more accuratly report
23955         why allocation failed.
23956
23957 2005-06-02  Wim Taymans  <wim@fluendo.com>
23958
23959         * gst/gstpipeline.c: (gst_pipeline_send_event):
23960         Take snapshot of state without blocking.
23961
23962 2005-06-02  Wim Taymans  <wim@fluendo.com>
23963
23964         * docs/design/part-TODO.txt:
23965         * docs/design/part-caps.txt:
23966         * docs/design/part-clocks.txt:
23967         * docs/design/part-negotiation.txt:
23968         * docs/design/part-preroll.txt:
23969         Small doc updates 
23970
23971 2005-05-30  Wim Taymans  <wim@fluendo.com>
23972
23973         * gst/elements/gstidentity.c: (gst_identity_event),
23974         (gst_identity_transform), (gst_identity_get_property):
23975         Protect last_message property as it is accessed from
23976         multiple threads.
23977
23978 2005-05-30  Wim Taymans  <wim@fluendo.com>
23979
23980         * gst/gstelement.c: (gst_element_init),
23981         (gst_element_pads_activate), (gst_element_change_state):
23982         Slicker pad activation code.
23983
23984 2005-05-30  Wim Taymans  <wim@fluendo.com>
23985
23986         * gst/Makefile.am:
23987         * gst/gstelement.h:
23988         * gst/gstelementfactory.h:
23989         * gst/gsttypes.h:
23990         Move elementfactory methods to separate .h file.
23991
23992 2005-05-30  Wim Taymans  <wim@fluendo.com>
23993
23994         * docs/design/part-overview.txt:
23995         * gst/gstsystemclock.h:
23996         Small typo fixes, doc updates.
23997
23998 2005-05-30  Wim Taymans  <wim@fluendo.com>
23999
24000         * gst/gst.c: (gst_init_get_popt_table), (init_post),
24001         (init_popt_callback):
24002         Remove cpu-opt flag.
24003
24004 2005-05-30  Wim Taymans  <wim@fluendo.com>
24005
24006         * gst/gstbuffer.c: (gst_subbuffer_finalize),
24007         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
24008         * gst/gstbuffer.h:
24009         Avoid typechecking in places where not needed.
24010         Added accessor for malloc_data.
24011
24012 2005-05-30  Wim Taymans  <wim@fluendo.com>
24013
24014         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
24015         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
24016         (gst_pad_configure_sink), (gst_pad_configure_src),
24017         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
24018         (gst_pad_start_task):
24019         Propagate errors from _set_caps() in configure_src/sink
24020         functions instead of returning TRUE.
24021         FLUSH events can travel up and downstream
24022
24023
24024 2005-05-30  Wim Taymans  <wim@fluendo.com>
24025
24026         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24027         (gst_basesink_activate):
24028         Handle EOS in preroll.
24029
24030 2005-05-30  Wim Taymans  <wim@fluendo.com>
24031
24032         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24033         (gst_queue_loop), (gst_queue_handle_src_event):
24034         Remove old pieces of code
24035         Flushing the queue in an upstream event is a very bad idea.
24036
24037 2005-05-26  Andy Wingo  <wingo@pobox.com>
24038
24039         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
24040         gst_value_set_mini_object so as to add a ref on the object (which
24041         will be removed when the value is unset).
24042
24043         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
24044         arg type in ::handoff.
24045
24046         * gst/gstelement.c (gst_element_change_state): Also deactivate
24047         pads in READY->NULL, just in case the element didn't make it to
24048         PAUSED. Wingo tested, Wim approved.
24049
24050 2005-05-26  Wim Taymans  <wim@fluendo.com>
24051
24052         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24053         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24054         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
24055         A flushing pad cannot be used to alloc_buffer from.
24056
24057 2005-05-26  Wim Taymans  <wim@fluendo.com>
24058
24059         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
24060         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
24061         (gst_bus_source_dispatch), (gst_bus_source_finalize),
24062         (gst_bus_create_watch), (gst_bus_add_watch_full):
24063         * gst/gstbus.h:
24064         Implement a real GSource and use g_main_context_wakeup() to
24065         signal new messages instead of the socketpair.
24066
24067 2005-05-25  Wim Taymans  <wim@fluendo.com>
24068
24069         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
24070         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
24071         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24072         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24073         (gst_pad_send_event), (gst_pad_start_task):
24074         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
24075         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24076         (gst_queue_sink_activate), (gst_queue_src_activate),
24077         (gst_queue_change_state):
24078         * gst/gstqueue.h:
24079         Fix state changes for non sinks. We now change sinks, then elements
24080         with unconnected srcpads, then the rest.
24081         More efficient queue unlocking in flush and state changes.
24082         Set the pad activate mode even if it does not have an activate
24083         function.
24084
24085 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24086
24087         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
24088           Don't go in pull mode for non-seekable sources.
24089         * gst/elements/gsttypefindelement.h:
24090         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24091         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
24092         (free_entry), (stop_typefinding),
24093         (gst_type_find_element_handle_event), (find_peek),
24094         (gst_type_find_element_chain), (do_pull_typefind),
24095         (gst_type_find_element_change_state):
24096           Allow typefinding (w/o seeking) in push-mode, simplified version
24097           of what was in 0.8.
24098         * gst/gstutils.c: (gst_buffer_join):
24099         * gst/gstutils.h:
24100           gst_buffer_join() from 0.8.
24101
24102 2005-05-25  Wim Taymans  <wim@fluendo.com>
24103
24104         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24105         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24106         (gst_pad_send_event), (gst_pad_start_task):
24107         Disable attempt at mode switching until it is figured out.
24108
24109 2005-05-25  Wim Taymans  <wim@fluendo.com>
24110
24111         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
24112         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24113         (gst_basesink_finish_preroll), (gst_basesink_chain),
24114         (gst_basesink_loop), (gst_basesink_activate),
24115         (gst_basesink_change_state):
24116         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
24117         (gst_basesrc_get_range), (gst_basesrc_loop),
24118         (gst_basesrc_activate):
24119         * gst/elements/gsttee.c: (gst_tee_sink_activate):
24120         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24121         (gst_real_pad_init), (gst_real_pad_set_property),
24122         (gst_real_pad_get_property), (gst_pad_set_active),
24123         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
24124         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
24125         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
24126         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
24127         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24128         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
24129         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
24130         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24131         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
24132         (gst_pad_stop_task):
24133         * gst/gstpad.h:
24134         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24135         (gst_queue_loop), (gst_queue_src_activate):
24136         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
24137         (gst_task_get_state):
24138         * gst/gsttask.h:
24139         * gst/schedulers/threadscheduler.c:
24140         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
24141         Implement gst_pad_pause/start/stop_task(), take STREAM lock
24142         in task function.
24143         Remove ACTIVE pad flag, use FLUSHING everywhere
24144         Added _pad_chain(), _pad_get_range() to call chain/getrange 
24145         functions.
24146         Add locks around IS_FLUSHING when reading.
24147         Take STREAM lock in chain(), get_range() functions so plugins
24148         don't need to take it anymore.
24149         
24150
24151
24152 2005-05-25  Wim Taymans  <wim@fluendo.com>
24153
24154         * tools/gst-launch.c: (event_loop):
24155         Unref message after using its contents instead of
24156         before.
24157
24158 2005-05-24  Wim Taymans  <wim@fluendo.com>
24159
24160         * docs/design/draft-ghostpads.txt:
24161         * docs/design/draft-push-pull.txt:
24162         * docs/design/draft-query.txt:
24163         * docs/design/part-overview.txt:
24164         Docs updates, added general overview doc.
24165
24166 2005-05-21  David Schleef  <ds@schleef.org>
24167
24168         * docs/gst/tmpl/old/GstBin.sgml:
24169         * docs/gst/tmpl/old/GstBuffer.sgml:
24170         * docs/gst/tmpl/old/GstCaps.sgml:
24171         * docs/gst/tmpl/old/GstClock.sgml:
24172         * docs/gst/tmpl/old/GstCompat.sgml:
24173         * docs/gst/tmpl/old/GstData.sgml:
24174         * docs/gst/tmpl/old/GstElement.sgml:
24175         * docs/gst/tmpl/old/GstEvent.sgml:
24176         * docs/gst/tmpl/old/GstIndex.sgml:
24177         * docs/gst/tmpl/old/GstStructure.sgml:
24178         * docs/gst/tmpl/old/GstTag.sgml:
24179         * docs/gst/tmpl/old/cothreads.sgml:
24180         * docs/gst/tmpl/old/cothreads_compat.sgml:
24181         * docs/gst/tmpl/old/gettext.sgml:
24182         * docs/gst/tmpl/old/gobject2gtk.sgml:
24183         * docs/gst/tmpl/old/grammar.tab.sgml:
24184         * docs/gst/tmpl/old/gst-i18n-app.sgml:
24185         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
24186         * docs/gst/tmpl/old/gst_private.sgml:
24187         * docs/gst/tmpl/old/gstaggregator.sgml:
24188         * docs/gst/tmpl/old/gstarch.sgml:
24189         * docs/gst/tmpl/old/gstatomic_impl.sgml:
24190         * docs/gst/tmpl/old/gstbufferstore.sgml:
24191         * docs/gst/tmpl/old/gstdata_private.sgml:
24192         * docs/gst/tmpl/old/gstdisksink.sgml:
24193         * docs/gst/tmpl/old/gstdisksrc.sgml:
24194         * docs/gst/tmpl/old/gstelementfactory.sgml:
24195         * docs/gst/tmpl/old/gstextratypes.sgml:
24196         * docs/gst/tmpl/old/gstfakesink.sgml:
24197         * docs/gst/tmpl/old/gstfakesrc.sgml:
24198         * docs/gst/tmpl/old/gstfdsink.sgml:
24199         * docs/gst/tmpl/old/gstfdsrc.sgml:
24200         * docs/gst/tmpl/old/gstfilesink.sgml:
24201         * docs/gst/tmpl/old/gstfilesrc.sgml:
24202         * docs/gst/tmpl/old/gsthttpsrc.sgml:
24203         * docs/gst/tmpl/old/gstidentity.sgml:
24204         * docs/gst/tmpl/old/gstindexfactory.sgml:
24205         * docs/gst/tmpl/old/gstmarshal.sgml:
24206         * docs/gst/tmpl/old/gstmd5sink.sgml:
24207         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
24208         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
24209         * docs/gst/tmpl/old/gstpadtemplate.sgml:
24210         * docs/gst/tmpl/old/gstpipefilter.sgml:
24211         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
24212         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
24213         * docs/gst/tmpl/old/gstshaper.sgml:
24214         * docs/gst/tmpl/old/gstspider.sgml:
24215         * docs/gst/tmpl/old/gstspideridentity.sgml:
24216         * docs/gst/tmpl/old/gststatistics.sgml:
24217         * docs/gst/tmpl/old/gsttee.sgml:
24218         * docs/gst/tmpl/old/gsttimecache.sgml:
24219         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
24220         * docs/gst/tmpl/old/gstxmlregistry.sgml:
24221         * docs/gst/tmpl/old/gthread-cothreads.sgml:
24222         * docs/gst/tmpl/old/types.sgml:
24223           I didn't intend to add these or check them in.
24224
24225 2005-05-19  David Schleef  <ds@schleef.org>
24226
24227         * configure.ac: Use -no-common everywhere.  In a sane world, it
24228           would be the default in libtool, because without it, you can't
24229           build DLLs on Windows.
24230         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
24231         * docs/gst/gstreamer-sections.txt:
24232         * docs/gst/tmpl/gstcpu.sgml:
24233         * docs/gst/tmpl/gstdata.sgml:
24234         * docs/gst/tmpl/gstthread.sgml:
24235
24236 2005-05-19  David Schleef  <ds@schleef.org>
24237
24238         * gst/gstminiobject.c: (gst_value_set_mini_object),
24239         (gst_value_take_mini_object), (gst_value_get_mini_object):
24240         * gst/gstminiobject.h: Add GValue set/get functions.
24241
24242 2005-05-19  Wim Taymans  <wim@fluendo.com>
24243
24244         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
24245         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
24246         (gst_subbuffer_init), (gst_buffer_is_span_fast):
24247         * gst/gstbuffer.h:
24248         * gst/gstbus.c: (gst_bus_post):
24249         * gst/gstelement.c: (gst_element_get_random_pad):
24250         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
24251         Make subbufer unref the parent in finalize.
24252         some more debugging info.
24253
24254
24255 2005-05-19  Wim Taymans  <wim@fluendo.com>
24256
24257         * gst/base/gstbasesink.c: (gst_basesink_class_init),
24258         (gst_basesink_init), (gst_basesink_finalize),
24259         (gst_basesink_activate), (gst_basesink_change_state):
24260         Don't free preroll queue too early.
24261
24262 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24263
24264         * gst/Makefile.am:
24265         * gst/ROADMAP:
24266           Hi, I'm outdated. Please shoot me.
24267
24268 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24269
24270         * gst/gstpipeline.c: (gst_pipeline_send_event):
24271           Do not access variables after they have been deleted.
24272
24273 2005-05-19  Wim Taymans  <wim@fluendo.com>
24274
24275         * tools/gst-inspect.c: (print_plugin_features):
24276         A plugin feature does unfortunatly not use the
24277         object name yet...
24278
24279 2005-05-18  Wim Taymans  <wim@fluendo.com>
24280
24281         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
24282         Port _span() functions to new subbuffers.
24283
24284 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24285
24286         * gst/gstbin.c: (gst_bin_add_func):
24287           Fix clock settery in bins when adding kids after the clock has
24288           been selected.
24289
24290 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24291
24292         * gst/elements/gstidentity.c: (gst_identity_class_init):
24293           Workaround until signals support GstMiniObject.
24294
24295 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
24296
24297         * gst/gstbuffer.c:
24298         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
24299
24300 2005-05-18  Wim Taymans  <wim@fluendo.com>
24301
24302         * gst/base/Makefile.am:
24303         * gst/base/gstadapter.c: (gst_adapter_base_init),
24304         (gst_adapter_class_init), (gst_adapter_init),
24305         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
24306         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
24307         (gst_adapter_flush), (gst_adapter_available),
24308         (gst_adapter_available_fast):
24309         * gst/base/gstadapter.h:
24310         Ported and added adapter to the base classes.
24311
24312 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
24313
24314         * gst/gst.c:
24315         * gst/gstmessage.c:
24316           Make sure the class is reffed/unreffed once before threads can be
24317           used.  Fixes #304551.
24318
24319 2005-05-17  Wim Taymans  <wim@fluendo.com>
24320
24321         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
24322         (gst_basesink_chain_unlocked), (gst_basesink_activate):
24323         * gst/gstminiobject.c: (gst_mini_object_get_type),
24324         (gst_mini_object_free):
24325         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
24326         (gst_pad_push), (gst_pad_push_event):
24327         * gst/gstqueue.c: (gst_queue_change_state):
24328         Don't queue buffers in basesink when we are flushing.
24329         Unref buffer when flushing in basesink.
24330         Flush queue when going to READY
24331         Unref buffer when _push() returns an error.
24332         Don't free MiniObject instance when refcount is incremented
24333         in _finalize() so that we can recover objects.
24334
24335 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
24336
24337         * docs/manual/advanced-schedulers.xml:
24338         * docs/manual/appendix-checklist.xml:
24339         * docs/pwg/advanced-clock.xml:
24340         * docs/pwg/advanced-interfaces.xml:
24341         * docs/pwg/advanced-request.xml:
24342         * docs/pwg/advanced-types.xml:
24343         * docs/pwg/intro-preface.xml:
24344         * examples/plugins/example.c: (gst_example_get_type),
24345         (gst_example_class_init), (gst_example_chain),
24346         (gst_example_set_property), (gst_example_get_property),
24347         (gst_example_change_state), (plugin_init):
24348         * examples/plugins/example.h:
24349           small doc fixes
24350
24351 2005-05-17  Wim Taymans  <wim@fluendo.com>
24352
24353         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
24354         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
24355         * gst/gstqueue.c: (gst_queue_change_state):
24356         Clear queue when going to READY.
24357         Remove IN_SETCAPS flag too.
24358
24359 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
24360
24361         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
24362           Remove implicit cast from gboolean to GstElementStateReturn;
24363           make sure we still return failure in paused => ready case if
24364           the parent class fails to change state and our own stop 
24365           vfunc succeeds.
24366
24367 2005-05-17  Wim Taymans  <wim@fluendo.com>
24368
24369         * tools/gst-launch.c: (event_loop):
24370         Message was unreffed too soon.
24371
24372 2005-05-16  Andy Wingo  <wingo@pobox.com>
24373
24374         * gst/gstbin.c (sink_iterator_filter): Err... um...
24375
24376         * check/gst/gstbin.c (test_ghost_pads): New test for the
24377         ghosting-if-elements-not-in-same-bin behavior.
24378
24379 2005-05-16  David Schleef  <ds@schleef.org>
24380
24381         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
24382         accessing refcount directly.
24383
24384 2005-05-15  David Schleef  <ds@schleef.org>
24385
24386         * check/Makefile.am: remove GstData checks
24387         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
24388         * gst/Makefile.am: add miniobject, remove data
24389         * gst/gst.h: add miniobject, remove data
24390         * gst/gstdata.c: remove
24391         * gst/gstdata.h: remove
24392         * gst/gstdata_private.h: remove
24393         * gst/gsttypes.h: remove GstEvent and GstMessage
24394         * gst/gstelement.c: (gst_element_post_message): fix for API changes
24395         * gst/gstmarshal.list: change BOXED -> OBJECT
24396
24397         Implement GstMiniObject.
24398         * gst/gstminiobject.c:
24399         * gst/gstminiobject.h:
24400
24401         Modify to be subclasses of GstMiniObject.
24402         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
24403         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
24404         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
24405         (gst_subbuffer_get_type), (gst_subbuffer_init),
24406         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
24407         (gst_buffer_span):
24408         * gst/gstbuffer.h:
24409         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
24410         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
24411         (_gst_event_copy), (gst_event_new):
24412         * gst/gstevent.h:
24413         * gst/gstmessage.c: (_gst_message_initialize),
24414         (gst_message_get_type), (gst_message_class_init),
24415         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
24416         (gst_message_new), (gst_message_new_error),
24417         (gst_message_new_warning), (gst_message_new_tag),
24418         (gst_message_new_state_changed), (gst_message_new_application):
24419         * gst/gstmessage.h:
24420         * gst/gstprobe.c: (gst_probe_perform),
24421         (gst_probe_dispatcher_dispatch):
24422         * gst/gstprobe.h:
24423         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
24424         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
24425         (_gst_query_copy), (gst_query_new):
24426
24427         Update elements for GstData -> GstMiniObject changes
24428         * gst/gstquery.h:
24429         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
24430         (gst_queue_chain), (gst_queue_loop):
24431         * gst/elements/gstbufferstore.c:
24432         (gst_buffer_store_add_buffer_func),
24433         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
24434         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24435         (gst_fakesink_render):
24436         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24437         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
24438         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
24439         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
24440         (gst_filesrc_create_read):
24441         * gst/elements/gstidentity.c: (gst_identity_class_init):
24442         * gst/elements/gsttypefindelement.c:
24443         (gst_type_find_element_src_event), (free_entry_buffers),
24444         (gst_type_find_element_handle_event):
24445         * libs/gst/dataprotocol/dataprotocol.c:
24446         (gst_dp_header_from_buffer):
24447         * libs/gst/dataprotocol/dataprotocol.h:
24448         * libs/gst/dataprotocol/dp-private.h:
24449
24450 2005-05-15  David Schleef  <ds@schleef.org>
24451
24452         * gst/elements/gstelements.c: Don't include headers that were
24453         just removed.
24454
24455 2005-05-15  David Schleef  <ds@schleef.org>
24456
24457         * gst/elements/Makefile.am: Remove some elements that don't
24458         need to be in the core (or even exist at all).
24459         * gst/elements/gstaggregator.c:
24460         * gst/elements/gstaggregator.h:
24461         * gst/elements/gstmd5sink.c:
24462         * gst/elements/gstmd5sink.h:
24463         * gst/elements/gstmultifilesrc.c:
24464         * gst/elements/gstmultifilesrc.h:
24465         * gst/elements/gstpipefilter.c:
24466         * gst/elements/gstpipefilter.h:
24467         * gst/elements/gstshaper.c:
24468         * gst/elements/gstshaper.h:
24469         * gst/elements/gststatistics.c:
24470         * gst/elements/gststatistics.h:
24471         * po/POTFILES.in: Remove above files.
24472
24473 2005-05-14  Andy Wingo  <wingo@pobox.com>
24474
24475         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
24476         so as to get the refs right.
24477         (sink_iterator_filter): New function, wraps bin_element_is_sink,
24478         unreffing objects that don't pass the filter.
24479
24480         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
24481         gst_element_set_bus.
24482         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
24483         normal cases, this will destroy the bus.
24484
24485         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
24486         object.
24487
24488         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
24489         has no sinks.
24490
24491 2005-05-13  Andy Wingo  <wingo@pobox.com>
24492
24493         * gst/gstutils.c (gst_element_link_pads): Instead of calling
24494         gst_pad_link, call pad_link_maybe_ghosting,
24495         (pad_link_maybe_ghosting): Links pads, making sure that the
24496         elements being linked are in the same bin.
24497         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
24498         Helpers for pad_link_maybe_ghosting.
24499
24500 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24501
24502         * configure.ac:
24503           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
24504
24505 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24506
24507         * docs/design/part-element-source.txt:
24508           Mention GstPushSrc
24509
24510 2005-05-12  Wim Taymans  <wim@fluendo.com>
24511
24512         * gst/base/gstbasesink.c: (gst_basesink_init),
24513         (gst_basesink_activate):
24514         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
24515         (gst_basesrc_is_seekable):
24516         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
24517         (bin_element_is_sink), (gst_bin_change_state):
24518         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24519         * gst/gstelement.h:
24520         Identify sinks by their flag to avoid overly complicated
24521         checks (fow now).
24522         Do state changes even for elements not reachable from the
24523         sinks.
24524         BaseSink is a sink now :)
24525         Some more debugging info in the basesrc.
24526
24527
24528 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24529
24530         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
24531           Implement _query on a bin, similar to _send_event.
24532
24533 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
24534
24535         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
24536           Discont event offset format should be GST_FORMAT_BYTES,
24537           not GST_FORMAT_TIME.
24538
24539 2005-05-12  Wim Taymans  <wim@fluendo.com>
24540
24541         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24542         Same fix as Ronald's but without the signal. 
24543
24544 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24545
24546         * gst/gstutils.c: (gst_element_query_position):
24547           No, an element is not a pad.
24548
24549 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24550
24551         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
24552         (gst_bin_get_state):
24553           If a child is removed from a bin while we remove the child from
24554           the bin and while we're retrieving its state, signal this to the
24555           get_state function so we abort the wait (instead of waiting for
24556           a timeout) and can immediately re-iterate over all other elements.
24557
24558 2005-05-12  Wim Taymans  <wim@fluendo.com>
24559
24560         * gst/base/Makefile.am:
24561         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
24562         (gst_basesrc_start):
24563         * gst/base/gstbasesrc.h:
24564         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
24565         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
24566         (gst_pushsrc_init), (gst_pushsrc_create):
24567         * gst/base/gstpushsrc.h:
24568         Added is_seekable to BaseSrc
24569         Added simple PushSrc.
24570
24571 2005-05-11  Wim Taymans  <wim@fluendo.com>
24572
24573         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24574         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24575         (gst_element_link_pads), (gst_element_query_position),
24576         (gst_element_query_convert), (intersect_caps_func),
24577         (gst_pad_query_position), (gst_pad_query_convert):
24578         Fix refcounting in utils function.
24579         No point in trying to activate a pad when it's added, it could
24580         be added from the state change function and then we deadlock, the
24581         element has to decide what to do.
24582
24583 2005-05-10  Andy Wingo  <wingo@pobox.com>
24584
24585         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
24586         *all* the arguments.
24587
24588         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
24589         stream lock if it's a FLUSH_DONE; normal flushes don't get the
24590         lock (according to the docs -- if this is wrong change the docs).
24591
24592         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
24593         flush messages in the NULL state.
24594
24595         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
24596         message immediately and return.
24597         (gst_bus_set_flushing): New function. If a bus is flushing, it
24598         flushes out any queued messages and immediately unrefs new
24599         messages. This is so when an element goes to NULL, all of the
24600         unhandled messages coming from it can be freed, and their
24601         references to the element dropped. In other words: message source
24602         ref considered harmful :P
24603
24604         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
24605         we're finished with it.
24606
24607         * gst/gstmessage.c (gst_message_new_state_changed): 
24608
24609 2005-05-10  Wim Taymans  <wim@fluendo.com>
24610
24611         * gst/gstvalue.c: (gst_value_compare_flags),
24612         (gst_value_serialize_flags), (gst_value_deserialize_flags),
24613         (_gst_value_initialize):
24614         Added flags serialize/deserialize/compare code.
24615
24616 2005-05-09  Andy Wingo  <wingo@pobox.com>
24617
24618         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
24619         Intersect the peer's caps with our caps.
24620
24621 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24622
24623         * gst/base/gsttypefindhelper.c: (helper_find_peek):
24624         * gst/elements/gsttypefindelement.c: (find_peek):
24625           Handle negative offsets better. Fixes decodebin.
24626
24627 2005-05-09  Wim Taymans  <wim@fluendo.com>
24628
24629         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
24630         (gst_base_transform_event):
24631         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
24632         Implement accept_caps.
24633         Fix silly lock/unlock mismatch in base class.
24634
24635 2005-05-09  Wim Taymans  <wim@fluendo.com>
24636
24637         * docs/design/draft-push-pull.txt:
24638         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
24639         * gst/elements/gstfilesink.c: (gst_filesink_init),
24640         (gst_filesink_query):
24641         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24642         (gst_type_find_handle_src_query), (find_element_get_length):
24643         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
24644         * gst/gstelement.h:
24645         * gst/gstmessage.c:
24646         * gst/gstmessage.h:
24647         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
24648         (gst_real_pad_get_caps_unlocked),
24649         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
24650         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24651         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
24652         (gst_real_pad_dispose), (gst_real_pad_finalize),
24653         (gst_pad_load_and_link), (gst_pad_save_thyself),
24654         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
24655         (gst_pad_check_pull_range), (gst_pad_pull_range),
24656         (gst_pad_template_get_type), (gst_pad_template_class_init),
24657         (gst_pad_template_init), (gst_pad_template_dispose),
24658         (name_is_valid), (gst_static_pad_template_get),
24659         (gst_pad_template_new), (gst_static_pad_template_get_caps),
24660         (gst_pad_template_get_caps), (gst_pad_set_element_private),
24661         (gst_pad_get_element_private), (gst_pad_start_task),
24662         (gst_pad_pause_task), (gst_pad_stop_task),
24663         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
24664         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
24665         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
24666         (gst_ghost_pad_new):
24667         * gst/gstpad.h:
24668         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
24669         (gst_query_new_position), (gst_query_set_position),
24670         (gst_query_parse_position), (gst_query_new_convert),
24671         (gst_query_set_convert), (gst_query_parse_convert):
24672         * gst/gstquery.h:
24673         * gst/gstqueryutils.c:
24674         * gst/gstqueryutils.h:
24675         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24676         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24677         (gst_queue_handle_src_query):
24678         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24679         (gst_element_query_position), (gst_element_query_convert),
24680         (intersect_caps_func), (gst_pad_query_position),
24681         (gst_pad_query_convert):
24682         * gst/gstutils.h:
24683         * tools/gst-inspect.c: (print_pad_info):
24684         * tools/gst-xmlinspect.c: (print_element_info):
24685         Remove old query functions. Ported old code.
24686         Added position/convert helper functions to gstutils.
24687         Reordered gstpad.c code, grouping relevant things.
24688         Remove gst_message_new(), always need to speficy a specific
24689         message.
24690
24691
24692 2005-05-09  Andy Wingo  <wingo@pobox.com>
24693
24694         * gst/gstiterator.h: Add some includes.
24695
24696         * gst/gstqueryutils.h: Include more headers.
24697
24698         * gst/gstpad.h:
24699         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
24700         some uses of gst_pad_query.
24701
24702         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
24703         NULL out parameters.
24704         (gst_query_new_position): New proc, allocates a new position
24705         query.
24706
24707         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
24708         gstqueryutils.c to the build.
24709
24710         * gst/gststructure.c (gst_structure_set_valist): Implement with
24711         the generic G_VALUE_COLLECT.
24712         
24713 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
24714
24715         * gst/Makefile.am: (gst_headers):
24716         Added gstqueryutils.h to the list of headers to install, that was
24717         a 'nachty' move wingo :)
24718
24719 2005-05-06  Andy Wingo  <wingo@pobox.com>
24720
24721         * gst/gstquery.h
24722         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
24723         GstData, init a memchunk.
24724         (standard_definitions): Add a few query types, deprecate a few.
24725         (gst_query_get_type): New proc.
24726         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
24727         implementation.
24728         (gst_query_new_application, gst_query_get_structure): New public
24729         procs.
24730
24731         * docs/design/draft-query.txt: Removed LINKS from the query types,
24732         because all the rest can be dispatched to other pads -- seemed
24733         ugly to have a query that couldn't be dispatched. internal_links
24734         is fine as a pad method.
24735
24736         * gst/gstpad.h: Add query2 as a pad method, add the new functions
24737         in gstpad.c, but maintain binary compatibility for the moment.
24738         Will fix before 0.9 is out.
24739
24740         * gst/gstqueryutils.c: 
24741         * gst/gstqueryutils.h: New files, implement 3 methods for each
24742         query type: parse_query, parse_response, and set. Probably need an
24743         allocator as well.
24744
24745         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
24746
24747         * gst/elements/gstfilesink.c (gst_filesink_query2):
24748         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
24749         query_types, and formats methods.
24750
24751         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
24752         (gst_pad_set_query2_function): New functions.
24753         (gst_real_pad_init): Set query2_default as the default query2
24754         function. Basically just dispatches to internally linked pads.
24755
24756         Needs review!
24757         
24758         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
24759         without using the atomic operations. Only one thread can possibly
24760         be accessing the data at this point. Changed so as to avoid
24761         gst_atomic operations.
24762
24763 2005-05-06  Wim Taymans  <wim@fluendo.com>
24764
24765         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
24766         Also set caps if we use the fallback buffer alloc.
24767
24768 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
24769
24770         * docs/gst/Makefile.am:
24771         * docs/gst/gstreamer-docs.sgml:
24772         * docs/gst/gstreamer-sections.txt:
24773         * docs/gst/tmpl/gstatomic.sgml:
24774         * docs/gst/tmpl/gstmemchunk.sgml:
24775         * testsuite/elements/struct_i386.h:
24776         * win32/GStreamer.vcproj:
24777         * win32/Makefile:
24778           Purge GstAtomic stuff from docs and win32 makefiles as well
24779
24780 2005-05-06  Wim Taymans  <wim@fluendo.com>
24781
24782         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
24783         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
24784         * gst/gstpad.c: (gst_pad_peer_get_caps):
24785         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24786         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24787         (gst_queue_src_activate), (gst_queue_change_state):
24788         * gst/gstqueue.h:
24789         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24790         (intersect_caps_func):
24791         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
24792         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
24793         Some fixes for the peer_get_caps() change.
24794
24795 2005-05-06  Wim Taymans  <wim@fluendo.com>
24796
24797         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24798         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
24799         (gst_basesink_activate):
24800         Actually do something with error codes returned from the push
24801         functions.
24802
24803 2005-05-06  Wim Taymans  <wim@fluendo.com>
24804
24805         * docs/design/part-element-sink.txt:
24806         * docs/design/part-element-source.txt:
24807         * gst/base/gstbasesink.c: (gst_basesink_class_init),
24808         (gst_basesink_event), (gst_basesink_activate):
24809         * gst/base/gstbasesink.h:
24810         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
24811         (gst_basesrc_activate):
24812         * gst/base/gstbasesrc.h:
24813         * gst/gstelement.c: (gst_element_pads_activate):
24814         Some more documentation.
24815         Fixed scheduling decision in _pads_activate().
24816
24817 2005-05-05  Andy Wingo  <wingo@pobox.com>
24818
24819         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
24820         the test suite.
24821
24822 2005-05-05  Wim Taymans  <wim@fluendo.com>
24823
24824         * gst/base/Makefile.am:
24825         * gst/base/gstbasesink.h:
24826         * gst/base/gstbasesrc.c: (gst_basesrc_init),
24827         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
24828         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
24829         (gst_collectpads_class_init), (gst_collectpads_init),
24830         (gst_collectpads_finalize), (gst_collectpads_new),
24831         (gst_collectpads_set_function), (gst_collectpads_add_pad),
24832         (find_pad), (gst_collectpads_remove_pad),
24833         (gst_collectpads_is_active), (gst_collectpads_collect),
24834         (gst_collectpads_collect_range), (gst_collectpads_start),
24835         (gst_collectpads_stop), (gst_collectpads_peek),
24836         (gst_collectpads_pop), (gst_collectpads_available),
24837         (gst_collectpads_read), (gst_collectpads_flush),
24838         (gst_collectpads_chain):
24839         * gst/base/gstcollectpads.h:
24840         * gst/elements/Makefile.am:
24841         * gst/elements/gstelements.c:
24842         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24843         (gst_fakesink_get_times), (gst_fakesink_event),
24844         (gst_fakesink_preroll), (gst_fakesink_render):
24845         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24846         (gst_filesink_init), (gst_filesink_set_location),
24847         (gst_filesink_open_file), (gst_filesink_close_file),
24848         (gst_filesink_pad_query), (gst_filesink_event),
24849         (gst_filesink_render), (gst_filesink_change_state):
24850         * gst/elements/gstfilesink.h:
24851         Added object to help in making collect pad based elements.
24852         Ported filesink.
24853         Make event function in sink baseclass return gboolean.
24854
24855 2005-05-05  Wim Taymans  <wim@fluendo.com>
24856
24857         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
24858         (gst_bin_get_by_name):
24859         * gst/gstbuffer.h:
24860         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
24861         (gst_clock_finalize):
24862         * gst/gstdata.c: (gst_data_replace):
24863         * gst/gstdata.h:
24864         * gst/gstelement.c: (gst_element_request_pad),
24865         (gst_element_pads_activate):
24866         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
24867         (gst_object_unref):
24868         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24869         (gst_pad_set_checkgetrange_function),
24870         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
24871         (gst_pad_check_pull_range), (gst_pad_pull_range),
24872         (gst_static_pad_template_get_caps), (gst_pad_start_task),
24873         (gst_pad_pause_task), (gst_pad_stop_task):
24874         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24875         (gst_element_request_pad), (gst_pad_proxy_getcaps):
24876         Fix name lookup in GstBin.
24877         Added _data_replace() function and _buffer_replace()
24878         Use finalize method to clean up clock.
24879         Fix refcounting on request pads.
24880         Fix pad schedule mode error.
24881         Some more object refcounting debug info,
24882
24883
24884 2005-05-04  Andy Wingo <wingo@pobox.com>
24885
24886         * check/Makefile.am:
24887         * docs/gst/tmpl/gstatomic.sgml:
24888         * docs/gst/tmpl/gstplugin.sgml:
24889         * gst/base/gstbasesink.c: (gst_basesink_activate):
24890         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
24891         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
24892         (gst_basesrc_query), (gst_basesrc_set_property),
24893         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
24894         (gst_basesrc_activate):
24895         * gst/base/gstbasesrc.h:
24896         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
24897         (gst_base_transform_src_activate):
24898         * gst/elements/gstelements.c:
24899         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24900         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
24901         * gst/elements/gsttee.c: (gst_tee_sink_activate):
24902         * gst/elements/gsttypefindelement.c: (find_element_get_length),
24903         (gst_type_find_element_checkgetrange),
24904         (gst_type_find_element_activate):
24905         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
24906         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
24907         (gst_caps_load_thyself):
24908         * gst/gstelement.c: (gst_element_pads_activate),
24909         (gst_element_save_thyself), (gst_element_restore_thyself):
24910         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
24911         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
24912         * gst/gstpad.h:
24913         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
24914         (gst_xml_parse_file), (gst_xml_parse_memory),
24915         (gst_xml_get_element), (gst_xml_make_element):
24916         * gst/indexers/gstfileindex.c: (gst_file_index_load),
24917         (_file_index_id_save_xml), (gst_file_index_commit):
24918         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
24919         (read_enum), (load_pad_template), (load_feature), (load_plugin),
24920         (load_paths):
24921         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
24922         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
24923         * tools/gst-complete.c: (main):
24924         * tools/gst-compprep.c: (main):
24925         * tools/gst-inspect.c: (print_element_properties_info):
24926         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
24927         * tools/gst-xmlinspect.c: (print_element_properties):
24928         GCC 4 fixen.
24929         
24930 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24931
24932         * gst/gstplugin.c: (gst_plugin_check_module),
24933         (gst_plugin_check_file), (gst_plugin_load_file):
24934             apply patch from #172526 to make register work on MacOSX
24935
24936 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
24937
24938         * docs/gst/tmpl/gstconfig.sgml:
24939         * gst/gstconfig.h.in:
24940           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
24941         * testsuite/debug/printf_extension.c: (main):
24942           Do not use GST_PTR_FORMAT on pointers to types with
24943           sizeof < sizeof(gpointer).  Fixes test on 64-bit
24944         * testsuite/elements/property.h:
24945           use correct printf format
24946
24947 2005-05-02  Wim Taymans  <wim@fluendo.com>
24948
24949         * docs/design/draft-push-pull.txt:
24950         * docs/design/draft-query.txt:
24951         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
24952         (gst_basesrc_start):
24953         Added draft for new query API.
24954         Added draft for better selecting scheduling methods.
24955         Make basesrc ignore length if the subclass does not support
24956         it.
24957
24958 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
24959
24960         * gst/Makefile.am:
24961           possible fixes for automake-1.5 - _LIBADD is reserved
24962
24963 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
24964
24965         * docs/faq/Makefile.am:
24966         * docs/manual/Makefile.am:
24967         * docs/manuals.mak:
24968         * docs/pwg/Makefile.am:
24969         * gst/Makefile.am:
24970           possible fixes for automake-1.5
24971
24972 2005-04-28  Wim Taymans  <wim@fluendo.com>
24973
24974         * gst/base/gstbasesink.c: (gst_basesink_base_init),
24975         (gst_basesink_pad_getcaps), (gst_basesink_init),
24976         (gst_basesink_do_sync):
24977         * gst/gstclock.c: (gst_clock_entry_new):
24978         * gst/gstevent.c: (gst_event_discont_get_value):
24979         * gst/gstpipeline.c: (pipeline_bus_handler),
24980         (gst_pipeline_change_state):
24981         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
24982         Better debugging of clocking info.
24983         Allow NULL values when getting discont values.
24984
24985 2005-04-27  Wim Taymans  <wim@fluendo.com>
24986
24987         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24988         * check/gst/gstpad.c: (gst_pad_suite):
24989         Increase timeout for checks.
24990
24991 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
24992
24993         * check/Makefile.am:
24994           fix the broken rule for cleanup.  Apparently this rule is
24995           only needed on FC2, so maybe this warrants further autotool
24996           inspection.
24997
24998 2005-04-26  Wim Taymans  <wim@fluendo.com>
24999
25000         * gst/gsttrashstack.h:
25001         Ooohh. a nasty one! After having a failed pop() from the stack,
25002         it's possible that the stack is empty. In that case, don't
25003         follow the NULL pointer.
25004
25005 2005-04-25  Wim Taymans  <wim@fluendo.com>
25006
25007         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25008         (gst_pad_set_checkgetrange_function),
25009         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
25010         (gst_pad_check_pull_range), (gst_pad_pull_range),
25011         (gst_static_pad_template_get_caps), (gst_pad_start_task),
25012         (gst_pad_pause_task), (gst_pad_stop_task):
25013         * gst/gstplugin.c: (gst_plugin_load):
25014         * gst/gstplugin.h:
25015         Remove gst_library_load as it does more harm than good with
25016         the new g_module flags.
25017         Revert bogus caps template check in pad linking, pad caps
25018         are important when linking not the template, which is more
25019         general than the current caps.
25020
25021 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25022
25023         * gst/autoplug/.cvsignore:
25024         * gst/autoplug/Makefile.am:
25025         * gst/autoplug/gstsearchfuncs.c:
25026         * gst/autoplug/gstsearchfuncs.h:
25027         * gst/autoplug/gstspider.c:
25028         * gst/autoplug/gstspider.h:
25029         * gst/autoplug/gstspideridentity.c:
25030         * gst/autoplug/gstspideridentity.h:
25031         * gst/autoplug/spidertest.c:
25032           Die, spider, die.
25033
25034 2005-04-25  Wim Taymans  <wim@fluendo.com>
25035
25036         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25037         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25038         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
25039         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
25040         * gst/gstpad.h:
25041         Added stubs for unimplemented functions. 
25042
25043 2005-04-24  David Schleef  <ds@schleef.org>
25044
25045         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
25046         please fix.
25047
25048 2005-04-24  David Schleef  <ds@schleef.org>
25049
25050         Convert everything from GstAtomicInt to g_atomic_int_*, and
25051         remove gstatomic.
25052         * gst/Makefile.am:
25053         * gst/gstatomic.c:
25054         * gst/gstatomic.h:
25055         * gst/gstatomic_impl.h:
25056         * gst/gstbuffer.c:
25057         * gst/gstcaps.c:
25058         * gst/gstcaps.h:
25059         * gst/gstclock.c:
25060         * gst/gstclock.h:
25061         * gst/gstdata.c:
25062         * gst/gstdata.h:
25063         * gst/gstdata_private.h:
25064         * gst/gstevent.c:
25065         * gst/gstinfo.c:
25066         * gst/gstinfo.h:
25067         * gst/gstmessage.c:
25068         * gst/gstobject.c:
25069         * gst/gstobject.h:
25070         * gst/gststructure.c:
25071         * gst/gststructure.h:
25072         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
25073         * gst/gstutils.h:
25074
25075 2005-04-24  David Schleef  <ds@schleef.org>
25076
25077         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
25078         make the regressions tests work.  Remove some code that is no
25079         longer true.
25080         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
25081         Disable warning for pads without templates.
25082
25083 2005-04-24  David Schleef  <ds@schleef.org>
25084
25085         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
25086         functions that handle filtered links.
25087         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
25088         removed functions.
25089         * gst/gstutils.c: Fix/remove utility functions that handle
25090         filtered caps.
25091         * gst/gstutils.h:
25092         * gst/gstvalue.c: Add serialization/deserialization of caps
25093         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
25094         requires fixing so that the filter caps notation creates
25095         a capsfilter element and sets the filter_caps property.  I
25096         think everyone probably wants to keep the shorthand notation.
25097         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
25098         * docs/gst/tmpl/gstpad.sgml:
25099
25100         * gst/elements/gstelements.c: Register capsfilter element.
25101         * gst/Makefile.am: fix spacing
25102         * docs/random/ds/0.9-suggested-changes: random
25103
25104 2005-04-23  David Schleef  <ds@schleef.org>
25105
25106         * gst/elements/Makefile.am:
25107         * gst/elements/gstcapsfilter.c: New element that acts like an
25108         identity, but filters caps.  Will eventually replace filtered
25109         caps in pad linking.
25110         * gst/gstutils.c: (gst_element_create_all_pads): New function
25111         to create all the ALWAYS pads that are registered with an
25112         element class.  This functionality should eventually be
25113         merged in with GstElement initialization.
25114         * gst/gstutils.h:
25115         * testsuite/trigger/README: part of trigger test code that should
25116         have been checked in a long time ago.
25117
25118 2005-04-23  David Schleef  <ds@schleef.org>
25119
25120         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
25121         needed with new versions of libtool (nobody will confirm this),
25122         and hard to carry around.
25123         * gst/autoplug/Makefile.am:
25124         * gst/base/Makefile.am:
25125         * gst/elements/Makefile.am:
25126         * gst/indexers/Makefile.am:
25127         * gst/schedulers/Makefile.am:
25128         * libs/gst/bytestream/Makefile.am:
25129         * libs/gst/control/Makefile.am:
25130         * libs/gst/dataprotocol/Makefile.am:
25131         * libs/gst/getbits/Makefile.am:
25132
25133 2005-04-21  Wim Taymans  <wim@fluendo.com>
25134
25135         * docs/design/draft-push-pull.txt:
25136         * docs/design/part-MT-refcounting.txt:
25137         * docs/design/part-TODO.txt:
25138         * docs/design/part-caps.txt:
25139         * docs/design/part-events.txt:
25140         * docs/design/part-gstbus.txt:
25141         * docs/design/part-gstpipeline.txt:
25142         * docs/design/part-messages.txt:
25143         * docs/design/part-push-pull.txt:
25144         * docs/design/part-query.txt:
25145         Some more docs.
25146
25147 2005-04-21  Wim Taymans  <wim@fluendo.com>
25148
25149         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
25150         (gst_message_new), (gst_message_new_error),
25151         (gst_message_new_warning), (gst_message_new_tag),
25152         (gst_message_new_state_changed), (gst_message_new_application),
25153         (gst_message_get_structure):
25154         * gst/gstmessage.h:
25155         * gst/gststructure.c: (gst_structure_set_parent_refcount),
25156         (gst_structure_copy_conditional):
25157         Use parent refcount in GstMessage to ensure GstStructure
25158         consistency.
25159         Cleaned up headers a bit.
25160         
25161
25162 2005-04-20  Wim Taymans  <wim@fluendo.com>
25163
25164         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25165         (gst_basesink_pad_getcaps), (gst_basesink_init),
25166         (gst_basesink_chain_unlocked):
25167         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
25168         (gst_type_find_helper):
25169         * gst/elements/gsttypefindelement.c:
25170         (gst_type_find_element_have_type), (gst_type_find_element_init),
25171         (stop_typefinding), (gst_type_find_element_handle_event),
25172         (find_suggest), (gst_type_find_element_chain),
25173         (gst_type_find_element_checkgetrange),
25174         (gst_type_find_element_getrange), (do_typefind),
25175         (gst_type_find_element_activate):
25176         * gst/gstbuffer.c: (_gst_buffer_sub_free),
25177         (gst_buffer_default_free), (gst_buffer_default_copy),
25178         (gst_buffer_set_caps):
25179         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
25180         (gst_caps_replace):
25181         * gst/gstmessage.c: (gst_message_new),
25182         (gst_message_new_state_changed):
25183         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25184         (gst_pad_set_checkgetrange_function),
25185         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
25186         (gst_pad_set_caps), (gst_pad_check_pull_range),
25187         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
25188         * gst/gstpad.h:
25189         * gst/gsttypefind.c: (gst_type_find_register):
25190         Make gst_caps_replace() work like other _replace() functions.
25191         Use _caps_replace() where possible.
25192         Make sure _message_new() initialises its field.
25193         Add gst_static_pad_template_get_caps()
25194
25195
25196 2005-04-18  Andy Wingo  <wingo@pobox.com>
25197
25198         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
25199         on the peer, not the pad. I think that was a typo. Pass an extra
25200         arg to see if random access is possible. Activate the pads as
25201         PULL_RANGE if possible.
25202
25203         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
25204
25205         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
25206         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
25207         to PROP_....
25208
25209 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25210
25211         * docs/faq/using.xml:
25212           Add note on gstreamer-properties (#154996).
25213
25214 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25215
25216         * docs/random/bbb/optional-properties:
25217           Some analysis on optional properties.
25218
25219 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25220
25221         * docs/gst/tmpl/gstelementfactory.sgml:
25222         * gst/gstelement.h:
25223         * gst/gstelementfactory.c: (gst_element_factory_init),
25224         (gst_element_factory_cleanup), (gst_element_register),
25225         (__gst_element_factory_add_static_pad_template),
25226         (gst_element_factory_get_static_pad_templates),
25227         (gst_element_factory_can_src_caps),
25228         (gst_element_factory_can_sink_caps):
25229         * gst/registries/Makefile.am:
25230         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
25231         (gst_xml_registry_class_init), (gst_xml_registry_init),
25232         (gst_xml_registry_new), (gst_xml_registry_set_property),
25233         (gst_xml_registry_get_property), (get_time), (make_dir),
25234         (gst_xml_registry_get_perms_func),
25235         (plugin_times_older_than_recurse), (plugin_times_older_than),
25236         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
25237         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
25238         (add_to_char_array), (read_string), (read_uint), (read_enum),
25239         (load_pad_template), (load_feature), (load_plugin), (load_paths),
25240         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
25241         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
25242         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
25243         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
25244         (gst_xml_registry_rebuild):
25245         * gst/registries/gstlibxmlregistry.h:
25246         * tools/gst-compprep.c: (main):
25247         * tools/gst-inspect.c: (print_pad_templates_info):
25248         * tools/gst-xmlinspect.c: (print_element_info):
25249           Use libxml2 for registry parsing, use staticpadtemplates in
25250           elementfactories. Makes gst_init() +/- 10x faster.
25251
25252 2005-04-12  Wim Taymans  <wim@fluendo.com>
25253
25254         * gst/base/Makefile.am:
25255         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25256         (gst_basesink_pad_getcaps), (gst_basesink_init),
25257         (gst_basesink_event), (gst_basesink_change_state):
25258         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25259         (gst_basesrc_init), (gst_basesrc_query),
25260         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25261         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25262         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25263         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25264         (gst_basesrc_stop), (gst_basesrc_activate),
25265         (gst_basesrc_change_state):
25266         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25267         (helper_find_suggest), (gst_type_find_helper):
25268         * gst/base/gsttypefindhelper.h:
25269         * gst/elements/Makefile.am:
25270         * gst/elements/gstelements.c:
25271         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25272         (gst_fakesink_get_times), (gst_fakesink_event),
25273         (gst_fakesink_preroll), (gst_fakesink_render):
25274         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25275         (gst_fakesrc_init), (gst_fakesrc_event_handler),
25276         (gst_fakesrc_get_property), (gst_fakesrc_create),
25277         (gst_fakesrc_start), (gst_fakesrc_stop):
25278         * gst/elements/gstfakesrc.h:
25279         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
25280         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25281         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25282         (gst_filesrc_create_read), (gst_filesrc_create),
25283         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
25284         (gst_filesrc_start):
25285         * gst/elements/gsttypefindelement.c:
25286         (gst_type_find_element_have_type), (gst_type_find_element_init),
25287         (start_typefinding), (stop_typefinding), (push_buffer_store),
25288         (gst_type_find_element_handle_event),
25289         (gst_type_find_element_chain),
25290         (gst_type_find_element_checkgetrange),
25291         (gst_type_find_element_getrange), (do_typefind),
25292         (gst_type_find_element_activate),
25293         (gst_type_find_element_change_state):
25294         * gst/elements/gsttypefindelement.h:
25295         * gst/gstpipeline.c: (pipeline_bus_handler):
25296         Added typefind helper.
25297         Small preroll fix in the base sink.
25298         Disable typefind code in basesrc.
25299         Crude port of typefindelement.
25300         Fakesrc cleanups.
25301
25302
25303 2005-04-11  Wim Taymans  <wim@fluendo.com>
25304
25305         * check/gst/gstbus.c: (gstbus_suite):
25306         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
25307         * check/gstcheck.h:
25308           Fix up the timeout so that the test does not fail.
25309
25310 2005-04-06  Wim Taymans  <wim@fluendo.com>
25311
25312         * gst/base/README:
25313         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25314         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
25315         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25316         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25317         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25318         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25319         (gst_basesrc_stop), (gst_basesrc_activate),
25320         (gst_basesrc_change_state), (basesrc_find_peek),
25321         (basesrc_find_suggest), (gst_basesrc_type_find):
25322         * gst/base/gstbasesrc.h:
25323         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
25324         (gst_filesrc_class_init), (gst_filesrc_init),
25325         (gst_filesrc_finalize), (gst_filesrc_set_location),
25326         (gst_filesrc_set_property), (gst_filesrc_get_property),
25327         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25328         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25329         (gst_filesrc_create_read), (gst_filesrc_create),
25330         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
25331         * gst/elements/gstfilesrc.h:
25332         * gst/gstelement.c: (gst_element_get_state_func),
25333         (gst_element_lost_state), (gst_element_pads_activate):
25334         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25335         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25336         (gst_pad_pull_range):
25337         * gst/gstpad.h:
25338         More work on the generic source base class, implement seeking,
25339         query.
25340         Make filesrc extend the base source class.
25341         Added gst_pad_set_checkgetrange_function to GstPad.
25342
25343 2005-04-06  Andy Wingo  <wingo@pobox.com>
25344
25345         * pkgconfig/gstreamer-base.pc.in:
25346         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
25347
25348         * pkgconfig/Makefile.am:
25349         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
25350
25351 2005-04-04  Wim Taymans  <wim@fluendo.com>
25352
25353         * gst/base/Makefile.am:
25354         * gst/base/README:
25355         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25356         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25357         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25358         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
25359         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25360         (gst_basesrc_base_init), (gst_basesrc_class_init),
25361         (gst_basesrc_init), (gst_basesrc_get_formats),
25362         (gst_basesrc_get_query_types), (gst_basesrc_query),
25363         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
25364         (gst_basesrc_set_property), (gst_basesrc_get_property),
25365         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
25366         (gst_basesrc_loop), (gst_basesrc_activate),
25367         (gst_basesrc_change_state):
25368         * gst/base/gstbasesrc.h:
25369         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
25370         (gst_fakesrc_class_init), (gst_fakesrc_init),
25371         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
25372         (gst_fakesrc_get_property), (gst_fakesrc_create):
25373         * gst/elements/gstfakesrc.h:
25374         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
25375         (gst_filesrc_open_file), (gst_filesrc_loop),
25376         (gst_filesrc_activate), (filesrc_find_peek),
25377         (gst_filesrc_type_find):
25378         Made base source class, make fakesrc extend it.
25379         Add comments to basesink class.
25380         Some filesrc cleanup.
25381
25382 2005-03-31  David Schleef  <ds@schleef.org>
25383
25384         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
25385         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
25386         expected to link against libgstreamer.
25387         * gst/base/Makefile.am: link against libgstreamer
25388         * gst/elements/Makefile.am: same
25389
25390 2005-03-31  Andy Wingo  <wingo@pobox.com>
25391
25392         * tests/instantiate/Makefile.am:
25393         * tests/instantiate/caps.c: Add test to test speed of caps copy
25394         and free.
25395
25396         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
25397         GMemChunk to be fair.
25398
25399         * gst/gsttrashstack.h: Remove warning about using the fallback
25400         trash stack implementation, it's still faster than malloc.
25401
25402 2005-03-30  Andy Wingo  <wingo@pobox.com>
25403
25404         * tests/complexity.c: Add a copyright.
25405
25406 2005-03-31  Wim Taymans  <wim@fluendo.com>
25407
25408         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
25409         (gst_base_transform_class_init), (gst_base_transform_init),
25410         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25411         (gst_base_transform_get_property),
25412         (gst_base_transform_sink_activate),
25413         (gst_base_transform_src_activate),
25414         (gst_base_transform_change_state):
25415         * gst/base/gstbasetransform.h:
25416         * gst/elements/gstidentity.c: (gst_identity_class_init),
25417         (gst_identity_event), (gst_identity_check_perfect),
25418         (gst_identity_transform), (gst_identity_start),
25419         (gst_identity_stop):
25420         Added start/stop methods to transform base class so subclasses 
25421         don't need to deal with state changes even.
25422
25423 2005-03-31  Wim Taymans  <wim@fluendo.com>
25424
25425         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
25426         (gst_event_new_discontinuous), (gst_event_discont_get_value):
25427         * gst/gstevent.h:
25428         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25429         (gst_pad_pull_range):
25430         Added rate to the discont event to prepare for variable speed
25431         and reverse playback.
25432
25433 2005-03-29  David Schleef  <ds@schleef.org>
25434
25435         * configure.ac:
25436         * testsuite/trigger/Makefile.am:
25437         * testsuite/trigger/trigger.c: A little example program to show
25438         how trigger-based elements can work.
25439
25440 2005-03-29  Wim Taymans  <wim@fluendo.com>
25441
25442         * gst/base/Makefile.am:
25443         * gst/base/README:
25444         * gst/base/gstbasesink.c: (gst_basesink_get_type),
25445         (gst_basesink_base_init), (gst_basesink_class_init),
25446         (gst_basesink_pad_getcaps), (gst_basesink_init),
25447         (gst_basesink_activate), (gst_basesink_change_state):
25448         * gst/base/gstbasesink.h:
25449         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
25450         (gst_base_transform_base_init), (gst_base_transform_finalize),
25451         (gst_base_transform_class_init), (gst_base_transform_init),
25452         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
25453         (gst_base_transform_event), (gst_base_transform_getrange),
25454         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
25455         (gst_base_transform_set_property),
25456         (gst_base_transform_get_property),
25457         (gst_base_transform_sink_activate),
25458         (gst_base_transform_src_activate),
25459         (gst_base_transform_change_state):
25460         * gst/base/gstbasetransform.h:
25461         * gst/elements/gstidentity.c: (gst_identity_finalize),
25462         (gst_identity_class_init), (gst_identity_init),
25463         (gst_identity_event), (gst_identity_check_perfect),
25464         (gst_identity_transform), (gst_identity_set_property),
25465         (gst_identity_get_property), (gst_identity_change_state):
25466         * gst/elements/gstidentity.h:
25467         * gst/gstelement.c: (gst_element_get_state_func),
25468         (gst_element_lost_state), (gst_element_pads_activate):
25469         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25470         (gst_pad_check_pull_range), (gst_pad_pull_range):
25471         * gst/gstpad.h:
25472         Simplify pad activation.
25473         Added function to check if pull_range can be performed.
25474         Error out when pulling inactive or flushing pads.
25475         Removed const from refcounted types as it does not make sense.
25476         Simplify pad templates in basesink
25477         Added base class for simple 1-to-1 transforms.
25478         Make identity subclass the base transform.
25479
25480 2005-03-29  Andy Wingo  <wingo@pobox.com>
25481
25482         * docs/libs/gstreamer-libs-overrides.txt: 
25483         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
25484         really don't understand what's going on, but like whatever. I want
25485         green buildbot!
25486
25487         * docs/gst/Makefile.am:
25488         * docs/libs/Makefile.am: Dist the overrides files.
25489
25490         * check/Makefile.am (clean-local): Remove .libs directories.
25491
25492         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
25493         elements to EXTRA_DIST, so po/ files are happy.
25494
25495         * po/POTFILES.in: Er, remove it here.
25496
25497         * po/POTFILES: Remove gstspider.c.
25498
25499         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
25500
25501         * docs/libs/gstreamer-libs-docs.sgml: 
25502         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
25503         bytestream.
25504
25505         * tests/complexity.c (main): Set the length of the preroll queue
25506         on the sinks to prevent a lockup.
25507
25508         * libs/gst/dataprotocol/Makefile.am: 
25509         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
25510         the same as the one in check/gst-libs/gdp.c.
25511
25512         * po/, docs/gst/: Commit automatic changes to docs and po files.
25513
25514         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
25515         the versioned libgstbase.
25516
25517         * check/Makefile.am: Depend on an unversioned gst-register, seems
25518         to make autoconf happier.
25519
25520         * gst/base/Makefile.am: Make libgstbase a versioned lib.
25521
25522 2005-03-28  Wim Taymans  <wim@fluendo.com>
25523
25524         * configure.ac:
25525         * docs/design/part-gstelement.txt:
25526         * docs/design/part-negotiation.txt:
25527         * docs/design/part-preroll.txt:
25528         * docs/design/part-scheduling.txt:
25529         * docs/design/part-states.txt:
25530         * gst/Makefile.am:
25531         * gst/base/Makefile.am:
25532         * gst/base/README:
25533         * gst/base/gstbasesink.c: (gst_basesink_get_template),
25534         (gst_basesink_base_init), (gst_basesink_class_init),
25535         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25536         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25537         (gst_basesink_set_pad_functions),
25538         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25539         (gst_basesink_set_property), (gst_basesink_get_property),
25540         (gst_base_sink_get_template), (gst_base_sink_get_caps),
25541         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25542         (gst_basesink_preroll_queue_push),
25543         (gst_basesink_preroll_queue_empty),
25544         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25545         (gst_basesink_event), (gst_basesink_get_times),
25546         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25547         (gst_basesink_chain_unlocked), (gst_basesink_chain),
25548         (gst_basesink_loop), (gst_basesink_activate),
25549         (gst_basesink_change_state):
25550         * gst/base/gstbasesink.h:
25551         * gst/elements/Makefile.am:
25552         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
25553         (gst_fakesink_class_init), (gst_fakesink_init),
25554         (gst_fakesink_set_property), (gst_fakesink_get_property),
25555         (gst_fakesink_get_times), (gst_fakesink_event),
25556         (gst_fakesink_preroll), (gst_fakesink_render),
25557         (gst_fakesink_change_state):
25558         * gst/elements/gstfakesink.h:
25559         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25560         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
25561         * gst/gstelement.c: (gst_element_add_pad),
25562         (gst_element_get_state_func), (gst_element_abort_state),
25563         (gst_element_commit_state), (gst_element_lost_state),
25564         (gst_element_set_state), (gst_element_pads_activate):
25565         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
25566         * gst/gstpipeline.c: (gst_pipeline_send_event),
25567         (gst_pipeline_change_state):
25568         Added state change code.
25569         Added/updated docs.
25570         Added sink base class, make fakesink extend the base class.
25571         Small cleanups in GstPipeline.
25572
25573 2005-03-26  David Schleef  <ds@schleef.org>
25574
25575         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
25576         is broken and should be implemented in a different library.
25577         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
25578         * gst/gst.h: remove gstcpu.h
25579         * gst/gstcpu.c: remove
25580         * gst/gstcpu.h: remove
25581         * gst/Makefile.am.future: Remove this file.  It's ancient.
25582
25583 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25584
25585         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25586         (gst_bin_send_event):
25587           Add default event/set_manager handlers. The set_manager handler
25588           takes care that the manager is distributed over kids that were
25589           already in the bin before the manager was set. The event handler
25590           is a utility virtual function that sends the event over all sinks,
25591           so that gst_element_send_event (bin, event); has the expected
25592           behaviour.
25593         * gst/gstpad.c: (gst_pad_event_default):
25594           Re-install default event handling for discontinuities, so that
25595           seeking works without requiring hacks in applications or extra
25596           code in sinks.
25597         * gst/gstpipeline.c: (gst_pipeline_class_init),
25598         (gst_pipeline_send_event):
25599           Half hack, half utility: set a pipeline to PAUSED for seek events,
25600           since that is the only way we can guarantee a/v sync. Means that
25601           you can do gst_element_seek (pipeline, method, pos); on a pipeline
25602           and it "just works".
25603
25604 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25605
25606         * gst/gstpipeline.c: (gst_pipeline_use_clock):
25607           Lock/unlock mismatch.
25608
25609 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25610
25611         * docs/faq/gst-uninstalled:
25612           add gst-plugins-base
25613         * docs/gst/Makefile.am:
25614           don't error out until docs are fixed
25615         * docs/gst/gstreamer.types:
25616           remove thread
25617
25618 2005-03-22  Wim Taymans  <wim@fluendo.com>
25619
25620         * check/Makefile.am:
25621         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
25622         * gst/gststructure.c: (gst_structure_set_valist),
25623         (gst_structure_copy_conditional):
25624         Activated more tests.
25625         Added message test.
25626         Added G_TYPE_POINTER to GstStructure.
25627         
25628
25629 2005-03-22  Wim Taymans  <wim@fluendo.com>
25630
25631         * docs/design/part-TODO.txt:
25632         * docs/design/part-events.txt:
25633         * docs/design/part-gstbin.txt:
25634         * docs/design/part-gstbus.txt:
25635         * docs/design/part-gstpipeline.txt:
25636         * docs/design/part-messages.txt:
25637         * gst/gstbus.c:
25638         * gst/gstmessage.c:
25639         Docs updates
25640
25641 2005-03-21  Wim Taymans  <wim@fluendo.com>
25642
25643         * gst/gstbus.c: (gst_bus_post):
25644         Fix copy-and-paste error.
25645
25646 2005-03-21  Wim Taymans  <wim@fluendo.com>
25647
25648         * check/Makefile.am:
25649         * gst/Makefile.am:
25650         * gst/elements/Makefile.am:
25651         * gst/elements/gstelements.c:
25652         * gst/elements/gstfakesink.c: (gst_fakesink_init),
25653         (gst_fakesink_event), (gst_fakesink_chain):
25654         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25655         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
25656         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
25657         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
25658         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25659         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
25660         (gst_fakesrc_loop), (gst_fakesrc_activate),
25661         (gst_fakesrc_change_state):
25662         * gst/elements/gstfakesrc.h:
25663         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
25664         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
25665         (gst_filesrc_open_file), (gst_filesrc_loop),
25666         (gst_filesrc_activate), (gst_filesrc_change_state),
25667         (filesrc_find_peek), (filesrc_find_suggest),
25668         (gst_filesrc_type_find):
25669         * gst/elements/gstidentity.c: (gst_identity_finalize),
25670         (gst_identity_class_init), (gst_identity_init),
25671         (gst_identity_proxy_getcaps), (identity_queue_push),
25672         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
25673         (gst_identity_getrange), (gst_identity_chain),
25674         (gst_identity_sink_loop), (gst_identity_src_loop),
25675         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
25676         (gst_identity_set_property), (gst_identity_get_property),
25677         (gst_identity_change_state):
25678         * gst/elements/gstidentity.h:
25679         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
25680         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
25681         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
25682         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
25683         (gst_tee_sink_activate):
25684         * gst/elements/gsttee.h:
25685         * gst/gst.c: (gst_register_core_elements), (init_post):
25686         * gst/gst.h:
25687         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
25688         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
25689         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
25690         (gst_bin_change_state):
25691         * gst/gstbin.h:
25692         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
25693         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
25694         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
25695         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
25696         (gst_bus_set_sync_handler), (gst_bus_create_watch),
25697         (bus_watch_callback), (bus_watch_destroy),
25698         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
25699         (poll_timeout), (gst_bus_poll):
25700         * gst/gstbus.h:
25701         * gst/gstcaps.h:
25702         * gst/gstdata.h:
25703         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25704         (gst_element_post_message), (gst_element_message_full),
25705         (gst_element_get_state_func), (gst_element_get_state),
25706         (gst_element_abort_state), (gst_element_commit_state),
25707         (gst_element_lost_state), (gst_element_set_state),
25708         (gst_element_pads_activate), (gst_element_change_state),
25709         (gst_element_dispose), (gst_element_set_manager_func),
25710         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
25711         (gst_element_set_manager), (gst_element_get_manager),
25712         (gst_element_set_bus), (gst_element_get_bus),
25713         (gst_element_set_scheduler), (gst_element_get_scheduler):
25714         * gst/gstelement.h:
25715         * gst/gstevent.c: (gst_event_new_segment_seek),
25716         (gst_event_new_flush):
25717         * gst/gstevent.h:
25718         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
25719         (_gst_message_free), (gst_message_get_type), (gst_message_new),
25720         (gst_message_new_eos), (gst_message_new_error),
25721         (gst_message_new_warning), (gst_message_new_tag),
25722         (gst_message_new_state_changed), (gst_message_new_application),
25723         (gst_message_get_structure), (gst_message_parse_tag),
25724         (gst_message_parse_state_changed), (gst_message_parse_error),
25725         (gst_message_parse_warning):
25726         * gst/gstmessage.h:
25727         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
25728         (gst_real_pad_set_property), (gst_pad_set_active),
25729         (gst_pad_is_active), (gst_pad_set_blocked_async),
25730         (gst_pad_set_blocked), (gst_pad_is_blocked),
25731         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
25732         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
25733         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
25734         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
25735         (gst_pad_link_filtered), (gst_pad_relink_filtered),
25736         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
25737         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
25738         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
25739         (gst_pad_set_caps), (gst_pad_configure_sink),
25740         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
25741         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
25742         (gst_real_pad_dispose), (gst_real_pad_finalize),
25743         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
25744         (gst_pad_event_default_dispatch), (gst_pad_event_default),
25745         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
25746         * gst/gstpad.h:
25747         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
25748         (pipeline_bus_handler), (gst_pipeline_change_state),
25749         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
25750         * gst/gstpipeline.h:
25751         * gst/gstprobe.h:
25752         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
25753         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
25754         (gst_queue_link_src), (gst_queue_bufferalloc),
25755         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
25756         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
25757         (gst_queue_loop), (gst_queue_handle_src_event),
25758         (gst_queue_handle_src_query), (gst_queue_src_activate),
25759         (gst_queue_change_state):
25760         * gst/gstqueue.h:
25761         * gst/gstscheduler.c: (gst_scheduler_init),
25762         (gst_scheduler_dispose), (gst_scheduler_create_task),
25763         (gst_scheduler_factory_create):
25764         * gst/gstscheduler.h:
25765         * gst/gststructure.c: (gst_structure_get_type),
25766         (gst_structure_copy_conditional):
25767         * gst/gststructure.h:
25768         * gst/gsttaginterface.h:
25769         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25770         (gst_task_init), (gst_task_dispose), (gst_task_create),
25771         (gst_task_get_state), (gst_task_start), (gst_task_stop),
25772         (gst_task_pause):
25773         * gst/gsttask.h:
25774         * gst/gstthread.c:
25775         * gst/gstthread.h:
25776         * gst/gsttypes.h:
25777         * gst/schedulers/Makefile.am:
25778         * gst/schedulers/cothreads_compat.h:
25779         * gst/schedulers/entryscheduler.c:
25780         * gst/schedulers/faircothreads.c:
25781         * gst/schedulers/faircothreads.h:
25782         * gst/schedulers/fairscheduler.c:
25783         * gst/schedulers/gstbasicscheduler.c:
25784         * gst/schedulers/gstoptimalscheduler.c:
25785         * gst/schedulers/gthread-cothreads.h:
25786         * gst/schedulers/threadscheduler.c:
25787         (gst_thread_scheduler_task_get_type),
25788         (gst_thread_scheduler_task_class_init),
25789         (gst_thread_scheduler_task_init),
25790         (gst_thread_scheduler_task_start),
25791         (gst_thread_scheduler_task_stop),
25792         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
25793         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
25794         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
25795         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
25796         (plugin_init):
25797         * libs/gst/Makefile.am:
25798         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
25799         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
25800         (gst_file_pad_parent_set):
25801         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25802         (gst_dp_event_from_packet):
25803         * tests/complexity.c: (main):
25804         * tests/mass_elements.c: (main):
25805         * testsuite/states/locked.c: (message_received), (main):
25806         * testsuite/states/parent.c: (main):
25807         * tools/gst-inspect.c: (print_element_flag_info),
25808         (print_implementation_info), (print_pad_info):
25809         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
25810         (main):
25811         * tools/gst-md5sum.c: (event_loop), (main):
25812         * tools/gst-typefind.c: (main):
25813         * tools/gst-xmlinspect.c: (print_element_info):
25814         Next big merge.
25815         Added GstBus for mainloop integration.
25816         Added GstMessage for sending notifications on the bus.
25817         Added GstTask as an abstraction for pipeline entry points.
25818         Removed GstThread.
25819         Removed Schedulers.
25820         Simplified GstQueue for multithreaded core.
25821         Made _link threadsafe, removed old capsnego.
25822         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
25823         Added pad blocking functions.
25824         Reworked scheduling functions in GstPad to prepare for
25825         scheduling updates soon.
25826         Moved events out of data stream.
25827         Simplified GstEvent types.
25828         Added return values to push/pull.
25829         Removed clocking from GstElement.
25830         Added prototypes for state change function for next merge.
25831         Removed iterate from bins and state change management.
25832         Fixed some elements, disabled others for now.
25833         Fixed -inspect and -launch.
25834         Added check for GstBus.
25835
25836 2005-03-10  Wim Taymans  <wim@fluendo.com>
25837
25838         * docs/design/part-MT-refcounting.txt:
25839         * docs/design/part-clocks.txt:
25840         * docs/design/part-gstelement.txt:
25841         * docs/design/part-gstobject.txt:
25842         * docs/design/part-standards.txt:
25843         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25844         (gst_bin_remove_func), (gst_bin_remove):
25845         * gst/gstbin.h:
25846         * gst/gstbuffer.c:
25847         * gst/gstcaps.h:
25848         * testsuite/clock/clock1.c: (main):
25849         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
25850         (main):
25851         * testsuite/dlopen/loadgst.c: (do_test):
25852         * testsuite/refcounting/bin.c: (add_remove_test1),
25853         (add_remove_test2), (main):
25854         * testsuite/refcounting/element.c: (main):
25855         * testsuite/refcounting/element_pad.c: (main):
25856         * testsuite/refcounting/pad.c: (main):
25857         * tools/gst-launch.c: (sigint_handler_sighandler):
25858         * tools/gst-typefind.c: (main):
25859         Doc updates.
25860         Added doc about clock.
25861         removed gst_bin_iterate_recurse_up(), marked methods
25862         for removal.
25863         Fix more testsuites.
25864
25865 2005-03-09  Wim Taymans  <wim@fluendo.com>
25866
25867         * gst/gstpad.c: (gst_pad_get_direction),
25868         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
25869         (gst_pad_collect_valist):
25870         * testsuite/bins/interface.c: (main):
25871         * testsuite/caps/audioscale.c: (test_caps):
25872         * testsuite/caps/caps.c: (test1), (test2), (test3):
25873         * testsuite/caps/deserialize.c: (main):
25874         * testsuite/caps/enumcaps.c: (main):
25875         * testsuite/caps/filtercaps.c: (main):
25876         * testsuite/caps/intersect2.c: (main):
25877         * testsuite/caps/random.c: (main):
25878         * testsuite/caps/renegotiate.c: (my_fixate), (main):
25879         * testsuite/caps/sets.c: (check_caps):
25880         * testsuite/caps/simplify.c: (check_caps), (main):
25881         * testsuite/caps/subtract.c: (check_caps):
25882         Fix _pad_get_direction wrt ghostpads.
25883         Fix caps testsuite.
25884
25885 2005-03-09  Wim Taymans  <wim@fluendo.com>
25886
25887         * check/Makefile.am:
25888         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
25889         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
25890         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
25891         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
25892         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
25893         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
25894         (gst_bin_remove), (gst_bin_iterate_recurse_up),
25895         (bin_element_is_sink), (gst_bin_iterate_sinks),
25896         (gst_bin_iterate_all_by_interface):
25897         * gst/gstbin.h:
25898         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
25899         (gst_element_change_state), (gst_element_dispose),
25900         (gst_element_finalize), (gst_element_set_loop_function):
25901         * gst/gstelement.h:
25902         * gst/gstiterator.c: (find_custom_fold_func):
25903         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25904         (gst_pad_collectv), (gst_pad_collect_valist),
25905         (gst_pad_template_new):
25906         * gst/gstpipeline.c: (gst_pipeline_class_init),
25907         (gst_pipeline_dispose), (gst_pipeline_set_property),
25908         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
25909         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
25910         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
25911         * gst/gstutils.h:
25912         * gst/schedulers/entryscheduler.c:
25913         * gst/schedulers/gstbasicscheduler.c:
25914         (gst_basic_scheduler_cothreaded_chain),
25915         (gst_basic_scheduler_chain_add_element):
25916         * testsuite/bins/interface.c: (main):
25917         Added GstBin test.
25918         Added GstSystemClock test.
25919         Implemented clock distribution code in GstBin.
25920         Implemented iterate sinks method for future use.
25921         Rearranged gstelement.h
25922         Fix GstIterator comparison bug.
25923         Moved some code to GstPipeline, mostly clocking related.
25924
25925 2005-03-09  Wim Taymans  <wim@fluendo.com>
25926
25927         * configure.ac:
25928         * gst/gst_private.h:
25929         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25930         (gst_bin_remove_func), (gst_bin_remove),
25931         (gst_bin_get_by_name_recurse_up):
25932         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
25933         (gst_clock_id_compare_func), (gst_clock_id_wait),
25934         (gst_clock_id_wait_async), (gst_clock_init),
25935         (gst_clock_adjust_unlocked), (gst_clock_get_time):
25936         * gst/gstelement.h:
25937         * gst/gstinfo.c: (_gst_debug_init):
25938         * gst/gstobject.h:
25939         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25940         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
25941         * gst/gstpad.h:
25942         Bump version number, we're now 0.9.0
25943         Add future debugging category.
25944         Fix NULL _unref() in _get_by_name_recurse_up
25945         Rearrange gstpad.h.
25946         Update some docs.
25947
25948 2005-03-08  Wim Taymans  <wim@fluendo.com>
25949
25950         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
25951         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
25952         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
25953         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
25954         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
25955         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
25956         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
25957         * gst/elements/gstidentity.c: (gst_identity_class_init):
25958         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
25959         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
25960         * gst/elements/gstshaper.c: (gst_shaper_class_init):
25961         * gst/elements/gststatistics.c: (gst_statistics_class_init):
25962         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
25963         (gst_tee_link):
25964         * gst/gstelement.c: (gst_element_class_init),
25965         (gst_element_base_class_init), (gst_element_init),
25966         (gst_element_get_random_pad), (gst_element_wait_state_change),
25967         (gst_element_change_state), (gst_element_dispose),
25968         (gst_element_finalize), (gst_element_set_loop_function):
25969         * gst/gstelement.h:
25970         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
25971         * gst/gstthread.c: (gst_thread_class_init),
25972         (gst_thread_release_children_locks), (gst_thread_change_state):
25973         * gst/schedulers/gstbasicscheduler.c:
25974         (gst_basic_scheduler_loopfunc_wrapper),
25975         (gst_basic_scheduler_chain_wrapper),
25976         (gst_basic_scheduler_src_wrapper),
25977         (gst_basic_scheduler_remove_element):
25978         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
25979         Remove threadsafe properties. Fix elements because GObject
25980         complains when installing a property before declaring a
25981         set/get_property handler.
25982         Rearrange gstelement.h file, use STATE macros for state locks.
25983         Free mutexes in the finalize method instead of dispose.
25984
25985 2005-03-08  Wim Taymans  <wim@fluendo.com>
25986
25987         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25988         * gst/gstthread.c: (gst_thread_release_children_locks):
25989         Added parentage check.
25990         Fix build og GstThread again.
25991
25992 2005-03-08  Wim Taymans  <wim@fluendo.com>
25993
25994         * docs/design/part-MT-refcounting.txt:
25995         * docs/design/part-conventions.txt:
25996         * docs/design/part-gstobject.txt:
25997         * docs/design/part-relations.txt:
25998         * docs/design/part-standards.txt:
25999         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26000         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
26001         (gst_bin_get_by_name), (gst_bin_get_by_interface),
26002         (gst_bin_iterate_all_by_interface):
26003         * gst/gstbuffer.h:
26004         * gst/gstclock.h:
26005         * gst/gstelement.c: (gst_element_class_init),
26006         (gst_element_change_state), (gst_element_set_loop_function):
26007         * gst/gstelement.h:
26008         * gst/gstiterator.c:
26009         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
26010         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
26011         (gst_object_dispatch_properties_changed), (gst_object_set_name),
26012         (gst_object_set_parent), (gst_object_unparent),
26013         (gst_object_check_uniqueness):
26014         * gst/gstobject.h:
26015         Docs updates, clean up some headers.
26016
26017 2005-03-07  Wim Taymans  <wim@fluendo.com>
26018
26019         * check/.cvsignore:
26020         * check/Makefile.am:
26021         * check/gst-libs/.cvsignore:
26022         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
26023         * check/gst/.cvsignore:
26024         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
26025         (START_TEST), (gstbus_suite), (main):
26026         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
26027         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
26028         (gst_data_suite), (main):
26029         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
26030         (add_fold_func), (gstiterator_suite), (main):
26031         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
26032         (thread_name_object), (thread_name_object_default),
26033         (gst_object_name_compare), (gst_object_suite), (main):
26034         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
26035         (gst_pad_suite), (main):
26036         * check/gstcheck.c: (gst_check_log_message_func),
26037         (gst_check_log_critical_func), (gst_check_init):
26038         * check/gstcheck.h:
26039         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
26040         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
26041         Added checks.
26042
26043 2005-03-07  Wim Taymans  <wim@fluendo.com>
26044
26045         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
26046         (gst_list_iterator_next), (gst_list_iterator_resync),
26047         (gst_list_iterator_free), (gst_iterator_new_list),
26048         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
26049         (gst_iterator_free), (gst_iterator_push), (filter_next),
26050         (filter_resync), (filter_uninit), (filter_free),
26051         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
26052         (gst_iterator_foreach), (find_custom_fold_func),
26053         (gst_iterator_find_custom):
26054         * gst/gstiterator.h:
26055         Added missing files.
26056
26057 2005-03-07  Wim Taymans  <wim@fluendo.com>
26058
26059         * Makefile.am:
26060         * configure.ac:
26061         * docs/design/part-MT-refcounting.txt:
26062         * docs/design/part-conventions.txt:
26063         * docs/design/part-gstobject.txt:
26064         * docs/design/part-relations.txt:
26065         * examples/mixer/mixer.c: (main):
26066         * examples/thread/thread.c: (eos), (main):
26067         * gst/Makefile.am:
26068         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
26069         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
26070         (gst_spider_plug_from_srcpad):
26071         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
26072         (gst_spider_identity_change_state),
26073         (gst_spider_identity_sink_loop_type_finding):
26074         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
26075         * gst/elements/gstidentity.c: (gst_identity_init):
26076         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
26077         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
26078         * gst/elements/gsttypefindelement.c: (free_entry):
26079         * gst/gst.c:
26080         * gst/gst.h:
26081         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
26082         (gst_bin_set_clock_func), (gst_bin_auto_clock),
26083         (gst_bin_set_index), (gst_bin_set_element_sched),
26084         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
26085         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
26086         (gst_bin_iterate_elements), (iterate_child_recurse),
26087         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
26088         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
26089         (compare_interface), (gst_bin_get_by_interface),
26090         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
26091         * gst/gstbin.h:
26092         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
26093         (gst_buffer_default_free), (gst_buffer_default_copy),
26094         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
26095         (gst_buffer_create_sub):
26096         * gst/gstbuffer.h:
26097         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
26098         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
26099         (gst_caps_unref), (gst_static_caps_get),
26100         (gst_caps_remove_and_get_structure), (gst_caps_append),
26101         (gst_caps_append_structure), (gst_caps_remove_structure),
26102         (gst_caps_copy_nth), (gst_caps_set_simple),
26103         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
26104         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
26105         (gst_caps_structure_intersect_field), (gst_caps_intersect),
26106         (gst_caps_structure_subtract_field), (gst_caps_subtract),
26107         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
26108         (gst_caps_structure_figure_out_union),
26109         (gst_caps_switch_structures), (gst_caps_do_simplify),
26110         (gst_caps_replace), (gst_caps_from_string),
26111         (gst_caps_copy_conditional):
26112         * gst/gstcaps.h:
26113         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
26114         (_gst_clock_id_free), (gst_clock_id_unref),
26115         (gst_clock_id_compare_func), (gst_clock_id_wait),
26116         (gst_clock_id_wait_async), (gst_clock_class_init),
26117         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
26118         (gst_clock_get_time), (gst_clock_set_time_adjust),
26119         (gst_clock_set_property), (gst_clock_get_property):
26120         * gst/gstclock.h:
26121         * gst/gstcompat.h:
26122         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
26123         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
26124         * gst/gstdata.h:
26125         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26126         (gst_element_requires_clock), (gst_element_provides_clock),
26127         (gst_element_set_clock), (gst_element_clock_wait),
26128         (gst_element_wait), (gst_element_set_time_delay),
26129         (gst_element_is_indexable), (gst_element_add_pad),
26130         (gst_element_add_ghost_pad), (gst_element_remove_pad),
26131         (pad_compare_name), (gst_element_get_static_pad),
26132         (gst_element_request_pad), (gst_element_get_request_pad),
26133         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
26134         (gst_element_class_get_pad_template_list),
26135         (gst_element_class_get_pad_template), (gst_element_error_func),
26136         (gst_element_get_random_pad), (gst_element_get_event_masks),
26137         (gst_element_send_event), (gst_element_seek),
26138         (gst_element_get_query_types), (gst_element_query),
26139         (gst_element_get_formats), (gst_element_convert),
26140         (gst_element_is_locked_state), (gst_element_set_locked_state),
26141         (gst_element_sync_state_with_parent), (gst_element_change_state),
26142         (gst_element_finalize), (gst_element_yield),
26143         (gst_element_interrupt), (gst_element_set_scheduler),
26144         (gst_element_get_scheduler), (gst_element_set_loop_function):
26145         * gst/gstelement.h:
26146         * gst/gstevent.h:
26147         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
26148         (gst_format_get_by_nick), (gst_format_get_details),
26149         (gst_format_iterate_definitions):
26150         * gst/gstformat.h:
26151         * gst/gstindex.c: (gst_index_gtype_resolver):
26152         * gst/gstinfo.c:
26153         * gst/gstinfo.h:
26154         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
26155         (gst_mem_chunk_free):
26156         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
26157         (gst_object_ref), (gst_object_unref), (gst_object_sink),
26158         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
26159         (gst_object_dispatch_properties_changed),
26160         (gst_object_set_name_default), (gst_object_set_name),
26161         (gst_object_get_name), (gst_object_set_name_prefix),
26162         (gst_object_get_name_prefix), (gst_object_set_parent),
26163         (gst_object_get_parent), (gst_object_unparent),
26164         (gst_object_check_uniqueness), (gst_object_save_thyself),
26165         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
26166         (gst_object_set_property), (gst_object_get_property),
26167         (gst_object_get_path_string):
26168         * gst/gstobject.h:
26169         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26170         (gst_real_pad_init), (gst_real_pad_get_property),
26171         (gst_pad_custom_new), (gst_pad_get_direction),
26172         (gst_pad_set_active), (gst_pad_is_active),
26173         (gst_pad_set_event_function), (gst_pad_is_linked),
26174         (gst_pad_link_free), (gst_pad_link_intersect),
26175         (gst_pad_link_fixate), (gst_pad_set_caps),
26176         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
26177         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
26178         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
26179         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
26180         (gst_pad_get_caps), (gst_pad_peer_get_caps),
26181         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
26182         (gst_pad_realize), (gst_pad_get_allowed_caps),
26183         (gst_real_pad_dispose), (gst_real_pad_finalize),
26184         (gst_pad_collectv), (gst_pad_collect_valist),
26185         (gst_pad_template_dispose), (gst_pad_template_new),
26186         (gst_pad_get_internal_links):
26187         * gst/gstpad.h:
26188         * gst/gstpipeline.c: (gst_pipeline_dispose),
26189         (gst_pipeline_change_state):
26190         * gst/gstpipeline.h:
26191         * gst/gstplugin.c:
26192         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
26193         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
26194         * gst/gstpluginfeature.h:
26195         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
26196         * gst/gstquery.c: (_gst_query_type_initialize),
26197         (gst_query_type_register), (gst_query_type_get_by_nick),
26198         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
26199         * gst/gstquery.h:
26200         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
26201         * gst/gstscheduler.c: (gst_scheduler_add_element),
26202         (gst_scheduler_factory_create):
26203         * gst/gststructure.c: (gst_structure_set_parent_refcount),
26204         (gst_structure_free), (gst_structure_set_name),
26205         (gst_structure_id_set_value), (gst_structure_set_value),
26206         (gst_structure_set_valist), (gst_structure_remove_field),
26207         (gst_structure_remove_fields),
26208         (gst_structure_remove_fields_valist),
26209         (gst_structure_remove_all_fields), (gst_structure_foreach),
26210         (gst_structure_map_in_place),
26211         (gst_caps_structure_fixate_field_nearest_int),
26212         (gst_caps_structure_fixate_field_nearest_double):
26213         * gst/gststructure.h:
26214         * gst/gstsystemclock.c: (gst_system_clock_class_init),
26215         (gst_system_clock_init), (gst_system_clock_dispose),
26216         (gst_system_clock_async_thread),
26217         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
26218         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
26219         * gst/gstsystemclock.h:
26220         * gst/gsttag.c: (gst_tag_list_add_value_internal),
26221         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
26222         * gst/gsttaginterface.c:
26223         * gst/gstthread.c: (gst_thread_dispose),
26224         (gst_thread_release_children_locks), (gst_thread_change_state),
26225         (gst_thread_main_loop):
26226         * gst/gsttrashstack.h:
26227         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
26228         * gst/gsttypes.h:
26229         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26230         (gst_element_request_pad), (gst_element_get_pad_from_template),
26231         (gst_element_request_compatible_pad),
26232         (gst_element_get_compatible_pad_filtered),
26233         (gst_element_get_compatible_pad), (gst_element_state_get_name),
26234         (gst_element_link_pads_filtered), (gst_element_link_filtered),
26235         (gst_element_link_many), (gst_element_link),
26236         (gst_element_link_pads), (gst_element_unlink_pads),
26237         (gst_element_unlink_many), (gst_element_unlink),
26238         (gst_pad_can_link_filtered), (gst_pad_can_link),
26239         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
26240         (gst_object_default_error), (gst_bin_add_many),
26241         (gst_bin_remove_many), (gst_element_populate_std_props),
26242         (gst_element_class_install_std_props), (gst_buffer_merge),
26243         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
26244         (link_fold_func), (gst_pad_proxy_setcaps):
26245         * gst/gstutils.h:
26246         * gst/gstvalue.c: (gst_value_deserialize_string):
26247         * gst/parse/grammar.y:
26248         * gst/schedulers/gstbasicscheduler.c:
26249         (gst_basic_scheduler_cothreaded_chain),
26250         (gst_basic_scheduler_chain_recursive_add),
26251         (gst_basic_scheduler_pad_link):
26252         * gst/schedulers/gstoptimalscheduler.c:
26253         (get_group_schedule_function),
26254         (gst_opt_scheduler_state_transition),
26255         (gst_opt_scheduler_add_element), (element_get_reachables_func):
26256         * libs/gst/bytestream/bytestream.c:
26257         * libs/gst/dataprotocol/dataprotocol.c:
26258         (gst_dp_header_from_buffer):
26259         * po/nb.po:
26260         * po/ru.po:
26261         * tests/threadstate/threadstate2.c: (eos):
26262         * tools/gst-compprep.c: (main):
26263         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
26264         (print_pad_info), (print_children_info):
26265         * tools/gst-launch.c: (idle_func), (main):
26266         * tools/gst-md5sum.c: (idle_func), (main):
26267         * tools/gst-xmlinspect.c: (print_element_info):
26268         First THREADED backport attempt, focusing on adding locks and
26269         making sure the API is threadsafe. Needs more work. More docs
26270         follow this week.
26271
26272 2005-02-24  Andy Wingo  <wingo@pobox.com>
26273
26274         * tests/bench-complexity.scm:
26275         * tests/complexity.gnuplot: New files, good for running complexity
26276         benchmarks.
26277
26278         * tests/Makefile.am:
26279         * tests/complexity.c: New test, sets up N elements, at each level
26280         teeing into M streams per element. Eeeenteresting.
26281
26282         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
26283         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
26284         running bench-mass_elements.scm.
26285
26286         * tests/bench-mass_elements.scm: New script, runs mass_elements
26287         for various numbers of identities, outputting the results to a
26288         file. Requires guile 1.6. Just for testing.
26289
26290 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26291
26292         * gst/schedulers/fairscheduler.c:
26293           compile with debug disabled
26294
26295 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26296
26297         * configure.ac:
26298           hunting season on 0.9 is now OPEN