libs/gst/base/gstbasesink.c: Use new API to get elapsed time.
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
2
3         * libs/gst/base/gstbasesink.c:
4           Use new API to get elapsed time.
5
6 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
7
8         * gst/gstdebugutils.c:
9         * gst/gstinfo.c:
10           Fix wrong order of args in GST_CLOCK_DIFF() usage.
11
12         * tools/gst-launch.c:
13           Use new API to get elapsed time.
14
15 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
16
17         * docs/gst/gstreamer-sections.txt:
18         * gst/gstclock.h:
19         * gst/gstdebugutils.c:
20         * gst/gstinfo.c:
21           Rename new API + ChangeLog surgery to remove old name from last entry..
22           API: GST_GET_TIMESTAMP
23
24 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
25
26         * docs/gst/gstreamer-sections.txt:
27         * gst/gstclock.h:
28         * gst/gstdebugutils.c:
29         * gst/gstinfo.c:
30           Now hide the different clock stuff behind a macro.
31
32 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
33
34         * configure.ac:
35         * gst/gstdebugutils.c:
36         * gst/gstinfo.c:
37           Apply the posix-timer check from #361155. Conditionally use the posix
38           timer for logging. This gives better timestamp precission, less
39           overhead and no ntp jitter.
40
41 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
42
43         * gst/gstminiobject.c: (gst_mini_object_get_type),
44         (gst_mini_object_class_init), (gst_mini_object_copy_default),
45         (gst_mini_object_finalize), (gst_mini_object_copy),
46         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
47         (gst_mini_object_replace), (param_mini_object_validate),
48         (gst_param_spec_mini_object_get_type):
49         Some cleanup and checking against invalid function parameters.
50
51 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
52
53         * docs/gst/gstreamer-sections.txt:
54         * gst/gstclock.h:
55         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
56         (gst_systemclock_suite):
57         Start merging in the easy bits of #361155, the monotonic clock patch.
58         This one adds a few handy macros with docs and a testsuite.
59
60 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
61
62         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
63         Be a bit smarter when seeking, like, don't try to do a seek when it's
64         not needed. This avoids errors when the file is not seekable.
65         Fixes #499771.
66
67 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
68
69         * docs/gst/gstreamer-docs.sgml:
70         * docs/gst/gstreamer-sections.txt:
71         * docs/gst/gstreamer.types.in:
72         * gst/Makefile.am:
73         * gst/gst.h:
74         * gst/gstpreset.c:
75         * gst/gstpreset.h:
76         * plugins/elements/gstqueue.c:
77           Due to popular request remove preset interface again. :-(.
78
79 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
80
81         * tools/gst-inspect.c:
82           Print 'default value' for enums and flags too.
83
84 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
85
86         * docs/random/ensonic/profiling.txt:
87           More ideas.
88
89         * gst/gstbin.c:
90           Fix typo and give better log output.
91
92         * gst/gstdebugutils.c:
93         * gst/gstdebugutils.h:
94           More ideas, make graphs a bit smaller and fix param name in macro.
95
96 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
97
98         * gst/gstpreset.c:
99           Try harder to use the return value from fgets().
100
101 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
102
103         * gst/gstpreset.c:
104           For theses two fgets we handle the error below.
105
106 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
107
108         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
109         Only send upstream events upstream. Fixes #498746.
110
111 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
112
113         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
114
115         * plugins/elements/gstidentity.c: (gst_identity_class_init),
116         (gst_identity_init), (gst_identity_transform_ip),
117         (gst_identity_set_property), (gst_identity_get_property):
118         * plugins/elements/gstidentity.h:
119         Add property to disable handoff signal emission. Fixes #498694.
120         API: GstIdentity::signal-handoffs
121
122 2007-11-21  Julien Moutte  <julien@fluendo.com>
123
124         * docs/faq/gst-uninstalled: Yet another missing library for the
125         uninstalled script (fft)
126
127 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
128
129         * docs/faq/developing.xml:
130         Add a question about how to submit new translations.
131
132         * docs/random/release:
133         Update the contact email address for the Translation Project
134
135         * plugins/elements/gstfdsrc.c:
136         The parent_class for fdsrc is pushsrc, not GstElement.
137
138 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
139
140         * gst/gstpreset.c:
141           Plug a leak and fix saving.
142
143 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
144
145         * docs/gst/gstreamer-sections.txt:
146         Add new gst_preset__get_property_names() function to the docs
147         to fix the build.
148
149 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
150
151         * gst/gstpreset.c:
152         * gst/gstpreset.h:
153           Change _get_preset_names API to return a strv with copies. Add
154           _get_property_names to allow implementations to filter and provide
155           good default implementation.
156
157 2007-11-20  Julien MOUTTE  <julien@moutte.net>
158
159         * docs/faq/gst-uninstalled: Add another library to the uninstalled
160         script (sdp).
161
162 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
163
164         * gst/gstpreset.c:
165           More cleanups, docs, and TODOs from comments that now slowly come in.
166
167 2007-11-19  Julien MOUTTE  <julien@moutte.net>
168
169         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
170         search path.
171
172 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
173
174         * gst/gstpreset.c:
175           Fix bogus warning and make the property type specific code more
176           similar.
177
178 2007-11-19  Julien MOUTTE  <julien@moutte.net>
179
180         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
181         it build on OS X.
182
183 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
184
185         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
186         (gst_bin_add_func), (gst_bin_remove_func),
187         (gst_bin_change_state_func), (gst_bin_continue_func):
188         Change email, cleanups add some more debug and comments.
189         Also set bus and clock on new elements when the pipeline was in error.
190
191 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
192
193         * gst/gstbin.c:
194         * gst/gstdebugutils.c:
195           Fix build with --disable-gst-debug. Fixes #497859.
196           Spotted by Sameer Naik.
197
198 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
199
200         * gst/gstevent.c:
201           Little documentation improvment.
202
203         * gst/gstpreset.c:
204           More TODO cleanups. Remove c++ comments.
205
206         * libs/gst/controller/gstcontroller.c:
207           Add TODO and use quark from static string.
208
209         * tests/check/gst/gstmessage.c:
210         * tests/check/gst/gststructure.c:
211           Use quark from static string.
212
213 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
214
215         * gst/gstpreset.c:
216           Add some comments and TODOs.
217
218         * gst/gstpreset.h:
219           Add padding for future changes.
220
221         * plugins/elements/gstqueue.c:
222           Implement the iface.    
223
224 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
225
226         * docs/gst/gstreamer-docs.sgml:
227         * docs/gst/gstreamer-sections.txt:
228         * docs/gst/gstreamer.types.in:
229         * gst/Makefile.am:
230         * gst/gst.h:
231         * gst/gstpreset.c:
232         * gst/gstpreset.h:
233           Add the preset interface (Fixes #396779). Do some doc cleanups along.
234
235 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
236
237         * configure.ac:
238
239         Back to CVS
240
241 === release 0.10.15 ===
242
243 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
244
245         * configure.ac:
246           releasing 0.10.15, "October"
247
248 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
249
250         * win32/vs6/libgstreamer.dsp:
251         Convert line endings back to DOS.
252
253 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
254
255         * docs/design/draft-tagreading.txt:
256         * docs/random/ensonic/profiling.txt:
257         Update fast tagreading draft and performance profiling ideas.
258
259 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
260
261         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
262         Don't hold the object lock when unreffing a buffer because it could
263         cause a deadlock when the finalize function wants to grab the object
264         lock too. Fixes #495133.
265
266 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
267
268         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
269         (gst_segment_to_stream_time), (gst_segment_to_running_time):
270         Also accumulate time correctly when doing reverse playback. Fixes
271         #488201,
272         When converting to running and stream time, use default values for
273         start/stop/time/accum when comparing different formats. Fixes #494245.
274
275         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
276         Do running/stream time in TIME format.
277
278         * tests/check/gst/gstsegment.c: (GST_START_TEST),
279         (gst_segment_suite):
280         2 new unit tests for segment accumulation.
281
282 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
283
284         * gst/gst.c: (init_pre):
285         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
286           (_gst_debug_bin_to_dot_file):
287           Move getenv() back into gst_init, so everyone can live happily
288           ever after. Make sure the symbol isn't exported though.
289
290 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
291
292         Patch by: Sebastien Moutte  <sebastien moutte net>
293
294         * win32/common/gstenumtypes.c:
295         * win32/common/gstenumtypes.h:
296           Update enum types.
297
298         * win32/vs6/libgstreamer.dsp:
299           Update vs6 project files (#494343).
300
301 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
302
303         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
304         (gst_base_src_perform_seek), (gst_base_src_default_event),
305         (gst_base_src_set_flushing), (gst_base_src_activate_push),
306         (gst_base_src_activate_pull):
307         Unify flushing code, remove some old unlock code that is no longer used.
308         Take the streaming lock when seeking to avoid races. Fixes #492729.
309         Added some more comments.
310
311 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
312
313         * gst/gst.c: (_gst_disable_segtrap):
314           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
315           we can use gst_segtrap_is_enabled() there now that we have that API.
316           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
317           to do the getenv here (and export the variable).
318
319         * gst/gstdebugutils.c: (debug_dump_element),
320           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
321           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
322
323         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
324           (gst_debug_log_default):
325           Rename _gst_info_start_time to priv_gst_info_start_time so it
326           doesn't get exported (was never in any header).
327
328         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
329           (gst_plugin_loading_mutex):
330           Make static mutex gst_plugin_loading_mutex really static (was never
331           in any header), and use gst_segtrap_is_enabled() instead of
332           _gst_disable_segtrap.
333
334         * gst/gsttrace.c: (_gst_trace_default):
335           Make local _gst_trace_default static (was never in any header).
336
337 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
338
339         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
340
341         * win32/common/libgstbase.def:
342         * win32/common/libgstcontroller.def:
343         * win32/common/libgstdataprotocol.def:
344         * win32/common/libgstnet.def:
345         * win32/common/libgstreamer.def:
346           Add more missing symbols, remove some duplicates, and sort
347           as the 'sort' command sorts it (partially fixes #493983).
348
349 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
350
351         * gst/gstelement.c: (gst_element_set_state_func):
352         Only change the state cookie if a different state was set on the
353         element. See #492729.
354
355 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
356
357         * gst/gstvalue.c:
358           Remove unused and uninitialised type variables that were still
359           exported for some reason (they were never in any header files
360           though).
361
362 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
363
364         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
365         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
366         (gst_base_sink_event), (gst_base_sink_get_position_last),
367         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
368         (gst_base_sink_change_state):
369         Don't try to report a 0 position when we don't know, return -1 and FALSE
370         instead. This mostly happens when we are prerolling.
371         Make sure we can report the right position before we post the ASYNC_DONE
372         message so that a message handler can query position without races.
373
374         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
375         (async_done_handoff), (async_done_func), (send_buffer),
376         (async_done_eos_func), (gst_sinks_suite):
377         Add two tests for the above.
378
379 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
380
381         * MAINTAINERS:
382         Update with new email address.
383
384         * docs/design/part-TODO.txt:
385         Add some more info about future pad-block and negotiation changes.
386
387         * docs/design/part-buffering.txt:
388         Add some ideas about buffering reporting.
389
390 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
391
392         * tests/check/gst/gstobject.c:
393         Disable silly racy test that always fails on this combination of CPU
394         and kernel.
395
396 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
397
398         Patch by: Murray Cumming  <murrayc@murrayc.com>
399
400         * gst/gstobject.c:
401           Corrected the registration of the parent-set and parent-unset
402           signals: The parameter is a GstObject, not a GObject (#493134).
403
404 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
405
406         * gst/gst_private.h:
407         * gst/gstbuffer.h:
408         * gst/gstevent.h:
409         * gst/gstformat.h:
410         * gst/gstmessage.h:
411         * gst/gstplugin.h:
412         * gst/gstquery.h:
413         * gst/gsttaglist.h:
414         * gst/gstvalue.h:
415           Move declaration of private _gst_foo_initialize() functions into
416           our private header file where they should have been all along.
417
418 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
419
420         * docs/plugins/gstreamer-plugins-sections.txt:
421         * gst/gstdebugutils.h:
422         * gst/gstxml.h:
423         * plugins/elements/gstqueue.c:
424           gtk-doc fixes; trailing-comma-in-enum fix.
425
426 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
427
428         * gst/gst.c: (gst_deinit):
429           Clean up on deinit (not the external ones though, doesn't seem to be
430           needed for some reason).
431
432 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
433
434         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
435           Remove __declspec(dllimport) for MSVC that was copied over into core
436           from a plugin, obviously without ever having been tested (note the
437           single underscore in _declspec in the initial commit), and that doesn't
438           really make sense.  See #492077.
439
440 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
441
442         * gst/gst.c: (init_post):
443         * gst/gstevent.c: (_gst_event_initialize):
444         * gst/gstquery.c: (_gst_query_initialize):
445         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
446           g_type_class_ref() other types as well, see #349410 and #64764.
447
448         * gst/gstbuffer.c: (_gst_buffer_initialize):
449         * gst/gstmessage.c: (_gst_message_initialize):
450           Simplify existing g_type_class_ref().
451
452 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
453
454         * gst/gstformat.c: (_gst_format_initialize):
455           g_type_class_ref() our GstFormat type to make sure we avoid the
456           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
457           bug #64764. Should fix intermittent tee unit test failures (#474823).
458
459 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
460
461         * tests/check/elements/tee.c: (test_num_buffers):
462           Simplify, simplify, simplify - or not.  Rewrite unit test
463           not to use gst_parse_launch(); allow N sub-streams. Increasing
464           the number of sub-streams seems to reproduce #474823 more easily.
465
466 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
467
468         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
469
470         * gst/gsttrace.c:
471         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
472         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
473         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
474           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
475           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
476           so use _pipe() directly (#492077).
477
478         * win32/common/dirent.c: (_treaddir):
479           Add a couple of casts to make it build without warnings with MSVC.
480
481         * win32/common/libgstreamer.def:
482           Add some more symbols that need to be exported.
483
484 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
485
486         * tests/examples/metadata/read-metadata.c: (message_loop):
487           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
488           arriving in a second or third tag message are added to
489           the tag list as well.
490
491 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
492
493         * libs/gst/base/gstbasesrc.c:
494           Its "Since:" and not "@Since:". And remove an superflous cast.
495
496 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
497
498         * docs/libs/gstreamer-libs-sections.txt:
499         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
500         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
501         (gst_base_sink_get_property), (gst_base_sink_render_object),
502         (gst_base_sink_preroll_object),
503         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
504         (gst_base_sink_change_state):
505         * libs/gst/base/gstbasesink.h:
506         Add a new last-buffer property that contains the last buffer used in
507         basesink for preroll or rendering. useful for making snapshots.
508         API: gst_base_sink_get_last_buffer()
509         API: GstBaseSink::last-buffer
510
511 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
512
513         * docs/gst/running.xml:
514         * gst/gst.c:
515         * gst/gstdebugutils.c:
516         * gst/gstdebugutils.h:
517         * tools/gst-launch.c:
518           Improve bin graph dumping, by using the envvar to specify a path.
519           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
520
521 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
522
523         * plugins/elements/gsttypefindelement.c:
524           (gst_type_find_element_handle_event),
525           (gst_type_find_element_activate):
526           Post special error message if we can't determine the type of a stream
527           because it's empty.
528
529 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
530
531         * docs/gst/running.xml:
532         * gst/gstdebugutils.c:
533           Document new env-var. Add one log-line after dumpng a graph.
534
535 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
536
537         * configure.ac:
538           Ugly hack to put the (recently removed and non-portable, apparently)
539           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
540           GNU ld, because without that 'make check' fails miserably on my debian
541           stable box.  Someone with more knowledge of linker intricacies and
542           portability issues than me fix this properly please.
543
544 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
545
546         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
547         Reset last seen position after flushing so that we don't report the old
548         position anymore.
549
550 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
551
552         * gst/gstelementfactory.c: (gst_element_register):
553         * gst/gsturi.h:
554         Patch from Alessandro Decina adding get_type_full and
555         get_protocols_full private vfuncs to the URIHandler interface
556         to allow bindings to support creating URI handlers. 
557         Partially fixes: #339279
558         API: GstURIHandlerInterface::get_type_full
559         API: GstURIHandlerInterface::get_protocols_full
560
561 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
562
563         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
564         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
565         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
566         Make it so that pads are considered linked until a buffer is pushed
567         and discovered otherwise. This avoids problems with decodebin2 hanging
568         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
569         case.
570
571         Make sure we lock the multiqueue when updating the max-size properties.
572         
573         Fix a crash on Solaris in a debug statement in get_request_pad that
574         passes a NULL string to GST_DEBUG. 
575
576         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
577         (run_output_order_test):
578         Fix the test to allow the first buffer on not-linked pads to come out
579         of sequence while multiqueue discovers that they are not-linked.
580
581 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
582
583         * configure.ac:
584         * libs/gst/check/Makefile.am:
585         Use a custom export symbol regex for libgstcheck, as it needs
586         to export symbols that don't match the standard GStreamer gst_*
587         pattern, and  --export-dynamic is not portable (only works on 
588         GNU ld)
589
590         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
591         (gst_check_setup_sink_pad):
592         Make sure to pass a message parameter to the fail_* macros.
593
594         * tests/check/gst/gstinfo.c: (GST_START_TEST):
595         Fix some compiler warnings.
596
597 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
598
599         * tests/check/gst/gststructure.c: (test_to_string):
600           Disable test that checks that white spaces are not allowed
601           in structure names or field names, since we need to
602           support that for now for backwards compatibility reasons.
603
604 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
605
606         * docs/gst/gstreamer-sections.txt:
607         * gst/gsttaglist.c:
608         * gst/gsttaglist.h:
609           API: add GST_TAG_ARTIST_SORTNAME
610           API: add GST_TAG_ALBUM_SORTNAME
611           API: add GST_TAG_TITLE_SORTNAME
612           Add tag variants for sorting (#414539).
613
614 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
615
616         * gst/gststructure.c:
617           Also allow white space for names so we don't break
618           backwards compatibility.
619
620 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
621
622         * docs/design/part-TODO.txt:
623         * docs/design/part-segments.txt:
624         * docs/design/part-streams.txt:
625         Small updates.
626
627 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
628
629         * docs/gst/gstreamer-sections.txt:
630          Fixed documentation from my previous commit (added new API add
631          gst_value_set_structure(), add gst_value_get_structure() and
632          GST_VALUE_HOLDS_STRUCTURE).
633
634 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
635
636         * gst/gstdebugutils.c:
637           Reflow code to fix uninitialized variable warning.
638
639 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
640
641         * gst/gstcaps.c: (gst_caps_to_string),
642         (gst_caps_from_string_inplace):
643         * gst/gststructure.c: (gst_structure_get_abbrs),
644         (gst_structure_to_string), (gst_structure_from_string):
645         * gst/gstvalue.c: (gst_value_set_structure),
646         (gst_value_get_structure), (gst_value_serialize_structure),
647         (gst_value_deserialize_structure), (_gst_value_initialize):
648         * gst/gstvalue.h:
649         * tests/check/gst/gststructure.c: (GST_START_TEST),
650         (gst_structure_suite):
651         * tests/check/gst/gstvalue.c: (GST_START_TEST):
652          Added GstStructure to gst_value_table and its related functions.
653          Changed gst_structure_to_string to print ';' in the end.
654          Changed gst_caps_to_string to not print ';' beteween its
655          fields (structures) anymore and remove the lastes ';' from latest
656          structure. Now it is possible to have nested structures.
657          In addition, backward compatibilty is assured by accepting '\0' as
658          end delimiter. Fixes: #487969.
659          API: add gst_value_set_structure()
660          API: add gst_value_get_structure()
661          API: add GST_VALUE_HOLDS_STRUCTURE
662
663 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
664
665         * gst/gstbus.c:
666           When no GSource callback has been set up, tell developer
667           to use a function that actually exists.
668
669 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
670
671         * docs/gst/gstreamer-sections.txt:
672         * gst/Makefile.am:
673         * gst/gst.c:
674         * gst/gst.h:
675         * gst/gstdebugutils.c:
676         * gst/gstdebugutils.h:
677         * gst/gstinfo.c:
678         * gst/gstinfo.h:
679         * tools/gst-launch.c:
680           Allow dumping pipelines as dot graphs. Fixes #456573.
681
682 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
683
684         * gst/gststructure.c:
685           Allow '+' as well, it can be part of media or mime types
686           such as image/svg+xml.
687
688 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
689
690         * docs/gst/gstreamer-sections.txt:
691         * gst/gstbus.c:
692         * gst/gstbus.h:
693           API: add gst_bus_pop_filtered
694           API: add gst_bus_timed_pop_filtered
695           Two new functions for waiting for specific message types on the
696           bus for a specified amount of time without iterating any main
697           loops or main contexts.
698
699         * tests/check/gst/gstbus.c:
700           Some tests for the new functions.
701
702 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
703
704         * docs/libs/gstreamer-libs-sections.txt:
705           Make gtk-doc ignore stuff it should ignore.
706
707 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
708
709         * libs/gst/check/gstcheck.c:
710         * libs/gst/check/gstcheck.h:
711           Allow runtime selection of unit tests to run via the GST_CHECKS
712           environment variable (test case function names, comma-separated).
713
714 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
715
716         * gst/gststructure.c:
717         * tests/check/gst/gststructure.c:
718           Revert serialisation change and constrain structure-names after
719           consensus on irc. Update api documentation to reflect the change.
720
721 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
722
723         * gst/gststructure.c:
724           Improve serialization and fix tests.
725
726         * tests/check/gst/gststructure.c:
727           Add another test that covers why I actually did the previous structure
728           change.
729
730 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
731
732         * tools/gst-inspect.c: (print_element_info):
733         Don't crash when inspecting an element.
734
735 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
736
737         * tests/check/gst/gststructure.c:
738           Add unit test for escaping of structure name when serialising
739           and deserialising to/from strings.
740
741 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
742
743         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
744         (gst_single_queue_new):
745         * plugins/elements/gstqueue.c: (gst_queue_init),
746         (gst_queue_push_one):
747         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
748         upstream is tricked into thinking it can suggest a format downstream
749         while downstream does not support that format. The real problem is that
750         core calls acceptcaps when pushing a buffer with new caps, for which we
751         do a little workaround by setting the caps on the srcpad ourselves
752         before pushing the buffer (until this is figured out). Fixes #486758.
753
754 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
755
756         * gst/gststructure.c:
757         * gst/gstvalue.c:
758           Add some more comments and debug output. Quote structure name to fix
759           deserialisation of some strings.
760
761 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
762
763         * gst/gstbuffer.h:
764           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
765           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
766
767 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
768
769         * tools/gst-inspect.c:
770           Save approx. 400 1 byte allocs when printing. Use API to acces element
771           details.
772
773         * tools/gst-run.c:
774           Avoid a strdup.
775
776         * tools/gst-xmlinspect.c:
777           Use API to acces element details.
778
779 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
780
781         * gst/gstinfo.c:
782           Fix some spelling errors.
783
784 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
785
786         * gst/gstbin.c: (bin_handle_async_done):
787         Correctly set the next state if all of our async children commited their
788         state. This makes sure we can actually cancel the state change in
789         progress. Fixes a regression in Rhythmbox when seeking.
790
791 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
792
793         * gst/gstbin.c:
794           Don't shadow local variable.
795
796         * gst/gstinfo.c:
797           Don't shadow global function name.
798
799 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
800
801         * gst/gstelementfactory.c:
802         * gst/gstpluginfeature.c:
803         * gst/gstpluginfeature.h:
804         * gst/gstregistrybinary.c:
805         * gst/gstregistryxml.c:
806         * gst/gsttypefind.c:
807           Use already-interned string for the private GstPluginFeature
808           plugin_name field.
809
810 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
811
812         * docs/libs/gstreamer-libs-sections.txt:
813           Add new API to docs; fixes the build.
814
815 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
816         
817         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
818
819         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
820         (gst_base_sink_event):
821         * libs/gst/base/gstbasesink.h:
822         Add function to wait for EOS, subclasses can use this to correctly wait
823         for devices to drain before performing the EOS logic. Fixes #485343.
824         API: gst_base_sink_wait_eos()
825
826 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
827
828         * gst/gstplugin.h:
829           Cast description string constants in GST_PLUGIN_DEFINE macros
830           to a (gchar*) to make C++ code using these macros compile
831           without warning with g++-4.2 (see #462737).  Even if slightly
832           ugly, this seems preferable to putting the description strings
833           into the GLib quark table or making the structure member a
834           const gchar * and doing casts in core code that allocs and
835           frees these strings, or requiring a cast in the C++ code.
836
837 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
838
839         * gst/gstinfo.h:
840           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
841           to print the entire class/function signature into the log
842           file for C++ code.  This only affects C++ code, for C code
843           everything remains the same.
844
845 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
846
847         * gst/gstbin.c: (remove_from_queue):
848         Work around a problem with pipelines containing (semi)loops until a
849         proper, more complicated solution is ready. See #475455.
850
851 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
852
853         * gst/gstplugin.c:
854         * gst/gstplugin.h:
855         * gst/gstregistrybinary.c:
856         * gst/gstregistryxml.c:
857           Put more strings into the GLib quark table. No need to keep
858           a hundred-something copies of identical version strings,
859           license strings, package name strings and package origin
860           strings around. 
861
862 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
863
864         * docs/manual/advanced-dataaccess.xml:
865           Don't imply that it's okay to unconditionally change
866           buffer data or buffer metadata in a pad probe callback,
867           and a bunch of other comments. Fixes #430031.
868
869 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
870
871         * win32/common/gstenumtypes.c:
872         * win32/common/gstenumtypes.h:
873         * win32/common/gstversion.h:
874           Update generated files.
875
876 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
877
878         * docs/manual/advanced-autoplugging.xml:
879           Prefix section with broken code with a warning (see #342432).
880
881 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
882
883         * docs/manual/appendix-integration.xml:
884         * docs/manual/basics-init.xml:
885           Call g_thread_init() before g_option_context_new() to
886           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
887
888 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
889
890         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
891         (gst_base_sink_queue_object_unlocked),
892         (gst_base_sink_queue_object), (gst_base_sink_event),
893         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
894         When we received EOS and are waiting for when to post the EOS message,
895         our state is prerolled and we should not return ASYNC.
896         Reorganize some code paths to implement this behavior.
897
898         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
899         (gst_sinks_suite):
900         Add unit test to verify above EOS fix.
901
902 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
903
904         * plugins/elements/gsttypefindelement.c:
905         (gst_type_find_element_have_type), (gst_type_find_element_init),
906         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
907         Move detecting the input caps of the sinkpad to the setcaps function.
908         This allows us to update the output caps when we receive new input caps
909         instead of always using the first detected caps.
910
911 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
912
913         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
914         (gst_base_sink_get_position):
915         Don't try to preroll non-async elements after a flush.
916         Subtract latency form clock times when reporting position.
917
918 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
919
920         * gst/gstpad.c: (gst_pad_pause_task):
921         * gst/gstutils.c:
922         Small comment and documentation update.
923
924 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
925
926         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
927         (gst_base_src_set_live), (gst_base_src_is_live),
928         (gst_base_src_query_latency), (gst_base_src_perform_seek),
929         (gst_base_src_default_event), (gst_base_src_wait),
930         (gst_base_src_do_sync), (gst_base_src_get_range),
931         (gst_base_src_pad_get_range), (gst_base_src_loop),
932         (gst_base_src_unlock), (gst_base_src_unlock_stop),
933         (gst_base_src_set_flushing), (gst_base_src_set_playing),
934         (gst_base_src_activate_push), (gst_base_src_activate_pull),
935         (gst_base_src_change_state):
936         Rework the locking of basesrc in a similar fashion to basesink. We
937         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
938         us to handle live sources and semi live ones much better.
939         Simplify flushing.
940         Fix unlocking when seeking, shutting down and pausing in live sources.
941
942 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
943
944         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
945         Fix compilation again.
946
947 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
948
949         * gst/gstelement.c:
950           Use meaningful categories for the logs to clean the default one.
951
952 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
953
954         * tests/check/pipelines/cleanup.c:
955           Print message name and not just number.
956
957 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
958
959         * docs/design/draft-tagreading.txt:
960           Add some more thoughts.
961
962 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
963
964         * tests/check/pipelines/simple-launch-lines.c:
965           Print message name and not just number.
966
967 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
968
969         * libs/gst/base/gsttypefindhelper.c:
970           Speedup typefinding. This is work in progress (see #459862).
971
972 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
973
974         * gst/gstplugin.c:
975           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
976           Spotted by Josep Torra Valles <josep@fluendo.com>.
977
978 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
979
980         * gst/gstclock.h:
981           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
982           field has moved to GstObject.
983
984 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
985
986         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
987         (gst_base_src_get_range), (gst_base_src_change_state):
988         Call unlock for live sources so that they can't get stuck in _create and
989         produce a buffer before they are set back to PLAYING.
990
991 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
992
993         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
994         (gst_queue_locked_dequeue):
995         Comment the segment-related code... in the PROPER function.
996         See #482147 and my commit from yesterday.
997
998 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
999
1000         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1001         Also initialize the counter that calculates the first timestamp on a
1002         buffer correctly for non-live sources.
1003
1004 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
1005
1006         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
1007         Disable code that's breaking the current-time-level reporting.
1008         See #482147
1009
1010 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
1011
1012         * docs/gst/gstreamer-sections.txt:
1013         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
1014         as they shouldn't show up. Fixes the docs build.
1015
1016 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
1017         
1018         * gst/gstinfo.h:
1019         Add an explicit variable importation needed on VS6 (only for MSC_VER)
1020         Define M_PI which is used in files which are including gstinfo.h. 
1021         VS6 includes doesn't define it.
1022         * win32/common/libgstbase.def:
1023         * win32/common/libgstcontroller.def:
1024         * win32/common/libgstreamer.def:
1025         Add new exported functions and variables.
1026         * win32/vs6/libgstcontroller.dsp:
1027         * win32/vs6/libgstreamer.dsp:
1028         Update the list of files to build.
1029         
1030 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
1031
1032         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1033
1034         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
1035         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
1036         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
1037         Improve debugging. Fixes #480858.
1038
1039 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
1040
1041         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1042
1043         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1044         First patch of code cleanups, use the macros and right arguments in the
1045         macros to signal and lock the queue. See #480858.
1046
1047 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
1048
1049         * gst/gstbus.c: (poll_func):
1050         Improve debugging when dealing with _poll().
1051
1052 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
1053
1054         * gst/gstregistryxml.c:
1055           Fix memory leak I introduced a few days ago.
1056
1057 2007-09-26  Michael Smith <msmith@fluendo.com>
1058
1059         * gst/gstbuffer.c: (gst_buffer_finalize):
1060           Make it once again possible to free GstBuffers in the default
1061           build.
1062           The poisoning scribbles on parts of the miniobject we need in
1063           order to free it.
1064           Fixes #480341
1065
1066 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
1067
1068         * docs/gst/gstreamer-sections.txt:
1069         * gst/gsttaglist.c:
1070         * gst/gsttaglist.h:
1071         API: add GST_TAG_COMPOSER, fixes #459809.
1072
1073 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
1074
1075         * gst/gstplugin.c:
1076         * gst/gstplugin.h:
1077         Add the 3-clause BSD license and the MIT/X11 license to the license
1078         list. Fixes #479784.
1079
1080 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
1081
1082         * docs/faq/getting.xml:
1083           Add Q+A about different GStreamer versions (#364056).
1084
1085 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1086
1087         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1088         (gst_base_sink_event), (gst_base_sink_change_state):
1089         Return correct gboolean from query function.
1090
1091 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1092
1093         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1094         (gst_base_sink_event), (gst_base_sink_query),
1095         (gst_base_sink_change_state):
1096         Simplify latency query.
1097         When not synchronizing, we can report latency without querying the peer
1098         element.
1099
1100 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1101
1102         * gst/gstobject.h:
1103         * gst/gstvalue.c:
1104         Fix small typos in the docs.
1105
1106 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1107
1108         * docs/design/draft-latency.txt:
1109         * docs/design/draft-push-pull.txt:
1110         * docs/design/draft-tagreading.txt:
1111         * docs/design/part-MT-refcounting.txt:
1112         * docs/design/part-activation.txt:
1113         * docs/design/part-block.txt:
1114         * docs/design/part-element-source.txt:
1115         * docs/design/part-events.txt:
1116         * docs/design/part-gstbin.txt:
1117         * docs/design/part-gstelement.txt:
1118         * docs/design/part-gstobject.txt:
1119         * docs/design/part-gstpipeline.txt:
1120         * docs/design/part-messages.txt:
1121         * docs/design/part-preroll.txt:
1122         * docs/design/part-push-pull.txt:
1123         * docs/design/part-qos.txt:
1124         * docs/design/part-query.txt:
1125         * docs/design/part-scheduling.txt:
1126         * docs/design/part-seeking.txt:
1127         * docs/design/part-segments.txt:
1128         * docs/design/part-states.txt:
1129         Documentation updates and typo fixes.
1130
1131 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
1132
1133         * plugins/elements/gstfakesink.c:
1134           Add some debug text to error message to indicate that
1135           we errored out on request.
1136
1137         * tools/gst-launch.c:
1138           When the state change to PLAYING fails, check for an
1139           error message on the bus and print it.
1140
1141 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1142
1143         translated by: Jorge González González <aloriel@gmail.com>
1144
1145         * po/LINGUAS:
1146         * po/es.po:
1147           Added Spanish translation.
1148
1149 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
1150
1151         * plugins/elements/gstqueue.c: (gst_queue_push_one):
1152         Fix printf arguments.
1153
1154 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
1155
1156         * tests/check/generic/states.c:
1157           Improved state change unit test.
1158
1159 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
1160
1161         * gst/gstbin.h:
1162           Move priv to the right place.
1163
1164         * gst/gstsystemclock.c:
1165           Add FIXME: and improve log.
1166
1167         * tests/check/Makefile.am:
1168         * tests/examples/manual/Makefile.am:
1169           Work with all types of registries.
1170
1171 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
1172
1173         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1174         Don't unref the event after pushing it. Fixes #478401.
1175
1176 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1177
1178         * .cvsignore:
1179         * tests/examples/manual/.cvsignore:
1180           Ignore registries in any format.
1181
1182 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
1183
1184         * gst/glib-compat-private.h:
1185           Add compatibility macro for g_intern_string() for
1186           GLib-2.8 (any reason we can't just bump the
1187           requirement to at least 2.10?)
1188
1189         * gst/gstpadtemplate.h:
1190         * gst/gstelementfactory.c:
1191         * gst/gstregistryxml.c:
1192         * gst/gstregistrybinary.c:
1193           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
1194           up the internal code accordingly.  This shouldn't be a problem, since
1195           there is no reason external code could ever assume the string in such
1196           a structure is dynamically allocated unless it did that itself;  the
1197           use of g_strdup() is private to element factories.  The new code also
1198           saves some memory by putting pad template name strings into the GLib
1199           quark table instead of allocating them dynamically.
1200           Declaring this field constant fixes warnings with g++-4.2 when using
1201           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
1202
1203 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1204
1205         * gst/gstelementfactory.c:
1206           Release static caps. Fixes #475723.
1207
1208 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
1209
1210         * gst/gstinfo.c:
1211         * gst/gstinfo.h:
1212           Make some internal API take const gchar * instead of just
1213           gchar * to avoid compiler warnings with g++-4.2.2 when
1214           passing string constants (partially fixes #478092).
1215
1216 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1217
1218         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
1219         A latency query fails when one of the sinks fail.
1220
1221         * gst/gstelement.c: (gst_element_set_base_time):
1222         Improve debugging.
1223
1224 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1225
1226         * gst/gstbin.c: (gst_bin_continue_func):
1227         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1228         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
1229         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
1230
1231         Fix minor compilation warnings shown with Forte.
1232
1233 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1234
1235         * plugins/elements/gstqueue.c: (apply_buffer),
1236         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
1237         Measure queue level based on the diff between head and tail timestamps
1238         even when pushing the first buffer.
1239
1240 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1241
1242         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1243         (gst_base_sink_event), (gst_base_sink_change_state):
1244         Sinks that don't preroll can always be queried for the latency.
1245         Don't post ASYNC start when we are not async.
1246
1247 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1248
1249         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1250         (gst_queue_handle_sink_event), (gst_queue_chain),
1251         (gst_queue_push_one), (gst_queue_handle_src_query),
1252         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
1253         * plugins/elements/gstqueue.h:
1254         When downstream returns UNEXPECTED from pushing a buffer, don't try to
1255         push more buffers but allow pushing of EOS and NEWSEGMENT.
1256         Add some more debug info here and there. Fixes #476514.
1257
1258 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1259
1260         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1261         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
1262         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1263         (gst_base_sink_set_flushing), (gst_base_sink_query),
1264         (gst_base_sink_change_state):
1265         Latency query is allowed after we are prerolled. Introduce a new flag
1266         for this and stop abusing other variables.
1267
1268 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1269
1270         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1271         Push OOB events downstream when we get them in send_event. This allows
1272         the application to insert events in the pipeline.
1273         Add some more comments.
1274
1275 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1276
1277         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
1278         (do_bin_latency), (gst_bin_change_state_func):
1279         * gst/gstpipeline.c: (gst_pipeline_change_state):
1280         Move latency query from GstPipeline to GstBin so that we can also
1281         use it when async-handling is enabled on bins.
1282
1283 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1284
1285         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1286         (gst_base_src_do_sync), (gst_base_src_change_state):
1287         Update docs.
1288         Clean up the timestamping and syncing code for pseudo live sources.
1289
1290 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
1291
1292         Patch by: Steve Fink  <sphink gmail com>
1293
1294         * docs/manual/appendix-checklist.xml:
1295           Mention less -R switch in the section about debug output (#474055).
1296
1297 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1298
1299         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1300         Queue can latency to the pipeline up to the configured max size in time.
1301         Report this fact in the latency query.
1302
1303 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1304
1305         Patch by: Sebastien Moutte <sebastien at moutte dot net>
1306
1307         * libs/gst/controller/gstinterpolation.c:
1308         * libs/gst/controller/gstlfocontrolsource.c:
1309         Use gst_guint64_to_gdouble() when converting from a uint64 or
1310         GstClockTime to double to fix the build on win32. Fixes #474371.
1311
1312 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1313
1314         * gst/gstbuffer.c: (gst_buffer_finalize):
1315         Implement poisoning for GstBuffer if --enable-poisoning is specified.
1316         When finalizing a buffer the complete struct is filled with 0xff,
1317         thus making a use of the buffer after the final unref impossible.
1318
1319 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1320
1321         * tests/check/libs/controller.c: (GST_START_TEST):
1322         Use fail_unless_equals_int(a, b) instead of
1323         fail_unless_equals (a == b) to get better output on failures.
1324
1325 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1326
1327         * tests/check/gst/gsturi.c:
1328           Also check for the other file URI variant on win32.
1329
1330 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1331
1332         * gst/gsturi.c: (gst_uri_get_location):
1333           If there's no hostname, we want to return 'c:/foo/bar.txt'
1334           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
1335
1336         * tests/check/gst/gsturi.c:
1337           Unit test for the above and a few more things.
1338
1339 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1340
1341         * docs/design/part-live-source.txt:
1342         Add docs on how live sources should timestamp.
1343
1344         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1345         Add some more debug info.
1346         For subclasses that are live and like to sync, add aditional startup
1347         latency to sync time and timestamps so that we timstamp according to the
1348         design doc.
1349
1350 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1351
1352         * gst/gstbuffer.c:
1353           Also do a g_type_class_ref() for the subbuffer type in
1354           the init function.
1355
1356 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1357
1358         * docs/gst/gstreamer-sections.txt:
1359         * gst/gstpad.c: (gst_pad_peer_query):
1360         * gst/gstpad.h:
1361         Add function to perform a query on the peer of a pad.
1362         API: gst_pad_peer_query()
1363
1364 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
1365
1366         * tests/check/gst/gstsystemclock.c:
1367           Cleanup the test a little (use gst-logging and not g_message). Improve
1368           test to check if a wait reached the target.
1369
1370 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1371
1372         * docs/libs/gstreamer-libs-sections.txt:
1373           Add new API to docs and fix the build.
1374
1375 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
1376
1377         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1378         (gst_base_src_init), (gst_base_src_set_do_timestamp),
1379         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
1380         (gst_base_src_get_property), (gst_base_src_do_sync):
1381         * libs/gst/base/gstbasesrc.h:
1382         Add property to make the basesrc timestamp buffers based on the current
1383         running time.
1384         API: GstBaseSrc::do-timestamp
1385         API: gst_base_src_set_do_timestamp()
1386         API: gst_base_src_get_do_timestamp()
1387
1388 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
1389
1390         * docs/random/release:
1391           Really make sure translations are up-to-date before
1392           a release (#465010).
1393
1394 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
1395
1396         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1397         Always destroy the timer, also in error cases.
1398
1399 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1400
1401         * docs/manual/highlevel-xml.xml:
1402         Fix XML example code. Fixes #472714.
1403
1404 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1405
1406         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1407         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1408         (gst_base_sink_query):
1409         Protect eos and have_preroll with the OBJECT lock so we don't need to
1410         take the PREROLL lock when querying the latency. Fixes #473846.
1411
1412 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
1413
1414         * gst/gstelement.c:
1415           Give some log-messages a category.
1416
1417 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
1418
1419         * gst/gststructure.c:
1420         (gst_structure_fixate_field_nearest_fraction):
1421         Fix fraction list fixation code. Take the fraction with the smallest
1422         difference with the target instead of the first one in the list.
1423
1424         * tests/check/gst/gststructure.c: (GST_START_TEST),
1425         (gst_structure_suite):
1426         Added test to verify correct fraction list fixation behaviour.
1427
1428 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
1429
1430         * win32/common/libgstreamer.def:
1431           Export gst_bus_add_signal_watch too.
1432
1433 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
1434
1435         * docs/libs/gstreamer-libs-sections.txt:
1436         Add new methods to docs.
1437
1438         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1439         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
1440         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
1441         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
1442         * libs/gst/base/gstbasesink.h:
1443         Add ts-offset property to fine-tune the synchronisation.
1444         API: GstBaseSink::ts-offset property
1445         API: gst_base_sink_set_ts_offset()
1446         API: gst_base_sink_get_ts_offset()
1447
1448 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
1449
1450         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1451         (gst_base_sink_init), (gst_base_sink_set_sync),
1452         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1453         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
1454         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
1455         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
1456         (gst_base_sink_get_property), (gst_base_sink_change_state):
1457         * libs/gst/base/gstbasesink.h:
1458         Add async property to instruct the sink never to inform the parent about
1459         ASYNC state changes, update docs.
1460         Check argument with g_return_* for the public functions.
1461         API: GstBaseSink::async property
1462         API: gst_base_sink_set_async_enabled()
1463         API: gst_base_sink_is_async_enabled()
1464
1465 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
1466
1467         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
1468         Improve debugging.
1469
1470         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1471         (gst_base_src_default_query), (gst_base_src_wait),
1472         (gst_base_src_do_sync), (gst_base_src_change_state):
1473         Rearrange some code so that we can add support for measuring the 
1474         startup latency.
1475
1476 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
1477
1478         * docs/random/ensonic/dynlink.txt:
1479           More thoughs on this.
1480
1481         * plugins/elements/gstcapsfilter.c:
1482           Add bugzilla ticket number to FIXME comment.
1483
1484 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
1485
1486         * docs/design/part-TODO.txt:
1487         * docs/design/part-block.txt:
1488         Update some docs.
1489
1490 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1491
1492         * gst/Makefile.am:
1493           Revert patch which uses $(gst_headers) instead of $^ because it
1494           breaks make dist.
1495
1496 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1497
1498         * tests/check/gst/gstbin.c: (GST_START_TEST):
1499           Fix leaks in the new unit test.
1500
1501 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
1502
1503         * gst/gst.c:
1504           Don't use GST_INFO before the debug system is actually initialised
1505           (shouldn't do any harm, but won't print anything either, so we can
1506           just as well remove it).
1507
1508         * gst/gstinfo.h:
1509           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
1510           compilers that don't support variadic macros (such as MSVC), should
1511           check for debug_level <= __gst_debug_min as well, since that's the
1512           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
1513           inline helper functions. Should improve performance a bit, but also
1514           makes sure uses of GST_INFO et.al are ignored if the debugging
1515           system isn't initialised yet (instead of printing an assertion
1516           failure).
1517
1518 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
1519
1520         patch by: David Nečas <yeti@physics.muni.cz>
1521
1522         * gst/Makefile.am:
1523           Replace some non portable makefile constructs.
1524
1525 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
1526
1527         * common/gtk-doc-plugins.mak:
1528           Grrrrr. Don't remove the types file on make clean.
1529
1530 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
1531
1532         * tools/gst-launch.1.in:
1533         Add colorspace to example pipeline. Fixes #458274.
1534
1535 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
1536
1537         * docs/random/release:
1538           The release manager should run 'make download-po' before making a
1539           release to make sure translations are up-to-date.
1540
1541         * po/LINGUAS:
1542         * po/be.po:
1543         * po/pl.po:
1544         * po/rw.po:
1545           Add some new translations.
1546
1547 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
1548
1549         * tools/gst-launch.c: (event_loop), (main):
1550         Don´t try to do any state management when a live pipeline posts
1551         buffering messages.
1552         Also make the buffering string translatable.
1553
1554 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1555
1556         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
1557         (bin_handle_async_start), (gst_bin_handle_message_func):
1558         Improve debugging.
1559         When adding elements, insert messages into the bus of the newly added
1560         element and make sure the element is the source of the message. This
1561         allows the parent bin to intercept the message and do the
1562         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
1563         messages to the app (which is not allowed).
1564         Update some docs.
1565
1566         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1567         Fix testsuite so that is does not work around messages that should not
1568         have been posted in the first place.
1569
1570 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1571
1572         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
1573         (update_degree), (gst_bin_sort_iterator_next):
1574         Fix annoying bug in the sorted iterator where a sink that is not really
1575         a sink (when it has downstream links) screwed up the iterator.
1576
1577         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1578         Unit test to verify the fix.
1579
1580 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1581
1582         * gst/gstmessage.h:
1583         Add some more docs for the messages.
1584
1585         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1586         (gst_base_sink_query):
1587         Add some more debugging.
1588
1589         * tools/gst-launch.c: (event_loop):
1590         When interrupting, don't try to set pipeline to PAUSED twice.
1591
1592 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1593
1594         
1595         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
1596         (bin_handle_async_start), (gst_bin_handle_message_func):
1597         Move ASYNC_START message posting to where it belongs, similar to
1598         async_done. 
1599         Don't post ASYNC_START when we are in error. 
1600         Post ASYNC_START when we added an async element to a bin.
1601
1602 2007-08-14  Julien MOUTTE  <julien@moutte.net>
1603
1604         * gst/gstindex.c: (gst_index_add_association): Fix index entry
1605         generation from vargs. Fixes #466595.
1606
1607 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1608
1609         * gst/gstbin.c: (gst_bin_element_set_state):
1610         Always change the state of a NO_PREROLL element even if it has ASYNC
1611         elements inside (in case of a bin).
1612
1613         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
1614         Unit test for this case.
1615
1616 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
1617
1618         * libs/gst/check/gstbufferstraw.c:
1619         * libs/gst/check/gstcheck.h:
1620         * libs/gst/controller/gstcontroller.c:
1621         * libs/gst/controller/gstcontrolsource.h:
1622         * libs/gst/controller/gstlfocontrolsource.h:
1623         * plugins/elements/gstcapsfilter.h:
1624         * plugins/elements/gstfdsink.h:
1625         * plugins/elements/gstfdsrc.h:
1626           Add more missing docs.
1627
1628 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1629
1630         * gst/gststructure.c:
1631         Add Since tag to docs.
1632
1633 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1634
1635         * docs/gst/gstreamer-sections.txt:
1636         * gst/gststructure.c: (gst_structure_get_uint):
1637         * gst/gststructure.h:
1638         Add function to get uint from a structure.
1639         API: gst_structure_get_uint()
1640
1641 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1642
1643         * gst/gstcaps.c: (gst_caps_set_simple_valist),
1644         (gst_caps_intersect):
1645         Fix proper check for simple caps.
1646
1647 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
1648
1649         * docs/gst/Makefile.am:
1650         * docs/libs/Makefile.am:
1651           Remove cruft and do some cleanups.
1652
1653         * docs/gst/gstreamer-docs.sgml:
1654         * docs/libs/gstreamer-libs-docs.sgml:
1655           Prepare for comming gtkdoc features (rebase against online docs).
1656
1657 2007-08-10  Michael Smith <msmith@fluendo.com>
1658
1659         * docs/gst/gstreamer-sections.txt:
1660           Add gst_registry_add_path to docs.
1661
1662 2007-08-10  Michael Smith <msmith@fluendo.com>
1663
1664         * gst/gstregistry.h:
1665           Add gst_registry_add_path, which was missing from this header.
1666
1667 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
1668
1669         * libs/gst/controller/gstlfocontrolsource.c:
1670           Printf format fix.
1671
1672 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
1673
1674         * libs/gst/base/gstbasesink.c:
1675           Don't send an async_start message during downwards state change if 
1676           target state is less than READY
1677
1678 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1679
1680         translated by: Gabor Kelemen <kelemeng@gnome.hu>
1681
1682         * po/LINGUAS:
1683         * po/hu.po:
1684           Added Hungarian translation.
1685
1686 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1687
1688         * po/fi.po:
1689         * po/it.po:
1690         * po/nl.po:
1691         * po/sv.po:
1692         * po/uk.po:
1693           Updated translations.
1694
1695 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1696
1697         * libs/gst/controller/Makefile.am:
1698         Dist gstlfocontrolsourceprivate.h
1699
1700 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1701
1702         * docs/libs/gstreamer-libs.types:
1703         Don't register the enum type gst_lfo_waveform_get_type() in the
1704         .types file - only GObject derived types belong.
1705
1706 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1707
1708         Patch by: <arenevier at fdn dot fr>
1709
1710         * gst/gstbuffer.h:
1711         Remove comma from last element in enum to avoid compile errors when
1712         using -pendantic. Fixes #464366.
1713
1714 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1715
1716         * docs/design/part-TODO.txt:
1717         Add some more TODO items
1718
1719         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
1720         Improve debugging.
1721
1722         * gst/gstcaps.c: (gst_caps_intersect):
1723         Optimize trivial intersection case between identical caps pointers.
1724
1725         * gst/gstelement.c: (gst_element_continue_state),
1726         (gst_element_set_state_func):
1727         * gst/gstpad.c:
1728         Fix spelling and grammar mistakes.
1729
1730 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
1731
1732         * po/POTFILES.in:
1733         * po/POTFILES.skip:
1734           Update POTFILES. Fixes #461599.
1735
1736 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1737
1738         * gst/gst.c:
1739         Fix confusing typo in debug output.
1740
1741 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1742
1743         reviewed by: Stefan Kost <ensonic@users.sf.net>
1744
1745         * libs/gst/controller/Makefile.am:
1746         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
1747         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
1748         (gst_lfo_control_source_new),
1749         (gst_lfo_control_source_set_waveform),
1750         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
1751         (gst_lfo_control_source_finalize),
1752         (gst_lfo_control_source_dispose),
1753         (gst_lfo_control_source_set_property),
1754         (gst_lfo_control_source_get_property),
1755         (gst_lfo_control_source_class_init):
1756         * libs/gst/controller/gstlfocontrolsource.h:
1757         * libs/gst/controller/gstlfocontrolsourceprivate.h:
1758         API: Add GstLFOControlSource, a control source that gives values
1759         for specific timestamps based on several periodic waveforms.
1760         Fixes #459717.
1761
1762         * tests/check/libs/controller.c: (GST_START_TEST),
1763         (gst_controller_suite):
1764         * docs/libs/gstreamer-libs-docs.sgml:
1765         * docs/libs/gstreamer-libs-sections.txt:
1766         * docs/libs/gstreamer-libs.types:
1767         Add documentation and unit tests for GstLFOControlSource.
1768
1769 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
1770
1771         * configure.ac:
1772         Back to CVS
1773
1774 === release 0.10.14 ===
1775
1776 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
1777
1778         * configure.ac:
1779           releasing 0.10.14, "Breathing Vacuum"
1780
1781 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
1782
1783         * gst/gstelement.c: (gst_element_class_set_details_simple):
1784         * gst/gstelement.h:
1785           Make strings passed to gst_element_class_set_details_simple()
1786           constant, as they should be (#462752).
1787
1788 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
1789
1790         * gst/gstbin.c: (gst_bin_change_state_func),
1791         (bin_handle_async_done), (gst_bin_handle_message_func):
1792         Don't forget about the fact that some element went ASYNC even after a
1793         resync. This makes us post the ASYNC_DONE message correctly.
1794         Fixes #462558.
1795
1796 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1797
1798         * gst/gstregistry.c: (gst_registry_add_feature):
1799         When replacing an existing feature in the registry, make sure to
1800         continue holding a reference until we've replaced the name string
1801         within our feature hash table. Make sure to use g_hash_table_replace
1802         instead of g_hash_table_insert to ensure the new name string is used
1803         as a key instead of the old one that we're about to free.
1804         Fixes: #462085
1805
1806 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1807
1808         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1809         (gst_plugin_feature_set_name):
1810         Revert patch from #459466 until after the release and we can work
1811         out exactly what the problem is (if any).
1812
1813 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1814
1815         * docs/gst/gstreamer-sections.txt:
1816         * gst/gsttaglist.c:
1817         * gst/gsttaglist.h:
1818           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
1819
1820 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1821
1822         * docs/libs/Makefile.am:
1823         Include our build-prefix libs and includes before the generic ones to
1824         avoid linking against the installed libs when we want the build-tree
1825         ones.
1826
1827 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1828
1829         Patch by: Steve Fink  <sphink gmail com>
1830
1831         * docs/pwg/building-testapp.xml:
1832           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
1833           if people try to build or install the example from the plugin
1834           template against a GStreamer from package using the configure
1835           defaults.
1836
1837 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
1838
1839         Patch by: Steve Fink  <sphink gmail com>
1840
1841         * tools/gst-inspect.1.in:
1842           Document --print-all and --print-plugin-auto-install-info command
1843           line options in man page.
1844
1845 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
1846
1847         * docs/gst/gstreamer-sections.txt:
1848         Add docs for new api function.
1849
1850 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
1851
1852         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
1853         * gst/gstelementfactory.h:
1854         API: gst_element_factory_has_interface()
1855         Added method to check if an element factory implements a named
1856         interface.
1857
1858 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
1859
1860         * configure.ac:
1861         * docs/gst/gstreamer.types.in:
1862           Another conditional doc check.
1863
1864         * gst/gstmessage.c:
1865         * gst/gstparamspecs.h:
1866         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1867         * gst/gstvalue.c:
1868         * gst/gstxml.h:
1869           API-doc fixes.
1870
1871 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1872
1873         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
1874         (gst_registry_binary_load_feature),
1875         (gst_registry_binary_load_plugin),
1876         (gst_registry_binary_read_cache):
1877           Print error just once and with additional info.
1878
1879 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1880
1881         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
1882         (helper_find_suggest), (helper_find_get_length),
1883         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
1884         (gst_type_find_helper_for_buffer):
1885           Cleanup the typefindhelper code and add private doc comments.
1886
1887 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
1888
1889         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1890         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
1891         Fix capsfilter for cases where the caps set on capsfilter will provide
1892         additional information.
1893         Fixes #449197
1894
1895 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1896
1897         * gst/gsttypefindfactory.c:
1898           Fix docs that recommened wrong function to use.
1899
1900 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1901
1902         * tools/gst-inspect.c: (print_plugin_features):
1903           Also give media-type for typefinders in element output.
1904
1905 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1906
1907         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
1908         (gst_registry_remove_features_for_plugin_unlocked),
1909         (gst_registry_add_feature), (gst_registry_remove_feature),
1910         (gst_registry_lookup_feature_locked):
1911         * gst/gstregistry.h:
1912           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
1913           Fixes #459501.
1914
1915 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1916
1917         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1918         (gst_plugin_feature_set_name):
1919           Avoid double memory usage for pluginfeature names. Fixes #459466.
1920
1921 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
1922
1923         * gst/gstpad.h:
1924           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
1925           driving the pipeline may need to explicitly check for NOT_LINKED as
1926           well, since IS_FATAL doesn't cover that.
1927
1928 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
1929
1930         * docs/pwg/advanced-types.xml:
1931           Fix typo and duplicate entry in video formats list.
1932
1933 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
1934
1935         * libs/gst/controller/gstinterpolation.c:
1936         Also round to the nearest int when using cubic interpolation.
1937
1938 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
1939
1940         * libs/gst/controller/gstinterpolation.c:
1941         When linearly interpolating integer types, round to the nearest int
1942         by adding 0.5. Don't do it for float/double types.
1943         Fixes the failing controller test on my machine, which is somehow
1944         rounding differently than on the buildbots.
1945
1946 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1947
1948         * tools/gst-plot-timeline.py:
1949           Better log parsing (categories can have -). Adjust text vs. lines, so
1950           that they span the same y-range.        
1951
1952 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1953
1954         * docs/random/ensonic/audiobaseclasses.txt:
1955         * docs/random/ensonic/dynlink.txt:
1956         * docs/random/ensonic/profiling.txt:
1957           Save my thoughts.
1958
1959         * docs/random/moving-plugins:
1960           Add note to use g_assert type macros.
1961
1962 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1963
1964         * configure.ac:
1965         * libs/gst/check/Makefile.am:
1966           Add libm check as we use in for plugins.
1967
1968 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
1969
1970         * gst/gstbin.c: (gst_bin_continue_func):
1971         Check that the state_cookie hasn't changed since the continue_func
1972         was scheduled. Avoids problems where the state changes back to
1973         something it shouldn't be because it was changed in the meantime.
1974
1975 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
1976
1977         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
1978         (gst_registry_binary_save_string),
1979         (gst_registry_binary_save_pad_template),
1980         (gst_registry_binary_save_feature),
1981         (gst_registry_binary_save_plugin),
1982         (gst_registry_binary_load_feature),
1983         (gst_registry_binary_load_plugin),
1984         (gst_registry_binary_read_cache):
1985           Fix memory leak. Be less verbose in the log.
1986
1987 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1988
1989         * tests/check/elements/.cvsignore:
1990         Add file to cvsignore as commanded.
1991
1992 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1993
1994         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
1995         (mq_dummypad_event), (run_output_order_test):
1996         Use a GStaticMutex to protect all cases where libcheck
1997         fail_if/fail_unless macros might be called from multiple threads
1998         simultaneously to avoid errors like:
1999           "check_pack.c:107: :-1081725400:Bad message type arg"
2000
2001 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2002
2003         * tests/check/pipelines/stress.c: (GST_START_TEST):
2004         Make sure we set the pipeline back to the NULL state before
2005         dropping our final reference.
2006
2007 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2008
2009         * tests/check/elements/tee.c: (GST_START_TEST):
2010         Make the tee stress-test a little less stressful so it doesn't just
2011         time out on slow-machines, and remove a small race when it's starting 
2012         up by adding a get_state() call.
2013
2014 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
2015
2016         * gst/gst.c:
2017           Avoid reading registry twice on startup. Fixes #457322.
2018
2019 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
2020
2021         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2022         * pkgconfig/gstreamer-check.pc.in:
2023         Substitute the CFLAGS for libcheck into our .pc file too so that
2024         dependent modules will pick it up properly if libcheck is installed
2025         into some other prefix.
2026
2027 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
2028
2029         * configure.ac:
2030         Revert the pkg-config check for libcheck, since it pulls in the
2031         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
2032         a proper solution, either from the check project, or something else.
2033
2034 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
2035
2036         * configure.ac:
2037           Use pkg-config to locate check.
2038
2039 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
2040
2041         * gst/gsttaglist.c:
2042           Fix doc syntax.
2043
2044         * gst/gstutils.c:
2045         * gst/gstutils.h:
2046           Add deprecation guards.
2047
2048         * libs/gst/base/gstcollectpads.h:
2049           Don't document object (this is implicitly private).
2050
2051 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
2052
2053         * gst/gststructure.c: (gst_structure_parse_value):
2054           When deserialising foo=bar without a type cast, check if it's a
2055           boolean before falling back to a string type, otherwise things like
2056           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
2057           because the filtercaps end up having a signed=(string)true field,
2058           which causes problems later when intersection caps.
2059
2060         * tests/check/gst/gststructure.c: (GST_START_TEST):
2061           Add a unit test for this.
2062
2063 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
2064
2065         Reviewed by: Stefan Kost <ensonic@users.sf.net>
2066
2067         * libs/gst/controller/Makefile.am:
2068         * libs/gst/controller/gstcontroller.c:
2069         (gst_controlled_property_add_interpolation_control_source),
2070         (gst_controlled_property_new), (gst_controlled_property_free),
2071         (gst_controller_find_controlled_property),
2072         (gst_controller_new_valist), (gst_controller_new_list),
2073         (gst_controller_new), (gst_controller_remove_properties_valist),
2074         (gst_controller_remove_properties_list),
2075         (gst_controller_remove_properties),
2076         (gst_controller_set_property_disabled),
2077         (gst_controller_set_disabled), (gst_controller_set_control_source),
2078         (gst_controller_get_control_source), (gst_controller_get),
2079         (gst_controller_sync_values), (gst_controller_get_value_array),
2080         (_gst_controller_dispose), (gst_controller_get_type),
2081         (gst_controlled_property_set_interpolation_mode),
2082         (gst_controller_set), (gst_controller_set_from_list),
2083         (gst_controller_unset), (gst_controller_unset_all),
2084         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
2085         * libs/gst/controller/gstcontroller.h:
2086         * libs/gst/controller/gstcontrollerprivate.h:
2087         * libs/gst/controller/gstcontrolsource.c:
2088         (gst_control_source_class_init), (gst_control_source_init),
2089         (gst_control_source_get_value),
2090         (gst_control_source_get_value_array), (gst_control_source_bind):
2091         * libs/gst/controller/gstcontrolsource.h:
2092         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
2093         (gst_object_get_control_source):
2094         * libs/gst/controller/gstinterpolation.c:
2095         (gst_interpolation_control_source_find_control_point_node),
2096         (gst_interpolation_control_source_get_first_value),
2097         (_interpolate_none_get), (interpolate_none_get),
2098         (interpolate_none_get_boolean_value_array),
2099         (interpolate_none_get_enum_value_array),
2100         (interpolate_none_get_string_value_array),
2101         (_interpolate_trigger_get), (interpolate_trigger_get),
2102         (interpolate_trigger_get_boolean_value_array),
2103         (interpolate_trigger_get_enum_value_array),
2104         (interpolate_trigger_get_string_value_array):
2105         * libs/gst/controller/gstinterpolationcontrolsource.c:
2106         (gst_control_point_free), (gst_interpolation_control_source_reset),
2107         (gst_interpolation_control_source_new),
2108         (gst_interpolation_control_source_set_interpolation_mode),
2109         (gst_interpolation_control_source_bind),
2110         (gst_control_point_compare), (gst_control_point_find),
2111         (gst_interpolation_control_source_set_internal),
2112         (gst_interpolation_control_source_set),
2113         (gst_interpolation_control_source_set_from_list),
2114         (gst_interpolation_control_source_unset),
2115         (gst_interpolation_control_source_unset_all),
2116         (gst_interpolation_control_source_get_all),
2117         (gst_interpolation_control_source_get_count),
2118         (gst_interpolation_control_source_init),
2119         (gst_interpolation_control_source_finalize),
2120         (gst_interpolation_control_source_dispose),
2121         (gst_interpolation_control_source_class_init):
2122         * libs/gst/controller/gstinterpolationcontrolsource.h:
2123         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2124         API: Refactor GstController into the core controller which can take
2125         a GstControlSource for providing actual values for timestamps.
2126         Implement a interpolation control source and use this for backward
2127         compatibility, deprecate a bunch of functions that are now handled
2128         by GstControlSource or GstInterpolationControlSource.
2129         Make it possible to disable the controller completely or only for
2130         specific properties. Fixes #450711.
2131         * docs/libs/gstreamer-libs-docs.sgml:
2132         * docs/libs/gstreamer-libs-sections.txt:
2133         * docs/libs/gstreamer-libs.types:
2134         Add new functions and classes to the docs.
2135         * tests/check/libs/controller.c: (GST_START_TEST),
2136         (gst_controller_suite):
2137         * tests/examples/controller/audio-example.c: (main):
2138         Port unit test and example to the new API and add some new
2139         unit tests.
2140
2141 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
2142
2143         Patch by: Mark Nauwelaerts <manauw at skynet be>
2144
2145         * plugins/elements/gstmultiqueue.c:
2146         (gst_multi_queue_get_internal_links), (apply_buffer),
2147         (single_queue_overrun_cb), (gst_single_queue_new):
2148         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
2149         the pipeline layout can be tracked correctly. Fixes #453732.
2150
2151 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
2152
2153         * docs/gst/Makefile.am:
2154         * docs/libs/Makefile.am:
2155         * docs/plugins/Makefile.am:
2156           Simplify --extra-dir as gtkdoc scans recursively.
2157
2158 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
2159
2160         * tools/gst-launch.c: (main):
2161         When we got an error, there is no point in waiting for preroll when
2162         shutting down.
2163
2164 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
2165
2166         * plugins/elements/gsttee.c: (gst_tee_base_init),
2167         (gst_tee_request_new_pad), (gst_tee_release_pad),
2168         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
2169         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
2170         (gst_tee_chain):
2171         Be a lot smarter when deciding what srcpad to use for proxying
2172         the buffer_alloc. Also handle pad added/removed when doing so.
2173         Fixes #357959.
2174         Keep track of what pads we already pushed on in case we have pads
2175         added/removed while pushing. Fixes #374639 
2176
2177         * tests/check/Makefile.am:
2178         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
2179         (tee_suite):
2180         Added unit test for pad resync.
2181
2182 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2183
2184         * po/nl.po:
2185         * po/sv.po:
2186           Updated translations.
2187
2188 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2189
2190         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
2191
2192         * po/LINGUAS:
2193         * po/fi.po:
2194           Added new Finnish translation.
2195
2196 2007-06-28  Wim Taymans  <wim@fluendo.com>
2197
2198         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2199         (single_queue_overrun_cb):
2200         When figuring out when a queue is filled, use our internal time estimate
2201         based on segments, just like check_full does.
2202
2203 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2204
2205         * gst/gstminiobject.c: (gst_mini_object_get_type):
2206           Remove 3 do-nothing methods.
2207
2208 2007-06-27  Wim Taymans  <wim@fluendo.com>
2209
2210         Patch by: Tim Angus <tim at ngus dot net>
2211
2212         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2213         (gst_capsfilter_set_property):
2214         Take a reference instead of a copy when setting "caps".
2215         Fix documentation to clarify this behaviour. Fixes #449414.
2216
2217 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2218
2219         * gst/gstindexfactory.c: (gst_index_factory_get_type):
2220         * gst/gstplugin.c: (gst_plugin_init):
2221         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
2222         * gst/gstquery.c: (gst_query_get_type):
2223         * gst/gstregistry.c: (gst_registry_init):
2224         * gst/gsturi.c: (gst_uri_handler_base_init):
2225           Remove empty instance_init() functions to save relocs and lessen the
2226           noise. Remove some of the function prototypes that are doubled by
2227           G_DEFINE_TYPE.
2228           
2229 2007-06-27  Wim Taymans  <wim@fluendo.com>
2230
2231         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
2232
2233         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
2234         Add peer and direction in the XML serialisation of ghostpads.
2235         Fixes #449226.
2236
2237 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2238
2239         * configure.ac:
2240           Preserve useful information, thanks Tim.
2241
2242 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
2243
2244         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2245         (gst_single_queue_flush), (apply_segment), (apply_buffer),
2246         (gst_single_queue_push_one), (gst_multi_queue_loop),
2247         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2248         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
2249         (compute_high_id), (gst_single_queue_new):
2250         * plugins/elements/gstmultiqueue.h:
2251         Take the multiqueue lock when updating the fill level so we don't get
2252         confused. 
2253
2254         After applying a buffer or event on the src pad segment, make sure to
2255         call gst_data_queue_limits_changed() to get the data queue to unblock
2256         and check the filled state again.
2257         
2258         Rework the not-linked pad handling so the logic is that not-linked 
2259         pads can push as fast as they like, but only so they never get 
2260         ahead of any linked pads.
2261
2262         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
2263         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
2264         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
2265
2266         Add a test to check that not-linked pads always stay behind
2267         linked pads.
2268
2269         Fixes: #430682
2270
2271 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
2272
2273         * docs/random/release:
2274           Some updates to the release procedure.
2275
2276 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2277
2278         * gst/gstelementfactory.c: (__gst_element_details_clear):
2279           Microoptimization that saves stunning 80 bytes.
2280
2281 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
2282
2283         * docs/plugins/gstreamer-plugins.args:
2284         * docs/plugins/inspect/plugin-coreelements.xml:
2285         * docs/plugins/inspect/plugin-coreindexers.xml:
2286           Update docs with caps info.
2287
2288 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2289
2290         * po/it.po:
2291           Updated Italian translation.
2292
2293 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2294
2295         * ChangeLog:
2296         * po/vi.po:
2297           Update Vietnamese translations.
2298
2299 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2300
2301         * libs/gst/base/gstbasesink.c:
2302           Remove unused signal enum.
2303
2304 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2305
2306         * docs/gst/gstreamer-sections.txt:
2307         * gst/gstelement.c:
2308         * gst/gstutils.c: (gst_type_register_static_full):
2309         Beef up and include the docs for gst_type_register_static_full and
2310         gst_element_class_set_details_simple and add the API keyword
2311         in the ChangeLog.
2312
2313 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2314
2315         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2316         (update_time_level), (gst_single_queue_push_one),
2317         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
2318         (single_queue_overrun_cb), (single_queue_underrun_cb),
2319         (single_queue_check_full):
2320         Fix setting max-* properties after adding queues.
2321         Use IS_FILLED for checking visible items.
2322         Signal overrun if multiple queues overrun.
2323         Add extra debug output.
2324         Patch by: Wim Taymans <wim@fluendo.com>
2325
2326 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
2327
2328         * gst/gstelement.c: (gst_element_class_set_details_simple):
2329         * gst/gstelement.h:
2330         * gst/gstutils.c: (gst_type_register_static_full):
2331         * gst/gstutils.h:
2332         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
2333         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
2334         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
2335         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
2336         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
2337         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
2338         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
2339         * plugins/elements/gstidentity.c: (gst_identity_base_init):
2340         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
2341         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2342         (apply_buffer), (gst_queue_chain):
2343         * plugins/elements/gsttee.c: (gst_tee_base_init):
2344         * plugins/elements/gsttypefindelement.c:
2345         (gst_type_find_element_base_init),
2346         (gst_type_find_element_class_init):
2347           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
2348           API: add gst_type_register_static_full
2349           API: add gst_element_class_set_details_simple
2350
2351 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2352
2353         * docs/pwg/advanced-types.xml:
2354           Fix typo in iana.org URI.
2355
2356 2007-06-19  Andy Wingo  <wingo@pobox.com>
2357
2358         * tests/check/pipelines/simple-launch-lines.c
2359         (test_state_change_returns): Enable pull-mode tests now that
2360         basesink has been fixed.
2361
2362         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
2363         Changed from gst_base_sink_is_prerolled, reversing the sense of
2364         the return value. Returns FALSE also if the sink is in pull mode,
2365         in which case it needs no preroll.
2366         (gst_base_sink_query, gst_base_sink_change_state): Update for
2367         needs_preroll change.
2368         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
2369         chaining up, in which we return SUCCESS directly if we activated
2370         in pull mode instead of ASYNC. Involves countering an async_start
2371         message sent before chaining up; not sure if this is correct, in
2372         an ideal world we only send async-start when activating in push
2373         mode.
2374
2375         * tests/check/pipelines/simple-launch-lines.c
2376         (test_state_change_returns): New test, partially disabled until
2377         basesink is fixed.
2378
2379 2007-06-19  Wim Taymans  <wim@fluendo.com>
2380
2381         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2382         (gst_multi_queue_sink_event):
2383         Fix event leak.
2384
2385 2007-06-19  Wim Taymans  <wim@fluendo.com>
2386
2387         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2388         (gst_bin_change_state_func), (bin_push_state_continue),
2389         (bin_handle_async_start), (bin_handle_async_done),
2390         (gst_bin_handle_message_func):
2391         Move the common code for posting state-change messages into
2392         one function.
2393         Broadcast the state signal after we posted the messages.
2394         Mark the bin as busy when it's doing a state-change.
2395         Make sure async-start/done messages don't interfere with the bin's
2396         state when it's busy.
2397         After the state change, let the bin check which elements completed the
2398         state change while it was busy so that it can update its state.
2399
2400 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
2401
2402         * docs/random/release:
2403         Add a note about updating the doap file to the release checklist
2404
2405 2007-06-18  Wim Taymans  <wim@fluendo.com>
2406
2407         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2408         (gst_single_queue_push_one), (gst_multi_queue_chain),
2409         (gst_multi_queue_sink_event):
2410         Make sure we don't reference the buffer/event after we have given away
2411         ownership in the queue.
2412
2413 2007-06-18  Wim Taymans  <wim@fluendo.com>
2414
2415         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2416         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
2417         Update queue state _after_ adding the item in the queue because else we
2418         could end up being full without the element added yet.
2419
2420 2007-06-18  Wim Taymans  <wim@fluendo.com>
2421
2422         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2423         (gst_bin_remove_func), (gst_bin_get_state_func),
2424         (gst_bin_element_set_state), (gst_bin_continue_func),
2425         (bin_push_state_continue), (bin_handle_async_start),
2426         (bin_handle_async_done), (gst_bin_handle_message_func):
2427         * gst/gstbin.h:
2428         Immediatly commit the toplevel bin state when receiving an async-done
2429         message. This enables us to avoid spawning a thread to commit the state
2430         in some common cases and it also avoids some races.
2431         Avoid spawning a state thread when adding/removing async elements to a
2432         toplevel bin. Instead we immediatly update the bin state.
2433         Get rid of iterating all the children when getting the state in the bin
2434         because it is now always up-to-date.
2435         Fix bug where locked elements would always return _SUCCESS even it they
2436         returned NO_PREROLL before being locked.
2437         Fix the order of the state_change, async-start/done messages that was
2438         sometimes incorrect.
2439         Mark the state_dirty field as deprecated, we don't need it anymore as we
2440         are always up-to-date.
2441
2442         * gst/gstelement.c: (gst_element_get_state_func),
2443         (gst_element_continue_state):
2444         Small debug inprovements.
2445         Return the previous element state return when nothing is pending instead
2446         of blindly returning SUCCESS.
2447
2448         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
2449         (gst_sinks_suite):
2450         Add a whole bunch of new testcases.
2451
2452 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2453
2454         * po/uk.po:
2455         * po/vi.po:
2456           Update translations.
2457
2458 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
2459
2460         * gst/gstpad.c:
2461         Fix typo in the docs.
2462
2463 2007-06-15  Wim Taymans  <wim@fluendo.com>
2464
2465         * docs/libs/gstreamer-libs-sections.txt:
2466         Add docs for new methods.
2467
2468 2007-06-15  Wim Taymans  <wim@fluendo.com>
2469
2470         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
2471         (gst_multi_queue_item_new):
2472         Don't use GSlice because we don't depend on >= 2.10 yet.
2473
2474 2007-06-15  Wim Taymans  <wim@fluendo.com>
2475
2476         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2477         (update_time_level), (apply_segment), (apply_buffer),
2478         (gst_single_queue_push_one), (gst_multi_queue_item_new),
2479         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
2480         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
2481         (single_queue_underrun_cb), (single_queue_check_full):
2482         Remove debug printf.
2483
2484 2007-06-15  Wim Taymans  <wim@fluendo.com>
2485
2486         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
2487         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
2488         (gst_data_queue_set_flushing), (gst_data_queue_push),
2489         (gst_data_queue_pop), (gst_data_queue_drop_head),
2490         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
2491         * libs/gst/base/gstdataqueue.h:
2492         Various cleanups.
2493         Added methods to get the current levels and to inform the queue that the
2494         'full' limits changed.
2495
2496         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2497         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2498         (gst_single_queue_flush), (update_time_level), (apply_segment),
2499         (apply_buffer), (gst_single_queue_push_one),
2500         (gst_multi_queue_item_steal_object),
2501         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2502         (gst_multi_queue_loop), (gst_multi_queue_chain),
2503         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2504         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
2505         (gst_multi_queue_src_query), (single_queue_overrun_cb),
2506         (single_queue_underrun_cb), (single_queue_check_full),
2507         (gst_single_queue_new):
2508         Keep track of time in the queue by measuring the difference between
2509         running_time on input and output. This gives more accurate results and
2510         can compensate for segments correctly.
2511         Make a queue by default only 5 buffers deep. We will now increase the
2512         buffer size depending on the filledness of the other queues.
2513         Factor out commong flush code.
2514         Make sure we don't add additional refcounts to buffers when we can avoid
2515         it.
2516         Propagate GstFlowReturn differently.
2517         Use GSlice for intermediate GstMultiQueueItems.
2518         Keep track of EOS.
2519         Resize queues on over and underruns based on filled level of other
2520         queues.
2521         When checking if the queue is filled, prefer to measure in time if we
2522         can and fall back to bytes when no time is known.
2523
2524         * plugins/elements/gstqueue.c:
2525         Fix return value.
2526
2527 2007-06-15  Wim Taymans  <wim@fluendo.com>
2528
2529         * libs/gst/base/gstbasetransform.c:
2530         (gst_base_transform_sink_event):
2531         Work around the brokenness of the event vmethod in basetransform. Prefer
2532         to return TRUE when the subclass returned FALSE (meaning don't forward
2533         the event). 
2534
2535         * libs/gst/base/gstbasetransform.h:
2536         Clarify the docs.
2537
2538 2007-06-15  Wim Taymans  <wim@fluendo.com>
2539
2540         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
2541         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2542         (gst_base_src_default_query), (gst_base_src_get_range),
2543         (gst_base_src_start):
2544         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
2545         Improve debugging.
2546
2547 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2548
2549         * docs/pwg/advanced-types.xml:
2550           Added more formats to caps table.
2551
2552 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2553
2554         * tools/gst-launch.c: (main):
2555           Remove crufy code. GOption does not need this workaround.
2556
2557 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2558
2559         * libs/gst/controller/gstcontroller.c:
2560         (gst_controlled_property_set_interpolation_mode):
2561           Fix wrong getter for enums in controller.
2562
2563 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2564
2565         * libs/gst/check/gstcheck.c: (gst_check_init):
2566           Intercept criticals and warnings in the Gst-Phonon log domain, so
2567           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
2568           well.
2569         
2570 2007-06-14  Edward Hervey  <edward@fluendo.com>
2571
2572         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
2573         Since this file doesn't include "gst.h" it will not go through the
2574         macros that disable GST_LOG if debugging was disabled.
2575
2576 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2577
2578         * libs/gst/check/Makefile.am:
2579         * libs/gst/check/gstcheck.h:
2580         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2581         * pkgconfig/gstreamer-check.pc.in:
2582           Ugly 'fix' for the controller unit test on the p5 bot: in
2583           fail_unless_equals_float() check whether the values are 'almost
2584           equal' by allowing a small absolute error, which should be good
2585           enough for our use cases (normal numbers and values close to 0).
2586           Proper fixage left to floating point arithmetic aficionados.
2587
2588 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2589
2590         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
2591         (gst_base_sink_render_object), (gst_base_sink_get_position):
2592           Add two breaks thats where missing.
2593
2594 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2595
2596         * docs/libs/gstreamer-libs-sections.txt:
2597         * libs/gst/check/gstcheck.h:
2598           API: add fail_unless_equals_float() and assert_equals_float().
2599           Add documentation for some of the macros.
2600
2601         * tests/check/libs/controller.c: (GST_START_TEST):
2602           Use newly-added asserts.
2603
2604 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2605
2606         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
2607           Show the caps change in the log to help spotting the case of not
2608           exactly matching caps.
2609
2610 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2611
2612         * docs/pwg/building-boiler.xml:
2613           Fix typos, spotted by Thijs Vermeir (#447190).
2614
2615 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2616
2617         * docs/plugins/tmpl/.cvsignore:
2618         Ignore file to keep the buildbots happy
2619
2620 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2621
2622         * docs/plugins/Makefile.am:
2623         * docs/plugins/gstreamer-plugins-docs.sgml:
2624         * docs/plugins/gstreamer-plugins-sections.txt:
2625         Pull fdsink into the docs too.
2626
2627 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
2628
2629         * libs/gst/controller/gstinterpolation.c:
2630         Actually use the new functions with min/max checks for the trigger and
2631         none interpolation modes for get() and get_value_array() instead of
2632         just the latter.
2633
2634 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
2635
2636         * libs/gst/controller/gstcontroller.c:
2637         (gst_controlled_property_free):
2638         Unset the minimum and maximum GValues when freeing the corresponding
2639         GstControllerProperty struct.
2640
2641 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
2642
2643         * libs/gst/controller/gstcontroller.c:
2644         (gst_controlled_property_new):
2645         * libs/gst/controller/gstcontrollerprivate.h:
2646         * libs/gst/controller/gstinterpolation.c:
2647         (gst_controlled_property_find_control_point_node),
2648         (interpolate_none_get), (interpolate_none_get_enum_value_array),
2649         (interpolate_none_get_string_value_array),
2650         (interpolate_trigger_get),
2651         (interpolate_trigger_get_enum_value_array),
2652         (interpolate_trigger_get_string_value_array):
2653         Protect against values larger or smaller than the minimum or maximum
2654         allowed value for the property when using values that can be compared.
2655
2656         Optimize trigger interpolator a bit by taking the last requested value
2657         into account instead of always looping through the complete list.
2658
2659         Fix coding style a bit, everywhere else we use "return foo" instead
2660         of "return (foo)".
2661         
2662         * tests/check/libs/controller.c: (GST_START_TEST),
2663         (gst_controller_suite):
2664         Add unit test for the protection against too large or too small
2665         values.
2666
2667 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
2668
2669         * docs/random/slomo/controller.txt:
2670         Add some thoughts about the future of the controller.
2671
2672 2007-06-08  Wim Taymans  <wim@fluendo.com>
2673
2674         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2675         Don't overflow in retimestamping code.
2676
2677 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
2678
2679         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
2680         Use gst_util_guint64_to_gdouble for conversions.
2681         * win32/common/libgstreamer.def:
2682         Add new exported functions.
2683
2684 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
2685
2686         * gst/gstutils.c:
2687           Small docs addition.
2688
2689 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2690
2691         * README:
2692           Remove that test line again.
2693
2694 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2695
2696         * README:
2697           Test commit mail sending.
2698
2699 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2700
2701         * configure.ac:
2702           Fix typo and test commit mail sending.
2703
2704 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2705
2706         * tests/examples/controller/audio-example.c:
2707           Improve comment and test commit mail sending.
2708
2709 2007-06-07  Wim Taymans  <wim@fluendo.com>
2710
2711         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
2712         (gst_bin_remove_func), (gst_bin_element_set_state),
2713         (bin_handle_async_start), (bin_handle_async_done),
2714         (gst_bin_handle_message_func):
2715         Add helper function to find messages.
2716         Generate the async-done messages together with the state change
2717         messages.
2718         Small cleanups in handling toplevel bins.
2719
2720 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2721
2722         * libs/gst/base/gstdataqueue.c:
2723         * libs/gst/base/gstdataqueue.h:
2724         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2725         (gst_multi_queue_item_new), (gst_multi_queue_chain),
2726         (gst_multi_queue_sink_event):
2727         * tests/check/elements/multiqueue.c: (multiqueue_suite):
2728           Fix multiqueue leaking buffers and events when downstream or the
2729           queue are flushing. Make refcounting assumptions explicit and
2730           document them (shouldn't break existing code that uses it other than
2731           maybe leak miniobjects, but that already happens anyway). Add unit
2732           test for the most common flushing case. Fixes #423700.
2733           
2734 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2735
2736         * libs/gst/controller/gstcontroller.c:
2737         Clarify docs: The get_all, get_value_array(s) functions
2738         don't modify the GObject properties.
2739
2740 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2741
2742         * libs/gst/controller/gstcontroller.c:
2743         (gst_controlled_property_set_interpolation_mode),
2744         (gst_controlled_property_prepend_default),
2745         (gst_controlled_property_new), (gst_controller_set_unlocked),
2746         (gst_controller_set), (gst_controller_set_from_list),
2747         (gst_controller_unset), (gst_controller_unset_all):
2748         * libs/gst/controller/gstcontrollerprivate.h:
2749         * libs/gst/controller/gstinterpolation.c:
2750         Factor out the 'set' logic into gst_controller_set_unlocked for the
2751         gst_controller_set and gst_controller_set_from_list functions.
2752
2753         To make life of the interpolators easier always add a control point
2754         at timestamp zero with the default value.
2755
2756         In the linear interpolator make things more obvious by better variable
2757         naming (slope).
2758
2759         Implement cubic interpolation mode (by using a natural cubic spline)
2760         and map the quadratic interpolation mode to this too (as quadratic
2761         doesn't make much sense, see discussion on the list).
2762
2763         * tests/check/libs/controller.c: (GST_START_TEST),
2764         (gst_controller_suite):
2765         Add unit test for the cubic interpolation mode and check everywhere
2766         if the interpolation mode could be set as expected.
2767
2768 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2769
2770         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
2771           Don't use GLib-2.10 functions, we still depend on
2772           GLib-how-old-is-it-again-2.8.
2773
2774 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2775
2776         * docs/gst/gstreamer-sections.txt:
2777         * gst/Makefile.am:
2778         * gst/gst.c:
2779         * gst/gst.h:
2780         * gst/gstparamspecs.c: (_gst_param_fraction_init),
2781         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
2782         (_gst_param_fraction_values_cmp),
2783         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
2784         * gst/gstparamspecs.h:
2785         * gst/gstvalue.c:
2786         * tests/check/Makefile.am:
2787         * tests/check/gst/.cvsignore:
2788         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
2789         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
2790         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
2791         (GST_START_TEST), (gst_param_spec_suite):
2792           API: add GstParamSpecFraction, so elements can have fraction
2793           properties without lots of painful string parsing (#444648).
2794
2795 2007-06-05  Wim Taymans  <wim@fluendo.com>
2796
2797         * gst/gstobject.c: (gst_object_class_init):
2798         Fix signal signature.
2799
2800         * gst/gstsegment.c:
2801         Add small clarification in the api docs.
2802
2803         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
2804         States are protected with object lock.
2805
2806 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2807
2808         * AUTHORS:
2809         I should probably be listed as an author by now.
2810
2811         * docs/random/release:
2812         Update the release doc
2813
2814 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
2815
2816         * gst/gstvalue.c:
2817           Make docs for gst_value_compare() mention return enums that
2818           actually exist.
2819
2820 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2821
2822         * configure.ac:
2823           Back to CVS
2824
2825 === release 0.10.13 ===
2826
2827 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
2828
2829         * configure.ac:
2830           releasing 0.10.13, "With or without you"
2831
2832 2007-05-25  Wim Taymans  <wim@fluendo.com>
2833
2834         * gst/gstbin.c: (bin_handle_async_done):
2835         Make sure that the child bin stops after completing the async state
2836         change so that the parent can continue the state change to PLAYING.
2837         Fixes #441159.
2838
2839 2007-05-25  Wim Taymans  <wim@fluendo.com>
2840
2841         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2842         (unref_data), (gst_collect_pads_remove_pad),
2843         (gst_collect_pads_check_pads):
2844         Use additional refcounting to avoid crashes when dynamically adding and
2845         removing pads. Fixes #420206.
2846
2847 2007-05-24  Wim Taymans  <wim@fluendo.com>
2848
2849         * tools/gst-launch.c: (event_loop):
2850         When buffering goes from a two digit to a single digit number, make sure
2851         to remove the old second digit by writing a blank over it.
2852
2853 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2854
2855         * libs/gst/base/gstdataqueue.c:
2856           Eliminate tabs and trailing comma in enum list; fix some typos.
2857
2858 2007-05-24  Wim Taymans  <wim@fluendo.com>
2859
2860         * tests/check/gst/gstbin.c: (GST_START_TEST):
2861         Allow refcount of 3 and 4 because some state thread might still be busy
2862         with it.
2863
2864 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2865
2866         * plugins/elements/Makefile.am:
2867         * plugins/elements/gstmultiqueue.h:
2868         * plugins/elements/gstqueue.h:
2869           These are not installed headers, no need for padding.
2870
2871 2007-05-24  Wim Taymans  <wim@fluendo.com>
2872
2873         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2874         (gst_bin_continue_func):
2875         Enable latency for next release.
2876         Restore STATE_LOCK around recalc_state that was left out during the
2877         rewrite and could result in racy behaviour when _get_state and
2878         recalc_state are run concurrently. See #440463.
2879
2880 2007-05-23  Wim Taymans  <wim@fluendo.com>
2881
2882         * tests/check/gst/gstsystemclock.c: (store_callback),
2883         (GST_START_TEST):
2884         Improve test_async_order to also work when both timers are already
2885         expired when we get scheduled to check it.
2886
2887 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2888
2889         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
2890         (gst_bin_set_property), (gst_bin_get_property),
2891         (gst_bin_remove_func), (gst_bin_handle_message_func):
2892         * gst/gstbin.h:
2893           'private' is a c++ keyword, let's not use that in header files,
2894           otherwise c++ compilers will throw a tantrum.
2895
2896 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2897
2898         * plugins/elements/gstelements.c:
2899         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
2900         (gst_file_sink_get_current_offset):
2901         * plugins/indexers/gstindexers.c: (plugin_init):
2902           Use #ifdef for HAVE_XYZ for consistency.
2903
2904         * tests/check/Makefile.am:
2905         * tests/check/elements/.cvsignore:
2906         * tests/check/elements/filesink.c: (setup_filesink),
2907         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
2908           Add some unit tests for filesink.
2909
2910 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2911
2912         Patch by: Mark Nauwelaerts <manauw at skynet be>
2913
2914         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2915         (gst_file_sink_query), (gst_file_sink_do_seek),
2916         (gst_file_sink_get_current_offset), (gst_file_sink_render):
2917         * plugins/elements/gstfilesink.h:
2918           Fix position reporting; rename data_written member to current_pos to
2919           reflect its real meaning (fixes #412648).
2920
2921 2007-05-22  Edward Hervey  <edward@fluendo.com>
2922
2923         * docs/gst/gstreamer-sections.txt:
2924         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2925         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
2926         (gst_bin_remove_func), (gst_bin_handle_message_func):
2927         * gst/gstbin.h:
2928         Add a property for bins that handle the state change of their childs.
2929         Fixes #435880
2930
2931 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2932
2933         * libs/gst/controller/gstinterpolation.c:
2934         Use an array of the correct type when using _get_value_array with
2935         linear interpolation.
2936
2937 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
2938
2939         * gst/gstelement.c (gst_element_requires_clock,
2940           gst_element_provides_clock, gst_element_request_pad,
2941           gst_element_class_set_details, gst_element_class_set_details_simple,
2942           gst_element_default_send_event, gst_element_abort_state,
2943           gst_element_continue_state, gst_element_set_state,
2944           gst_element_set_state_func, iterator_activate_fold_with_resync):
2945         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
2946           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
2947           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
2948           gst_pad_get_range, gst_pad_pull_range):
2949         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
2950           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
2951           GstPadActivateModeFunction, GstPadChainFunction,
2952           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
2953           GstPadFixateCapsFunction, GstPadTemplate):
2954         * gst/gstpipeline.c (gst_pipeline_change_state,
2955           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
2956           gst_pipeline_set_clock, gst_pipeline_auto_clock,
2957           gst_pipeline_get_delay):
2958           Whitespace and docs fixes.
2959
2960 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2961
2962         * libs/gst/controller/gstinterpolation.c:
2963         (interpolate_trigger_get_enum_value_array),
2964         (interpolate_trigger_get_string_value_array):
2965         Add support for retrieving value arrays when using the trigger
2966         interpolation mode. 
2967
2968 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2969
2970         * libs/gst/controller/gstcontroller.c:
2971         (gst_controller_get_value_array):
2972         * libs/gst/controller/gstcontroller.h:
2973         Clarify the docs of gst_controller_get_value_array(): The array where
2974         the values should be written to must be allocated as there seems to be
2975         no way to get the size of a random GType. This doesn't change any
2976         behaviour. Also fix some typos all over the place and remove an unused,
2977         commented function that is not necessary as g_object_set() could be
2978         used instead.
2979         * tests/check/libs/controller.c: (GST_START_TEST),
2980         (gst_controller_suite):
2981         Add unit test for gst_controller_get_value_array().
2982
2983 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
2984
2985         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2986
2987         Disable part of the gst_buffer_try_new_and_alloc test, because
2988         it can happily succeed on 64-bit systems where there's more address
2989         space available.
2990
2991 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2992
2993         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2994         Add unit test for the improved caps checking from bug #421543.
2995
2996 2007-05-21  Wim Taymans  <wim@fluendo.com>
2997
2998         * docs/design/part-synchronisation.txt:
2999         Small addition.
3000
3001         * gst/gstbin.c: (gst_bin_query):
3002         * plugins/elements/gstqueue.c: (apply_segment):
3003         Improve debugging.
3004
3005         * gst/gstmessage.h:
3006         Improve docs.
3007
3008 2007-05-21  Wim Taymans  <wim@fluendo.com>
3009
3010         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
3011         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
3012         (gst_pad_configure_src):
3013         Added simple version of improved caps checking. It was previously
3014         assumed that a setcaps function would check the validity of the caps but
3015         people prefer us to check caps against the template automatically. 
3016         Fixes #421543.
3017
3018 2007-05-21  Wim Taymans  <wim@fluendo.com>
3019
3020         * libs/gst/base/gstbasetransform.h:
3021         Fix macro for locking/unlocking the transform lock.
3022
3023 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
3024
3025         * docs/plugins/tmpl/.cvsignore:
3026           Ignore more.
3027
3028 2007-05-18  Edward Hervey  <edward@fluendo.com>
3029
3030         * plugins/elements/gstqueue.c: (gst_queue_loop):
3031         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
3032         for the subtle art of warning a potentially blocking thread that it
3033         should check the source pad return value, and relay the information
3034         upstream.
3035
3036 2007-05-18  Edward Hervey  <edward@fluendo.com>
3037
3038         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3039         Release the queue lock !
3040
3041 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3042
3043         * docs/libs/gstreamer-libs-sections.txt:
3044         Add the two new controller functions to the appropiate places.
3045
3046 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3047
3048         reviewed by: Stefan Kost <ensonic@users.sf.net>
3049
3050         * libs/gst/controller/gstcontroller.c:
3051         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
3052         (_gst_controller_get_property), (_gst_controller_set_property),
3053         (_gst_controller_init), (_gst_controller_class_init):
3054         * libs/gst/controller/gstcontroller.h:
3055         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
3056         (gst_object_get_control_rate), (gst_object_set_control_rate):
3057         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
3058         Add API that provides sync suggestion timestamps for elements that
3059         call gst_object_sync_values() from which those elements can subdivide
3060         their processing loop to get the best results for the controlled
3061         properties. For now it just suggests last_sync + control_rate as
3062         new timestamp but this will be improved in the future.
3063
3064         While doing that change the control-rate property to a GstClockTime
3065         from guint and change it's meaning from samples to nanoseconds as
3066         the GstController doesn't know anything about sampling rate. Strictly
3067         speaking this breaks ABI but as the control-rate property didn't do
3068         anything in the past and as such couldn't be used this should be no
3069         problem.        
3070
3071 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3072
3073         reviewed by: Stefan Kost <ensonic@users.sf.net>
3074
3075         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3076         (gst_controller_unset_all):
3077         * libs/gst/controller/gstcontrollerprivate.h:
3078         * libs/gst/controller/gstinterpolation.c:
3079         (gst_controlled_property_find_control_point_node):
3080         Save last synced value from the list to continue searching from there
3081         in future syncs. This speeds everything up a bit.
3082         
3083 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3084
3085         reviewed by: Stefan Kost <ensonic@users.sf.net>
3086
3087         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
3088         (gst_control_point_find), (gst_controlled_property_new),
3089         (gst_control_point_free), (gst_controlled_property_free),
3090         (gst_controller_set), (gst_controller_set_from_list),
3091         (gst_controller_unset), (gst_controller_unset_all),
3092         (gst_controller_sync_values):
3093         * libs/gst/controller/gstcontroller.h:
3094         * libs/gst/controller/gstcontrollerprivate.h:
3095         * libs/gst/controller/gstinterpolation.c:
3096         (gst_controlled_property_find_control_point_node),
3097         (interpolate_none_get), (interpolate_trigger_get):
3098         Add a new private GstControlPoint struct which "inherits" from
3099         GstTimedValue to allow different interpolators to store internal
3100         values next to each control point. From the outside everything is
3101         still a GstControlPoint so we don't loose binary compatibility.
3102         Also fixup all the GValue handling to not leak GValues or list nodes.
3103         * tests/check/libs/controller.c: (GST_START_TEST):
3104         Free the list nodes and GValues in the controller_misc test.
3105
3106 2007-05-17  Edward Hervey  <edward@fluendo.com>
3107
3108         * gst/gstsegment.c:
3109         Small doc fix.
3110
3111 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
3112
3113         * gst/gstplugin.c: (gst_plugin_load_file):
3114           If we fail to load a plugin because of unresolved symbols or missing
3115           libraries and spew a warning to stderr, we may just as well mention
3116           which plugin it was that failed to load.
3117
3118 2007-05-13  David Schleef  <ds@schleef.org>
3119
3120         * docs/Makefile.am: the gtk-doc makefile snippet correctly
3121           handles the case when ENABLE_GTK_DOC is false, and installs
3122           the prebuilt documentation.  So gtk-doc subdirs are 
3123           unconditionally enabled.  Fixes: #349099.
3124
3125 2007-05-13  David Schleef  <ds@schleef.org>
3126
3127         * gst/gstutils.h: Reword some documentation.
3128
3129 2007-05-12  David Schleef  <ds@schleef.org>
3130
3131         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
3132           do anything with the passed "module" parameter, so remove it.
3133           Allows removal of additional vestigal code.
3134
3135 2007-05-12  David Schleef  <ds@schleef.org>
3136
3137         * gst/gstplugin.c:
3138           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
3139           Switch to using g_stat() because it's more portable.
3140
3141 2007-05-12  David Schleef  <ds@schleef.org>
3142
3143         * gst/gst.c:
3144           Add GST_DISABLE_OPTION_PARSING, in order to disable option
3145           parsing for embedded systems.
3146         * gst/gstelementfactory.c:
3147           Allow gst_element_register() to be called with plugin==NULL.
3148           Did nobody notice that static elements were broken?
3149
3150 2007-05-12  Wim Taymans  <wim@fluendo.com>
3151
3152         * tools/gst-launch.c: (event_loop):
3153         Give more interesting info when buffering starts and stops.
3154         Fix case where buffering starts but we fail to update the buffering flag
3155         because the target state is not PLAYING.
3156
3157 2007-05-12  Wim Taymans  <wim@fluendo.com>
3158
3159         * plugins/elements/gstqueue.c: (gst_queue_init),
3160         (gst_queue_finalize), (update_time_level), (apply_segment),
3161         (apply_buffer), (gst_queue_locked_flush),
3162         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
3163         (gst_queue_handle_sink_event), (gst_queue_chain),
3164         (gst_queue_push_one), (gst_queue_loop):
3165         * plugins/elements/gstqueue.h:
3166         Refactor an cleanup queue a bit.
3167         Do better time level calculations that also work when the srcpad is not
3168         yet running.
3169         Remove some unneeded debug lines.
3170
3171         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
3172         Added testcase for time level measurement.
3173         Try to make some stuff more racefree.
3174
3175 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
3176
3177         * gst/gsturi.c: (gst_element_make_from_uri):
3178           Don't leak plugin feature.
3179
3180         * tests/check/Makefile.am:
3181         * tests/check/gst/.cvsignore:
3182         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
3183           Add brain-dead unit test.
3184
3185 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
3186
3187         Patch by: Jeroen Wouters <woutersj at gmail com>
3188
3189         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
3190           Treat protocol strings in a case-insensitive way (#437563).
3191
3192 2007-05-11  Michael Smith <msmith@fluendo.com>
3193
3194         * gst/gstplugin.c: (gst_plugin_load_file):
3195         * gst/gstregistry.c: (gst_registry_scan_path_level):
3196           Don't print a g_warning for any failure to load a shared object.
3197           Instead, push this down into gstplugin.c, and warn _only_ if we
3198           failed to open the module (i.e. failure to link).
3199           Avoids warnings on normal, working, non-plugin .so files.
3200
3201 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
3202
3203         * gst/gstplugin.c (gst_plugin_load_file):
3204         * gst/gstregistry.c (GST_CAT_DEFAULT,
3205           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
3206           Print a g_warning if there was an error when loading a plugins during
3207           registry scan. The shuld help beginners starting with gst-plugin
3208           template.
3209
3210 2007-05-10  Wim Taymans  <wim@fluendo.com>
3211
3212         * plugins/elements/gstqueue.c: (gst_queue_class_init),
3213         (update_time_level), (gst_queue_locked_flush),
3214         (gst_queue_handle_sink_event), (gst_queue_chain),
3215         (gst_queue_push_one), (gst_queue_loop):
3216         * plugins/elements/gstqueue.h:
3217         Be smarter when calculating the current amount of data in the queue by
3218         measuring the difference between start and end timestamps (in running
3219         time) inside the queue. Fixes #432876.
3220         API: GstQueue::pushing to notify elements that we are pushing data again
3221         since the running signal is rather broken for this purpose.
3222
3223 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
3224
3225         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
3226           gst_queue_base_init, gst_queue_init):
3227           use GST_BOILERPLATE
3228
3229 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
3230
3231         * win32/common/libgstreamer.def:
3232         Add new exported functions.
3233         * win32/vs6/grammar.dsp:
3234         Use grammar pre-generated files.
3235
3236 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3237
3238         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
3239
3240         * gst/Makefile.am:
3241         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
3242         * gst/gstparse.h:
3243         * gst/gstutils.c: (gst_parse_bin_from_description):
3244         * gst/gstutils.h:
3245           Maintain API and ABI when --disable-parse is used. Now that
3246           we have an appropriate error code, we can just return NULL and the
3247           appropriate error when gst_parse_launch() is used despite it having
3248           been disabled (#342564).
3249
3250         * tests/check/Makefile.am:
3251         * tests/check/pipelines/.cvsignore:
3252         * tests/check/pipelines/parse-disabled.c:
3253           Make sure these functions exist and return NULL plus a GError when
3254           --disable-parse is used.
3255
3256 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3257
3258         * tests/benchmarks/complexity.c: (main):
3259         * tests/benchmarks/mass-elements.c: (main):
3260           Set a good example and don't leak messages.
3261
3262 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
3263
3264         * docs/gst/Makefile.am:
3265         * docs/libs/Makefile.am:
3266           Correct fixxrefs options.
3267
3268         * docs/plugins/Makefile.am:
3269         * docs/plugins/gstreamer-plugins-docs.sgml:
3270         * docs/plugins/gstreamer-plugins-sections.txt:
3271         * plugins/elements/Makefile.am:
3272         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
3273         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
3274           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
3275           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
3276           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
3277           _GstCapsFilterClass, trans_class):
3278         * plugins/elements/gstelements.c (name, rank, type, _elements):
3279         * plugins/elements/gstidentity.c
3280           (gst_identity_check_imperfect_timestamp,
3281           gst_identity_check_imperfect_offset):
3282           Document capsfilter and add doc-blurb to identity.
3283
3284 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3285
3286         * libs/gst/controller/gstcontroller.c:
3287         (gst_controlled_property_set_interpolation_mode):
3288         * libs/gst/controller/gstinterpolation.c:
3289           Don't crash if someone tries to set an interpolation mode that
3290           is invalid or that isn't supported yet. Fixes #422295.
3291
3292         * tests/check/libs/controller.c: (GST_START_TEST),
3293         (gst_controller_suite):
3294           Add a test case for the above.
3295
3296 2007-05-03  Edward Hervey  <edward@fluendo.com>
3297
3298         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3299         Properly set the last_stop position on GstSegment. This will only happen
3300         if there is a buffer to push out.
3301
3302 2007-05-03  Wim Taymans  <wim@fluendo.com>
3303
3304         * libs/gst/base/gstbasetransform.c:
3305         (gst_base_transform_buffer_alloc):
3306         always_in_place does not mean that the sink and source caps are the
3307         same! Make sure we don't blindly proxy the buffer_alloc in this case.
3308
3309 2007-05-03  Wim Taymans  <wim@fluendo.com>
3310
3311         * docs/libs/gstreamer-libs-sections.txt:
3312         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3313         (gst_base_src_default_query), (gst_base_src_get_range):
3314         * libs/gst/base/gstbasesrc.h:
3315         API: gst_base_src_query_latency(). Added method so that subclasses can
3316         easily get the latency values of the base source class.
3317
3318 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
3319
3320         * tools/gst-inspect.c (print_implementation_info):
3321         Remove 0.8 cruft.
3322
3323 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
3324
3325         * tools/Makefile.am:
3326         * tools/gst-launch.1.in:
3327           Don't create a customised man page based on the host architecture,
3328           describe the default registry path generically. That way the man
3329           page is the same for all architectures and packagers have one
3330           multilib issue less to deal with. Fixes #434926.
3331
3332 2007-05-02  Wim Taymans  <wim@fluendo.com>
3333
3334         * gst/gstpad.c:
3335         Fix documentation as spotted by rg on IRC. 
3336
3337 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
3338
3339         * gst/gstutils.c:
3340           Improve docs for gst_element_{link,unlink}.
3341
3342 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
3343
3344         * docs/design/part-events.txt:
3345         * docs/design/part-overview.txt:
3346         * gst/gstevent.c:
3347         * gst/gsturi.c:
3348         * gst/gsturi.h:
3349         * libs/gst/base/gstbasesink.c:
3350           Typo fixes; minor docs addition.
3351
3352 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3353
3354         * docs/gst/gstreamer-sections.txt:
3355         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
3356         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
3357         * gst/gsturi.h:
3358         API: Add gst_uri_protocol_is_supported(), which checks if a sink
3359         or src that supports a given URI protocol exists.
3360
3361 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3362
3363         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3364         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3365         Set the location to NULL if "file://" is set as URI. Otherwise
3366         some random previous URI would still be set if "file://" is
3367         set on an already used filesink/filesrc.
3368
3369 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3370
3371         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3372         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3373         Special case the "file://" URI as as this is used by some
3374         applications to test with gst_element_make_from_uri if there's
3375         an element that supports the URI protocol.
3376         Also move the g_path_is_absolute() check for the location part
3377         of the URI to also check this for "file://localhost/bla" URIs.
3378
3379 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
3380
3381         * docs/gst/gstreamer-sections.txt:
3382         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
3383         * gst/gstbuffer.h:
3384         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
3385         (gst_buffer_suite):
3386           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
3387
3388 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
3389
3390         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3391         (gst_registry_binary_load_pad_template),
3392         (gst_registry_binary_load_plugin),
3393         (gst_registry_binary_read_cache):
3394         * gst/gstregistrybinary.h:
3395           Implement no-mmap alternative for registry reading. Do code cleanups.
3396           Add more comments about avoiding strdups for all text data. Comments
3397           welcome.
3398
3399 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3400
3401         * gst/gstregistrybinary.h (GstBinaryPluginElement,
3402           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
3403           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
3404           Comment structs and reformat to fix the build (that stuff should go
3405           into a priv. header).
3406
3407 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3408
3409         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3410         (gst_registry_binary_load_feature):
3411         * gst/gstregistrybinary.h:
3412           Refactor so that we can implement multiple features. Add support for
3413           TypeFindFactory features.
3414
3415 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
3416
3417         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
3418
3419         * configure.ac:
3420           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
3421
3422 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
3423
3424         * gst/gstbin.c: (gst_bin_element_set_state),
3425         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
3426         (bin_handle_async_done), (gst_bin_handle_message_func):
3427           Fix build with --gst-disable-gst-debug
3428
3429 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3430
3431         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
3432           Make sure streaming has finished before calling the ::stop() vfunc,
3433           since that vfunc might clear state which is being used in the
3434           streaming thread. This fixes a race that caused crashes in
3435           audioresample when shutting down a pipeline (#420106).
3436
3437 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3438
3439         * docs/gst/gstreamer-sections.txt:
3440           That was one byte missing.
3441
3442 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3443
3444         * configure.ac:
3445         * docs/gst/gstreamer-sections.txt:
3446         * gst/Makefile.am:
3447         * gst/gstconfig.h.in:
3448         * gst/gstobject.c: (gst_object_class_init),
3449         (gst_signal_object_class_init):
3450         * gst/gstobject.h:
3451           2nd attempt to have a xml-less build as a joined effort of #413123
3452           and #421480.
3453
3454 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3455
3456         * docs/design/draft-tagreading.txt:
3457           Added open issues/thoughts to draft.
3458
3459 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3460
3461         * gst/parse/grammar.tab.pre.c:
3462         * gst/parse/grammar.tab.pre.h:
3463         * gst/parse/lex._gst_parse_yy.pre.c:
3464         Update the prebuild parser sources.
3465
3466 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3467
3468         * gst/parse/Makefile.am:
3469         And now fix the building of the flex sources. Now everything should
3470         work as expected.
3471
3472 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3473
3474         * gst/parse/Makefile.am:
3475         Now hopefully fix the build failures by setting proper rule
3476         dependencies and moving instead of copying.
3477
3478 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3479
3480         * tests/benchmarks/complexity.gnuplot:
3481         * tests/benchmarks/complexity.scm:
3482         * tests/benchmarks/mass-elements.gnuplot:
3483         * tests/benchmarks/mass-elements.scm:
3484           Total licensification.
3485
3486 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3487
3488         * gst/parse/Makefile.am:
3489           Fix the build by correcting the rule that gave wrong files to flex.
3490
3491 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3492
3493         * tests/benchmarks/complexity.c:
3494         * tests/benchmarks/mass-elements.c:
3495           Change licence to LGPL as granted by Benjamin and Andy.
3496
3497 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3498
3499         * gst/parse/Makefile.am:
3500         Add correct grammar.tab.h dependency if compiling without new enough
3501         flex. Fixes #431150.
3502
3503 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3504
3505         * gst/parse/Makefile.am:
3506         Fix typo and use outdated sources if the flex/bison sources are newer
3507         than the pregenerated ones but flex is too old. Print a warning in
3508         that case. This should fix the build on the build bot.
3509
3510 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3511
3512         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
3513         * gst/parse/Makefile.am:
3514         * gst/parse/grammar.y:
3515         * gst/parse/parse.l:
3516         Make the parser reentrant and recursively callable. This requires flex
3517         >= 2.5.31, for older versions pregenerated sources are used as we
3518         can't bump the build dependency. Finally fixes #349180.
3519
3520         * gst/gstparse.c: (gst_parse_launch):
3521         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
3522         now anyway.
3523
3524         * docs/gst/Makefile.am:
3525         * docs/gst/Makefile.am:
3526         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
3527         (__gst_parse_strfree), (__gst_parse_link_new),
3528         (__gst_parse_link_free), (__gst_parse_chain_new),
3529         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
3530         (gst_parse_element_set), (gst_parse_free_link),
3531         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
3532         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
3533         (_gst_parse_launch):
3534         * gst/parse/grammar.tab.pre.h:
3535         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
3536         (yy_get_previous_state), (yy_try_NUL_trans), (input),
3537         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
3538         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
3539         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
3540         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
3541         (_gst_parse_yypop_buffer_state),
3542         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
3543         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
3544         (yy_fatal_error), (_gst_parse_yyget_extra),
3545         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
3546         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
3547         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
3548         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
3549         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
3550         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
3551         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
3552         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
3553         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
3554         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
3555         (_gst_parse_yyfree):
3556         If the installed flex version is too old use pre-generated parser
3557         sources. These pre-generated parser sources are always updated when
3558         the actual flex/bison sources change but require everybody who wants
3559         to change something in the parser to have flex >= 2.5.31 installed.
3560
3561 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
3562
3563         * common/m4/gst-gettext.m4:
3564         * gst/gst-i18n-lib.h:
3565           Make --disable-nls to work
3566
3567 2007-04-17  Wim Taymans  <wim@fluendo.com>
3568
3569         * gst/gstconfig.h.in:
3570         Revert previous change that broke the build.
3571
3572 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
3573
3574         * configure.ac:
3575         * gst/Makefile.am:
3576         * gst/gstconfig.h.in:
3577           Drop libxml2 dependency when building with 
3578           --enable-binary-registry --disable-loadsave
3579
3580 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
3581
3582         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3583         (gst_registry_binary_read_cache):
3584         * gst/gstregistrybinary.h:
3585           Remove unnecessary <sys/mman.h> include which broke the win32 build
3586           with MingW; move includes from header file to .c file, even if the
3587           header file isn't installed; use g_strerror() where UTF-8 strings
3588           are expected, such as in GST_DEBUG messages.
3589
3590 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3591
3592         * docs/libs/gstreamer-libs-sections.txt:
3593         Remove bogus addition for API I didn't end up keeping.
3594
3595         * libs/gst/base/gstbasesrc.h:
3596         Mention Since: 0.10.13 in the documentation.
3597
3598         Add the API keyword to the previous ChangeLog entry.
3599
3600 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3601
3602         * docs/libs/gstreamer-libs-sections.txt:
3603         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3604         (gst_base_src_default_prepare_seek_segment),
3605         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
3606         * libs/gst/base/gstbasesrc.h:
3607         Allow basesrc derived classes to execute seeks in other formats
3608         by providing a prepare_seek_segment vmethod. Sub-classes can choose
3609         to prepare the GstSegment in any format that their perform_seek method
3610         will be able to understand. The default implementation provides the
3611         old behaviour of attempting to convert the seek offsets to the 
3612         configured native format.
3613
3614         API: basesrc::prepare_seek_segment vmethod.
3615
3616 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3617
3618         * gst/gstelement.c: (gst_element_get_state_func):
3619         Don't output the same debug statement twice.
3620
3621         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
3622         (gst_adapter_peek), (gst_adapter_take_buffer):
3623         Optimise the case where we have buffers at the head of the queue that
3624         can be joined quickly (because they're contiguous sub-buffers) by
3625         merging them together rather than copying data out into new memory.
3626
3627         * gst/parse/grammar.y:
3628         * tests/check/pipelines/parse-launch.c:
3629         Fix a leak in an error path for parse_launch, and add a check 
3630         for it to the testsuite.
3631
3632 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3633
3634         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3635           Don't deadlock when releasing a pad - gst_pad_set_active may try
3636           and take the multiqueue lock too.
3637
3638 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3639
3640         * gst/gsterror.c: (_gst_core_errors_init):
3641         * gst/gsterror.h:
3642           API: add GST_CORE_ERROR_DISABLED (#392804).
3643
3644 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3645
3646         * docs/faq/gst-uninstalled:
3647           don't get empty paths on the PATH variables
3648         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
3649           Don't format for the uncommon terminal width of 84 characters.
3650
3651 2007-04-06  Wim Taymans  <wim@fluendo.com>
3652
3653         * gst/gstpipeline.c: (reset_stream_time),
3654         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
3655         Only try to select a different pipeline clock when we went back to
3656         PAUSED and not when we merely got flushed.
3657
3658 2007-04-05  Michael Smith  <msmith@fluendo.com>
3659
3660         * tools/gst-launch.1.in:
3661           fractions are better supported in gstreamer than ractions, so
3662           suggest using those.
3663
3664 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3665
3666         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
3667
3668         * po/LINGUAS:
3669         * po/da.po:
3670           Added Danish translation.
3671
3672 2007-04-05  Wim Taymans  <wim@fluendo.com>
3673
3674         * libs/gst/base/gstbasesink.c:
3675         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
3676         Fix leak caused when refusing newsegment after EOS.
3677
3678         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3679         (gst_fake_sink_init), (gst_fake_sink_set_property),
3680         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
3681         (gst_fake_sink_render), (gst_fake_sink_change_state):
3682         * plugins/elements/gstfakesink.h:
3683         Add num-buffers property to make the element generate EOS after a
3684         configurable amount of buffers.
3685         API: fakesink::num-buffers property.
3686
3687         * tests/check/elements/fakesink.c: (GST_START_TEST),
3688         (fakesink_suite):
3689         Fix GstBus leak in test.
3690         Test for fakesink num-buffers.
3691
3692 2007-04-05  Wim Taymans  <wim@fluendo.com>
3693
3694         * libs/gst/base/gstbasesink.c:
3695         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3696         (gst_base_sink_change_state):
3697         Don't accept anything after an EOS, return UNEXPECTED instead.
3698
3699         * tests/check/elements/fakesink.c: (GST_START_TEST),
3700         (fakesink_suite):
3701         Unit test for new EOS behaviour.
3702
3703 2007-04-05  Wim Taymans  <wim@fluendo.com>
3704
3705         * gst/gstelement.c: (gst_element_get_request_pad):
3706         Make padtemplates also work when they don't contain %s or %d.
3707
3708 2007-04-05  Wim Taymans  <wim@fluendo.com>
3709
3710         * docs/gst/gstreamer-sections.txt:
3711         * gst/gstclock.c: (gst_clock_adjust_unlocked),
3712         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
3713         * gst/gstclock.h:
3714         Improve _adjust_unlocked() so that it overflows less.
3715         Add gst_clock_unadjust_unlocked to convert from external time to
3716         internal time based on calibration.
3717         Add some more debug.
3718         API: GstClock::gst_clock_unadjust_unlocked()
3719
3720 2007-04-03  Wim Taymans  <wim@fluendo.com>
3721
3722         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3723
3724         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3725         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
3726         when releasing sink pad. Fixes #425400.
3727
3728 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
3729
3730         * docs/random/ensonic/dynlink.txt:
3731           More work on proposal for new core api.
3732
3733         * docs/libs/gstreamer-libs-sections.txt:
3734         * libs/gst/base/gstbasetransform.h:
3735           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3736           
3737         * libs/gst/controller/gstcontroller.c:
3738         (on_object_controlled_property_changed),
3739         (gst_controller_sync_values),
3740         (gst_controller_set_interpolation_mode):
3741         * libs/gst/controller/gstcontroller.h:
3742           Less verbose logging add docs for unimplemented parts and correctly
3743           return when using unavailable parts.
3744
3745 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3746
3747         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
3748         Move all the debug to the CLOCK category, and associate it with
3749         the clock object.
3750
3751 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3752
3753         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
3754         Make take_buffer a bit quicker by removing redundant checks
3755         caused by calling gst_adapter_take.
3756
3757 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3758
3759         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
3760           Don't leak GCond.
3761
3762         * tests/check/Makefile.am:
3763         * tests/check/elements/.cvsignore:
3764         * tests/check/elements/multiqueue.c: (setup_multiqueue),
3765         (GST_START_TEST), (multiqueue_suite):
3766           Add some dead simple unit tests for the 'multiqueue' element
3767           (some bits don't work yet and are disabled for now).
3768
3769 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3770
3771         * gst/gstelement.c: (gst_element_get_request_pad),
3772         (gst_element_class_get_request_pad_template):
3773           Make gst_element_get_request_pad() create request pads only for
3774           request pad templates and not for, say, sometimes pad templates.
3775
3776 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
3777
3778         * docs/design/draft-klass.txt:
3779           Add example that needs more thinking.
3780         
3781         * docs/design/draft-missing-plugins.txt:
3782           More thoughts about wrapper plugins.
3783         
3784         * docs/random/ensonic/embedded.txt:
3785         * docs/random/ensonic/profiling.txt:
3786           More design work.
3787
3788 2007-03-25  Wim Taymans  <wim@fluendo.com>
3789
3790         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3791         (gst_base_src_loop):
3792         Only push the segment events in the PLAYING state for live sources.
3793
3794 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
3795
3796         * gst/gstpipeline.c: (gst_pipeline_change_state):
3797         Modify the clock distribution path in PAUSED->PLAYING so that we 
3798         never attempt to choose a new clock unless we're actually leaving
3799         the PAUSED state for the first time. This prevents choosing a
3800         different clock when the state_change gets called for a 2nd time due
3801         to some element doing an async state change.
3802
3803 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3804
3805         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
3806         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
3807         (gst_pad_chain_unchecked), (gst_pad_push):
3808         Revert last commit. This needs some more thoughts.
3809
3810 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3811
3812         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
3813         (gst_pad_chain_unchecked), (gst_pad_push):
3814         Check in set_caps if the caps are compatible with the pad and remove
3815         two functions that are redundant now. Fixes #421543.
3816
3817 2007-03-22  Wim Taymans  <wim@fluendo.com>
3818
3819         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3820         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
3821         Unref some more to make valgrind happy.
3822
3823 2007-03-22  Wim Taymans  <wim@fluendo.com>
3824
3825         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
3826         (gst_system_clock_id_wait_jitter),
3827         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
3828         Fix anoying regression that survived a few releases. When adding an
3829         async entry while blocking on a sync entry, the sync entry will unblock
3830         but still be busy, so it should continue to wait instead of returning
3831         _BUSY to the app.
3832         Add some comments here and there.
3833
3834         * tests/check/gst/gstsystemclock.c: (mixed_thread),
3835         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
3836         Add testcase for this.
3837
3838 2007-03-22  Wim Taymans  <wim@fluendo.com>
3839
3840         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3841         Handle errors from the clock sync better, only UNSCHEDULED indicates a
3842         WRONG_STATE and can silently pause the task. All other cases should
3843         error out.
3844
3845 2007-03-22  Wim Taymans  <wim@fluendo.com>
3846
3847         Patch by: Ville Syrjala <syrjala at sci dot fi>
3848
3849         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
3850         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
3851         Improve debugging.
3852
3853 2007-03-21  Michael Smith  <msmith@fluendo.com>
3854
3855         * docs/pwg/advanced-types.xml:
3856           Fix some errors in the typefinding docs pointed out on irc.
3857
3858 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
3859
3860         * libs/gst/base/gstbasesrc.c:
3861         Clarify FIXME comment in the face of having added unlock_stop()
3862
3863 2007-03-21  Wim Taymans  <wim@fluendo.com>
3864
3865         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
3866         Prepare for release where we warn against possible app breakage in the
3867         case of live pipelines along with an env var to enable/disable live
3868         preroll mode (GST_COMPAT=[no-]live-preroll).
3869
3870 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3871
3872         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
3873         So we should use correct constants for checking for None offset.
3874
3875 2007-03-20  Wim Taymans  <wim@fluendo.com>
3876
3877         * docs/design/part-block.txt:
3878         Mention the fact that the newly switched element should be set to at
3879         least PAUSED.
3880
3881 2007-03-20  Wim Taymans  <wim@fluendo.com>
3882
3883         * gst/gst.c:
3884         Fix compilation with registry disabled as spotted by Saur.
3885
3886 2007-03-20  Wim Taymans  <wim@fluendo.com>
3887
3888         Patch by: Olivier Crete <tester at tester dot ca>
3889
3890         * gst/gstelement.c: (gst_element_sync_state_with_parent):
3891         Look at the pending state too when syncing the element state to the
3892         parent. Fixes #420133.
3893
3894 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
3895
3896         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3897         (gst_base_sink_change_state):
3898         * libs/gst/base/gstbasesink.h:
3899         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3900         (gst_base_src_default_event), (gst_base_src_unlock_stop),
3901         (gst_base_src_deactivate):
3902         * libs/gst/base/gstbasesrc.h:
3903         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
3904         for sub-classes to correctly clear any state they set trying to
3905         unlock, such as clearing out unlock commands from a command fd.
3906         API: basesrc::unlock_stop
3907         API: basesink::unlock_stop
3908
3909         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
3910         (gst_fd_sink_render), (gst_fd_sink_unlock),
3911         (gst_fd_sink_unlock_stop):
3912         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
3913         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
3914         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
3915
3916         Implement unlock_stop in fdsrc and fdsink.
3917         Implement seeking in fdsrc when a seekable fd is passed, as in
3918         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
3919
3920 2007-03-19  Wim Taymans  <wim@fluendo.com>
3921
3922         Patch by: Evan Nemerson <evan at coeus dash group dot com>
3923
3924         * gst/gstelement.c: (gst_element_class_init):
3925         Fix pad-added and pad-removed signal signatures so that the pad type is
3926         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
3927
3928 2007-03-19  Wim Taymans  <wim@fluendo.com>
3929
3930         * docs/gst/gstreamer-sections.txt:
3931         Add new element field and method.
3932
3933         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3934         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
3935         (gst_bin_recalc_state), (gst_bin_get_state_func),
3936         (gst_bin_element_set_state), (gst_bin_change_state_func),
3937         (gst_bin_continue_func), (bin_bus_handler),
3938         (bin_push_state_continue), (bin_handle_async_start),
3939         (bin_handle_async_done), (gst_bin_handle_message_func):
3940         Make async state changes a bit smarter by using new ASYNC_START and
3941         ASYNC_DONE messages. This reduces the number of times we run the state
3942         recalculation thread.
3943         Don't change state of element with a pending ASYNC_START message.
3944         Deprecate STATE_DIRTY messages.
3945         
3946         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
3947         (gst_element_get_state_func), (gst_element_continue_state),
3948         (gst_element_lost_state), (gst_element_set_state_func),
3949         (gst_element_change_state):
3950         * gst/gstelement.h:
3951         Keep the state that was last set by the app in a new element field.
3952         Don't allow state changes when handling an element event.
3953         Post ASYNC_START and ASYNC_DONE messages.
3954         Change lost_state so that we go to PAUSED and wait for the parent to set
3955         us to PLAYING again (so latency calculation can be performed)
3956         Export gst_element_change_state() method so that subclasses can use it.
3957         API: gst_element_change_state()
3958         API: GST_STATE_TARGET
3959
3960         * gst/gstpipeline.c: (gst_pipeline_class_init),
3961         (reset_stream_time), (gst_pipeline_change_state),
3962         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
3963         Using the new ASYNC_START message we can reset the base_time when
3964         needed. This can then be used to implement base_time redistribution in
3965         flushing seeks so that we can remove the explicit seek handling.
3966         Perform latency query and configuration when going to PLAYING.
3967
3968         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3969         (gst_base_sink_query), (gst_base_sink_change_state):
3970         Post new ASYNC_START/ASYNC_DONE messages.
3971
3972         * tests/check/generic/sinks.c: (GST_START_TEST):
3973         Fix test because the bin will not set the async element to PLAYING right
3974         away.
3975
3976         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
3977         Make the message check a little stronger.
3978         Handle ASYNC messages.
3979
3980         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
3981         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
3982         Expect ASYNC_DONE messages.
3983
3984 2007-03-19  Wim Taymans  <wim@fluendo.com>
3985
3986         * docs/gst/gstreamer-sections.txt:
3987         * gst/gstmessage.c: (gst_message_new_async_start),
3988         (gst_message_new_async_done), (gst_message_parse_info),
3989         (gst_message_parse_async_start):
3990         * gst/gstmessage.h:
3991         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
3992         support.
3993
3994 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
3995
3996         * tools/gst-inspect.c:
3997         (print_plugin_automatic_install_info_codecs):
3998           Now that we don't check for the 'Codec' keyword any longer in the
3999           klass, we shouldn't spew a warning if the klass isn't a decoder or
4000           encoder (since it might be a Source/Network, for example).
4001
4002 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4003
4004         * tools/gst-inspect.c:
4005         (print_plugin_automatic_install_info_codecs):
4006           Don't require decoder/demuxer/depayloader elements or
4007           encoder/muxer/paylader elements to have 'Codec' as part of their
4008           factory class string when introspecting a plugin's capabilities.
4009           draft-klass.txt mentions that it might be removed in future, and
4010           flump3dec doesn't have it as part of its class string, so chances
4011           are others might also not have it.
4012
4013 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
4014
4015         * po/af.po:
4016         * po/az.po:
4017         * po/bg.po:
4018         * po/ca.po:
4019         * po/cs.po:
4020         * po/de.po:
4021         * po/en_GB.po:
4022         * po/fr.po:
4023         * po/it.po:
4024         * po/nb.po:
4025         * po/nl.po:
4026         * po/ru.po:
4027         * po/sq.po:
4028         * po/sr.po:
4029         * po/sv.po:
4030         * po/tr.po:
4031         * po/uk.po:
4032         * po/vi.po:
4033         * po/zh_CN.po:
4034         * po/zh_TW.po:
4035           Update translations from translation project
4036
4037 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
4038
4039         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
4040         (gst_child_proxy_set_property):
4041           Invert precondition check to be alike the ones in the mimiced gobject
4042           api.
4043
4044 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
4045
4046         * docs/design/draft-tagreading.txt:
4047         * docs/random/ensonic/audiobaseclasses.txt:
4048           Do some Architect work.
4049
4050         * gst/gstobject.c: (gst_object_set_name):
4051           Add a WARNING.
4052
4053         * gst/gstpad.c:
4054           Add docs that point from gst_pad_get_range to gst_pad_pull_range
4055
4056 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
4057
4058         * gst/gstsystemclock.c: (gst_system_clock_init),
4059         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
4060         Defer starting the async system clock thread until the first async
4061         wait is scheduled. Fixes #414986.
4062
4063 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
4064
4065         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
4066         (gst_single_queue_free):
4067           Fix small leak (free GstSingleQueue structure too, not only contents).
4068
4069 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
4070
4071         * gst/gstbin.c:(gst_bin_add):
4072         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
4073         * win32/common/libgstbase.def:
4074         * win32/common/libgstreamer.def:
4075         Add new exported functions.
4076
4077 2007-03-09  Wim Taymans  <wim@fluendo.com>
4078
4079         * docs/plugins/gstreamer-plugins-sections.txt:
4080         Fix GstTee docs.
4081
4082 2007-03-09  Wim Taymans  <wim@fluendo.com>
4083
4084         * docs/gst/gstreamer-sections.txt:
4085         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
4086         * gst/gstbuffer.h:
4087         Add metadata copy functions. Fixes #393099.
4088         API: gst_buffer_copy_metadata()
4089
4090         * gst/gstutils.c: (gst_buffer_stamp):
4091         * libs/gst/base/gstbasetransform.c:
4092         (gst_base_transform_prepare_output_buffer):
4093         Use new metadata copy functions.
4094
4095 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4096
4097         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4098         (gst_identity_init), (gst_identity_check_perfect),
4099         (gst_identity_check_imperfect_timestamp),
4100         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
4101         (gst_identity_set_property), (gst_identity_get_property):
4102         * plugins/elements/gstidentity.h:
4103         Separate out check-imperfect-timestamp and check-imperfect-offset.
4104         Put back check-perfect as it was to keep compatibility.
4105
4106 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
4107
4108         * gst/gstelement.c: (gst_element_dispose):
4109         There's no need to warn if VOID_PENDING is not NONE here, as
4110         long as the state is NULL it's ok, and that's checked immediately
4111         above.
4112
4113 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4114
4115         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4116         Fix check for perfect stream to ignore buffers with -1 
4117         offsets/offset ends when checking data contiguity.
4118
4119 2007-03-08  Wim Taymans  <wim@fluendo.com>
4120
4121         * tools/gst-launch.c: (event_loop):
4122         Print INFO messages.
4123
4124 2007-03-08  Wim Taymans  <wim@fluendo.com>
4125
4126         * libs/gst/base/gstbasetransform.c:
4127         (gst_base_transform_sink_eventfunc),
4128         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4129         (gst_base_transform_activate):
4130         * libs/gst/base/gstbasetransform.h:
4131         Add support for dropping buffers with custom GstFlowReturn.
4132         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
4133         buffers or dropped buffers.
4134
4135         * docs/libs/gstreamer-libs-sections.txt:
4136         docs for new custom return code.
4137
4138         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4139         Use drop support in base class to implement drop-probability.
4140
4141 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4142
4143         * gst/gst.c: (load_plugin_func):
4144         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
4145         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4146         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
4147           Remove newlines at end of debug log strings.
4148
4149 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4150
4151         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4152         Only post bus message at max, once per buffer received.
4153
4154 2007-03-07  Wim Taymans  <wim@fluendo.com>
4155
4156         * docs/design/Makefile.am:
4157         * docs/design/part-synchronisation.txt:
4158         Add doc about synchronisation
4159
4160         * docs/design/draft-latency.txt:
4161         * docs/design/part-TODO.txt:
4162         * docs/design/part-clocks.txt:
4163         * docs/design/part-events.txt:
4164         * docs/design/part-gstbus.txt:
4165         * docs/design/part-gstpipeline.txt:
4166         * docs/design/part-live-source.txt:
4167         * docs/design/part-messages.txt:
4168         * docs/design/part-overview.txt:
4169         * docs/design/part-streams.txt:
4170         * docs/design/part-trickmodes.txt:
4171         Documentation updates.
4172
4173 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4174
4175         * gstreamer.doap:
4176         Update the doap file.
4177
4178 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4179
4180         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4181         Rename non-perfect to imperfect for Mike and for the sanctity of the
4182         language.
4183         Also make sure bus message gets emitted for data-incontiguities.
4184
4185 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4186
4187         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
4188         (gst_identity_start):
4189         * plugins/elements/gstidentity.h:
4190         Emit bus message if check-perfect is true and we encounter a
4191         non-perfect stream between 2 consecutive buffers.
4192         Fixes #415394.
4193
4194 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4195
4196         * configure.ac:
4197         Back to CVS
4198
4199 === release 0.10.12 ===
4200
4201 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
4202
4203         * configure.ac:
4204           releasing 0.10.12, "Inevitable Demise"
4205
4206 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
4207
4208         * configure.ac:
4209          Version 0.10.11.2 (0.10.12 pre-release)
4210          Bump libtool versioning.
4211
4212 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
4213
4214         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4215           Log flow-names and not numbers.
4216
4217 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4218
4219         * configure.ac:
4220           Convert to new AG_GST style.
4221
4222 2007-02-28  Wim Taymans  <wim@fluendo.com>
4223
4224         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
4225         Don't unref query twice.
4226
4227 2007-02-28  Wim Taymans  <wim@fluendo.com>
4228
4229         * gst/gstvalue.c: (gst_value_transform_object_string),
4230         (_gst_value_initialize):
4231         Implement GstObject -> string transform so we print object names
4232         when serializing GValues containing GstObjects.
4233
4234 2007-02-28  Wim Taymans  <wim@fluendo.com>
4235
4236         * docs/gst/gstreamer-sections.txt:
4237         Add new stuff to docs.
4238
4239 2007-02-28  Wim Taymans  <wim@fluendo.com>
4240
4241         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4242         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
4243         (gst_base_sink_change_state):
4244         Improve latency query code.
4245         Don't leak latency events.
4246
4247         * tests/check/gst/gstbin.c: (GST_START_TEST):
4248         Improve debugging.
4249
4250 2007-02-28  Wim Taymans  <wim@fluendo.com>
4251
4252         * gst/gstelement.c: (gst_element_message_full),
4253         (gst_element_get_state_func):
4254         * gst/gstelement.h:
4255         Improve docs a little. Added Since: for new macro.
4256
4257         * gst/gstobject.c: (gst_object_sink):
4258         * gst/gstpipeline.c: (gst_pipeline_change_state),
4259         (gst_pipeline_set_new_stream_time):
4260         * gst/gstpipeline.h:
4261         Improve debugging and docs.
4262
4263         * gst/gstutils.c: (gst_element_state_change_return_get_name):
4264         Improve debugging.
4265
4266 2007-02-28  Wim Taymans  <wim@fluendo.com>
4267
4268         * gst/gstelement.c: (gst_element_message_full),
4269         (gst_element_set_locked_state), (gst_element_get_state_func),
4270         (gst_element_change_state):
4271         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
4272         Documentation updates.
4273         Small code cleanups.
4274
4275         * gst/gstmessage.c: (gst_message_new_info),
4276         (gst_message_parse_info):
4277         * gst/gstmessage.h:
4278         API: gst_message_new_info()
4279         API: gst_message_parse_info()
4280         Add INFO message create and parse code.
4281
4282 2007-02-28  Wim Taymans  <wim@fluendo.com>
4283
4284         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
4285         (bin_query_latency_done):
4286         Also report the live parameter of a latency query.
4287
4288 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4289
4290         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
4291           Copy the current generic/states example from -base and adapt so
4292           we can use the exact same code everywhere.
4293           Check a STATES_IGNORE_ELEMENTS env var which can be used
4294           to ignore certain element factories for this test, which is
4295           what is being done in -base
4296         * tests/check/Makefile.am:
4297           Mention this environment variable.
4298
4299 2007-02-27  Wim Taymans  <wim@fluendo.com>
4300
4301         * docs/gst/gstreamer-sections.txt:
4302         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4303         (gst_bus_timed_pop), (gst_bus_pop):
4304         * gst/gstbus.h:
4305         API: gst_bus_timed_pop()
4306         Implement gst_bus_timed_pop() to do a blocking timed wait for a
4307         message to arrive on the bus.
4308
4309         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
4310         (gst_bus_suite):
4311         Two unit tests for new _timed_pop() function.
4312
4313 2007-02-23  Wim Taymans  <wim@fluendo.com>
4314
4315         * gst/gstpipeline.c: (gst_pipeline_change_state),
4316         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
4317         Don't ref a NULL clock in _provide_clock_func().
4318         Don't allow an INVALID delay.
4319         Don't try to calculate base_time with an invalid start_time.
4320         Also distribute and notify a NULL clock when it was selected.
4321
4322         * tools/gst-launch.c: (event_loop):
4323         Don't crash when a NULL clock was selected in the pipeline.
4324
4325 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4326
4327         * docs/design/Makefile.am:
4328         * docs/design/draft-missing-plugins.txt:
4329         * docs/random/draft-missing-plugins.txt:
4330           Some small updates: update plugin system identifier prefix
4331           ('gstreamer.net' to 'gstreamer'), mention our new install
4332           API in libgstbaseutils rather than libgimme-codec, add
4333           reference to the online docs.
4334
4335 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4336
4337         * win32/common/config.h:
4338           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
4339           use moap cl ci to only check in what is mentioned in the ChangeLog.
4340
4341 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4342
4343         * docs/gst/gstreamer-sections.txt:
4344         * gst/gstelement.h:
4345           Fix up documentation to link to the correct GstGError section.
4346           Add GST_ELEMENT_INFO macro since someone else added a Info message.
4347
4348 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4349
4350         * tools/gst-launch.c: (event_loop):
4351           Make sure that we actually show the important message part of a
4352           warning message.
4353           No need to check if the gerror is not NULL to free; first of all
4354           g_free accepts NULL; and second the default error handler would
4355           segfault if gerror was NULL.
4356
4357 2007-02-21  Wim Taymans  <wim@fluendo.com>
4358
4359         * docs/gst/gstreamer-sections.txt:
4360         Removed docs as well.
4361
4362 2007-02-21  Wim Taymans  <wim@fluendo.com>
4363
4364         * gst/gstmessage.c: (gst_message_parse_duration):
4365         * gst/gstmessage.h:
4366         Remove new messages for release.
4367
4368 2007-02-20  Wim Taymans  <wim@fluendo.com>
4369
4370         * docs/design/part-gstghostpad.txt:
4371         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
4372         (gst_ghost_pad_new_full):
4373         Make the ghostpad a parent of the internal pad again for better backward
4374         compatibility. Don't write code that relies on this however.
4375
4376         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4377         (gst_pad_link_check_hierarchy):
4378         Require that parents should be GstElements in the hierarchy check.
4379
4380 2007-02-20  Wim Taymans  <wim@fluendo.com>
4381
4382         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
4383         (gst_bin_change_state_func), (bin_query_min_max_init),
4384         (bin_query_latency_fold), (bin_query_latency_done),
4385         (gst_bin_query):
4386         Improve debug info.
4387         Implement latency query.
4388
4389 2007-02-20  Wim Taymans  <wim@fluendo.com>
4390
4391         * docs/design/part-gstghostpad.txt:
4392         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
4393         (gst_ghost_pad_internal_do_activate_push),
4394         (gst_ghost_pad_internal_do_activate_pull),
4395         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4396         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
4397         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
4398         Do not set the internal pad as a parent anymore so we can avoid
4399         hierarchy linking errors when the ghostpad has no parent yet. This also
4400         fixes failed activation because of unlinked internal pads, which in
4401         turn fixes the impossible case where you have to activate a pad before
4402         you can add it to a running element.
4403         Also fix the docs.
4404
4405         * gst/gstpad.c: (pre_activate), (post_activate),
4406         (gst_pad_set_active), (gst_pad_activate_pull),
4407         (gst_pad_activate_push), (gst_pad_check_pull_range):
4408         Add some more debug info.
4409         Mark activation mode in pre_activate so that we don't try to activate in
4410         endless loops. Fixes #385084.
4411
4412 2007-02-19  Wim Taymans  <wim@fluendo.com>
4413
4414         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4415         (gst_base_transform_check_get_range):
4416         Implement a checkgetrange function instead of relying on the default
4417         core behaviour that assumes we can operate in pull mode if we have a
4418         getrange function. First step at fixing #385084.
4419
4420 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
4421
4422         * gst/gstchildproxy.h:
4423         * libs/gst/base/gstbasesink.h:
4424         * libs/gst/base/gstbasesrc.h:
4425         * libs/gst/base/gstbasetransform.h:
4426         More docs coverage and some ChangeLog surgery (add missing names)
4427
4428 2007-02-15  Wim Taymans  <wim@fluendo.com>
4429
4430         * docs/design/part-TODO.txt:
4431         * docs/design/part-activation.txt:
4432         * docs/design/part-block.txt:
4433         * docs/design/part-buffering.txt:
4434         * docs/design/part-clocks.txt:
4435         * docs/design/part-element-source.txt:
4436         * docs/design/part-events.txt:
4437         * docs/design/part-gstbin.txt:
4438         * docs/design/part-gstbus.txt:
4439         * docs/design/part-gstpipeline.txt:
4440         * docs/design/part-live-source.txt:
4441         * docs/design/part-messages.txt:
4442         * docs/design/part-overview.txt:
4443         * docs/design/part-qos.txt:
4444         * docs/design/part-query.txt:
4445         * docs/design/part-states.txt:
4446         * docs/design/part-trickmodes.txt:
4447         Some doc updates. Start renaming from stream_time to running_time where
4448         it was used wrongly.
4449
4450 2007-02-15  Wim Taymans  <wim@fluendo.com>
4451
4452         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4453         Answer LATENCY query.
4454
4455 2007-02-15  Wim Taymans  <wim@fluendo.com>
4456
4457         * tests/check/gst/gstevent.c: (event_probe), (test_event),
4458         (GST_START_TEST):
4459         Improve debugging.
4460
4461 2007-02-15  Wim Taymans  <wim@fluendo.com>
4462
4463         * gst/gstpad.c: (gst_pad_get_internal_links_default),
4464         (gst_pad_dispatcher):
4465         Improve debugging of default pad dispatcher and query functions.
4466
4467 2007-02-15  Wim Taymans  <wim@fluendo.com>
4468
4469         * docs/gst/gstreamer-sections.txt:
4470         Remove old unused method.
4471
4472 2007-02-13  Wim Taymans  <wim@fluendo.com>
4473
4474         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4475         Fix check
4476
4477 2007-02-13  Wim Taymans  <wim@fluendo.com>
4478
4479         * docs/design/part-seeking.txt:
4480         Some small update.
4481
4482         * gst/gstsegment.c: (gst_segment_set_seek):
4483         Revert old bogus change that should make seeking work again.
4484
4485 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4486
4487         * docs/random/ensonic/dynlink.txt:
4488         * docs/random/ensonic/interfaces.txt:
4489         * docs/random/ensonic/receipies.txt:
4490           Possible dynamic reconnection api, plus some type fixes the other two
4491           docs.
4492
4493 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
4494
4495         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4496         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4497         Also check for an absolute path following file:// in the filesrc
4498         element. Remove redundant check and call g_path_is_absolute() on the
4499         unescaped location.
4500
4501 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4502
4503         * docs/design/draft-klass.txt:
4504           Add existing category analysis.
4505           
4506         * gst/gstcaps.c:
4507           Fix doc example, framerate is a fraction.
4508
4509 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4510
4511         * configure.ac:
4512         * docs/gst/Makefile.am:
4513         * docs/gst/gstreamer-sections.txt:
4514         * docs/libs/Makefile.am:
4515           Erm, forgot a bunch of --extra-dir.
4516
4517 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4518
4519         * configure.ac:
4520         * docs/gst/Makefile.am:
4521         * docs/libs/Makefile.am:
4522         * docs/plugins/Makefile.am:
4523           Add crossreferences to glib/gobject docs.
4524
4525 2007-02-12  Wim Taymans  <wim@fluendo.com>
4526
4527         * docs/design/draft-latency.txt:
4528         Small update.
4529
4530         * docs/libs/gstreamer-libs-sections.txt:
4531         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4532         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
4533         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
4534         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
4535         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
4536         (gst_base_sink_get_position), (gst_base_sink_query),
4537         (gst_base_sink_change_state):
4538         * libs/gst/base/gstbasesink.h:
4539         API: gst_base_sink_query_latency() to let subclasses query the upstream
4540         latency.
4541         API: gst_base_sink_get_latency() to let subclasses query the configured
4542         latency in the sink.
4543         Implement query and set latency.
4544         Update some docs.
4545         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
4546         don't continue preroll when we are flushing. Fixes #405284.
4547
4548         * tests/check/pipelines/stress.c: (change_state_timeout),
4549         (quit_timeout), (GST_START_TEST), (stress_suite):
4550         Test for #405284.
4551
4552 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
4553
4554         Patch by: René Stadler <mail at renestadler de>
4555
4556         * docs/gst/gstreamer-sections.txt:
4557         * gst/gsttaglist.c: (_gst_tag_initialize):
4558         * gst/gsttaglist.h:
4559           API: add GST_TAG_REFERENCE_LEVEL (#403597).
4560
4561 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
4562
4563         * docs/libs/Makefile.am:
4564           Fix path to core docs.
4565
4566         * gst/gstbin.c: (gst_bin_get_by_interface),
4567         (gst_bin_iterate_all_by_interface):
4568           Refix docs by also renaming 'interface' to 'iface' in implementation.
4569
4570         * docs/gst/gstreamer-sections.txt:
4571         * gst/gstcaps.c:
4572         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
4573         * gst/gstchildproxy.h:
4574         * gst/gstelementfactory.c:
4575         * gst/gstpadtemplate.h:
4576         * libs/gst/controller/gstcontroller.c:
4577         (gst_controlled_property_new):
4578           Document more.
4579
4580 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
4581
4582         * gst/gstbin.h:(gst_bin_get_by_interface),
4583         (gst_bin_iterate_all_by_interface):
4584         Replace interface parameter name by iface as interface is 
4585         a reserved keyword in Visual Studio for C++ projects so it removes
4586         a build error for application developpers using VS.
4587         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
4588         Fix a bug on Windows in uri format check. Now the prefix checked
4589         is file:// and next we check if the path after file:// is absolute.
4590         * win32/common/libgstbase.def:
4591         * win32/common/libgstdataprotocol.def:
4592         * win32/common/libgstgstreamer.def:
4593         Add new exported functions.
4594
4595 2007-02-09  Andy Wingo  <wingo@pobox.com>
4596
4597         * tests/check/pipelines/simple-launch-lines.c
4598         (simple_launch_lines_suite, test_tee): Disable tee test until I
4599         have time to fix it :-(
4600
4601         * tests/check/Makefile.am (noinst_HEADERS): 
4602         * tests/check/libs/libsabi.c: 
4603         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
4604         * tests/check/gst/gstabi.c: 
4605         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
4606
4607         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
4608         tests for push and pull tee behavior.
4609
4610         * plugins/elements/gsttee.h: 
4611         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
4612         mark as deprecated as well as unimplemented. It was a crack idea.
4613         Add support for tee operating in pull mode, off by default.
4614
4615         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
4616         normal-case logs down to LOG, raise errors to WARNING.
4617         (gst_registry_xml_read_cache): Don't log before calling a function
4618         that logs.
4619
4620         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
4621         exit (registry finalize).
4622         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
4623         DEBUG log when we emit signals that people don't even have the
4624         chance to connect to.
4625         (gst_registry_scan_path_level): Less logging in the normal case.
4626
4627 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4628
4629         Patch by: Michal Benes <michal dot benes at itonis dot tv>
4630
4631         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4632         Correctly generate EOS for non-seekable files. We don't have a total
4633         length for them and would get an unexpected end of file if we only
4634         special-cased for regular files. (Fixes: #404569)
4635
4636 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4637
4638         * tests/check/elements/filesrc.c: (GST_START_TEST),
4639         (filesrc_suite):
4640         Add unit test for the GstURIHandler interface in filesrc. This also
4641         tests the newly added file://localhost/foo/bar support.
4642
4643 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
4644
4645         * gst/gstelementfactory.h:
4646           The klass string is not a hierarchy. Add reference to the design doc
4647           for more information and common types.
4648
4649 2007-02-02  Wim Taymans  <wim@fluendo.com>
4650
4651         * gst/gstquery.c: (gst_query_new_latency):
4652         Remove old structure field.
4653
4654 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
4655
4656         * tools/gst-launch.1.in:
4657           Give example for network streaming (#351998)
4658
4659 2007-02-02  Wim Taymans  <wim@fluendo.com>
4660
4661         * docs/gst/gstreamer-sections.txt:
4662         Add docs for new methods.
4663
4664         * gst/gstevent.c: (gst_event_new_latency),
4665         (gst_event_parse_latency):
4666         * gst/gstevent.h:
4667         Add new LATENCY event to configure latency in a pipeline.
4668         API: gst_event_new_latency
4669         API: gst_event_parse_latency
4670
4671         * gst/gstmessage.c: (gst_message_new_buffering),
4672         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
4673         (gst_message_new_latency), (gst_message_parse_buffering),
4674         (gst_message_parse_lost_preroll):
4675         * gst/gstmessage.h:
4676         Added messages used in draft-latency.
4677         API: gst_message_new_lost_preroll
4678         API: gst_message_parse_lost_preroll
4679         API: gst_message_new_prerolled
4680         API: gst_message_new_latency
4681
4682         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
4683         (gst_query_parse_latency):
4684         * gst/gstquery.h:
4685         Implemented new latency query as in design doc.
4686         API: gst_query_new_latency
4687         API: gst_query_set_latency
4688         API: gst_query_parse_latency
4689
4690 2007-02-02  Wim Taymans  <wim@fluendo.com>
4691
4692         * docs/design/draft-latency.txt:
4693         Slight redesign to allow for dynamic latency adjustments.
4694
4695         * docs/design/part-negotiation.txt:
4696         Fix some typos.
4697
4698 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4699
4700         reviewed by: Wim Taymans <wim@fluendo.com>
4701
4702         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4703         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4704         Allow file://localhost/foo/bar URLs and correctly fail for every other
4705         hostname that one sets. This was gnomevfssrc is linked for those if
4706         installed as it can handle it (#403172)
4707
4708 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4709
4710         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4711
4712         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4713         (unref_data), (gst_collect_pads_add_pad_full):
4714         * libs/gst/base/gstcollectpads.h:
4715         Don't put the previously added destroy notify in the GstCollectData
4716         struct as all it's padding is already used and we don't want to break
4717         ABI. Instead put in the pad's GObject data for now. This should be
4718         cleaned up for 0.11 (#402393).
4719
4720 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4721
4722         reviewed by: Wim Taymans <wim@fluendo.com>
4723
4724         * docs/libs/gstreamer-libs-sections.txt:
4725         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4726         (unref_data), (gst_collect_pads_add_pad),
4727         (gst_collect_pads_add_pad_full):
4728         * libs/gst/base/gstcollectpads.h:
4729         API: Add function to specify a destroy notification for custom
4730         GstCollectData when adding new pads in GstCollectPads (#402393).
4731
4732 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
4733
4734         * po/sv.po:
4735           Update Swedish translation (#378255).
4736
4737 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4738
4739         * docs/design/draft-klass.txt:
4740           Fix the previous change, this is a list of categories and not a hierarchy.
4741
4742 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4743
4744         * docs/design/draft-klass.txt:
4745           Add info about how to get a list of used classes.
4746
4747 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
4748
4749         * plugins/elements/gsttypefindelement.c:
4750         (gst_type_find_element_chain_do_typefinding),
4751         (gst_type_find_element_change_state):
4752           Don't leak found caps in chain function (no idea why that never
4753           showed up as a leak anywhere).
4754
4755 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
4756
4757         * gst/gstplugin.h:
4758           Fix and expand GstPluginDesc API docs.
4759
4760 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4761
4762         * gst/gstcaps.c:
4763         * gst/gstelementfactory.c:
4764         * gst/gstpadtemplate.h:
4765           api doc fixes
4766
4767         * libs/gst/controller/gstcontroller.c:
4768         (gst_controlled_property_new):
4769         * tests/examples/controller/audio-example.c:
4770           comment fixes
4771
4772 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4773
4774         * configure.ac:
4775           comment about refining the xml deps
4776
4777         * docs/manuals.mak:
4778           comments about moving away from jade for docs
4779         
4780         * gst/gst.c:
4781           recommit the ifdefs to use the binary registry
4782         
4783         * gst/gstbin.c: (gst_bin_change_state_func):
4784           this break is obsolete
4785
4786         * gst/gstelementfactory.h:
4787           better GST_ELEMENT_DETAILS docs, add comment about translation
4788
4789         * gst/gstinfo.h:
4790           remove eol slash
4791
4792         * gst/gstobject.c: (gst_signal_object_get_type):
4793           add G_UNLIKELY as usual
4794
4795         * gst/gstpad.c: (gst_pad_event_default):
4796           add fall trhu comment
4797
4798         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4799         (gst_registry_binary_initialize_magic),
4800         (gst_registry_binary_save_string),
4801         (gst_registry_binary_save_pad_template),
4802         (gst_registry_binary_save_feature),
4803         (gst_registry_binary_save_plugin),
4804         (gst_registry_binary_write_cache),
4805         (gst_registry_binary_check_magic),
4806         (gst_registry_binary_load_pad_template),
4807         (gst_registry_binary_load_feature),
4808         (gst_registry_binary_load_plugin),
4809         (gst_registry_binary_read_cache):
4810           comment typo and formatting
4811
4812         * gst/gstutils.c: (gst_element_state_get_name),
4813         (gst_element_state_change_return_get_name):
4814           remove obsolete breaks
4815
4816         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4817           add FIXME 0.11 and remove cpp comment
4818
4819 2007-01-29  Edward Hervey  <edward@fluendo.com>
4820
4821         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4822         Fix print statement in an even more portable way.
4823
4824 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
4825
4826         * docs/gst/gstreamer-sections.txt:
4827         * gst/gstutils.h:
4828           API: add GST_ROUND_DOWN_* macros (#401781).
4829
4830 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
4831
4832         * docs/gst/gstreamer.types.in:
4833         * gst/gstregistry.c: (gst_registry_class_init):
4834           Document registry signals and make gtk-doc pick them up (#401381).
4835
4836 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
4837
4838         * docs/pwg/building-testapp.xml:
4839           Add some audioconverts and audioresample to the pipeline, and some
4840           more comments and error handling.
4841
4842 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
4843
4844         * docs/manual/manual.xml:
4845         * docs/pwg/pwg.xml:
4846           Fix typo (#400987).
4847
4848 2007-01-26  Wim Taymans  <wim@fluendo.com>
4849
4850         * gst/gstcaps.c: (gst_static_caps_get):
4851         Init caps flags too.
4852
4853 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
4854
4855         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
4856
4857         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4858         If not using mmap'ed files try to seek to the end instead of the
4859         start to determine whether we can seek at all. This fixes the case
4860         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
4861         seeks for everything afterwards fail. Fixes #400656
4862
4863 2007-01-25  Wim Taymans  <wim@fluendo.com>
4864
4865         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
4866         Add some refcount debugging.
4867         Make gst_static_caps_get threadsafe, which is needed when autoplugging
4868         in multiple streaming threads.
4869
4870 2007-01-25  Wim Taymans  <wim@fluendo.com>
4871
4872         Patch by: David Schleef <ds at schleef dot org>
4873
4874         * docs/libs/gstreamer-libs-sections.txt:
4875         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
4876         * libs/gst/base/gstadapter.h:
4877         API: gst_adapter_copy() that can reduce the amount of memcpy when
4878         getting data from the adapter. Fixes #388201.
4879
4880 2007-01-25  Edward Hervey  <edward@fluendo.com>
4881
4882         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4883         In print statements, "%x" is for guint. Fixes build on macosx.
4884
4885 2007-01-24  Edward Hervey  <edward@fluendo.com>
4886
4887         * plugins/elements/gstmultiqueue.c:
4888         (gst_multi_queue_loop):
4889         Small fix.
4890         (single_queue_overrun_cb), (single_queue_underrun_cb),
4891         (single_queue_check_full), (gst_single_queue_new):
4892         Implement single queue growth system.
4893         This uses the extra-size properties, and will grow single queues by
4894         that much if one goes full whereas there are others empty. This is
4895         called extra-mode in the code.
4896         When a single queue's levels go back below the initial max-size
4897         limits, it is no longer in extra-mode. This is to ensure we don't
4898         consume too much memory.
4899         Fixes #399875
4900
4901 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
4902
4903         * gst/gst.c: (gst_init_get_option_group):
4904           Make warning about late g_thread_init() calls a bit more explicit,
4905           so that it's more obvious to application developers what they need
4906           to do if a user files a bug against their application.
4907
4908 2007-01-22  Edward Hervey  <edward@fluendo.com>
4909
4910         * plugins/elements/gstmultiqueue.c:
4911         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
4912         Remove previous hack of unsetting the flushing flag for the source pad
4913         instead of activating it. Instead, fix the source pad activate function
4914         so that it no longer depends on having a parent set or not.
4915
4916 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
4917
4918         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
4919
4920         * docs/manual/basics-bus.xml:
4921           Fix example code, gst_element_unref() doesn't exist any longer.
4922
4923 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
4924
4925         Patch by: Mark Nauwelaerts <manauw at skynet be>
4926
4927         * gst/gstpad.c:
4928           Fix two docs typoes (#399094).
4929
4930 2007-01-19  Edward Hervey  <edward@fluendo.com>
4931
4932         * docs/faq/gst-uninstalled:
4933         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
4934         depending on libgstbaseutils can work in uninstalled environment.
4935
4936 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
4937
4938         * gst/gsttaglist.h:
4939         * gst/gsttagsetter.c:
4940         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
4941         statement for new tag.
4942
4943 2007-01-17  Edward Hervey  <edward@fluendo.com>
4944
4945         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
4946         When dynamically creating single queues, activate sinkpad before adding
4947         it.
4948         We should be doing the same thing for the source pad, but we can't
4949         since it would call a method which needs the parent to be set in order
4950         to work propertly. Instead of activating the source pad, we just unset
4951         the flushing flag, which is the minimal requirement for adding a pad
4952         to an element in a state greater than READY.
4953
4954 2007-01-17  Edward Hervey  <edward@fluendo.com>
4955
4956         * docs/faq/gst-uninstalled:
4957         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
4958         Mac OS X.
4959
4960 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4961
4962         * tests/check/gst/gstabi.c:
4963         * tests/check/gst/struct_hppa.h:
4964         * tests/check/libs/libsabi.c:
4965         * tests/check/libs/struct_hppa.h:
4966           Add ABI structs for HPPA (see #393796).
4967
4968 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
4969
4970         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
4971           Actually write ABI structs to the file specified in the GST_ABI
4972           environment variable, as the message we print claims we would.
4973
4974 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4975
4976         * tests/check/gst/gsttask.c:
4977           Fix header comment.
4978
4979 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4980
4981         * gst/gsttaglist.c: (_gst_tag_initialize):
4982           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
4983           previous two entries.
4984
4985 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4986
4987         * docs/gst/gstreamer-sections.txt:
4988         * gst/gsttaglist.c: (_gst_tag_initialize):
4989         * gst/gsttaglist.h:
4990           Add tag support for beat-per-minute.
4991
4992 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4993
4994         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4995         (gst_registry_binary_initialize_magic),
4996         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
4997         (gst_registry_binary_save_pad_template),
4998         (gst_registry_binary_save_feature),
4999         (gst_registry_binary_save_plugin),
5000         (gst_registry_binary_write_cache),
5001         (gst_registry_binary_check_magic),
5002         (gst_registry_binary_load_pad_template),
5003         (gst_registry_binary_load_feature),
5004         (gst_registry_binary_load_plugin),
5005         (gst_registry_binary_read_cache):
5006         * gst/gstregistrybinary.h:
5007           Use glib types, cleanup comments, impement interfaces and uri-types.
5008
5009 2007-01-13  Andy Wingo  <wingo@pobox.com>
5010
5011         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
5012         getrange() to return buffers with other caps, while we fix
5013         demuxers and typefind, or otherwise change part-negotiation.txt.
5014
5015 2007-01-12  Andy Wingo  <wingo@pobox.com>
5016
5017         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
5018         Factor start/stop into this private function instead of partially
5019         in activate functions and partially in the change_state function.
5020         Fixes setup before the element has changed from READY->PAUSED, as
5021         is the case in pull-mode pipelines.
5022         (gst_base_transform_sink_activate_push)
5023         (gst_base_transform_src_activate_pull): Refactor to use
5024         gst_base_transform_activate().
5025         (gst_base_transform_change_state): Removed, not needed any more.
5026
5027         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5028         Truncate before fixating.
5029         
5030         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5031         Don't set_caps() if the result of fixating is ANY, as it's not
5032         supported, and not necessary in the case of a link with no
5033         template caps on either side. Fixes tests/check/libs/basesrc in
5034         some pull-mode tests.
5035
5036         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
5037         (gst_base_transform_init, gst_base_transform_sink_activate_push)
5038         (gst_base_transform_src_activate_pull): 
5039         Track the activation mode.
5040         (gst_base_transform_setcaps): In pull mode, when activating the
5041         src pad, after activating the sink pad, activate the sink pad's
5042         peer, as discussed in part-negotiation.txt.
5043
5044         * libs/gst/base/gstbasesrc.h: 
5045         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
5046         vmethod, as in basesink.
5047
5048         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
5049
5050         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
5051         mode, first proxy the setcaps to the peer pad.
5052         (gst_base_sink_pad_fixate): Add a fixate function that calls the
5053         new fixate vmethod.
5054         (gst_base_sink_default_activate_pull): Rename from
5055         gst_base_sink_activate_pull.
5056         (gst_base_sink_negotiate_pull): New function, performs negotiation
5057         in pull mode before calling ::activate_pull().
5058         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
5059         vmethod instead of the default implementation. I have no idea how
5060         this worked before. Negotiate before calling activate_pull.
5061
5062         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
5063         sink pads in pull mode. In addition to being correct, fixes
5064         filesrc ! decodebin ! identity ! fakesink.
5065         (gst_pad_get_range, gst_pad_pull_range): Don't call
5066         gst_pad_set_caps() if the caps changes; instead error out with
5067         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
5068
5069 2007-01-12  Andy Wingo  <wingo@pobox.com>
5070
5071         * docs/design/part-negotiation.txt: Update with more policy.
5072
5073 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5074
5075         * libs/gst/check/gstbufferstraw.h:
5076         * libs/gst/check/gstcheck.h:
5077           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
5078           belongs.
5079
5080 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5081
5082         * tests/check/Makefile.am:
5083         * tests/check/gst/.cvsignore:
5084         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
5085         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
5086         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
5087         (GST_START_TEST), (gst_tag_setter_suite):
5088           Add minimal unit test for beforementioned GstTagSetter bug.
5089
5090 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5091
5092         Patch by: René Stadler <mail at renestadler dot de>
5093
5094         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
5095           gst_tag_list_merge() returns a new list, so it's not the best idea
5096           to ingore its return value. Effectively meant that tags could only
5097           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
5098           Also add function guard to require a non-NULL taglist as input (has
5099           always been so due to gst_tag_list_copy(), just making it explicit).
5100
5101 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5102
5103         * docs/random/draft-missing-plugins.txt:
5104           Some additions: mention new API that is supposed to be used at the
5105           various stages; short blob about new gst-inspect introspection
5106           option; mention potential future problem with plugins that have
5107           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
5108
5109 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5110
5111         * tools/gst-inspect.c:
5112         (print_plugin_automatic_install_info_codecs),
5113         (print_plugin_automatic_install_info_protocols),
5114         (print_plugin_automatic_install_info), (main):
5115         Add --print-plugin-auto-install-info option to gst-inspect, so we can
5116         introspect plugin files and get machine-parsable output that corresponds
5117         to the last bit of the missing-plugin installer string (small gotcha:
5118         doesn't take into account ranks).
5119
5120 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
5121
5122         * configure.ac:
5123         * docs/gst/gstreamer-sections.txt:
5124         * gst/Makefile.am:
5125         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
5126         (gst_registry_lookup_locked):
5127         * gst/gstregistry.h:
5128         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5129         (gst_registry_binary_initialize_magic),
5130         (gst_registry_binary_save_string),
5131         (gst_registry_binary_save_pad_template),
5132         (gst_registry_binary_save_feature),
5133         (gst_registry_binary_save_plugin),
5134         (gst_registry_binary_write_cache),
5135         (gst_registry_binary_check_magic),
5136         (gst_registry_binary_load_pad_template),
5137         (gst_registry_binary_load_feature),
5138         (gst_registry_binary_load_plugin),
5139         (gst_registry_binary_read_cache):
5140         * gst/gstregistrybinary.h:
5141         * gst/gstregistryxml.c: (load_feature),
5142         (gst_registry_xml_read_cache):
5143           commit binary registry (disabled by default, see #359653)
5144
5145 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5146
5147         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
5148           Fix 'make check' too.
5149
5150 2007-01-10  Andy Wingo  <wingo@pobox.com>
5151
5152         * docs/design/part-negotiation.txt: Fix a typo, add a couple
5153         notes.
5154         
5155         * docs/design/part-negotiation.txt: Update with, um, one way that
5156         pull-mode negotiation might work?
5157
5158         * gst/gstpad.h: 
5159         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
5160         that the pad must be a src pad; makes sense to call it the other
5161         way in pull mode, and the logic is symmetric anyway.
5162
5163 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5164
5165         * plugins/elements/gstfilesink.c:
5166           Include <stdio.h> for fseeko().
5167
5168 2007-01-10  Wim Taymans  <wim@fluendo.com>
5169
5170         * gst/gstevent.c:
5171         * gst/gstevent.h:
5172         Reserve LATENCY event.
5173
5174 2007-01-09  Wim Taymans  <wim@fluendo.com>
5175
5176         * docs/design/draft-latency.txt:
5177         Updates.
5178
5179 2007-01-09  Wim Taymans  <wim@fluendo.com>
5180
5181         * docs/design/draft-latency.txt:
5182         Updates.
5183
5184         * gst/gstelement.h:
5185         * gst/gststructure.c:
5186         * gst/gsttrace.c:
5187         Small typo fixes.
5188
5189 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5190
5191         * tests/check/.cvsignore:
5192           Ignore test-registry.xml as well.
5193
5194 2007-01-09  Wim Taymans  <wim@fluendo.com>
5195
5196         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5197         unref data at the end when we are done with the pad.
5198
5199 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5200
5201         * docs/gst/gstreamer-sections.txt:
5202         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
5203         (init_post), (gst_deinit), (gst_update_registry):
5204         * gst/gst.h:
5205           API: add gst_update_registry() (#391296).
5206
5207         * tests/check/Makefile.am:
5208         * tests/check/gst/gstregistry.c:
5209         * tests/check/gst/.cvsignore:
5210           Simple unit test for the above.
5211
5212 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5213
5214         * gst/gstregistry.c: (gst_registry_scan_path_level):
5215           Plugin extension on HP-UX is .sl, add that to the list of approved
5216           plugin extensions (see #393796).
5217
5218         * tests/check/gst/gstpad.c: (GST_START_TEST):
5219           ulong => gulong. Fixes compilation with HP-UX compiler.
5220
5221         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5222           Fix compilation if valgrind headers are not available.
5223
5224 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
5225
5226         * win32/common/libgstreamer.def: 
5227           Add new exported function.
5228         * win32/vs6/libgstbase.dsp: 
5229           Add gstdataqueue.c to the build.
5230         * win32/vs6/libgstcoreelements.dsp:
5231           Add gstmultiqueue.c to the build.
5232         
5233 2007-01-06  Andy Wingo  <wingo@pobox.com>
5234
5235         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
5236         activate_pull(), providing for a way to specialize the process of
5237         spawning a thread to pull on the sink pad. There is a default
5238         implementation.
5239
5240         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
5241         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
5242         (gst_base_sink_init): Renamed pad activation functions (inserting
5243         "_pad" in their names). Refactor to use the new activate_pull
5244         vmethod, as appropriate.
5245         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
5246         default activate_pull function to start a task pulling from the
5247         sink pad, as before.
5248
5249         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
5250         on the pads if necessary, as in push()/chain(). Update docs.
5251         Shouldn't affect existing pull() usage as it is currently only
5252         being used on buffers without caps.
5253
5254 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5255
5256         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5257         (init_pre):
5258           Call g_thread_init() first thing in gst_init() / gst_check_init().
5259           When initialisation is done via gst_init_get_option_group() and
5260           GOption parsing, issue a warning if the GLib thread system has not
5261           been initialised yet by the time gst_init_get_option_group() is
5262           called, as it's quite likely other GLib functions such as
5263           g_option_context_new() have been called already then, and
5264           g_thread_init() must be called before any other GLib function. The
5265           application in question must be fixed in that case, since memory
5266           corruption might happen otherwise.
5267           We issue the warning because even if the GLib folks decide to work
5268           around the problem on their end in future, this is still an issue
5269           with all GLib versions >= 2.10.0, so we should warn until we depend
5270           on a GLib version we know to be safe.
5271           Update documentation as well.
5272           Closes bug #391278.
5273
5274 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5275
5276         * tools/gst-inspect.c: (main):
5277         * tools/gst-launch.c: (main):
5278         * tools/gst-typefind.c: (main):
5279         * tools/gst-xmlinspect.c: (main):
5280           Call g_thread_init() really really early, before any other GLib
5281           function (see #342564 and recent discussion on gtk-devel-list).
5282
5283 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5284
5285         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
5286
5287         * gst/gst_private.h:
5288         * gst/gstconfig.h.in:
5289         * gst/gstinfo.h:
5290           On win32, all the __declspec stuff for symbol exporting is
5291           apparently only needed with MSVC, but doesn't work with MingW.
5292           Fixes compilation with MingW and #391909.
5293
5294 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5295
5296         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
5297           Change some GST_ERROR_OBJECT that aren't really errors to
5298           GST_WARNING_OBJECT in order to reduce terminal spam.
5299
5300 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5301
5302         * tests/check/Makefile.am:
5303           disable test again, as there seem to be still race problems
5304
5305 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5306
5307         * tests/check/Makefile.am:
5308         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5309         (GST_START_TEST), (queue_suite):
5310           enable queue test again, add tests for the leaky behaviour
5311
5312 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
5313
5314         * configure.ac:
5315         * tests/examples/Makefile.am:
5316           Compile adapter test/example only if the required headers are
5317           available (fixes #391915).
5318
5319 2007-01-01  David Schleef  <ds@schleef.org>
5320
5321         * gst/gstplugin.c:
5322           Restore the previous signal handler for SIGSEGV instead of
5323           setting to default, since we may have stolen it away from
5324           someone.  (i.e., Mono)
5325
5326 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5327
5328         * docs/random/draft-missing-plugins.txt:
5329           Some small additions and clarifications.
5330
5331 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5332
5333         * gst/gstregistryxml.c: (gst_registry_save_escaped):
5334           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
5335           since that can lead to random memory corruptions and crashes
5336           (may or may not be related to #383244, #386711, and #386711).
5337
5338 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5339
5340         * tests/check/.cvsignore:
5341         * tests/check/Makefile.am:
5342           sync .cvsignome and CLEANFILES
5343
5344 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5345
5346         * tests/check/Makefile.am:
5347           fix distcheck
5348
5349 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5350
5351         * docs/design/part-states.txt:
5352           two tiny additional comments
5353         
5354         * gst/gststructure.c:
5355           doc fixing
5356
5357         * tests/check/Makefile.am:
5358         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5359         (GST_START_TEST):
5360           disable test for now, unless it gets fixed
5361
5362 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5363
5364         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5365         (GST_START_TEST):
5366           fix race in underrun test
5367
5368 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5369
5370         * tests/check/elements/.cvsignore:
5371           ignore more
5372
5373         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5374         (GST_START_TEST):
5375           try to narrow test failure
5376
5377 2006-12-21  David Schleef  <ds@schleef.org>
5378
5379         * plugins/elements/gstfakesrc.c:
5380           Use g_random_int_range(), since it produces better random
5381           numbers in a range than almost-correct floating point code.
5382
5383 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5384
5385         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5386         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5387         (gst_check_teardown_sink_pad):
5388           do not automatically (de)activate pads
5389
5390         * tests/check/Makefile.am:
5391         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5392         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
5393           add new, yet simple tests for queue
5394
5395         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
5396         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
5397         * tests/check/elements/filesrc.c: (cleanup_filesrc),
5398         (GST_START_TEST):
5399         * tests/check/elements/identity.c: (cleanup_identity):
5400           consistent pad (de)activation
5401
5402 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5403
5404         Patch by: Sebastian Dröge  <slomo ubuntu com>
5405
5406         * libs/gst/base/gstcollectpads.c:
5407           Fix two doc typos (#387866).
5408
5409 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5410
5411         * docs/manual/advanced-dparams.xml:
5412           Fix typo (g_object_control_properties() doesn't exist).
5413
5414 2006-12-19  Edward Hervey  <edward@fluendo.com>
5415
5416         * gst/gstsegment.c: (gst_segment_set_seek):
5417         Fine tune the cases where the segment start/stop values are really
5418         updated.
5419         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5420         Add tests for the return values of gst_segment_set_seek().
5421
5422 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5423
5424         * gst/gst.c:
5425           Docs typo fix.
5426
5427         * plugins/elements/gstqueue.c: (gst_queue_class_init),
5428         (gst_queue_init):
5429           Fix incorrect documentation and flesh it out a bit more.
5430           Set default values for the max properties on the GParamSpec as well,
5431           so it shows up correctly in gst-inspect.
5432
5433 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
5434
5435         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5436           Correct docs of queue, add more detail and crosslink it more.
5437
5438 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5439
5440         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5441           Print additional debug info when the stream isn't perfectly
5442           timestamped; don't try to use invalid durations.
5443
5444 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5445
5446         * docs/design/Makefile.am:
5447           Dist new design docs.
5448
5449 2006-12-16  Wim Taymans  <wim@fluendo.com>
5450
5451         Patch by: Sjoerd Simons <sjoerd at luon dot net>
5452
5453         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
5454         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5455         (gst_collect_pads_stop), (gst_collect_pads_event),
5456         (gst_collect_pads_chain):
5457         * libs/gst/base/gstcollectpads.h:
5458         Add refcounting to the collectpads data so we can track when it's safe
5459         to free the data. Fixes #383382.
5460
5461 2006-12-15  Wim Taymans  <wim@fluendo.com>
5462
5463         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5464         (gst_collect_pads_remove_pad):
5465         Automatically activate/deactivate pads when they are added to a
5466         started/stoped collectpads.
5467
5468 2006-12-15  Wim Taymans  <wim@fluendo.com>
5469
5470         * gst/gstelement.c: (gst_element_add_pad):
5471         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5472         * gst/gstpad.c: (gst_pad_init):
5473         Set pads to FLUSHING when they are created. Check, warn and fix when a
5474         demuxer adds an inactive pad to itself when running. Fixes #339326.
5475
5476 2006-12-15  Wim Taymans  <wim@fluendo.com>
5477
5478         * gst/gstelement.c: (gst_element_class_init),
5479         (gst_element_default_send_event), (gst_element_send_event),
5480         (gst_element_default_query), (gst_element_query):
5481         Expose default element send_event and query handling as vmethods that
5482         subclasses can chain up to.
5483
5484 2006-12-15  Wim Taymans  <wim@fluendo.com>
5485
5486         * gst/gstelement.c: (gst_element_set_state_func):
5487         Small documentation fixes.
5488
5489 2006-12-15  Wim Taymans  <wim@fluendo.com>
5490
5491         * docs/design/draft-latency.txt:
5492         Checked in draft for handling latency in pipelines.
5493
5494 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5495
5496         * Makefile.am:
5497         * gstreamer.doap:
5498         * gstreamer.spec.in:
5499           adding .doap file
5500
5501 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
5502
5503         * gst/gst.c: (init_pre), (init_post):
5504           init_pre() and init_post() might be called via our GOptionGroup or
5505           from gst_init(), and we should skip both of them if we've already
5506           been initialised, otherwise we will init some things twice or add
5507           two default log functions.
5508
5509 2006-12-13  Edward Hervey  <edward@fluendo.com>
5510
5511         * docs/manual/basics-bus.xml:
5512         No, gst_main_loop does not exist. Its g_main_loop.
5513         Discovered by somebody who abused the copy-paste technique of coding :)
5514
5515 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5516
5517         * gst/gstghostpad.c:
5518           Log ghostpad debug stuff to the GST_PADS category as well rather
5519           than just to the default category.
5520
5521 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5522
5523         * configure.ac:
5524         * gst/gst.c: (init_pre):
5525           Add some basic system details such as OS and architecture
5526           to the debug output if possible, courtesy of uname().
5527
5528 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
5529
5530         * docs/gst/running.xml:
5531           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
5532           environment variables.
5533
5534 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5535
5536         * tests/check/gst/gstbin.c: (GST_START_TEST):
5537         It is acceptable to have a refcount of 2 or 3 at this point in the
5538         test, because the pipeline might be just posting its state_change
5539         message. The next line then waits for that message to appear using
5540         bus_poll, so that should be fine too.
5541
5542 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5543
5544         * gst/gst.c: (ensure_current_registry_forking):
5545         Ignore EINTR when reading from the child registry pipe.
5546         Explicitly ignore the return value from close, since it makes no
5547         difference.
5548
5549         * gst/gstminiobject.c: (gst_mini_object_ref),
5550         (gst_mini_object_unref):
5551         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
5552
5553         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
5554         When removing cached plugins, remove their features too, so they're
5555         not visible after they've disappeared.
5556
5557         * gst/gstutils.c: (prepare_link_maybe_ghosting):
5558         In the unlikely case that we are linking pads with no parents, don't
5559         crash trying to get the non-existent parent bin.
5560
5561         * gst/parse/grammar.y:
5562         Output debug in the PIPELINE category
5563
5564 2005-03-08  Wim Taymans  <wim@fluendo.com>
5565
5566         Patch by: René Stadler <mail at renestadler dot de>
5567
5568         * gst/gstclock.c: (gst_clock_new_periodic_id):
5569         Reject invalid clock times for interval of periodic ids.
5570         Fixes ##383506.
5571
5572 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5573
5574         * gst/gstelementfactory.c: (gst_element_factory_create):
5575         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5576         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5577         * tools/gst-inspect.c: (print_element_info):
5578         Fix refcounting of gst_plugin_feature_load to match the docs. 
5579         Fixes: #380129
5580
5581 2006-12-07  Wim Taymans  <wim@fluendo.com>
5582
5583         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5584         (gst_base_sink_get_position):
5585         Improve debugging of events.
5586
5587 2006-12-07  Wim Taymans  <wim@fluendo.com>
5588
5589         Patch by: René Stadler <mail at renestadler dot de>
5590
5591         * gst/gstclock.c: (gst_clock_id_wait):
5592         Make period ids add the interval to the origial requested time instead
5593         of the possibly updated time which can be wrong when there are multiple
5594         waiters for the same id. Fixes #382592.
5595
5596         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
5597         (gst_system_clock_id_wait_jitter_unlocked),
5598         (gst_system_clock_id_wait_jitter):
5599         Fix restart in the async notify thread when an async entry is added to
5600         the front of the list. Fixes #381492. 
5601
5602         * tests/check/gst/gstsystemclock.c: (store_callback),
5603         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
5604         Added test for multiple async waits.
5605         Added test for async wait order.
5606
5607 2006-12-07  Wim Taymans  <wim@fluendo.com>
5608
5609         * gst/gstbin.c: (gst_bin_query):
5610         Add some more docs about the POSITION query.
5611
5612 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5613
5614         * configure.ac:
5615         Bump version nano - back to CVS.
5616
5617 === release 0.10.11 ===
5618
5619 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
5620
5621         * configure.ac:
5622           releasing 0.10.11, "Love never runs on time"
5623
5624 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
5625
5626         * win32/common/libgstbase.def:
5627         * win32/common/libgstreamer.def:
5628         * win32/vs8/libgstbase.vcproj:
5629         * win32/vs8/libgstcoreelements.vcproj:
5630         * win32/vs8/libgstreamer.vcproj:
5631         Fix compilation on win32 under VS8
5632         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5633         Partially fixes #381175
5634
5635 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
5636
5637         * gst/gstvalue.c: (gst_value_compare_fraction):
5638         If someone is foolish enough to compare 2 fractions with denominator =
5639         0, return UNORDERED rather than aborting.
5640
5641 2006-11-28  Edward Hervey  <edward@fluendo.com>
5642
5643         * libs/gst/base/Makefile.am:
5644         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
5645         (gst_data_queue_base_init), (gst_data_queue_class_init),
5646         (gst_data_queue_init), (gst_data_queue_new),
5647         (gst_data_queue_cleanup), (gst_data_queue_finalize),
5648         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
5649         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
5650         (gst_data_queue_is_empty), (gst_data_queue_is_full),
5651         (gst_data_queue_set_flushing), (gst_data_queue_push),
5652         (gst_data_queue_pop), (gst_data_queue_drop_head),
5653         (gst_data_queue_set_property), (gst_data_queue_get_property):
5654         * libs/gst/base/gstdataqueue.h:
5655         New GstDataQueue object for threadsafe queueing. Most useful for
5656         elements that need some queueing functionnality.
5657         * docs/libs/gstreamer-libs-docs.sgml:
5658         * docs/libs/gstreamer-libs-sections.txt:
5659         Insert documentation for GstDataQueue
5660         * plugins/elements/Makefile.am:
5661         * plugins/elements/gstelements.c:
5662         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5663         (gst_multi_queue_class_init), (gst_multi_queue_init),
5664         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5665         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
5666         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
5667         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5668         (gst_multi_queue_loop), (gst_multi_queue_chain),
5669         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5670         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
5671         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
5672         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
5673         (wake_up_next_non_linked), (compute_next_non_linked),
5674         (single_queue_overrun_cb), (single_queue_underrun_cb),
5675         (single_queue_check_full), (gst_single_queue_new):
5676         * plugins/elements/gstmultiqueue.h:
5677         New multiqueue element, using GstDataQueue. Used for queuing multiple
5678         streams.
5679         Closes #344639 and #347785
5680
5681 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
5682
5683         * docs/pwg/advanced-types.xml:
5684           add more missing type details
5685
5686         * tools/gst-run.c: (main):
5687           remove unused variable
5688
5689 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
5690
5691         * docs/libs/Makefile.am:
5692         * docs/libs/gstreamer-libs.types:
5693           add types of base classes to enable gobject specific stuff in the docs
5694
5695         * docs/random/ensonic/embedded.txt:
5696           more ideas about isolating platform specific things
5697
5698 2006-11-20  Wim Taymans  <wim@fluendo.com>
5699
5700         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
5701
5702         * libs/gst/check/gstcheck.h:
5703         Fix compilation and running against 0.9.4. Fixes #377332.
5704
5705 2006-11-20  Wim Taymans  <wim@fluendo.com>
5706
5707         * gst/gstsegment.c: (gst_segment_set_seek),
5708         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5709         (gst_segment_to_running_time):
5710         Fix boundary checking in to_running_time() and to_stream_time().
5711         Fixes #377183.
5712
5713         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5714         stream and running time can now be calculated for the complete
5715         clipped segment.
5716
5717 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
5718
5719         * gst/gstpad.c: (gst_pad_push_event):
5720           Can't access event structure after giving away ownership of
5721           the event.
5722
5723 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
5724
5725         * docs/random/ensonic/embedded.txt:
5726         * docs/random/ensonic/profiling.txt:
5727         * docs/random/ensonic/receipies.txt:
5728           more thinking
5729
5730 2006-11-13  Wim Taymans  <wim@fluendo.com>
5731
5732         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5733
5734         * gst/gstpad.c:
5735         Fix documentation for gst_pad_dispatcher. Fixes #374475.
5736
5737 2006-11-13  Wim Taymans  <wim@fluendo.com>
5738
5739         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
5740
5741         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5742         Store new length in segment duration so we don't keep on calling the
5743         potentially expensize get_size() call. Fixes #370865.
5744
5745 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
5746
5747         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
5748
5749         * win32/common/libgstreamer.def:
5750           Add two missing symbols (#366492).
5751
5752 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
5753
5754         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
5755         (gst_adapter_take_buffer):
5756         Fix format string to use all its arguments.
5757         Remove useless >= check on a guint
5758
5759 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5760
5761         * tests/examples/adapter/.cvsignore:
5762         Ignore build file as commanded by the build-bot
5763
5764 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5765
5766         * tests/examples/adapter/Makefile.am:
5767         * tests/examples/adapter/adapter_test.c: (run_test_take),
5768         (run_test_take_buffer), (run_tests), (main):
5769
5770         Add new files from the previous commit
5771
5772 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5773
5774         * Makefile.am:
5775         * configure.ac:
5776         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
5777         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
5778         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
5779         * libs/gst/base/gstadapter.h:
5780         * tests/check/libs/adapter.c: (create_and_fill_adapter),
5781         (GST_START_TEST), (gst_adapter_suite):
5782         * tests/examples/Makefile.am:
5783         Do some optimisation work in GstAdapter to avoid copies in more cases.
5784         It could still do slightly better by merging buffers when
5785         gst_buffer_is_span_fast is true, but is already faster. 
5786
5787         Also, avoid traversing a single-linked list to append each incoming 
5788         buffer inside the adapter.
5789
5790         Add simple test app that times the adapter behaviour in different
5791         situations, and extend the unit test to check that bytes enter and
5792         exit the adapter in their original order.
5793
5794 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
5795
5796         * docs/random/draft-missing-plugins.txt:
5797           Update: use element message instead of adding a new message
5798           type to the core; don't provide GStreamer API to initiate the
5799           plugin download, just provide API to compose the strings needed
5800           and let an external libgimmestuff handle the rest.
5801
5802 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
5803
5804         * tools/gst-inspect.c: (print_element_properties_info):
5805         Print a string instead of 'unknown type' for GValueArray properties
5806
5807 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
5808
5809         * docs/random/draft-missing-plugins.txt:
5810         More small fixes.
5811
5812 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5813
5814         * tests/examples/typefind/typefind.c: (type_found), (main):
5815           Make typefind element example work again (#371894); add a
5816           license header.
5817
5818 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5819
5820         * docs/random/draft-missing-plugins.txt:
5821           Commit initial draft about how to deal with missing plugins,
5822           needs work (API too).
5823
5824 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
5825
5826         * docs/pwg/advanced-types.xml:
5827           documents the new caps elements (see #363118)
5828
5829 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5830
5831         * gst/gstplugin.c: (gst_plugin_load_file):
5832         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
5833         (gst_file_src_map_region), (gst_file_src_start):
5834         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
5835         (gst_file_index_commit):
5836           Use g_strerror() instead of strerror() - we want UTF-8.
5837
5838 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5839
5840         Patch by: Peter Kjellerstedt <pkj at axis com>
5841
5842         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5843           Another printf fix (#371493).
5844
5845 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5846
5847         * tests/check/gst/gsttag.c:
5848           relicence (okay with author=company)
5849
5850 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5851
5852         * gst/gstpad.c: (gst_pad_event_default_dispatch),
5853         (gst_pad_push_event):
5854           Enhance debug and improve docs
5855         
5856         * gst/gsturi.c:
5857           Fix docs
5858
5859 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5860
5861         * docs/random/ensonic/distributed.txt:
5862         * docs/random/ensonic/profiling.txt:
5863           more ideas
5864
5865 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5866
5867         * docs/gst/gstreamer-sections.txt:
5868           add new API and fix the build
5869           
5870         * gst/gstbin.c: (gst_bin_recalc_state):
5871         * gst/gstelement.c: (gst_element_message_full),
5872         (gst_element_get_state_func), (gst_element_set_state_func):
5873           use new API and improve logging
5874         
5875         * gst/gstutils.c: (gst_element_state_change_return_get_name):
5876         * gst/gstutils.h:
5877           API: add function to get StateChangereturn names to improve logs 
5878
5879 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
5880
5881         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5882           I'm considering shooting the next person to put strerror stuff
5883           in the translateable part of the message.
5884
5885 2006-11-03  Wim Taymans  <wim@fluendo.com>
5886
5887         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5888         Get the type and printf conversion specifiers right.
5889
5890 2006-11-03  Wim Taymans  <wim@fluendo.com>
5891
5892         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5893
5894         * gst/gstpad.c: (gst_pad_init), (pre_activate),
5895         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
5896         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
5897         Some small cleanups. Improve debugging.
5898         * gst/gstpad.h:
5899         Signal all waiting threads with a broadcast instead of just one.
5900         Fixes #369942.
5901
5902 2006-11-03  Wim Taymans  <wim@fluendo.com>
5903
5904         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
5905         (gst_fd_src_create):
5906         Add some debugging. 
5907         Only update fd when it's different from the old.
5908
5909 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5910
5911         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
5912           Printf fixes for PPC/OSX, take two (#369366).
5913
5914 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5915
5916         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
5917
5918         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5919         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5920         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
5921           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
5922           don't cast to long long for portability reasons, but use
5923           GLib's types instead.
5924
5925 2006-10-30  Michael Smith  <msmith@fluendo.com>
5926
5927         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5928           Get the arguments to lseek() the right way around.
5929           Fixes 367677.
5930
5931 2006-10-30  Wim Taymans  <wim@fluendo.com>
5932
5933         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
5934
5935         * gst/gstinfo.h:
5936         _declspec should be __declspec (two underscores, not one). Fixes 366572.
5937
5938 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
5939
5940         Patch by: Kjartan Maraas  <kmaraas at gnome org>
5941
5942         * docs/design/part-MT-refcounting.txt:
5943         * docs/random/wtay/capsnego2-docs:
5944         * gst/gstclock.c:
5945         * gst/gstxml.c:
5946           Typo fixes (#366212).
5947
5948 2006-10-28  Wim Taymans  <wim@fluendo.com>
5949
5950         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5951
5952         * gst/gst.c:
5953         * win32/common/libgstbase.def:
5954         * win32/common/libgstreamer.def:
5955         * win32/vs8/libgstbase.vcproj:
5956         * win32/vs8/libgstcontroller.vcproj:
5957         Add needed entries in .def files.
5958         Use HAVE_UNISTD_H.
5959         Rearrange def files in vs8 solutions. Fixes #366286.
5960
5961 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
5962
5963         * win32/common/gstconfig.h:
5964           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
5965           hand-made win32 gstconfig.h. Fixes #366321.
5966
5967 2006-10-27  Wim Taymans  <wim@fluendo.com>
5968
5969         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
5970         (gst_ghost_pad_new_full):
5971         Make acceptcaps return TRUE when we don't have a target, just like
5972         setcaps does.
5973
5974 2006-10-27  Wim Taymans  <wim@fluendo.com>
5975
5976         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5977         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
5978
5979 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
5980
5981         * gst/gststructure.c: (gst_structure_id_set_value):
5982           If someone tries to set a non-UTF8 string field on a structure,
5983           don't just print a warning, but also ignore the request and do
5984           not change/add that field to the structure.
5985
5986         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5987           Test for the above.
5988
5989 2006-10-25  David Schleef  <ds@schleef.org>
5990
5991         * gst/gstinfo.c:
5992           g_hash_table_insert() needs a cast to a non-const pointer duh.
5993
5994 2006-10-25  David Schleef  <ds@schleef.org>
5995
5996         * gst/gstinfo.c:
5997         * gst/gstinfo.h:
5998           Change name parameter of _gst_debug_register_funcptr to const
5999           to reflect the constness of its use in the function as well
6000           as to quiet a gcc warning.
6001
6002 2006-10-25  Edward Hervey  <edward@fluendo.com>
6003
6004         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6005         Don't push the buffer if it's empty.
6006         Closes #363095
6007
6008 2006-10-24  Wim Taymans  <wim@fluendo.com>
6009
6010         * gst/gstevent.h:
6011         Add small comment.
6012
6013         * libs/gst/base/gstbasetransform.c:
6014         (gst_base_transform_sink_eventfunc):
6015         Debug segment values *after* updating them as this is more
6016         interesting.
6017
6018 2006-10-23  Wim Taymans  <wim@fluendo.com>
6019
6020         * docs/design/part-events.txt:
6021         Update some docs.
6022
6023         * docs/design/part-block.txt:
6024         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6025         (gst_pad_push_event):
6026         Revert BLOCKING patch, it tries to be smart without really having a
6027         clear idea what or how. So, now we discard all FLUSHING events again on
6028         a blocking pad. Should fix gnonlin again.
6029
6030 2006-10-23  Wim Taymans  <wim@fluendo.com>
6031
6032         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6033
6034         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6035         (gst_base_src_start), (gst_base_src_activate_push):
6036         Make sure size is always initialized. Fixes #364388.
6037
6038 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
6039
6040         * docs/random/ensonic/distributed.txt:
6041           add some ideas about doing distributed processing
6042
6043         * docs/random/ensonic/profiling.txt:
6044           get_rusage look promising
6045
6046 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
6047
6048         * docs/manual/basics-helloworld.xml:
6049           Add a cast in example to fix compile warning
6050
6051 2006-10-18  Wim Taymans  <wim@fluendo.com>
6052
6053         * gst/gstsegment.c: (gst_segment_set_last_stop),
6054         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6055         Relax arg checking again, -1 is allowed.
6056
6057 2006-10-18  Wim Taymans  <wim@fluendo.com>
6058
6059         * gst/gstsegment.c: (gst_segment_set_last_stop),
6060         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6061         _set_last_stop() must be with a value != -1
6062         A _TYPE_SET to -1 means seek to 0.
6063         Calc last_stop correctly for negative rates.
6064         Make sure we work with positive durations when updating a segment.
6065
6066 2006-10-18  Wim Taymans  <wim@fluendo.com>
6067
6068         * docs/design/part-live-source.txt:
6069         * gst/gstclock.h:
6070         Small docs fixes.
6071
6072 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
6073
6074         * gst/gstbuffer.h:
6075           Add an explicit cast to GstBuffer** to keep old code that added an
6076           explicit cast to GstMiniObject** for gst_mini_object_replace()
6077           compiling without warning.
6078
6079 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
6080
6081         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
6082           check for validity of dates
6083
6084 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6085
6086         * docs/gst/gstreamer-sections.txt:
6087           Forgot this one, makes gtk-doc shut up.
6088
6089 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6090
6091         Patch by: Peter Kjellerstedt <pkj at axis com>
6092
6093         * gst/gstobject.h:
6094           Don't define xmlNodePtr to gpointer if the core was built with
6095           --disable-loadsave and --disable-registry, this will break
6096           applications that want to use libxml2 but are buildling against a
6097           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
6098           instead so we don't have to mess with the libxml2 namespace
6099           (#361675).
6100
6101 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6102
6103         * gst/gstbuffer.h:
6104           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
6105           type-punned pointer warnings.
6106
6107 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6108
6109         * gst/gstelement.h:
6110           Add casts to the correct return type to state <=> state transition
6111           macros.
6112
6113 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
6114
6115         * docs/design/part-live-source.txt:
6116           describe howto handle latency
6117         
6118         * docs/random/ensonic/profiling.txt:
6119           more ideas
6120
6121         * tools/gst-plot-timeline.py:
6122           fix log parsing for solaris, remove unused function
6123
6124 2006-10-16  Wim Taymans  <wim@fluendo.com>
6125
6126         * docs/design/part-trickmodes.txt:
6127         * gst/gstevent.c:
6128         Update some docs regarding reverse playback.
6129
6130 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6131
6132         Patch by: Marcus Granado  <mrc dot gran at gmail com>
6133
6134         * win32/vs8/grammar.vcproj:
6135           Error out with a warning if glib-genmarshal.exe is not in path,
6136           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
6137
6138 2006-10-13  Wim Taymans  <wim@fluendo.com>
6139
6140         * gst/gstsegment.c: (gst_segment_set_seek):
6141         When seeking to stop -1, set last_stop (current position) to the
6142         duration of the segment.
6143
6144 2006-10-13  Wim Taymans  <wim@fluendo.com>
6145
6146         * gst/gstelement.h:
6147         Clarify _NO_PREROLL a bit more.
6148
6149         * gst/gstevent.c:
6150         Fix docs.
6151
6152         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
6153         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
6154         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
6155         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
6156         due to wrong locking order. Fixes #361769.
6157         Remove some redundant/misplaced checks in pad_block.
6158
6159         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6160         For negative rates, count backwards from the duration.
6161
6162 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6163
6164         * gst/gsterror.c: (_gst_library_errors_init):
6165           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
6166           up with something better).
6167
6168 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
6169
6170         * win32/vs6/libgstreamer.dsp:
6171         * win32/vs7/libgstreamer.vcproj:
6172         * win32/vs8/libgstreamer.vcproj:
6173           Don't reference glib-compat.c which is currently not used and not
6174           disted; add gstquark.c which was recently added. Fixes #361730.
6175
6176 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
6177
6178         * win32/common/libgstbase.def:
6179         * win32/common/libgstcontroller.def:
6180         * win32/common/libgstreamer.def:
6181           Add gst_caps_merge() and a bunch of other recently-added functions.
6182           Fixes #361732.
6183
6184 2006-10-11  Wim Taymans  <wim@fluendo.com>
6185
6186         * docs/plugins/gstreamer-plugins.args:
6187         * docs/plugins/inspect/plugin-coreelements.xml:
6188         * docs/plugins/inspect/plugin-coreindexers.xml:
6189         Update element args.
6190
6191         * gst/gstsystemclock.c:
6192         Small comment update.
6193
6194         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
6195         (gst_tee_request_new_pad), (gst_tee_release_pad),
6196         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
6197         (gst_tee_sink_activate_pull):
6198         * plugins/elements/gsttee.h:
6199         Some tee loving:
6200         Add default property defines.
6201         Implement release pad function.
6202         Give properties better blubs etc.
6203         Activate pads before adding them to a running tee.
6204         Do simple buffer_alloc on the first requested pad.
6205         Post error when activation fails.
6206
6207 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6208
6209         * gst/gst.c: (ensure_current_registry_forking):
6210           Check return value of write() to make compiler happy.
6211
6212 2006-10-11  Wim Taymans  <wim@fluendo.com>
6213
6214         Patch by: Sjoerd Simons <sjoerd at luon dot net>
6215
6216         * plugins/elements/gstqueue.c: (gst_queue_chain):
6217         Recheck queue filledness after signalling the overrun when we're about
6218         to leak downstream because we released the lock when emitting the signal
6219         and the queue could be empty again. Fixes #352345.
6220
6221 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6222
6223         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
6224           Fix refcounting here too, just like we did for _new_valist() a few
6225           days ago (#357180) (thanks to René Stadler). Also remove all those
6226           'Since: 0.9' from the gtk-doc blobs.
6227
6228         * tests/check/libs/controller.c: (controller_refcount_new_list),
6229         (gst_controller_suite):
6230           Unit test for the above.
6231
6232 2006-10-10  Wim Taymans  <wim@fluendo.com>
6233
6234         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
6235
6236         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6237         (gst_pad_save_thyself):
6238         Update some docs.
6239         Write pad direction in XML output. Fixes #345496.
6240
6241 2006-10-10  Wim Taymans  <wim@fluendo.com>
6242
6243         Patch by: René Stadler <mail at renestadler dot de>
6244
6245         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6246         (gst_controller_new_list), (_gst_controller_dispose),
6247         (_gst_controller_finalize), (_gst_controller_class_init):
6248         Take ref to controlled object so that it cannot disappear. 
6249         Fixes #357432.
6250
6251 2006-10-10  Wim Taymans  <wim@fluendo.com>
6252
6253         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6254         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6255         (gst_check_teardown_sink_pad):
6256         Activate/deactivate pads in setup/teardown respectively.
6257
6258 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6259
6260         Patch by: Josep Torre Valles <josep@fluendo.com>
6261
6262         * gst/Makefile.am:
6263         Cast values when making gstenumtypes.h.  This pacifies Forte
6264         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
6265         in the enumeration.
6266
6267 2006-10-09  Wim Taymans  <wim@fluendo.com>
6268
6269         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
6270         Rename some more @cur to @start to fix docs. 
6271
6272         * gst/gstsegment.c: (gst_segment_set_seek):
6273         Fix typo.
6274         time and start must always stay in sync as defined in design doc.
6275
6276         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6277         Rename param to fix docs.
6278
6279         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6280         Check that start and time are in sync.
6281
6282         * tests/check/pipelines/parse-launch.c:
6283         (gst_parse_test_element_change_state):
6284         Activate pad before adding to the element.
6285
6286 2006-10-09  Wim Taymans  <wim@fluendo.com>
6287
6288         * docs/design/part-qos.txt:
6289         Fix typo.
6290
6291         * gst/gstevent.c:
6292         * gst/gstevent.h:
6293         Update seek event docs regarding negative rates.
6294         Rename @cur to @start. 
6295
6296         * gst/gstsegment.c: (gst_segment_set_seek):
6297         * gst/gstsegment.h:
6298         Update set_seek docs regarding negative rates.
6299         Correctly update last_stop to @stop when dealing with negative
6300         rates.
6301         Rename @cur to @start. 
6302
6303         * tests/check/gst/gstpad.c: (GST_START_TEST):
6304         Activate pads before trying to use them.
6305
6306         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6307         (gst_segment_suite):
6308         Add simple check for segments and negative rates.
6309
6310 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6311
6312         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6313         * gst/gsttaglist.h:
6314         * docs/gst/gstreamer-sections.txt:
6315           API: add gst_tag_list_is_empty() (#360467).
6316
6317         * tests/check/gst/gsttag.c: (GST_START_TEST):
6318           And a test case.
6319
6320 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6321
6322         * gst/gstmessage.h:
6323         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
6324         a value that doesn't fit on enumeration.
6325
6326 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6327
6328         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6329         Remove local debugging system and use Gstreamer's instead.
6330
6331 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6332
6333         Patch by: Josep Torre Valles <josep@fluendo.com>
6334
6335         * common/m4/gst-error.m4:
6336         Disable warning of statement not reached on Forte.
6337         * gst/gstmessage.h:
6338         Fix warning on Forte (value doesn't fit on enumeration).
6339         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
6340         Fix warning on Forte (value doesn't fit on enumeration).
6341         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6342         DEBUG macro says it takes minimum of 2 args and so Forte
6343         complains about the use with just 1 arg.
6344         * plugins/elements/gstfdsink.c:
6345         * plugins/elements/gstfdsrc.c:
6346         * plugins/elements/gstfilesink.c:
6347         * plugins/elements/gstfilesrc.c:
6348         Use correct return type for the uri handler implementations.
6349
6350         All these fix warnings in Forte.  Fixes bug #360860.
6351
6352 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6353
6354         * gst/gstelement.h:
6355           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
6356           format string, so don't use G_GNUC_PRINTF for those versions.
6357
6358 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6359
6360         * gst/gsttaglist.c: (gst_is_tag_list):
6361         * gst/gsttaglist.h:
6362           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
6363
6364         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6365           Small test for the above.
6366
6367 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6368
6369         * gst/gsttaglist.h:
6370           Less tabs, more spaces.
6371
6372 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
6373
6374         * gst/gstinfo.h:
6375           Those two function declarations do actually belong there, revert
6376           commit from yesterday that turned them intro macros.
6377
6378 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6379
6380         Patch by: Josep Torre Valles <josep@fluendo.com>
6381
6382         * gst/gst.c: (gst_init_get_option_group):
6383         Fix empty declaration and type mismatch.
6384         * gst/gstbin.c: (gst_bin_change_state_func):
6385         Fix type mismatch.
6386         * gst/gstelement.c: (gst_element_continue_state),
6387         (gst_element_set_state_func), (gst_element_change_state),
6388         (gst_element_change_state_func):
6389         Fix type mismatches.
6390         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
6391         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
6392         Cast as appropriate.
6393         * gst/gstobject.c: (gst_class_signal_connect):
6394         Cast as appropriate.  The function pointer parameter really
6395         has the wrong type but would break API if we change it.
6396         * gst/gstquery.c:
6397         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
6398         order of including string.h.
6399         * gst/gstutils.c: (gst_element_state_get_name):
6400         Remove unreachable line.
6401         * gst/gstxml.c: (gst_xml_parse_doc):
6402         Fix type mismatch.
6403         All these caught by Forte.
6404
6405 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6406
6407         Patch by: Josep Torre Valles <josep@fluendo.com>
6408
6409         * common/m4/gst-error.m4:
6410         Fixed bug #360151.
6411         We need to disable warnings on Forte for empty declarations
6412         due to gst-indent adding ;s to lines that just use macros
6413         where the macro actually doesn't need a ; at end to end
6414         statement.
6415
6416 2006-10-06  Wim Taymans  <wim@fluendo.com>
6417
6418         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6419         (gst_file_sink_close_file), (gst_file_sink_event),
6420         (gst_file_sink_render):
6421         Add some FIXME for the NEWSEGMENT handling.
6422
6423 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6424
6425         * gst/parse/grammar.y:
6426         Remove static function gst_parse_element_lock as all it does
6427         is return.  Looks like cruft from 0.8.
6428
6429 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6430
6431         Patch by: Josep Torre Valles <josep@fluendo.com>
6432
6433         * common/m4/gst-error.m4:
6434         * configure.ac:
6435         * libs/gst/net/Makefile.am:
6436         Fix a compilation issue with Forte on Solaris.  inet_aton is in
6437         libresolv.
6438
6439 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6440
6441         * gst/gstpad.c: (pre_activate):
6442         * gst/gstregistry.c: (gst_registry_scan_path_level):
6443         * gst/gstregistryxml.c: (load_plugin):
6444         * libs/gst/controller/gstcontroller.c:
6445         (gst_controlled_property_set_interpolation_mode):
6446         * libs/gst/dataprotocol/dataprotocol.c:
6447         (gst_dp_packet_from_event_1_0):
6448         * libs/gst/net/gstnetclientclock.c:
6449         (gst_net_client_clock_observe_times):
6450         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6451           Printf fixes.
6452
6453 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6454
6455         * configure.ac:
6456         * docs/gst/gstreamer-sections.txt:
6457         * gst/gstconfig.h.in:
6458         * gst/gstelement.h:
6459         * gst/gstinfo.h:
6460           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
6461           whether we can use G_GNUC_PRINTF in other header files and at
6462           least check the printf format/arguments of debug messages and
6463           GST_ELEMENT_ERROR messages when the printf extension is not
6464           being used.
6465           Replace more tabs with spaces in gstinfo.h and remove two spurious
6466           function declarations in GST_DISABLE_DEBUG part with macros.
6467
6468 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6469
6470         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
6471           More docs for the sync-message signal (mention that it is not
6472           emitted by default); log message structures of messages posted on
6473           the bus as well.
6474
6475 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
6476
6477         * gst/gst.c: (ensure_current_registry_forking):
6478         Use a pipe pair to receive status results from the forked child, and
6479         ignore the result from waitpid. Fixes #355499
6480
6481 2006-10-02  Wim Taymans  <wim@fluendo.com>
6482
6483         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6484         (gst_ghost_pad_suite):
6485         Fix leak in check.
6486
6487 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6488
6489         * gst/gstpad.c:
6490           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6491
6492 2006-10-02  Edward Hervey  <edward@fluendo.com>
6493
6494         * docs/design/part-block.txt:
6495         Further explain the use of flushing on blocked pads.
6496         * docs/gst/gstreamer-sections.txt:
6497         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6498         (gst_pad_push_event):
6499         * gst/gstpad.h:
6500         Added new GstPadFlag : GST_PAD_BLOCKING.
6501         Adds the notion of pads really blocking, which enables to properly
6502         handle FLUSH_START/FLUSH_STOP events on blocked pads.
6503         Fixes #358999
6504         API: gst_pad_is_blocking()
6505         API: GST_PAD_IS_BLOCKING() macro
6506         API: GST_PAD_BLOCKING GstPadFlag
6507         
6508 2006-10-02  Wim Taymans  <wim@fluendo.com>
6509
6510         Patch by: mrcgran <mrc.gran at gmail dot com>
6511
6512         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
6513         Filter the proxied caps against the padtemplate if we have one.
6514
6515         * gst/gstquery.c: (gst_query_new_segment):
6516         Add include for gstinfo.h so that compilation with
6517         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
6518
6519 2006-10-02  Wim Taymans  <wim@fluendo.com>
6520
6521         Patch by: Alessandro Decina  <alessandro at nnva org>
6522
6523         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
6524         (gst_file_sink_set_location), (gst_file_sink_open_file),
6525         (gst_file_sink_close_file), (gst_file_sink_event),
6526         (gst_file_sink_render):
6527         Set file to NULL when closing filesink so that we can set a new filename
6528         in READY. Fixes #358613.
6529
6530 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6531
6532         Patch by: Alessandro Decina  <alessandro at nnva org>
6533
6534         * gst/gstevent.c: (_gst_event_copy):
6535           Fix gst_mini_object_make_writable() and gst_event_copy() for events
6536           with event structures by setting the parent refcount address of the
6537           copied structure to the address of the refcount member of the newly
6538           copied event rather than the address of the refcount member of the
6539           original event. Fixes #358737.
6540
6541         * tests/check/gst/gstevent.c: (GST_START_TEST):
6542           Unit test for the above.
6543
6544 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
6545
6546         * docs/design/Makefile.am:
6547           Dist some more files.
6548
6549 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6550
6551         * tests/check/libs/controller.c: (GST_START_TEST),
6552         (gst_controller_suite):
6553           Add test for the previous fix; add some more tests
6554           for correct refcounting behaviour; fix a few leaks
6555           in test cases; call gst_controller_init() at start
6556           of all tests.
6557
6558 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6559
6560         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6561         (gst_controller_set_from_list):
6562           Don't g_return_val_if_fail() on timed values with invalid timestamps
6563           inside a critical section without unlocking the mutex. Spotted by
6564           René Stadler. (#357617)
6565           Also, fix up refcounting properly: when returning an existing
6566           controller, we should increase the reference only once and not
6567           once per property and when trying to control a property again
6568           we should also increase the refcount.
6569
6570 2006-09-29  Wim Taymans  <wim@fluendo.com>
6571
6572         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6573         * libs/gst/net/gstnettimeprovider.c:
6574         (gst_net_time_provider_thread):
6575         Stop reading commands when EOF as well.
6576
6577         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6578         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6579         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6580         Unify description of the dump property.
6581
6582 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6583
6584         * tests/examples/manual/.cvsignore:
6585         OK, so it's actually cvsignore that needs changing. Stop laughing.
6586
6587 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6588
6589         * tests/examples/manual/Makefile.am:
6590         Gah, declare vars *before* using them
6591
6592 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6593
6594         * gst/gst.c: (init_pre), (scan_and_update_registry),
6595         (ensure_current_registry_nonforking),
6596         (ensure_current_registry_forking), (ensure_current_registry),
6597         (init_post), (gst_debug_help), (gst_deinit):
6598         * gst/gst_private.h:
6599         * gst/gstregistry.c: (gst_registry_finalize),
6600         (gst_registry_remove_features_for_plugin_unlocked),
6601         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6602         (gst_registry_scan_path),
6603         (_priv_gst_registry_remove_cache_plugins),
6604         (_priv_gst_registry_cleanup):
6605         * gst/gstregistry.h:
6606         Re-commit the registry changes, along with an extra fix:
6607           When a cached plugin is encountered at a different file path,
6608           update the stored path in the registry cache so that the parent
6609           process knows where it actually is now when it re-reads the registry
6610           cache. Fixes the thing that broke distcheck with the previous commit.
6611
6612         * tests/check/Makefile.am:
6613         Clean up files named 'core' too when running make clean.
6614
6615         * tests/examples/manual/Makefile.am:
6616         Set up a registry path for running these tests, and clean it properly
6617         for distcheck.
6618
6619 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6620
6621         * configure.ac:
6622         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
6623         want gmodule-no-export-2.0.pc instead so that we don't drag in
6624         --export-dynamic on every project that links to GStreamer.
6625
6626         Also, make our export regex only match the start of symbols, rather 
6627         than any symbol that contains '_gst' somewhere.
6628
6629         * libs/gst/check/Makefile.am:
6630         The libgstcheck we build does however need export-dynamic, as it
6631         produces some symbols that don't match our _gst... style regex.
6632         Fixes: #318031
6633
6634 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6635
6636         * gst/gst.c: (init_pre), (scan_and_update_registry),
6637         (ensure_current_registry_nonforking),
6638         (ensure_current_registry_forking), (ensure_current_registry),
6639         (init_post), (gst_debug_help), (gst_deinit):
6640         * gst/gst_private.h:
6641         * gst/gstregistry.c: (gst_registry_finalize),
6642         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6643         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
6644         (_gst_registry_cleanup):
6645         * gst/gstregistry.h:
6646           Revert previous change until I figure out why it breaks distcheck.
6647
6648 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6649
6650         * gst/gst.c: (init_pre), (scan_and_update_registry),
6651         (ensure_current_registry_nonforking),
6652         (ensure_current_registry_forking), (ensure_current_registry),
6653         (init_post), (gst_debug_help), (gst_deinit):
6654
6655           Make init_pre and init_post take the full complement of GOptionFunc
6656           args so they can return useful GErrors. Make the registry updating
6657           functions do so.
6658
6659           Call _priv_gst_registry_remove_cache_plugins after scanning files to
6660           ensure that the registry we're about to write out doesn't contain
6661           stale information about old-deleted plugin files.
6662
6663           Make _priv_gst_registry_remove_cache_plugins return a boolean so
6664           that deletion of plugin files is considered a registry change.
6665
6666         * gst/gst_private.h:
6667         * gst/gstregistry.c: (gst_registry_finalize),
6668         (gst_registry_remove_features_for_plugin_unlocked),
6669         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6670         (gst_registry_scan_path),
6671         (_priv_gst_registry_remove_cache_plugins),
6672         (_priv_gst_registry_cleanup):
6673         * gst/gstregistry.h:
6674         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
6675         by adding _priv prefix, so that they won't appear in the global
6676         symbol table. They still do atm though because of #318031. Move the
6677         prototypes to gst_private.h
6678
6679         When removing a plugin, remove all features for that plugin too. 
6680         Fixes #340878.
6681
6682 2006-09-27  Wim Taymans  <wim@fluendo.com>
6683
6684         * docs/random/moving-plugins:
6685         Make it clear that the "compiled-in descriptions" really mean
6686         the element details.
6687
6688         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6689         (gst_base_sink_wait_preroll):
6690         Update docs.
6691
6692         * docs/libs/gstreamer-libs-sections.txt:
6693         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6694         (gst_base_src_get_range), (gst_base_src_activate_push):
6695         * libs/gst/base/gstbasesrc.h:
6696         Added function to block while waiting for PLAYING, this function
6697         is used by live sources that block on the clock.
6698         API: gst_base_src_wait_playing()
6699
6700 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6701
6702         Patch by: Peter Kjellerstedt <pkj at axis com>
6703
6704         * Makefile.am:
6705           gst-element-check.m4 is generated and should therefore be
6706           copied from the build dir rather than the source dir (#357593).
6707           'make distcheck' hasn't noticed this because we were disting
6708           the file as well, so stop doing that.
6709
6710 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6711
6712         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6713           Add some tests for gst_caps_intersect().
6714
6715         * tools/gst-launch.c: (event_loop):
6716           Print all buffering percentages we get, even the 100% one.
6717
6718 2006-09-26  Wim Taymans  <wim@fluendo.com>
6719
6720         * tools/gst-inspect.c: (print_element_properties_info),
6721         (print_signal_info):
6722         Fix printing of flags to match the look of enums.
6723
6724 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6725
6726         * gst/gstelementfactory.c:
6727           Fix typo in docs blurb.
6728
6729 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6730
6731         * gst/gsturi.c: (search_by_entry):
6732           Don't assert/crash here if a uri handler doesn't return any
6733           supported protocols. The list of protocols could be generated
6734           dynamically at runtime or at plugin registration, and an error
6735           in the underlying library shouldn't be fatal (#353301).
6736
6737 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6738
6739         * gst/gstinfo.c:
6740           Fix warning if HAVE_PRINTF_EXTENSION is undefined
6741           (spotted by Peter Kjellerstedt).
6742
6743 2006-09-23  Wim Taymans  <wim@fluendo.com>
6744
6745         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
6746
6747         * libs/gst/base/gstbasesrc.c:
6748         (gst_base_src_default_check_get_range), (gst_base_src_start),
6749         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6750         (gst_base_src_change_state):
6751         Match _start/_stop calls in the activate functions. Remove redundant
6752         _stop call from the state change function. Fixes #356910.
6753         Turn failure DEBUG into ERROR. 
6754
6755 2006-09-22  Wim Taymans  <wim@fluendo.com>
6756
6757         * docs/design/part-buffering.txt:
6758         * gst/gstmessage.c: (gst_message_new_buffering),
6759         (gst_message_parse_buffering):
6760         Update docs about buffering.
6761
6762         * docs/design/part-trickmodes.txt:
6763         Fix typo.
6764
6765 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
6766
6767         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6768         (gst_controller_new_list):
6769           Ref instances when returning them again (fixes #357180)
6770
6771 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6772
6773         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
6774           Don't forget to release proxy lock when there's an error.
6775
6776 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
6777
6778         * gst/gstcaps.h:
6779           Add extra initialisers for Caps things, to fix some plugin warnings
6780           when using -Wextra
6781
6782 2006-09-18  Wim Taymans  <wim@fluendo.com>
6783
6784         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6785           Also set template on the internal pad so that a getcaps from the 
6786           target pad returns the template caps.
6787
6788 2006-09-18  Wim Taymans  <wim@fluendo.com>
6789
6790         * gst/gstelement.c: (gst_element_post_message),
6791         (gst_element_dispose):
6792         Use _DEBUG_OBJECT some more.
6793
6794         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6795         Avoid typechecks.
6796
6797         * tools/gst-launch.c: (main):
6798         If the toplevel element is not a GstPipeline, it must be put in a
6799         pipeline so that a bus and clock is selected.
6800
6801 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6802
6803         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6804           JITTER, RATE, and LATENCY query should be handled by the
6805           default case and not by the CONVERT query code.
6806
6807 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6808
6809         * gst/gstformat.c: (gst_format_register):
6810           Fix locking order (must take lock before using n_values).
6811
6812         * gst/gstvalue.c: (gst_value_serialize_enum),
6813         (gst_value_deserialize_enum_iter_cmp),
6814         (gst_value_deserialize_enum):
6815           Fix serialisation/deserialisation of custom registered GstFormats.
6816
6817         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6818           Unit test for custom format serialisation/deserialisation.
6819
6820 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
6821
6822         * docs/pwg/building-boiler.xml:
6823         * plugins/elements/gstcapsfilter.c:
6824         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
6825         section.
6826
6827 2006-09-16  Edward Hervey  <edward@fluendo.com>
6828
6829         * libs/gst/base/gstbasetransform.c:
6830         (gst_base_transform_buffer_alloc):
6831         Check if requested caps are the same as the sinks caps IF
6832         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
6833         is FALSE.
6834         This fixes the renegotiation issues stated in #352827.
6835
6836 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6837
6838         * configure.ac:
6839         * docs/manual/advanced-autoplugging.xml:
6840         * tests/examples/Makefile.am:
6841         * tests/examples/manual/.cvsignore:
6842         * tests/examples/manual/Makefile.am:
6843         * tests/examples/manual/extract.pl:
6844           Extract the manual examples again like we used to do.
6845           Fix one of them.
6846
6847 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6848
6849         * win32/common/config.h:
6850           update for version
6851
6852 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
6853
6854         * gst/gsterror.c:
6855           Documents how to receive errors.
6856
6857 2006-09-15  Wim Taymans  <wim@fluendo.com>
6858
6859         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
6860         (event_loop), (main):
6861         Added some comments here and there.
6862         Post an application message when an interrupt is caught instead of doing
6863         an uncontrolled state change.
6864         Clean up the event loop.
6865         Handle buffering messages, pause/resume the pipeline.
6866         Make shutdown because of an interrupt more reliable.
6867
6868 2006-09-15  Wim Taymans  <wim@fluendo.com>
6869
6870         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6871         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
6872         (gst_base_sink_preroll_object):
6873         Make sure that our internal state is correct when we commit our state
6874         asynchronously. This solves a race where a state change to PLAYING
6875         could cause the sink to remain blocked in preroll in some situations.
6876
6877 2006-09-15  Wim Taymans  <wim@fluendo.com>
6878
6879         * tools/gst-inspect.c: (print_element_properties_info),
6880         (print_signal_info):
6881         List flags as hex so it's easier to deal with.
6882
6883 2006-09-15  Wim Taymans  <wim@fluendo.com>
6884
6885         * docs/libs/gstreamer-libs-sections.txt:
6886         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
6887         (gst_base_sink_do_sync):
6888         * libs/gst/base/gstbasesink.h:
6889         Expose logic to wait for preroll so that subclasses such as audiosink
6890         can also use this method.
6891         API: gst_base_sink_wait_preroll()
6892
6893 2006-09-15  Wim Taymans  <wim@fluendo.com>
6894
6895         * gst/gstobject.c: (gst_object_set_parent):
6896         * gst/gstpipeline.c: (do_pipeline_seek):
6897         Small cleanups in docs and code.
6898
6899         * gst/gstsegment.c: (gst_segment_clip):
6900         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6901         if stop == start and start is in the segment, no clipping should be
6902         done. Also add a test for this.
6903
6904 2006-09-15  Wim Taymans  <wim@fluendo.com>
6905
6906         * docs/design/part-buffering.txt:
6907         * docs/gst/gstreamer-sections.txt:
6908         * gst/gstmessage.c: (gst_message_new_buffering),
6909         (gst_message_parse_buffering):
6910         * gst/gstmessage.h:
6911         Added methods to create and parse BUFFERING messages.
6912         Added preliminary docs about buffering.
6913         API: gst_message_new_buffering
6914         API: gst_message_parse_buffering
6915
6916 2006-09-06  Wim Taymans  <wim@fluendo.com>
6917
6918         * gst/gstbin.c:
6919         Update documentation.
6920
6921         * gst/gstelement.c: (gst_element_class_init),
6922         (gst_element_release_request_pad), (gst_element_set_clock),
6923         (gst_element_get_index), (gst_element_add_pad),
6924         (gst_element_remove_pad), (gst_element_get_random_pad),
6925         (gst_element_send_event), (gst_element_get_query_types),
6926         (gst_element_query), (gst_element_post_message),
6927         (gst_element_message_full), (gst_element_continue_state),
6928         (gst_element_lost_state), (gst_element_save_thyself),
6929         (gst_element_restore_thyself):
6930         Documentation updates.
6931         Rename last bit of the new-pad -> pad-added signal rename.
6932         Fix the case where an element query would only work if the source
6933         pad was linked.
6934         Avoid some useless type checking in message handling.
6935
6936         * gst/gstevent.c:
6937         * gst/gstevent.h:
6938         * gst/gstutils.c:
6939         Documentation updates.
6940
6941 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6942
6943         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6944           add an INFO line for when we actually update the fd
6945
6946 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6947
6948         * configure.ac:
6949           back to TRUNK
6950
6951 === release 0.10.10 ===
6952
6953 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
6954
6955         * configure.ac:
6956           releasing 0.10.10, "Pais"
6957
6958 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
6959
6960         * docs/manual/advanced-position.xml:
6961           Fix typo in sample code.
6962
6963 2006-09-05  Wim Taymans  <wim@fluendo.com>
6964
6965         * libs/gst/net/gstnetclientclock.c: (inet_aton),
6966         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6967         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
6968         * libs/gst/net/gstnetclientclock.h:
6969         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6970         * libs/gst/net/gstnettimepacket.h:
6971         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
6972         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
6973         (gst_net_time_provider_thread), (gst_net_time_provider_new):
6974         * libs/gst/net/gstnettimeprovider.h:
6975         Make stuff compile on windows. Fixes #345295.
6976
6977 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6978
6979         * gst/gst.c: (ensure_current_registry_forking):
6980           Print better details when child was terminated by signal.
6981
6982 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6983
6984         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
6985           Print a warning rather than g_assert() if a plugin feature
6986           is a URI handler but returns no protocols (#353976).
6987
6988 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
6989
6990         * docs/random/moving-plugins:
6991         Fix two typos.         
6992
6993 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
6994
6995         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
6996           Fix locking order, handle NULL function values properly.
6997
6998         * gst/gstinfo.h:
6999           Fix docs.
7000
7001         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
7002           Initialise variable before using it and fix debug statement to
7003           print the address of the function rather than the address of the
7004           variable on the stack holding the address of the function.
7005
7006 2006-09-01  Wim Taymans  <wim@fluendo.com>
7007
7008         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
7009         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
7010         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7011         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
7012         (gst_ghost_pad_parent_unset),
7013         (gst_ghost_pad_internal_do_activate_push),
7014         (gst_ghost_pad_internal_do_activate_pull),
7015         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7016         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7017         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
7018         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
7019         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
7020         (gst_ghost_pad_new_no_target_from_template),
7021         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7022         More cleanups.
7023         Avoid needless typechecking in macros.
7024         Since the internal pad is always present and never changes, there is
7025         no need to locking or ref when retrieving it.
7026         Improve debugging a bit.
7027         Handle link errors when setting the target. Fixes #341029.
7028
7029 2006-09-01  Wim Taymans  <wim@fluendo.com>
7030
7031         * docs/libs/gstreamer-libs-sections.txt:
7032         * docs/plugins/gstreamer-plugins-sections.txt:
7033         Fix docs some more.
7034
7035         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7036         (gst_collect_pads_event):
7037         * libs/gst/base/gstcollectpads.h:
7038         Documentation updates.
7039         Free queued buffer when removing a pad.
7040
7041 2006-08-31  Michael Smith  <msmith@fluendo.com>
7042
7043         * gst/gstutils.c: (gst_element_link_pads),
7044         (gst_element_link_pads_filtered):
7045           Ensure that we set a capsfilter to NULL if we failed to link it
7046           when doing filtered linking, to avoid criticals.
7047
7048           No need to check for unreffing srcpad, which is explicly NULLed
7049           above (a trivial code cleanup).
7050
7051 2006-08-31  Wim Taymans  <wim@fluendo.com>
7052
7053         * docs/design/part-gstghostpad.txt:
7054         Update ascii art in documentation.
7055
7056         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
7057         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
7058         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7059         (gst_ghost_pad_internal_do_activate_push),
7060         (gst_ghost_pad_internal_do_activate_pull),
7061         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7062         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7063         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
7064         (gst_ghost_pad_set_target):
7065         Small cleanups and leak fixes.
7066         Remove some checks now that the internal pad is never NULL.
7067         Fix the case where linking pads without a target would create nasty
7068         criticals. Fixes #341029.
7069         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
7070         value of _set_target().
7071
7072         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7073         (gst_ghost_pad_suite):
7074         Some more tests for creating and linking untargeted ghostpads.
7075
7076 2006-08-31  Edward Hervey  <edward@fluendo.com>
7077
7078         * docs/gst/gstreamer-sections.txt:
7079         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
7080         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7081         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
7082         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
7083         (gst_ghost_pad_new_from_template),
7084         (gst_ghost_pad_new_no_target_from_template):
7085         * gst/gstghostpad.h:
7086         Refactored *_new() functions.
7087         Templates are now used as a g_object_new() parameter.
7088         Use template in _do_getcaps() if we don't have a target.
7089         Small documentation cleanups.
7090         Added two new constructors:
7091         gst_ghost_pad_new_from_template()
7092         gst_ghost_pad_new_no_target_from_template()
7093         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7094         (gst_ghost_pad_suite):
7095         Added tests for new ghostpad instanciation functions.
7096
7097         API additions: gst_ghost_pad_new_from_template,
7098         gst_ghost_pad_new_no_target_from_template
7099
7100 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
7101
7102         * docs/random/ensonic/profiling.txt:
7103           Ideas about qos profiling.
7104
7105 2006-08-29  Wim Taymans  <wim@fluendo.com>
7106
7107         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
7108         Code cleanups.
7109         Fix memleak.
7110
7111 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
7112
7113         * gst/gstxml.c:
7114           Improve and detypofy docs.
7115
7116         * tests/check/Makefile.am:
7117         * tests/check/gst/.cvsignore:
7118         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
7119           Add a basic test suite for GstXML.
7120
7121 2006-08-29  Wim Taymans  <wim@fluendo.com>
7122
7123         * gst/gstelement.c: (activate_pads), (clear_caps),
7124         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7125         Clear the pad caps when the element shut down all of the pads and
7126         is not streaming data that could modify the caps. 
7127         Fixes #352958.
7128
7129 2006-08-28  Michael Smith  <msmith@fluendo.com>
7130
7131         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7132           Revert previous change; I misunderstood single-segment mode.
7133
7134 2006-08-28  Michael Smith  <msmith@fluendo.com>
7135
7136         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7137           Unset DISCONT on buffers when using single-segment mode.
7138
7139 2006-08-28  Wim Taymans  <wim@fluendo.com>
7140
7141         * gst/gstcaps.c: (gst_caps_merge_structure):
7142         * gst/gstcaps.h:
7143         Fix docs and indentation again.
7144
7145         * tests/check/gst/gstquery.c: (GST_START_TEST):
7146         Fix leak in tests and add some more tests.
7147
7148 2006-08-28  Edward Hervey  <edward@fluendo.com>
7149
7150         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7151         Inform GstSegment of the last stop position in order for the current
7152         segment to have a proper duration if it doesn't have a specific stop
7153         position from which a duration could be calculated.
7154         This bug was noticeable when a non-flushing, non-update new segment was
7155         followed by another segment (all buffers from the new segment were being
7156         dropped).
7157
7158 2006-08-28  Wim Taymans  <wim@fluendo.com>
7159
7160         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7161         Small comment update.
7162
7163         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7164         (gst_identity_transform_ip):
7165         Drop-probability is broken, mention this in the code with a 
7166         FIXME and also in the property description.
7167         Make silent also be silent about the drop messages.
7168
7169 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
7170
7171         * docs/manual/appendix-win32.xml:
7172           Remove mention of popt, we don't depend on that any
7173           longer (#353136). Add some comments pointing out that
7174           this section is slightly outdated.
7175
7176 2006-08-28  Wim Taymans  <wim@fluendo.com>
7177
7178         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7179
7180         * gst/gstquery.c: (gst_query_new_segment):
7181         * tests/check/gst/gstquery.c: (GST_START_TEST):
7182         Initialize variables when creating a new segment query.
7183         Fixes #353121.
7184
7185 2006-08-28  Wim Taymans  <wim@fluendo.com>
7186
7187         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7188
7189         * gst/gstelement.c: (gst_element_get_bus):
7190         * tests/check/gst/gstelement.c: (GST_START_TEST):
7191         Check for NULL before _reffing the bus. Fixes #353122.
7192
7193 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
7194
7195         * docs/manual/basics-bus.xml:
7196           Docs update: fix wrong callback return value explanation; add
7197           some lines about the implicit relationship between main loop
7198           and main context; remove duplicate main loop variable declaration.
7199
7200 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
7201
7202         * tests/check/gst/gstcaps.c: (GST_START_TEST):
7203           Don't leak caps in unit test; add a few more simple
7204           checks. 
7205
7206 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
7207
7208         * docs/gst/gstreamer-sections.txt:
7209         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
7210         (gst_caps_structure_is_subset), (gst_caps_merge),
7211         (gst_caps_merge_structure):
7212         * gst/gstcaps.h:
7213         * libs/gst/base/gstbasetransform.c:
7214         (gst_base_transform_transform_caps):
7215         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7216           implement caps merging (fixes #352580)
7217
7218 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
7219
7220         * tools/Makefile.am:
7221         * tools/gst-plot-timeline.py:
7222           add debug-log plotting developer tool (#340674)
7223
7224 2006-08-23  Wim Taymans  <wim@fluendo.com>
7225
7226         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
7227         (gst_pad_stop_task):
7228         Improve debugging for task functions.
7229
7230         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
7231         (gst_task_start), (gst_task_pause), (gst_task_join):
7232         Make sure that the task function started and finished after a 
7233         join(). 
7234         Don't try to push the task function on the threadpool multiple
7235         times.
7236         Improve the g_warning message with some useful suggestions
7237         about how to fix the problem. 
7238
7239 2006-08-23  Wim Taymans  <wim@fluendo.com>
7240
7241         * gst/gstutils.c: (gst_pad_proxy_getcaps):
7242         Handle RESYNC correctly in _proxy_getcaps.
7243
7244 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
7245
7246         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
7247         (gst_xml_parse_memory), (gst_xml_get_element):
7248           Chain up to parent class in dispose function and also
7249           unref the elements in the toplevel_elements GList.
7250           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
7251           Always return a reference in gst_xml_get_element() rather
7252           than only sometimes.
7253
7254         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7255           Don't leak GstXml object.
7256
7257 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
7258
7259         * docs/gst/gstreamer-sections.txt:
7260         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
7261         (gst_caps_merge):
7262         * gst/gstcaps.h:
7263         * libs/gst/base/gstbasetransform.c:
7264         (gst_base_transform_transform_caps):
7265           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
7266           in a better way
7267
7268 2006-08-21  Edward Hervey  <edward@fluendo.com>
7269
7270         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
7271         Implement GObject::dispose virtual method in GstXML so we can free the
7272         top_elements GList.
7273
7274 2006-08-21  Wim Taymans  <wim@fluendo.com>
7275
7276         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
7277         (gst_buffer_create_sub):
7278         Copy duration/offset_end/caps when creating a subbuffer of the
7279         complete parent.
7280         Make the subbuffer read-only when we make the metadata writable for
7281         now. Fixes #351768.
7282
7283         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7284         Added check for metadata copy when creating subbuffers.
7285
7286 2006-08-21  Edward Hervey  <edward@fluendo.com>
7287
7288         * libs/gst/base/gstbasetransform.c:
7289         (gst_base_transform_buffer_alloc):
7290         Only call downstream buffer_alloc if transform element is passthrough
7291         or always_in_place. Closes #350449.
7292
7293 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7294
7295         * ChangeLog:
7296           ChangeLog surgery to add comments to previous changes
7297
7298 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7299
7300         * gst/gst.c:
7301           Add comments
7302
7303         * gst/gstpad.c: (gst_pad_set_active):
7304           Be more verbose in the log
7305
7306         * libs/gst/base/gstbasetransform.c:
7307         (gst_base_transform_transform_caps):
7308           Simplify caps to get rid of duplicates, fixes #345444
7309
7310 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7311
7312         * gst/gstvalue.c:
7313         * gst/gstvalue.h:
7314           Use these optimizations only internally.
7315
7316 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7317
7318         * gst/gstvalue.c: (gst_value_compare_list),
7319         (gst_value_compare_fraction_range),
7320         (gst_value_intersect_fraction_fraction_range),
7321         (gst_value_intersect_fraction_range_fraction_range),
7322         (gst_value_subtract_fraction_fraction_range),
7323         (gst_value_subtract_fraction_range_fraction_range),
7324         (gst_value_get_compare_func), (gst_value_compare),
7325         (gst_value_compare_with_func):
7326         * gst/gstvalue.h:
7327           Saves the expensive lookup of the compare function in many cases
7328          (#345444)
7329
7330 2006-08-18  Edward Hervey  <edward@fluendo.com>
7331
7332         * tests/check/gst/gstinfo.c: (gst_info_suite):
7333         Disable test that require gstdebug if it wasn't built in core.
7334
7335 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7336
7337         * docs/random/ensonic/logging.txt:
7338           update ideas
7339           
7340         * gst/gstinfo.c: (gst_debug_log_default):
7341           reorder fields, save some columns, add optional color codes for log
7342           levels
7343
7344 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7345
7346         * docs/random/ensonic/logging.txt:
7347           add ideas about making the logs a bit more useful
7348
7349 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7350
7351         * docs/pwg/advanced-events.xml:
7352         * docs/pwg/titlepage.xml:
7353           Update for 0.10 API (#340627). Add myself
7354           to authors list.
7355
7356 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7357
7358         * docs/libs/gstreamer-libs-docs.sgml:
7359         * docs/libs/gstreamer-libs-sections.txt:
7360         * libs/gst/check/gstbufferstraw.c:
7361           Make gstcheck stuff show up in docs (still needs to
7362           be documented properly though).
7363
7364 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
7365
7366         * docs/gst/gstreamer-sections.txt:
7367         * gst/Makefile.am:
7368         * gst/gst.c: (init_post):
7369         * gst/gst_private.h:
7370         * gst/gstquark.c: (_priv_gst_quarks_initialize):
7371         * gst/gstquark.h:
7372         * gst/gstquery.c: (gst_query_new_position),
7373         (gst_query_set_position), (gst_query_parse_position),
7374         (gst_query_new_duration), (gst_query_set_duration),
7375         (gst_query_parse_duration), (gst_query_new_convert),
7376         (gst_query_set_convert), (gst_query_parse_convert),
7377         (gst_query_new_segment), (gst_query_set_segment),
7378         (gst_query_parse_segment), (gst_query_new_seeking),
7379         (gst_query_set_seeking), (gst_query_parse_seeking):
7380         Add internal helpers for pre-registering quarks from static strings
7381         and using the quark values directly instead of looking them up when
7382         creating and parsing queries. Can be used for event construction too.
7383         Closes #350432.
7384
7385 2006-08-16  Wim Taymans  <wim@fluendo.com>
7386
7387         * gst/gstbin.c:
7388         Fix bogus docs.
7389
7390 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7391
7392         * gst/gstutils.c: (gst_util_set_value_from_string):
7393           Fix memleak (#351502).
7394
7395         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7396           Add unit test for most of gst_util_set_value_from_string()
7397           (not that one would want to encourage use of this function).
7398
7399 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7400
7401         * libs/gst/check/gstcheck.h:
7402           Use const gchar * variables in fail_unless_equals_string
7403           macro to avoid compiler warnings (and don't use tabs for
7404           indenting).
7405
7406 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7407
7408         * tools/gst-launch.c: (print_tag):
7409           More space on the left for the tag names, to cater
7410           for the 'extended comment' tag (not touching the
7411           string for the first line since it's translated).
7412
7413 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7414
7415         * libs/gst/check/gstcheck.h:
7416           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
7417           print something when they fail.
7418
7419 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7420
7421         * docs/gst/gstreamer-sections.txt:
7422         * gst/gsttaglist.c: (_gst_tag_initialize):
7423         * gst/gsttaglist.h:
7424           API: add GST_TAG_EXTENDED_COMMENT (#350935).
7425           Also change merge function for GST_TAG_COMMENT to
7426           use_first.
7427
7428 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7429
7430         * gst/gstinfo.c: (gst_debug_print_object):
7431           Make GST_PTR_FORMAT print messages as well.
7432
7433         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
7434         (GST_START_TEST), (gst_info_suite):
7435           More tests.
7436
7437 2006-08-14  Edward Hervey  <edward@fluendo.com>
7438
7439         * gst/gstelementfactory.c: (gst_element_register):
7440         If the GstElementClass doesn't have a GstElementDetails with all fields
7441         filled up correctly (longname, description AND author), then error out
7442         nicely instead of crashing.
7443
7444 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7445
7446         * gst/gststructure.c:
7447           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
7448
7449         * gst/gstvalue.h:
7450           Expand on the difference between arrays and lists as we use them.
7451           
7452 2006-08-14  Wim Taymans  <wim@fluendo.com>
7453
7454         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7455         If the parent state change function failed, don't assume we can safely
7456         stop the source, this will be done when the pads are deactivated.
7457
7458 2006-08-14  Wim Taymans  <wim@fluendo.com>
7459
7460         * gst/gstbuffer.c:
7461         * gst/gsttask.c: (gst_task_join):
7462         Small doc updates.
7463
7464         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7465         (gst_pad_stop_task):
7466         When pad (de)activation failed for some reason, restore the old
7467         activation mode and set the pad to flushing instead of assuming the
7468         pad is deactivated.
7469         If the _task_join() failed, reinstall the task on the pad so that it can
7470         be stopped later and return an error.
7471
7472 2006-08-11  Andy Wingo  <wingo@pobox.com>
7473
7474         * configure.ac:
7475         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7476         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
7477         is only for users of API that don't want to see deprecated
7478         functions in the headers; people that want to compile out
7479         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
7480         CFLAGS. Fixes the build of multifdsink, or will soon..
7481
7482 2006-08-11  Wim Taymans  <wim@fluendo.com>
7483
7484         * docs/gst/gstreamer-sections.txt:
7485         Add GstClockClass vmethod docs.
7486
7487         * gst/gstcaps.h:
7488         Mark #endif with comment for associated #if
7489
7490         * gst/gstclock.c: (gst_clock_id_wait):
7491         * gst/gstclock.h:
7492         Add vmethod wait_jitter to avoid an unneeded _get_time() for
7493         most clock implementations.
7494         Document vmethods.
7495         Flesh out docs about resolution methods.
7496         API: GstClockClass::wait_jitter
7497
7498         * gst/gstsystemclock.c: (gst_system_clock_class_init),
7499         (gst_system_clock_async_thread),
7500         (gst_system_clock_id_wait_jitter_unlocked),
7501         (gst_system_clock_id_wait_jitter):
7502         Use base class wait_jitter variant for improved performance
7503         due to less clock polling.
7504
7505 2006-08-11  Edward Hervey  <edward@fluendo.com>
7506
7507         * gst/gst.c: (gst_init_check), (init_post):
7508         Set gst as being initialized before scanning/updating the registry,
7509         since there might be my python plugin loader that calls gst_init() and
7510         we don't want to loop back in.
7511         Closes #350879
7512
7513 2006-08-11  Wim Taymans  <wim@fluendo.com>
7514
7515         * docs/design/part-qos.txt:
7516         Bring docs in line with the code. Mostly the sign of the jitter was
7517         wrong in the docs. Fixes #349943.
7518
7519         * gst/gstclock.c:
7520         Fix the docs for the jitter.
7521
7522         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
7523         (gst_event_parse_tag), (gst_event_new_buffer_size),
7524         (gst_event_parse_buffer_size), (gst_event_parse_qos),
7525         (gst_event_new_seek), (gst_event_parse_seek),
7526         (gst_event_new_navigation):
7527         Make sure the GstStructure has no parent when creating custom
7528         events.
7529         Add some more argument checking so that we avoid 0.0 rates.
7530         Flesh out the docs for the QoS event some more.
7531
7532 2006-08-11  Wim Taymans  <wim@fluendo.com>
7533
7534         * docs/gst/gstreamer-sections.txt:
7535         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7536         (ensure_current_registry_forking), (ensure_current_registry),
7537         (parse_one_option), (parse_goption_arg), (gst_deinit),
7538         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
7539         * gst/gst.h:
7540         Doc updates.
7541         Added API and command line option to disable registry forking in
7542         addition to the environment variable.
7543         Constify some static arrays.
7544         Added some more debug.
7545         Don't deinit twice.
7546         API: gst_registry_fork_is_enabled()
7547         API: gst_registry_fork_set_enabled()
7548         API: --gst-disable-registry-fork command line option
7549         Fixes #348918.
7550
7551 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
7552
7553         * gst/gst.c: (gst_init):
7554           Fix typo in error message.
7555
7556 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7557
7558         * libs/gst/controller/gstcontroller.h:
7559           fix ABI size-correction
7560
7561         * tests/check/libs/gdp.c: (gst_dp_suite):
7562           make tests that use deprecated API conditional
7563
7564 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7565
7566         * docs/libs/gstreamer-libs-sections.txt:
7567         * libs/gst/controller/gstcontroller.c:
7568         (_gst_controller_get_property), (_gst_controller_set_property),
7569         (_gst_controller_init), (_gst_controller_class_init):
7570         * libs/gst/controller/gstcontroller.h:
7571         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
7572         (gst_object_set_control_rate):
7573           API: add gst_object_{s,g}et_control_rate(), add private data section,
7574           fix docs
7575
7576         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7577         * libs/gst/dataprotocol/dataprotocol.h:
7578           add deprecation guards to make gtk-doc happy and allow disabling cruft
7579
7580 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7581
7582         * tests/check/Makefile.am:
7583         * tests/check/gst/.cvsignore:
7584           Let's enable the new unit test as well.
7585
7586 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7587
7588         * configure.ac:
7589         * docs/gst/gstreamer-sections.txt:
7590         * gst/gstconfig.h.in:
7591         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
7592         (_gst_info_printf_extension_ptr),
7593         (_gst_info_printf_extension_segment):
7594           API: add GST_SEGMENT_FORMAT, which is a printf extension we
7595           register that lets us easily dump GstSegments into debug
7596           logs (#350419).
7597
7598         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
7599         (info_segment_format_printf_extension), (gst_info_suite):
7600           Add simple unit test that logs a bunch of different segments (not
7601           valgrinded at the moment because of leaks in
7602           gst_debug_add_log_function).
7603
7604 2006-08-09  Edward Hervey  <edward@fluendo.com>
7605
7606         * libs/gst/base/gstbasetransform.c:
7607         (gst_base_transform_buffer_alloc):
7608         Even if we can't figure out the proper format to request downstream,
7609         call buffer_alloc() downstream with the input parameters without setting
7610         the caps on the srcpad. This will force negotiation in the chain
7611         function.
7612         Closes #350449
7613
7614 2006-08-08  Edward Hervey  <edward@fluendo.com>
7615
7616         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
7617         Unlinking from a pad without a target is now a perfectly valid case
7618         which should NOT raise an assertion.
7619         This case would happen if a linked ghostpad its target set to NULL after
7620         it was previously linked.
7621
7622 2006-08-08  Edward Hervey  <edward@fluendo.com>
7623
7624         * tests/check/libs/gdp.c:
7625         Also comment out the test (see below).
7626
7627 2006-08-08  Edward Hervey  <edward@fluendo.com>
7628
7629         * tests/check/libs/gdp.c: (gst_dp_suite):
7630         Use the architecture information from config.h and not gcc macros
7631         in order to properly disable a test that fails on PPC64.
7632
7633 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
7634
7635         * gst/gstelement.c: (gst_element_remove_pad):
7636           Don't crash printing the warning if the pad has no parent.
7637
7638 2006-08-02  Wim Taymans  <wim@fluendo.com>
7639
7640         * libs/gst/dataprotocol/dataprotocol.c:
7641         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7642         (gst_dp_crc), (gst_dp_header_payload_length),
7643         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
7644         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
7645         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
7646         (gst_dp_event_from_packet), (gst_dp_validate_header),
7647         (gst_dp_validate_payload):
7648         Make debug category static
7649         Constify the crc table.
7650         Do some more arg checking in public functions.
7651         Fix some docs and do some small cleanups.
7652
7653         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
7654         Add some more checks to see if GDP deals with bogus input.
7655
7656 2006-07-31  Wim Taymans  <wim@fluendo.com>
7657
7658         * gst/gstvalue.c: (gst_value_compare_list):
7659         Fix GstValueList comparison code. Fixes #347293.
7660
7661         * tests/check/gst/gstvalue.c: (GST_START_TEST):
7662         Check to test GstValueList comparison.
7663
7664 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7665
7666         * gst/gstelementfactory.c: (gst_element_factory_create):
7667         Remove unnecessary ref/unref pair
7668
7669         * gst/parse/grammar.y:
7670         Make sure to free the parse buffer on all code paths.
7671         Move a g_free up to the error handler where it's easier to see.
7672
7673         * tests/check/gst/gstevent.c: (test_event):
7674         Extending timeout for downstream travelling events to 10 seconds to
7675         hopefully avoid intermittent failure on the buildbots.
7676
7677         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
7678         Don't manually set the state of the src element - it will happen as a
7679         natural consequence of the pipeline changing state, and that way it
7680         will do it in the right order too.
7681
7682 2006-07-31  Wim Taymans  <wim@fluendo.com>
7683
7684         * libs/gst/base/gstbasetransform.c:
7685         (gst_base_transform_buffer_alloc):
7686         Use OBJECT_LOCK and refcounting to get the pad caps in the
7687         buffer_alloc function because the caps could change while we are
7688         busy with them. Fixes #349105
7689
7690 2006-07-31  Wim Taymans  <wim@fluendo.com>
7691
7692         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
7693         Protect _PAD_CAPS with OBJECT_LOCK.
7694
7695 2006-07-31  Wim Taymans  <wim@fluendo.com>
7696
7697         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7698         (gst_pad_get_property), (gst_pad_activate_pull),
7699         (gst_pad_activate_push), (gst_pad_set_blocked_async),
7700         (gst_pad_set_activate_function),
7701         (gst_pad_set_activatepull_function),
7702         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
7703         (gst_pad_set_getrange_function),
7704         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
7705         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7706         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
7707         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
7708         (gst_pad_set_acceptcaps_function),
7709         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7710         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
7711         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
7712         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
7713         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
7714         (gst_pad_configure_sink), (gst_pad_configure_src),
7715         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
7716         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
7717         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
7718         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
7719         (gst_pad_send_event):
7720         Use _DEBUG_OBJECT when it makes sense.
7721         Protect GST_PAD_CAPS with the OBJECT_LOCK.
7722         Small cleanups and code reflows.
7723         Avoid caps refcounting in _accept_caps.
7724         Refactor alloc_buffer so that the code performed on the peer is in a
7725         separate function. Also if the pad does not implement a buffer alloc
7726         function, we should still check if the pad is flushing before falling
7727         back to the default allocator.
7728
7729 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7730
7731         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7732         Make all uses of identity and fakesink have silent=true to avoid
7733         serialising every passing data structure, which is breaking tests
7734         on FC4 for some unknown reason.
7735
7736 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7737
7738         * gst/parse/Makefile.am:
7739         * gst/parse/grammar.y:
7740         * gst/parse/parse.l:
7741           Reverted previous patch as it required to bump the flex dependency to
7742           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
7743
7744 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7745
7746         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
7747
7748         * gst/parse/Makefile.am:
7749         * gst/parse/grammar.y:
7750         * gst/parse/parse.l:
7751           push & pop the state of the lexer for reentrant use case
7752           Fixes #349180
7753
7754 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
7755
7756         * libs/gst/base/gstbasesrc.h:
7757           Note in the docs that the ::newsegment vfunc is not actually used by
7758           GstBaseSrc.
7759
7760 2006-07-28  Wim Taymans  <wim@fluendo.com>
7761
7762         * libs/gst/base/gstcollectpads.c:
7763         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
7764         (gst_collect_pads_clear), (gst_collect_pads_flush),
7765         (gst_collect_pads_event), (gst_collect_pads_chain):
7766         When flushing a pad, also clear the queued buffer so that we don't
7767         accidentally use it when we shouldn't.
7768         Fix leaks by inreffing incomming buffer.
7769         Flush out queued buffers in case of errors.
7770         Fixes #347452.
7771
7772 2006-07-28  Wim Taymans  <wim@fluendo.com>
7773
7774         * docs/random/phonon-gst:
7775         Random notes about a Phonon backend.
7776
7777 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7778
7779         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7780         Extra debug output
7781         * tests/check/libs/gdp.c: (gst_dp_suite):
7782         Take a whack at fixing the ppc compile using a different define to
7783         disable the broken test.
7784
7785         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7786         Remove excess g_print()
7787
7788 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7789
7790         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7791         Oops, meant to uncomment this line too to dampen the noise a bit.
7792
7793 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7794
7795         * gst/parse/grammar.y:
7796         * gst/parse/parse.l:
7797         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7798         (GST_START_TEST), (parse_suite):
7799         Fix some of the leaks exposed by extending the parse-launch testsuite,
7800         and move the 3 I can't figure out into a separate test that won't run
7801         the pipelines unless the appropriate line is uncommented.
7802
7803 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7804
7805         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7806           Requesting 0 bytes before the end of the file should result in
7807           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
7808           unit test.
7809
7810 2006-07-27  Wim Taymans  <wim@fluendo.com>
7811
7812         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
7813         Fix useless assert, a uint is always positive.
7814
7815         * gst/gststructure.c: (gst_structure_nth_field_name),
7816         (gst_structure_foreach), (gst_structure_map_in_place):
7817         Check input arguments for public functions to avoid obvious crashes.
7818
7819         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
7820         * plugins/elements/gstfakesink.h:
7821         Do less useless typechecking.
7822
7823 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7824
7825         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7826           Do not use mmap() by default since there are a number of error
7827           conditions that we would like to handle in a non-fatal way that
7828           will result in a SIGBUS if we use mmap(). Examples: external
7829           devices (USB harddrive, portable music player) being unplugged
7830           while in use; file on mounted CD/DVD that can't be read because
7831           the medium is partly damaged. Fixes #348455 and #348475.
7832
7833 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7834
7835         * gst/gstquery.h:
7836         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
7837         rates are a gdouble
7838
7839 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
7840
7841         * gst/gstregistry.c:
7842           Move big documentation comment into class section header, so that it
7843           appears in the API docs.
7844
7845 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7846
7847         * docs/gst/gstreamer-sections.txt:
7848         Oops. Commit the docs additions too for new API.
7849         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
7850
7851 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7852
7853         * gst/gststructure.c: (gst_structure_id_set),
7854         (gst_structure_id_set_valist):
7855         * gst/gststructure.h:
7856         Add API for setting values into structures without performing
7857         a quark lookup, if the appropriate quark is already known.
7858
7859         API: gst_structure_id_set
7860         API: gst_structure_id_set_valist
7861
7862         * gst/parse/grammar.y:
7863         * gst/parse/parse.l:
7864         Remove some dead code shown by the coverage information.
7865         Don't throw a critical g_warning when encountering a syntax error,
7866         just warn and let the normal error path handle it.
7867
7868         * plugins/elements/gstelements.c:
7869         Bump the rank of filesink up to PRIMARY so that it is preferred over
7870         gnomevfssink for file:// sink uri's
7871
7872         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7873         (GST_START_TEST), (run_delayed_test),
7874         (gst_parse_test_element_base_init),
7875         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
7876         (gst_parse_test_element_change_state),
7877         (gst_register_parse_element), (parse_suite):
7878         Beef up the tests for parse syntax to check that more error cases
7879         fail as they are supposed to. Increases the test coverage a bit.
7880
7881 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7882
7883         * docs/manual/basics-elements.xml:
7884           Fix gst_element_link() example.
7885
7886         * gst/gstutils.c:
7887           Mention in API docs that one should usually gst_bin_add()
7888           elements to a bin or pipeline before doing the linking.
7889           
7890 2006-07-26  Wim Taymans  <wim@fluendo.com>
7891
7892         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
7893         (gst_subbuffer_get_type), (gst_buffer_create_sub):
7894         Avoid function call for known types by keeping the buffer and
7895         subbuffer GType global.
7896
7897         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7898         Random silly optimisations in read() path.
7899
7900 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7901
7902         * tools/gst-launch.c: (main):
7903           If the top-level of the parse is a normal bin, it doesn't do the
7904           right logic to run as a top-level element, so place it inside a
7905           pipeline.
7906
7907 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7908
7909         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
7910           Remove superfluous g_object_notify() calls, GObject does
7911           that for us automatically.
7912
7913 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
7914
7915         * gst/gstinfo.h:
7916           on Win32, use dllspec to export the debug category symbols
7917
7918 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
7919
7920         * gst/gsttaglist.c: (_gst_tag_initialize):
7921           Allow more than one GST_TAG_IMAGE per taglist.
7922
7923 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7924
7925         * gst/gstminiobject.c:
7926           update docs
7927         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
7928         (gst_fd_src_create):
7929           log recurring events at LOG level
7930           add more debug for when the fd gets set
7931
7932 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
7933
7934         * gst/gstparse.c: (gst_parse_launch):
7935           Also remove reentrance checks if flex is MT safe (#348179)
7936          Fix my empty ChangeLog entry below
7937
7938 2006-07-21  Andy Wingo  <wingo@pobox.com>
7939
7940         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
7941
7942         * libs/gst/check/Makefile.am
7943         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
7944         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
7945         * libs/gst/check/gstbufferstraw.h:
7946         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
7947         functions, thus proving I am still a GStreamer haxor. OK I wrote
7948         them a long time ago, but anyways.
7949
7950 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
7951
7952         * configure.ac:
7953         * gst/gstparse.c: (gst_parse_launch):
7954           Check for flex version and omit mutex if we have a MT save flex
7955           (fixes #348179)
7956
7957 2006-07-21  Wim Taymans  <wim@fluendo.com>
7958
7959         * gst/gstparse.c: (gst_parse_launch):
7960         Protect recursive calls to _parse with a recursive mutex
7961         and busy flag.
7962
7963 2006-07-21  Wim Taymans  <wim@fluendo.com>
7964
7965         * tests/check/gst/gstpad.c: (GST_START_TEST):
7966         Fix leak in test.
7967
7968 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
7969
7970         * gst/gstparse.c: (gst_parse_launch):
7971           Do not hang on recursive usage of gst_parse_launch()
7972
7973 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
7974
7975         * gst/gsttaglist.c:
7976           Add some more docs, comments and FIXME 0.11s here and there
7977           and also fix some typos.
7978
7979 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
7980
7981         * gst/gstsegment.h:
7982           Convert tabs to spaces for better readability. 
7983
7984 2006-07-20  Edward Hervey  <edward@fluendo.com>
7985
7986         * tests/check/libs/gdp.c: (gst_dp_suite):
7987         the test_buffer test fails at line 140 on ppc64 at the following
7988         check:
7989         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
7990                 GST_BUFFER_FLAG_IN_CAPS),
7991                 "GST_BUFFER_IN_CAPS flag should have been copied !");
7992         See bug #348114 for more details.
7993
7994 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
7995
7996         * docs/pwg/advanced-scheduling.xml:
7997         * gst/gstpad.c:
7998           Fix typos (#348000).
7999
8000 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
8001
8002         * docs/pwg/intro-basics.xml:
8003           Fix wrong links (#347927).
8004
8005 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
8006
8007         * gst/gstregistry.h:
8008         * gst/gstregistryxml.c: (load_feature),
8009         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
8010         * win32/common/config.h:
8011           make --disable-index work (#342564)
8012
8013 2006-07-18  Wim Taymans  <wim@fluendo.com>
8014
8015         Patch by: Peter Kjellerstedt <pkj at axis dot com>
8016
8017         * gst/Makefile.am:
8018         * gst/gsttrace.h:
8019         The attached patch adds two missing defines to gsttrace.h when tracing
8020         is disabled.  It also corrects one existing define.
8021         Fixes #347756.
8022
8023 2006-07-17  Wim Taymans  <wim@fluendo.com>
8024
8025         * docs/gst/gstreamer-sections.txt:
8026         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
8027         * gst/gst.h:
8028         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
8029         Add two functions to check and change the SIGSEGV behaviour
8030         when loading plugins.
8031         Don't mess with the SIGSEGV handler when we were told not to.
8032         Fixes #347794.
8033         API: gst_segtrap_is_enabled
8034         API: gst_segtrap_set_enabled
8035
8036 2006-07-14  Wim Taymans  <wim@fluendo.com>
8037
8038         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8039         * tests/check/elements/filesrc.c: (GST_START_TEST):
8040         Revert fix for regression in #347408 after release.
8041
8042 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
8043
8044         Patch by: Antoine Tremblay <hexa00 at gmail com>
8045
8046         * gst/gstutils.c: (gst_element_unlink):
8047           Free iterator when done (#347311).
8048
8049         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8050           And add a test case for this.
8051
8052 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
8053
8054         * configure.ac:
8055         Bump nano back to CVS
8056
8057 === release 0.10.9 ===
8058
8059 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
8060
8061         * configure.ac:
8062           releasing 0.10.9, "On the road again"
8063
8064 2006-07-13  Wim Taymans  <wim@fluendo.com>
8065
8066         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8067         * tests/check/elements/filesrc.c: (GST_START_TEST):
8068         Revert pull-0 fix for release. Disable check. Fixes #347408.
8069
8070 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8071
8072         * libs/gst/dataprotocol/dataprotocol.c:
8073         (gst_dp_event_from_packet_1_0):
8074           Fixes #347337: failure to deserialize event packets with
8075           empty payload (only event type)
8076
8077 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8078
8079         * gst/Makefile.am:
8080           do not install a .c file in the header directory
8081
8082 2006-07-13  Edward Hervey  <edward@fluendo.com>
8083
8084         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8085         GhostPad no longer implicitely use the padtemplates of the targets.
8086         Fixes #347384
8087
8088 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
8089
8090         * gst/gstvalue.c: (gst_value_compare_list),
8091         (gst_value_compare_array), (_gst_value_initialize):
8092         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8093         Make GstValueArray comparison be order dependent as designed.
8094         Add checks for value lists and value array comparisons.
8095         Fixes #347221
8096
8097 2006-07-11  Edward Hervey  <edward@fluendo.com>
8098
8099         * gst/gstbin.c: (activate_pads),
8100         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
8101         (gst_bin_change_state_func):
8102         (de)activate src pads before calling state_change on the childs.
8103         This is to avoid the case where a src ghostpad is blocked (holding the
8104         stream lock), which would block the deactivation of the ghostpad's
8105         target pad.
8106         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
8107         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
8108         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
8109         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8110         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8111         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8112         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8113         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
8114         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
8115         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8116         (gst_ghost_pad_class_init),
8117         (gst_ghost_pad_internal_do_activate_push),
8118         (gst_ghost_pad_internal_do_activate_pull),
8119         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8120         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8121         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
8122         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
8123         GhostPads now create their internal GstProxyPad at creation (and not
8124         when they're linked, as it was being done previously).
8125         The internal and target pads are linked straight away.
8126         The data will also travel through the other pad in order to make
8127         pad blocking and probes non-hackish (the probe/block now really happens
8128         on the GhostPad and not on the target).
8129         * gst/gstpad.c: (gst_pad_set_blocked_async),
8130         (gst_pad_link_prepare), (gst_pad_push_event):
8131         Remove previous ghostpad cruft.
8132         * gst/gstutils.c: (gst_pad_add_data_probe),
8133         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8134         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8135         (gst_pad_remove_buffer_probe):
8136         Remove previous ghost pad cruft.
8137         Added more detailed debug statements.
8138         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8139         Fix the testsuite for refcounting changes.
8140         The comments about who has references were correct, but the refcount
8141         being checked wasn't the same (!?!).
8142
8143         Fixes #341029
8144
8145 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
8146
8147         * docs/gst/gstreamer-sections.txt:
8148         * gst/gstconfig.h.in:
8149         More docs for configuration options, add docs to gtk-doc.
8150
8151 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
8152
8153         * gst/Makefile.am:
8154         * gst/gstconfig.h.in:
8155         * win32/common/config.h:
8156         Fix build when disabling tracing (fixes #344016). Also start to document
8157         the defines that disable the sub-systems.
8158
8159 2006-07-10  Edward Hervey  <edward@fluendo.com>
8160
8161         * gst/gst.c: (ensure_current_registry_forking):
8162         let's make valgrind happy...
8163
8164 2006-07-09  Wim Taymans  <wim@fluendo.com>
8165
8166         * gst/gstelement.c: (activate_pads),
8167         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8168         Better pad activation code: Reset the collect value too on resync.
8169         Add some comments.
8170
8171 2006-07-09  Wim Taymans  <wim@fluendo.com>
8172
8173         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
8174         (gst_pad_activate_push):
8175         Use some more macros where it makes sense.
8176         Allow pad mode switching instead of asserting. When a pad
8177         is activated in one mode and we activate it in another, 
8178         deactivate it first before activating it in a different mode.
8179         Fixes #329198.
8180
8181 2006-07-08  Andy Wingo  <wingo@pobox.com>
8182
8183         * tools/gst-launch.c (main): Handle err == NULL.
8184
8185         * gst/gst.c (init_post, ensure_current_registry)
8186         (ensure_current_registry_forking)
8187         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
8188         factoring out the registry scanning into separate functions. Don't
8189         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
8190         Better environment var name/interface suggestions accepted.
8191
8192 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8193
8194         * gst/gstobject.c: (gst_object_set_name_default),
8195         (gst_object_set_name):
8196           Random micro-optimisation: don't use a hash table
8197           with strings as keys and the usual strdup/strcmp
8198           involved, but rather just use the GQuark of the
8199           type name as key, since it needs to be looked up
8200           anyway to get the type name string.
8201
8202         * tests/check/gst/gstobject.c: (GST_START_TEST):
8203           Fix various leaks.
8204
8205 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8206
8207         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
8208         (gst_bin_iterate_all_by_interface):
8209           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
8210           GTypes are gulongs and thus the top 4 bytes might be cut
8211           off on some platforms when doing GPOINTER_TO_INT, leading
8212           to invalid GTypes and bad things happening (see RH bug #179654).
8213           Also add a check to make sure the type passed in is really
8214           an interface type.
8215
8216 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8217
8218         * .cvsignore:
8219           Ignore more.
8220
8221 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8222
8223         * Makefile.am:
8224         * configure.ac:
8225         * gst-element-check.m4:
8226         * gst-element-check.m4.in:
8227           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
8228           instead of the unversioned gst-inspect (#324176, #168659).
8229
8230 2006-07-06  Wim Taymans  <wim@fluendo.com>
8231
8232         * gst/gstmessage.h:
8233         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
8234         warnings.
8235
8236 2006-07-06  Wim Taymans  <wim@fluendo.com>
8237
8238         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8239         (gst_base_src_wait), (gst_base_src_update_length),
8240         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
8241         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
8242         (gst_base_src_loop), (gst_base_src_start),
8243         (gst_base_src_activate_pull):
8244         Update docs.
8245         blocksize == 0 now means the default blocksize when working in push
8246         based mode.
8247         Remove some pointless asserts in _wait function.
8248         Fix offset/length calculations and EOS handling. We can now pull 0
8249         bytes as well, which is allowed.
8250         use _check_get_range() to decide if we can operate in _pull based
8251         mode.
8252         Fix refcounting leak when check_get_range function was not 
8253         implemented.
8254         API GstBaseSrc::blocksize range can be 0 too now (default)
8255
8256         * tests/check/elements/filesrc.c: (GST_START_TEST),
8257         (filesrc_suite):
8258         Added check to test _get_range() behaviour.
8259
8260 2006-07-06  Wim Taymans  <wim@fluendo.com>
8261
8262         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8263         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
8264         (gst_pad_pull_range):
8265         * gst/gstpad.h:
8266         Lots of comments and docs added to the pad functions.
8267         Flesh out the expected behaviour of the get_range() functions.
8268
8269 2006-07-06  Wim Taymans  <wim@fluendo.com>
8270
8271         * gst/gstbus.h:
8272         * gst/gstclock.h:
8273         * gst/gstevent.h:
8274         * gst/gstiterator.h:
8275         * gst/gstpad.h:
8276         * gst/gstplugin.h:
8277         * gst/gsttask.h:
8278         Remove comma at end of enumerator list. 
8279
8280 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
8281
8282         * win32/common/libgstbase.def:
8283         * win32/common/libgstdataprotocol.def:
8284         * win32/common/libsgtreamer.def:
8285         Add new exported functions.
8286
8287 2006-07-05  Wim Taymans  <wim@fluendo.com>
8288
8289         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
8290         Add some more docs here and there.
8291
8292 2006-07-05  Wim Taymans  <wim@fluendo.com>
8293
8294         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
8295         (gst_base_sink_loop), (gst_base_sink_get_position):
8296         When operating in pull mode update the offset so that we
8297         read sequentially.
8298
8299 2006-07-05  Wim Taymans  <wim@fluendo.com>
8300
8301         * gst/gstregistryxml.c: (read_string):
8302         Avoid strdup. (will happen in libxml, but hey!)
8303
8304         * gst/gsturi.c:
8305         Add some more docs.
8306
8307 2006-07-05  Wim Taymans  <wim@fluendo.com>
8308
8309         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
8310         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8311         (gst_buffer_suite):
8312         No point in checking if the size of the subbuffer > 0, the
8313         code handles it correclty as demonstrated by unit test.
8314         Also add a unit test for the zero sized _new_and_alloc and
8315         _copy. Fixes #346663.
8316
8317 2006-07-05  Wim Taymans  <wim@fluendo.com>
8318
8319         * libs/gst/base/gstbasetransform.c:
8320         (gst_base_transform_prepare_output_buffer),
8321         (gst_base_transform_buffer_alloc),
8322         (gst_base_transform_handle_buffer):
8323         Make sure the buffer we pass to transform_ip has a refcount of
8324         1 and thus is writable. Fixes #343196
8325
8326 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
8327
8328         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8329         (gst_file_src_init), (gst_file_src_set_property),
8330         (gst_file_src_get_property), (gst_file_src_map_region):
8331         * plugins/elements/gstfilesrc.h:
8332         Add "sequential" property, off by default, to use madvise and hint
8333         to the kernel that sequential access is desired.
8334         Touch all retrieved pages by default to ensure they are pulled
8335         into memory. (Closes #345720)
8336
8337 2006-07-03  Wim Taymans  <wim@fluendo.com>
8338
8339         * docs/design/part-block.txt:
8340         * docs/design/part-dynamic.txt:
8341         Small docs updates.
8342
8343 2006-07-03  Wim Taymans  <wim@fluendo.com>
8344
8345         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
8346         (gst_caps_unref), (gst_static_caps_get),
8347         (gst_caps_append_structure):
8348         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
8349         Use GSlice when the glib we build against is >= 2.10
8350
8351 2006-07-03  Wim Taymans  <wim@fluendo.com>
8352
8353         * gst/gstelement.c: (gst_element_pads_activate):
8354         Small cleanup in pad activation code.
8355
8356 2006-07-03  Wim Taymans  <wim@fluendo.com>
8357
8358         Patch by: Peter Kjellerstedt <pkj at axis dot com>
8359
8360         * gst/gst-i18n-app.h:
8361         * gst/gst-i18n-lib.h:
8362         * tools/gst-inspect.c: (print_signal_info):
8363         The attached patch will make the inclusion of gettext.h unconditional in
8364         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
8365         libintl.h in tools/gst-inspect.c.
8366         This allows use of --disable-nls again and fixes #344642.
8367
8368 2006-07-03  Edward Hervey  <edward@fluendo.com>
8369
8370         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
8371         Implement pad blocking on events according to part-block.txt.
8372         More comments on behaviour.
8373         * tests/check/gst/gstevent.c: (test_event):
8374         Send event to peer pad of blocked pad (else it will block).
8375
8376 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8377
8378         * libs/gst/check/gstcheck.c: (gst_check_message_error),
8379         (gst_check_run_suite):
8380           if we get the wrong message, give us the types as string
8381         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8382           Fix a translatable
8383         * tests/check/elements/filesrc.c: (GST_START_TEST):
8384           add a test for trying to open a non-existing file
8385
8386 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8387
8388         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8389           add a test for adding self
8390
8391 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8392
8393         * libs/gst/check/gstcheck.h:
8394           add some assert_ as alias for fail_unless_*
8395         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
8396           increase test coverage
8397
8398 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8399
8400         * Makefile.am:
8401           include lcov.mak for lcov coverage generation
8402         * tools/Makefile.am:
8403           add to CLEANFILES
8404
8405 2006-07-02  Edward Hervey  <edward@fluendo.com>
8406
8407         * tests/check/elements/.cvsignore:
8408         moaping
8409
8410 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8411
8412         * configure.ac:
8413           don't set CFLAGS and friends for gcov, done from GST_GCOV now
8414         * tests/check/Makefile.am:
8415           clean up gcov files
8416
8417 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8418
8419         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
8420           remove gst_caps_simplify; it was not declared and not used
8421           and deprecated in 0.8
8422
8423 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8424
8425         * docs/faq/gst-uninstalled:
8426           don't put empty paths on PYTHONPATH
8427         * docs/gst/gstreamer-sections.txt:
8428           remove some symbols that are not there
8429
8430 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8431
8432         * gst/gstcaps.c: (gst_caps_compare_structures):
8433           whitespace fixes
8434         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8435         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8436           add more tests
8437
8438 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8439
8440         * libs/gst/dataprotocol/Makefile.am:
8441           build dataprotocol test by linking to the lib, instead of
8442           compiling the source, so we get coverage
8443         * tests/check/Makefile.am:
8444         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
8445         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
8446           add a test for filesrc
8447
8448 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8449
8450         * tests/check/gst/gststructure.c: (GST_START_TEST),
8451         (gst_structure_suite):
8452           Push coverage from 59.04% to 70.00%
8453
8454 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8455
8456         * tests/check/Makefile.am:
8457           gst-inspect every element; this makes sure that we also get
8458           coverage on element's get/set functions
8459
8460 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8461
8462         * configure.ac:
8463           set CFLAGS and friends to -O0 if gcov is being used
8464           add GCOV LIBS
8465         * gst/Makefile.am:
8466         * libs/gst/base/Makefile.am:
8467         * libs/gst/check/Makefile.am:
8468         * libs/gst/controller/Makefile.am:
8469         * libs/gst/dataprotocol/Makefile.am:
8470         * libs/gst/net/Makefile.am:
8471         * plugins/elements/Makefile.am:
8472         * plugins/indexers/Makefile.am:
8473           add makefile rules to generate gcov data and clean up
8474         * tests/check/Makefile.am:
8475           add a coverage target that generates an html overview
8476           of coverage data
8477
8478 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8479
8480         * tests/check/elements/fakesink.c:
8481         * tests/check/elements/fakesrc.c:
8482         * tests/check/elements/fdsrc.c:
8483         * tests/check/elements/identity.c:
8484         * tests/check/generic/sinks.c: (gst_sinks_suite):
8485         * tests/check/generic/states.c:
8486         * tests/check/gst/gst.c:
8487         * tests/check/gst/gstabi.c:
8488         * tests/check/gst/gstbin.c:
8489         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
8490         * tests/check/gst/gstbus.c: (gst_bus_suite):
8491         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8492         * tests/check/gst/gstelement.c:
8493         * tests/check/gst/gstevent.c: (gst_event_suite):
8494         * tests/check/gst/gstghostpad.c:
8495         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
8496         * tests/check/gst/gstmessage.c: (gst_message_suite):
8497         * tests/check/gst/gstminiobject.c:
8498         * tests/check/gst/gstobject.c:
8499         * tests/check/gst/gstpad.c:
8500         * tests/check/gst/gstpipeline.c:
8501         * tests/check/gst/gstplugin.c:
8502         * tests/check/gst/gstquery.c: (gst_query_suite):
8503         * tests/check/gst/gstsegment.c: (gst_segment_suite):
8504         * tests/check/gst/gststructure.c:
8505         * tests/check/gst/gstsystemclock.c:
8506         * tests/check/gst/gsttag.c:
8507         * tests/check/gst/gsttask.c: (gst_task_suite):
8508         * tests/check/gst/gstutils.c:
8509         * tests/check/gst/gstvalue.c:
8510         * tests/check/libs/adapter.c:
8511         * tests/check/libs/basesrc.c:
8512         * tests/check/libs/collectpads.c:
8513         * tests/check/libs/controller.c:
8514         * tests/check/libs/gdp.c: (gst_dp_suite):
8515         * tests/check/libs/gstnetclientclock.c:
8516         * tests/check/libs/gstnettimeprovider.c:
8517         * tests/check/libs/libsabi.c: (libsabi_suite):
8518         * tests/check/libs/typefindhelper.c:
8519         * tests/check/pipelines/cleanup.c:
8520         * tests/check/pipelines/parse-launch.c:
8521         * tests/check/pipelines/simple-launch-lines.c:
8522         * tests/check/pipelines/stress.c: (stress_suite):
8523           use the new macro
8524
8525 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8526
8527         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
8528         * libs/gst/check/gstcheck.h:
8529           create a macro and function so that the simple unit test
8530           case can be just one macro to create main()
8531
8532 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
8533
8534         * gst/gstbin.c: (gst_bin_restore_thyself):
8535         * gst/gstxml.c: (gst_xml_make_element):
8536           Fix deserialisation from XML. Set parent manually
8537           instead of using gst_bin_add(), since gst_bin_add()
8538           will unlink all pads of the element being added.
8539           Fixes #341667.
8540
8541 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
8542
8543         Patch by: Peter Kjellerstedt <pkj at axis com>
8544
8545         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
8546           Fix missing g_strdup() and double free when using the
8547           --gst-plugin-load command line option (#346097).
8548
8549 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8550
8551         * gst/gstinfo.c:
8552           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
8553
8554         * libs/gst/net/gstnetclientclock.c:
8555         * libs/gst/net/gstnettimeprovider.c:
8556           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
8557
8558 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8559
8560         * docs/manual/advanced-dataaccess.xml:
8561           Fix buffer probe example compilation in
8562           ADM (#345708).
8563         
8564 2006-06-22  Edward Hervey  <edward@fluendo.com>
8565
8566         * gst/gstelement.c: (gst_element_pads_activate):
8567         We need to deactivate src pads first and then sink pads.
8568         The reason is the src pads might be blocking while holding the streaming
8569         lock, so we need to deactivate them first so that deactivating the sink
8570         pads doesn't block (since it will require the streaming lock).
8571
8572 2006-06-22  Wim Taymans  <wim@fluendo.com>
8573
8574         * libs/gst/base/gstbasetransform.c:
8575         (gst_base_transform_buffer_alloc):
8576         Forgot to remove two unneeded unrefs.
8577         Simplify a check _is_equal allready checks the obvious case.
8578
8579 2006-06-22  Wim Taymans  <wim@fluendo.com>
8580
8581         * docs/design/part-block.txt:
8582         Some docs about what pad_block should do.
8583
8584 2006-06-22  Wim Taymans  <wim@fluendo.com>
8585
8586         * gst/gstcaps.c: (gst_caps_replace):
8587         Fix crasher when passed NULL. Doc clarification.
8588         Optimize for the trivial case.
8589
8590         * gst/gstpipeline.c: (gst_pipeline_change_state):
8591         Small cleanups.
8592
8593         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8594         Small documentation cleanup.
8595
8596         * libs/gst/base/gstbasetransform.c:
8597         (gst_base_transform_buffer_alloc):
8598         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
8599         is what we need and it avoids a whole lot of redundant 
8600         refcount operations.
8601
8602 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
8603
8604         Patch by: Philip Jägenstedt  <philip at lysator liu se>
8605
8606         * docs/manual/advanced-dataaccess.xml:
8607           Fix 'Embedding static elements' section to use
8608           GST_PLUGIN_DEFINE_STATIC (#345607).
8609
8610 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8611
8612         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
8613           Attempt to 'fix' spuriously failing test case: it seems like the
8614           timeout of half a second is simply too small when the system is under
8615           load otherwise, and the timeout doesn't really seem to serve any
8616           particular purpose here. Give the pipeline a few seconds to preroll
8617           first, and then give it another half a second to go from PAUSED to
8618           PLAYING and marshal the message into the main thread.
8619
8620 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8621
8622         * tools/gst-feedback-m.m:
8623           Don't only use unversioned tools, try versioned tools as well
8624           (#345086).
8625
8626 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8627
8628         * gst/gstbus.c: (gst_bus_class_init):
8629           Fix some typos, make docs more explicit.
8630
8631 2006-06-20  Wim Taymans  <wim@fluendo.com>
8632
8633         * tests/check/gst/gstghostpad.c: (block_callback),
8634         (GST_START_TEST), (gst_ghost_pad_suite):
8635         Added some more ghostpad tests, mainly blocking
8636         and probes.
8637
8638 2006-06-16  Wim Taymans  <wim@fluendo.com>
8639
8640         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8641         (gst_file_sink_close_file), (gst_file_sink_do_seek),
8642         (gst_file_sink_event), (gst_file_sink_render):
8643         * plugins/elements/gstfilesink.h:
8644         Check if we can seek in the file instead of assuming
8645         we always can. Post an error when we are asked to seek in a
8646         non-seekable file (like a fifo). Fixes #343312.
8647         Some cleanups.
8648
8649 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8650
8651         * tools/gst-launch.1.in:
8652           Un-garble (fourcc) bit in filtered caps section.
8653
8654 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8655
8656         * docs/manual/advanced-autoplugging.xml:
8657         * docs/manual/basics-helloworld.xml:
8658         * docs/manual/highlevel-components.xml:
8659           Don't leak bus reference in sample code.
8660
8661 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
8662
8663         * autogen.sh:
8664           Add default for new --enable-plugin-docs switch.
8665
8666         * configure.ac:
8667           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
8668           Fixes #344039.
8669
8670         * docs/Makefile.am:
8671           Use new ENABLE_PLUGIN_DOCS conditional.
8672
8673 2006-06-14  Wim Taymans  <wim@fluendo.com>
8674
8675         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
8676         Make it clear with a FIXME and a real define what the #if 0
8677         previously disabled.
8678
8679 2006-06-14  Wim Taymans  <wim@fluendo.com>
8680
8681         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8682         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8683         * libs/gst/base/gstbasetransform.c:
8684         (gst_base_transform_sink_eventfunc):
8685         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8686         Don't randomly and silently reset a segment when the format 
8687         changes as this is a bug somewhere upstream. Fixes #330379.
8688
8689 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8690
8691         Patch by: Wouter Paesen  <wouter at kangaroot net>
8692
8693         * libs/gst/controller/gstcontroller.c:
8694         (gst_controlled_property_new):
8695           Fix controlling of float properties (#344849).
8696
8697         * tests/check/libs/controller.c:
8698         (gst_test_mono_source_get_property),
8699         (gst_test_mono_source_set_property),
8700         (gst_test_mono_source_class_init), (GST_START_TEST):
8701           While we're at it, add some float stuff to unit test.
8702
8703 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8704
8705         * docs/README:
8706         * docs/images/gdp-header.svg:
8707           add a gdp image
8708         * docs/libs/Makefile.am:
8709         * docs/libs/gdp-header.png:
8710         * libs/gst/dataprotocol/dataprotocol.c:
8711           add it to the API docs
8712         * docs/manual/intro-motivation.xml:
8713           fix typo
8714
8715 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8716
8717         * gst/gst.c: (scan_and_update_registry), (init_post):
8718           If the fork()'ed child process can't write the updated registry cache
8719           file to disk for some reason, make it exit with a failure exit code,
8720           so that the parent can then re-scan the plugins itself and update the
8721           registry structures in memory and work with that (rather than failing
8722           when creating elements because seemingly no plugins are available).
8723           Refactor registry scanning code into separate function for this and
8724           also separate fork() and non-fork() code paths. Fixes #344748.
8725
8726 2006-06-13  Wim Taymans  <wim@fluendo.com>
8727
8728         * docs/manual/advanced-dataaccess.xml:
8729         Fix wrong PluginDesc. Fixes #344755.
8730
8731 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8732
8733         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8734           Fix silly bug that prevented us from creating
8735           ~/.gstreamer-0.10 and writing the registry in one
8736           go (the first call to g_mkstemp() would overwrite the
8737           placeholder in the template string, so the second call
8738           to g_mkstemp() after creating the missing directory
8739           would then error out with 'invalid argument').
8740
8741 2006-06-13  Edward Hervey  <edward@fluendo.com>
8742
8743         * gst/gst.c: (init_post):
8744         Free string.
8745
8746 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8747
8748         * gst/glib-compat-private.h:
8749         * gst/glib-compat.c:
8750         * gst/glib-compat.h:
8751         * gst/gstvalue.c: (gst_value_serialize_flags):
8752           remove GLib 2.6 compatibility code
8753
8754 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
8755
8756         * gst/parse/Makefile.am:
8757           Fix build with 'make -j N' even more (#340016).
8758
8759 2006-06-12  Wim Taymans  <wim@fluendo.com>
8760
8761         * docs/gst/gstreamer-sections.txt:
8762         Fix docs.
8763
8764 2006-06-12  Wim Taymans  <wim@fluendo.com>
8765
8766         * gst/gstsegment.c: (gst_segment_set_duration),
8767         (gst_segment_set_last_stop), (gst_segment_set_seek),
8768         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8769         (gst_segment_to_running_time), (gst_segment_clip):
8770         Use G_UNLIKELY to help the compiler a bit.
8771
8772 2006-06-12  Wim Taymans  <wim@fluendo.com>
8773
8774         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8775
8776         * gst/gstevent.c: (gst_event_get_type):
8777         * gst/gstmessage.c:
8778         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8779         (gst_pad_push):
8780         constify quark registration strings. Fixes #344115
8781         Avoid unneeded type checking is _pad_push() by internally
8782         calling gst_pad_chain_unchecked().
8783
8784 2006-06-12  Wim Taymans  <wim@fluendo.com>
8785
8786         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
8787         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
8788         (gst_subbuffer_finalize), (gst_buffer_create_sub),
8789         (gst_buffer_is_span_fast), (gst_buffer_span):
8790         Init _type for consistency.
8791         Use _FLAGS macro to avoid type check.
8792         Avoid unneeded type checks in subbufer code.
8793
8794 2006-06-12  Wim Taymans  <wim@fluendo.com>
8795
8796         * gst/gst.c: (gst_debug_help):
8797         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
8798         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8799         (gst_plugin_feature_list_free):
8800         * gst/gstregistry.c: (gst_registry_add_plugin),
8801         (gst_registry_add_feature), (gst_registry_plugin_filter),
8802         (gst_registry_feature_filter), (gst_registry_find_plugin),
8803         (gst_registry_find_feature), (gst_registry_get_plugin_list),
8804         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
8805         * gst/gstregistryxml.c: (load_feature),
8806         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
8807         * gst/gstminiobject.c: (gst_mini_object_unref),
8808         (gst_mini_object_replace), (gst_value_mini_object_free),
8809         (gst_value_mini_object_copy):
8810         Use _CAST macros to avoid unneeded type checking.
8811         Added some more G_UNLIKELY.
8812
8813 2006-06-12  Wim Taymans  <wim@fluendo.com>
8814
8815         * gst/gstbuffer.h:
8816         Avoid unneeded type checking.
8817         API: GST_BUFFER_IS_DISCONT
8818
8819         * gst/gstminiobject.h:
8820         Avoid type check in flag accessor.
8821
8822         * gst/gstelementfactory.h:
8823         * gst/gstplugin.h:
8824         * gst/gstpluginfeature.h:
8825         Add _CAST macros.
8826         API: GST_ELEMENT_FACTORY_CAST
8827         API: GST_PLUGIN_CAST
8828         API: GST_PLUGIN_FEATURE_CAST
8829
8830 2006-06-12  Wim Taymans  <wim@fluendo.com>
8831
8832         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
8833         (gst_object_unref):
8834         Add G_UNLIKELY in type registration.
8835         Avoid type check in _ref/_unref since that is also
8836         done in glib.
8837
8838 2006-06-12  Wim Taymans  <wim@fluendo.com>
8839
8840         * gst/gsterror.c: (gst_g_error_get_type):
8841         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
8842         (gst_static_pad_template_get_type):
8843         * gst/gsttaglist.c: (gst_tag_list_get_type):
8844         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
8845         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
8846         * gst/gsturi.c: (gst_uri_handler_get_type):
8847         * gst/gstvalue.c: (gst_date_get_type):
8848         * gst/gstxml.c: (gst_xml_get_type):
8849         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
8850         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8851         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
8852         Add G_UNLIKELY in type registration.
8853
8854 2006-06-12  Wim Taymans  <wim@fluendo.com>
8855
8856         * tools/gst-inspect.c: (print_signal_info):
8857         Properly print enum values.
8858
8859 2006-06-12  Wim Taymans  <wim@fluendo.com>
8860
8861         * gst/gstinfo.c: (gst_debug_set_active),
8862         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
8863         * gst/gstinfo.h:
8864         Add some G_[UN]LIKELY.
8865         Maintain __gst_debug_min to avoid formatting the arguments of
8866         debug messages that will be dropped anyway to avoid a lot of 
8867         overhead from the debugging system.
8868
8869 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8870
8871         * po/POTFILES.in:
8872         * po/POTFILES.skip:
8873           add missing files containing translatable strings, tell intltool about
8874           one exception
8875
8876 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8877
8878         * tests/check/libs/.cvsignore:
8879         add test-binary to ignore list
8880
8881 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8882
8883         * docs/libs/gstreamer-libs-docs.sgml:
8884         reorder (put dp into a chapter) and indent
8885
8886 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8887
8888         * configure.ac:
8889           back to HEAD
8890
8891 === release 0.10.8 ===
8892
8893 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
8894
8895         * configure.ac:
8896           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
8897
8898 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8899
8900         * gst/gst.c: (init_post):
8901           move pid declaration to declaration block
8902
8903 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8904
8905         * gst/gst.c: (init_post):
8906           use _exit() instead of exit() in our forked child; this ensures
8907           that none of the registered exit handlers from whatever is using
8908           GStreamer get executed.  This fixes gnome-mixer-applet failing
8909           to load, because ORBit would shut down.
8910           Spotted by: Edward Hervey  <edward@fluendo.com>
8911           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
8912           Fixes #344474
8913
8914 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8915
8916         * configure.ac:
8917           back to TRUNK
8918
8919 === release 0.10.7 ===
8920
8921 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
8922
8923         * configure.ac:
8924           releasing 0.10.7, "Soepeke, ik zie ou"
8925
8926 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8927
8928         * configure.ac:
8929         * po/af.po:
8930         * po/az.po:
8931         * po/bg.po:
8932         * po/ca.po:
8933         * po/cs.po:
8934         * po/de.po:
8935         * po/en_GB.po:
8936         * po/fr.po:
8937         * po/it.po:
8938         * po/nb.po:
8939         * po/nl.po:
8940         * po/ru.po:
8941         * po/sq.po:
8942         * po/sr.po:
8943         * po/sv.po:
8944         * po/tr.po:
8945         * po/uk.po:
8946         * po/vi.po:
8947         * po/zh_CN.po:
8948         * po/zh_TW.po:
8949         * win32/common/config.h:
8950           0.10.6.2 prerelease
8951
8952 2006-06-07  Wim Taymans  <wim@fluendo.com>
8953
8954         * gst/gstindex.c: (gst_index_gtype_resolver):
8955         * tools/gst-xmlinspect.c: (print_plugin_info):
8956         Fix leak spotted by coverity checker. Fixes #343827
8957         Fix another other leak found by paolo borelli.
8958
8959 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8960
8961         * libs/gst/dataprotocol/dataprotocol.c:
8962         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
8963         (gst_dp_version_get_type), (gst_dp_init),
8964         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
8965         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
8966         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
8967         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
8968         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
8969         (gst_dp_packetizer_free):
8970         * libs/gst/dataprotocol/dataprotocol.h:
8971           API: add a GstDPPacketizer object, and create/free functions
8972           API: add GstDPVersion enum
8973           Add 1.0 event function that uses the string serialization
8974           Serialize more useful buffer flags
8975           Fixes #343988
8976
8977 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8978
8979         * tests/check/Makefile.am:
8980         * tests/check/gst/gstabi.c:
8981         * tests/check/gst/struct_ppc64.h:
8982         * tests/check/libs/libsabi.c:
8983         * tests/check/libs/struct_ppc64.h:
8984           add ppc64 structure sizes
8985
8986 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8987
8988         * tests/check/Makefile.am:
8989         * tests/check/gst/gstabi.c:
8990         * tests/check/gst/struct_x86_64.h:
8991         * tests/check/libs/libsabi.c:
8992         * tests/check/libs/struct_x86_64.h:
8993           generate and add structure size lists for x86_64
8994
8995 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8996
8997         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8998         * libs/gst/check/gstcheck.h:
8999           factor out the method from tests that checks size of structures,
9000           and add code to generate the header containing these sizes
9001         * tests/check/gst/gstabi.c: (GST_START_TEST):
9002         * tests/check/gst/struct_i386.h:
9003         * tests/check/libs/libsabi.c: (GST_START_TEST):
9004         * tests/check/libs/struct_i386.h:
9005           use it
9006
9007 2006-06-06  Michael Smith  <msmith@fluendo.com>
9008
9009         * gst/gstsegment.h:
9010           Don't use c++-style comments, fixes #343929
9011
9012 2006-06-05  Edward Hervey  <edward@fluendo.com>
9013
9014         * gst/gst.c:
9015         plugin_paths is not used if we build without registry support.
9016
9017         * gst/gstsegment.c: (gst_segment_copy): 
9018         _copy() was always returning NULL...
9019
9020 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9021
9022         * libs/gst/dataprotocol/dataprotocol.c:
9023         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9024         (gst_dp_packet_from_event):
9025           factor out CRC code
9026
9027 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9028
9029         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
9030           make sure we unset caps
9031
9032 2006-06-02  Michael Smith  <msmith@fluendo.com>
9033
9034         * libs/gst/check/gstcheck.c: (gst_check_init),
9035         (gst_check_chain_func):
9036         * libs/gst/check/gstcheck.h:
9037           Add a cond/mutex to the check support lib, signal this whenever we
9038           add to the buffers list. This will allow tests to not busy-wait on
9039           the buffer-list.
9040
9041 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9042
9043         * libs/gst/dataprotocol/dataprotocol.c:
9044         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9045         (gst_dp_packet_from_event):
9046           factor out some common header init code
9047
9048 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9049
9050         * docs/libs/gstreamer-libs-sections.txt:
9051         * docs/libs/tmpl/gstdataprotocol.sgml:
9052         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
9053         * libs/gst/dataprotocol/dataprotocol.h:
9054           API: make gst_dp_crc() public
9055
9056 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
9057
9058         * plugins/indexers/gstindexers.c: (plugin_init):
9059         conditionally register fileindexer (fixes #343598)
9060
9061 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
9062
9063         * gst/gsttagsetter.h:
9064         Can't cast ifaces to a class
9065
9066         * libs/gst/net/gstnetclientclock.h:
9067         * libs/gst/net/gstnettimeprovider.h:
9068         * plugins/elements/gstfakesink.h:
9069         * plugins/elements/gstfakesrc.h:
9070         * plugins/elements/gstfdsink.h:
9071         * plugins/elements/gstfdsrc.h:
9072         * plugins/elements/gstfilesink.h:
9073         * plugins/elements/gstfilesrc.h:
9074         * plugins/elements/gstidentity.h:
9075         * plugins/elements/gstqueue.h:
9076         * plugins/elements/gsttee.h:
9077         * plugins/indexers/gstfileindex.c:
9078         * plugins/indexers/gstmemindex.c:
9079         * tests/old/examples/plugins/example.h:
9080         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
9081
9082 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9083
9084         * libs/gst/dataprotocol/dataprotocol.c:
9085         (gst_dp_header_from_buffer):
9086           make sure we zero the whole ABI-compatible area
9087
9088 2006-06-01  Wim Taymans  <wim@fluendo.com>
9089
9090         Patch by: Alessandro Decina <alessandro at nnva dot org>
9091
9092         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
9093         Make sure the EOS flag is cleared from pads after a flush
9094         or stop. Fixes #343538.
9095
9096         * tests/check/libs/collectpads.c: (GST_START_TEST),
9097         (gst_collect_pads_suite):
9098         Added test for collectpads reusage after EOS.
9099
9100 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
9101
9102         * gst/gst.c:
9103          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
9104         * win32/common/libgstbase.def:
9105          export gst_collect_pads_set_flushing
9106         * win32/common/libgstreamer.def:
9107          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
9108          gst_value_fraction_multiply
9109         * win32/vs6/gst_inspect.dsp:
9110          add a link to intl.lib
9111
9112 2006-05-30  Wim Taymans  <wim@fluendo.com>
9113
9114         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9115         (gst_collect_pads_chain):
9116         Handle the case where a pad is removed from the collection
9117         that could cause the other pads to become collectable.
9118
9119 2006-05-30  Wim Taymans  <wim@fluendo.com>
9120
9121         * gst/gstelement.c:
9122         Clarify the use of _release_request_pad() and
9123         _get_request_pad() a bit better.
9124
9125         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
9126         (gst_adapter_take_buffer):
9127         Fix some doc and comment typos.
9128
9129 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9130
9131         * docs/gst/gstreamer-sections.txt:
9132         * docs/libs/gstreamer-libs-sections.txt:
9133           add declared symbols
9134
9135 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
9136
9137         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9138         Add debug that can be enabled using a #define at the top of the file,
9139         for dumping stats about how late/early we were when waking up from
9140         waiting on the clock.
9141
9142 2006-05-30  Wim Taymans  <wim@fluendo.com>
9143
9144         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
9145         When rebuilding the pad list, don't leak the previous list.
9146
9147 2006-05-30  Wim Taymans  <wim@fluendo.com>
9148
9149         Patch by: Lutz Mueller <lutz at topfrose dot de>
9150
9151         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9152         (gst_base_src_get_query_types), (gst_base_src_update_length):
9153         Publish supported query types.
9154         Update last_stop field in get_range mode so the position
9155         query works. Fixes #342321.
9156
9157 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
9158
9159         * docs/gst/gstreamer-sections.txt:
9160         * gst/gsttaglist.c: (_gst_tag_initialize):
9161         * gst/gsttaglist.h:
9162           API: add GST_TAG_PREVIEW_IMAGE (#343341).
9163
9164 2006-05-30  Wim Taymans  <wim@fluendo.com>
9165
9166         Patch by: Alessandro Decina <alessandro at nnva dot org>
9167
9168         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9169         Unlock mutex when removing an unknown pad.
9170         Fixes #343334.
9171
9172         * tests/check/Makefile.am:
9173         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
9174         (push_event), (setup), (teardown), (GST_START_TEST),
9175         (gst_collect_pads_suite), (main):
9176         Added collecpads check, disabled for now as check crashes for
9177         some reason.
9178
9179 2006-05-29  Wim Taymans  <wim@fluendo.com>
9180
9181         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
9182         Don't leak pads lists.
9183
9184 2006-05-29  Wim Taymans  <wim@fluendo.com>
9185
9186         * docs/libs/gstreamer-libs-sections.txt:
9187         * libs/gst/base/gstcollectpads.c:
9188         (gst_collect_pads_set_flushing_unlocked),
9189         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9190         (gst_collect_pads_stop):
9191         * libs/gst/base/gstcollectpads.h:
9192         API: gst_collect_pads_set_flushing()
9193         Added api to set the pads to flushing, useful for seeking
9194         code in elements using collectpads.
9195         Clear segment when receiving a flush.
9196
9197 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
9198
9199         * gst/gst.c: (add_path_func), (init_post):
9200           Don't scan registry paths passed via --gst-plugin-path immediately
9201           (will crash, because absolutely nothing is set up and no types are
9202           registered etc.); do this later in init_post(). Fixes #343057.
9203
9204 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9205
9206         * gst/gst.c: (init_post):
9207           if we have fork, fork while reading/rebuilding the registry
9208           so the parent doesn't take the hit of having all plugins loaded
9209           in memory.  Fixes #342777.
9210         * configure.ac:
9211           Check if we have fork()
9212         * win32/common/config.h.in:
9213           no fork() on win32
9214
9215 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9216
9217         * plugins/elements/gstelements.c:
9218         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9219         (gst_file_src_init), (gst_file_src_set_property),
9220         (gst_file_src_get_property), (gst_file_src_start):
9221         * plugins/elements/gstfilesrc.h:
9222           API: GstFileSrc::use-mmap
9223
9224         Add a use-mmap property to enable easier testing of all code paths.
9225         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
9226         in the absence of gnomevfssrc. (Closes #340501)
9227
9228 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9229
9230         * tools/gst-inspect.c:
9231         Add missing include, removes warning of ngettext not being defined on
9232         some arches.
9233
9234 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9235
9236         * gst/gstvalue.c: (gst_value_deserialize_fraction):
9237         Handle NULL input and output pointers silently as a failed conversion,
9238         rather than g_warnings.
9239
9240 2006-05-25  Wim Taymans  <wim@fluendo.com>
9241
9242         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
9243         Initialize variable before using. Fixes #342820.
9244
9245 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
9246
9247         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
9248           Fix off-by-one bug that would only allow peeks of N-1 bytes
9249           from the start even if the buffer to typefind on contains
9250           in fact N bytes of data (makes vorbis typefinding from a
9251           vorbis identification header buffer work).
9252
9253         * tests/check/Makefile.am:
9254         * tests/check/libs/.cvsignore:
9255         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
9256         (gst_typefindhelper_suite), (main), (foobar_typefind),
9257         (plugin_init):
9258           Add very basic unit test for gst_type_find_helper_for_buffer()
9259           that checks for the problem fixed above.
9260
9261 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9262
9263         * tools/gst-inspect.c: (print_interfaces),
9264         (print_element_properties_info), (print_element_list), (main):
9265           add more translatable strings
9266
9267 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
9268
9269         Patch by: Julien Moutte  <julien at moutte net>
9270
9271         * docs/gst/gstreamer-sections.txt:
9272           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
9273           
9274         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9275         (gst_fake_sink_preroll):
9276         * plugins/elements/gstfakesink.h:
9277           API: Add new GstFakeSink::preroll-handoff signal (#337100).
9278
9279 2006-05-23  Wim Taymans  <wim@fluendo.com>
9280
9281         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
9282         * gst/gstpad.h:
9283         Added _CUSTOM error and success GstFlowReturn that can be
9284         used be elements internally. 
9285         Added macro to check for SUCCESS flowreturns.
9286         API: GST_FLOW_CUSTOM_SUCCESS
9287         API: GST_FLOW_CUSTOM_ERROR
9288         API: GST_FLOW_IS_SUCCESS
9289
9290         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
9291         Added check for GstFlowReturn sanity.
9292
9293 2006-05-23  Wim Taymans  <wim@fluendo.com>
9294
9295         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9296
9297         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9298         (gst_collect_pads_event):
9299         clear/reset segment info in FLUSH_STOP.
9300         Fixes #336929.
9301
9302 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
9303
9304         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
9305         (gst_collect_pads_check_collected):
9306         Flush queued buffer on _stop(), fixes playing again (#342454)
9307
9308 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9309
9310         * tests/check/gst/gststructure.c: (GST_START_TEST),
9311         (gst_structure_suite):
9312           add a test for a complete structure
9313
9314 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9315
9316         * docs/faq/developing.xml:
9317         * docs/faq/faq.xml:
9318         * docs/faq/troubleshooting.xml:
9319         * docs/faq/using.xml:
9320           Some minor FAQ updates that won't change the fact that
9321           our FAQ is badly structured, full of information hardly
9322           anyone new to GStreamer needs to know and lacking lots
9323           of information people constantly ask for.
9324           
9325 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
9326
9327         * gst/gstpad.c: (gst_pad_set_caps):
9328           Short-circuit gst_pad_set_caps if setting the existing
9329           caps pointer again, and avoid printing debug and 
9330           reffing/unreffing the caps.
9331
9332         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9333           There's actually no need to set the caps before pushing -
9334           the acceptcaps method will handle it anyway.
9335
9336 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9337
9338         * docs/gst/gstreamer-sections.txt:
9339         * win32/common/libgstreamer.def:
9340         * gst/gstutils.c: (gst_element_seek_simple):
9341         * gst/gstutils.h:
9342           API: add gst_element_seek_simple() (#342238).
9343
9344 2006-05-18  Edward Hervey  <edward@fluendo.com>
9345
9346         * gst/gsttypefind.c: (gst_type_find_get_type):
9347         * gst/gsttypefind.h:
9348         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
9349         registered for GstTypeFind pointers. This allows wrapping the structure
9350         in bindings (i.e. gst-python).
9351
9352 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9353
9354         * gst/gsttagsetter.c:
9355           Docs additions and fixes (see #339918).
9356
9357 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
9358
9359         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9360         The caps intersection algorithm can produce multiple copies of the
9361         caps. Until that is fixed, we need to simplify the result to be
9362         sure whether the allowed caps are fixed or not.
9363
9364         * plugins/elements/gstqueue.c: (gst_queue_init),
9365         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
9366         (gst_queue_push_one):
9367         Proxied buffer alloc should not set the caps on the source pad.
9368         When pushing buffers, we always accept the caps change that triggers.
9369         This prevents negotiation errors caused by caps changing mid-stream 
9370         and then being refused on our source pad (because upstream is now
9371         refusing those caps).
9372
9373 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9374
9375         * tests/examples/helloworld/helloworld.c: (main):
9376           Must plug audioconvert and audioresample between decoder
9377           and audio sink.
9378
9379 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
9380
9381         * gst/gstregistryxml.c: (read_string), (load_pad_template),
9382         (load_feature), (load_plugin):
9383         Allow empty strings for some of the plugin fields so we don't 
9384         drop valid plugin entries that were written out correctly
9385         (Fixes #341479)
9386
9387 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
9388         
9389         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9390           Use g_remove and g_rename instead of remove and rename that don't 
9391           handle utf8 characters. rename was failing for users who had specific
9392           characters in their name then the registry was built at each 
9393           gstreamer init.
9394         * win32/vs6/gst_inspect.dsp:
9395         * win32/vs6/gst_launch.dsp:
9396         * win32/vs6/libgstbase.dsp:
9397         * win32/vs6/libgstcoreelements.dsp:
9398         * win32/vs6/libgstreamer.dsp:
9399           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
9400           build of libgstreamer and clean unused libraries in projects link 
9401           settings.
9402
9403 2006-05-17  Edward Hervey  <edward@fluendo.com>
9404
9405         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9406         The queue is not responsible for pushing an EOS when receiving a fatal
9407         flow error. It's up to the real element driving the pipeline to do that.
9408
9409 2006-05-16  Edward Hervey  <edward@fluendo.com>
9410
9411         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9412         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
9413         buffer returned a fatal error. It should just send an EOS and stop
9414         its task.
9415         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
9416         when pushing buffers on the queue and will be able to handle the event.
9417
9418 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
9419
9420         * docs/manual/basics-bins.xml:
9421         * docs/manual/basics-init.xml:
9422           Fix typos and minor errors in sample code (#341856).
9423
9424 2006-05-16  Wim Taymans  <wim@fluendo.com>
9425
9426         * docs/design/part-qos.txt:
9427         Fix indexes in formulas to make more sense.
9428
9429 2006-05-15  Wim Taymans  <wim@fluendo.com>
9430
9431         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9432         Don't report POSITION based on clock time if sync is
9433         disabled in a sink.
9434
9435 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
9436
9437         * gst/gstobject.h:
9438           Add cast to make compiler happy - refcount variable was a gint
9439           in GstObject but is a guint in GObject and g_atomic_int_get()
9440           wants a gint *.
9441
9442 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9443
9444         * gst/parse/Makefile.am:
9445           chain commands using &&, which also makes parallel make work
9446
9447 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
9448
9449         * docs/gst/gstreamer-sections.txt:
9450         * gst/gstevent.c:
9451         * gst/gstevent.h:
9452         * gst/gstmessage.h:
9453           Minor docs fixes.
9454
9455 === release 0.10.6 ===
9456
9457 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
9458
9459         * configure.ac:
9460           releasing 0.10.6, "Take the cannoli"
9461
9462 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
9463
9464         * tools/gst-launch.c: (print_tag):
9465           Fix use of uninitialized variable in the hypothetical
9466           case that some broken plugin creates a GST_TAG_IMAGE
9467           tag containing a NULL buffer (#341667).
9468
9469 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
9470
9471         * tools/gst-launch.c: (print_tag):
9472           Print something more intelligible for image tags when
9473           using the -t switch (#341556).
9474
9475 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9476
9477         * Makefile.am:
9478           updates for win32
9479         * configure.ac:
9480           define GST_MAJORMINOR so we have it available in win32/common/config.h
9481           Possibly remove it from our Makefile.am files later
9482         * win32/common/config.h:
9483         * win32/common/config.h.in:
9484           added GST_MAJORMINOR
9485         * win32/common/gstenumtypes.c: (register_gst_resource_error):
9486         * win32/common/gstversion.h:
9487           updated
9488
9489 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
9490
9491         * win32/MANIFEST:
9492           Update win32 files listing.
9493         * win32/common/gstversion.h:
9494           Add GST_MAJORMINOR definition.
9495         * win32/common/libgstreamer.def:
9496           Add new exported functions.
9497           
9498 2006-05-12  Michael Smith  <msmith@fluendo.com>
9499
9500         * gst/gstplugin.c: (gst_plugin_load_file):
9501           If an so file has no plugin entry point, unload the module.
9502
9503 2006-05-11  Wim Taymans  <wim@fluendo.com>
9504
9505         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
9506         (gst_queue_set_property):
9507         Don't forget to signal the _chain or _loop function 
9508         when the queue size or thresholds change since that might
9509         cause them to make progres again.
9510
9511 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
9512
9513         * gst/gstclock.c: (gst_clock_class_init):
9514         * gst/gstindex.c: (gst_index_class_init):
9515         * gst/gstobject.c: (gst_object_class_init):
9516         * gst/gstpad.c: (gst_pad_class_init):
9517         * gst/gstpipeline.c: (gst_pipeline_class_init):
9518         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9519         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
9520         * libs/gst/base/gstbasetransform.c:
9521         (gst_base_transform_class_init):
9522         * libs/gst/net/gstnetclientclock.c:
9523         (gst_net_client_clock_class_init):
9524         * libs/gst/net/gstnettimeprovider.c:
9525         (gst_net_time_provider_class_init):
9526         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
9527         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9528         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9529         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
9530         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9531         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9532         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9533         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9534         * plugins/elements/gsttee.c: (gst_tee_class_init):
9535         * tests/old/examples/plugins/example.c: (gst_example_class_init):
9536         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9537           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
9538
9539 2006-05-11  Wim Taymans  <wim@fluendo.com>
9540
9541         * gst/gstbuffer.c: (_gst_buffer_initialize):
9542         Register subbufer along with the buffer type so that
9543         it does not accidentally gets registered from N
9544         different streaming threads in a non threadsafe way.
9545
9546 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9547
9548         * gst/gstbuffer.h:
9549         * gst/gstevent.h:
9550         * gst/gstmessage.h:
9551           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
9552           gst_event_ref() and gst_message_ref() functions again
9553           (ugly hack, please do fix if there's a better way besides
9554           overrides.txt, which doesn't seem to work).
9555
9556 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9557
9558         * libs/gst/check/gstcheck.h:
9559           add an assert for setting state to avoid lots of repetitive code
9560           in the future
9561
9562 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9563
9564         * gst/gstvalue.c: (gst_value_serialize_flags):
9565           fix a leak if no flags are set
9566         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9567           fix leak in tests
9568
9569 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9570
9571         * docs/manual/basics-pads.xml:
9572           Expand a bit on caps and filtered links and update
9573           examples that were still using the no longer existing
9574           gst_pad_link_filtered() (#338206).
9575
9576 2006-05-10  Wim Taymans  <wim@fluendo.com>
9577
9578         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9579         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9580         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9581         (gst_collect_pads_stop):
9582         * libs/gst/base/gstcollectpads.h:
9583         No need to call _stop in _finalize.
9584         Iterate the main pad list in _finalize.
9585         Added some more debug.
9586         Free lists and data in the right order.
9587         Also free data whem doing _remove_pad when stopped for
9588         backward compatibility protect ::started with PAD_LOCK as
9589         well.
9590
9591 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9592
9593         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
9594         (gst_structure_parse_value):
9595           add some comments
9596           rename a method so that it actually says what it does better
9597
9598 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9599
9600         * gst/gstevent.c: (_gst_event_initialize):
9601         * gst/gstformat.c: (_gst_format_initialize):
9602           make sure some essential types used by events are registered
9603           as part of gst_init()
9604         * gst/gstvalue.c: (gst_value_serialize_flags):
9605           if no flags are set, serialize them to a value that represents NONE
9606           so that deserializing them works
9607         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9608           add tests for serialization and deserialization of flags
9609
9610 2006-05-10  Wim Taymans  <wim@fluendo.com>
9611
9612         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
9613         (gst_collect_pads_collect_range), (gst_collect_pads_available),
9614         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
9615         (gst_collect_pads_event), (gst_collect_pads_chain):
9616         Update docs.
9617         Better debug info.
9618         Catch and return errors from the collect function
9619         Refuse data on eos pads.
9620
9621 2006-05-10  Edward Hervey  <edward@fluendo.com>
9622
9623         * gst/gstinterface.h:
9624         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
9625         GInterface type checking.
9626         They were previously using non-defined macros.
9627
9628 2006-05-09  Wim Taymans  <wim@fluendo.com>
9629
9630         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
9631         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
9632         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
9633         (gst_collect_pads_start), (gst_collect_pads_stop),
9634         (gst_collect_pads_peek), (gst_collect_pads_pop),
9635         (gst_collect_pads_available), (gst_collect_pads_read),
9636         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
9637         (gst_collect_pads_is_collected), (gst_collect_pads_event),
9638         (gst_collect_pads_chain):
9639         * libs/gst/base/gstcollectpads.h:
9640         Clean up the mess that is collectpads, add comments and
9641         FIXMEs where needed.
9642         Maintain a separate pad list so we can add pads while
9643         collecting the other ones. For this we need a new separate 
9644         lock (see comics).
9645         Fix memory leak in finalize.
9646         Refactor some weird code to set/unset pad flushing flags, mark
9647         with comments.
9648         Don't crash in _available, _read, _flush when we're EOS.
9649
9650         * tests/check/libs/.cvsignore:
9651         Ignore adapter check binary.
9652
9653 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9654
9655         * gst/gstindex.c: (gst_index_resolver_get_type):
9656         * plugins/elements/gstfakesink.c:
9657         (gst_fake_sink_state_error_get_type):
9658         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9659         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
9660         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9661           Const-ify GEnumValue arrays.
9662
9663 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9664
9665         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9666           Add test case for flags + gst_buffer_make_metadata_writable().
9667
9668 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9669
9670         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
9671           gst_buffer_make_metadata_writable() should maintain the
9672           buffer flags (those that make sense at least) (see #340859).
9673
9674 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9675
9676         * tools/gst-inspect.c:
9677         * tools/gst-launch.c:
9678         * tools/gst-typefind.c:
9679         * tools/gst-xmlinspect.c:
9680         * tools/tools.h:
9681           Fix up includes: need to include stdlib.h in tools.h for exit().
9682
9683 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9684
9685         * gst/gsttaglist.c: (_gst_tag_initialize):
9686         * gst/gsttaglist.h:
9687           API: add GST_TAG_IMAGE tag (#340721).
9688
9689 2006-05-08  Wim Taymans  <wim@fluendo.com>
9690
9691         * gst/gstquery.c:
9692         Added some docs for the segment query.
9693
9694 2006-05-08  Wim Taymans  <wim@fluendo.com>
9695
9696         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9697         (gst_base_src_loop), (gst_base_src_change_state):
9698         Always push non-flushing serialized events in the streaming 
9699         thread.
9700
9701 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9702
9703         * gst/gsterror.c: (_gst_stream_errors_init):
9704           Add a missing error string.
9705
9706 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
9707
9708         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9709         Add applied_rate to the debug
9710
9711         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9712         Copy applied_rate into the outgoing NEWSEGMENT event
9713
9714 2006-05-08  Wim Taymans  <wim@fluendo.com>
9715
9716         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
9717
9718         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9719         (gst_base_sink_change_state):
9720         call ::unlock before taking the PREROLL_LOCK so we can safely
9721         handle elements that lock in ::render.
9722         Fixes #340174.
9723
9724 2006-05-08  Edward Hervey  <edward@fluendo.com>
9725
9726         * autogen.sh: (CONFIGURE_DEF_OPT): 
9727         Darwin's libtoolize is in fact called glibtoolize.
9728         Adding glibtoolize to the list of accepted names for libtoolize.
9729
9730 2006-05-08  Wim Taymans  <wim@fluendo.com>
9731
9732         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9733         Unify error handling, don't post an error message
9734         when a push() returns EOS but perform our normal EOS
9735         handling code. Fixes #340772.
9736
9737 2006-05-08  Wim Taymans  <wim@fluendo.com>
9738
9739         * docs/design/part-overview.txt:
9740         Make upsteam/downstream concepts more clear.
9741         Give an example of serialized/non-serialized events.
9742
9743         * docs/design/part-events.txt:
9744         * docs/design/part-streams.txt:
9745         Mention applied_rate.
9746
9747         * docs/design/part-trickmodes.txt:
9748         Mention applied rate, flesh out some more use cases.
9749
9750         * gst/gstevent.c: (gst_event_new_new_segment),
9751         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
9752         (gst_event_parse_new_segment_full), (gst_event_new_tag),
9753         (gst_event_parse_tag), (gst_event_new_buffer_size),
9754         (gst_event_parse_buffer_size), (gst_event_new_qos),
9755         (gst_event_parse_qos), (gst_event_parse_seek),
9756         (gst_event_new_navigation):
9757         * gst/gstevent.h:
9758         Add applied_rate field to NEWSEGMENT event.
9759         API: gst_event_new_new_segment_full()
9760         API: gst_event_parse_new_segment_full()
9761
9762         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
9763         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
9764         (gst_segment_to_stream_time), (gst_segment_to_running_time):
9765         * gst/gstsegment.h:
9766         Add applied_rate to GstSegment structure.
9767         Make calculation of stream_time and running_time more correct
9768         wrt rate/applied_rate.
9769         Add some more docs.
9770         API: GstSegment::applied_rate field
9771         API: gst_segment_set_newsegment_full();
9772
9773         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9774         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
9775         * libs/gst/base/gstbasetransform.c:
9776         (gst_base_transform_sink_eventfunc),
9777         (gst_base_transform_handle_buffer):
9778         Parse and use applied_rate in the GstSegment field.
9779
9780         * tests/check/gst/gstevent.c: (GST_START_TEST):
9781         Add check for applied_rate field.
9782
9783         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9784         (gstsegments_suite):
9785         Add more checks for various GstSegment operations.
9786
9787 2006-05-08  Wim Taymans  <wim@fluendo.com>
9788
9789         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9790         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
9791         (gst_base_sink_get_position), (gst_base_sink_change_state):
9792         Store the sync time of the buffer end position separatly in a
9793         new variable eos_rtime so we can properly sync the EOS event.
9794         Fixes #340697.
9795         Fix the docs for gst_base_sink_set_qos_enabled().
9796         Don't set segment start to invalid value when we receive a 
9797         non TIME newsegment.
9798         get closer to handling position reporting for negative rates 
9799         correctly.
9800
9801 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9802
9803         * gst/gstcaps.c:
9804         Docs about how to print caps for debug purposes.
9805
9806         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
9807         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
9808
9809 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9810
9811         * gst/gstelement.c:
9812           use full enum names and preprend a '%' in docs strings to make recent 
9813           gtk-doc turn that into a link
9814
9815 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9816
9817         * docs/manual/basics-bins.xml:
9818         * docs/manual/basics-bus.xml:
9819         * docs/manual/basics-pads.xml:
9820           Some typo fixes, some additions, some clarifications. 
9821
9822 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9823
9824         * tools/gst-inspect.c: (main):
9825         * tools/gst-launch.c: (main):
9826         * tools/gst-run.c: (main):
9827         * tools/gst-typefind.c: (main):
9828         * tools/gst-xmlinspect.c: (main):
9829           Use the string passed to g_option_context_new() for
9830           what it's intended for - the program name is already
9831           printed elsewhere.
9832
9833 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9834
9835         * tools/Makefile.am:
9836         * tools/gst-inspect.c: (main):
9837         * tools/gst-launch.c: (main):
9838         * tools/gst-xmlinspect.c: (main):
9839         * tools/tools.h:
9840           Add back --version command line option (#340460).
9841
9842         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
9843           Add --version option and use GOption for argument parsing; refactor a
9844           bit; accept directories as arguments and recurse into them; lastly,
9845           print a decent error message when things go wrong.
9846
9847 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9848
9849         * docs/manual/basics-bins.xml:
9850         Don't mention GstThread (#340611)
9851         * docs/manual/basics-elements.xml:
9852         Update link to GObject tutorial (#340607)
9853         
9854 2006-05-05  Wim Taymans  <wim@fluendo.com>
9855
9856         * gst/gstbuffer.h:
9857         * gst/gstminiobject.c:
9858         Add note about refcounting and miniobject/buffer writeability
9859         to docs. Fixes #340604
9860
9861         * gst/gstelementfactory.h:
9862         Added some explanation about @klass.
9863
9864 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9865
9866         * docs/manual/intro-motivation.xml:
9867         * docs/manual/manual.xml:
9868         Avoid CORBA & Bonobo references (#340598)
9869
9870 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9871
9872         * docs/manual/basics-bus.xml:
9873         * docs/manual/basics-pads.xml:
9874         Fix up some inaccuracies and omissions (#340609)
9875         
9876 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9877
9878         * gst/gstghostpad.c:
9879           Small typo in docs (#340625)
9880
9881 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9882
9883         * gst/parse/Makefile.am:
9884           Make 'make -j' proof (see #340698).
9885
9886 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9887
9888         * configure.ac:
9889           Require GLib-2.8 here as well.
9890
9891 2006-05-05  Wim Taymans  <wim@fluendo.com>
9892
9893         * gst/glib-compat.c:
9894         * gst/gst.c: (init_pre):
9895         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9896         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
9897         (gst_object_dispatch_properties_changed):
9898         * gst/gstobject.h:
9899         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9900         * gst/gststructure.c: (gst_structure_set_valist):
9901         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9902         Remove pre glib2.8 compatibility, fixes #340508
9903
9904 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9905
9906         * gst/gsttaglist.h:
9907           Mention type of tags in doc blurbs.
9908
9909 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
9910
9911         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9912         (gst_pad_configure_src), (gst_pad_push):
9913         Restore acceptcaps checking behaviour now that good plugins have
9914         been released.
9915
9916 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9917
9918         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
9919
9920         * gst/gst.c:
9921         * gst/gstbus.c:
9922         * gst/gstclock.c:
9923         * gst/gstevent.c:
9924         * gst/gstformat.c:
9925         * gst/gstmessage.c:
9926         * gst/gstparse.c:
9927         * gst/gstquery.c:
9928         * gst/gstutils.c:
9929         * gst/parse/Makefile.am:
9930         * libs/gst/base/gstadapter.c:
9931         * libs/gst/base/gstbasesrc.c:
9932         * libs/gst/base/gstpushsrc.c:
9933         * libs/gst/base/gsttypefindhelper.c:
9934         * plugins/elements/gstfakesrc.c:
9935         * plugins/elements/gstidentity.c:
9936           Make sure gstprivate.h and/or config.h are
9937           always included first, otherwise some of our
9938           defines (like _FILE_OFFSET_BITS) might be
9939           redefined in the system headers. Fixes build
9940           on opensolaris (#340016).
9941
9942 2006-05-04  Wim Taymans  <wim@fluendo.com>
9943
9944         * docs/libs/gstreamer-libs-sections.txt:
9945         API: addition: gst_adapter_take_buffer()
9946         
9947         * libs/gst/base/gstadapter.c: (gst_adapter_push),
9948         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
9949         (gst_adapter_available_fast):
9950         * libs/gst/base/gstadapter.h:
9951         Prepare for optimizing the hell out of this hugely inefficient
9952         piece of code. 
9953         Added gst_adapter_take_buffer() so we can at least start thinking
9954         about subbuffering and merging.
9955         Added some comments.
9956
9957         * tests/check/Makefile.am:
9958         * tests/check/libs/adapter.c: (GST_START_TEST),
9959         (gst_adapter_suite), (main):
9960         Added GstAdapter check.
9961
9962 2006-05-04  Wim Taymans  <wim@fluendo.com>
9963
9964         * docs/design/part-overview.txt:
9965         Fix some typos, add blurb about buffer flags.
9966
9967 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9968
9969         * docs/libs/gstreamer-libs-sections.txt:
9970           make sure GstBaseTransformClass shows up in the docs
9971         * libs/gst/base/gstbasetransform.c:
9972         * libs/gst/base/gstbasetransform.h:
9973           move docs so gtk-doc picks it up now
9974
9975 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
9976
9977         * docs/libs/gstreamer-libs-sections.txt:
9978           add missing symbols to docs
9979
9980 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
9981
9982         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9983           back out the newsegment handling change, see #340060 for ongoing
9984           discussion
9985
9986 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
9987
9988         * tools/gst-run.c: (get_candidates), (main):
9989           Fix wrong g_file_test() usage (see glib docs for why it doesn't
9990           work); fix typo in error message. Fixes #340079.
9991
9992 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9993
9994         * common/Makefile.am:
9995         * docs/Makefile.am:
9996         * docs/faq/Makefile.am:
9997         * docs/gst/Makefile.am:
9998         * docs/libs/Makefile.am:
9999         * docs/manual/Makefile.am:
10000         * docs/plugins/Makefile.am:
10001         * docs/pwg/Makefile.am:
10002         * docs/slides/Makefile.am:
10003         * docs/upload.mak:
10004         * common/upload.mak:
10005           move upload.mak to common
10006
10007 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10008
10009         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10010           add more asserts on refcounts
10011           do more cleanup at end of tests
10012           fix test leaks showing in FC5
10013
10014 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
10015
10016         * plugins/elements/gsttypefindelement.c:
10017         (gst_type_find_element_handle_event):
10018         reverted wrong change and reflowed code to avoid others falling into
10019         this trap
10020
10021 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10022
10023         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10024           fix changelog entry about last collectpads change,
10025           add notes about proper fix
10026
10027 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10028
10029         * gst/gst.c:
10030         * gst/gstregistry.c: (gst_registry_scan_path_level),
10031         (gst_registry_scan_path):
10032         * gst/gstregistry.h:
10033           only write out registry if it has changed, fixes #338339
10034
10035 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10036
10037         * gst/gstbin.c:
10038         * gst/gstpipeline.c:
10039         * plugins/elements/gstcapsfilter.c:
10040         * plugins/elements/gstfakesink.c:
10041         * plugins/elements/gstfakesrc.c:
10042         * plugins/elements/gstfdsink.c:
10043         * plugins/elements/gstfdsrc.c:
10044         * plugins/elements/gstfilesink.c:
10045         * plugins/elements/gstfilesrc.c:
10046         * plugins/elements/gstidentity.c:
10047         * plugins/elements/gstqueue.c:
10048         * plugins/elements/gsttee.c:
10049         * plugins/elements/gsttypefindelement.c:
10050         (gst_type_find_element_handle_event):
10051           make GstElementDetails const
10052
10053 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10054
10055         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
10056         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
10057         (gst_collect_pads_is_collected), (gst_collect_pads_event):
10058           more detailed debug and formatting cleanup,
10059           forward newsegments to src-pad (so that e.g. adder not eats them)
10060
10061 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10062
10063         * gst/gstutils.c: (gst_element_link_pads):
10064           cleanup double code
10065
10066 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10067
10068         * libs/gst/controller/gstcontroller.c:
10069         (gst_controller_sync_values):
10070           some little tuning
10071         * tests/check/libs/controller.c: (GST_START_TEST),
10072         (gst_controller_suite):
10073           a new test for live value handling
10074
10075 2006-04-28  Wim Taymans  <wim@fluendo.com>
10076
10077         * gst/gstutils.c: (push_and_ref):
10078         Added some more docs.
10079         Fix refcount issue whith gst_element_found_tags() helper 
10080         function. Fixes #338335
10081
10082         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10083         Added testsuite for gst_element_found_tags().
10084
10085 2006-04-28  Michael Smith  <msmith@fluendo.com>
10086
10087         * gst/gstvalue.c: (gst_value_serialize_flags):
10088           Avoid NULL dereference when trying to serialize flags containing
10089           invalid values.
10090
10091 2006-04-28  Michael Smith  <msmith@fluendo.com>
10092
10093         * plugins/elements/gsttypefindelement.c:
10094         (gst_type_find_element_handle_event):
10095           If we get EOS before any data is accumulated, don't use
10096           uninitialised local variables.
10097
10098 2006-04-28  Michael Smith  <msmith@fluendo.com>
10099
10100         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10101         (gst_dp_event_from_packet):
10102           Fixes in reading/writing events over GDP (not currently used?) - 
10103           dereferencing NULL events for unknown/invalid event types, memory
10104           leak, and change g_warning to GST_WARNING.
10105
10106 2006-04-28  Wim Taymans  <wim@fluendo.com>
10107
10108         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
10109         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10110         (gst_base_sink_get_position), (gst_base_sink_change_state):
10111         When frame dropping is enabled, we should not ignore frames
10112         without a duration.
10113         Update some documentation.
10114
10115 2006-04-28  Wim Taymans  <wim@fluendo.com>
10116
10117         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10118         (gst_base_src_send_event), (gst_base_src_change_state):
10119         Documentation updates.
10120
10121 2006-04-28  Wim Taymans  <wim@fluendo.com>
10122
10123         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
10124         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
10125         handle EAGAIN, EINTR and short writes correctly. Also clean
10126         up some error cases, avoid a deadlock on bad file descriptors and
10127         use GST_DEBUG_OBJECT.
10128         Fixes #339843
10129
10130 2006-04-28  Wim Taymans  <wim@fluendo.com>
10131
10132         * gst/gstvalue.c: (gst_value_serialize_buffer),
10133         (gst_value_deserialize_buffer):
10134         Don't try to serialize a GValue with a NULL buffer. 
10135         Fixes #339821.
10136
10137         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10138         Added check for serialisation of NULL buffers.
10139
10140 2006-04-28  Wim Taymans  <wim@fluendo.com>
10141
10142         * gst/gstminiobject.c: (gst_value_take_mini_object):
10143         Taking a NULL miniobject is valid, fix the case where
10144         we try to unref the NULL miniobject.
10145
10146 2006-04-28  Wim Taymans  <wim@fluendo.com>
10147
10148         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10149
10150         * gst/gstbin.c: (gst_bin_handle_message_func):
10151         Update docs.
10152         Don't leak bin refcount when a state recalc is
10153         in progress and we delay another one #339808.
10154
10155 2006-04-28  Wim Taymans  <wim@fluendo.com>
10156
10157         * docs/design/part-TODO.txt:
10158         Mention QoS as an ongoing work item.
10159
10160         * docs/design/part-buffering.txt:
10161         New doc about buffering that needs to be fleshed out
10162         at some point.
10163
10164         * docs/design/part-qos.txt:
10165         More QoS policy for decoders/demuxers/transforms
10166
10167         * docs/design/part-trickmodes.txt:
10168         Small update.
10169
10170 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10171
10172         * configure.ac:
10173           back to HEAD
10174
10175 === release 0.10.5 ===
10176
10177 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
10178
10179         * configure.ac:
10180           releasing 0.10.5, "Fogo"
10181
10182 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10183
10184         patch by: Wim Taymans
10185
10186         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10187         (gst_pad_configure_src), (gst_pad_push):
10188         * gst/gstpipeline.c: (gst_pipeline_init):
10189           Fix internal data flow errors.  Fixes #338711.
10190
10191 2006-04-12  Wim Taymans  <wim@fluendo.com>
10192
10193         * tests/check/gst/gstelement.c: (GST_START_TEST):
10194         Don't leak the factory.
10195
10196 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10197
10198         * configure.ac:
10199         * win32/common/config.h:
10200           prerelease
10201
10202 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
10203
10204         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10205         (gst_controller_unset_all):
10206           Free allocated GstTimedValues when freeing list nodes.
10207           Should fix leaks 'make check-valgrind' complains about.
10208
10209         * win32/common/libgstcontroller.def:
10210           Add gst_controller_unset_all.
10211
10212 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
10213
10214         * docs/libs/gstreamer-libs-sections.txt:
10215         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10216         (gst_controller_unset_all):
10217         * libs/gst/controller/gstcontroller.h:
10218         API: Added new method gst_controller_unset_all()
10219         fixed gst_controller_unset()
10220         * tests/check/libs/controller.c: (GST_START_TEST),
10221         (gst_controller_suite):
10222         Added two testcases for new and fixed method
10223
10224 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
10225
10226         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10227           MSG_DONTWAIT is not defined on Cygwin, so work
10228           around that (fixes #317048).
10229           
10230 2006-04-11  Wim Taymans  <wim@fluendo.com>
10231
10232         * gst/gstelementfactory.c: (gst_element_register),
10233         (gst_element_factory_create), (gst_element_factory_make):
10234         Some cleanups.
10235         Fixed a FIXME.
10236         Updated docs (Fixes #131079)
10237
10238         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10239         Small cleanups.
10240
10241         * tests/check/gst/gstelement.c: (GST_START_TEST),
10242         (gst_element_suite):
10243         Added testcase for elementfactory class field.
10244
10245 2006-04-10  Wim Taymans  <wim@fluendo.com>
10246
10247         * gst/gstsegment.c:
10248         Added some more docs.
10249
10250         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
10251         (gst_base_sink_reset_qos):
10252         Calculate more accurate rate values.
10253
10254 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
10255
10256         * gst/gst_private.h:
10257           add a new #ifdef to use __declspec(dllimport) only for
10258           other modules and not for gstreamer core
10259         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
10260           use gst_guint64_to_gdouble for conversion
10261         * win32/common/libgstreamer.def:
10262           add new exported functions
10263         * win32/vs6/gst_inspect.dsp:
10264         * win32/vs6/gst_launch.dsp:
10265         * win32/vs6/libgstbase.dsp:
10266         * win32/vs6/libgstcontroller.dsp:
10267         * win32/vs6/libgstcoreelements.dsp:
10268         * win32/vs6/libgstdataprotocol.dsp:
10269         * win32/vs6/libgstnet.dsp:
10270           update project files
10271
10272 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10273
10274         * gst/gstbuffer.c: (gst_subbuffer_class_init):
10275         * gst/gstclock.c: (gst_clock_class_init):
10276         * gst/gstelement.c: (gst_element_class_init):
10277         * gst/gstindex.c: (gst_index_class_init):
10278         * gst/gstindexfactory.c: (gst_index_factory_class_init):
10279         * gst/gstobject.c: (gst_object_class_init),
10280         (gst_signal_object_class_init):
10281         * gst/gstpad.c: (gst_pad_class_init):
10282         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
10283         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
10284         * gst/gstregistry.c: (gst_registry_class_init):
10285         * gst/gstsystemclock.c: (gst_system_clock_class_init):
10286         * gst/gsttask.c: (gst_task_class_init):
10287         * gst/gstxml.c: (gst_xml_class_init):
10288         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10289         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10290         (gst_base_src_loop):
10291         * libs/gst/controller/gstcontroller.c:/
10292         (_gst_controller_class_init):
10293         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10294         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
10295         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
10296         * tests/old/examples/plugins/example.c: (gst_example_class_init):
10297         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10298         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
10299
10300 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
10301
10302         * gst/gstpad.c: (gst_pad_link):
10303           Must set peer pads before calling the link function, otherwise
10304           a task started from a link function might get a flow-not-linked
10305           result when trying to push because the other thread where the
10306           linking happens hasn't had a chance to set the peers yet. This
10307           might happen for example when a queue gets linked to a downstream
10308           element, as queue starts a streaming task when its source pad
10309           gets linked. Happens in real life when playing back flac/musepack
10310           files in playbin (#332390).
10311           
10312 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10313
10314         * gst/gstindex.h:
10315         * gst/gstxml.h:
10316         * libs/gst/base/gstadapter.h:
10317         * libs/gst/base/gstbasesink.h:
10318         * libs/gst/base/gstbasesrc.h:
10319         * libs/gst/base/gstbasetransform.h:
10320         * libs/gst/base/gstcollectpads.h:
10321         * libs/gst/base/gstpushsrc.h:
10322         Fix broken GObject macros
10323
10324 2006-04-07  Wim Taymans  <wim@fluendo.com>
10325
10326         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10327         Initialize start and stop times, thanks valgrind.
10328
10329 2006-04-07  Wim Taymans  <wim@fluendo.com>
10330
10331         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10332         Be a bit nicer to badly behaving upstream elements that expect
10333         us to deal with non TIME segments and timestamps (such as fakesrc
10334         in the testsuite).
10335
10336 2006-04-07  Wim Taymans  <wim@fluendo.com>
10337
10338         * gst/gstbus.c:
10339         Small documentation clarification about the signal watch.
10340
10341         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10342         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10343         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10344         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10345         (gst_base_sink_get_position_last),
10346         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
10347         Convert and store timestamps in stream time and running time, the
10348         raw timestamps are not useful, also document this better.
10349         Use different window sizes for good and bad QoS observations so
10350         we react to badness a little quicker.
10351         Keep track of the amount of rendered and dropped buffers.
10352         Send QoS timestamps in running time.
10353
10354         * libs/gst/base/gstbasetransform.c:
10355         (gst_base_transform_sink_eventfunc),
10356         (gst_base_transform_handle_buffer):
10357         Compare QoS timestamps against running time.
10358
10359 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10360
10361         * gst/gstpad.c:
10362           Typo fixes in docs.
10363
10364 2006-04-06  Michael Smith  <msmith@fluendo.com>
10365
10366         * gst/gstpad.c: (gst_pad_set_property):
10367           Use g_value_get_object() instead of g_value_dup_gst_object(),
10368           to avoid double-reffing the pad template (which we then sink,
10369           so this worked previously if (and only if) the pad template
10370           was floating.
10371
10372         * gst/gstpadtemplate.c: (gst_pad_template_init),
10373         (gst_pad_template_pad_created):
10374           Never return floating references to pad templates, create
10375           them as initially-sunken.
10376
10377           Document an extra function (and make this stop sinking our
10378           pad template, since that is now guaranteed to do nothing,
10379           since we created it sunken).
10380
10381         * gst/gstghostpad.c:
10382           Fix docs typo.
10383
10384 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10385
10386         * gst/gstinfo.c: (__gst_in_valgrind):
10387           Add some newlines.
10388
10389         * plugins/elements/gsttypefindelement.c:
10390         (gst_type_find_element_chain):
10391           Don't leak buffer caps.
10392
10393 2006-04-06  Michael Smith  <msmith@fluendo.com>
10394
10395         * gst/parse/grammar.y:
10396           Fix a leak in parse-launch for any source-or-sink named element 
10397           references used.
10398
10399         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10400           Unref the pipeline if it exists after we've failed parsing.
10401
10402 2006-04-05  Michael Smith  <msmith@fluendo.com>
10403
10404         * gst/gstpipeline.c: (gst_pipeline_init):
10405           When we create a pipeline bus, initially create it in flushing mode.
10406           Fixes leaks in at least one test, and makes a new pipeline work the
10407           same as one that has gone to READY and then back to NULL.
10408
10409         * gst/gstelement.c:
10410           Typo fix in docs.
10411
10412 2006-04-05  Michael Smith  <msmith@fluendo.com>
10413
10414         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10415           Unref a pad we reffed.
10416         * tests/check/gst/gstutils.c: (GST_START_TEST):
10417           Unref bins
10418
10419 2006-04-05  Michael Smith  <msmith@fluendo.com>
10420
10421         * gst/gstquery.c: (gst_query_set_formats),
10422         (gst_query_set_formatsv):
10423           Fix leaking GValues in queries, as shown by valgrind/testsuite.
10424
10425 2006-04-05  Michael Smith  <msmith@fluendo.com>
10426
10427         * tests/check/generic/sinks.c: (GST_START_TEST):
10428           Fix a variety of memleaks in sinks check, which are only sometimes 
10429           shown by running the tests under valgrind (weird?).
10430
10431 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
10432
10433         * docs/version.entities.in:
10434           Fix the substituted entity name after thomas' changes on the
10435           weekend.
10436
10437 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10438
10439         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
10440         VALGRIND_PRINTF
10441         
10442 2006-04-05  Andy Wingo  <wingo@pobox.com>
10443
10444         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
10445
10446         * libs/gst/base/gstbasetransform.c
10447         (gst_base_transform_sink_eventfunc): When resetting our segment on
10448         FLUSH_STOP, also update the flag saying we haven't seen a
10449         newsegment.
10450
10451 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10452
10453         Patch by: Paolo Borelli  <pborelli at katamail dot com>
10454
10455         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10456         (gst_plugin_check_license):
10457           minor clean-ups: G_DEFINE_TYPE already takes care of the
10458           parent_class stuff, no need to do it twice. Mark array of
10459           license strings as constant. (#337103)
10460           
10461 2006-04-04  Michael Smith  <msmith@fluendo.com>
10462
10463         * tools/gst-inspect.c: (print_element_list):
10464           Free the right plugin list; fixes a memory leak.
10465
10466 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10467
10468         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
10469
10470         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10471           Don't error out on empty buffers (#336945).
10472           
10473 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
10474
10475         * docs/libs/gstreamer-libs-sections.txt:
10476         * gst/gsttaglist.c:
10477         * libs/gst/base/gstbasesink.c:
10478         * libs/gst/base/gstbasesink.h:
10479         * libs/gst/base/gstbasesrc.c:
10480         * libs/gst/base/gstbasesrc.h:
10481           Documentation updates. Make BaseSink and BaseSrc docs contain the
10482           class structure so that people can actually see the prototypes for
10483           virtual functions they're supposed to be overriding.
10484
10485 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10486
10487         * plugins/elements/gsttypefindelement.c:
10488         (gst_type_find_element_chain):
10489           More debug info; when skipping typefinding, send cached
10490           events in all cases.
10491
10492 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10493
10494         * configure.ac:
10495           use new AS_VERSION and AS_NANO macros
10496         * gst/gst-i18n-lib.h:
10497         * gst/gst.c:
10498         * gst/gsterror.c:
10499         * gst/gstversion.h.in:
10500         * win32/common/config.h:
10501         * win32/common/config.h.in:
10502           update accordingly
10503
10504 2006-03-31  Michael Smith  <msmith@fluendo.com>
10505
10506         * plugins/elements/gsttypefindelement.c:
10507         (gst_type_find_element_chain):
10508           Do not typefind content if the buffers already have caps.
10509           Neccesary for icydemux (#333657), and the right thing to do anyway.
10510
10511 2006-03-30  Wim Taymans  <wim@fluendo.com>
10512
10513         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10514         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
10515         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
10516         (gst_base_sink_record_qos_observation),
10517         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10518         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10519         (gst_base_sink_change_state):
10520         More QoS measurements as described in the design doc.
10521         Get rid of ringbuffer with observations, running average is
10522         more simple and equally good.
10523         Calculates valid proportion now.
10524         Added beginning of flood measurement.
10525
10526 2006-03-29  Wim Taymans  <wim@fluendo.com>
10527
10528         * docs/design/part-qos.txt:
10529         * gst/gstclock.c:
10530         Small documentation updates and additions.
10531
10532 2006-03-29  Wim Taymans  <wim@fluendo.com>
10533
10534         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10535         (gst_base_src_send_event), (gst_base_src_loop),
10536         (gst_base_src_change_state):
10537         Perform the EOS logic when we reach the segment stop position.
10538         Fix compilation on gcc4.1
10539
10540 2006-03-29  Wim Taymans  <wim@fluendo.com>
10541
10542         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
10543
10544         * plugins/elements/gstqueue.c: (gst_queue_init),
10545         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10546         (gst_queue_set_property):
10547         * plugins/elements/gstqueue.h:
10548         In queue, when EOS is received, if minimum threshold > max_size -
10549         current_level, there is chance that queue blocks forever in conditional
10550         item del wait. This is because the queue is not emptied completely due
10551         to minimum threshold.  Here is another approach. Instead of setting
10552         cur_levels to max in EOS, just zero all minimum threshold levels. This
10553         should make sure that queue gives out all data. When going to READY
10554         (stop) state, just reset the original minimum threshold levels.
10555         Fixes #336336.
10556
10557 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
10558
10559         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
10560         (gst_type_find_element_handle_event),
10561         (gst_type_find_element_send_cached_events),
10562         (gst_type_find_element_change_state):
10563         * plugins/elements/gsttypefindelement.h:
10564           When typefinding is done in push mode, we should cache
10565           events we receive during typefinding instead of just
10566           dropping them (e.g. newsegment, custom events from
10567           dvdreadsrc etc.) and then send them out once we've
10568           determined the type of the stream (and decodebin
10569           has had a chance to plug in a decoder/demuxer).
10570           
10571 2006-03-27  Wim Taymans  <wim@fluendo.com>
10572
10573         * docs/design/part-qos.txt:
10574         First QoS ideas.
10575
10576 2006-03-27  Wim Taymans  <wim@fluendo.com>
10577
10578         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
10579
10580         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10581         (gst_base_src_send_event), (gst_base_src_change_state):
10582         Handle element seek correctly when we are streaming.
10583         Fixes #326998.
10584
10585 2006-03-24  Michael Smith  <msmith@fluendo.com>
10586
10587         * docs/faq/gst-uninstalled:
10588           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
10589           allow you to correctly run intalled applications built against old 
10590           core, using plugins that require updated core (e.g. running
10591           installed totem against a full uninstalled gstreamer stack)
10592
10593 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10594
10595         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10596         more debug details
10597
10598 2006-03-24  Wim Taymans  <wim@fluendo.com>
10599
10600         * docs/gst/gstreamer-sections.txt:
10601         Rearrange the order of the methods so that related methods
10602         are grouped together in sections.
10603
10604 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10605
10606         * gst/gstelement.c:
10607           Little clarification in the docs
10608
10609 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10610
10611         * docs/README:
10612         formatting fix
10613         * plugins/elements/gstidentity.c:
10614         * plugins/elements/gstqueue.c:
10615         * plugins/elements/gsttee.c:
10616         * plugins/elements/gsttypefindelement.c:
10617         GST_ELEMENT_DETAILS formatting
10618
10619 2006-03-24  Wim Taymans  <wim@fluendo.com>
10620
10621         * libs/gst/base/gstbasesink.h:
10622         Only add fields, not insert or we break ABI.
10623
10624 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10625
10626         * win32/common/libgstbase.def:
10627         * win32/common/libgstreamer.def:
10628           Update, add recently added functions.
10629
10630 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10631
10632         * docs/gst/gstreamer-sections.txt:
10633         * gst/gstutils.c: (gst_pad_query_peer_position),
10634         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
10635         * gst/gstutils.h:
10636           API: add some new utility functions:
10637            - gst_pad_query_peer_position()
10638            - gst_pad_query_peer_duration()
10639            - gst_pad_query_peer_convert()
10640           
10641 2006-03-23  Wim Taymans  <wim@fluendo.com>
10642
10643         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10644         (gst_base_sink_init), (gst_base_sink_finalize),
10645         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
10646         (gst_base_sink_set_property), (gst_base_sink_get_property),
10647         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
10648         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10649         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
10650         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10651         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10652         (gst_base_sink_preroll_object), (gst_base_sink_event),
10653         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
10654         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
10655         (gst_base_sink_query), (gst_base_sink_change_state):
10656         Decouple max-lateness and the fact that QoS messages are generated
10657         with a new property (qos).
10658         added API: GstBaseSink::async_play()
10659         Add vmethod so subclasses can be notified of ASYNC playing
10660         state changes.
10661         Collect timestamp start and stop to report better current
10662         position in EOS/PLAYING/PAUSED/READY/NULL.
10663         Refactor QoS/frame dropping and other measurements.
10664         API: GstBaseSrc::qos
10665         Fixes #326311
10666
10667         * libs/gst/base/gstbasesink.h:
10668         Added Private struct.
10669         API: gst_base_sink_set_qos_enabled()
10670         API: gst_base_sink_is_qos_enabled()
10671
10672 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10673
10674         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10675           If compiling against GLib-2.8 or newer, try to read the
10676           registry file using GMappedFile first before falling back
10677           to fopen() + fread() (#332151).
10678
10679 2006-03-22  Wim Taymans  <wim@fluendo.com>
10680
10681         * gst/gstinfo.c: (gst_debug_set_active),
10682         (gst_debug_category_set_threshold):
10683         Disable debugging unless explicitly activated.
10684         Fixes #335480.
10685
10686 2006-03-22  Wim Taymans  <wim@fluendo.com>
10687
10688         * gst/gstelement.c: (gst_element_set_locked_state),
10689         (gst_element_dispose):
10690         Cleanup the error case.
10691
10692         * gst/gstobject.c: (gst_object_dispose):
10693         print a critical when some object was disposed with
10694         a parent, also revive the object since it might
10695         crash the parent.
10696
10697 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
10698
10699         * tools/gst-launch.1.in:
10700           Fix another typo.
10701
10702 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10703
10704         * configure.ac:
10705         * tests/check/Makefile.am:
10706           disable some tests when we don't have a registry
10707         * tests/check/gst/gstutils.c: (gst_utils_suite):
10708           don't build the part that needs parsing
10709
10710 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10711
10712         * gst/Makefile.am
10713         * tests/examples/Makefile.am:
10714           fix --disable-parse build
10715
10716 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10717
10718         * tools/gst-feedback.1.in:
10719           Fix typo: s/feeback/feedback/ (#133494).
10720
10721 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10722
10723         * tools/Makefile.am:
10724         * tools/gst-launch.1.in:
10725           Add FILES section and correct entry about GST_REGISTRY_PATH
10726           environment variable (#133495; #133494).
10727
10728 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10729
10730         * tools/Makefile.am:
10731         * tools/gst-md5sum.1.in:
10732         * tools/gst-md5sum.c:
10733           Remove gst-md5sum and man page (the md5sink element
10734           required was removed ages ago)
10735
10736 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10737
10738         * gst/gststructure.c: (gst_structure_id_set_value):
10739           Make sure that string fields in structures/taglists
10740           contain valid UTF-8 - we don't want to pass rubbish to
10741           applications because of a buggy plugin (cp. #334167).
10742
10743 2006-03-21  Edward Hervey  <edward@fluendo.com>
10744
10745         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10746         (gst_bin_handle_message_func):
10747         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
10748         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
10749         (gst_element_set_bus_func):
10750         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
10751         * gst/gstminiobject.c: (gst_value_set_mini_object),
10752         (gst_value_take_mini_object):
10753         * gst/gstpad.c: (gst_pad_set_pad_template):
10754         * gst/gstpipeline.c: (gst_pipeline_dispose),
10755         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10756         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
10757         (gst_collect_pads_chain):
10758         * libs/gst/net/gstnettimeprovider.c:
10759         (gst_net_time_provider_set_property):
10760         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
10761         It's in fact all issues with gst_*object_replace().
10762
10763 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10764
10765         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
10766         
10767         * pkgconfig/gstreamer-check-uninstalled.pc.in:
10768         * pkgconfig/gstreamer-check.pc.in:
10769           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
10770
10771 2006-03-21  Edward Hervey  <edward@fluendo.com>
10772
10773         * gst/gstbuffer.h:
10774         * gst/gstevent.h:
10775         * gst/gstmessage.h:
10776         gst_[buffer|event|message]_ref() macros are replaced by a static
10777         inline functions because gcc-4.1 will about if the return value
10778         isn't used.
10779         * tests/check/gst/gstevent.c: (event_probe):
10780         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
10781
10782 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
10783
10784         * gst/gstutils.h:
10785         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
10786         the type' case. (Closes: #335195 for now). In the future, when we
10787         depend on GLib 2.10, we could also intern the type name using
10788         g_intern_static_string()
10789
10790 2006-03-20  Wim Taymans  <wim@fluendo.com>
10791
10792         * gst/gstbin.c: (gst_bin_handle_message_func),
10793         (bin_query_max_init), (bin_query_position_fold),
10794         (bin_query_position_done), (gst_bin_query):
10795         Position query should also take max of all streams.
10796
10797 2006-03-20  Wim Taymans  <wim@fluendo.com>
10798
10799         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10800         (gst_fake_src_finalize):
10801         Fix leaks in fakesrc.
10802
10803         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10804         Fix leaks in the testcase.
10805
10806 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
10807
10808         * gst/gst_private.h:
10809           add win32 specific import decoration(__declspec(dllimport)) 
10810           for all extern GstDebugCategory * variables
10811         * win32/common/libgstbase.def:
10812         * win32/common/libgstcontroller.def:
10813         * win32/common/libgstreamer.def:
10814           Add some exports, remove empty lines
10815         * win32/common/libgstdataprotocol.def:
10816         * win32/common/libgstdataprotocol.dsp:
10817         * win32/common/libgstnet.def:
10818         * win32/common/libgstnet.dsp:
10819           new project files and exportation files added
10820         
10821 2006-03-19  Wim Taymans  <wim@fluendo.com>
10822
10823         * tests/check/libs/basesrc.c: (eos_event_counter):
10824         Use proper return value for probe.
10825
10826 2006-03-17  Wim Taymans  <wim@fluendo.com>
10827
10828         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10829         (gst_pad_push):
10830         Don't leak buffers, caps and pads on negotiation errors.
10831
10832 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
10833
10834         * docs/faq/cvs.xml:
10835         * docs/faq/dependencies.xml:
10836         * docs/faq/developing.xml:
10837         * docs/faq/faq.xml:
10838         * docs/faq/general.xml:
10839         * docs/faq/getting.xml:
10840         * docs/faq/legal.xml:
10841         * docs/faq/troubleshooting.xml:
10842         * docs/faq/using.xml:
10843         Faq review and update.
10844
10845 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
10846
10847         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10848         (gst_pad_push):
10849         Don't pound the cpu to pieces by checking get_caps when accept_caps
10850         is called with the same caps as the pad already has.
10851         Use GST_DEBUG_OBJECT when outputting caps change information.
10852
10853 2006-03-15  Wim Taymans  <wim@fluendo.com>
10854
10855         * gst/gstclock.c: (gst_clock_class_init):
10856         Fix docs.
10857
10858 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
10859
10860         * gst/gstbuffer.h:
10861         Documentation fix.
10862
10863         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
10864         (gst_pad_accept_caps), (gst_pad_configure_sink),
10865         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
10866         Make the default acceptcaps behaviour be to check the requested 
10867         caps against the gst_pad_get_caps output. 
10868
10869         Ensure that gst_pad_accept_caps is used to check caps when a pad
10870         doesn't have a setcaps function, so that pads automatically refuse 
10871         caps that they don't allow in their pad template. (Fixes #332986)
10872
10873         When a buffer with attached caps is pushed, ensure that the source 
10874         pad receives those caps even if the element didn't call
10875         gst_pad_set_caps first.
10876
10877 2006-03-15  Wim Taymans  <wim@fluendo.com>
10878
10879         * libs/gst/base/gstadapter.c:
10880         Add some docs.
10881
10882 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
10883
10884         * win32/common/libgstbase.def:
10885         * win32/common/libgstcontroller.def:
10886         * win32/common/libgstreamer.def:
10887           Add a whole bunch of missing functions (#334434).
10888
10889 2006-03-14  Wim Taymans  <wim@fluendo.com>
10890
10891         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10892         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10893         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
10894         Better debug info when we receive a segment event.
10895         Reorganize a bit so we can pass the get_times() results around.
10896         Use the segment format when calculating the running time.
10897         Don't do QoS is sync is disabled or we have no clock or the
10898         element does not want us to sync to the clock.
10899         Don't drop buffers if QoS is disabled for now.
10900
10901 2006-03-14  Wim Taymans  <wim@fluendo.com>
10902
10903         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
10904         Marked the stats property as unimplemented so people don't get
10905         wild ideas.
10906         Add debug message when regression goes wrong.
10907         Added some more docs.
10908
10909 2006-03-14  Wim Taymans  <wim@fluendo.com>
10910
10911         * gst/gstsegment.c: (gst_segment_to_stream_time):
10912         Return correct return type in case of errors.
10913
10914 2006-03-14  Wim Taymans  <wim@fluendo.com>
10915
10916         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
10917           Don't segfault on invalid formats.
10918
10919 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
10920
10921         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10922           Can't use gst_segment_to_running_time() when the segment
10923           is not in GST_TIME_FORMAT (like with filesink, for example).
10924           Stops flac encoding pipelines from spewing critical warnings
10925           at EOS (#331248).
10926           
10927 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
10928
10929         * gst/gstpipeline.c: (gst_pipeline_class_init):
10930           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
10931
10932         * plugins/elements/gsttypefindelement.c:
10933         (gst_type_find_element_handle_event):
10934           Don't try to typefind empty streams.
10935
10936 2006-03-14  Wim Taymans  <wim@fluendo.com>
10937
10938         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10939         (gst_base_sink_do_qos):
10940         Separate QoS calculation.
10941         Only drop buffers when lateness is bigger than the 
10942         duration of the buffer.
10943
10944 2006-03-13  Wim Taymans  <wim@fluendo.com>
10945
10946         * gst/gstpipeline.c: (gst_pipeline_set_property),
10947         (gst_pipeline_get_property), (do_pipeline_seek),
10948         (gst_pipeline_change_state), (gst_pipeline_set_delay),
10949         (gst_pipeline_get_delay):
10950         Don't deadlock when reading properties.
10951
10952 2006-03-13  Wim Taymans  <wim@fluendo.com>
10953
10954         * libs/gst/base/gstbasetransform.c:
10955         (gst_base_transform_class_init), (gst_base_transform_init),
10956         (gst_base_transform_sink_event),
10957         (gst_base_transform_sink_eventfunc),
10958         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
10959         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10960         (gst_base_transform_set_property),
10961         (gst_base_transform_get_property),
10962         (gst_base_transform_change_state), (gst_base_transform_update_qos),
10963         (gst_base_transform_set_qos_enabled),
10964         (gst_base_transform_is_qos_enabled):
10965         * libs/gst/base/gstbasetransform.h:
10966         Make basetransform virtual method for src events too.
10967         Handle QOS in basetransform.
10968         API: gst_base_transform_update_qos()
10969         API: gst_base_transform_set_qos_enabled()
10970         API: gst_base_transform_is_qos_enabled()
10971
10972 2006-03-13  Wim Taymans  <wim@fluendo.com>
10973
10974         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10975         (gst_base_sink_do_sync):
10976         Small cleanups.
10977         Use QOS debug category.
10978
10979 2006-03-13  Wim Taymans  <wim@fluendo.com>
10980
10981         * plugins/elements/gstqueue.c:
10982         Very small doc update.
10983
10984 2006-03-13  Wim Taymans  <wim@fluendo.com>
10985
10986         * gst/gst_private.h:
10987         * gst/gstinfo.c: (_gst_debug_init):
10988         Added QOS debug category
10989
10990 2006-03-13  Wim Taymans  <wim@fluendo.com>
10991
10992         * docs/gst/gstreamer-sections.txt:
10993         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
10994         * gst/gstbin.h:
10995         * gst/gstbus.c: (gst_bus_class_init):
10996         * gst/gstbus.h:
10997         * gst/gstclock.c:
10998         * gst/gstelement.c: (gst_element_set_locked_state):
10999         * gst/gstsegment.c:
11000         Documentation updates.
11001
11002         * gst/gstpipeline.c: (gst_pipeline_get_type),
11003         (gst_pipeline_class_init), (gst_pipeline_init),
11004         (gst_pipeline_dispose), (gst_pipeline_set_property),
11005         (gst_pipeline_get_property), (do_pipeline_seek),
11006         (gst_pipeline_send_event), (gst_pipeline_change_state),
11007         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
11008         (gst_pipeline_get_delay):
11009         * gst/gstpipeline.h:
11010         Added methods for setting the delay.
11011         API: gst_pipeline_set_delay()
11012         API: gst_pipeline_get_delay()
11013         Add pipeline debug category
11014         Various cleanups.
11015         Updated docs.
11016         Don't reset stream time when seek failed.
11017
11018 2006-03-13  Wim Taymans  <wim@fluendo.com>
11019
11020         * docs/design/draft-klass.txt:
11021         * docs/design/part-clocks.txt:
11022         * docs/design/part-events.txt:
11023         * docs/design/part-gstbin.txt:
11024         * docs/design/part-gstpipeline.txt:
11025         * docs/design/part-messages.txt:
11026         * docs/design/part-negotiation.txt:
11027         * docs/design/part-overview.txt:
11028         * docs/design/part-preroll.txt:
11029         * docs/design/part-seeking.txt:
11030         * docs/design/part-states.txt:
11031         * docs/design/part-streams.txt:
11032         Documentation updates.
11033
11034 2006-03-12  Julien MOUTTE  <julien@moutte.net>
11035
11036         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
11037         us to leak strings...
11038
11039 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11040
11041         * libs/gst/net/gstnettimeprovider.c:
11042           fix docs
11043         * win32/common/config.h:
11044           update
11045
11046 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
11047
11048         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
11049
11050         * configure.ac:
11051           Don't check for libgnomeui (leftover from old examples
11052           that aren't built or disted any longer) (#334303).
11053           
11054 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
11055
11056         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
11057         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
11058           Emit RESOURCE_NO_SPACE_LEFT error here as well when
11059           there's no space left on the device.
11060
11061 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
11062
11063         * gst/gstclock.h:
11064           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
11065           to cast the input to GstClockTime before comparing with
11066           another GstClockTime value.
11067
11068 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11069
11070         * configure.ac:
11071           back to trunk
11072
11073 === release 0.10.4 ===
11074
11075 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
11076
11077         * configure.ac:
11078           releasing 0.10.4, "Light"
11079
11080 2006-03-10  Michael Smith  <msmith@fluendo.com>
11081
11082         * libs/gst/dataprotocol/dataprotocol.c:
11083           Fix docs for dataprocotol to not get the return types completely
11084           wrong for a few functions.
11085
11086 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11087
11088         * docs/gst/gstreamer-sections.txt:
11089         * gst/gstpipeline.c: (gst_pipeline_class_init),
11090         (gst_pipeline_init), (gst_pipeline_set_property),
11091         (gst_pipeline_get_property), (gst_pipeline_change_state),
11092         (gst_pipeline_set_auto_flush_bus),
11093         (gst_pipeline_get_auto_flush_bus):
11094         * gst/gstpipeline.h:
11095           Add new API: gst_pipeline_set_auto_flush_bus() and
11096           gst_pipeline_get_auto_flush_bus() to disable automatic
11097           flushing of the pipeline's GstBus when going from READY
11098           to NULL state (#332045).
11099
11100 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11101
11102         * docs/gst/gstreamer-sections.txt:
11103         * gst/gsturi.c: (gst_uri_has_protocol):
11104         * gst/gsturi.h:
11105            Add new API: gst_uri_has_protocol() (#333779).
11106
11107 2006-03-09  Wim Taymans  <wim@fluendo.com>
11108
11109         * gst/gstclock.c: (gst_clock_entry_new),
11110         (gst_clock_id_compare_func), (gst_clock_id_wait),
11111         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
11112         (gst_clock_init), (gst_clock_get_internal_time),
11113         (gst_clock_set_master), (do_linear_regression),
11114         (gst_clock_add_observation), (gst_clock_set_property):
11115         * gst/gstclock.h:
11116         Review docs.
11117         Small cleanups.
11118         Fix a possible segfault when the window-size is made smaller.
11119         Calculate jitter before performing the clock wait. Ideally
11120         the clock implementation should calculate jitter but we need
11121         API breakage for that.
11122
11123         * gst/gstsystemclock.c: (gst_system_clock_init):
11124         Docs review.
11125         
11126         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11127         Remove leftover else
11128
11129         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
11130         (gst_systemclock_suite):
11131         Added check to test GST_CLOCK_DIFF.
11132
11133 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11134
11135         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
11136         (gst_type_find_helper_get_range):
11137           If we are provided with the size, we should implement
11138           GstTypeFind::get_length, so that typefind functions who
11139           want to can actually peek at the middle of a file.
11140
11141 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
11142
11143         * docs/manual/advanced-dataaccess.xml:
11144           Add some very very basic error checking.
11145
11146         * docs/pwg/appendix-checklist.xml:
11147           Some updates to the list of things to check when writing an element.
11148
11149 2006-03-08  Wim Taymans  <wim@fluendo.com>
11150
11151         * docs/design/part-element-transform.txt:
11152         Added some docs about the design of tranform elements.
11153
11154         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11155         (gst_base_src_loop), (gst_base_src_change_state):
11156         Mark buffers with the DISCONT flag.
11157
11158 2006-03-08  Michael Smith  <msmith@fluendo.com>
11159
11160         * gst/gstregistry.h:
11161         * gst/gstregistryxml.c: (gst_registry_save),
11162         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
11163         (gst_registry_xml_save_pad_template),
11164         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
11165         (gst_registry_xml_write_cache):
11166           Rewrite registry-saving to avoid race conditions and check for
11167           failed writes.
11168
11169 2006-03-08  Wim Taymans  <wim@fluendo.com>
11170
11171         * libs/gst/base/gstbasetransform.c:
11172         (gst_base_transform_transform_caps),
11173         (gst_base_transform_transform_size),
11174         (gst_base_transform_prepare_output_buffer),
11175         (gst_base_transform_get_unit_size),
11176         (gst_base_transform_buffer_alloc),
11177         (gst_base_transform_handle_buffer),
11178         (gst_base_transform_change_state):
11179         Cleanups, separate normal flow from errors, add sensible
11180         DEBUG lines.
11181         Don't try to renegotiate when allocating an output buffer.
11182         Also copy DISCONT buffer flag when copying a buffer.
11183         Reset the transform after we finish streaming, not during.
11184
11185 2006-03-08  Wim Taymans  <wim@fluendo.com>
11186
11187         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11188         Use last buffer timestamp in qos message.
11189
11190 2006-03-07  Wim Taymans  <wim@fluendo.com>
11191
11192         Patch by: Christophe Fergeau
11193
11194         * docs/pwg/advanced-tagging.xml:
11195         * docs/pwg/building-pads.xml:
11196           fixes #333416
11197
11198 2006-03-07  Wim Taymans  <wim@fluendo.com>
11199
11200         * docs/libs/gstreamer-libs-sections.txt:
11201         Added basesink new methods.
11202
11203         * gst/gstevent.c:
11204         * gst/gstevent.h:
11205         Docs updates. Flesh out the QoS docs.
11206
11207         * libs/gst/base/gstadapter.c:
11208         Small doc clarification about ownership and flushing.
11209
11210         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
11211         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
11212         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
11213         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11214         * libs/gst/base/gstbasesink.h:
11215         API additions: 
11216         Added new methods to allow subclass to control max-lateness 
11217         and sync.
11218         Generate very basic QoS events based on last sync observation.
11219         Updated docs, fix typo, added some QoS blurb.
11220
11221         * libs/gst/base/gstbasesrc.c:
11222         Remove obsolete _get_state() calls from docs.
11223
11224 2006-03-07  Wim Taymans  <wim@fluendo.com>
11225
11226         * docs/libs/gstreamer-libs-sections.txt:
11227         * libs/gst/base/gstbasetransform.h:
11228         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
11229         Fix docs for GstBaseSrc.
11230
11231 2006-03-07  Wim Taymans  <wim@fluendo.com>
11232
11233         * docs/gst/gstreamer-sections.txt:
11234         * gst/gstbuffer.h:
11235         * gst/gstvalue.c:
11236         * libs/gst/base/gstbasetransform.h:
11237         Small documentation fixes.
11238
11239 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11240
11241         * gst/gstvalue.c:
11242           Document thread-unsafety of gst_value_register_foo_func()
11243           when used at the same time as gst_value_foo() (#322628).
11244
11245 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11246
11247         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
11248         (gst_push_src_check_get_range):
11249           Push sources don't support pull mode by default.
11250
11251 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11252
11253         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11254         (gst_base_src_init), (gst_base_src_pad_check_get_range),
11255         (gst_base_src_default_check_get_range):
11256         * libs/gst/base/gstbasesrc.h:
11257           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
11258           provide default implementation, and rename
11259           gst_base_src_check_get_range() to
11260           gst_base_src_pad_check_get_range() for clarity.
11261
11262 2006-03-06  Wim Taymans  <wim@fluendo.com>
11263
11264         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11265         Make property overridable.
11266
11267 2006-03-06  Wim Taymans  <wim@fluendo.com>
11268
11269         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11270         (gst_base_sink_init), (gst_base_sink_set_property),
11271         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11272         * libs/gst/base/gstbasesink.h:
11273         API addition: Make max-lateness a property.
11274
11275 2006-03-06  Wim Taymans  <wim@fluendo.com>
11276
11277         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
11278         (gst_base_sink_do_sync), (gst_base_sink_render_object):
11279         Don't ever draw a frame that is >10ms late.
11280
11281 2006-03-06  Michael Smith  <msmith@fluendo.com>
11282
11283         * gst/gstmessage.c: (_gst_message_copy):
11284           When copying a message, set the parent_refcount of the enclosed
11285           structure to point at the copy, not the original message.
11286
11287 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11288
11289         Patch by: Christophe Fergeau
11290
11291         * gst/gstutils.h:
11292           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
11293           usable in c++ code (#333417)
11294
11295 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11296
11297         * gst/gstclock.h:
11298           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
11299
11300 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
11301
11302         * libs/gst/base/gstbasetransform.c:
11303         (gst_base_transform_transform_caps):
11304           Make sure caps are writable before passing them to
11305           gst_caps_append().
11306
11307 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11308
11309         * gst/gsterror.h:
11310           Fix some minor docs errors.
11311
11312 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11313
11314           Patch by: Ross Burton <ross at burtonini dot com>
11315
11316         * gst/gsterror.c: (_gst_resource_errors_init):
11317         * gst/gsterror.h:
11318           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
11319
11320 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11321
11322         * gst/gst.c:
11323         Add a check and output a g_warning when GStreamer is built
11324         against GLib 2.6 but running against 2.8 or higher, and vice 
11325         versa. (Closes: #323542)
11326
11327 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11328
11329         * gst/parse/parse.l:
11330           Commit patch for parse_launch syntax from #331255. Removes 
11331           support for quoted strings and mimetypes when writing filtered 
11332           caps. See the bug report for more details - I'm pretty sure this
11333           obscure feature is not in use by _anyone_ anywhere.
11334
11335           With this simple change, the size of the gstreamer.so here 
11336           drops from 2193KB to 1565KB.
11337
11338 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11339
11340         * plugins/elements/gsttypefindelement.h:
11341         * plugins/elements/gsttypefindelement.c:
11342         (gst_type_find_element_src_event), (start_typefinding),
11343         (stop_typefinding), (gst_type_find_element_handle_event),
11344         (gst_type_find_element_chain),
11345         (gst_type_find_element_chain_do_typefinding):
11346           Use gst_type_find_helper_for_buffer() for chain-based
11347           typefinding.
11348
11349 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11350
11351         * plugins/elements/gsttypefindelement.c:
11352         (gst_type_find_element_class_init),
11353         (gst_type_find_element_set_property),
11354         (gst_type_find_element_get_property):
11355           Deprecate "maximum" property (not only was it only taken into
11356           account for typefinding in push-mode anyway, it also was never
11357           actually possible to set it in the first place because the
11358           property was registered with the numeric property ID for the
11359           "minimum" property). Register "maximum" property correctly,
11360           for the sake of future copy'n'pasters. Remove some cruft
11361           from property get/set functions.
11362
11363 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11364
11365         * plugins/elements/gsttypefindelement.c:
11366         (gst_type_find_element_activate):
11367           Use gst_type_find_helper_get_range() here, so we
11368           can honour the "minimum" property and also emit
11369           the signal with the correct probability of the found caps.
11370
11371 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
11372
11373         * docs/libs/gstreamer-libs-sections.txt:
11374         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
11375         (helper_find_suggest), (gst_type_find_helper_get_range),
11376         (gst_type_find_helper):
11377         * libs/gst/base/gsttypefindhelper.h:
11378           New API: gst_type_find_helper_get_range() (#333042).
11379
11380 2006-03-02  Michael Smith  <msmith@fluendo.com>
11381
11382         * gst/gstregistryxml.c: (load_feature):
11383           Asserting on a failure to read part of the registry is Not Cool.
11384           Just log a warning and return NULL (which is already handled)
11385
11386 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
11387
11388         * win32/common/libgstbase.def:
11389           added export of gst_type_find_helper_for_buffer
11390         * win32/common/libgstbase.def:
11391           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
11392           gst_ghost_pad_get_target
11393
11394 2006-02-28  Wim Taymans  <wim@fluendo.com>
11395
11396         * docs/design/draft-klass.txt:
11397         We use Filter now.
11398         Added Connector to mark elements that are only used to
11399         allow pipeline connections.
11400         Moved Debug to extra feature since most of them are 
11401         functionally something else.
11402
11403 2006-02-28  Wim Taymans  <wim@fluendo.com>
11404
11405         * docs/design/draft-klass.txt:
11406         Some updates and clarifications.
11407
11408 2006-02-28  Wim Taymans  <wim@fluendo.com>
11409
11410         * docs/design/draft-klass.txt:
11411         Proposal for klass field values.
11412
11413         * docs/design/part-streams.txt:
11414         Start of a doc describing stream anatomy.
11415
11416 2006-02-28  Wim Taymans  <wim@fluendo.com>
11417
11418         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
11419         Help the compiler a bit with type registration.
11420         Use existing forward cod path instead of duplicating it when 
11421         handling a message.
11422         
11423         * gst/gstbus.c: (gst_bus_get_type):
11424         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
11425         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
11426         * gst/gstclock.c: (gst_clock_get_type):
11427         * gst/gstelement.c: (gst_element_get_type),
11428         * gst/gstelementfactory.c: (gst_element_factory_get_type):
11429         * gst/gstindexfactory.c: (gst_index_factory_get_type):
11430         * gst/gstminiobject.c: (gst_mini_object_get_type):
11431         * gst/gstpad.c: (gst_pad_get_type):
11432         * gst/gstsegment.c: (gst_segment_get_type):
11433         * gst/gststructure.c: (gst_structure_get_type):
11434         * gst/gstsystemclock.c: (gst_system_clock_get_type):
11435         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
11436         * gst/gstvalue.c:
11437         Help compiler with type registration.
11438
11439         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
11440         Small doc update.
11441
11442 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11443
11444         * plugins/elements/gsttypefindelement.c:
11445         (gst_type_find_element_handle_event):
11446           When we get an EOS event and have not found a type yet
11447           (most likely because we had not yet accumulated
11448           TYPE_FIND_MIN_SIZE of data yet), try to determine the
11449           type given the data we have so far. Fixes typefinding
11450           for very short streams again, most notably quicktime
11451           redirections as used on Apple's trailer site (#331701).
11452
11453 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11454
11455         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
11456         (gst_type_find_helper):
11457           Try typefinding factories with the highest rank first.
11458
11459 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11460
11461         * docs/libs/gstreamer-libs-docs.sgml:
11462         * docs/libs/gstreamer-libs-sections.txt:
11463         * libs/gst/base/gsttypefindhelper.c:
11464           Add section for typefind helper and add documentation
11465           for the old and the new function.
11466
11467 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11468
11469         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
11470         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
11471         (gst_type_find_helper_for_buffer):
11472         * libs/gst/base/gsttypefindhelper.h:
11473           New API: gst_type_find_helper_for_buffer() (#332723).
11474           
11475 2006-02-27  Michael Smith  <msmith@fluendo.com>
11476
11477         Patch by: Loïc Minier
11478
11479         * configure.ac:
11480         * docs/Makefile.am:
11481         * docs/slides/Makefile.am:
11482           prevent CVS directories getting disted.
11483
11484 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11485
11486         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
11487           Use the REFCOUNTING category for caps refcounting.
11488           
11489 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11490
11491         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11492           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
11493
11494 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11495
11496         * plugins/elements/gsttypefindelement.c:
11497         (gst_type_find_element_activate):
11498           Use gst_pad_check_pull_range() before _activate_pull()
11499           to avoid unnecessary open/close (see #331690).
11500
11501 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11502
11503         * gst/gstutils.c:
11504           Docs enhancement: make it crystal clear what the
11505           gst_pad_add_*_probe() callbacks should look like.
11506
11507 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11508
11509         * libs/gst/base/gstbasesrc.c:
11510           Document how applications can stop recording from
11511           live sources (see #330996).
11512
11513 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11514
11515         * tests/check/Makefile.am:
11516         * tests/check/libs/basesrc.c: (eos_event_counter),
11517         (basesrc_eos_events_pull), (basesrc_eos_events_push),
11518         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
11519         (gst_basesrc_suite), (main):
11520           ... and add some tests for the base source EOS stuff.
11521
11522 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11523
11524         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
11525           Test case originally showed the problem fixed below,
11526           but was then amended. Add checks back at the place
11527           where they used to be.
11528
11529 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11530
11531         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11532         (gst_base_src_init), (gst_base_src_loop),
11533         (gst_base_src_activate_push), (gst_base_src_activate_pull),
11534         (gst_base_src_change_state):
11535         * libs/gst/base/gstbasesrc.h:
11536           Don't unconditionally send EOS when going from PAUSED to
11537           READY state, esp. make sure we don't send two EOS events
11538           in some cases (e.g. one when reaching EOS and one when
11539           going from PAUSED to READY). Also, we don't want to send
11540           EOS events when operating in pull mode. However, we do
11541           want to send an EOS event when shutting down a live
11542           source explicitly, for example (fixes #330996).
11543           
11544 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11545
11546         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11547           Update src->read_position after a seek when not using mmap.
11548           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
11549
11550 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
11551
11552         * gst/Makefile.am:
11553         * gst/gstparse.h:
11554         * gst/gstutils.c:
11555         * gst/gstutils.h:
11556         Make things work with --disable-parse as they do with 
11557         --disable-load-save - the symbols involved disappear, but the
11558         header is still installed and GST_DISABLE_PARSE is included via
11559         gstconfig.h
11560
11561 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11562
11563         * libs/gst/base/gstbasetransform.c:
11564         (gst_base_transform_change_state): Fix a stupid bug. I was 
11565         sure I compiled that.
11566
11567 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11568
11569         * gst/gstpad.c: (gst_pad_set_blocked_async):
11570         * gst/gstutils.c: (gst_pad_add_data_probe),
11571         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11572         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11573         (gst_pad_remove_buffer_probe): Make those function act on the
11574         ghostpad target when it's a ghostpad. (Closes #331727)
11575
11576 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11577
11578         * libs/gst/base/gstbasetransform.c:
11579         (gst_base_transform_change_state): Make basetransform reusable.
11580         (Closes #331898)
11581
11582 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
11583
11584         * docs/random/release:
11585         Move the current documentation of how to do a release to the top
11586         of the file.
11587
11588         * gst/gstbin.c: (gst_bin_class_init),
11589         (gst_bin_handle_message_func):
11590         Allow multiple state-recalculation threads. (Closes #328873)
11591
11592 2006-02-19  Julien MOUTTE  <julien@moutte.net>
11593
11594         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
11595         * gst/gstpad.c: (gst_pad_set_event_function),
11596         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11597         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
11598         2 strings. You can't use the STR_NULL macro on that.
11599
11600 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
11601
11602         * gst/gstpad.c: (gst_pad_set_event_function),
11603         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11604         (gst_pad_set_getcaps_function)
11605         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
11606           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
11607           So now, we can use --gst-debug-level=5 on Windows
11608         * win32/common/libgstcontroller.def:
11609           Added export of gst_controller_init
11610         * win32/vs6/libgstcontroller.dsp:
11611           Fixed Release post build configuration
11612
11613 2006-02-17  Wim Taymans  <wim@fluendo.com>
11614
11615         * tests/check/gst/gstquery.c: (GST_START_TEST):
11616         Added another check.
11617
11618 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
11619
11620         * plugins/elements/gsttypefindelement.c: (find_peek):
11621           We can do peeks at non-zero offsets, as long as they
11622           fall within the buffer we have.
11623
11624 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
11625
11626         * tests/check/Makefile.am:
11627         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
11628         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
11629         (parse_suite), (main):
11630           Add testsuite for parse launch syntax
11631
11632 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
11633
11634         * plugins/elements/gsttypefindelement.c:
11635         (gst_type_find_element_chain):
11636           When typefinding is unsuccessful in the chain function, don't
11637           error out immediately. Only error out with NO_CAPS_FOUND if
11638           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
11639           otherwise simply wait for more data so we can try typefinding
11640           again with more data later. Also, don't attempt to typefind
11641           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
11642           this should improve typefinding from network sources where the
11643           size of the first buffer can be somewhat random.
11644
11645 2006-02-14  Wim Taymans  <wim@fluendo.com>
11646
11647         * docs/gst/gstreamer-sections.txt:
11648         * gst/gstpadtemplate.c:
11649         * gst/gstpadtemplate.h:
11650         Fix padtemplate docs, fixes #328805.
11651
11652 2006-02-14  Wim Taymans  <wim@fluendo.com>
11653
11654         * tools/gst-launch.c: (main):
11655         NO_PREROLL is not an ERROR so don't send confusing messages
11656         to the user.
11657
11658 2006-02-14  Wim Taymans  <wim@fluendo.com>
11659
11660         Patch by: Torsten Schoenfeld
11661
11662         * gst/gstregistry.c: (gst_registry_get_default),
11663         (_gst_registry_cleanup):
11664         Protect default registry with lock and ref/sink it.
11665         Fixes #324818
11666
11667 2006-02-14  Wim Taymans  <wim@fluendo.com>
11668
11669         * gst/gstbuffer.c:
11670         * gst/gstquery.c: (gst_query_list_add_format),
11671         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11672         (gst_query_parse_formats_nth):
11673         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11674         Docs fixes.
11675
11676 2006-02-14  Wim Taymans  <wim@fluendo.com>
11677
11678         * docs/gst/gstreamer-sections.txt:
11679         Reworked query docs.
11680
11681         * gst/gstquery.c: (gst_query_new_formats),
11682         (gst_query_list_add_format), (gst_query_set_formats),
11683         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11684         (gst_query_parse_formats_nth):
11685         * gst/gstquery.h:
11686         Flesh out formats query, added some new methods.
11687         Fix part of #324398.
11688
11689         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
11690         Added query creation tests.
11691
11692 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
11693
11694         * gst/gstpad.c: (fixate_value):
11695         Add a default fixation for fraction lists.
11696
11697 2006-02-13  Wim Taymans  <wim@fluendo.com>
11698
11699         * gst/gsttask.c: (gst_task_init), (gst_task_func),
11700         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
11701         (gst_task_join):
11702         * gst/gsttask.h:
11703         Detect and warn for obvious deadlocks. fixes #320340
11704         Fix error case where lock was not released.
11705
11706         * tests/check/Makefile.am:
11707         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
11708         (task_func), (gst_element_suite), (main):
11709         Add task check.
11710
11711 2006-02-13  Wim Taymans  <wim@fluendo.com>
11712
11713         * docs/gst/gstreamer-sections.txt:
11714         * gst/gstbus.c:
11715         Add new functions to docs.
11716
11717 2006-02-13  Wim Taymans  <wim@fluendo.com>
11718
11719         * docs/design/part-TODO.txt:
11720         Updated TODO list, basesrc supports seeking to non-bytes
11721         formats.
11722
11723         * docs/design/part-element-sink.txt:
11724         Update docs.
11725
11726         * gst/gstbin.c: (bin_replace_message),
11727         (gst_bin_handle_message_func):
11728         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11729         * gst/gstevent.c: (gst_event_finalize):
11730         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11731         (gst_pad_send_event):
11732         Use shiny new _TYPE_NAME macros.
11733
11734         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11735         Move debug statement up.
11736
11737         * gst/gstelement.c: (gst_element_set_locked_state):
11738         Add some debugging.
11739
11740 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
11741
11742         * docs/gst/gstreamer-sections.txt:
11743         * gst/gstmessage.h:
11744         * gst/gstquery.h:
11745           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
11746           macros (#330906). Also, document the already existing
11747           GST_QUERY_TYPE macro.
11748
11749 2006-02-13  Wim Taymans  <wim@fluendo.com>
11750
11751         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
11752         (event_probe), (GST_START_TEST):
11753         Only events up to the pipeline EOS are counted, there are
11754         some more when going to NULL currently which we don't care
11755         about for now.
11756
11757 2006-02-13  Wim Taymans  <wim@fluendo.com>
11758
11759         * gst/gstpad.c: (gst_pad_send_event):
11760         Correctly check flushing and emit probes. fixes #330125
11761
11762 2006-02-10  Andy Wingo  <wingo@pobox.com>
11763
11764         * gst/gstbus.c (gst_bus_class_init): Declare our private data
11765         structure.
11766         (gst_bus_init): Cache the location of the private data in the
11767         instance structure.
11768         (gst_bus_enable_sync_message_emission) 
11769         (gst_bus_disable_sync_message_emission): Implement new public
11770         functions.
11771         (gst_bus_post): Emit the sync-message signal if the user asked for
11772         it. Fixes #330684.
11773
11774         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
11775         location of the bus-private structure.
11776         (gst_bus_enable_sync_message_emission)
11777         (gst_bus_disable_sync_message_emission): API addition
11778
11779 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
11780
11781         Patch by: Vincent Torri
11782
11783         * docs/pwg/building-boiler.xml:
11784         PWG patch from #326800
11785
11786 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
11787
11788         * configure.ac:
11789         * docs/Makefile.am:
11790         * docs/design/Makefile.am:
11791           Dist design docs.
11792
11793 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11794
11795         * configure.ac:
11796           back to CVS
11797
11798 === release 0.10.3 ===
11799
11800 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
11801
11802         * configure.ac:
11803           releasing 0.10.3, "Like a virgin"
11804
11805 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11806
11807         * configure.ac:
11808           2nd prerelease of 0.10.3
11809           Bump libtool versioning.
11810
11811 2006-02-07  Andy Wingo  <wingo@pobox.com>
11812
11813         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
11814         update last_stop if we're in TIME format and the timestamp is
11815         valid.
11816
11817         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
11818         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
11819         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
11820         If we get a new newsegment with a different format, adapt
11821         accordingly.
11822
11823         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
11824         of 0. Not a problem, really.
11825
11826         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
11827         warn if sync=true.
11828
11829 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
11830
11831         * configure.ac:
11832           Prelease of 0.10.3
11833
11834 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
11835
11836         * win32/vs7:
11837           project files updated to the default vs7 configuration
11838         * win32/common/libgstbase.def:
11839         * win32/common/libgstreamer.def:
11840           added new symbols,
11841           removed empty lines,
11842           sorted all exported symbols alphabetically
11843         * win32/common/dirent.c:
11844         * win32/common/dirent.h:
11845         * win32/common/gchar.h:
11846           use windows line end.
11847           
11848 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
11849
11850         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11851           Send EOS event when stopping.
11852
11853 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
11854
11855         * docs/README:
11856           Tell folks what to do if the plugin-foobar.xml file
11857           hasn't been generated for a newly-added plugin.
11858
11859 2006-02-05  Julien MOUTTE  <julien@moutte.net>
11860
11861         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11862         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11863         (gst_collect_pads_start), (gst_collect_pads_stop),
11864         (gst_collect_pads_event): Collectpads now holds a reference
11865         to the GstPad that was added. Indeed we don't want to look
11866         at pads that might just go away with no warning...
11867
11868 2006-02-05  Julien MOUTTE  <julien@moutte.net>
11869
11870         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11871         (gst_collect_pads_start), (gst_collect_pads_stop),
11872         (gst_collect_pads_event), (gst_collect_pads_chain):
11873         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
11874         Mark Nauwelaerts's patch on bug #328491.
11875
11876 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
11877
11878         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
11879         (gst_utils_suite):
11880           Add some simple tests for gst_parse_bin_from_description() and
11881           gst_bin_find_unconnected_pad() (#329069).
11882
11883 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
11884
11885         * tools/gst-launch.c: (event_loop), (main):
11886           Catch errors during preroll (#320084).
11887
11888 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
11889
11890         * plugins/elements/gsttypefindelement.c:
11891         (gst_type_find_element_activate):
11892           Post TYPE_NOT_FOUND error message when typefinding
11893           is unsuccessful in the activate function as well.
11894
11895 2006-02-02  Wim Taymans  <wim@fluendo.com>
11896
11897         * docs/design/part-element-sink.txt:
11898         Updated doc.
11899
11900 2006-02-02  Wim Taymans  <wim@fluendo.com>
11901
11902         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11903         (gst_base_sink_render_object),
11904         (gst_base_sink_queue_object_unlocked):
11905         Only keep track of prerollable items when we are 
11906         prerolling.
11907         Before rendering after preroll, always check if we
11908         have queued items.
11909         Added some more debugging.
11910
11911 2006-02-02  Wim Taymans  <wim@fluendo.com>
11912
11913         * gst/gstelement.c: (gst_element_continue_state),
11914         (gst_element_set_state_func), (gst_element_change_state):
11915         Fixed #326576, been running this for quite some time with
11916         no regressions at all.
11917
11918 2006-02-02  Wim Taymans  <wim@fluendo.com>
11919
11920         * common/gst.supp:
11921         Added more suppressions
11922
11923 2006-02-02  Wim Taymans  <wim@fluendo.com>
11924
11925         * docs/design/part-element-sink.txt:
11926         Updated document.
11927
11928         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11929         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
11930         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
11931         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11932         (gst_base_sink_do_sync), (gst_base_sink_render_object),
11933         (gst_base_sink_preroll_object),
11934         (gst_base_sink_queue_object_unlocked),
11935         (gst_base_sink_queue_object), (gst_base_sink_event),
11936         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
11937         (gst_base_sink_loop), (gst_base_sink_activate_pull),
11938         (gst_base_sink_get_position), (gst_base_sink_change_state):
11939         * libs/gst/base/gstbasesink.h:
11940         Totally refactored matching the design doc.
11941         Use two segments, one to clip incomming buffers and another to
11942         perform sync.
11943         Handle queueing correctly, bypass the queue when playing.
11944         Make EOS cancelable.
11945         Handle errors correctly when operating in pull based mode.
11946
11947         * tests/check/elements/fakesink.c: (GST_START_TEST),
11948         (fakesink_suite):
11949         Added new check for sinks.
11950
11951 2006-02-02  Wim Taymans  <wim@fluendo.com>
11952
11953         * gst/gstsegment.c: (gst_segment_clip):
11954         No reason to refuse to clip when start == -1
11955
11956 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
11957
11958         * docs/README:
11959         * docs/manual/intro-basics.xml:
11960         * docs/manual/intro-preface.xml:
11961         * docs/manual/manual.xml:
11962         * docs/pwg/advanced-dparams.xml:
11963         * docs/pwg/intro-basics.xml:
11964         * docs/pwg/intro-preface.xml:
11965         * docs/pwg/pwg.xml:
11966           describe dparams (controller) for plugins
11967           unify docs a little more
11968
11969 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
11970
11971         * docs/gst/gstreamer-sections.txt:
11972         * gst/gstutils.c: (element_find_unconnected_pad),
11973         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
11974         * gst/gstutils.h:
11975           Add new API: gst_parse_bin_from_description() and
11976           gst_bin_find_unconnected_pad() (#329069).
11977
11978 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
11979
11980         * docs/manual/README:
11981           uncover a nasty detail of the docs build
11982
11983 2006-01-31  Wim Taymans  <wim@fluendo.com>
11984
11985         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
11986         Don't cache duration messages if we're not going to use or
11987         free them.
11988
11989 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
11990
11991         * docs/manual/advanced-dparams.xml:
11992         * docs/pwg/advanced-dparams.xml:
11993           more dparam docs
11994         * gst/gstindex.c:
11995           fix docs
11996         * libs/gst/controller/lib.c: (gst_controller_init):
11997           init just once
11998
11999 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
12000
12001         * gst/gstelement.c: (gst_element_message_full):
12002           also show file/line/func if no additional debug was given
12003
12004 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
12005         
12006         * win32/vs7/grammar.vcproj:
12007           activate copy of autogenerated files for Release mode
12008
12009 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
12010         
12011         * win32/common/libgstreamer.def:
12012           export gst_value_compare
12013
12014 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
12015
12016         * plugins/elements/Makefile.am:
12017         * plugins/elements/gstelements.c:
12018         * plugins/elements/gstfdsink.c: (_do_init),
12019         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
12020         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
12021         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
12022         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
12023         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
12024         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
12025         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
12026         * plugins/elements/gstfdsink.h:
12027         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
12028
12029 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
12030
12031         * docs/manual/advanced-dparams.xml:
12032           describe controller
12033         * docs/manual/advanced-position.xml:
12034         * docs/manual/basics-init.xml:
12035         * docs/manual/manual.xml:
12036         * docs/manual/titlepage.xml:
12037         * docs/pwg/pwg.xml:
12038         * docs/pwg/titlepage.xml:
12039           cleanup xml (more to come)
12040         * libs/gst/controller/gstcontroller.c:
12041           fix typo
12042
12043 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
12044         
12045         * win32/vs6/grammar.dsp:
12046           add autogen of gstmarshal.c,h for Release mode
12047                 
12048 2006-01-30  Wim Taymans  <wim@fluendo.com>
12049
12050         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12051         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
12052         (gst_base_sink_handle_object), (gst_base_sink_event),
12053         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
12054         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12055         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
12056         (gst_base_sink_deactivate), (gst_base_sink_activate),
12057         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
12058         (gst_base_sink_query), (gst_base_sink_change_state):
12059         Basesink cleanups, remove some old code.
12060         Handle the case where a subclass can preroll in the render
12061         method (mostly audiosinks).
12062         Handle more events.
12063         Remove some locks around variables that are now protected
12064         with the PREROLL_LOCK (clock_id, flushing, ..).
12065         Optimize position query some more, do correct locking.
12066         Remove old code to push queue in state change, this is not
12067         needed anymore since preroll blocks on all prerollable items 
12068         now.
12069         Almost implemented as described in design doc.
12070
12071 2006-01-30  Wim Taymans  <wim@fluendo.com>
12072
12073         * tests/check/gst/gstbin.c: (GST_START_TEST):
12074         Wait for refcount to settle down before checking.
12075
12076 2006-01-30  Wim Taymans  <wim@fluendo.com>
12077
12078         * docs/design/part-element-sink.txt:
12079         Pseudo code overview of desired sink behaviour regarding
12080         preroll.
12081
12082 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12083         * win32/vs6/grammar.dsp:
12084           fix some bugs in Release mode for autogenerated files
12085                 
12086 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12087         * win32/common/libgstbase.def:
12088         * win32/common/libgstreamer.def:
12089           export some new symbols: gst_base_src_set_format,
12090           gst_iterator_next, gst_structure_set_valist
12091
12092 2006-01-29  Julien MOUTTE  <julien@moutte.net>
12093
12094         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12095         Set pad functions unconditionally. Fixes #329105.
12096
12097 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12098         * win32/vs8:
12099           add vs8 project files created by Sergey Scobich
12100
12101 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
12102
12103         * gst/gstutils.c: (gst_element_unlink_pads):
12104         Don't leak pad references.
12105
12106         * tests/check/elements/fakesink.c: (GST_START_TEST):
12107         * tests/check/generic/sinks.c: (GST_START_TEST):
12108         * tests/check/generic/states.c: (GST_START_TEST):
12109         * tests/check/gst/gstbin.c: (GST_START_TEST):
12110         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12111         * tests/check/gst/gstelement.c: (GST_START_TEST):
12112         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12113         * tests/check/gst/gstiterator.c: (GST_START_TEST):
12114         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12115         Fix a bunch of leaks. Make generic/sinks.c
12116         use a bit less cpu by slowing the buffer rate
12117         between fakesrc and fakesink.
12118         
12119 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
12120         * gst/gstcaps.c:
12121         * gst/gstelement.c: (gst_element_send_event):
12122         * gst/gstevent.c:
12123         * gst/gstinfo.c:
12124         * gst/gstiterator.c:
12125         * gst/gstiterator.h:
12126         * gst/gstpad.c: (gst_pad_send_event):
12127         * gst/gststructure.c:
12128         * gst/gsturi.c:
12129         * gst/gstutils.c:
12130         * gst/gstvalue.c:
12131         * libs/gst/base/gstadapter.c:
12132           doc fixes, to link to function, just write gst_cool_function(), don't
12133           prefix with '#'
12134
12135 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12136
12137         * plugins/elements/gsttee.c: (gst_tee_do_push),
12138         (gst_tee_handle_buffer):
12139         Always prefer an actual return value from a src
12140         pad in place of NOT_LINKED. This means we return
12141         WRONG_STATE when all src pads are WRONG_STATE
12142         instead of NOT_LINKED.
12143
12144         Lock when replacing the last message to prevent
12145         racing with the get_property method.
12146
12147         Add debug output
12148
12149 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12150
12151         * tests/check/Makefile.am:
12152         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
12153         (main):
12154         Add a very simple check that should have caught the memleak I fixed
12155         last night (if not for the slice allocator hiding it)
12156
12157 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12158
12159         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12160         (gst_bin_remove_func), (gst_bin_handle_message_func),
12161         (bin_query_duration_fold), (bin_query_generic_fold):
12162         Clean up references to the clock provider when disposed or when
12163         handling a clock-lost message from it.
12164
12165         Unref sinks when performing a query via gst_iterator_fold, as the
12166         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
12167
12168         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
12169         (gst_clock_set_master):
12170         Drop our reference to the master clock, if any, when we are disposed.
12171
12172         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
12173         Chain up in dispose. 
12174
12175 2006-01-26  Wim Taymans  <wim@fluendo.com>
12176
12177         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12178         Add some debugging.
12179
12180 2006-01-26  Julien MOUTTE  <julien@moutte.net>
12181
12182         * plugins/elements/gsttee.c: (gst_tee_do_push),
12183         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
12184         handles pad being NOT_LINKED or in WRONG_STATE.
12185
12186 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12187
12188         * win32/MANIFEST:
12189           more updating
12190
12191 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12192
12193         * win32/MANIFEST:
12194           remove obsolete entry
12195
12196 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12197
12198         * docs/gst/gstreamer-sections.txt:
12199         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
12200         (gst_bin_iterate_sources), (gst_bin_send_event):
12201         * gst/gstbin.h:
12202         * gst/gstelement.c: (gst_element_send_event):
12203         * gst/gstevent.c:
12204         * gst/gstpad.c: (gst_pad_send_event):
12205           added code for downstream events, reviewed docs in gstevent.c
12206
12207 2006-01-25  Julien MOUTTE  <julien@moutte.net>
12208
12209         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12210         We only query position using the clock in the playing state.
12211         Query peer in the other cases.
12212         * win32/common/config.h: Updates.
12213
12214 2006-01-24  Wim Taymans  <wim@fluendo.com>
12215
12216         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12217         A clock entry that is scheduled for the exact time of the
12218         clock is still in time.
12219
12220         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12221         (gst_base_sink_do_sync):
12222         Add some more debug info.
12223
12224 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12225
12226         * win32/vs7:
12227           Add new vs7 project files and solution.
12228
12229 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12230
12231         * win32/vs7:
12232           all files removed as they were out-dated.
12233
12234 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12235
12236         * docs/random/release:
12237           update notes
12238         * gst/gstbin.c: (gst_bin_init):
12239         * gst/gstbus.c: (gst_bus_new):
12240         * gst/gstbus.h:
12241         * gst/gstpipeline.c: (gst_pipeline_init):
12242           use gst_bus_new(), improve logging, fix docs
12243         * win32/common/config.h:
12244           update for cvs build
12245
12246 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12247
12248         * autogen.sh:
12249           up required version of automake to 1.7
12250
12251 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
12252
12253         * win32/common/libgstreamer.def:
12254           export gst_buffer_is_metadata_writable
12255
12256 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
12257
12258         * docs/gst/gstreamer-sections.txt:
12259         * gst/gstevent.h:
12260           Add gst_event_replace() (#327001)
12261
12262 2006-01-20  Wim Taymans  <wim@fluendo.com>
12263
12264         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
12265         Make it actually compile too..
12266
12267 2006-01-20  Wim Taymans  <wim@fluendo.com>
12268
12269         * gst/gstcaps.c:
12270         Clarify behaviour of _is_equal() when passing NULL parameters.
12271
12272         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12273         (gst_pad_set_caps):
12274         Cleanups. Don't unref NULL caps.
12275         When setting the same caps, protect caps of the pad with
12276         proper lock.
12277         Use full functionality of _is_equal() when comparing caps.
12278
12279 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12280
12281         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12282         Don't loop infinitely if there are no buffers to present. Partially
12283         fixes #327197, but collectpads is just broken for reusing elements
12284         to do multiple encodes atm.
12285
12286 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12287
12288         * tools/gst-inspect.c: (print_element_features):
12289         * tools/gst-xmlinspect.c: (main):
12290         URL_HANDLER is not a plugin feature we can search for in
12291         the registry.
12292
12293 2006-01-19  Edward Hervey  <edward@fluendo.com>
12294
12295         * gst/gstelement.c: (gst_element_pads_activate): 
12296         When activating, do src pads first, then sink pads.
12297         When de-activating, do sink pads first, then src pads.
12298
12299 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12300
12301         * docs/gst/gstreamer-sections.txt:
12302         Add gst_index_add_associationv to the docs
12303
12304 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12305
12306         * gst/gstevent.c:
12307           Fix docs typo
12308
12309         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
12310         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
12311           Do some refactoring. Doesn't actually change functionality,
12312           but makes landing the DRAIN event easier later.
12313
12314 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
12315
12316         * docs/pwg/advanced-scheduling.xml:
12317           Update from 0.9.x to 0.10 API and make example a bit
12318           clearer.
12319
12320 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12321
12322         * docs/gst/gstreamer-sections.txt:
12323         Add gst_buffer_(is|make)_metadata_writable methods.
12324
12325 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12326
12327         * docs/design/part-sparsestreams.txt:
12328         Update sparse streams doc, hopefully for greater clarity
12329
12330 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
12331
12332         * docs/design/part-events.txt:
12333         Remove mention of FILLER events.
12334         Add DRAIN event.
12335
12336         * docs/design/part-sparsestreams.txt:
12337         Write some things about using NEWSEGMENT to keep sparse streams
12338         flowing.
12339
12340 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12341
12342         * gst/gstbin.c: (gst_bin_dispose):
12343           Guard gst_object_unref call against a NULL object (dispose
12344           can theoretically be called multiple times).
12345           
12346 2006-01-18  Wim Taymans  <wim@fluendo.com>
12347
12348         * gst/gstbin.c: (gst_bin_element_set_state):
12349         * gst/gstclock.c: (gst_clock_id_wait):
12350         Added some more debug info.
12351
12352         * libs/gst/base/gstadapter.c:
12353         Added more docs.
12354
12355         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12356         (gst_base_sink_do_sync), (gst_base_sink_chain):
12357         Added some comments.
12358
12359 2006-01-18  Wim Taymans  <wim@fluendo.com>
12360
12361         * tests/check/Makefile.am:
12362         * tests/check/elements/fakesink.c: (chain_async_buffer),
12363         (chain_async), (chain_async_return), (GST_START_TEST),
12364         (fakesink_suite), (main):
12365         Added fakesink test that checks prerolling and clipping
12366         behaviour.
12367
12368         * tests/check/gst/gstutils.c: (GST_START_TEST):
12369         Make check run faster so that buildbots don't timeout.
12370
12371 2006-01-18  Wim Taymans  <wim@fluendo.com>
12372
12373         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12374         (gst_base_sink_do_sync):
12375         Some cleanups.
12376         When the sink finishes blocking on the preroll buffer, it can
12377         immediatly render it instead of rendering when the next buffer
12378         arrives.
12379
12380 2006-01-18  Wim Taymans  <wim@fluendo.com>
12381
12382         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
12383         (gst_base_sink_get_property), (gst_base_sink_do_sync),
12384         (gst_base_sink_chain):
12385         Small cleanups.
12386         GST_ELEMENT_CLOCK and sync are protected with LOCK.
12387         Don't store _last_stop if the buffer is dropped.
12388
12389 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12390
12391         * plugins/elements/gsttypefindelement.c:
12392         (gst_type_find_element_class_init):
12393           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
12394           object method handler that sets the caps on the pad and we want
12395           that to happen before we emit the signal (fixes e.g. feeding a
12396           plain text file to decodebin).
12397
12398 2006-01-18  Christian Schaller  <Christian@fluendo.com>
12399
12400         * gst/gstplugin.c: Add MPL and Proprietary as license options
12401
12402 2006-01-18  Andy Wingo  <wingo@pobox.com>
12403
12404         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
12405         symbol was exported before, it appears this was just an oversight.
12406         Fixes #168703.
12407         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
12408
12409         * gst/gstindex.c (gst_index_add_associationv): Changed int in
12410         prototype to gint. OK since this prototype was not in the header.
12411
12412 2006-01-17  Andy Wingo  <wingo@pobox.com>
12413
12414         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
12415         registry while we remove plugins.
12416
12417         * tools/gst-inspect.c (print_element_info): Don't unref the
12418         factory arg, that should be the responsibility of whatever code
12419         received the ref. Fixes a double-free when called from
12420         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
12421         (main): Unref the factory if we have one.
12422         (print_element_list): No change -- relies on the
12423         plugin_feature_list_free to free the list of features.
12424
12425 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
12426
12427         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12428         (gst_buffer_make_metadata_writable):
12429         * gst/gstbuffer.h:
12430         * libs/gst/base/gstbasetransform.c:
12431         (gst_base_transform_prepare_output_buf):
12432         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12433         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12434           Replace gst_buffer_(make|is)_metadata_writable patch now
12435           that the release is out.
12436
12437 2006-01-17  Andy Wingo  <wingo@pobox.com>
12438
12439         * gst/gstregistry.c: Reflow design comment. Update so as to speak
12440         in the present tense without reference to versions.
12441
12442         * gst/gstregistry.c (gst_registry_add_plugin)
12443         (gst_registry_remove_plugin, gst_registry_remove_feature)
12444         (gst_registry_find_feature, gst_registry_get_feature_list)
12445         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
12446         (gst_registry_lookup, gst_registry_scan_path)
12447         (_gst_registry_remove_cache_plugins)
12448         (gst_registry_get_feature_list_by_plugin): Add argument
12449         validation.
12450
12451 === release 0.10.2 ===
12452
12453 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
12454
12455         * configure.ac:
12456           releasing 0.10.2, "If man is five"
12457
12458 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12459
12460         * gst/gstbuffer.c:
12461         * gst/gstbuffer.h:
12462         * libs/gst/base/gstbasetransform.c:
12463         (gst_base_transform_prepare_output_buf):
12464         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12465         * tests/check/gst/gstbuffer.c: (gst_test_suite):
12466           Back out patch until after the release.
12467
12468 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12469
12470         * gst/gstminiobject.c:
12471           Spelling fix in docs.
12472         * ChangeLog - remove conflict indicator
12473
12474 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12475
12476         Reviewed By: Andy Wingo
12477
12478         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12479         (gst_buffer_make_metadata_writable):
12480         * gst/gstbuffer.h:
12481           Add gst_buffer_(is|make)_metadata_writable as analogues of
12482           gst_buffer_(is|make)_writable.
12483
12484         * libs/gst/base/gstbasetransform.c:
12485         (gst_base_transform_prepare_output_buf):
12486         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12487           Use name gst_buffer_(is|make)_metadata_writable functions.
12488
12489         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12490           Test gst_buffer_(is|make)_metadata_writable
12491         
12492           (Closes: #324162)
12493
12494 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12495
12496         * docs/manual/Makefile.am:
12497           don't do parallel make
12498         * configure.ac:
12499           AC_SUBST HOST_CPU
12500         * win32/common/config.h.in:
12501           add generations for HOST_CPU and GST_MAJORMINOR
12502         * win32/common/config.h:
12503           commit generated result
12504
12505 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
12506
12507         * docs/manual/appendix-integration.xml:
12508           Update GNOME integration section to use gst_init_get_option_group()
12509           instead of the old popt stuff (#322911). Also, GNOME applications
12510           should  now use gconf*sink and gconf*src instead of the old gconf
12511           helper lib we had.
12512
12513 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
12514
12515
12516         * docs/gst/gstreamer-docs.sgml:
12517         * docs/gst/gstreamer-sections.txt:
12518         * docs/libs/gstreamer-libs-sections.txt:
12519           add new API entries to the docs
12520         * libs/gst/controller/Makefile.am:
12521         * libs/gst/controller/gstcontroller.c:
12522         * libs/gst/controller/gstcontroller.h:
12523         * libs/gst/controller/gstcontrollerprivate.h:
12524         * libs/gst/controller/gsthelper.c:
12525         * libs/gst/controller/gstinterpolation.c:
12526           move private structs to private header
12527         * po/README:
12528           gstreamer-0.7 -> gstreamer-0.10
12529         * tests/check/libs/struct_i386.h:
12530           remove private structs
12531
12532 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12533
12534         * plugins/indexers/Makefile.am:
12535           Fixes as part of #317048
12536
12537 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12538
12539         * plugins/indexers/Makefile.am:
12540           fix #316086 - compilation when mmap is missing
12541
12542 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
12543
12544         * libs/gst/base/gstbasesink.c:
12545           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
12546           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
12547         * win32/common/config.h:
12548           added some defines GST_MAJORMINOR and HOST_CPU
12549         * win32/common/libgstbase.def:
12550         * win32/common/libgstreamer.def:
12551           added some exported functions.
12552
12553 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12554
12555         * libs/gst/controller/gstcontroller.c:
12556         (gst_controlled_property_set_interpolation_mode),
12557         (gst_controlled_property_new):
12558         * libs/gst/controller/gstcontroller.h:
12559         * libs/gst/controller/gstinterpolation.c:
12560         (interpolate_none_get_string_value_array):
12561           make G_TYPE_STRING controlable
12562
12563 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12564
12565         * tools/README:
12566         * tools/gst-feedback.1.in:
12567         * tools/gst-inspect.1.in:
12568         * tools/gst-launch.1.in:
12569         * tools/gst-md5sum.1.in:
12570         * tools/gst-typefind.1.in:
12571         * tools/gst-xmlinspect.1.in:
12572         * tools/gst-xmllaunch.1.in:
12573           cleanup man-pages, remove reference to gst-register, document env-vars
12574
12575 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
12576
12577         * gst/gstbuffer.c: (gst_buffer_span):
12578           gst_buffer_span should copy the timestamp of the first buffer
12579           if they were both originally overlapping subbuffers of the 
12580           same parent, using the same logic as the 'slow copy' case.
12581
12582 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
12583
12584         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
12585           Need to awaken ALL the pads when we pop a buffer, otherwise
12586           collectpads only works when there is 2 input streams.
12587
12588 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
12589
12590         * docs/random/ensonic/media-device-daemon.txt:
12591           more ideas (dbus)
12592         * gst/gstbuffer.c:
12593           fix doc example, add clarification
12594         * tools/gst-launch.1.in:
12595           add initial info about GST_PLUGIN_PATH, needs more work
12596
12597 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
12598
12599         * docs/manual/basics-bins.xml:
12600         * docs/manual/basics-elements.xml:
12601         * docs/manual/intro-basics.xml:
12602           Some more minor docs additions and updates.
12603
12604 2006-01-11  Wim Taymans  <wim@fluendo.com>
12605
12606         * docs/manual/basics-bins.xml:
12607         * docs/manual/basics-elements.xml:
12608         Some small fixes as pointed out by Ser-ver on IRC.
12609
12610 2006-01-10  Edward Hervey  <edward@fluendo.com>
12611
12612         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12613         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
12614         the single-segment mode.
12615
12616 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
12617
12618         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12619
12620         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
12621         (gst_base_src_perform_seek), (gst_base_src_send_event),
12622         (gst_base_src_set_property), (gst_base_src_get_property),
12623         (gst_base_src_loop), (gst_base_src_start),
12624         (gst_base_src_activate_push):
12625         * libs/gst/base/gstbasesrc.h:
12626           Name (private) union; makes Sun's Forte compiler happy (#324900).
12627
12628 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
12629
12630         * README:
12631           gst-register is gone.
12632
12633 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12634
12635         * gst/gstvalue.c: (_gst_value_initialize):
12636           make the G_TYPE_DATE instantiation work if debug is disabled
12637
12638 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
12639
12640         * gst/gstmessage.c: (gst_message_parse_tag),
12641         (gst_message_parse_error), (gst_message_parse_warning):
12642           Don't crash when return location for error/warning debug
12643           string is NULL; add fact that return locations can be
12644           NULL to docs where appropriate.
12645
12646 2006-01-05  Wim Taymans  <wim@fluendo.com>
12647
12648         * gst/gstplugin.c: (gst_plugin_load_file):
12649         Replace strdup by g_strdup.
12650
12651 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12652
12653         * docs/pwg/advanced-types.xml:
12654           fix doc borkage
12655
12656 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12657
12658         submitted by: Abel Cheung
12659
12660         * po/LINGUAS:
12661         * po/zh_TW.po:
12662           Added Chinese (traditional) translation
12663
12664 2006-01-04  Wim Taymans  <wim@fluendo.com>
12665
12666         * docs/manual/basics-pads.xml:
12667         * docs/plugins/Makefile.am:
12668         * docs/plugins/gstreamer-plugins-docs.sgml:
12669         * docs/plugins/gstreamer-plugins-sections.txt:
12670         * docs/pwg/advanced-clock.xml:
12671         * docs/pwg/advanced-scheduling.xml:
12672         * docs/pwg/advanced-types.xml:
12673         * plugins/elements/gstfdsink.c:
12674         * plugins/elements/gstfdsrc.c:
12675         * plugins/elements/gstfdsrc.h:
12676         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12677         * plugins/elements/gstidentity.h:
12678         * plugins/elements/gstqueue.h:
12679         * plugins/elements/gsttee.c:
12680         * plugins/elements/gsttee.h:
12681         * plugins/elements/gsttypefindelement.c:
12682         (gst_type_find_element_class_init):
12683         * plugins/elements/gsttypefindelement.h:
12684         Small updates to various docs.
12685         Added core plugins to docs.
12686
12687 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12688
12689         * common/gst.supp:
12690           add a suppression for liboil's uninitialized variable
12691
12692 2006-01-02  James Livingston  <jrl at ids dot org dot au>
12693
12694         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12695
12696         * gst/gstutils.h:
12697           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
12698           macro, so that gcc doesn't complain if the -Wmissing-prototypes
12699           compiler switch is being used (#325429).
12700
12701 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
12702
12703         * gst/gstbin.c: (gst_bin_query):
12704           Disable duration query caching in bins until it gets
12705           fixed (see #324807).
12706
12707 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12708
12709         * tools/gst-inspect.c: (print_element_properties_info):
12710           Handle properties of POINTER and BOXED type.
12711
12712 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12713
12714         * gst/gst.c: (init_post):
12715           Init tags stuff and some other things before loading
12716           any static plugins (there may be other static plugins
12717           than just the GStreamer ones, and they may want to
12718           register their own tags or formats or whatever, and
12719           preferably without segfaulting).
12720
12721         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
12722           Print at least a warning in the debug logs if we drop a
12723           query just because we don't know how to adjust the value
12724           in the particular format.
12725
12726 2005-12-24  David Schleef  <ds@schleef.org>
12727
12728         * tools/gstreamer-completion:
12729           Replacement for gst-complete written in sh and sed.  Only
12730           completes names of features, but that's 90% of what I want
12731           it for.  Properties are not available in registry.xml.  (Maybe
12732           they should be...)
12733
12734 === release 0.10.1 ===
12735
12736 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
12737
12738         * configure.ac:
12739           releasing 0.10.1, "Nollaig chridheil"
12740
12741 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
12742
12743         * docs/faq/cvs.xml:
12744           Add missing quote, should be make ERROR_CFLAGS="".
12745
12746 2005-12-20  Wim Taymans  <wim@fluendo.com>
12747
12748         * docs/design/part-trickmodes.txt:
12749         More documentation on trickmodes.
12750
12751 2005-12-20  Edward Hervey  <edward@fluendo.com>
12752
12753         * gst/gstcaps.c: (gst_static_caps_get_type):
12754         * gst/gstcaps.h:
12755           API addition: GST_TYPE_STATIC_CAPS
12756         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
12757         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
12758         * gst/gstpadtemplate.h:
12759           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
12760         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
12761         bindings.
12762
12763 2005-12-18  Wim Taymans  <wim@fluendo.com>
12764
12765         * libs/gst/base/gstadapter.c:
12766         * libs/gst/base/gstadapter.h:
12767         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12768         (gst_base_sink_get_position):
12769         * libs/gst/base/gstbasesink.h:
12770         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12771         (gst_base_src_default_query), (gst_base_src_default_do_seek),
12772         (gst_base_src_do_seek), (gst_base_src_perform_seek),
12773         (gst_base_src_send_event), (gst_base_src_update_length),
12774         (gst_base_src_get_range), (gst_base_src_loop),
12775         (gst_base_src_start):
12776         * libs/gst/base/gstbasesrc.h:
12777         * libs/gst/base/gstbasetransform.h:
12778         * libs/gst/base/gstcollectpads.h:
12779         * libs/gst/base/gstpushsrc.c:
12780         * libs/gst/base/gstpushsrc.h:
12781         * libs/gst/dataprotocol/dataprotocol.c:
12782         * libs/gst/dataprotocol/dataprotocol.h:
12783         * libs/gst/net/gstnetclientclock.h:
12784         * libs/gst/net/gstnettimeprovider.h:
12785         Documentation updates.
12786
12787 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
12788
12789         * docs/manual/basics-helloworld.xml:
12790           Remove superfluous closing bracket in helloworld example.
12791
12792 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
12793
12794         * tools/gst-launch.1.in:
12795           Update gst-launch man page; add a section with useful
12796           environment variables. Fixes #323882.
12797
12798 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
12799
12800         * gst/gst.c:
12801         * gst/gst_private.h:
12802           change some char* into char[]
12803
12804 2005-12-16  Wim Taymans  <wim@fluendo.com>
12805
12806         * gst/gstregistryxml.c: (load_feature):
12807         Cleanups.
12808         Don't use g_object_unref on GstObjects so that we avoid
12809         leaks on unsafe glibs.
12810
12811 2005-12-16  Wim Taymans  <wim@fluendo.com>
12812
12813         * gst/gstbin.c: (gst_bin_recalc_state):
12814         Small doc updates.
12815
12816 2005-12-16  Wim Taymans  <wim@fluendo.com>
12817
12818         * common/check.mak:
12819         Added make forever target for check.
12820
12821 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12822
12823         * gst/gst.c: (init_post):
12824           make the registry cache file HOST_CPU-dependent
12825
12826 2005-12-16  Andy Wingo  <wingo@pobox.com>
12827
12828         * plugins/elements/gstbufferstore.c
12829         (gst_buffer_store_cleared_func): Pay attention to g_list_append
12830         return value.
12831
12832         * tests/check/gst/gstobject.c
12833         (test_fake_object_name_threaded_unique): Pay attention to
12834         g_list_sort return value.
12835
12836 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
12837
12838         * tools/gst-feedback-m.m:
12839           Update for 0.9/0.10 (fixes #323870).
12840
12841 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
12842
12843         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
12844           Fix lcopy for mini objects, the mini object needs to be ref'ed.
12845           
12846         * tests/check/gst/gstminiobject.c: (my_foo_init),
12847         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
12848         (test_value_collection), (gst_mini_object_suite):
12849           Add test to ensure refcounts end up as expected when passing
12850           GstMiniObjects through g_object_get() and g_object_set().
12851
12852 2005-12-14  Julien MOUTTE  <julien@moutte.net>
12853
12854         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12855         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
12856         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
12857         of collectpads. This version removes a lot of races without
12858         touching API/ABI. Yay !
12859
12860 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
12861
12862         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
12863           Don't allow activation of a srcpad in pull_range if it has no
12864           getrange function.
12865           Change some debug statements to be a little clearer
12866
12867         * plugins/elements/gsttypefindelement.c:
12868         (gst_type_find_handle_src_query):
12869           Check that we have a peer before executing queries thereupon.
12870
12871         * tests/examples/metadata/read-metadata.c: (message_loop):
12872           Use gst_bus_pop instead of gst_bus_poll when we just want it to
12873           immediately return us any available message with 0 timeout.
12874
12875 2005-12-12  Michael Smith  <msmith@fluendo.com>
12876
12877         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
12878           Don't unref factories after calling them.
12879         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
12880         * plugins/elements/gsttypefindelement.c:
12881         (gst_type_find_element_chain):
12882           Free lists of factories after using them. Fixing typefinding memory
12883           leaks.
12884
12885 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12886
12887         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12888         (gst_plugin_feature_load):
12889           more meaningful debug output
12890         * configure.ac:
12891         * tests/Makefile.am:
12892         * tests/old/examples/Makefile.am:
12893           make make distcheck happy again
12894
12895 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
12896
12897         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12898           Catch the special case where we are operating chain-based,
12899           but the downstream peer pad has no chain function. Emit a
12900           custom error message in this case instead of letting the
12901           core generate one implying that this is some sort of core
12902           bug. It's not, it just means that whatever got plugged
12903           into the pipeline downstream when we announced the type
12904           can only operate pull-based, while our source can only
12905           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
12906           Error string has not been marked for translation yet, as
12907           it probably needs some more work first.
12908
12909         (gst_type_find_element_get_best_possibility):
12910           Add helper function to find the best of all available
12911           found possibilities that qualify given the min. threshold.
12912
12913         (gst_type_find_element_handle_event):
12914           Fix the case where we get an EOS while still in TYPEFIND
12915           mode (we want to chose the best of all possible types,
12916           not just the first type that happens to be in our unsorted
12917           list of possible types).
12918
12919         (gst_type_find_element_chain):
12920           Make sure we return GST_FLOW_ERROR when we errored out
12921           in stop_typefinding(); also, don't just find the best of
12922           all found type entries and then use the last examined
12923           type entry, but actually use the best entry.
12924
12925 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
12926
12927         * tests/examples/typefind/typefind.c: (type_found):
12928         * tests/examples/xml/runxml.c: (xml_loaded):
12929           More gcc4 fixes and a mem leak fix.
12930
12931 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12932
12933         * tests/examples/xml/createxml.c: (object_saved):
12934           gcc 4 fixes
12935
12936 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12937
12938         * tests/Makefile.am:
12939           enable the examples even more
12940
12941 2005-12-12  Andy Wingo  <wingo@pobox.com>
12942
12943         * libs/gst/net/gstnettimeprovider.c
12944         (gst_net_time_provider_class_init, gst_net_time_provider_init)
12945         (gst_net_time_provider_set_property)
12946         (gst_net_time_provider_get_property):
12947         API addition: Export "active" as a GObject property.
12948         (gst_net_time_provider_thread): Only respond to time queries if
12949         the time provider is active.
12950
12951         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
12952         NetTimeProvider, preserving binary compat.
12953
12954 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12955
12956         * tests/examples/controller/audio-example.c: (main):
12957         * tests/examples/launch/Makefile.am:
12958           convert comments again
12959
12960 2005-12-12  Wim Taymans  <wim@fluendo.com>
12961
12962         * libs/gst/base/gstpushsrc.c:
12963         Fix typo.
12964
12965 2005-12-12  Wim Taymans  <wim@fluendo.com>
12966
12967         * docs/libs/gstreamer-libs-sections.txt:
12968         Added new symbol to docs.
12969
12970         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12971         (gst_base_src_init), (gst_base_src_set_format),
12972         (gst_base_src_default_query), (gst_base_src_query),
12973         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
12974         (gst_base_src_perform_seek), (gst_base_src_send_event),
12975         (gst_base_src_default_event), (gst_base_src_event_handler),
12976         (gst_base_src_set_property), (gst_base_src_get_property),
12977         (gst_base_src_wait), (gst_base_src_do_sync),
12978         (gst_base_src_update_length), (gst_base_src_get_range),
12979         (gst_base_src_check_get_range), (gst_base_src_loop),
12980         (gst_base_src_default_negotiate), (gst_base_src_start),
12981         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12982         (gst_base_src_change_state):
12983         * libs/gst/base/gstbasesrc.h:
12984         Implement seeking to other formats than _BYTES.
12985         Implement more seeking methods correctly.
12986         Doc updates.
12987         Added query vmethod.
12988         Added do_seek vmethod to make life easier for subclasses
12989         when seeking.
12990         API addition: gst_base_src_set_format()
12991
12992 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12993
12994         * tests/examples/Makefile.am:
12995           added that too
12996
12997 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12998
12999         * configure.ac:
13000         * docs/random/ensonic/media-device-daemon.txt:
13001         * tests/examples/controller/.cvsignore:
13002         * tests/examples/controller/Makefile.am:
13003         * tests/examples/controller/audio-example.c: (main):
13004         * tests/examples/helloworld/.cvsignore:
13005         * tests/examples/helloworld/Makefile.am:
13006         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
13007         * tests/examples/launch/.cvsignore:
13008         * tests/examples/launch/Makefile.am:
13009         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
13010         * tests/examples/metadata/.cvsignore:
13011         * tests/examples/metadata/Makefile.am:
13012         * tests/examples/metadata/read-metadata.c: (message_loop),
13013         (make_pipeline), (print_tag), (main):
13014         * tests/examples/queue/.cvsignore:
13015         * tests/examples/queue/Makefile.am:
13016         * tests/examples/queue/queue.c: (event_loop), (main):
13017         * tests/examples/typefind/.cvsignore:
13018         * tests/examples/typefind/Makefile.am:
13019         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
13020         (main):
13021         * tests/examples/xml/.cvsignore:
13022         * tests/examples/xml/Makefile.am:
13023         * tests/examples/xml/createxml.c: (object_saved), (main):
13024         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
13025         * tests/old/examples/Makefile.am:
13026         * tests/old/examples/TODO:
13027         * tests/old/examples/controller/.cvsignore:
13028         * tests/old/examples/controller/Makefile.am:
13029         * tests/old/examples/controller/audio-example.c:
13030         * tests/old/examples/helloworld/.cvsignore:
13031         * tests/old/examples/helloworld/Makefile.am:
13032         * tests/old/examples/helloworld/helloworld.c:
13033         * tests/old/examples/launch/.cvsignore:
13034         * tests/old/examples/launch/Makefile.am:
13035         * tests/old/examples/launch/mp3parselaunch.c:
13036         * tests/old/examples/launch/mp3play:
13037         * tests/old/examples/manual/Makefile.am:
13038         * tests/old/examples/metadata/Makefile.am:
13039         * tests/old/examples/metadata/read-metadata.c:
13040         * tests/old/examples/queue/.cvsignore:
13041         * tests/old/examples/queue/Makefile.am:
13042         * tests/old/examples/queue/queue.c:
13043         * tests/old/examples/typefind/.cvsignore:
13044         * tests/old/examples/typefind/Makefile.am:
13045         * tests/old/examples/typefind/typefind.c:
13046         * tests/old/examples/xml/.cvsignore:
13047         * tests/old/examples/xml/Makefile.am:
13048         * tests/old/examples/xml/createxml.c:
13049         * tests/old/examples/xml/runxml.c:
13050           applied some simple fixing to some examples
13051           re-enabled the working examples
13052
13053 2005-12-12  Wim Taymans  <wim@fluendo.com>
13054
13055         * gst/gstsegment.c: (gst_segment_init),
13056         (gst_segment_set_last_stop), (gst_segment_set_seek),
13057         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13058         (gst_segment_to_running_time):
13059         Added more documentation.
13060         Make sure the last_pos value is updated properly.
13061         Make sure to_stream_time and to_running_time don't
13062         operate on wrong values.
13063
13064         * tests/check/gst/gstsegment.c: (GST_START_TEST):
13065         Update check.
13066
13067 2005-12-12  Michael Smith  <msmith@fluendo.com>
13068
13069         * plugins/elements/gsttypefindelement.c: (free_entry),
13070         (gst_type_find_element_chain):
13071           Now that we're not leaking factories, make sure we keep references
13072           to them while we need them.
13073
13074 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13075
13076         * tests/check/gst/struct_i386.h:
13077           ifdef out the XML structs
13078
13079 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13080
13081         * gst/gstvalue.c: (gst_value_transform_double_fraction):
13082           floor is not needed, F is always positive; this obviates the
13083           need for adding -lm when building without libxml
13084
13085 2005-12-12  Wim Taymans  <wim@fluendo.com>
13086
13087         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13088         Take current playback rate into account when reporting
13089         the position.
13090
13091 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13092
13093         * docs/manual/mime-world.fig:
13094           Let's try this again, this time with a file that is
13095           actually in XFig format.
13096
13097 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13098
13099         * docs/manual/mime-world.fig:
13100           Add audioconvert element to diagram so that it
13101           matches the text and the code (fixes #319526).
13102
13103 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13104
13105         * docs/pwg/building-chainfn.xml:
13106         * docs/pwg/building-pads.xml:
13107         * docs/pwg/building-state.xml:
13108         * docs/pwg/other-source.xml:
13109           Update state change stuff for 0.10 (fixes #322969).
13110
13111 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13112
13113         * docs/manual/advanced-dataaccess.xml:
13114         * docs/manual/appendix-checklist.xml:
13115         * docs/manual/appendix-programs.xml:
13116         * docs/manual/basics-pads.xml:
13117         * docs/manual/highlevel-components.xml:
13118         * docs/manual/manual.xml:
13119           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
13120           add converters in front of pipelines; remove curly
13121           brackets for threads stuff, they no longer exist; use
13122           GST_TYPE_FRACTION for framerates; update some pieces of
13123           code to 0.10, but there's plenty more to do.
13124
13125         * docs/manual/appendix-porting.xml:
13126           Expand on asynchroneous state changes; s/0.9/0.10/;
13127           mention disappearance of gst_init_get_popt_table()
13128           (fixes #322916).
13129
13130 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13131
13132         * docs/faq/using.xml:
13133           Spider no longer exists, and neither does gst-launch-ext.
13134           Update examples to use decodebin and playbin and put
13135           converters in front of sinks (fixes #323726).
13136
13137 2005-12-09  Michael Smith  <msmith@fluendo.com>
13138
13139         * plugins/elements/gsttypefindelement.c: (find_peek),
13140         (gst_type_find_element_chain):
13141           Fix leaking element factories in typefinding.
13142           Fix problem where we forgot about a probable type on non-seekable
13143           files, and thus later mis-typefound it.
13144
13145 2005-12-09  Michael Smith  <msmith@fluendo.com>
13146
13147         * common/m4/gst-makecontext.m4:
13148         * common/m4/gst-mcsc.m4:
13149         * configure.ac:
13150         * win32/common/config.h:
13151         * win32/common/config.h.in:
13152           Remove makecontext stuff; not used in 0.10 and causes problems on
13153           HPUX according to bug #322441
13154
13155 2005-12-07  Wim Taymans  <wim@fluendo.com>
13156
13157         * tests/check/Makefile.am:
13158         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
13159         (main):
13160         * tests/check/libs/struct_i386.h:
13161         Added ABI check for libs
13162
13163 2005-12-07  Wim Taymans  <wim@fluendo.com>
13164
13165         * tests/check/Makefile.am:
13166         And add the struct_i386.h to dist.
13167
13168 2005-12-07  Wim Taymans  <wim@fluendo.com>
13169
13170         * tests/check/Makefile.am:
13171         * tests/check/gst/.cvsignore:
13172         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
13173         (main):
13174         * tests/check/gst/struct_i386.h:
13175         Added check for ABI compatibility.
13176
13177 2005-12-07  Wim Taymans  <wim@fluendo.com>
13178
13179         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13180         (gst_fake_src_get_times), (gst_fake_src_create):
13181         Fix broken sync option, fixes #323259
13182
13183 2005-12-07  Wim Taymans  <wim@fluendo.com>
13184
13185         * gst/gstbuffer.c:
13186         Small docs update.
13187
13188         * gst/gstcaps.c: (gst_caps_is_equal):
13189         Don't assert on NULL <--> X. Fixes #323260
13190
13191         * gst/gstminiobject.c: (gst_mini_object_replace):
13192         If we're doing atomic operations, we might just as well use
13193         the proper way to get an atomic pointer.
13194
13195         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13196         Clean up debugging.
13197
13198 2005-12-07  Michael Smith  <msmith@fluendo.com>
13199
13200         * gst/parse/grammar.y:
13201           Remove handling of { } for threads.
13202
13203 2005-12-06  David Schleef  <ds@schleef.org>
13204
13205         * libs/gst/base/gstbasetransform.c: speling fix.
13206
13207 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13208
13209         * docs/libs/tmpl/gstdataprotocol.sgml:
13210         * docs/random/omega/testing/gstobject.c:
13211         * gst/gst.c:
13212         * gst/gstclock.c:
13213         * gst/gstelement.c:
13214         * gst/gstelementfactory.c:
13215         * gst/gsterror.c:
13216         * gst/gstevent.c:
13217         * gst/gstghostpad.c:
13218         * gst/gstinfo.c:
13219         * gst/gstpadtemplate.c:
13220         * gst/gstregistryxml.c:
13221         * gst/gsttaglist.c:
13222         * gst/gsttagsetter.c:
13223         * gst/gsttypefind.c:
13224         * gst/gstvalue.c:
13225         * libs/gst/base/gstbasesrc.c:
13226         * libs/gst/net/gstnetclientclock.c:
13227         * libs/gst/net/gstnettimeprovider.c:
13228         * plugins/elements/gstfakesrc.c:
13229         * plugins/elements/gstfdsrc.c:
13230         * plugins/elements/gstfilesrc.c:
13231         * plugins/elements/gstidentity.c:
13232         * plugins/elements/gstqueue.c:
13233         * plugins/elements/gsttypefindelement.c:
13234         * plugins/indexers/gstfileindex.c:
13235         * plugins/indexers/gstmemindex.c:
13236         * tests/check/gst/gsttag.c:
13237         * tests/old/examples/cutter/cutter.c:
13238         * tests/old/examples/mixer/mixer.c:
13239         * tests/old/examples/xml/runxml.c: (main):
13240         * tests/old/testsuite/caps/normalisation.c:
13241         * tests/old/testsuite/debug/global.c:
13242         * tests/old/testsuite/parse/parse1.c:
13243         * tools/gst-xmlinspect.c:
13244         * win32/common/dirent.c:
13245           expand tabs
13246
13247 === release 0.10.0 ===
13248
13249 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13250
13251         * configure.ac:
13252           releasing 0.10.0, "Maroilles"
13253
13254 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13255
13256         submitted by: Funda Wang <fundawang@linux.net.cn>
13257
13258         * po/LINGUAS:
13259         * po/zh_CN.po:
13260           added Chinese (Traditional) translation
13261
13262 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13263
13264         * docs/gst/gstreamer-sections.txt:
13265         * docs/libs/tmpl/gstdataprotocol.sgml:
13266         * docs/random/thomasvs/TODO:
13267         * gst/gstutils.c:
13268         * gst/gstutils.h:
13269           fix docs
13270
13271 2005-12-05  Andy Wingo  <wingo@pobox.com>
13272
13273         patch by: Wim Taymans <wim@fluendo.com>
13274
13275         * libs/gst/base/gstbasetransform.c
13276         (gst_base_transform_prepare_output_buf)
13277         (gst_base_transform_buffer_alloc):
13278         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
13279         alloc_buffer_and_set_caps.
13280
13281         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
13282         set_caps on the source pad.
13283         (gst_pad_alloc_buffer_and_set_caps): New function, does what
13284         alloc_buffer used to do. Fixes #322874.
13285
13286         * docs/gst/gstreamer-sections.txt: 
13287         * docs/design/part-negotiation.txt: 
13288         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
13289         changes.
13290
13291 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13292
13293         patch by: Sebastien Moutte
13294
13295         * win32/MANIFEST:
13296         * win32/common/config.h.in:
13297         * win32/vs6/libgstcontroller.dsp:
13298           win32 build fixes
13299
13300 2005-12-05  Wim Taymans  <wim@fluendo.com>
13301
13302         * gst/gstcaps.c: (gst_caps_is_equal):
13303         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13304         (gst_fake_src_create):
13305         Back out previous code changes, leave doc updates, file bugs 
13306         instead. 
13307
13308 2005-12-05  Wim Taymans  <wim@fluendo.com>
13309
13310         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13311         (gst_fake_src_get_times), (gst_fake_src_create):
13312         * plugins/elements/gstfakesrc.h:
13313         Fix broken sync code.
13314
13315 2005-12-05  Wim Taymans  <wim@fluendo.com>
13316
13317         * gst/gstcaps.c: (gst_caps_is_equal):
13318         Comparing NULL against !NULL yields different caps, not a
13319         failure.
13320
13321 2005-12-05  Wim Taymans  <wim@fluendo.com>
13322
13323         * gst/gstpipeline.c:
13324         Fix small typo in docs.
13325
13326 2005-12-05  Andy Wingo  <wingo@pobox.com>
13327
13328         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
13329
13330         * gst/gst.c (init_post): remove hard-coded 0.9 location for
13331         registries/plugins with a MAJORMINOR one.
13332         (plugin_desc): Rename library from gstcoreleements to
13333         staticelements. Fixes #323222.
13334
13335 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
13336
13337         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
13338           Change debug category to 'collectpads' from 'collect_pads'
13339           (fixes #323250).
13340
13341 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13342
13343         patch by: Sebastien Moutte
13344
13345         * libs/gst/controller/gstinterpolation.c:
13346           use convert function for uint64/double
13347         * win32/vs6/libgstcontroller.dsp:
13348           link to GLib
13349
13350 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13351
13352         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
13353         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
13354         * gst/gstutils.h:
13355         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13356           add tests that seem to show that the guint64/gdouble conversions
13357           are correct.
13358
13359 2005-12-02  Wim Taymans  <wim@fluendo.com>
13360
13361         * gst/gstregistry.c: (gst_registry_add_path):
13362         * gst/gstregistry.h:
13363         * gst/gstregistryxml.c:
13364         Fix docs again.
13365
13366 2005-12-02  Wim Taymans  <wim@fluendo.com>
13367
13368         * gst/gstutils.c: (gst_util_uint64_scale_int64),
13369         (gst_util_uint64_scale_int):
13370         Small cleanup.
13371
13372         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13373         Add debug log line.
13374
13375         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
13376         Add FIXME.
13377
13378 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13379
13380         * win32/MANIFEST:
13381         * win32/common/config.h:
13382         * win32/vs6/gstreamer.dsw:
13383         * win32/vs6/libgstcoreelements.dsp:
13384         * win32/vs6/libgstelements.dsp:
13385           renamed core elements plugin
13386
13387 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13388
13389         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13390         (get_candidates):
13391           do piece-wise major/minor comparison so 0.9 < 0.10
13392           also allow .exe extensions for tools
13393
13394 2005-12-02  Michael Smith  <msmith@fluendo.com>
13395
13396         * gst/gst.c:
13397           Escape a % to make gtkdoc happier; bug 322958.
13398
13399 === release 0.9.7 ===
13400
13401 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13402
13403         * configure.ac:
13404           releasing 0.9.7, "My Dog Has No Nose"
13405
13406 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13407
13408         * common/gst-xmlinspect.py:
13409         * configure.ac:
13410         * docs/libs/tmpl/gstdataprotocol.sgml:
13411         * docs/random/release:
13412         * po/af.po:
13413         * po/az.po:
13414         * po/bg.po:
13415         * po/ca.po:
13416         * po/cs.po:
13417         * po/de.po:
13418         * po/en_GB.po:
13419         * po/fr.po:
13420         * po/it.po:
13421         * po/nb.po:
13422         * po/nl.po:
13423         * po/ru.po:
13424         * po/sq.po:
13425         * po/sr.po:
13426         * po/sv.po:
13427         * po/tr.po:
13428         * po/uk.po:
13429         * po/vi.po:
13430         * win32/common/config.h:
13431         * win32/common/config.h.in:
13432         * win32/vs6/gst_inspect.dsp:
13433         * win32/vs6/gst_launch.dsp:
13434         * win32/vs6/libgstbase.dsp:
13435         * win32/vs6/libgstelements.dsp:
13436         * win32/vs6/libgstreamer.dsp:
13437         * win32/vs7/GStreamer.vcproj:
13438         * win32/vs7/gst-inspect.vcproj:
13439         * win32/vs7/gst-launch.vcproj:
13440         * win32/vs7/libgstbase.vcproj:
13441           bump GST_MAJORMINOR to 0.10
13442           reset libtool version
13443
13444 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13445
13446         * po/LINGUAS:
13447         * po/bg.po:
13448           Added Bulgarian translation by (Alexander Shopov)
13449
13450 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13451
13452         * tests/check/gst/gstplugin.c:
13453           fix test
13454
13455 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13456
13457         * common/gst-xmlinspect.py:
13458         * common/gtk-doc-plugins.mak:
13459         * configure.ac:
13460         * docs/Makefile.am:
13461         * docs/gst/Makefile.am:
13462         * docs/gst/gstreamer-docs.sgml:
13463         * docs/gst/gstreamer-sections.txt:
13464         * docs/gst/gstreamer.types:
13465         * docs/gst/gstreamer.types.in:
13466         * docs/plugins/Makefile.am:
13467         * docs/plugins/gstreamer-plugins-docs.sgml:
13468         * docs/plugins/gstreamer-plugins-sections.txt:
13469         * docs/plugins/gstreamer-plugins.types:
13470         * docs/plugins/inspect.stamp:
13471         * docs/plugins/inspect/plugin-coreelements.xml:
13472         * docs/plugins/inspect/plugin-coreindexers.xml:
13473         * docs/plugins/scanobj-build.stamp:
13474         * gstreamer.spec.in:
13475         * plugins/elements/Makefile.am:
13476         * plugins/elements/gstelements.c:
13477         * plugins/elements/gstfakesink.c:
13478         * plugins/elements/gstfakesrc.c:
13479         * plugins/elements/gstfilesink.c:
13480         * plugins/elements/gstfilesrc.c:
13481         * plugins/elements/gstqueue.c:
13482         * plugins/indexers/Makefile.am:
13483         * plugins/indexers/gstindexers.c:
13484           document core plugins in a separate document just like all the
13485           others
13486           rename these plugins to something starting with core
13487
13488 2005-12-01  Andy Wingo  <wingo@pobox.com>
13489
13490         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
13491         padding here before, but it missed the commit.
13492
13493 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13494
13495         * libs/gst/controller/gstinterpolation.c:
13496           whitespace prices have crashed, we should feel free to use some now
13497           use gst_guint64_to_gdouble
13498
13499 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13500
13501         * libs/gst/controller/gstcontroller.c:
13502         * libs/gst/controller/gsthelper.c:
13503         * libs/gst/controller/gstinterpolation.c:
13504         * libs/gst/controller/lib.c:
13505           wrap config.h include
13506
13507 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13508
13509         * docs/gst/gstreamer-sections.txt:
13510           update docs
13511
13512 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13513
13514         * plugins/elements/gstelements.c:
13515         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
13516         (gst_fd_sink__class_init), (gst_fd_sink__init),
13517         (gst_fd_sink__chain), (gst_fd_sink__set_property),
13518         (gst_fd_sink__get_property):
13519         * plugins/elements/gstfdsink.h:
13520         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
13521         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
13522         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
13523         (gst_fd_src_unlock), (gst_fd_src_set_property),
13524         (gst_fd_src_get_property), (gst_fd_src_create),
13525         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
13526         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
13527         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
13528         (gst_fd_src_uri_handler_init):
13529         * plugins/elements/gstfdsrc.h:
13530         * plugins/elements/gstqueue.c: (gst_queue_get_type):
13531           more anal cleanup
13532
13533 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13534
13535         * docs/gst/Makefile.am:
13536         * docs/gst/gstreamer.types.in:
13537         * gst/Makefile.am:
13538           fix the docs build
13539
13540 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13541
13542         * configure.ac:
13543         * gst/Makefile.am:
13544         * gst/gst.c:
13545         * gst/gstplugin.h:
13546         * gst/gstregistry.h:
13547         * tests/benchmarks/complexity.c:
13548         * tests/benchmarks/mass-elements.c:
13549         * tests/check/Makefile.am:
13550         * tools/Makefile.am:
13551         * tools/gst-inspect.c:
13552         * tools/gst-xmlinspect.c:
13553           various fixes to make
13554           --disable-nls --disable-registry --disable-loadsave
13555           --disable-parse --disable-gst-debug
13556           work and get the core .so down to 360444 bytes after stripping
13557
13558 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13559
13560         * Makefile.am:
13561         * configure.ac:
13562           descend into tests
13563         * docs/random/thomasvs/TODO:
13564         * tests/Makefile.am:
13565         * tests/README:
13566           add a README
13567
13568 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13569
13570         * win32/GStreamer.vcproj:
13571         * win32/MANIFEST:
13572         * win32/Makefile:
13573         * win32/Makefile.inspect:
13574         * win32/Makefile.launch:
13575         * win32/Makefile.register:
13576         * win32/README.txt:
13577         * win32/gst-inspect.vcproj:
13578         * win32/gst-launch.vcproj:
13579         * win32/gst-register.vcproj:
13580         * win32/gstelements.vcproj:
13581         * win32/gstgetbits.def:
13582         * win32/gstgetbits.vcproj:
13583         * win32/gstreamer-dbg.def:
13584         * win32/gstreamer.def:
13585         * win32/libgstbase.def:
13586         * win32/libgstbase.vcproj:
13587         * win32/link_oldruntime.c:
13588         * win32/mman.c:
13589         * win32/mman.h:
13590         * win32/mman.inl:
13591         * win32/msvc71.sln:
13592           move even more stuff, win32/ is nice and clean now
13593
13594 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13595
13596         * libs/gst/control/.cvsignore:
13597         * win32/MANIFEST:
13598         * win32/config.h:
13599         * win32/dirent.c:
13600         * win32/dirent.h:
13601         * win32/gstbytestream.def:
13602         * win32/gstbytestream.vcproj:
13603         * win32/gstconfig.h:
13604         * win32/gstenumtypes.c:
13605         * win32/gstenumtypes.h:
13606         * win32/gstoptimalscheduler.vcproj:
13607         * win32/gstversion.h:
13608         * win32/gtchar.h:
13609         * win32/testsuite/bins.vcproj:
13610         * win32/testsuite/bytestream.vcproj:
13611         * win32/testsuite/caps.vcproj:
13612         * win32/testsuite/cleanup.vcproj:
13613         * win32/testsuite/clock.vcproj:
13614         * win32/testsuite/debug.vcproj:
13615         * win32/testsuite/dlopen.vcproj:
13616         * win32/testsuite/dynparams.vcproj:
13617         * win32/testsuite/elements.vcproj:
13618         * win32/testsuite/ghostpads.vcproj:
13619         * win32/testsuite/indexers.vcproj:
13620         * win32/testsuite/negotiation.vcproj:
13621         * win32/testsuite/parse.vcproj:
13622         * win32/testsuite/plugin.vcproj:
13623         * win32/testsuite/refcounting.vcproj:
13624         * win32/testsuite/schedulers.vcproj:
13625         * win32/testsuite/states.vcproj:
13626         * win32/testsuite/tags.vcproj:
13627         * win32/testsuite/threads.vcproj:
13628           remove old win32 stuff that isn't maintained and should be
13629           reorganized
13630
13631 2005-11-30  Andy Wingo  <wingo@pobox.com>
13632
13633         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
13634         loading the gst.interfaces python module bork.
13635
13636         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
13637         available since GLib 2.2. Fixes #318031.
13638
13639 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13640
13641         * Makefile.am:
13642         * check/.cvsignore:
13643         * check/Makefile.am:
13644         * check/elements/.cvsignore:
13645         * check/elements/fakesrc.c:
13646         * check/elements/fdsrc.c:
13647         * check/elements/identity.c:
13648         * check/generic/.cvsignore:
13649         * check/generic/states.c:
13650         * check/gst-libs/.cvsignore:
13651         * check/gst-libs/controller.c:
13652         * check/gst-libs/gdp.c:
13653         * check/gst/.cvsignore:
13654         * check/gst/capslist.h:
13655         * check/gst/gst.c:
13656         * check/gst/gstbin.c:
13657         * check/gst/gstbuffer.c:
13658         * check/gst/gstbus.c:
13659         * check/gst/gstcaps.c:
13660         * check/gst/gstelement.c:
13661         * check/gst/gstevent.c:
13662         * check/gst/gstghostpad.c:
13663         * check/gst/gstiterator.c:
13664         * check/gst/gstmessage.c:
13665         * check/gst/gstminiobject.c:
13666         * check/gst/gstobject.c:
13667         * check/gst/gstpad.c:
13668         * check/gst/gstpipeline.c:
13669         * check/gst/gstplugin.c:
13670         * check/gst/gstsegment.c:
13671         * check/gst/gststructure.c:
13672         * check/gst/gstsystemclock.c:
13673         * check/gst/gsttag.c:
13674         * check/gst/gstutils.c:
13675         * check/gst/gstvalue.c:
13676         * check/net/.cvsignore:
13677         * check/net/gstnetclientclock.c:
13678         * check/net/gstnettimeprovider.c:
13679         * check/pipelines/.cvsignore:
13680         * check/pipelines/cleanup.c:
13681         * check/pipelines/simple_launch_lines.c:
13682         * check/pipelines/stress.c:
13683         * check/states/.cvsignore:
13684         * check/states/sinks.c:
13685         * configure.ac:
13686         * examples/Makefile.am:
13687         * examples/appreader/.cvsignore:
13688         * examples/appreader/Makefile.am:
13689         * examples/appreader/appreader.c:
13690         * examples/controller/.cvsignore:
13691         * examples/controller/Makefile.am:
13692         * examples/controller/audio-example.c:
13693         * examples/cutter/.cvsignore:
13694         * examples/cutter/Makefile.am:
13695         * examples/cutter/cutter.c:
13696         * examples/cutter/cutter.h:
13697         * examples/events/Makefile.am:
13698         * examples/events/seek.c:
13699         * examples/helloworld/.cvsignore:
13700         * examples/helloworld/Makefile.am:
13701         * examples/helloworld/helloworld.c:
13702         * examples/helloworld2/.cvsignore:
13703         * examples/helloworld2/Makefile.am:
13704         * examples/helloworld2/helloworld2.c:
13705         * examples/launch/.cvsignore:
13706         * examples/launch/Makefile.am:
13707         * examples/launch/mp3parselaunch.c:
13708         * examples/launch/mp3play:
13709         * examples/manual/.cvsignore:
13710         * examples/manual/Makefile.am:
13711         * examples/manual/extract.pl:
13712         * examples/metadata/Makefile.am:
13713         * examples/metadata/read-metadata.c:
13714         * examples/mixer/.cvsignore:
13715         * examples/mixer/Makefile.am:
13716         * examples/mixer/mixer.c:
13717         * examples/mixer/mixer.h:
13718         * examples/pingpong/.cvsignore:
13719         * examples/pingpong/Makefile.am:
13720         * examples/pingpong/pingpong.c:
13721         * examples/plugins/.cvsignore:
13722         * examples/plugins/Makefile.am:
13723         * examples/plugins/example.c:
13724         * examples/plugins/example.h:
13725         * examples/pwg/.cvsignore:
13726         * examples/pwg/Makefile.am:
13727         * examples/pwg/extract.pl:
13728         * examples/queue/.cvsignore:
13729         * examples/queue/Makefile.am:
13730         * examples/queue/queue.c:
13731         * examples/queue2/.cvsignore:
13732         * examples/queue2/Makefile.am:
13733         * examples/queue2/queue2.c:
13734         * examples/queue3/.cvsignore:
13735         * examples/queue3/Makefile.am:
13736         * examples/queue3/queue3.c:
13737         * examples/queue4/.cvsignore:
13738         * examples/queue4/Makefile.am:
13739         * examples/queue4/queue4.c:
13740         * examples/retag/.cvsignore:
13741         * examples/retag/Makefile.am:
13742         * examples/retag/retag.c:
13743         * examples/retag/transcode.c:
13744         * examples/thread/.cvsignore:
13745         * examples/thread/Makefile.am:
13746         * examples/thread/thread.c:
13747         * examples/typefind/.cvsignore:
13748         * examples/typefind/Makefile.am:
13749         * examples/typefind/typefind.c:
13750         * examples/xml/.cvsignore:
13751         * examples/xml/Makefile.am:
13752         * examples/xml/createxml.c:
13753         * examples/xml/runxml.c:
13754         * tests/Makefile.am:
13755         * tests/check/Makefile.am:
13756         * testsuite/.cvsignore:
13757         * testsuite/Makefile.am:
13758         * testsuite/Rules:
13759         * testsuite/caps/.cvsignore:
13760         * testsuite/caps/Makefile.am:
13761         * testsuite/caps/app_fixate.c:
13762         * testsuite/caps/audioscale.c:
13763         * testsuite/caps/caps.c:
13764         * testsuite/caps/caps.h:
13765         * testsuite/caps/caps_strings:
13766         * testsuite/caps/compatibility.c:
13767         * testsuite/caps/deserialize.c:
13768         * testsuite/caps/enumcaps.c:
13769         * testsuite/caps/eratosthenes.c:
13770         * testsuite/caps/filtercaps.c:
13771         * testsuite/caps/fixed.c:
13772         * testsuite/caps/fraction-convert.c:
13773         * testsuite/caps/fraction-multiply-and-zero.c:
13774         * testsuite/caps/intersect2.c:
13775         * testsuite/caps/intersection.c:
13776         * testsuite/caps/normalisation.c:
13777         * testsuite/caps/random.c:
13778         * testsuite/caps/renegotiate.c:
13779         * testsuite/caps/sets.c:
13780         * testsuite/caps/simplify.c:
13781         * testsuite/caps/string-conversions.c:
13782         * testsuite/caps/structure.c:
13783         * testsuite/caps/subtract.c:
13784         * testsuite/caps/union.c:
13785         * testsuite/debug/.cvsignore:
13786         * testsuite/debug/Makefile.am:
13787         * testsuite/debug/category.c:
13788         * testsuite/debug/commandline.c:
13789         * testsuite/debug/global.c:
13790         * testsuite/debug/output.c:
13791         * testsuite/debug/printf_extension.c:
13792         * testsuite/dlopen/.cvsignore:
13793         * testsuite/dlopen/Makefile.am:
13794         * testsuite/dlopen/dlopen_gst.c:
13795         * testsuite/dlopen/loadgst.c:
13796         * testsuite/elements/.cvsignore:
13797         * testsuite/elements/Makefile.am:
13798         * testsuite/elements/gst-inspect-check.in:
13799         * testsuite/elements/struct_i386.h:
13800         * testsuite/elements/struct_size.c:
13801         * testsuite/indexers/.cvsignore:
13802         * testsuite/indexers/Makefile.am:
13803         * testsuite/indexers/cache1.c:
13804         * testsuite/indexers/indexdump.c:
13805         * testsuite/parse/.cvsignore:
13806         * testsuite/parse/Makefile.am:
13807         * testsuite/parse/parse1.c:
13808         * testsuite/parse/parse2.c:
13809         * testsuite/plugin/.cvsignore:
13810         * testsuite/plugin/Makefile.am:
13811         * testsuite/plugin/README:
13812         * testsuite/plugin/dynamic.c:
13813         * testsuite/plugin/linked.c:
13814         * testsuite/plugin/loading.c:
13815         * testsuite/plugin/registry.c:
13816         * testsuite/plugin/static.c:
13817         * testsuite/plugin/static2.c:
13818         * testsuite/plugin/testplugin.c:
13819         * testsuite/plugin/testplugin2.c:
13820         * testsuite/plugin/testplugin2_s.c:
13821         * testsuite/plugin/testplugin_s.c:
13822         * testsuite/refcounting/.cvsignore:
13823         * testsuite/refcounting/Makefile.am:
13824         * testsuite/refcounting/bin.c:
13825         * testsuite/refcounting/element.c:
13826         * testsuite/refcounting/element_pad.c:
13827         * testsuite/refcounting/mainloop.c:
13828         * testsuite/refcounting/mem.c:
13829         * testsuite/refcounting/mem.h:
13830         * testsuite/refcounting/object.c:
13831         * testsuite/refcounting/pad.c:
13832         * testsuite/refcounting/sched.c:
13833         * testsuite/refcounting/thread.c:
13834         * testsuite/states/.cvsignore:
13835         * testsuite/states/Makefile.am:
13836         * testsuite/states/bin.c:
13837         * testsuite/states/locked.c:
13838         * testsuite/states/parent.c:
13839         * testsuite/threads/.cvsignore:
13840         * testsuite/threads/159566.c:
13841         * testsuite/threads/159852.c:
13842         * testsuite/threads/Makefile.am:
13843         * testsuite/threads/queue.c:
13844         * testsuite/threads/signals.c:
13845         * testsuite/threads/staticrec.c:
13846         * testsuite/threads/thread.c:
13847         * testsuite/threads/threadb.c:
13848         * testsuite/threads/threadc.c:
13849         * testsuite/threads/threadd.c:
13850         * testsuite/threads/threade.c:
13851         * testsuite/threads/threadf.c:
13852         * testsuite/threads/threadg.c:
13853         * testsuite/threads/threadh.c:
13854         * testsuite/threads/threadi.c:
13855           move all of these under tests
13856
13857 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13858
13859         * configure.ac:
13860         * tests/Makefile.am:
13861           fix distcheck
13862
13863 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13864
13865         * docs/gst/gstreamer-sections.txt:
13866         * tests/sched/.cvsignore:
13867         * tests/sched/Makefile.am:
13868         * tests/sched/cases/(fs-fs).xml:
13869         * tests/sched/cases/(fs-i-fs).xml:
13870         * tests/sched/cases/(fs-i-i-fs).xml:
13871         * tests/sched/cases/(fs-i-q[i-fs]).xml:
13872         * tests/sched/dynamic-pipeline.c:
13873         * tests/sched/interrupt1.c:
13874         * tests/sched/interrupt2.c:
13875         * tests/sched/interrupt3.c:
13876         * tests/sched/runtestcases:
13877         * tests/sched/runxml.c:
13878         * tests/sched/sched-stress.c:
13879         * tests/sched/sort.c:
13880         * tests/sched/testcases:
13881         * tests/sched/testcases1.tc:
13882         * tests/seeking/.cvsignore:
13883         * tests/seeking/Makefile.am:
13884         * tests/seeking/seeking1.c:
13885         * tests/threadstate/.cvsignore:
13886         * tests/threadstate/Makefile.am:
13887         * tests/threadstate/test1.c:
13888         * tests/threadstate/test2.c:
13889         * tests/threadstate/threadstate1.c:
13890         * tests/threadstate/threadstate2.c:
13891         * tests/threadstate/threadstate3.c:
13892         * tests/threadstate/threadstate4.c:
13893         * tests/threadstate/threadstate5.c:
13894           remove obsolete tests
13895         * configure.ac:
13896         * tests/bench-complexity.scm:
13897         * tests/bench-mass_elements.scm:
13898         * tests/complexity.c:
13899         * tests/complexity.gnuplot:
13900         * tests/instantiate/.cvsignore:
13901         * tests/instantiate/Makefile.am:
13902         * tests/instantiate/caps.c:
13903         * tests/mass_elements.c:
13904         * tests/network-clock-utils.scm:
13905         * tests/network-clock.scm:
13906         * tests/plot-data:
13907         First pass at cleaning up tests/ dir before moving the rest
13908         Combined with CVS surgery
13909
13910 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13911
13912         * po/POTFILES.in:
13913           queue has moved, update
13914
13915 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13916
13917         * docs/gst/gstreamer-sections.txt:
13918           remove double entries from the docs
13919         * gst/gst_private.h:
13920         * gst/gstinfo.c: (_gst_debug_init):
13921           remove the THREAD debug category
13922         * gst/Makefile.am:
13923         * gst/gstqueue.c:
13924         * gst/gstqueue.h:
13925         * docs/gst/gstreamer.types:
13926         * plugins/elements/gstqueue.c: (gst_queue_get_type),
13927         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
13928           completely move queue and fix up debugging categories
13929
13930 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13931
13932         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13933           make initialization portable, using LL is not
13934
13935 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13936
13937         * win32/common/gstconfig.h:
13938           add large padding
13939
13940 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13941
13942         * win32/common/libgstreamer.def:
13943           rename symbols; sort base section
13944
13945 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13946
13947         * gst/gstclock.c: (do_linear_regression):
13948           remove crack non-portable handrolled DEBUG macro
13949
13950 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13951
13952         * docs/random/release:
13953           update notes
13954         * win32/common/gstenumtypes.c: (register_gst_object_flags),
13955         (gst_object_flags_get_type), (register_gst_bin_flags),
13956         (gst_bin_flags_get_type), (register_gst_buffer_flag),
13957         (gst_buffer_flag_get_type), (register_gst_bus_flags),
13958         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13959         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
13960         (gst_caps_flags_get_type), (register_gst_clock_return),
13961         (gst_clock_return_get_type), (register_gst_clock_entry_type),
13962         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13963         (gst_clock_flags_get_type), (register_gst_state),
13964         (gst_state_get_type), (register_gst_state_change_return),
13965         (gst_state_change_return_get_type), (register_gst_state_change),
13966         (gst_state_change_get_type), (register_gst_element_flags),
13967         (gst_element_flags_get_type), (register_gst_core_error),
13968         (gst_core_error_get_type), (register_gst_library_error),
13969         (gst_library_error_get_type), (register_gst_resource_error),
13970         (gst_resource_error_get_type), (register_gst_stream_error),
13971         (gst_stream_error_get_type), (register_gst_event_type_flags),
13972         (gst_event_type_flags_get_type), (register_gst_event_type),
13973         (gst_event_type_get_type), (register_gst_seek_type),
13974         (gst_seek_type_get_type), (register_gst_seek_flags),
13975         (gst_seek_flags_get_type), (register_gst_format),
13976         (gst_format_get_type), (register_gst_index_certainty),
13977         (gst_index_certainty_get_type), (register_gst_index_entry_type),
13978         (gst_index_entry_type_get_type),
13979         (register_gst_index_lookup_method),
13980         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13981         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13982         (gst_index_resolver_method_get_type), (register_gst_index_flags),
13983         (gst_index_flags_get_type), (register_gst_debug_level),
13984         (gst_debug_level_get_type), (register_gst_debug_color_flags),
13985         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13986         (gst_iterator_result_get_type), (register_gst_iterator_item),
13987         (gst_iterator_item_get_type), (register_gst_message_type),
13988         (gst_message_type_get_type), (register_gst_mini_object_flags),
13989         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13990         (gst_pad_link_return_get_type), (register_gst_flow_return),
13991         (gst_flow_return_get_type), (register_gst_activate_mode),
13992         (gst_activate_mode_get_type), (register_gst_pad_direction),
13993         (gst_pad_direction_get_type), (register_gst_pad_flags),
13994         (gst_pad_flags_get_type), (register_gst_pad_presence),
13995         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13996         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13997         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13998         (gst_plugin_error_get_type), (register_gst_plugin_flags),
13999         (gst_plugin_flags_get_type), (register_gst_rank),
14000         (gst_rank_get_type), (register_gst_query_type),
14001         (gst_query_type_get_type), (register_gst_tag_merge_mode),
14002         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14003         (gst_tag_flag_get_type), (register_gst_task_state),
14004         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14005         (gst_alloc_trace_flags_get_type),
14006         (register_gst_type_find_probability),
14007         (gst_type_find_probability_get_type), (register_gst_uri_type),
14008         (gst_uri_type_get_type), (register_gst_parse_error),
14009         (gst_parse_error_get_type):
14010         * win32/common/gstenumtypes.h:
14011         * win32/common/gstversion.h:
14012           update visual studio generated files
14013
14014 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14015
14016         * win32/vs6/libgstbase.dsp:
14017         * win32/vs6/libgstelements.dsp:
14018           update project files for new locations
14019
14020 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14021
14022         * Makefile.am:
14023           remove some files
14024         * README:
14025           reinstate and update
14026         * DEVEL:
14027         * REQUIREMENTS:
14028           removed
14029         * LICENSE:
14030         * docs/random/LICENSE:
14031           moved to random
14032
14033 2005-11-30  Edward Hervey  <edward@fluendo.com>
14034
14035         * gst/gsttypefind.c: (gst_type_find_register):
14036         * gst/gsttypefind.h:
14037         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
14038         (gst_type_find_factory_dispose):
14039         * gst/gsttypefindfactory.h:
14040         Fix memory leak in GstTypeFindFactory.
14041
14042 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14043
14044         * gst/gst.c:
14045         * plugins/elements/Makefile.am:
14046         * plugins/elements/gstelements.c:
14047         * plugins/elements/gstqueue.c:
14048           move queue from core to the elements plugin
14049
14050 2005-11-29  Andy Wingo  <wingo@pobox.com>
14051
14052         * libs/gst/base/gstbasetransform.h: 
14053         * libs/gst/base/gstbasesrc.h: 
14054         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
14055
14056         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
14057         of pointers by which to pad very extensible base classes (like the
14058         ones in libs/gst/base).
14059
14060 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14061
14062         * docs/gst/gstreamer-docs.sgml:
14063         * docs/gst/gstreamer-sections.txt:
14064         * docs/libs/gstreamer-libs-docs.sgml:
14065         * docs/libs/gstreamer-libs-sections.txt:
14066           moving documentation from core to lib
14067
14068 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14069
14070         * check/Makefile.am:
14071         * configure.ac:
14072         * docs/gst/Makefile.am:
14073         * gst/Makefile.am:
14074         * gst/base/.cvsignore:
14075         * gst/base/Makefile.am:
14076         * gst/base/README:
14077         * gst/base/gstadapter.c:
14078         * gst/base/gstadapter.h:
14079         * gst/base/gstbasesink.c:
14080         * gst/base/gstbasesink.h:
14081         * gst/base/gstbasesrc.c:
14082         * gst/base/gstbasesrc.h:
14083         * gst/base/gstbasetransform.c:
14084         * gst/base/gstbasetransform.h:
14085         * gst/base/gstcollectpads.c:
14086         * gst/base/gstcollectpads.h:
14087         * gst/base/gstpushsrc.c:
14088         * gst/base/gstpushsrc.h:
14089         * gst/base/gsttypefindhelper.c:
14090         * gst/base/gsttypefindhelper.h:
14091         * gst/check/Makefile.am:
14092         * gst/check/gstcheck.c:
14093         * gst/check/gstcheck.h:
14094         * gst/net/Makefile.am:
14095         * gst/net/gstnet.h:
14096         * gst/net/gstnetclientclock.c:
14097         * gst/net/gstnetclientclock.h:
14098         * gst/net/gstnettimepacket.c:
14099         * gst/net/gstnettimepacket.h:
14100         * gst/net/gstnettimeprovider.c:
14101         * gst/net/gstnettimeprovider.h:
14102         * libs/gst/Makefile.am:
14103         * libs/gst/base/Makefile.am:
14104         * libs/gst/base/gstbasetransform.c:
14105         * libs/gst/check/Makefile.am:
14106         * plugins/elements/Makefile.am:
14107         * po/POTFILES.in:
14108           CVS surgery + support to move base, check, and net out of gst
14109           and into libs/gst
14110
14111 2005-11-29  Andy Wingo  <wingo@pobox.com>
14112
14113         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
14114
14115         * gst/gststructure.h (struct _GstStructure): Only one pointer of
14116         padding.
14117
14118         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
14119
14120         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
14121
14122         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
14123
14124         * gst/gstobject.h: (struct _GstObject): Only one pointer of
14125         padding; reduces object size by about 30%. We don't expect
14126         anything else to go into gstobject.
14127
14128         * gst/gstminiobject.h (struct _GstMiniObject)
14129         (struct _GstMiniObjectClass): Only one pointer of padding; the
14130         payload is only a pointer and two ints anyway. For the class there
14131         are only two methods as well.
14132         
14133         * gst/gstelement.h (struct _GstElementClass): Removed
14134         the state_changed signal callback, it is not used.
14135
14136 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14137
14138         * docs/gst/gstreamer.types:
14139           fix includes, though they are a little dinky
14140
14141 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14142
14143         * check/Makefile.am:
14144           look in the right place for elements, a lot more chance of
14145           success
14146         * gst/Makefile.am:
14147           remove indexers and elements subdirs
14148         * plugins/Makefile.am:
14149           make indexers conditional
14150
14151 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14152
14153         * Makefile.am:
14154         * configure.ac:
14155         * plugins/elements/Makefile.am:
14156         * plugins/elements/gstcapsfilter.c:
14157         * plugins/elements/gstfilesink.c:
14158         * plugins/elements/gstfilesrc.c:
14159         * plugins/elements/gstidentity.c:
14160         * plugins/indexers/Makefile.am:
14161           do CVS surgery and related build fixery to move elements
14162           and indexers in a new gstreamer/plugins directory, out of the
14163           gst/ directory
14164
14165 2005-11-29  Andy Wingo  <wingo@pobox.com>
14166
14167         * check/Makefile.am:
14168         * pkgconfig/gstreamer-net-uninstalled.pc.in:
14169         * pkgconfig/gstreamer-net.pc.in:
14170         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
14171         #322257.
14172
14173 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14174
14175         * tools/Makefile.am:
14176         * tools/gst-complete.1.in:
14177         * tools/gst-complete.c:
14178         * tools/gst-compprep.1.in:
14179         * tools/gst-compprep.c:
14180           removing -compprep and -complete
14181
14182 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14183
14184         * gst/gstevent.c: (gst_event_new_new_segment),
14185         (gst_event_parse_new_segment):
14186         * gst/gstevent.h:
14187           fix #320529 - clean up new_segment API and structure.
14188           Let's hope everyone was using the methods, and not the structure.
14189
14190 2005-11-29  Edward Hervey  <edward@fluendo.com>
14191
14192         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14193         (gst_base_sink_event), (gst_base_sink_do_sync),
14194         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
14195         Properly handle non GST_FORMAT_TIME segment
14196         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14197         Properly handle non GST_FORMAT_TIME segment
14198         * gst/gstsegment.c:
14199         This function is valid if the accumulator is 0 and the format
14200         is different from the requested format.
14201         
14202 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14203
14204         * docs/gst/gstreamer-sections.txt:
14205         Add gst_query_new_seeking and gst_query_parse_seeking to the
14206         docs.
14207
14208 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14209
14210         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14211           Treat a pad alloc with new caps the same as if we were not
14212           negotiated, in order to allow a changing upstream output
14213           to produce a new format of data.
14214
14215 2005-11-29  Edward Hervey  <edward@fluendo.com>
14216
14217         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14218         (gst_base_transform_event), (gst_base_transform_eventfunc):
14219         The event virtual method is now properly implemented, with a default
14220         handler
14221         Sub classes should call the parent_class event method. They should
14222         return FALSE if they had a problem handling the given event, or don't
14223         want GstBaseTransform to send that even downstream
14224         * gst/elements/gstidentity.c: (gst_identity_class_init),
14225         (gst_identity_init), (gst_identity_event),
14226         (gst_identity_transform_ip), (gst_identity_set_property),
14227         (gst_identity_get_property):
14228         * gst/elements/gstidentity.h:
14229         Added the single-segment boolean property.
14230         If set to TRUE, it will output a single segment of data, starting from
14231         0, will eat up all incoming newsegment, and modify the timestamp of the
14232         buffers accordingly
14233
14234 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
14235
14236         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
14237           Don't ref NULL target pad (#322751). Improve docs.
14238
14239 2005-11-29  Michael Smith  <msmith@fluendo.com>
14240
14241         * gst/gstregistryxml.c: (load_plugin):
14242           Don't crash if we failed to load a feature from a plugin. 
14243
14244 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14245
14246         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
14247         (GST_START_TEST):
14248           use more check API and less GLib API
14249
14250 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14251
14252         * Makefile.am:
14253           don't run checks if we don't have check
14254         * common/check.mak:
14255           remove the registry when running make torture
14256         * docs/gst/gstreamer-sections.txt:
14257           remove second multiply
14258         * gst/gstqueue.c: (gst_queue_loop):
14259           fix a compile warning when disabling debug
14260
14261 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14262
14263         * gst/gstinfo.h:
14264         Hey! Let's print the pad name if the pointer != NULL instead
14265         of when it == NULL :-)
14266
14267 2005-11-28  Wim Taymans  <wim@fluendo.com>
14268
14269         * check/gst/gstutils.c: (GST_START_TEST):
14270         Updated check, add some scaling accuracy checking code.
14271
14272         * gst/gstutils.c: (gst_util_div128_64),
14273         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
14274         (gst_util_uint64_scale_int):
14275         Fix 6 times faster division code. Optimize for common 
14276         1/1 and less common X/1 cases.
14277
14278 2005-11-28  Wim Taymans  <wim@fluendo.com>
14279
14280         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14281         More checks.
14282
14283         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
14284         (do_linear_regression), (gst_clock_add_observation):
14285         Cleanups.
14286         Release lock when the clock cannot be slaved.
14287         Catch the case where the regression returned an invalid denominator.
14288
14289         * gst/gstutils.c: (gst_util_div128_64_iterate),
14290         (gst_util_div128_64), (gst_util_uint64_scale_int64),
14291         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14292         Add protentially more performant non-iterative 128/64 divide function
14293         that unfortunatly does not work yet.
14294         Shortcut the trivial 0/X = 0 case.
14295         Remove the warnings on overflow.
14296
14297 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14298
14299         * gst/gstplugin.c: (gst_plugin_register_func):
14300           everything causing a plugin not to load should be at least a WARNING
14301
14302 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
14303
14304         * docs/random/ensonic/dparams.txt:
14305           some TODOs for the next dev cycle
14306         * libs/gst/controller/gstcontroller.c:
14307         (gst_controlled_property_set_interpolation_mode),
14308         (gst_controlled_property_new):
14309         * libs/gst/controller/gstcontroller.h:
14310           use base type to assign acccessor functions
14311
14312 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14313
14314         * check/Makefile.am:
14315         Oops, that should have been top_srcdir
14316
14317 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14318
14319         * check/Makefile.am:
14320         * check/elements/fdsrc.c: (GST_START_TEST):
14321         Use a cmdline define to specify the location of a file to use for
14322         testing, to avoid breaking distcheck.
14323
14324 2005-11-28  Andy Wingo  <wingo@pobox.com>
14325
14326         * gst/gstpad.c (fixate_value): Use array functions for arrays.
14327
14328 2005-11-28  Edward Hervey  <edward@fluendo.com>
14329
14330         * tools/gst-launch.c: (main):
14331         Clarify the output strings, makes it easier to translate.
14332         Fixes #322626
14333
14334 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14335
14336         * gst/Makefile.am:
14337           don't try and build net if we don't even have <sys/socket.h>
14338
14339 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
14340
14341         * check/Makefile.am:
14342         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
14343         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
14344           Add tests for fdsrc seekability
14345
14346         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
14347         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
14348         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
14349         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
14350         * gst/elements/gstfdsrc.h:
14351           fdsrc should not be a 'live' source.
14352           Implement seeking on seekable fd's.
14353
14354         * gst/gstquery.c: (gst_query_new_seeking),
14355         (gst_query_parse_seeking):
14356         * gst/gstquery.h:
14357           Implement SEEKING query functions: 
14358             *_new_seeking and *_parse_seeking
14359
14360 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
14361
14362         * gst/gstelement.c: (gst_element_dispose):
14363           don't loop forever
14364
14365         * gst/gstiterator.c:
14366         * gst/gststructure.c:
14367           doc fixes
14368
14369         * libs/gst/controller/gstcontroller.c:
14370         (gst_controlled_property_set_interpolation_mode):
14371         * libs/gst/controller/gstcontroller.h:
14372         * libs/gst/controller/gstinterpolation.c:
14373         (interpolate_none_get_enum_value_array):
14374           support controlling enums
14375
14376 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14377
14378         * gst/gstvalue.c:
14379           Improve documentation for gst_value_union().
14380
14381         * gst/gstvalue.h:
14382           Change return value for union, intersect and subtract functions
14383           from gint to gboolean.
14384
14385 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14386
14387         * gst/gstvalue.c: (gst_value_serialize_any_list),
14388         (gst_value_transform_any_list_string),
14389         (gst_value_deserialize_list), (gst_value_deserialize_array),
14390         (gst_value_set_int_range), (gst_value_deserialize_int_range),
14391         (gst_value_set_double_range), (gst_value_deserialize_double_range),
14392         (gst_value_set_fraction_range_full),
14393         (gst_value_deserialize_fraction_range),
14394         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
14395         (gst_value_deserialize_boolean),
14396         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
14397         (gst_value_serialize_float), (gst_value_deserialize_float),
14398         (gst_string_wrap), (gst_value_deserialize_string),
14399         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
14400         (gst_value_union_int_range_int_range),
14401         (gst_value_intersect_int_range_int_range),
14402         (gst_value_intersect_double_range_double_range),
14403         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
14404         (gst_value_subtract_int_range_int_range),
14405         (gst_value_subtract_double_double_range),
14406         (gst_value_subtract_double_range_double_range),
14407         (gst_value_deserialize_fraction):
14408         * gst/gstvalue.h:
14409           Use gint, gdouble and gchar in our API instead of int, double and
14410           char (and make usage in gstvalue.c more consistent).
14411
14412 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14413
14414         * check/Makefile.am:
14415         * libs/gst/controller/Makefile.am:
14416         * libs/gst/dataprotocol/Makefile.am:
14417           fix up Makefile.am and remove GST_ENABLE_NEW
14418
14419 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14420
14421         * configure.ac:
14422         * gst/Makefile.am:
14423         * gst/base/Makefile.am:
14424         * gst/check/Makefile.am:
14425         * gst/elements/Makefile.am:
14426         * gst/net/Makefile.am:
14427           update LDFLAGS use some more
14428
14429 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14430
14431         * common/m4/gst-doc.m4:
14432           Fixes #312589
14433
14434 2005-11-26  Edward Hervey  <edward@fluendo.com>
14435
14436         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14437         This shouldn't issue a g_warning since it returns NULL if it
14438         couldn't find the plugin, and all functions using this behave
14439         properly on a NULL return. Switching to a GST_WARNING.
14440
14441 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
14442
14443         * gst/gstbin.c: (gst_bin_handle_message_func):
14444         Don't leak clock messages.
14445
14446 2005-11-25  Wim Taymans  <wim@fluendo.com>
14447
14448         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14449         (gst_util_uint64_scale_int):
14450         Optimisations, remove unneeded vars.
14451
14452 2005-11-25  Wim Taymans  <wim@fluendo.com>
14453
14454         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14455         Added more checks for the high precision uint64 cases.
14456
14457         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14458         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14459         Implement high precision (guint64 * guint64) / guint64.
14460
14461 2005-11-24  Wim Taymans  <wim@fluendo.com>
14462
14463         * gst/base/gstbasesrc.c: (gst_base_src_query):
14464         Fix wrong percentage query.
14465
14466         * gst/gstutils.c: (gst_util_uint64_scale),
14467         (gst_util_uint64_scale_int):
14468         Add some more common cases that can be handled 
14469         efficiently to _scale.
14470
14471 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14472
14473         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
14474         (gst_mini_object_suite):
14475           don't use check calls from threads; check probably isn't
14476           threadsafe and using a lock to make it threadsafe would
14477           defeat the purpose of this check
14478         * gst/check/gstcheck.c:
14479         * gst/check/gstcheck.h:
14480           use GST_DEBUG some more
14481
14482 2005-11-24  Wim Taymans  <wim@fluendo.com>
14483
14484         * gst/gstutils.c: (gst_util_uint64_scale),
14485         (gst_util_uint64_scale_int):
14486         Chain trivial case to _scale_int.
14487
14488 2005-11-24  Wim Taymans  <wim@fluendo.com>
14489
14490         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14491         Added test for scaling.
14492
14493         * gst/gstclock.h:
14494         Small doc fix.
14495
14496         * gst/gstutils.c: (gst_util_uint64_scale_int):
14497         Implemented high precision scaling code.
14498
14499 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
14500
14501         * gst/gstinfo.h:
14502           do not crash on pad==NULL
14503
14504 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14505
14506         Patch by: Stefan Kost
14507
14508         * common/gtk-doc.mak:
14509         * docs/gst/Makefile.am:
14510         * docs/libs/Makefile.am:
14511           Fix distcheck issues for the libraries docs build
14512           Closes #319599.
14513
14514 2005-11-24  Michael Smith <msmith@fluendo.com>
14515
14516         * docs/manual/basics-helloworld.xml:
14517           Fix bug #315027: memory leak in example code in docs.
14518
14519 2005-11-24  Michael Smith <msmith@fluendo.com>
14520
14521         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14522           Unlock the PREROLL_LOCK in a failure case.
14523
14524 2005-11-24  Wim Taymans  <wim@fluendo.com>
14525
14526         * docs/gst/gstreamer-sections.txt:
14527         * gst/base/gstadapter.h:
14528         * gst/base/gstbasesink.h:
14529         * gst/base/gstbasesrc.h:
14530         * gst/base/gstbasetransform.h:
14531         * gst/base/gstpushsrc.h:
14532         * gst/elements/gstfakesink.h:
14533         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
14534         * gst/elements/gstfakesrc.h:
14535         * gst/elements/gstfilesink.h:
14536         * gst/elements/gstfilesrc.h:
14537         * gst/gst.c:
14538         * gst/gstbin.c:
14539         * gst/gstbuffer.c: (_gst_buffer_copy):
14540         * gst/gstbus.h:
14541         * gst/gstcaps.c:
14542         * gst/gstchildproxy.c:
14543         * gst/gstclock.c:
14544         * gst/gstelement.c:
14545         * gst/gstelementfactory.c:
14546         * gst/gstelementfactory.h:
14547         * gst/gstevent.c:
14548         * gst/gstghostpad.h:
14549         * gst/gstindex.h:
14550         * gst/gstinterface.h:
14551         * gst/gstminiobject.c:
14552         * gst/gstminiobject.h:
14553         * gst/gstpad.c:
14554         * gst/gstpad.h:
14555         * gst/gstpadtemplate.h:
14556         * gst/gstpipeline.h:
14557         * gst/gstpluginfeature.h:
14558         * gst/gstquery.h:
14559         * gst/gstqueue.h:
14560         * gst/gsttaglist.c:
14561         * gst/gsttaglist.h:
14562         * gst/gsttagsetter.c:
14563         * gst/gsttagsetter.h:
14564         * gst/gsttrace.c:
14565         * gst/gsttrace.h:
14566         * gst/gsttypefind.h:
14567         * gst/gsturi.h:
14568         * gst/gstvalue.c:
14569         * gst/net/gstnetclientclock.c:
14570         * gst/net/gstnetclientclock.h:
14571         * gst/net/gstnettimepacket.c:
14572         * gst/net/gstnettimeprovider.c:
14573         * gst/net/gstnettimeprovider.h:
14574         Doc fixes.
14575
14576 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14577
14578         * configure.ac: back to HEAD
14579
14580 === release 0.9.6 ===
14581
14582 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
14583
14584         * configure.ac:
14585           releasing 0.9.6, "Always On Time"
14586
14587 2005-11-23  Wim Taymans  <wim@fluendo.com>
14588
14589         * docs/gst/gstreamer-sections.txt:
14590         * gst/glib-compat.c:
14591         * gst/gsttagsetter.c:
14592         * gst/gstvalue.c:
14593         * gst/net/gstnetclientclock.c:
14594         * gst/net/gstnettimepacket.h:
14595         Doc updates.
14596
14597 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14598
14599         * docs/faq/using.xml:
14600         * docs/libs/tmpl/gstcontrol.sgml:
14601         * docs/manual/advanced-dparams.xml:
14602         * docs/manual/appendix-checklist.xml:
14603         * docs/manual/basics-elements.xml:
14604         * docs/pwg/other-source.xml:
14605         * docs/random/moving-plugins:
14606         * gst/gstpad.c:
14607         * tools/gst-launch.1.in:
14608           remove mentions of sinesrc
14609
14610 2005-11-23  Michael Smith <msmith@fluendo.com>
14611
14612         * docs/gst/gstreamer-sections.txt:
14613           Update for new API and API changes.
14614         * gst/gstobject.h:
14615           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
14616         * gst/gstvalue.c:
14617           Documentation typo fix.
14618         * gst/net/gstnettimepacket.c:
14619           Documentation fixes for arguments.
14620
14621 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
14622
14623         * gst/gststructure.c: (gst_structure_get_fraction),
14624         (gst_structure_parse_value),
14625         (gst_structure_fixate_field_nearest_fraction):
14626         * gst/gststructure.h:
14627         * gst/gstutils.c: (gst_util_uint64_scale_int):
14628         * gst/gstutils.h:
14629         * scripts/update-funcnames:
14630         API Changes. 
14631         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
14632         Make gst_structure_fixate_field_nearest_fraction take a numerator
14633         and denominator argument instead of a GValue
14634         add gst_structure_get_fraction helper function.
14635
14636 2005-11-23  Wim Taymans  <wim@fluendo.com>
14637
14638         * docs/design/part-TODO.txt:
14639         Update TODO.
14640
14641         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
14642         * gst/net/gstnetclientclock.h:
14643         Use parent fields for timeout and window_size.
14644
14645 2005-11-23  Andy Wingo  <wingo@pobox.com>
14646
14647         * check/net/gstnetclientclock.c (test_functioning): Adjust to
14648         rate_num/rate_denom change.
14649
14650         * gst/net/gstnetclientclock.c
14651         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
14652         OBJECT_LOCK. Don't call add_observation with the lock.
14653
14654         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
14655         fraction.
14656         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
14657         rate fraction.
14658         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
14659         deal with rate as a fraction whose numerator and denominator are
14660         GstClockTime values.
14661         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
14662         master; the other fields are protected by the SLAVE_LOCK.
14663         (do_linear_regression): Note that this must be called with the
14664         SLAVE_LOCK.
14665         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
14666         OBJECT_LOCK. Call set_calibration instead of touching the
14667         variables directly.
14668         (gst_clock_set_property, gst_clock_get_property): Protect
14669         master/slave parameters with the SLAVE_LOCK.
14670
14671         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
14672         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
14673         note that all of the instance variables that add_observation and
14674         the set_master functions use are protected by that lock and not
14675         the OBJECT_LOCK.
14676         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
14677
14678         * gst/gstclock.c (gst_clock_add_observation): No longer requires
14679         the caller to take the object lock.
14680
14681 2005-11-23  Wim Taymans  <wim@fluendo.com>
14682
14683         * gst/gsterror.c: (_gst_core_errors_init):
14684         * gst/gsterror.h:
14685         Add error for clock stuff.
14686
14687         * gst/gstpipeline.c: (gst_pipeline_change_state),
14688         (gst_pipeline_set_clock):
14689         Post clock error when clock cannot be used in a pipeline.
14690
14691 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
14692
14693         * docs/gst/gstreamer-sections.txt:
14694           make two symbols from gstinfo private for the docs
14695         * gst/base/gstcollectpads.h:
14696         * gst/gstutils.c:
14697           fix doc typos, update docs
14698
14699 2005-11-22  Wim Taymans  <wim@fluendo.com>
14700
14701         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14702         (gst_base_sink_wait), (gst_base_sink_do_sync),
14703         (gst_base_sink_handle_event):
14704         * gst/base/gstbasesink.h:
14705         No need to store the clock, the parent element class already
14706         has it.
14707
14708         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
14709         Updates for clock_set returning a gboolean
14710
14711         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
14712         (gst_clock_id_wait_async), (gst_clock_class_init),
14713         (gst_clock_init), (gst_clock_finalize),
14714         (gst_clock_get_internal_time), (gst_clock_get_time),
14715         (gst_clock_slave_callback), (gst_clock_set_master),
14716         (gst_clock_get_master), (do_linear_regression),
14717         (gst_clock_add_observation), (gst_clock_set_property),
14718         (gst_clock_get_property):
14719         * gst/gstclock.h:
14720         Implement master/slave. When setting a clock as a slave, a
14721         periodic timeout is scheduled to sample master and slave times.
14722         Then the slave clock is recalibrated to match offset and rate
14723         of the master clock.
14724         Update logging a bit.
14725         Add flag so that a clock can state that is cannot be slaved to
14726         another clock.
14727
14728         * gst/gstelement.c: (gst_element_set_clock):
14729         * gst/gstelement.h:
14730         The set clock returns a gboolean for when an element cannot
14731         deal with the selected clock in the pipeline. 
14732
14733         * gst/gstpipeline.c: (gst_pipeline_change_state),
14734         (gst_pipeline_set_clock):
14735         * gst/gstpipeline.h:
14736         Handle the case where the selected clock cannot be set on
14737         the pipeline.
14738
14739         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
14740         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
14741         (gst_net_client_clock_set_property),
14742         (gst_net_client_clock_get_property),
14743         (gst_net_client_clock_observe_times):
14744         * gst/net/gstnetclientclock.h:
14745         Use regression code in GstClock parent, remove duplicated
14746         functionality.
14747
14748 2005-11-22  Michael Smith <msmith@fluendo.com>
14749
14750         * gst/gstutils.c: (gst_util_clock_time_scale):
14751         * gst/gstutils.h:
14752         * docs/gst/gstreamer-sections.txt:
14753           Rename method to have extra underscore.
14754
14755 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14756
14757         * gst/elements/Makefile.am:
14758         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
14759         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14760         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14761         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
14762         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
14763         * gst/elements/gstfakesrc.h:
14764         * gst/gstqueue.c: (queue_leaky_get_type):
14765           correctly fix GEnumValues so that nick is the short lowercase
14766           dashed tag
14767         * tools/gst-inspect.c: (print_element_properties_info):
14768           also show the nick, since it's useful to use from parse_launch
14769           syntax
14770           Fixes #322139
14771
14772 2005-11-22  Michael Smith <msmith@fluendo.com>
14773
14774         * gst/gstutils.c: (gst_util_clocktime_scale):
14775         * gst/gstutils.h:
14776         * docs/gst/gstreamer-sections.txt:
14777           Add util method for scaling a clocktime by a fraction. Useful 
14778           implementation is left as an exercise for the reader.
14779
14780 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14781
14782         * gst/gstvalue.c: (gst_value_collect_fraction_range):
14783         If needed, allocate storage in the destination value during
14784         collection.
14785
14786 2005-11-22  Edward Hervey  <edward@fluendo.com>
14787
14788         * docs/gst/gstreamer-sections.txt:
14789         * gst/Makefile.am:
14790         * gst/gst.h:
14791         * gst/gsturitype.c:
14792         * gst/gsturitype.h:
14793         * gst/gstutils.c: (gst_util_set_object_arg):
14794         * tools/gst-compprep.c: (main):
14795         * tools/gst-inspect.c: (print_element_properties_info):
14796         Removed GstURI, closes bug #321061
14797
14798 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14799
14800         * check/gst/gststructure.c: (GST_START_TEST):
14801         * gst/gststructure.c: (gst_structure_parse_value):
14802           Oops, broke automatic string type parsing.
14803           Add a test to catch it in future.
14804
14805 2005-11-22  Andy Wingo  <wingo@pobox.com>
14806
14807         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
14808         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
14809         Actually rename the function implementations. Grr.
14810
14811 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14812
14813         * check/gst/capslist.h:
14814           Comment test cases
14815         * check/gst/gststructure.c: (GST_START_TEST),
14816         (gst_structure_suite):
14817           Test automatic value type detection in gst_structure_from_string.
14818         * gst/gststructure.c: (gst_structure_parse_value):
14819           Add fraction as a type we try and guess automatically in
14820           caps/structure strings.
14821
14822 2005-11-22  Andy Wingo  <wingo@pobox.com>
14823
14824         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
14825
14826         * gst/gsttagsetter.h:
14827         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
14828         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
14829         (gst_tag_setter_add_tag_valist)
14830         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
14831         _add_values, _add_valist, and _add_valist_values. Since this is an
14832         interface the function suffixes should be more explicit so
14833         language binding don't end up with element.add_valist ->
14834         gst_tag_setter_add_valist, for example. Fixes #322069.
14835
14836 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14837
14838         * check/gst/gstcaps.c: (GST_START_TEST):
14839           Extend caps string tests to check that a caps to string
14840           conversion is reversible and produces the same caps.
14841
14842         * gst/gststructure.c: (gst_structure_value_get_generic_type):
14843           Output "fraction" as the generic type fraction range, so caps
14844           serialisation and deserialisation works.
14845         * check/gst/capslist.h:
14846         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14847           Support 'MIN' and 'MAX' for deserialising fractions.
14848
14849 2005-11-22  Andy Wingo  <wingo@pobox.com>
14850
14851         * gst/gstevent.h (gst_event_new_new_segment)
14852         (gst_event_parse_new_segment, gst_event_new_buffer_size)
14853         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
14854         Renamed from *_newsegment, *_buffersize, *_notarget.
14855
14856         * scripts/update-funcnames: New script, performs the changes
14857         listed above.
14858
14859 2005-11-22  Wim Taymans  <wim@fluendo.com>
14860
14861         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14862         Make sure the GstFlowReturn is returned.
14863
14864         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
14865         (gst_bus_add_signal_watch):
14866         * gst/gstbus.h:
14867         add gst_bus_add_signal_watch_full.
14868
14869         * gst/gstplugin.c: (gst_plugin_load_file):
14870         Small style cleanup.
14871
14872 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14873
14874         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
14875           Block the fakesrc srcpad when we send an event, to avoid
14876           contention on the stream_lock causing random test failures.
14877
14878 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14879
14880         * check/gst/gstvalue.c: (GST_START_TEST):
14881         * gst/gstvalue.c: (gst_value_fraction_subtract):
14882           Fix subtraction.
14883
14884 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
14885
14886         * gst/gst.h:
14887           include "gstchildproxy.h"
14888         * gst/gstchildproxy.h:
14889         * libs/gst/controller/gstcontroller.h:
14890           use G_GNUC_NULL_TERMINATED
14891
14892 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14893
14894         * check/gst/capslist.h:
14895         * check/gst/gstcaps.c: (GST_START_TEST):
14896         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14897         * gst/gststructure.c: (gst_structure_parse_range),
14898         (gst_structure_fixate_field_nearest_fraction):
14899         * gst/gststructure.h:
14900         * gst/gstvalue.c: (gst_value_init_fraction_range),
14901         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
14902         (gst_value_collect_fraction_range),
14903         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
14904         (gst_value_set_fraction_range_full),
14905         (gst_value_get_fraction_range_min),
14906         (gst_value_get_fraction_range_max),
14907         (gst_value_serialize_fraction_range),
14908         (gst_value_transform_fraction_range_string),
14909         (gst_value_compare_fraction_range),
14910         (gst_value_deserialize_fraction_range),
14911         (gst_value_intersect_fraction_fraction_range),
14912         (gst_value_intersect_fraction_range_fraction_range),
14913         (gst_value_subtract_fraction_fraction_range),
14914         (gst_value_subtract_fraction_range_fraction),
14915         (gst_value_subtract_fraction_range_fraction_range),
14916         (gst_value_collect_fraction), (gst_value_fraction_multiply),
14917         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
14918         (gst_value_transform_string_fraction), (_gst_value_initialize):
14919         * gst/gstvalue.h:
14920           Implement fraction ranges and extend GstFraction to support
14921           arithmetic subtraction, as well as deserialization from integer
14922           strings such as "100"
14923           Add a testsuite as for int and double range set operations
14924
14925 2005-11-21  Andy Wingo  <wingo@pobox.com>
14926
14927         * gst/gsttaglist.h: 
14928         * gst/gstcaps.h: 
14929         * gst/gststructure.h: Add glib-compat.h.
14930
14931 2005-11-21  Wim Taymans  <wim@fluendo.com>
14932
14933         * gst/gstbin.c: (gst_bin_change_state_func):
14934         Fix for #321595
14935
14936 2005-11-21  Wim Taymans  <wim@fluendo.com>
14937
14938         * gst/gstsegment.h:
14939         And add a nice define too.
14940
14941 2005-11-21  Wim Taymans  <wim@fluendo.com>
14942
14943         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
14944         (gst_segment_new), (gst_segment_free), (gst_segment_init),
14945         (gst_segment_set_duration), (gst_segment_set_last_stop),
14946         (gst_segment_set_seek), (gst_segment_set_newsegment),
14947         (gst_segment_to_stream_time), (gst_segment_to_running_time),
14948         (gst_segment_clip):
14949         * gst/gstsegment.h:
14950         Make binding friendly.
14951
14952 2005-11-21  Andy Wingo  <wingo@pobox.com>
14953
14954         * gst/gsttagsetter.h: 
14955         * gst/gsttaglist.h: 
14956         * gst/gststructure.h: 
14957         * gst/gstcaps.h: 
14958         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
14959         #319940.
14960
14961         * gst/gsterror.c (_gst_core_errors_init):
14962         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
14963         category.
14964
14965         * gst/Makefile.am (gst_headers): Add glib-compat.h.
14966         (noinst_HEADERS): noinst the -private.
14967
14968 2005-11-21  Michael Smith <msmith@fluendo.com>
14969
14970         * gst/gstplugin.h:
14971         * gst/gstregistry.h:
14972           Remove unimplemented declarations for which we can see no sensible
14973           use.
14974
14975 2005-11-21  Andy Wingo  <wingo@pobox.com>
14976
14977         * gst/gst.h: Include glib-compat.h.
14978
14979         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
14980
14981         * gst/glib-compat.c: Include the public and the private header.
14982
14983         * gst/glib-compat-private.h: Copied here from glib-compat.h.
14984
14985         * gst/gstvalue.c: 
14986         * gst/gstpad.c: 
14987         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
14988
14989         * check/gst/gstevent.c (create_custom_events): Check that
14990         FLUSH_STOP is serialized.
14991
14992         * check/elements/identity.c (event_func): 
14993         * check/elements/fakesrc.c (event_func): No stream lock, the core
14994         takes it.
14995
14996         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
14997         stream lock taking, yay.
14998
14999         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
15000         ensure that core takes the stream lock.
15001
15002         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
15003         lock name change.
15004
15005         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
15006         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
15007         it already. For the flush start we do take it though so we get the
15008         right preroll state change messages.
15009
15010         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
15011         the stream lock here, the core does it for us.
15012
15013         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
15014         GST_STREAM_GET_LOCK.
15015         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
15016         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
15017         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
15018         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
15019         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
15020         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
15021
15022         * gst/gstpad.c: Update for stream lock name change.
15023
15024         * gst/base/gstbasesink.c: Update for preroll lock name change.
15025
15026 2005-11-21  Wim Taymans  <wim@fluendo.com>
15027
15028         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
15029         (gst_clock_get_master):
15030         * gst/gstclock.h:
15031         * gst/gstsystemclock.c: (gst_system_clock_init):
15032         Convert Clock flags to object flags.
15033         Added methods to manage master/slave clocks.
15034
15035 2005-11-21  Wim Taymans  <wim@fluendo.com>
15036
15037         * check/gst/gstsegment.c: (GST_START_TEST):
15038         * docs/design/part-TODO.txt:
15039         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15040         (gst_base_sink_event), (gst_base_sink_do_sync),
15041         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15042         (gst_base_sink_query), (gst_base_sink_change_state):
15043         * gst/base/gstbasesink.h:
15044         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15045         (gst_base_src_default_newsegment),
15046         (gst_base_src_configure_segment), (gst_base_src_do_seek),
15047         (gst_base_src_get_range), (gst_base_src_loop),
15048         (gst_base_src_change_state):
15049         * gst/base/gstbasesrc.h:
15050         * gst/base/gstbasetransform.c:
15051         (gst_base_transform_prepare_output_buf),
15052         (gst_base_transform_event), (gst_base_transform_change_state):
15053         * gst/base/gstbasetransform.h:
15054         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15055         (gst_collect_pads_event):
15056         * gst/base/gstcollectpads.h:
15057         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
15058         (gst_fake_src_create):
15059         * gst/elements/gstfakesrc.h:
15060         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15061         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15062         (gst_segment_set_last_stop), (gst_segment_set_seek),
15063         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
15064         (gst_segment_to_running_time), (gst_segment_clip):
15065         * gst/gstsegment.h:
15066         More segment updates, replace code in plugins with segment
15067         helper functions.
15068
15069 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15070
15071         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
15072         Don't ignore sscanf results
15073
15074 2005-11-21  Andy Wingo  <wingo@pobox.com>
15075
15076         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
15077
15078         * *.h:
15079         * *.c: Ran scripts/update-macros. Oh yes.
15080
15081         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
15082         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
15083         GST_GET_LOCK, etc.
15084
15085         * scripts/update-macros: New script. Run it on your files to
15086         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
15087         well.
15088
15089 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
15090
15091         * docs/gst/Makefile.am:
15092         * docs/gst/gstreamer-docs.sgml:
15093         * docs/gst/gstreamer-sections.txt:
15094         * docs/gst/gstreamer.types:
15095         * gst/gstinfo.h:
15096           more docs fixes, add new api to the docs
15097
15098 2005-11-21  Andy Wingo  <wingo@pobox.com>
15099
15100         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
15101         state_broadcast call.
15102
15103         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
15104
15105 2005-11-21  Julien MOUTTE  <julien@moutte.net>
15106
15107         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
15108         function calls for arrays.
15109
15110 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
15111
15112         * docs/random/ensonic/media-device-daemon.txt:
15113           wild idea, can this be done?
15114         * docs/gst/gstreamer-sections.txt:
15115         * gst/gsterror.h:
15116         * gst/gstfilter.c:
15117         * gst/gstfilter.h:
15118         * gst/gstplugin.h:
15119         * gst/gstpluginfeature.c:
15120         * gst/gsttrace.c:
15121         * gst/gstvalue.c:
15122         * gst/gstvalue.h:
15123           doc fixes and additions
15124
15125 2005-11-21  Andy Wingo  <wingo@pobox.com>
15126
15127         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
15128         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
15129         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
15130         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
15131         private to the basesrc implementation.
15132
15133         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
15134         behalf of event function if necessary. It should no longer be
15135         necessary to take the stream lock in pad's event functions. Fixes
15136         #320299.
15137
15138 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15139         * docs/gst/gstreamer-sections.txt:
15140         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
15141         (gst_structure_fixate_field_nearest_double),
15142         (gst_structure_fixate_field_boolean):
15143         * gst/gststructure.h:
15144         * win32/common/libgstreamer.def:
15145         * win32/gstreamer.def:
15146
15147         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
15148         (#322027)
15149
15150 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15151
15152         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
15153         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
15154         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
15155         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
15156         (gst_fdsrc_uri_handler_init):
15157         * gst/elements/gstfdsrc.h:
15158           Port fd:// URI handler from 0.8 to fdsrc
15159
15160 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15161
15162         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
15163         (gst_value_serialize_fourcc):
15164         * gst/gstvalue.h:
15165           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
15166           consistent with our other format defines (#320324).
15167
15168 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15169
15170         * gst/gstvalue.c: (gst_value_is_fixed):
15171           Revert previous commit. Value lists are by definition
15172           not fixed, as they are a list of possible values.
15173
15174 2005-11-21  Andy Wingo  <wingo@pobox.com>
15175
15176         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
15177         during the stable series if we need it. Fixes #319178.
15178
15179         * gst/gstevent.c (gst_event_new_filler): Removed.
15180
15181         * check/gst/gstevent.c: Update comment about filler events.
15182
15183 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15184
15185         * gst/gstvalue.c: (gst_value_is_fixed):
15186           Should handle both value arrays and value lists.
15187
15188 2005-11-21  Andy Wingo  <wingo@pobox.com>
15189
15190         patch by: Alessandro Dessina <alessandro nnva org>
15191
15192         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
15193         functions to access arrays. Fixes #321962.
15194
15195 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15196
15197         * docs/gst/gstreamer.types:
15198           gst_collectpads_get_type => gst_collect_pads_get_type.
15199           
15200         * gst/base/gstbasetransform.c:
15201           Remove unused SIGNAL_HANDOFF enum.
15202
15203 2005-11-21  Andy Wingo  <wingo@pobox.com>
15204
15205         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
15206         the event type (upstream, downstream, serialized). Renamed
15207         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
15208         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
15209         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
15210
15211         * gst/gstevent.c: Update for new CUSTOM event names.
15212
15213         * check/gst/gstevent.c: Update check for new CUSTOM event names.
15214
15215         * gst/gstevent.h:
15216         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
15217         bug #319392.
15218
15219 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15220
15221         * docs/gst/gstreamer-sections.txt:
15222         * win32/common/libgstbase.def:
15223         * win32/libgstbase.def:
15224         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15225         (gst_collect_pads_class_init), (gst_collect_pads_init),
15226         (gst_collect_pads_finalize), (gst_collect_pads_new),
15227         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
15228         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
15229         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
15230         (gst_collect_pads_start), (gst_collect_pads_stop),
15231         (gst_collect_pads_peek), (gst_collect_pads_pop),
15232         (gst_collect_pads_available), (gst_collect_pads_read),
15233         (gst_collect_pads_flush), (gst_collect_pads_event),
15234         (gst_collect_pads_chain):
15235         * gst/base/gstcollectpads.h:
15236           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
15237           unimplemented functions as unimplemented. Add padding to
15238           GstCollectData. (#320766, #320423)
15239
15240 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15241
15242         * gst/gstmessage.c:
15243           Improve docs for DURATION message (usage of duration parameter)
15244           (#320113)
15245
15246 2005-11-20  Wim Taymans  <wim@fluendo.com>
15247
15248         * check/Makefile.am:
15249         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
15250         (main):
15251         * gst/Makefile.am:
15252         * gst/gst.h:
15253         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15254         (gst_segment_set_seek), (gst_segment_set_newsegment),
15255         (gst_segment_to_stream_time), (gst_segment_to_running_time),
15256         (gst_segment_clip):
15257         * gst/gstsegment.h:
15258         Added segment helper structure and methods. Not fully implemented
15259         yet.
15260         Added segment check.
15261
15262 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
15263
15264         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15265           Add a deserialisation test for fractions
15266         * examples/metadata/read-metadata.c: (message_loop),
15267         (make_pipeline), (main):
15268           Fix up metadata reading sample.
15269         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15270           Debug format fix
15271         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15272           Don't try and fixate empty caps
15273         * gst/gst_private.h:
15274           Wrap in G_BEGIN_DECLS/G_END_DECLS
15275         * gst/gstvalue.c: (gst_value_collect_fraction),
15276         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
15277         (gst_value_transform_string_fraction),
15278         (gst_value_compare_fraction):
15279           Add some extra guards to ensure that we don't end up 
15280           with an invalid denominator of 0 in a gstfraction and
15281           that fractions always get reduced.
15282
15283 2005-11-20  Wim Taymans  <wim@fluendo.com>
15284
15285         * docs/gst/gstreamer-sections.txt:
15286         * gst/gstbuffer.h:
15287         * gst/gstelement.c:
15288         * gst/gstformat.c:
15289         * gst/gstformat.h:
15290         * gst/gstindex.h:
15291         * gst/gstquery.c:
15292         * gst/gstquery.h:
15293         * gst/gstvalue.c:
15294         Doc fixes.
15295
15296 2005-11-20  Wim Taymans  <wim@fluendo.com>
15297
15298         * docs/design/part-TODO.txt:
15299         * gst/gstcaps.h:
15300         Make a proper enum of the flag.
15301
15302 2005-11-19  Wim Taymans  <wim@fluendo.com>
15303
15304         * docs/design/part-TODO.txt:
15305         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
15306         (gst_format_to_quark), (gst_format_register):
15307         * gst/gstformat.h:
15308         * gst/gstquery.c: (_gst_query_initialize),
15309         (gst_query_type_get_name), (gst_query_type_to_quark),
15310         (gst_query_type_register):
15311         * gst/gstquery.h:
15312         Add type to quark and type to string conversions.
15313
15314 2005-11-19  Andy Wingo  <wingo@pobox.com>
15315
15316         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
15317         #320097.
15318
15319 2005-11-19  Wim Taymans  <wim@fluendo.com>
15320
15321         * docs/design/part-TODO.txt:
15322         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15323         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
15324         (gst_bin_handle_message_func):
15325         * gst/gstbin.h:
15326         Make message handling overridable.
15327
15328 2005-11-19  Andy Wingo  <wingo@pobox.com>
15329
15330         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
15331
15332         * gst/gstclock.h:
15333         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
15334         be a GstClockTime.
15335         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
15336         is a GstClockTime. Fixes #321710.
15337
15338         * gst/gstclock.h (GstClock): Remove offset property. Add
15339         internal_calibration and external_calibration. Fix padding. Pad
15340         also by GstClockTime so we don't run into problems.
15341
15342         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
15343         (gst_clock_get_rate_offset): Remove.
15344         (gst_clock_set_time_adjust): Remove. Fixes #321712.
15345
15346         * gst/gstutils.h:
15347         * gst/gstutils.c (g_static_rec_cond_wait)
15348         (g_static_rec_cond_timed_wait): Removed, no longer needed.
15349
15350         * gst/gstbin.c: Remove terrible continue_state prototype.
15351
15352         * gst/gstelement.h (gst_element_continue_state): Make public.
15353
15354         * gst/gstelement.h:
15355         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
15356         by continue_state. Fixes #319389.
15357
15358         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
15359         Really fixes #168438. However I don't see anywhere where the
15360         filter function is called... stupid GStreamer...
15361         
15362         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
15363         don't have a dispose function, so it won't get called when the
15364         object is unreffed, but oh well!
15365
15366         * gst/gstindex.c (gst_index_set_filter_full): New API function,
15367         allows a destroy function to be set so user_data can be freed.
15368         Fixes #168438.
15369         (gst_index_set_filter): Call gst_index_set_filter_full.
15370
15371         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
15372
15373         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
15374         string should produce an error, given the lack of a way to
15375         represent NULL strings. Fixes #165650.
15376         
15377         * gst/gstvalue.h: 
15378         * gst/gstvalue.c (gst_value_array_append_value) 
15379         (gst_value_array_prepend_value, gst_value_array_get_size) 
15380         (gst_value_array_get_value): New API, copied from
15381         gst_value_list_*, only operates on arrays.
15382         (gst_value_list_append_value, gst_value_list_prepend_value) 
15383         (gst_value_list_concat, gst_value_list_get_size) 
15384         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
15385
15386         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
15387         init_list, because it works on both.
15388         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
15389         (gst_value_copy_list_or_array): Renamed from copy_list.
15390         (gst_value_free_list_or_array): Renamed from free_list.
15391         (gst_value_collect_list_or_array): Renamed from collect_list.
15392         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
15393         (gst_value_list_or_array_peek_pointer): Renamed from
15394         list_peek_pointer.
15395         (_gst_value_array_value_table, _gst_value_list_value_table):
15396         Update value table functions.
15397         (gst_value_compare_list_or_array): Renamed from compare_list.
15398
15399         * gsttaglist.h: Whoops, foreach function returns void. Also fix
15400         some constness.
15401
15402         * gst/gsttaglist.c:
15403         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
15404         GstTagList*. Fixes #143472.
15405
15406         * gst/gststructure.h: Clarify what the foreach/map functions can
15407         or can't do to their arguments.
15408
15409 2005-11-18  Wim Taymans  <wim@fluendo.com>
15410
15411         * gst/gstclock.c: (gst_clock_set_calibration),
15412         (gst_clock_get_calibration):
15413         Doc and API fixes.
15414         Calibration can be set with internal time equal to current
15415         internal time too.
15416
15417 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15418
15419         * gst/gsterror.c:
15420         * gst/gsterror.h:
15421           document
15422
15423 2005-11-18  Andy Wingo  <wingo@pobox.com>
15424
15425         * configure.ac: 
15426         * pkgconfig/gstreamer-net.pc.in:
15427         * pkgconfig/gstreamer-net-uninstalled.pc.in:
15428         * pkgconfig/Makefile.am: Add net pkgconfig files.
15429
15430 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
15431
15432         * gst/gstcaps.c:
15433         * gst/gstghostpad.c:
15434         * gst/gsttrace.c:
15435         * gst/gstvalue.c:
15436         * gst/gstvalue.h:
15437           docs fixes
15438
15439 2005-11-18  Andy Wingo  <wingo@pobox.com>
15440
15441         * gst/net/gstnetclientclock.c: Turn off debugging.
15442
15443         * check/net/gstnetclientclock.c (test_functioning): Assert that the
15444         times connverge somewhat. Can't make a real test.
15445
15446         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
15447         integer arithmetic. Return the minimum of the domain, which can be
15448         set as "internal" for gst_clock_set_calibration.
15449         (gst_net_client_clock_observe_times): Call _set_calibration.
15450         (gst_net_client_clock_new): Call _set_calibration instead of
15451         rate_offset.
15452
15453         * check/net/gstnetclientclock.c (test_functioning): Use the right
15454         adjustment api.
15455
15456         * gst/gstclock.h:
15457         * gst/gstclock.c (gst_clock_get_calibration) 
15458         (gst_clock_set_calibration): New functions, obsolete the ones I
15459         added yesterday. Doh. Precision issues mean we have to extrapolate
15460         from a point in the more recent past than 1970.
15461         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
15462         obsolete.
15463         (gst_clock_adjust_unlocked): Use the right calibration data.
15464
15465 2005-11-18  Edward Hervey  <edward@fluendo.com>
15466
15467         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
15468         Also reset the ->current_* values in READY->PAUSED
15469
15470 2005-11-18  Andy Wingo  <wingo@pobox.com>
15471
15472         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
15473         Whoops, check the right fd. Also add some debugging.
15474         (gst_net_client_clock_observe_times): Adjust for int64 offset.
15475         (do_linear_regression): Add a crapload of debugging. Subtract off
15476         the minimum values from the input series to discard unneeded bits.
15477         Use only int arithmetic. There is still double arithmetic when
15478         calculating the intercept that needs fixing. Return boolean to
15479         indicate success; FALSE would mean the domain or range is too
15480         great. Still needs fixes.
15481
15482 2005-11-18  Wim Taymans  <wim@fluendo.com>
15483
15484         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15485         For the current position in stream time, we need to subtract
15486         accumulated time.
15487         
15488         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15489         Release lock before calling the callback function of async
15490         entries.
15491
15492 2005-11-18  Andy Wingo  <wingo@pobox.com>
15493
15494         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
15495         Port goes all the way to MAXUINT16.
15496
15497         * gst/net/gstnettimeprovider.c: Make the port range the same as
15498         for the kernel: 0 assigns, otherwise ports are less than
15499         MAXUINT16.
15500
15501         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
15502         port change.
15503
15504         * check/net/gstnetclientclock.c (test_functioning): Add the start
15505         of another test. 
15506
15507 2005-11-18  Wim Taymans  <wim@fluendo.com>
15508
15509         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15510         (gst_bin_remove_func), (bin_bus_handler):
15511         * gst/gstbin.h:
15512         Removing a clock provider from a bin, triggers a clock lost message
15513         so that a new clock will be selected.
15514         Adding a clock to a bin triggers a clock provider message.
15515         Make sure we reselect a clock when we received a clock lost message.
15516         Keep a reference to the element that provided the clock.
15517
15518 2005-11-18  Andy Wingo  <wingo@pobox.com>
15519
15520         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
15521         the clock initially so it produces values around the base time.
15522         (gst_net_client_clock_class_init): Typo fix.
15523         (gst_net_client_clock_thread): Add note on when the socket gets
15524         closed.
15525
15526 2005-11-17  Wim Taymans  <wim@fluendo.com>
15527
15528         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
15529         Free remote and local time arrays.
15530
15531 2005-11-17  Wim Taymans  <wim@fluendo.com>
15532
15533         * gst/net/gstnetclientclock.c: (do_linear_regression),
15534         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
15535         Fix compilation, uninitialized vars and a forgotten continue.
15536
15537 2005-11-17  Andy Wingo  <wingo@pobox.com>
15538
15539         * check/Makefile.am (check_PROGRAMS): 
15540         * check/net/gstnetclientclock.c: Add a most minimal test for the
15541         net client clock. More to come later.
15542
15543         * gst/net/gstnet.h: 
15544         * gst/net/Makefile.am: Add netclientclock.
15545
15546         * gst/net/gstnetclientclock.h:
15547         * gst/net/gstnetclientclock.c: New files, implement an untested
15548         GstClock that takes its time from a network time provider.
15549         Implements the algorithm in network-clock.scm.
15550
15551         * tests/network-clock.scm (*window-size*): Rename from
15552         *queue-length*.
15553         * tests/network-clock.scm (network-time): 
15554         * tests/network-clock-utils.scm (q-push): Update callers.
15555
15556 2005-11-17  Wim Taymans  <wim@fluendo.com>
15557
15558         * gst/gstbin.c: (gst_bin_provide_clock_func),
15559         (gst_bin_sort_iterator_new):
15560         And unref the child too..
15561
15562 2005-11-17  Wim Taymans  <wim@fluendo.com>
15563
15564         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15565         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
15566         Refactor the sort iterator so it can be used while holding the
15567         LOCK too.
15568         Make clock selection select a clock closest to the source.
15569
15570 2005-11-17  Michael Smith <msmith@fluendo.com>
15571
15572         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
15573         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
15574         * gst/gstclock.h:
15575           Anonymous structs are a gcc (and some other compilers) extension, so
15576           don't use them. Since this is only for ABI-compatibility, and our
15577           API/ABI freeze is over in a few days, this whole thing will only
15578           last a few days, so don't bother trying to think up a meaningful
15579           name for the struct.
15580
15581 2005-11-17  Andy Wingo  <wingo@pobox.com>
15582
15583         * gst/gstclock.h (GstClock): Add rate and offset properties,
15584         preserving ABI stability. Add rate/offset accessors. Will file bug
15585         for the freeze break.
15586
15587         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
15588         and offset, trying to keep precision and avoiding
15589         underflow/overflow.
15590         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
15591         functions. Make gst_clock_set_time_adjust obsolete.
15592         (gst_clock_set_time_adjust): Note that this function is obsolete.
15593         Will file bug soon.
15594
15595         * gst/base/gstbasetransform.h: Make the ABI-stability hack
15596         greppable by using GST_PADDING-1+1.
15597
15598 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
15599
15600         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15601
15602         * gst/gstmessage.c: (gst_message_parse_clock_lost):
15603           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
15604
15605         * gst/gstpadtemplate.h:
15606         * gst/gstpluginfeature.h:
15607           Don't use c++ style comments in headers (#321638).
15608
15609 2005-11-16  Andy Wingo  <wingo@pobox.com>
15610
15611         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
15612         buffer.
15613
15614         * check/net/gstnettimeprovider.c: Check to see that the time
15615         provider actually provides times. Works, yo!
15616
15617 2005-11-16  Wim Taymans  <wim@fluendo.com>
15618
15619         * check/Makefile.am:
15620         Enable more tests.
15621
15622         * check/elements/fakesrc.c: (GST_START_TEST):
15623         Set element to NULL before disposing it.
15624
15625 2005-11-16  Andy Wingo  <wingo@pobox.com>
15626
15627         * gst/net/Makefile.am:
15628         * gst/net/gstnet.h:
15629         * gst/net/gstnettimeprovider.c: 
15630         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
15631         provider, include it from gstnet.h, and add it to the build.
15632
15633         * gst/net/gstnettimepacket.h: 
15634         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
15635         sending and receiving.
15636
15637 2005-11-16  Wim Taymans  <wim@fluendo.com>
15638
15639         * check/Makefile.am:
15640         Enable valgrind check.
15641
15642         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
15643         (gst_fake_src_alloc_buffer):
15644         Fix memleak.
15645
15646 2005-11-16  Wim Taymans  <wim@fluendo.com>
15647
15648         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
15649         Call parent finalize too.
15650
15651 2005-11-16  Wim Taymans  <wim@fluendo.com>
15652
15653         * check/Makefile.am:
15654         Enable valgrind check that should work fine now.
15655
15656         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15657         * gst/gstqueue.c: (gst_queue_init):
15658         Fix memleaks in pad allocation.
15659
15660 2005-11-16  Andy Wingo  <wingo@pobox.com>
15661
15662         * gst/net/Makefile.am:
15663         * gst/net/gstnet.h: New part of core to hold network elements and
15664         objects. Put in core because it exposes API that applications want
15665         to use. The library is named libgstnet-tempname right now because
15666         of the existing libgstnet in gst-plugins-base. Solution is
15667         probably to rename the one in plugins-base; will file a bug for
15668         the freeze break.
15669
15670         * gst/net/gstnettimeprovider.c: 
15671         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
15672         get_time call over the network.
15673
15674         * configure.ac: 
15675         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
15676
15677         * check/Makefile.am:
15678         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
15679         get additions shortly.
15680
15681 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15682
15683         * gst/gstpad.c: (gst_pad_new_from_static_template):
15684         * gst/gstpad.h:
15685           add gst_pad_new_from_static_template functions
15686         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
15687         (gst_check_setup_sink_pad):
15688         * gst/elements/gsttee.c: (gst_tee_init):
15689           and use them
15690
15691 2005-11-16  Wim Taymans  <wim@fluendo.com>
15692
15693         * gst/gstpad.c: (gst_pad_pause_task):
15694         Removed warning, it's not really an error either.
15695
15696 2005-11-16  Wim Taymans  <wim@fluendo.com>
15697
15698         * gst/base/gstbasetransform.c:
15699         (gst_base_transform_prepare_output_buf),
15700         (gst_base_transform_event):
15701         Check if the caps are NULL, this can happen if the element
15702         is shutting down and the pad caps are set to NULL.
15703
15704 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15705
15706         * gst/elements/gsttee.c: (gst_tee_init):
15707           fix pad template leak in tee
15708
15709 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15710
15711         * gst/glib-compat.c: (g_value_dup_gst_object):
15712         * gst/glib-compat.h:
15713         * gst/gstpad.c: (gst_pad_set_property):
15714           use gst_object_ref when setting the pad template; this will
15715           trigger the pad template leaks on GLib 2.6 and the slaves
15716
15717 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15718
15719         * gst/glib-compat.c: (gst_flags_get_first_value):
15720         * gst/glib-compat.h:
15721         * gst/gstregistryxml.c:
15722           remove functions copied from GLib 2.6
15723
15724 2005-11-16  Michael Smith <msmith@fluendo.com>
15725
15726         * gst/Makefile.am:
15727           Don't link against VALGRIND_LIBS. That was always the wrong thing to
15728           do, but only breaks with newer valgrind versions. We're not a
15729           valgrind tool, we have no link-time dependencies on libcoregrind.
15730
15731 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15732
15733         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15734           some debug changes
15735         * gst/gstmessage.h:
15736           typo fixes
15737
15738 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15739
15740         * gst/base/gstbasesrc.c: (gst_base_src_init):
15741         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15742         * gst/gstqueue.c: (gst_queue_init):
15743         * gst/gstregistryxml.c: (load_feature):
15744           Revert all these unrefs, they don't even pass make check !
15745
15746 2005-11-15  Johan Dahlin  <johan@gnome.org>
15747
15748         * gst/base/gstbasesrc.c: (gst_base_src_init):
15749         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15750         * gst/gstqueue.c: (gst_queue_init): 
15751         Free pad templates, fixes a couple of leaks.
15752
15753 2005-11-15  Daniel Fischer  <dan at f3c dot com>
15754
15755         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15756
15757         * gst/gstpad.c: (gst_pad_get_property):
15758           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
15759           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
15760           (#321452)
15761
15762 2005-11-15  Wim Taymans  <wim@fluendo.com>
15763
15764         * gst/gstevent.c:
15765         Small doc update.
15766
15767 2005-11-15  Andy Wingo  <wingo@pobox.com>
15768
15769         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
15770
15771         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
15772         using GST_CLOCK_TIME_NONE to disable base time management.
15773         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
15774         time if it was NONE before.
15775         (gst_pipeline_change_state): Only munge the base time if
15776         stream_time != GST_CLOCK_TIME_NONE.
15777
15778         * check/gst/gstpipeline.c (test_base_time): Punt around the
15779         problem of the probe not being called, because that's not the
15780         issue I'm looking at. Add a check that setting stream_time to NONE
15781         disables base time management.
15782         
15783 2005-11-15  Wim Taymans  <wim@fluendo.com>
15784
15785         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15786         segment_stop == -1 at startup.
15787
15788         * gst/base/gstbasetransform.c: (gst_base_transform_event),
15789         (gst_base_transform_change_state):
15790         Init segment values at start.
15791
15792 2005-11-15  Wim Taymans  <wim@fluendo.com>
15793
15794         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15795         0 segment values are 0 in any format.
15796
15797         * gst/base/gstbasetransform.c: (gst_base_transform_event):
15798         * gst/base/gstbasetransform.h:
15799         Parse newsegment correctly in basetransform
15800
15801         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15802         Sync to clock using updated segment values.
15803
15804 2005-11-15  Andy Wingo  <wingo@pobox.com>
15805
15806         * check/gst/gstpipeline.c (test_base_time): Add check that the
15807         base time and stream time are reset correctly.
15808
15809 2005-11-15  Wim Taymans  <wim@fluendo.com>
15810
15811         * docs/design/part-TODO.txt:
15812         Some more TODO items.
15813
15814 2005-11-15  Andy Wingo  <wingo@pobox.com>
15815
15816         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
15817         error if the user selected "no clock" as the clocking method.
15818
15819         * check/gst/gstpipeline.c (test_base_time): New test for buffer
15820         timestamps with live capture.
15821
15822         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
15823         is 0 but we are a live source, timestamp the buffers using the
15824         element's clock.
15825
15826 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
15827
15828         * docs/gst/gstreamer-sections.txt:
15829         * gst/gsterror.c:
15830         * gst/gstghostpad.c:
15831         * gst/gstobject.h:
15832         * gst/gstxml.c:
15833           more section docs
15834
15835 2005-11-14  Wim Taymans  <wim@fluendo.com>
15836
15837         * common/gst.supp:
15838           add suppressions from Wim's Debian machine
15839
15840 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
15841
15842         * common/gst.supp:
15843           add suppressions from Andy's AMD64 Ubuntu machine
15844
15845 2005-11-14  Andy Wingo  <wingo@pobox.com>
15846
15847         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
15848         STATE_LOCK not necessary. Fixes #311489.
15849
15850         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
15851         #305291.
15852
15853         * gst/gstindex.c (gst_index_add_object): Note in the docs that
15854         this function is not implemented.
15855
15856 2005-11-14  Julien MOUTTE  <julien@moutte.net>
15857
15858         * gst/base/gstbasetransform.c:
15859         (gst_base_transform_prepare_output_buf):
15860         Ref the source pad caps while we need them.
15861         Fixes (#321386)
15862
15863 2005-11-11  Wim Taymans  <wim@fluendo.com>
15864
15865         * docs/gst/gstreamer-sections.txt:
15866         Added some docs for GstCollectData.
15867
15868         * gst/base/gstadapter.c:
15869         Some small code example fix.
15870
15871         * gst/base/gstcollectpads.c:
15872         * gst/base/gstcollectpads.h:
15873         Document some more.
15874
15875 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15876
15877         * configure.ac: back to HEAD
15878
15879 === release 0.9.5 ===
15880
15881 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
15882
15883         * configure.ac:
15884           releasing 0.9.5, "Bike Lunch Day"
15885
15886 2005-11-11  Wim Taymans  <wim@fluendo.com>
15887
15888         * gst/gstbuffer.c: (_gst_buffer_copy):
15889         Copy more flags.
15890
15891         * gst/gstcaps.c: (gst_caps_is_equal):
15892         Fix some docs.
15893         Make _is_equal fast in the trivial cases.
15894
15895         * gst/gstminiobject.c:
15896         * gst/gstminiobject.h:
15897         More docs. Spifify .h file.
15898
15899         * gst/gstutils.c:
15900         Small doc update.
15901
15902 2005-11-11  Wim Taymans  <wim@fluendo.com>
15903
15904         * gst/base/gstbasetransform.c:
15905         (gst_base_transform_prepare_output_buf),
15906         (gst_base_transform_handle_buffer):
15907         Small cleanups.
15908         If we're processing a buffer and need to allocate an output
15909         buffer, we cannot accept a format change. If we did get a 
15910         format change, we have to alloc a buffer ourselves of the 
15911         right size.
15912
15913 2005-11-11  Wim Taymans  <wim@fluendo.com>
15914
15915         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
15916         While checking the flag for reentrancy in the gstcaps function
15917         is nice to detect recursive invocations, it also makes it 
15918         impossible to call getcaps from multiple threads, which must be
15919         possible. So, checking for recursive calls has to go.
15920
15921 2005-11-11  Michael Smith <msmith@fluendo.com>
15922
15923         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15924           Don't sync on buffers that fall partially outside our current
15925           segment. Prevents an assertion failure/abort playing some files.
15926
15927 2005-11-10  Andy Wingo  <wingo@pobox.com>
15928
15929         * check/gst/gstbin.c (test_message_state_changed_children): Style
15930         fix..
15931
15932         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
15933         gst_bus_poll with the signal watch. Ensures that poll and a signal
15934         watch see the same messages.
15935
15936         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
15937         a poll and a watch at the same time get the same messages.
15938
15939 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15940
15941         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
15942         * gst/gstcaps.c: (gst_caps_intersect):
15943           Don't call gst_caps_do_simplify - it doesn't respect order of caps
15944           and it's not needed.
15945
15946 2005-11-10  Wim Taymans  <wim@fluendo.com>
15947
15948         * docs/design/part-TODO.txt:
15949         Updated todo.
15950
15951 2005-11-10  Wim Taymans  <wim@fluendo.com>
15952
15953         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15954         * gst/base/gstbasesrc.c: (gst_base_src_wait),
15955         (gst_base_src_do_sync), (gst_base_src_get_range):
15956         Implement clock sync in base class.
15957
15958 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15959
15960         patch by: Tim-Philipp Müller <tim at centricular dot net>
15961
15962         * gst/gststructure.c: (gst_structure_parse_field),
15963         (gst_structure_from_string):
15964           Forward-port a 0.8 patch to handle escaped spaces in structure string,
15965           so that gst_parse_launch() can deal with spaces in filtered link
15966           caps (fixes #164479)
15967         * check/gst/capslist.h:
15968         * check/gst/gststructure.c: (GST_START_TEST):
15969           add unit tests for this change
15970
15971 2005-11-10  Wim Taymans  <wim@fluendo.com>
15972
15973         * docs/gst/gstreamer-sections.txt:
15974         * gst/gstelement.c:
15975         * gst/gstelement.h:
15976         Fix docs, move some STATE macros to private.
15977
15978 2005-11-10  Wim Taymans  <wim@fluendo.com>
15979
15980         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15981         Added check for bug #317341
15982
15983         * gst/gstbuffer.c:
15984         * gst/gstbuffer.h:
15985         Some more spiffifying.
15986
15987         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
15988         Call peer linkfunction if we are a source pad. Totally fixes
15989         #317341
15990
15991         * gst/gstpad.c:
15992         Update docs, source pads should call the peer linkfunction
15993         so they can atomically perform the pad link.
15994
15995 2005-11-09  Wim Taymans  <wim@fluendo.com>
15996
15997         * gst/gstbuffer.c:
15998         * gst/gstbuffer.h:
15999         Uber-spiffy-spiffify some more.
16000
16001 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
16002
16003         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
16004         * gst/elements/gstfilesink.c: (gst_file_sink_init):
16005         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16006         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
16007         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
16008         * gst/gstpad.c: (gst_pad_init):
16009           Use GST_DEBUG_FUNCPTR() more extensively.
16010
16011 2005-11-09  Wim Taymans  <wim@fluendo.com>
16012
16013         * gst/gstobject.c: (gst_object_class_init):
16014         * gst/gstobject.h:
16015         Documentation fixes.
16016
16017 2005-11-09  Edward Hervey  <edward@fluendo.com>
16018
16019         * gst/gsttypefindfactory.c:
16020         Fix docs.
16021         
16022 2005-11-09  Edward Hervey  <edward@fluendo.com>
16023
16024         * gst/base/gsttypefindhelper.c:
16025         * gst/gsttypefind.c:
16026         * gst/gsttypefind.h:
16027         Fix docs.
16028
16029 2005-11-09  Wim Taymans  <wim@fluendo.com>
16030
16031         * gst/gstiterator.c:
16032         Fix revision data.
16033
16034         * gst/gsttask.c:
16035         * gst/gsttask.h:
16036         Fix docs.
16037
16038 2005-11-09  Wim Taymans  <wim@fluendo.com>
16039
16040         * gst/gstevent.h:
16041         * gst/gsturi.h:
16042         Fix docs.
16043
16044 2005-11-09  Wim Taymans  <wim@fluendo.com>
16045
16046         * docs/gst/gstreamer-sections.txt:
16047         Moved the message async delivery private lock and cond
16048         to the private section.
16049
16050         * gst/gstmessage.c:
16051         * gst/gstmessage.h:
16052         Fixed docs.
16053
16054 2005-11-09  Edward Hervey  <edward@fluendo.com>
16055
16056         * docs/gst/gstreamer-sections.txt:
16057         * gst/gsturi.c:
16058         * gst/gsturi.h:
16059         Document GstURIHandler
16060
16061 2005-11-09  Wim Taymans  <wim@fluendo.com>
16062
16063         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
16064         (gst_iterator_find_custom):
16065         * gst/gstiterator.h:
16066         Fix iterator docs.
16067
16068 2005-11-09  Wim Taymans  <wim@fluendo.com>
16069
16070         * gst/gstbin.h:
16071         Document another field.
16072
16073         * gst/gststructure.c:
16074         * gst/gststructure.h:
16075         Document.
16076
16077 2005-11-09  Wim Taymans  <wim@fluendo.com>
16078
16079         * gst/gstbin.h:
16080         Documented structs.
16081
16082 2005-11-09  Wim Taymans  <wim@fluendo.com>
16083
16084         * docs/gst/gstreamer-sections.txt:
16085         Added some new macros.
16086
16087         * gst/gstclock.c:
16088         * gst/gstclock.h:
16089         * gst/gstobject.h:
16090         Docs updates.
16091
16092 2005-11-09  Wim Taymans  <wim@fluendo.com>
16093
16094         * docs/design/part-TODO.txt:
16095         Some more items for the TODO
16096
16097         * gst/gstcaps.c:
16098         * gst/gstcaps.h:
16099         Document GstCaps.
16100
16101 2005-11-09  Andy Wingo  <wingo@pobox.com>
16102
16103         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
16104         to work on something else now tho...
16105
16106         * gst/base/gstadapter.c: More adapter docs.
16107
16108         * gst/elements/gstfilesink.c (gst_file_sink_start) 
16109         (gst_file_sink_stop): New functions, replace the state change
16110         handler.
16111         (gst_file_sink_class_init): Hook up the start and stop functions.
16112         (gst_file_sink_base_init): Don't set the state change handler any
16113         more. It was a bit ugly too, being set from here...
16114         (gst_file_sink_get_property, gst_file_sink_set_property):
16115         Cleanups...
16116         (gst_file_sink_set_location): More robust check that doesn't call
16117         GST_STATE. Ugggggg.
16118
16119 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
16120
16121         * gst/base/gstbasetransform.c: (gst_base_transform_event):
16122           Hold STREAM_LOCK while pushing newsegment or tag events as well.
16123
16124 2005-11-08  Wim Taymans  <wim@fluendo.com>
16125
16126         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16127         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16128         (gst_base_sink_chain), (gst_base_sink_change_state):
16129         * gst/base/gstbasesink.h:
16130         * gst/base/gstbasesrc.h:
16131         * gst/gstelement.h:
16132         * gst/gstevent.h:
16133         Avoid excessive typechecking in macros.
16134
16135         * gst/gstminiobject.c: (gst_mini_object_get_type),
16136         (gst_mini_object_init), (gst_mini_object_new),
16137         (gst_mini_object_free):
16138         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
16139         (gst_object_finalize):
16140         Remove cruft code, optimize alloc_trace.
16141
16142 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16143
16144         * docs/faq/gst-uninstalled:
16145           fix up PS1 for systems that try to reset it
16146
16147 2005-11-07  Wim Taymans  <wim@fluendo.com>
16148
16149         * gst/base/gstbasesrc.c: (gst_base_src_init),
16150         (gst_base_src_get_range):
16151         Set the segment_end to -1 initially. Fixed typefind.
16152
16153 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
16154
16155         * gst/base/gstadapter.c:
16156           Debug category should be 'adapter', not 'GstAdapter'.
16157           
16158         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
16159         (gst_collectpads_class_init), (gst_collectpads_init),
16160         (gst_collectpads_peek), (gst_collectpads_pop),
16161         (gst_collectpads_event), (gst_collectpads_chain):
16162           Add debug category and some debugging output. Use boilerplate
16163           macros. Remove some extraneous words from docs.
16164
16165 2005-11-05  Andy Wingo  <wingo@pobox.com>
16166
16167         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
16168         macro.
16169
16170 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
16171
16172         * docs/gst/gstreamer-sections.txt:
16173         * gst/gstcaps.h:
16174         * gst/gstinfo.c:
16175         * gst/gstminiobject.h:
16176         * gst/gstobject.h:
16177         * gst/gstutils.h:
16178           more docs added
16179
16180 2005-11-04  Wim Taymans  <wim@fluendo.com>
16181
16182         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16183         Small update to stop at the configured segment_end
16184         position.
16185
16186 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
16187
16188         * gst/gstregistry.c:
16189         * gst/gstregistry.h:
16190           added missing docs
16191
16192 2005-11-04  Edward Hervey  <edward@fluendo.com>
16193
16194         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16195         Check if we are doing a segment seek and have arrived at the
16196         end of that segment.
16197
16198 2005-11-04  Wim Taymans  <wim@fluendo.com>
16199
16200         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
16201         Don't leak a mutex unlock in case of an error.
16202
16203         * gst/gstbus.h:
16204         Doc fixes.
16205
16206 2005-11-04  Wim Taymans  <wim@fluendo.com>
16207
16208         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
16209         (gst_bus_post):
16210         Get the context to wake up only once.
16211
16212 2005-11-03  Wim Taymans  <wim@fluendo.com>
16213
16214         * check/states/sinks.c: (GST_START_TEST):
16215         Uncomment fixed check.
16216
16217         * docs/design/part-TODO.txt:
16218         Updated TODO.
16219
16220         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16221         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16222         (gst_base_sink_get_position):
16223         If we are going to PLAYING, post the right pending state
16224         when we post the intermediate paused message.
16225
16226         * gst/gstelement.c: (gst_element_continue_state),
16227         (gst_element_set_state_func), (gst_element_change_state):
16228         Don't post state changes that were between the same state
16229         and were not ASYNC.
16230
16231 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16232
16233         * docs/gst/gstreamer-sections.txt:
16234         * gst/gstcaps.h:
16235         * gst/gstinfo.c:
16236         * gst/gstminiobject.h:
16237         * gst/gstobject.h:
16238         * gst/gstutils.h:
16239           more docs and doc style fixes
16240
16241 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16242
16243         * docs/gst/gstreamer-sections.txt:
16244         * gst/gstelement.c:
16245         * gst/gstminiobject.c:
16246         doc fixes
16247
16248 2005-11-03  Andy Wingo  <wingo@pobox.com>
16249
16250         * check/states/sinks.c (test_livesrc_sink): Add checks that the
16251         state-changed messages actually have the right order and the right
16252         values.
16253
16254 2005-11-03  Wim Taymans  <wim@fluendo.com>
16255
16256         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16257         Added some more checks. Specifically the case where NO_PREROLL
16258         elements are in the pipeline.
16259
16260         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16261         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16262         (gst_base_sink_get_position):
16263         Post READY->PAUSED state change messages too.
16264         Fix bug where VOID was posted as pending state...
16265
16266         * gst/gstbin.c: (gst_bin_recalc_state):
16267         use _element_continue_state() to continue the state change.
16268
16269         * gst/gstelement.c: (gst_element_continue_state),
16270         (gst_element_commit_state), (gst_element_set_state_func),
16271         (gst_element_change_state), (gst_element_change_state_func):
16272         Lots of state change cleanups, assign the STATE_RETURN in
16273         a new continue_state() function that also propagates the
16274         last return value from a state change to the app.
16275         Update some debug statements with proper category.
16276
16277 2005-11-03  Wim Taymans  <wim@fluendo.com>
16278
16279         * docs/design/part-events.txt:
16280         * docs/design/part-gstpipeline.txt:
16281         * docs/design/part-messages.txt:
16282         * docs/design/part-overview.txt:
16283         * docs/design/part-seeking.txt:
16284         * docs/design/part-states.txt:
16285         * docs/design/part-trickmodes.txt:
16286         * docs/manual/advanced-position.xml:
16287         Small docs updates.
16288
16289         * gst/gstobject.h:
16290         People think !! is ugly, this looks better.
16291
16292         * gst/gstpad.c: (gst_pad_set_blocked_async):
16293         Remove !! since it's fixed elsewhere now.
16294
16295 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16296
16297         * gst/gstminiobject.h:
16298         * gst/gstobject.h:
16299           Add !! to _FLAG_IS_SET macros to make the result boolean.
16300
16301 2005-11-03  Edward Hervey  <edward@fluendo.com>
16302
16303         * gst/gstpad.c: (gst_pad_set_blocked_async):
16304         comparing a flag and a gboolean rarely returns coherent results...
16305         Added two characters (!!) to make that work correctly.
16306         
16307 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16308
16309         * gst/gstbus.c: (gst_bus_class_init):
16310           Fix some typos.
16311           
16312         * gst/gstqueue.c: (gst_queue_loop):
16313           Don't assume a miniobject that isn't a buffer is an
16314           event (it could be that there is a refcounting
16315           problem somewhere and the pointer is stale and
16316           refers to an already destroyed miniobject).
16317
16318 2005-11-03  Julien MOUTTE  <julien@moutte.net>
16319
16320         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
16321
16322 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16323
16324         * docs/manual/advanced-position.xml:
16325           Update seek example and explanations to current 0.9 API.
16326
16327         * gst/elements/gsttypefindelement.c:
16328         (gst_type_find_element_activate):
16329           Remove FIXME comment now that the found caps
16330           are unreffed.
16331
16332 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16333
16334         * gst/gstregistryxml.c: (load_feature):
16335           Add another GST_STR_NULL instance
16336
16337 2005-11-02  Edward Hervey  <edward@fluendo.com>
16338
16339         * gst/gstpad.c: (handle_pad_block):
16340         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
16341         
16342 2005-11-02  Wim Taymans  <wim@fluendo.com>
16343
16344         * gst/gstbin.c:
16345         Fix typo in docs.
16346
16347         * gst/gstelement.c: (gst_element_commit_state):
16348         Remove unused value.
16349
16350         * gst/gstiterator.c:
16351         Mention that the returned element is reffed in the docs.
16352
16353 2005-11-02  Wim Taymans  <wim@fluendo.com>
16354
16355         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
16356         (gst_pad_push), (gst_pad_push_event):
16357         Unlock blocked pads when they are flushed.
16358
16359 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16360
16361         * docs/README:
16362         * docs/gst/gstreamer-sections.txt:
16363         * gst/gstbin.c:
16364           doc updates
16365         * gst/gstregistry.c: (gst_registry_scan_path_level):
16366           fix for a nasty little missed situation where an installed plug-in
16367           which was in the cache did not get overridden by an uninstalled one
16368           which was earlier in the plugin path because the newly created plugin
16369           for the uninstalled one (not in the registry) didn't get its
16370           ->registered set to TRUE
16371
16372 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16373
16374         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
16375         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
16376         (gst_collectpads_is_active), (gst_collectpads_collect),
16377         (gst_collectpads_collect_range), (gst_collectpads_start),
16378         (gst_collectpads_stop), (gst_collectpads_peek),
16379         (gst_collectpads_pop), (gst_collectpads_available),
16380         (gst_collectpads_read), (gst_collectpads_flush):
16381           Guard public API with assertions.
16382         
16383         * gst/gstpad.c:
16384           Fix docs for gst_pad_set_link_function().
16385
16386 2005-11-02  Johan Dahlin  <johan@gnome.org>
16387
16388         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
16389         Unref found_caps after we used it.
16390
16391 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16392
16393         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
16394           Don't try to ref NULL.
16395
16396 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16397
16398         * win32/common/config.h.in:
16399           provide a GST_FUNCTION that just gives a string for now
16400
16401 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16402
16403         * win32/common/gstenumtypes.c: (register_gst_object_flags),
16404         (gst_object_flags_get_type), (register_gst_bin_flags),
16405         (gst_bin_flags_get_type), (register_gst_buffer_flag),
16406         (gst_buffer_flag_get_type), (register_gst_bus_flags),
16407         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16408         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
16409         (gst_clock_return_get_type), (register_gst_clock_entry_type),
16410         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16411         (gst_clock_flags_get_type), (register_gst_state),
16412         (gst_state_get_type), (register_gst_state_change_return),
16413         (gst_state_change_return_get_type), (register_gst_state_change),
16414         (gst_state_change_get_type), (register_gst_element_flags),
16415         (gst_element_flags_get_type), (register_gst_core_error),
16416         (gst_core_error_get_type), (register_gst_library_error),
16417         (gst_library_error_get_type), (register_gst_resource_error),
16418         (gst_resource_error_get_type), (register_gst_stream_error),
16419         (gst_stream_error_get_type), (register_gst_event_type),
16420         (gst_event_type_get_type), (register_gst_seek_type),
16421         (gst_seek_type_get_type), (register_gst_seek_flags),
16422         (gst_seek_flags_get_type), (register_gst_format),
16423         (gst_format_get_type), (register_gst_index_certainty),
16424         (gst_index_certainty_get_type), (register_gst_index_entry_type),
16425         (gst_index_entry_type_get_type),
16426         (register_gst_index_lookup_method),
16427         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16428         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16429         (gst_index_resolver_method_get_type), (register_gst_index_flags),
16430         (gst_index_flags_get_type), (register_gst_debug_level),
16431         (gst_debug_level_get_type), (register_gst_debug_color_flags),
16432         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16433         (gst_iterator_result_get_type), (register_gst_iterator_item),
16434         (gst_iterator_item_get_type), (register_gst_message_type),
16435         (gst_message_type_get_type), (register_gst_mini_object_flags),
16436         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16437         (gst_pad_link_return_get_type), (register_gst_flow_return),
16438         (gst_flow_return_get_type), (register_gst_activate_mode),
16439         (gst_activate_mode_get_type), (register_gst_pad_direction),
16440         (gst_pad_direction_get_type), (register_gst_pad_flags),
16441         (gst_pad_flags_get_type), (register_gst_pad_presence),
16442         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16443         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16444         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16445         (gst_plugin_error_get_type), (register_gst_plugin_flags),
16446         (gst_plugin_flags_get_type), (register_gst_rank),
16447         (gst_rank_get_type), (register_gst_query_type),
16448         (gst_query_type_get_type), (register_gst_tag_merge_mode),
16449         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16450         (gst_tag_flag_get_type), (register_gst_task_state),
16451         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16452         (gst_alloc_trace_flags_get_type),
16453         (register_gst_type_find_probability),
16454         (gst_type_find_probability_get_type), (register_gst_uri_type),
16455         (gst_uri_type_get_type), (register_gst_parse_error),
16456         (gst_parse_error_get_type):
16457         * win32/common/gstversion.h:
16458           update win32 copies
16459
16460 2005-11-01  Luca Ognibene  <luogni@tin.it>
16461
16462         * gst/gst.c:
16463           fix docs. popt is dead, long live GOption.
16464
16465 2005-10-31  Wim Taymans  <wim@fluendo.com>
16466
16467         * gst/gstbuffer.h:
16468         Small doc fix.
16469
16470 2005-10-31  Andy Wingo  <wingo@pobox.com>
16471
16472         * Boo!
16473
16474         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
16475
16476         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
16477         need to serialize property notifications on GLib 2.8. GLib 2.6 has
16478         the possibility of deadlocks here if code calling notify() or
16479         set() has a lock that can be taken in another notify handler (ABBA
16480         with class lock and e.g. python GIL state lock).
16481
16482 2005-10-28  Julien MOUTTE  <julien@moutte.net>
16483
16484         * gst/gstbus.c: Doc updates.
16485
16486 2005-10-28  Wim Taymans  <wim@fluendo.com>
16487
16488         * docs/design/part-TODO.txt:
16489         * gst/gstiterator.c:
16490         * gst/gstsystemclock.c:
16491         * gst/gstsystemclock.h:
16492         Doc updates.
16493
16494 2005-10-28  Edward Hervey  <edward@fluendo.com>
16495
16496         * docs/gst/gstreamer-docs.sgml:
16497         * docs/gst/gstreamer-sections.txt:
16498         the GstURIType documentation page is private, it only defines GstURIType
16499         which should be defined in the GstURIHandler page
16500         
16501 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16502
16503         * gst/gstbin.c: (gst_bin_class_init):
16504         * gst/gstbin.h:
16505         * gst/gstutils.c:
16506         Documentation updates.
16507
16508 2005-10-28  Wim Taymans  <wim@fluendo.com>
16509
16510         * docs/gst/gstreamer-sections.txt:
16511         * gst/gstclock.c:
16512         * gst/gstclock.h:
16513         Documented the clocks.
16514
16515 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
16516
16517         * docs/gst/gstreamer-sections.txt:
16518           move some macros to private sections
16519         * gst/gstminiobject.c:
16520         * gst/gstminiobject.h:
16521           add descriptions provided by ds and some more
16522         * gst/gstpad.h:
16523           mark macro as to be removed
16524
16525 2005-10-28  Wim Taymans  <wim@fluendo.com>
16526
16527         * docs/design/part-TODO.txt:
16528         Add an item to TODO.
16529
16530         * gst/gstiterator.c: (gst_iterator_fold),
16531         (gst_iterator_find_custom):
16532         * gst/gstiterator.h:
16533         Add iterator docs.
16534
16535 2005-10-28  Wim Taymans  <wim@fluendo.com>
16536
16537         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16538         (gst_base_transform_init):
16539         Don't leak class.
16540
16541         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
16542         An EOS event marks the queue as completely filled.
16543
16544 2005-10-27  Wim Taymans  <wim@fluendo.com>
16545
16546         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16547         (gst_base_sink_do_sync), (gst_base_sink_get_position):
16548         Some more debugging.
16549
16550         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
16551         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
16552         (gst_base_transform_event), (gst_base_transform_getrange),
16553         (gst_base_transform_chain):
16554         * gst/base/gstbasetransform.h:
16555         Fix debugging,
16556         Protect transform and concurrent buffer alloc with a new lock.
16557         Try not to break ABI/API.
16558
16559 2005-10-27  Wim Taymans  <wim@fluendo.com>
16560
16561         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16562         (gst_base_src_init), (gst_base_src_query),
16563         (gst_base_src_default_newsegment),
16564         (gst_base_src_configure_segment), (gst_base_src_do_seek),
16565         (gst_base_src_send_event), (gst_base_src_event_handler),
16566         (gst_base_src_pad_get_range), (gst_base_src_loop),
16567         (gst_base_src_unlock), (gst_base_src_default_negotiate),
16568         (gst_base_src_start), (gst_base_src_deactivate),
16569         (gst_base_src_activate_push), (gst_base_src_change_state):
16570         Move some stuff around and cleanup things.
16571
16572 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
16573
16574         * gst/base/gstbasesrc.c: (gst_base_src_query):
16575           Add missing break statements.
16576
16577 2005-10-27  Wim Taymans  <wim@fluendo.com>
16578
16579         * check/gst/gstbin.c: (GST_START_TEST):
16580         An extra refcount is taken in basesrc.
16581
16582         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16583         (gst_base_src_get_range), (gst_base_src_pad_get_range),
16584         (gst_base_src_loop):
16585         Small cleanups, check for flushing after being unlocked from the 
16586         LIVE_LOCK. take refcounts correctly (not yet everywhere).
16587         Don't send out EOS when going to READY.
16588
16589 2005-10-27  Wim Taymans  <wim@fluendo.com>
16590
16591         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16592         (gst_base_sink_get_position):
16593         Some more debug.
16594
16595         * gst/gstbin.c: (message_check), (bin_replace_message),
16596         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16597         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16598         (bin_query_duration_init), (bin_query_duration_fold),
16599         (bin_query_duration_done), (bin_query_generic_fold),
16600         (gst_bin_query):
16601         * tools/gst-launch.c: (main):
16602         Remove old option.
16603
16604 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
16605
16606         * examples/controller/audio-example.c: (main):
16607         * examples/queue/queue.c: (event_loop):
16608         * gst/base/gstbasetransform.h:
16609         * gst/gstelement.c: (gst_element_send_event):
16610         * gst/gstevent.h:
16611         * gst/gstpad.c: (gst_pad_send_event):
16612           fixing examples
16613           fixing docs typos
16614           changing log priority in error situations
16615
16616 2005-10-25  Wim Taymans  <wim@fluendo.com>
16617
16618         * gst/gstbin.c: (message_check), (bin_replace_message),
16619         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16620         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16621         (bin_query_duration_init), (bin_query_duration_fold),
16622         (bin_query_duration_done), (bin_query_generic_fold),
16623         (gst_bin_query):
16624         Some doc and debug updates.
16625         Cache previously requested query DURATION for speed. invalidate
16626         cached duration if element posts a DURATION message.
16627
16628 2005-10-25  Wim Taymans  <wim@fluendo.com>
16629
16630         * docs/design/part-TODO.txt:
16631         Update TODO.
16632
16633         * gst/gstbin.c: (message_check), (bin_replace_message),
16634         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16635         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16636         (bin_query_duration_init), (bin_query_duration_fold),
16637         (bin_query_duration_done), (bin_query_generic_fold),
16638         (gst_bin_query):
16639         Handle SEGMENT_START/DONE messages correctly.
16640         More evolved query algorithm that handles duration queries
16641         correctly.
16642
16643         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
16644         (gst_element_get_state_func), (gst_element_abort_state),
16645         (gst_element_commit_state), (gst_element_lost_state):
16646         Some more debugging.
16647
16648         * gst/gstmessage.h:
16649         Added doc.
16650
16651 2005-10-25  Wim Taymans  <wim@fluendo.com>
16652
16653         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16654         Don't use invalid stream_time.
16655
16656         * gst/gstevent.c: (gst_event_new_newsegment):
16657         stream_time in newsegment cannot be undefined.
16658
16659 2005-10-24  Wim Taymans  <wim@fluendo.com>
16660
16661         * gst/gstbus.c:
16662         Doc fix.
16663
16664         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16665         (gst_queue_loop):
16666         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
16667
16668 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
16669
16670         * docs/libs/tmpl/gstdparam.sgml:
16671         * docs/libs/tmpl/gstdplinint.sgml:
16672         * docs/libs/tmpl/gstdpman.sgml:
16673         * docs/libs/tmpl/gstdpsmooth.sgml:
16674         * docs/libs/tmpl/gstunitconvert.sgml:
16675           these are obsolete
16676
16677 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16678
16679         * configure.ac:
16680           back to HEAD
16681
16682 === release 0.9.4 ===
16683
16684 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16685
16686         * configure.ac:
16687           releasing 0.9.4, "Tyrannosaurus Rex"
16688
16689 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
16690
16691         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16692         (gst_file_sink_get_current_offset):
16693           Use fseeko() and ftello() if available. When falling back on
16694           lseek() to get the current offset, fflush() first to make sure
16695           everything is up-to-date and we get the right offset.
16696
16697 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16698
16699         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16700         * gst/base/gstbasesrc.c: (gst_base_src_loop):
16701         * gst/gsterror.c: (_gst_stream_errors_init):
16702         * gst/gsterror.h:
16703         * gst/gstqueue.c: (gst_queue_loop):
16704         * po/POTFILES.in:
16705           remove prematurely added error category and clean up the instances
16706
16707 2005-10-21  Wim Taymans  <wim@fluendo.com>
16708
16709         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16710         (gst_base_sink_get_position), (gst_base_sink_query),
16711         (gst_base_sink_change_state):
16712         Simply set the right flag when going to playing, that's all
16713         we need to do instead of calling a function inside the object
16714         lock (that could take the lock as well and deadlock)
16715
16716 2005-10-21  Wim Taymans  <wim@fluendo.com>
16717
16718         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
16719         (gst_base_src_loop):
16720         Don't warn, the peer element knows what to do best when
16721         the seek failed, it might try something else.
16722
16723 2005-10-21  Wim Taymans  <wim@fluendo.com>
16724
16725         * gst/base/gstbasesrc.c: (gst_base_src_init),
16726         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16727         Fix seeking.
16728
16729 2005-10-21  Wim Taymans  <wim@fluendo.com>
16730
16731         * docs/design/part-segments.txt:
16732         More docs.
16733
16734         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16735         Correctly set caps, even on the subbufer.
16736
16737 2005-10-21  Wim Taymans  <wim@fluendo.com>
16738
16739         * docs/gst/gstreamer-docs.sgml:
16740         * docs/gst/gstreamer-sections.txt:
16741         * gst/gstelement.h:
16742         * gst/gstevent.c:
16743         * gst/gstevent.h:
16744         * gst/gstmessage.h:
16745         * gst/gstpad.h:
16746         * gst/gstparse.h:
16747         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
16748         * gst/gsttask.h:
16749         * gst/gstutils.c:
16750         * gst/gstutils.h:
16751         And 2% more doc coverage.
16752
16753 2005-10-21  Andy Wingo  <wingo@pobox.com>
16754
16755         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
16756         position reporting.
16757
16758 2005-10-20  Wim Taymans  <wim@fluendo.com>
16759
16760         * gst/gsterror.c: (gst_error_get_message):
16761         * gst/gstparse.h:
16762         * gst/gstquery.h:
16763         * gst/gststructure.c:
16764         * gst/gsttrace.c:
16765         * gst/gstutils.c:
16766         More docs.
16767
16768 2005-10-20  Wim Taymans  <wim@fluendo.com>
16769
16770         * gst/gstbuffer.h:
16771         * gst/gstpad.c:
16772         * gst/gstparse.c:
16773         Another 1% more coverage.
16774
16775 2005-10-20  Wim Taymans  <wim@fluendo.com>
16776
16777         * docs/gst/gstreamer-sections.txt:
16778         * gst/gstelement.c: (gst_element_get_state_func),
16779         (gst_element_abort_state), (gst_element_commit_state),
16780         (gst_element_lost_state):
16781         * gst/gstevent.h:
16782         * gst/gstquery.c: (gst_query_set_position),
16783         (gst_query_parse_position), (gst_query_set_duration),
16784         (gst_query_parse_duration), (gst_query_new_convert):
16785         * gst/gstutils.c:
16786         Yay! 1% more docs coverage.
16787
16788 2005-10-20  Wim Taymans  <wim@fluendo.com>
16789
16790         * gst/gstpad.h:
16791         * gst/gstquery.c: (gst_query_set_position),
16792         (gst_query_parse_position), (gst_query_set_duration),
16793         (gst_query_parse_duration), (gst_query_new_convert):
16794         * gst/gstquery.h:
16795         * gst/gstutils.c: (gst_element_query_convert):
16796         * gst/gstutils.h:
16797         Docs and consistency fixes.
16798
16799 2005-10-20  Wim Taymans  <wim@fluendo.com>
16800
16801         * gst/gsttask.c:
16802         * gst/gsttask.h:
16803         More docs.
16804
16805 2005-10-20  Wim Taymans  <wim@fluendo.com>
16806
16807         * gst/gstbin.c: (message_check), (bin_replace_message),
16808         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16809         (update_degree), (gst_bin_sort_iterator_next),
16810         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
16811         Reworked the message handling a bit, cache the messages instead of
16812         only the senders. alows us to do more in the future.
16813
16814 2005-10-20  Wim Taymans  <wim@fluendo.com>
16815
16816         * docs/design/part-TODO.txt:
16817         Update TODO
16818
16819         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16820         (gst_base_sink_query):
16821         Don't use clock time to report position when in EOS.
16822
16823 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
16824
16825         * tools/gst-inspect.c: (print_interfaces),
16826         (print_element_properties_info), (print_element_info):
16827           Fix interface output with gst-inspect -a; don't print
16828           newlines after double/float properties.
16829
16830 2005-10-20  Wim Taymans  <wim@fluendo.com>
16831
16832         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16833         (gst_base_sink_query):
16834         Speed up current position calculation.
16835
16836         * gst/base/gstbasesrc.c: (gst_base_src_query),
16837         (gst_base_src_default_newsegment):
16838         Correctly set stream position in newsegment.
16839
16840         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
16841         (update_degree), (gst_bin_sort_iterator_next),
16842         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
16843         * gst/gstmessage.c: (gst_message_new_custom):
16844         Clean up debugging info
16845
16846         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16847         (gst_queue_loop), (gst_queue_handle_src_query):
16848         Pause task faster.
16849
16850 2005-10-19  Wim Taymans  <wim@fluendo.com>
16851
16852         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16853         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16854         Fix query handling again.
16855
16856 2005-10-19  Wim Taymans  <wim@fluendo.com>
16857
16858         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16859         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16860         * gst/base/gstbasesrc.c: (gst_base_src_query):
16861         * gst/elements/gstfilesink.c: (gst_file_sink_query):
16862         * gst/elements/gsttypefindelement.c:
16863         (gst_type_find_handle_src_query), (find_element_get_length),
16864         (gst_type_find_element_activate):
16865         API change fix.
16866
16867         * gst/gstquery.c: (gst_query_new_position),
16868         (gst_query_set_position), (gst_query_parse_position),
16869         (gst_query_new_duration), (gst_query_set_duration),
16870         (gst_query_parse_duration), (gst_query_set_segment),
16871         (gst_query_parse_segment):
16872         * gst/gstquery.h:
16873         Bundling query position/duration is not a good idea since duration
16874         does not change much and we don't want to recalculate it for every
16875         position query, so they are separated again..
16876         Base value in segment query is not needed.
16877
16878         * gst/gstqueue.c: (gst_queue_handle_src_query):
16879         * gst/gstutils.c: (gst_element_query_position),
16880         (gst_element_query_duration), (gst_pad_query_position),
16881         (gst_pad_query_duration):
16882         * gst/gstutils.h:
16883         Updates for query API change.
16884         Added some docs here and there.
16885
16886 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16887
16888         * check/gst/gstbin.c: (GST_START_TEST):
16889         * check/gst/gstghostpad.c: (GST_START_TEST):
16890         * check/pipelines/cleanup.c: (GST_START_TEST):
16891           wait on thread to die so we can check refcount correctly
16892
16893 2005-10-18  Wim Taymans  <wim@fluendo.com>
16894
16895         * check/pipelines/stress.c: (GST_START_TEST):
16896         Make check a little more time consuming.
16897
16898 2005-10-18  Wim Taymans  <wim@fluendo.com>
16899
16900         * check/Makefile.am:
16901         * check/pipelines/stress.c: (GST_START_TEST),
16902         (simple_launch_lines_suite), (main):
16903         Small state change torture test.
16904
16905         * docs/design/part-states.txt:
16906         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16907         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
16908         (gst_base_sink_change_state):
16909         Never take state lock from streaming thread, clean up ugly
16910         hacks. Unfortunatly core does not yet support nice ways to
16911         async commit state.
16912         
16913         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
16914         (bin_bus_handler):
16915         Start state recalc if a STATE_DIRTY message is posted, but only
16916         on the toplevel bin.
16917
16918         * gst/gstelement.c: (gst_element_sync_state_with_parent),
16919         (gst_element_get_state_func), (gst_element_abort_state),
16920         (gst_element_commit_state), (gst_element_lost_state),
16921         (gst_element_set_state_func), (gst_element_change_state):
16922         * gst/gstelement.h:
16923         State variables are now protected with the LOCK, the state
16924         lock is only used to serialize _set_state().
16925
16926 2005-10-18  Wim Taymans  <wim@fluendo.com>
16927
16928         * check/gst/gstbin.c: (GST_START_TEST):
16929         * check/gst/gstmessage.c: (GST_START_TEST):
16930         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16931         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
16932         (bin_bus_handler):
16933         * gst/gstelement.c: (gst_element_abort_state),
16934         (gst_element_commit_state), (gst_element_lost_state):
16935         * gst/gstmessage.c: (gst_message_new_state_changed),
16936         (gst_message_new_state_dirty), (gst_message_new_segment_start),
16937         (gst_message_new_segment_done), (gst_message_new_duration),
16938         (gst_message_parse_state_changed),
16939         (gst_message_parse_segment_start),
16940         (gst_message_parse_segment_done), (gst_message_parse_duration):
16941         * gst/gstmessage.h:
16942         * tools/gst-launch.c: (event_loop):
16943         Seriously, this is better than a previous commit as we only need
16944         to notify the fact that an element changed state in a streaming
16945         thread, marking the state of the parents dirty, hence the 
16946         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
16947         message.
16948
16949 2005-10-18  Wim Taymans  <wim@fluendo.com>
16950
16951         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
16952         (gst_bin_recalc_func):
16953         * gst/gstelement.c: (gst_element_set_clock),
16954         (gst_element_abort_state), (gst_element_lost_state):
16955         Cleanups, prepare for state change fixes.
16956
16957 2005-10-18  Wim Taymans  <wim@fluendo.com>
16958
16959         * gst/gstbin.h:
16960         * gst/gstelement.c: (gst_element_class_init),
16961         (gst_element_set_state), (gst_element_set_state_func):
16962         * gst/gstelement.h:
16963         Pending ABI changes.
16964         GThreadPool in GstBinClass to monitor async state changes.
16965         state_cookie in GstElement to detect concurrent gst/set state.
16966         set_state is now virtual too in case a very complicated element
16967         has to be constructed.
16968
16969 2005-10-18  Wim Taymans  <wim@fluendo.com>
16970
16971         * check/gst/gstbin.c: (GST_START_TEST):
16972         * check/gst/gstmessage.c: (GST_START_TEST):
16973         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16974         * gst/gstbin.c: (bin_bus_handler):
16975         * gst/gstelement.c: (gst_element_commit_state),
16976         (gst_element_lost_state):
16977         * gst/gstmessage.c: (gst_message_new_state_changed),
16978         (gst_message_new_segment_start), (gst_message_new_segment_done),
16979         (gst_message_new_duration), (gst_message_parse_state_changed),
16980         (gst_message_parse_segment_start),
16981         (gst_message_parse_segment_done), (gst_message_parse_duration):
16982         * gst/gstmessage.h:
16983         * tools/gst-launch.c: (event_loop):
16984         Make messages future proof.
16985         state-change gets a flag if it was a message comming from the
16986         streaming thread.
16987         segment-start/stop can also be specified in other formats.
16988         A message to notify an app that a pipeline changed playback 
16989         duration.
16990         Also fix a GstMessage leak in -launch
16991
16992 2005-10-18  Andy Wingo  <wingo@pobox.com>
16993
16994         * gst/gstelement.c (gst_element_dispose): More helpful message.
16995
16996 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16997
16998         reviewed by: <delete if not using a buddy>
16999
17000         * common/gtk-doc.mak:
17001
17002 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17003
17004         * gst/gstregistry.c: (gst_registry_scan_path_level):
17005           unref a plug-in we get that was already initialized
17006
17007 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
17008
17009         * docs/gst/gstreamer-sections.txt:
17010         * docs/libs/gstreamer-libs-sections.txt:
17011         * gst/gstelement.h:
17012           add new api entries
17013           hide internal macro
17014
17015 2005-10-17  Andy Wingo  <wingo@pobox.com>
17016
17017         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
17018         cleanup.
17019
17020         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
17021
17022         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
17023
17024         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
17025         (gst_element_get_state_func): Better debug message.
17026         (gst_element_commit_state): s/INFO/DEBUG/.
17027         (gst_element_lost_state, gst_element_change_state): 
17028
17029         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
17030         (gst_message_new_custom): s/INFO/LOG/.
17031
17032 2005-10-17  Michael Smith <msmith@fluendo.com>
17033
17034         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17035           Check if end time is valid using end time, not start time.
17036
17037 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
17038
17039         * check/gst-libs/controller.c: (GST_START_TEST),
17040         (gst_controller_suite):
17041         * libs/gst/controller/gstcontroller.c:
17042         (gst_controlled_property_set_interpolation_mode):
17043         * libs/gst/controller/gstcontroller.h:
17044         * libs/gst/controller/gstinterpolation.c:
17045         * testsuite/controller/.cvsignore:
17046         * testsuite/controller/Makefile.am:
17047         * testsuite/controller/interpolator.c:
17048           merge controller testsuites
17049           fix broken tests
17050           remove mem-chunk from docs
17051
17052 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17053
17054         * gst/gstmemchunk.c:
17055         * gst/gstmemchunk.h:
17056         * gst/gsttrashstack.c:
17057         * gst/gsttrashstack.h:
17058           out.  get out.  you're fired.  to the Attic !
17059
17060 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17061
17062         * gst/gstcaps.c: (gst_caps_intersect):
17063           fix signedness issues in a (hopefully) correct way
17064         * gst/gstelement.c: (gst_element_pads_activate):
17065           some debugging
17066         * gst/gstobject.c: (gst_object_set_parent):
17067           some debugging
17068
17069 2005-10-17  Julien MOUTTE  <julien@moutte.net>
17070
17071         * gst/gstvalue.h: Fix prototypes.
17072
17073 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17074
17075         * docs/gst/gstreamer-sections.txt:
17076         * gst/gst.c: (gst_version_string):
17077         * gst/gst.h:
17078         * gst/gstversion.h.in:
17079         * win32/common/libgstreamer.def:
17080           add gst_version_string ()
17081
17082 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17083
17084         * configure.ac:
17085           clean up further
17086         * gst/gst.c: (init_post):
17087         * win32/common/config.h.in:
17088           it's PLUGINDIR now
17089         * gst/gstcaps.c: (gst_caps_intersect):
17090           use gint64, the range could be bigger than a guint
17091
17092 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17093
17094         * gst/gstclock.h:
17095           document potential problem in 2038
17096
17097 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17098
17099         * gst/gstcaps.c: (gst_caps_intersect):
17100           Fix guint j diving under 0
17101
17102 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17103
17104         * configure.ac:
17105         * win32/common/config.h:
17106         * win32/common/config.h.in:
17107           check for process.h, declares getpid() on Windows
17108         * gst/gstinfo.c:
17109           include process.h if we have it
17110         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
17111         * gst/gstmemchunk.h:
17112           fix signedness issues
17113         * win32/common/libgstreamer.def:
17114           fix get_type's
17115
17116 2005-10-16  Julien MOUTTE  <julien@moutte.net>
17117
17118         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
17119         fix. Because of unsigned ints, caps intersection was going nuts and
17120         trying to access structures with G_MAXUINT index. That fixes
17121         videotestsrc ! ffmpegcolorspace ! fakesink
17122         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
17123         consistency.
17124
17125 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17126
17127         * configure.ac:
17128           use the gettext macro
17129         * gst/elements/gstelements.c:
17130         * gst/gst.c:
17131         * gst/indexers/gstindexers.c:
17132           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
17133         * win32/common/config.h:
17134           updated config.h
17135         * win32/common/config.h.in:
17136           add the template to generate config.h
17137         * win32/common/gstenumtypes.c:
17138         * win32/common/gstversion.h:
17139           updated copies
17140
17141 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17142
17143         * gst/gst.c: (gst_version):
17144         * gst/gstversion.h.in:
17145           add the nano
17146
17147 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
17148
17149         * gst/gstevent.h:
17150           Oops, add missing closing bracket.
17151
17152 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17153
17154         * configure.ac:
17155           use common m4's for argument checking
17156
17157 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
17158
17159         * docs/gst/gstreamer-sections.txt:
17160         * gst/gstevent.h:
17161           Add GST_EVENT_TYPE_NAME() macro.
17162
17163 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17164
17165         * gst/gstinfo.c:
17166         * gst/gstpluginfeature.c:
17167         * gst/gsttask.c:
17168           privatize more symbols
17169
17170 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17171
17172         * configure.ac:
17173           add srcdir, builddir includes to GST_ALL_CFLAGS, since
17174           everything that uses GStreamer API should have the includes
17175
17176 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17177
17178         * docs/gst/gstreamer-sections.txt:
17179         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
17180         * gst/gstvalue.h:
17181           give each value a _get_type, removes the DATA exports
17182
17183 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17184
17185         * gst/gst.c:
17186         * gst/gst.h:
17187           remove _gst_registry_auto_load, not used anymore
17188         * gst/gstbin.c: (gst_bin_get_type):
17189         * gst/gstbin.h:
17190         * gst/gstelement.c: (gst_element_get_type):
17191         * gst/gstelement.h:
17192         * gst/gstobject.c: (gst_object_get_type):
17193         * gst/gstobject.h:
17194         * gst/gstpad.c: (gst_pad_get_type):
17195         * gst/gstpad.h:
17196           make _get_type functions similar, fixes data export from library
17197
17198 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17199
17200         * configure.ac:
17201           correctly make conditionals
17202         * gst/elements/Makefile.am:
17203         * gst/elements/gstelements.c:
17204           fix typo causing fdsrc not to build
17205
17206 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17207
17208         * testsuite/Makefile.am:
17209         * testsuite/bytestream/.cvsignore:
17210         * testsuite/bytestream/Makefile.am:
17211         * testsuite/bytestream/filepadsink.c:
17212         * testsuite/bytestream/gstbstest.c:
17213         * testsuite/bytestream/test1.c:
17214         * testsuite/bytestream/testfile1:
17215         * testsuite/caps/normalisation.c:
17216         * testsuite/caps/random.c: (main):
17217         * testsuite/cleanup/.cvsignore:
17218         * testsuite/cleanup/Makefile.am:
17219         * testsuite/cleanup/cleanup1.c:
17220         * testsuite/cleanup/cleanup2.c:
17221         * testsuite/cleanup/cleanup3.c:
17222         * testsuite/cleanup/cleanup4.c:
17223         * testsuite/cleanup/cleanup5.c:
17224         * testsuite/controller/interpolator.c:
17225         * testsuite/debug/printf_extension.c: (main):
17226         * testsuite/elements/tee.c:
17227         * testsuite/negotiation/.cvsignore:
17228         * testsuite/negotiation/Makefile.am:
17229         * testsuite/negotiation/pad_link.c:
17230         * testsuite/pad/Makefile.am:
17231         * testsuite/pad/chainnopull.c:
17232         * testsuite/pad/getnopush.c:
17233         * testsuite/pad/link.c:
17234         * testsuite/refcounting/sched.c: (create_pipeline):
17235         * testsuite/registry/Makefile.am:
17236         * testsuite/registry/gst-print-formats.c:
17237         * testsuite/schedulers/.cvsignore:
17238         * testsuite/schedulers/142183-2.c:
17239         * testsuite/schedulers/142183.c:
17240         * testsuite/schedulers/143777-2.c:
17241         * testsuite/schedulers/143777.c:
17242         * testsuite/schedulers/147713.c:
17243         * testsuite/schedulers/147819.c:
17244         * testsuite/schedulers/147894-2.c:
17245         * testsuite/schedulers/147894.c:
17246         * testsuite/schedulers/Makefile.am:
17247         * testsuite/schedulers/group_link.c:
17248         * testsuite/schedulers/queue_link.c:
17249         * testsuite/schedulers/relink.c:
17250         * testsuite/schedulers/unlink.c:
17251         * testsuite/schedulers/unref.c:
17252         * testsuite/schedulers/useless_iteration.c:
17253         * testsuite/states/bin.c:
17254           clean out/remove some stuff from the testsuite directories
17255
17256 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17257
17258         * configure.ac:
17259           check for some headers
17260         * gst/elements/Makefile.am:
17261         * gst/elements/gstelements.c:
17262           don't compile fdsrc without sys/socket.h
17263         * gst/indexers/Makefile.am:
17264         * gst/indexers/gstindexers.c: (plugin_init):
17265           don't compile fileindex without mmap
17266
17267 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17268
17269         * configure.ac:
17270           reorganize
17271           clean up
17272           document more
17273           remove cruft
17274         * check/Makefile.am:
17275         * docs/gst/Makefile.am:
17276         * examples/helloworld/Makefile.am:
17277         * gst/Makefile.am:
17278         * gst/base/Makefile.am:
17279         * gst/check/Makefile.am:
17280         * gst/elements/Makefile.am:
17281         * gst/indexers/Makefile.am:
17282         * gst/parse/Makefile.am:
17283         * libs/gst/controller/Makefile.am:
17284         * libs/gst/dataprotocol/Makefile.am:
17285         * examples/helloworld/helloworld.c: (event_loop):
17286           compile fixes, though it's not being compiled currently
17287
17288 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17289
17290         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
17291           Add some simple tests for the new taglist date API.
17292
17293 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17294
17295         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
17296         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
17297           Beautify 'last-message' output: print 'none' for buffer timestamps
17298           and durations if none is set; improve alignment with next messages.
17299
17300 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17301
17302         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
17303         * gst/gstpluginfeature.h:
17304         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
17305         * gst/gstregistry.h:
17306         * docs/gst/gstreamer-sections.txt:
17307           Add new API to check plugin feature version requirements.
17308
17309         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
17310           Some basic tests for the above.         
17311
17312 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17313
17314         * gst/gststructure.c: (gst_structure_to_string):
17315           guard against NULL printf - happens when for example
17316           a message structure with GstClock gets serialized
17317
17318 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17319
17320         * gst/base/gstcollectpads.c: (gst_collectpads_event):
17321           Fix presumable copy'n'pasto.
17322
17323 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17324
17325         * gst/elements/gstfakesrc.h:
17326         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
17327         * gst/elements/gsttypefindelement.c:
17328           fix some signedness
17329         * gst/elements/gstfilesink.c: (gst_file_sink_render):
17330           I wonder if this could actually write +2GB files before
17331
17332 2005-10-13  Andy Wingo  <wingo@pobox.com>
17333
17334         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
17335         Fix Timmeke Waymans bug.
17336         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
17337         string of the proper length to gst_caps_from_string. There's a
17338         potential for, before this fix, that this could cause someone
17339         connecting over the network to cause a segfault if the payload is
17340         not NUL-terminated.
17341
17342 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17343
17344         * docs/design/draft-push-pull.txt:
17345         * docs/design/part-overview.txt:
17346         * docs/random/TODO-pre-0.9:
17347         * docs/random/old/ChangeLog.gstreamer:
17348         * gst/base/gstpushsrc.c:
17349         * gst/gstclock.c:
17350           fixed typos
17351
17352 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17353
17354         * gst/glib-compat.c: (gst_flags_get_first_value):
17355         * gst/glib-compat.h:
17356         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
17357         (gst_value_compare_double), (gst_value_serialize_flags):
17358           GLib 2.6 g_flags_get_first_value has a bug that triggers an
17359           infinite loop
17360
17361 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17362
17363         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17364         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17365           fix up debugging
17366         * tools/gst-launch.c: (event_loop):
17367           print out clock nicely
17368
17369 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17370
17371         * docs/gst/gstreamer-sections.txt:
17372         * gst/gsttaglist.h:
17373         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
17374         (gst_tag_list_get_date_index):
17375           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
17376           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
17377
17378 2005-10-13  Julien MOUTTE  <julien@moutte.net>
17379
17380         * gst/base/gstcollectpads.c: (gst_collectpads_event),
17381         (gst_collectpads_chain):
17382         * gst/base/gstcollectpads.h: Handle newsegment and store informations
17383         in CollectData.
17384
17385 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17386
17387         * docs/gst/gstreamer-sections.txt:
17388         * gst/gst.c:
17389         * gst/gsterror.h:
17390         * tools/gst-inspect.c: (main):
17391         * tools/gst-launch.c: (main):
17392         * tools/gst-run.c: (main):
17393         * tools/gst-xmlinspect.c: (main):
17394           fix GOption context leaks
17395           doc fixes
17396
17397 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17398
17399         * gst/gstbus.c:
17400           use HAVE_UNISTD_H
17401         * win32/common/config.h:
17402           update config
17403         * win32/vs6/grammar.dsp:
17404         * win32/vs6/libgstelements.dsp:
17405         * win32/vs6/libgstreamer.dsp:
17406           update vs6 files
17407
17408 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17409
17410         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17411         * gst/base/gstbasesrc.c: (gst_base_src_query):
17412           fix more guint64<->gdouble conversions
17413
17414 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17415
17416         * Makefile.am:
17417           add win32-update target
17418         * win32/common/gstconfig.h:
17419         * win32/common/gstenumtypes.c:
17420         * win32/common/gstenumtypes.h:
17421         * win32/common/gstversion.h:
17422           add files that visual studio can't generate
17423
17424 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17425
17426         * Makefile.am:
17427           add a win32-update target
17428         * configure.ac:
17429
17430 2005-10-12  Wim Taymans  <wim@fluendo.com>
17431
17432         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17433         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
17434         * gst/gstelement.c: (gst_element_commit_state),
17435         (gst_element_set_state):
17436         Protect flags with proper lock.
17437         unref provided cached clock in dispose.
17438
17439 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17440
17441         * gst/gst.c:
17442         * gst/gstminiobject.h:
17443         * gst/gstpad.h:
17444         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
17445           removed unused flags from miniobject
17446           doc fixes
17447
17448 2005-10-12  Wim Taymans  <wim@fluendo.com>
17449
17450         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17451         (gst_file_sink_event), (gst_file_sink_render):
17452         Flush before seeking.
17453
17454 2005-10-12  Andy Wingo  <wingo@pobox.com>
17455
17456         * gst/gst.c (gst_init_check): Ignore unknown options, as has
17457         always been the case.
17458
17459 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17460
17461         * check/gst/gstbin.c: (GST_START_TEST):
17462         * docs/gst/gstreamer-sections.txt:
17463         * gst/base/gstbasesink.c: (gst_base_sink_init):
17464         * gst/base/gstbasesrc.c: (gst_base_src_init),
17465         (gst_base_src_get_range), (gst_base_src_check_get_range),
17466         (gst_base_src_start), (gst_base_src_stop):
17467         * gst/base/gstbasesrc.h:
17468         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
17469         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17470         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
17471         (bin_bus_handler):
17472         * gst/gstbin.h:
17473         * gst/gstbuffer.h:
17474         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
17475         * gst/gstbus.h:
17476         * gst/gstelement.c: (gst_element_is_locked_state),
17477         (gst_element_set_locked_state), (gst_element_commit_state),
17478         (gst_element_set_state):
17479         * gst/gstelement.h:
17480         * gst/gstindex.c: (gst_index_init):
17481         * gst/gstindex.h:
17482         * gst/gstminiobject.h:
17483         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
17484         (gst_object_set_parent):
17485         * gst/gstobject.h:
17486         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
17487         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
17488         * gst/gstpad.h:
17489         * gst/gstpadtemplate.h:
17490         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
17491         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
17492         * gst/gstpipeline.h:
17493         * gst/indexers/gstfileindex.c: (gst_file_index_load),
17494         (gst_file_index_commit):
17495         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
17496         * testsuite/pad/link.c: (gst_test_src_init),
17497         (gst_test_filter_init), (gst_test_sink_init):
17498         * testsuite/states/locked.c: (main):
17499           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
17500           moved bitshift from macro to enum definition
17501
17502 2005-10-12  Wim Taymans  <wim@fluendo.com>
17503
17504         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
17505         * gst/elements/gstfilesink.c: (gst_file_sink_event),
17506         (gst_file_sink_render):
17507         Some more debugging info.
17508
17509 2005-10-12  Wim Taymans  <wim@fluendo.com>
17510
17511         * docs/design/part-states.txt:
17512         * tools/gst-launch.c: (main):
17513         Some doc updates.
17514         Revert non-intentional change.
17515
17516 2005-10-12  Wim Taymans  <wim@fluendo.com>
17517
17518         * check/gst/gstbin.c: (GST_START_TEST):
17519         * check/gst/gstelement.c: (GST_START_TEST):
17520         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
17521         * check/gst/gstghostpad.c: (GST_START_TEST):
17522         * check/gst/gstpipeline.c: (GST_START_TEST):
17523         * check/pipelines/simple_launch_lines.c: (run_pipeline):
17524         * check/states/sinks.c: (GST_START_TEST):
17525         * gst/elements/gsttypefindelement.c: (stop_typefinding):
17526         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17527         (gst_bin_remove_func), (gst_bin_get_state_func),
17528         (gst_bin_recalc_state), (gst_bin_change_state_func),
17529         (bin_bus_handler):
17530         * gst/gstelement.c: (gst_element_get_state_func),
17531         (gst_element_get_state), (gst_element_abort_state),
17532         (gst_element_commit_state), (gst_element_set_state),
17533         (gst_element_change_state), (gst_element_change_state_func):
17534         * gst/gstelement.h:
17535         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
17536         (gst_pipeline_provide_clock_func):
17537         * gst/gstutils.c: (gst_element_link_pads_filtered):
17538         * tools/gst-launch.c: (main):
17539         * tools/gst-typefind.c: (main):
17540         Use GstClockTime in _get_state() instead of GTimeVal.
17541         Remove old code in gstutils.c
17542
17543 2005-10-12  Andy Wingo  <wingo@pobox.com>
17544
17545         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
17546         removed.
17547
17548         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
17549         there is no task. Shouldn't affect any code, as nothing in our
17550         plugins checks this return value.
17551         (gst_pad_stop_task): Also take the stream lock if the pad has no
17552         task. Docs updated.
17553
17554 2005-10-12  Wim Taymans  <wim@fluendo.com>
17555
17556         * gst/gstpad.c: (pre_activate), (post_activate),
17557         (gst_pad_activate_pull), (gst_pad_activate_push):
17558         Cleanup activation code. Reset old state if
17559         activation failed.
17560
17561 2005-10-12  Wim Taymans  <wim@fluendo.com>
17562
17563         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17564         (gst_base_sink_change_state):
17565         No need to prerol after receiving EOS.
17566
17567         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17568         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
17569         * gst/elements/gstidentity.c: (gst_identity_event):
17570         Print events more verbosely.
17571
17572 2005-10-12  Wim Taymans  <wim@fluendo.com>
17573
17574         * check/Makefile.am:
17575         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17576         * check/states/sinks2.c:
17577         Moved sinks2 testcode in sinks check.
17578
17579         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17580         (gst_bin_remove_func), (gst_bin_recalc_state),
17581         (gst_bin_change_state_func), (bin_bus_handler):
17582         Fix potential race condition when _get_state() iterated over an
17583         ASYNC element right before it posted a state completion.
17584
17585         * gst/gstclock.h:
17586         Do proper cast here.
17587
17588         * gst/gstevent.c: (gst_event_new_newsegment),
17589         (gst_event_parse_newsegment):
17590         A playback rate of 0.0 is not allowed.
17591
17592 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17593
17594         * win32/common/config.h:
17595         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
17596         (_trewinddir), (_ttelldir), (_tseekdir):
17597         * win32/common/dirent.h:
17598         * win32/common/gtchar.h:
17599         * win32/common/libgstbase.def:
17600         * win32/common/libgstreamer.def:
17601         * win32/vs6/grammar.dsp:
17602         * win32/vs6/gst_inspect.dsp:
17603         * win32/vs6/gst_launch.dsp:
17604         * win32/vs6/gstreamer.dsw:
17605         * win32/vs6/libgstbase.dsp:
17606         * win32/vs6/libgstelements.dsp:
17607         * win32/vs6/libgstreamer.dsp:
17608           Visual Studio 6 project files, and a new common directory.
17609           Phear.
17610
17611 2005-10-11  Wim Taymans  <wim@fluendo.com>
17612
17613         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17614         (gst_base_sink_do_sync), (gst_base_sink_query),
17615         (gst_base_sink_change_state):
17616         * gst/base/gstbasesink.h:
17617         Correctly parse newsegment info.
17618
17619 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17620
17621         * gst/gst.c: (init_post):
17622           split plugin paths correctly
17623
17624 2005-10-11  Wim Taymans  <wim@fluendo.com>
17625
17626         * check/gst/gstevent.c: (GST_START_TEST):
17627         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17628         (gst_base_sink_change_state):
17629         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
17630         * gst/base/gstbasetransform.c: (gst_base_transform_event):
17631         * gst/elements/gstfilesink.c: (gst_file_sink_event):
17632         * gst/gstevent.c: (gst_event_new_newsegment),
17633         (gst_event_parse_newsegment):
17634         * gst/gstevent.h:
17635         Added extra flag to newsegment for future API freeze.
17636         Updated check and base elements.
17637
17638 2005-10-11  Julien MOUTTE  <julien@moutte.net>
17639
17640         * gst/base/gstcollectpads.c: (gst_collectpads_init),
17641         (gst_collectpads_add_pad), (gst_collectpads_pop),
17642         (gst_collectpads_event), (gst_collectpads_chain):
17643         * gst/base/gstcollectpads.h: Handle EOS correctly.
17644
17645 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17646
17647         * tools/gst-launch.c: (main):
17648           more null protecting
17649
17650 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17651
17652         * gst/gst-i18n-lib.h:
17653           check for ENABLE_NLS, not GETTEXT_PACKAGE
17654         * gst/gstregistry.c: (gst_registry_add_plugin),
17655         (gst_registry_scan_path_level),
17656         (_gst_registry_remove_cache_plugins):
17657           protect possibly NULL strings
17658         * gst/parse/types.h:
17659           config.h already included before
17660         * tools/gst-inspect.c: (main):
17661           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
17662           check for ENABLE_NLS, not GETTEXT_PACKAGE
17663         * tools/gst-launch.c: (main):
17664           check for ENABLE_NLS, not GETTEXT_PACKAGE
17665
17666 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17667
17668         * configure.ac:
17669           if we don't have glib, fail before testing 2.8
17670         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
17671           fix a leak, should fix plugins-base testsuite
17672
17673 2005-10-11  Andy Wingo  <wingo@pobox.com>
17674
17675         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
17676         take the mode we're going to as an arg. Go head and set the mode
17677         and flushing flags now, so that if the activate function starts a
17678         thread all the flags will be in the right state.
17679         (post_activate): Renamed also. Just handle making sure streaming
17680         finishes for the deactivation case, and setting the deactivated
17681         mode.
17682         (gst_pad_set_active): Complain loudly if deactivation fails.
17683         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
17684         (gst_pad_activate_push): Adapt to pre/post_activate changes,
17685         remove the terrible hack.
17686
17687 2005-10-11  Wim Taymans  <wim@fluendo.com>
17688
17689         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17690         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
17691         (gst_bin_recalc_state), (gst_bin_change_state_func),
17692         (gst_bin_dispose), (bin_bus_handler):
17693         * gst/gstbin.h:
17694         Prepare to make current EOS message queue more generic.
17695         Fix some typos.
17696
17697         * gst/gstevent.c: (gst_event_new_newsegment),
17698         (gst_event_parse_newsegment):
17699         * gst/gstevent.h:
17700         Rename base to stream_time.
17701
17702         * gst/gstmessage.h:
17703         Fix typo in docs.
17704
17705 2005-10-11  Wim Taymans  <wim@fluendo.com>
17706
17707         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17708         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
17709         (gst_bin_change_state_func), (bin_bus_handler):
17710         * gst/gstbin.h:
17711         Work on proper clock selection.
17712
17713 2005-10-11  Edward Hervey  <edward@fluendo.com>
17714
17715         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
17716         * libs/gst/controller/gstcontroller.h:
17717         Added GList* version of _remove_properties() in order to be able to wrap
17718         it in bindings.
17719
17720 2005-10-11  Wim Taymans  <wim@fluendo.com>
17721
17722         * docs/design/part-states.txt:
17723         Some more docs.
17724
17725         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
17726         (gst_bin_change_state_func), (bin_bus_handler):
17727         Doc updates. Don't distribute the same clock over and over again.
17728
17729         * gst/gstclock.c:
17730         * gst/gstclock.h:
17731         Doc updates.
17732
17733         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17734         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17735         (gst_pad_send_event):
17736         * gst/gstpad.h:
17737         Make probe emission threadsafe again.
17738         Register quarks and move _get_name() from utils.
17739         Doc updates.
17740
17741         * gst/gstpipeline.c: (gst_pipeline_class_init),
17742         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17743         Only redistribute the clock of it changed.
17744
17745         * gst/gstsystemclock.h:
17746         Doc updates. 
17747
17748         * gst/gstutils.c:
17749         * gst/gstutils.h:
17750         Moved the _flow_get_name() to GstPad.
17751
17752 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17753
17754         * check/gst-libs/gdp.c: (GST_START_TEST):
17755         * check/gst/gstcaps.c: (GST_START_TEST):
17756         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
17757         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
17758         (gst_dp_packet_from_caps):
17759           fix more valgrind warnings before turning up the heat
17760
17761 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17762
17763         * gst/parse/grammar.y:
17764           some cleanup before the hacking
17765
17766 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17767
17768         * gst/base/gstbasesrc.c: (gst_base_src_query):
17769           use conversions
17770         * gst/gstutils.c: (gst_guint64_to_gdouble),
17771         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
17772         * gst/gstutils.h:
17773           externalize, basesrc uses it
17774           obviously the implementation needs testing
17775
17776 2005-10-10  Wim Taymans  <wim@fluendo.com>
17777
17778         * tests/sched/Makefile.am:
17779         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
17780         (make_pipeline3), (make_pipeline4), (print_elem), (main):
17781
17782 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17783
17784         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
17785           apparently converting from guint64 to double is not implemented
17786           on MSVC
17787
17788 2005-10-10  Wim Taymans  <wim@fluendo.com>
17789
17790         * check/Makefile.am:
17791         * check/generic/states.c: (GST_START_TEST):
17792         * check/gst/gstbin.c: (GST_START_TEST):
17793         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17794         * check/states/sinks.c: (GST_START_TEST):
17795         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
17796         (main):
17797         Check fixes, use API as stated in design docs, remove hacks.
17798
17799         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17800         (gst_base_sink_change_state):
17801         Catch stopping our task while we're shutting down.
17802
17803         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
17804         (gst_bin_remove_func), (gst_bin_get_state_func),
17805         (gst_bin_recalc_state), (gst_bin_change_state_func),
17806         (bin_bus_handler):
17807         * gst/gstbin.h:
17808         * gst/gstelement.c: (gst_element_init),
17809         (gst_element_get_state_func), (gst_element_abort_state),
17810         (gst_element_commit_state), (gst_element_lost_state),
17811         (gst_element_set_state), (gst_element_change_state),
17812         (gst_element_change_state_func):
17813         * gst/gstelement.h:
17814         New state change algorithm (see #318116)
17815
17816         * gst/gstpipeline.c: (gst_pipeline_class_init),
17817         (gst_pipeline_init), (gst_pipeline_set_property),
17818         (gst_pipeline_get_property), (do_pipeline_seek),
17819         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17820         * gst/gstpipeline.h:
17821         Remove crude state change hacks.
17822
17823         * gst/gstutils.h:
17824         Remove crude hacks.
17825
17826         * tools/gst-launch.c: (main):
17827         Fixes for state change. Needs some more work to fully use the
17828         new stuff.
17829
17830 2005-10-10  Andy Wingo  <wingo@pobox.com>
17831
17832         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
17833
17834         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
17835         this flag, but it's not even in GLib 2.6. Odd. Hack around the
17836         issue.
17837
17838 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17839
17840         * gst/gstiterator.c: (gst_iterator_new):
17841           Fix my previous commit: GTypes passed to gst_iterator_new()
17842           can be fundamental types.
17843
17844 2005-10-10  Wim Taymans  <wim@fluendo.com>
17845
17846         * gst/gstelement.c: (gst_element_iterate_pad_list),
17847         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
17848         (gst_element_iterate_sink_pads):
17849         Use src/sink pads lists for the respective iterators instead
17850         of filtering.
17851
17852 2005-10-10  Andy Wingo  <wingo@pobox.com>
17853
17854         Merged in popt removal + GOption addition patch from Ronald, bug
17855         #169772.
17856
17857         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
17858         GstElement macros around, remove popt-related symbols, add goption
17859         stuff.
17860
17861         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
17862         
17863         * docs/gst/Makefile.am:
17864         * docs/libs/Makefile.am: No POPT_CFLAGS.
17865         
17866         * examples/manual/Makefile.am:
17867         * docs/manual/basics-init.xml: Doc updates with an example.
17868         
17869         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
17870         (gst_init), (parse_one_option), (parse_goption_arg):
17871         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
17872         bit of hand merging and debugging to get the GOption stuff working
17873         tho.
17874         
17875         * tests/Makefile.am:
17876         * tools/Makefile.am:
17877         * tools/gst-inspect.c: (main):
17878         * tools/gst-launch.c: (main):
17879         * tools/gst-run.c: (main):
17880         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
17881
17882 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17883
17884         * gst/gstiterator.c: (gst_iterator_new):
17885           Add assertions to make sure passed GType is likely to really
17886           be a GType (as the compiler won't catch it if the size and
17887           GType arguments get mixed up, see #318447).
17888
17889 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
17890
17891         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17892
17893         * gst/gstbin.c: (gst_bin_iterate_sorted):
17894           Pass GType and size arguments to gst_iterator_new() in the right
17895           order (maybe we should make _new() take the GType as first argument
17896           just like _new_list()?) (#318447).
17897           
17898
17899 2005-10-10  Wim Taymans  <wim@fluendo.com>
17900
17901         * gst/gstelement.c: (gst_element_finalize):
17902         And free the GStaticRecMutex too
17903
17904 2005-10-10  Andy Wingo  <wingo@pobox.com>
17905
17906         * gst/gstelement.c (gst_element_init, gst_element_finalize):
17907         Allocate and free the mutex properly.
17908
17909         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
17910         New macros.
17911         (GstElement): The state_lock is now recursive. Rebuild your
17912         plugins, suckers. Old macros adapted.
17913
17914         * docs/gst/gstreamer-sections.txt: Doc updates.
17915
17916         * gst/gstutils.h:
17917         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
17918         (g_static_rec_cond_wait): Ported from state changes patch, while
17919         we wait on bug #317802 to be solved in a well-distributed GLib.
17920
17921         * gst/gstelement.c (gst_element_change_state_func): Renamed from
17922         gst_element_change_state, variable name changes.
17923         (gst_element_change_state): Split out of gst_element_set_state in
17924         preparation for the state change merge. Doesn't pay attention to
17925         the 'transition' argument.
17926         (gst_element_set_state): Updates, hopefully purely cosmetic.
17927         (gst_element_sync_state_with_parent): MT-safety. Ported from the
17928         state change patch.
17929         (gst_element_get_state_func): Renamed from get_state, cosmetic
17930         changes.
17931
17932 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17933
17934         * gst/elements/gstelements.c:
17935         * win32/GStreamer.vcproj:
17936         * win32/config.h:
17937         * win32/dirent.c: (_tseekdir):
17938         * win32/gst-inspect.vcproj:
17939         * win32/gst-launch.vcproj:
17940         * win32/gstconfig.h:
17941         * win32/gstelements.vcproj:
17942         * win32/gstenumtypes.c: (gst_object_flags_get_type):
17943         * win32/gstreamer.def:
17944         * win32/msvc71.sln:
17945           updates for the win32 build (patch from Sebastien Moutte)
17946
17947 2005-10-10  Andy Wingo  <wingo@pobox.com>
17948
17949         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
17950         gst_bin_get_state, cleaned up (but no logic changes).
17951         (bin_element_is_sink): Comment updates.
17952         (sink_iterator_filter): Remove needless cast.
17953         (gst_bin_iterate_sinks): Doc update.
17954         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
17955         cleaned up (but no logic changes).
17956
17957         * check/states/sinks.c (test_src_sink): Cleanups from the state
17958         change patch.
17959         (test_livesrc_sink): Sync on the state.
17960
17961         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
17962         the state change patch.
17963
17964         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
17965         change patch.
17966
17967         * check/gst/gstbin.c: Merge in some style fixes and additional
17968         checks from Wim's state change patch.
17969
17970 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17971
17972         * gst/base/gsttypefindhelper.c: (helper_find_peek),
17973         (gst_type_find_helper):
17974           Check whether we have the requested data already in our list of
17975           cached buffers before pulling a new buffer; also make the buffer
17976           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
17977
17978 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17979
17980         * gst/gstcaps.c:
17981         * gst/gstevent.c:
17982           doc updates
17983         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17984           don't use long long, it's not portable.  Replacing with
17985           gint64 seems to work; let's hope no skeletons fall out of the closet.
17986
17987 2005-10-10  Andy Wingo  <wingo@pobox.com>
17988
17989         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
17990
17991 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
17992
17993         * docs/gst/gstreamer-sections.txt:
17994         * gst/gstevent.c:
17995         * gst/gstevent.h:
17996         * gst/gstinfo.c:
17997         * gst/gstinfo.h:
17998         * gst/gstmessage.c: (gst_message_parse_state_changed):
17999         * gst/gstpad.c:
18000         * gst/gstpad.h:
18001           more docs, fix compilation
18002
18003 2005-10-09  Philippe Khalaf <burger@speedy.org>
18004         * gst/gstmessage.c:
18005           Fixed a few forgotten variables on previous commit
18006
18007 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
18008
18009         * gst/base/gsttypefindhelper.c: (helper_find_peek):
18010           Fix evil typefind crasher: getrange() might return a short
18011           buffer at the end of a file, but gst_type_find_peek() must
18012           either return the full data as requested or NULL, but
18013           never a short buffer.
18014
18015 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18016
18017         * gst/gstmessage.c: (gst_message_new_state_changed),
18018         (gst_message_parse_state_changed):
18019         * gst/gstmessage.h:
18020           don't use "new", it's a C++ keyword
18021
18022 2005-10-08  Wim Taymans  <wim@fluendo.com>
18023
18024         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
18025         * gst/gstelement.c: (gst_element_post_message):
18026         * gst/gstpipeline.c: (gst_pipeline_change_state):
18027         Small docs and debug updates.
18028
18029 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
18030
18031         * docs/gst/gstreamer-sections.txt:
18032         * gst/gstelementfactory.c:
18033         * gst/gstevent.c:
18034         * gst/gsttaglist.c:
18035           more docs
18036
18037 2005-10-08  Wim Taymans  <wim@fluendo.com>
18038
18039         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
18040         (gst_bin_dispose), (bin_bus_handler):
18041         Fix typos, add comments.
18042         Clear EOS list when going to PAUSED from any direction and do it
18043         in a threadsafe way.
18044         Get base time in a threadsafe way too.
18045         Fix confusing debug in the change_state function.
18046         Various other small cleanups.
18047         
18048         * gst/gstelement.c: (gst_element_post_message):
18049         Fix very verbose bus posting code.
18050
18051         * gst/gstpipeline.c: (gst_pipeline_class_init),
18052         (gst_pipeline_set_property), (gst_pipeline_get_property),
18053         (gst_pipeline_change_state):
18054         Small ARG_ -> PROP_ cleanup
18055
18056 2005-10-08  Wim Taymans  <wim@fluendo.com>
18057
18058         * gst/gstbin.c: (is_eos), (bin_bus_handler):
18059         Do a less CPU demanding EOS check because we can.
18060
18061 2005-10-08  Wim Taymans  <wim@fluendo.com>
18062
18063         * libs/gst/dataprotocol/dataprotocol.c:
18064         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
18065         (gst_dp_packet_from_event):
18066         * libs/gst/dataprotocol/dataprotocol.h:
18067         * libs/gst/dataprotocol/dp-private.h:
18068         It's about time we bump the version number.
18069         Since event types don't fit in the guint8 anymore describing
18070         the payload type, make payload type 16 bits wide.
18071
18072 2005-10-08  Wim Taymans  <wim@fluendo.com>
18073
18074         * docs/design/part-TODO.txt:
18075         * docs/design/part-clocks.txt:
18076         * docs/design/part-events.txt:
18077         * docs/design/part-gstbin.txt:
18078         * docs/design/part-gstelement.txt:
18079         * docs/design/part-gstpipeline.txt:
18080         * docs/design/part-live-source.txt:
18081         * docs/design/part-messages.txt:
18082         * docs/design/part-overview.txt:
18083         * docs/design/part-states.txt:
18084         Many doc updates.
18085
18086 2005-10-08  Wim Taymans  <wim@fluendo.com>
18087
18088         * gst/gstevent.c:
18089         * gst/gstevent.h:
18090         Fix event quark registration.
18091         Add some space between events so we can insert them in the
18092         right groups.
18093
18094 2005-10-08  Wim Taymans  <wim@fluendo.com>
18095
18096         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18097         (gst_base_sink_handle_buffer):
18098         Better log message.
18099
18100         * gst/gstbus.h:
18101         * gst/gstelement.h:
18102         More docs.
18103
18104         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
18105         (gst_queue_set_property), (gst_queue_get_property):
18106         * gst/gstqueue.h:
18107         Remove old unused properties.
18108
18109 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
18110         * docs/gst/gstreamer-sections.txt:
18111         * gst/gstmessage.c:
18112         * gst/gstmessage.h:
18113         * gst/gstminiobject.c:
18114         * gst/gstminiobject.h:
18115         * gst/gstobject.h:
18116         * gst/gstpad.h:
18117         * gst/gstutils.h:
18118           lots of new docs and doc fixes
18119
18120 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18121
18122         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
18123         * gst/gstplugin.h:
18124         * gst/gstregistry.c: (gst_registry_lookup_locked),
18125         (gst_registry_scan_path_level):
18126         * gst/gstregistryxml.c: (load_plugin):
18127           Only ever load one plugin for a given plugin basename.
18128           This ensures correct overriding of GST_PLUGIN_PATH over
18129           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
18130           system installed plugins.
18131
18132 2005-10-08  Wim Taymans  <wim@fluendo.com>
18133
18134         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18135         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
18136         Prepare for doing QOS.
18137
18138 2005-10-08  Wim Taymans  <wim@fluendo.com>
18139
18140         * check/gst/gstbin.c: (GST_START_TEST):
18141         * check/pipelines/cleanup.c: (GST_START_TEST):
18142         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18143         Allow new clock message too.
18144
18145 2005-10-08  Wim Taymans  <wim@fluendo.com>
18146
18147         * gst/gstmessage.c: (gst_message_new_error),
18148         (gst_message_new_warning), (gst_message_new_tag),
18149         (gst_message_new_state_changed), (gst_message_new_clock_provide),
18150         (gst_message_new_clock_lost), (gst_message_new_new_clock),
18151         (gst_message_new_segment_start), (gst_message_new_segment_done),
18152         (gst_message_parse_state_changed),
18153         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
18154         (gst_message_parse_new_clock):
18155         * gst/gstmessage.h:
18156         Also carry the clock in question.
18157
18158 2005-10-08  Wim Taymans  <wim@fluendo.com>
18159
18160         * gst/gstmessage.c: (gst_message_new_custom),
18161         (gst_message_new_eos), (gst_message_new_error),
18162         (gst_message_new_warning), (gst_message_new_tag),
18163         (gst_message_new_state_changed), (gst_message_new_clock_provide),
18164         (gst_message_new_new_clock), (gst_message_new_segment_start),
18165         (gst_message_new_segment_done), (gst_message_parse_state_changed),
18166         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
18167         * gst/gstmessage.h:
18168         Clean up.
18169         Added clock related messages.
18170
18171         * gst/gstpipeline.c: (gst_pipeline_change_state):
18172         Post message when the clock changed.
18173
18174         * tools/gst-launch.c: (event_loop):
18175         Print new clock.
18176
18177 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
18178
18179         * tools/gst-inspect.c: (print_element_properties_info):
18180           Can't pass NULL strings to g_print() on windows.
18181
18182 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18183
18184         * docs/Makefile.am:
18185         * docs/gst/Makefile.am:
18186         * docs/gst/gstreamer-docs.sgml:
18187         * docs/gst/running.xml:
18188         * docs/version.entities.in:
18189           add a chapter on running GStreamer.
18190           document GST_DEBUG and GST_PLUGIN* env vars
18191
18192 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18193
18194         * Makefile.am:
18195           remove include dir
18196         * configure.ac:
18197           remove PLUGINS_BUILDDIR stuff
18198         * gst/gst.c: (init_post):
18199           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
18200         * idiottest.mak:
18201           remove, it was condescending and not needed
18202
18203 2005-10-08  Wim Taymans  <wim@fluendo.com>
18204
18205         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
18206         (gst_base_sink_handle_object), (gst_base_sink_event),
18207         (gst_base_sink_wait), (gst_base_sink_handle_event),
18208         (gst_base_sink_change_state):
18209         * gst/base/gstbasesink.h:
18210         Repost EOS message while going to PLAYING if still EOS.
18211         Make sure that when receiving a FLUSH_START we don't attempt
18212         to sync on the clock anymore.
18213
18214 2005-10-08  Wim Taymans  <wim@fluendo.com>
18215
18216         * tools/gst-launch.c: (event_loop):
18217         Better message printout.
18218
18219 2005-10-08  Wim Taymans  <wim@fluendo.com>
18220
18221         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
18222         (gst_bin_child_proxy_get_children_count):
18223         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
18224         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
18225         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
18226         (gst_child_proxy_set_valist):
18227         * gst/parse/grammar.y:
18228         Make ChildProxy threadsafe and fix mem leaks.
18229
18230 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18231
18232         * gst/gst.c: (init_post):
18233           debug the GST_PLUGIN_ env vars
18234
18235 2005-10-08  Wim Taymans  <wim@fluendo.com>
18236
18237         * check/gst/gstbin.c: (GST_START_TEST):
18238         * check/gst/gstmessage.c: (GST_START_TEST):
18239         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18240         * gst/gstelement.c: (gst_element_commit_state),
18241         (gst_element_lost_state):
18242         * gst/gstmessage.c: (gst_message_new_state_changed),
18243         (gst_message_parse_state_changed):
18244         * gst/gstmessage.h:
18245         * tools/gst-launch.c: (event_loop):
18246         Added extra field to STATE_CHANGE message with the pending
18247         state, which will be different from the new state soon.
18248
18249 2005-10-08  Wim Taymans  <wim@fluendo.com>
18250
18251         * gst/gstbus.c: (gst_bus_pop):
18252         * gst/gstclock.c:
18253         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18254         Small cleanups and doc updates.
18255
18256 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18257
18258         * gst/gst.c: (init_pre):
18259         * gst/gstbin.c: (gst_bin_add_func):
18260           log distributing clocks and base time
18261         * gst/gstregistry.c: (gst_registry_add_plugin),
18262         (gst_registry_scan_path_level), (gst_registry_scan_path):
18263           clean up the debugging output a little
18264         * gst/gstutils.c: (gst_element_state_get_name):
18265           warn about a memleak (I've actually seen this be used, though
18266           it was probably a bug)
18267
18268 2005-10-07  Wim Taymans  <wim@fluendo.com>
18269
18270         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18271         (gst_base_src_init), (gst_base_src_default_newsegment),
18272         (gst_base_src_newsegment), (gst_base_src_do_seek),
18273         (gst_base_src_loop), (gst_base_src_start):
18274         * gst/base/gstbasesrc.h:
18275         Make the newsegment event customizable by subclasses.
18276
18277 2005-10-07  Wim Taymans  <wim@fluendo.com>
18278
18279         * gst/gstevent.c: (gst_event_new_buffersize),
18280         (gst_event_parse_buffersize):
18281         * gst/gstevent.h:
18282         New event for future idea.
18283
18284 2005-10-07  Andy Wingo  <wingo@pobox.com>
18285
18286         * gst/gstelement.c (gst_element_post_message): Doc update.
18287
18288         * docs/gst/gstreamer-sections.txt: Update.
18289
18290         * gst/gstmessage.c (gst_message_new_application): Made into a
18291         function like honest API calls.
18292         (gst_message_new_element): New message type.
18293
18294         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
18295
18296         * check/elements/fakesrc.c (test_no_preroll): New check, checks
18297         that setting a live fakesrc to PAUSED returns NO_PREROLL both
18298         times.
18299
18300         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
18301         NO_PREROLL from gst_element_change_state to fall through.
18302
18303 2005-10-07  Wim Taymans  <wim@fluendo.com>
18304
18305         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
18306         (gst_ghost_pad_do_activate_push):
18307         Activating a ghostpad with no internal pad in push mode
18308         is ok.
18309
18310 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18311
18312         * gst/gstobject.h:
18313           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
18314           Fixes compilation on Windows.
18315
18316 2005-10-07  Michael Smith <msmith@fluendo.com>
18317
18318         * tools/gst-inspect.c:
18319           Print out feature and plugin count at the end when printing out
18320           all features.
18321
18322 2005-10-04  Michael Smith <msmith@fluendo.com>
18323
18324         * gst/gsterror.c: (_gst_stream_errors_init):
18325           Add another error string used in a few existing plugins.
18326
18327         * gst/gstplugin.c:
18328         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18329         * tools/gst-inspect.c: (print_element_info):
18330           When a feature disappears from a plugin (and the feature exists in
18331           the cached registry file), things went horribly wrong. This isn't a
18332           complete fix, we should actually be removing the 'missing' features
18333           from the features list when we load the actual plugin. That's not
18334           yet implemented. 
18335
18336 2005-10-04  Johan Dahlin  <johan@gnome.org>
18337
18338         * check/gst/gstiterator.c: (GST_START_TEST):
18339         * gst/gstbin.c: (gst_bin_iterate_elements),
18340         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
18341         * gst/gstelement.c: (gst_element_iterate_pads):
18342         * gst/gstformat.c: (gst_format_iterate_definitions):
18343         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18344         (gst_iterator_new_list), (gst_iterator_filter):
18345         * gst/gstiterator.h:
18346         * gst/gstquery.c: (gst_query_type_iterate_definitions):
18347         Add a GType to GstIterator, update callsites and tests.
18348
18349 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18350
18351         * gst/gstpad.c: (gst_pad_event_default_dispatch):
18352           give events a chance to be handled by event probes when the pad
18353           is not linked
18354
18355 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18356
18357         * gst/gstevent.c: (gst_event_type_get_name),
18358         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
18359         * gst/gstevent.h:
18360           add string representations for event types
18361
18362 2005-10-06  Wim Taymans  <wim@fluendo.com>
18363
18364         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
18365         Don't use NULL pointers.
18366
18367 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18368
18369         * gst/gst_private.h:
18370         * gst/gstbus.c:
18371         * gst/gstelement.c:
18372         * gst/gstinfo.c:
18373         * gst/gstpluginfeature.c:
18374           widen the debug category in output to fit the biggest one we have
18375           add a bus category and use it
18376           play with the colors
18377           fix up some categories
18378
18379 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18380
18381         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
18382           add push activation of sink ghost pads.
18383           Andye, please verify
18384
18385 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18386
18387         * gst/gstutils.c: (gst_element_link_pads):
18388           fix a bug in the case where neither element has a pad
18389         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18390           add a test for that case
18391
18392 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18393
18394         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
18395           emit have-data before checking for peers.  This allows
18396           for probe handlers to connect elements.  This helps autopluggers.
18397         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
18398         (gst_pad_suite):
18399           add six checks, linked/unlinked with no/true/false probe
18400
18401 2005-10-04  Wim Taymans  <wim@fluendo.com>
18402
18403         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
18404         (gst_fake_sink_event), (gst_fake_sink_preroll),
18405         (gst_fake_sink_render), (gst_fake_sink_change_state):
18406         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
18407         (gst_fake_src_get_property), (gst_fake_src_create),
18408         (gst_fake_src_stop):
18409         * gst/elements/gstidentity.c: (gst_identity_stop):
18410         Protect last_message with lock.
18411
18412 2005-10-04  Edward Hervey  <edward@fluendo.com>
18413
18414         * gst/gstformat.h: 
18415         Added precision in the comments for GST_FORMAT_DEFAULT
18416
18417 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
18418
18419         * tools/gst-launch.c: (main):
18420           Don't try to run erroneous pipelines.
18421
18422 2005-10-04  Julien MOUTTE  <julien@moutte.net>
18423
18424         * gst/gstbus.c: We don't need this header.
18425
18426 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18427
18428         * configure.ac:
18429           back to development
18430
18431 === release 0.9.3 ===
18432
18433 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18434
18435         * README:
18436         * configure.ac:
18437           Releasing 0.9.3, "Unregistered"
18438
18439 2005-10-03  Andy Wingo  <wingo@pobox.com>
18440
18441         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
18442         whereby calling a pad's activatepush() function can start a thread
18443         that starts to push or pull before the pad gets the FLUSHING flag
18444         unset. Hack around it by holding the stream lock until the flag is
18445         set. Need to replace this with a proper solution. Together with
18446         the ghost pad fixes, this fixes mp3 playing/tagreading.
18447
18448         * docs/design/part-gstghostpad.txt: Add a note about activation of
18449         proxy pads outside of ghost pads.
18450
18451         * gst/gstghostpad.c: Implement the ghost pad activation design.
18452
18453 2005-10-02  Andy Wingo  <wingo@pobox.com>
18454
18455         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
18456         It is volatile, after all.
18457
18458         * docs/design/part-gstghostpad.txt: Flesh out activation with
18459         ghost pads.
18460
18461         * gst/base/gstbasesrc.c (gst_base_src_init): Use
18462         GST_DEBUG_FUNCPTR.
18463
18464 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
18465
18466         * configure.ac:
18467           Fix (unused) AM_CONDITIONAL tests.
18468
18469 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
18470
18471         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18472
18473         * gst/gstutils.c: (gst_pad_query_convert):
18474           Add assertion that makes sure src_val is >=0, just like
18475           gst_query_new_convert() has. (#315895)
18476
18477 2005-09-30  Edward Hervey  <edward@fluendo.com>
18478
18479         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
18480         Let's not iterate pads we're not interested in, it avoids getting 
18481         sky-high refcounts on sinkpad.
18482
18483 2005-09-30  Wim Taymans  <wim@fluendo.com>
18484
18485         * gst/gstelement.c: (gst_element_set_state),
18486         (gst_element_change_state):
18487         Small tweak, element in ASYNC remains ASYNC.
18488
18489 2005-09-30  Wim Taymans  <wim@fluendo.com>
18490
18491         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18492         Only error is an error.
18493
18494         * gst/gstbin.c: (gst_bin_change_state):
18495         Better debugging.
18496
18497         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
18498         Also call pad_block in pad alloc.
18499
18500         * gst/gstutils.c: (gst_flow_get_name):
18501         Better debugging.
18502
18503 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18504
18505         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18506         (gst_base_src_get_range):
18507           Fix documentation typos. Add some more debug info.
18508
18509 2005-09-29  David Schleef  <ds@schleef.org>
18510
18511         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
18512           more end-user friendly.
18513         * tools/gst-inspect.c: (main): Check if command-line argument is
18514           a file and attempt to load that file as a plugin.
18515
18516 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18517
18518         * check/gst/gstbin.c:
18519         * check/states/sinks.c:
18520           fix tests for the new warning
18521         * check/gst/gstpipeline.c:
18522           add a test for pipeline and bus interaction
18523         * gst/gstelement.c:
18524           elements should be NULL if they get disposed; add a warning if not
18525
18526 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18527
18528         * gst/gstobject.c:
18529           for 2.6 refcounting, make debug log more correct by printing
18530           the actual refcounts at the time of swap (Wim)
18531
18532 2005-09-29  Andy Wingo  <wingo@pobox.com>
18533
18534         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
18535         removes signal watches previously added via
18536         gst_bus_add_signal_watch.
18537         (gst_bus_add_signal_watch): Don't return the source id, just store
18538         it on the bus if there wasn't an id already.
18539
18540         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
18541         add_signal_watch and remove_signal_watch.
18542
18543 2005-09-29  Edward Hervey  <edward@fluendo.com>
18544
18545         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
18546         Better if we actually iterate the list :)
18547
18548 2005-09-29  Wim Taymans  <wim@fluendo.com>
18549
18550         * check/gst/gstbin.c: (GST_START_TEST):
18551         Change for new bus API.
18552
18553         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18554         (send_messages), (GST_START_TEST), (gstbus_suite):
18555         Change for new bus signal API.
18556
18557         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
18558         (gst_bus_source_prepare), (gst_bus_source_check),
18559         (gst_bus_create_watch), (gst_bus_add_watch_full),
18560         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
18561         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
18562         * gst/gstbus.h:
18563         Remove support for multiple GSources operating on different
18564         message types as it is too complex and unneeded when using
18565         signals.
18566         Added support for receiving signals from the bus.
18567
18568 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18569
18570         * docs/libs/tmpl/gstdataprotocol.sgml:
18571         * docs/manual/advanced-dataaccess.xml:
18572         * gst/elements/gstcapsfilter.c:
18573         * gst/gstutils.c:
18574           rename filter-caps to caps property
18575
18576 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18577
18578         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18579           More robust fraction string parsing.
18580
18581         * docs/pwg/appendix-porting.xml:
18582           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
18583
18584 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18585
18586         * gst/gstcaps.c: (gst_caps_do_simplify):
18587           Thou shalt not free a structure and then continue using it
18588           in the next loop iteration.
18589
18590         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
18591         (gst_caps_suite):
18592           Add test case for caps simplification.
18593
18594 2005-09-29  Wim Taymans  <wim@fluendo.com>
18595
18596         * check/gst/gstbin.c: (GST_START_TEST):
18597         Oops.
18598
18599 2005-09-29  Wim Taymans  <wim@fluendo.com>
18600
18601         * check/gst/gstbin.c: (GST_START_TEST):
18602         Add bus to bin.
18603
18604         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
18605         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18606         (find_element), (gst_bin_sort_iterator_next),
18607         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18608         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18609         (gst_bin_change_state), (gst_bin_dispose):
18610         A bin does not have a bus, it gets the bus from the parent.
18611
18612         * gst/gstelement.c: (gst_element_requires_clock),
18613         (gst_element_provides_clock), (gst_element_is_indexable),
18614         (gst_element_is_locked_state), (gst_element_change_state),
18615         (gst_element_set_bus_func):
18616         Small cleanups.
18617
18618         * gst/gstpipeline.c: (gst_pipeline_class_init),
18619         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
18620         The pipeline provides a bus.
18621
18622 2005-09-28  Johan Dahlin  <johan@gnome.org>
18623
18624         * gst/gstmessage.c (gst_message_parse_state_changed): Use
18625         gst_structure_get_enum instead of gst_structure_get_int
18626
18627         * gst/gststructure.c (gst_structure_get_enum): Impl.
18628
18629         * gst/gststructure.h (gst_structure_get_enum): Add
18630
18631         * docs/gst/gstreamer-sections.txt: Ditto
18632
18633         * gst/gstmessage.c (gst_message_new_state_changed): Use
18634         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
18635         which does introspection.
18636         Reviewed by Christian Schaller
18637
18638 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18639
18640         * gst/gstinfo.c: (gst_debug_log_default):
18641           don't do dummy g_strdup()s
18642         * libs/gst/controller/gstcontroller.c:
18643         (on_object_controlled_property_changed),
18644         (gst_controlled_property_new), (gst_controller_new_valist),
18645         (gst_controller_new_list),
18646         (gst_controller_remove_properties_valist), (gst_controller_set),
18647         (gst_controller_get), (gst_controller_sync_values),
18648         (gst_controller_get_value_array), (_gst_controller_class_init),
18649         (gst_controller_get_type):
18650         * libs/gst/controller/gstcontroller.h:
18651         * libs/gst/controller/gstinterpolation.c:
18652         (gst_controlled_property_find_timed_value_node):
18653           convert // to /**/ comments
18654
18655 2005-09-28  Wim Taymans  <wim@fluendo.com>
18656
18657         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
18658         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
18659         (gst_bus_sync_signal_handler):
18660         * gst/gstbus.h:
18661         Added async-message and sync-message signals to the bus.
18662         Added helper BusFunc to emit signals for all posted messages.
18663
18664         * gst/gstmessage.c: (gst_message_type_get_name),
18665         (gst_message_type_to_quark), (gst_message_get_type):
18666         * gst/gstmessage.h:
18667         Register quarks for message names.
18668
18669 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18670
18671         * docs/libs/gstreamer-libs-sections.txt:
18672         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
18673         (gst_controller_new_list):
18674         * libs/gst/controller/gstcontroller.h:
18675           added another constructor for language bindings
18676
18677 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18678
18679         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18680           add another check
18681         * gst/gstbus.c:
18682           add some doc
18683         * gst/gstinfo.c: (_gst_debug_init):
18684           slightly more readable color for refcount debugging
18685
18686 2005-09-28  Wim Taymans  <wim@fluendo.com>
18687
18688         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18689         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18690         (find_element), (gst_bin_sort_iterator_next),
18691         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18692         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18693         (gst_bin_change_state), (gst_bin_dispose):
18694         Small doc fixes. get_clock -> provide_clock.
18695
18696         * gst/gstelement.c: (gst_element_class_init),
18697         (gst_element_provides_clock), (gst_element_provide_clock),
18698         (gst_element_get_clock), (gst_element_commit_state),
18699         (gst_element_lost_state):
18700         * gst/gstelement.h:
18701         Make get/set_clock() symetric. Add provide_clock vmethod since
18702         that is actually what this function does.
18703
18704         * gst/gstpipeline.c: (gst_pipeline_class_init),
18705         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
18706         (gst_pipeline_get_clock):
18707         get_clock -> provide_clock.
18708
18709 2005-09-28  Andy Wingo  <wingo@pobox.com>
18710
18711         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
18712         lieu of real docs...
18713
18714         * gst/elements/gstfdsrc.c: Cleaned up a bit.
18715
18716 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
18717
18718         * gst/elements/gstcapsfilter.c:
18719         * gst/elements/gstfakesink.c:
18720         * gst/elements/gstfakesrc.c:
18721         * gst/elements/gstfdsink.c:
18722         * gst/elements/gstfdsrc.c:
18723         * gst/elements/gstfilesink.c:
18724         * gst/elements/gstfilesrc.c:
18725         * gst/elements/gstidentity.c:
18726         * gst/elements/gsttee.c:
18727         * gst/elements/gsttypefindelement.c:
18728           Make element details static.
18729
18730 2005-09-28  Wim Taymans  <wim@fluendo.com>
18731
18732         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18733         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18734         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18735         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18736         (gst_bin_change_state), (gst_bin_dispose):
18737         Some documentation updates.
18738         Clean up dispose handlers.
18739
18740         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
18741         * gst/gstpad.c: (gst_pad_dispose):
18742         Clean up dispose handler.
18743
18744         * gst/gstpipeline.c: (gst_pipeline_change_state):
18745         Removed spurious UNLOCK.
18746
18747 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
18748
18749         * docs/gst/gstreamer-sections.txt:
18750         * gst/base/gstbasesrc.h:
18751         * gst/gstelement.h:
18752         * gst/gstevent.h:
18753         * gst/gstobject.h:
18754         * gst/gstpad.h:
18755         * gst/gstpipeline.c:
18756         * gst/gstpipeline.h:
18757         * gst/gstutils.h:
18758         * gst/gstxml.h:
18759           added two new functions to the docs
18760                 documents all undocumented GstXXXFlags
18761                 completed some incomplete docs 
18762
18763 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18764
18765         * gst/gstbin.c: (gst_bin_dispose):
18766         * gst/gstelement.c: (gst_element_dispose):
18767           remove now useless and leaky resurrection code in dispose
18768         * gst/base/gstbasesrc.c: (gst_base_src_init):
18769         * gst/gstelementfactory.c: (gst_element_factory_create):
18770         * gst/gstobject.c: (gst_object_set_parent):
18771           add some debugging
18772
18773 2005-09-27  Wim Taymans  <wim@fluendo.com>
18774
18775         * docs/design/part-TODO.txt:
18776         Update TODO.
18777
18778         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18779         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18780         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18781         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18782         (gst_bin_change_state):
18783         * gst/gstelement.h:
18784         Remove element variable, we keep element info in the iterator now.
18785
18786 2005-09-27  Andy Wingo  <wingo@pobox.com>
18787
18788         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
18789         values.
18790
18791 2005-09-27  Wim Taymans  <wim@fluendo.com>
18792
18793         * check/gst/gstbin.c: (GST_START_TEST):
18794         Enable check that works now.
18795
18796         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18797         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18798         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18799         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18800         (gst_bin_change_state):
18801         * gst/gstbin.h:
18802         Redid the state change algorithm using a topological sort algo.
18803         Handles all cases correctly.
18804         Exposed iterator for state change order.
18805
18806         * gst/gstelement.h:
18807         Temp storage for state changes. Need to get rid of this soon.
18808
18809 2005-09-27  Wim Taymans  <wim@fluendo.com>
18810
18811         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
18812         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
18813         (link_fold_func), (gst_pad_proxy_setcaps):
18814         Leak fixes, the fold functions need to unref the passed object and
18815         _get_parent_*() returns ref to parent.
18816
18817 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18818
18819         * check/gst/gstbuffer.c: (test_make_writable):
18820           Plug leak in test case and fix 'make check-valgrind'
18821
18822 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18823
18824         * gst/gstbuffer.c: (gst_subbuffer_init):
18825           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
18826           works correctly in all circumstances (we could have just copied
18827           the parent buffer's readonly flag, but conceptually it seems
18828           cleaner to mark all subbuffers as read-only). (based on patch
18829           by Alessandro Decina, #314710).
18830         
18831         * check/gst/gstbuffer.c: (create_read_only_buffer),
18832         (test_make_writable), (test_subbuffer_make_writable),
18833         (gst_test_suite):
18834           Add some tests for gst_buffer_make_writable().
18835
18836 2005-09-27  Wim Taymans  <wim@fluendo.com>
18837
18838         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
18839         use gst_object_has_ancestor().
18840
18841         * gst/gstobject.c: (gst_object_has_ancestor):
18842         * gst/gstobject.h:
18843         gst_object_has_ancestor() copied from gstbin.c as it is a
18844         useful function.
18845
18846         * tests/instantiate/create.c: (create_all_elements):
18847         * tests/lat.c: (handoff_src), (handoff_sink):
18848         * tests/sched/runxml.c: (main):
18849         * tests/seeking/seeking1.c: (main):
18850         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18851         (main):
18852         Fix compilation of some tests.
18853
18854 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18855
18856         * gst/gsterror.h:
18857           Remove comment. GST_TYPE_G_ERROR is here to stay,
18858           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
18859           (#316961, #300610).
18860
18861 2005-09-26  Wim Taymans  <wim@fluendo.com>
18862
18863         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18864         Added check that shows error in state change order.
18865
18866 2005-09-26  Wim Taymans  <wim@fluendo.com>
18867
18868         * gst/gstbin.c: (gst_bin_change_state):
18869         Make state change function use 3 queues again, we were
18870         adding elements in the wrong order.
18871
18872         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
18873         Some debug info,
18874
18875         * gst/gstpad.c: (gst_pad_dispose):
18876         Added some debug info first.
18877
18878 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
18879
18880         * docs/design/draft-push-pull.txt:
18881         * docs/design/part-events.txt:
18882         * docs/design/part-overview.txt:
18883         * docs/design/part-scheduling.txt:
18884           Replace all _pull_region() with _pull_range()
18885           
18886 2005-09-26  Andy Wingo  <wingo@pobox.com>
18887
18888         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
18889
18890         * check/gst-libs/controller.c: Update for controller api change.
18891
18892         * configure.ac: 
18893         * tests/Makefile.am:
18894         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
18895         over by GLib bug 118439.
18896         
18897         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
18898         routines to a function.
18899
18900         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
18901
18902         * libs/gst/controller/gsthelper.c:
18903         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
18904         (gst_object_sync_values): Renamed from sink_values. Ugh.
18905
18906         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
18907
18908         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
18909         Renamed from controller_key, as it is exported.
18910
18911         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
18912
18913 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
18914
18915         * gst/Makefile.am:
18916         * gst/gst.h:
18917         * gst/gstpad.h:
18918         * gst/gstpadtemplate.h:
18919         * gst/gstquery.c:
18920         * gst/gstquery.h:
18921         * gst/gstqueryutils.c:
18922         * gst/gstqueryutils.h:
18923           remove queryutils headers after moving the two used functions
18924           to gstquery.  also fixes build problem for gstsiddec
18925
18926 2005-09-26  Michael Smith <msmith@fluendo.com>
18927
18928         * tools/gst-launch.1.in:
18929         Correct documentation in manpage of debug syntax
18930
18931 2005-09-26  Wim Taymans  <wim@fluendo.com>
18932
18933         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
18934         (gst_base_src_is_seekable), (gst_base_src_change_state):
18935         Some more debugging info.
18936
18937 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18938
18939         * docs/gst/gstreamer-sections.txt:
18940         * gst/base/gstbasetransform.h:
18941         * gst/gstindex.h:
18942           added more docs
18943
18944 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18945
18946         * docs/gst/.cvsignore:
18947         * docs/gst/tmpl/.cvsignore:
18948         * docs/gst/tmpl/gstpipeline.sgml:
18949         * docs/gst/tmpl/gstplugin.sgml:
18950         * gst/gstpipeline.c:
18951         * gst/gstplugin.c:
18952         * gst/gstplugin.h:
18953           inlined the last two docs files
18954           removed the tmpl directory from cvs (no more conflicts here!)
18955
18956 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18957
18958         * docs/gst/gstreamer-sections.txt:
18959         * docs/gst/tmpl/.cvsignore:
18960         * docs/gst/tmpl/gstpad.sgml:
18961         * docs/gst/tmpl/gstpadtemplate.sgml:
18962         * gst/Makefile.am:
18963         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
18964         (gst_pad_finalize), (gst_pad_set_pad_template):
18965         * gst/gstpad.h:
18966         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
18967         (gst_pad_template_class_init), (gst_pad_template_init),
18968         (gst_pad_template_dispose), (name_is_valid),
18969         (gst_static_pad_template_get), (gst_pad_template_new),
18970         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
18971         (gst_pad_template_pad_created):
18972         * gst/gstpadtemplate.h:
18973           inlined two more docs
18974           factored gstpadtemplate out of gstpad
18975
18976 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
18977
18978         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18979         (test_children_state_change_order_semi_sink):
18980           Fix test case: we can't rely on a fixed state change order when
18981           going from READY => PAUSED because the sink might commit its 
18982           new state first when the first buffer created by the source 
18983           reaches the sink before the source has finished its change state.
18984           (Test case still fails at times, see #316856, comment 5 onwards)
18985
18986 2005-09-24  Wim Taymans  <wim@fluendo.com>
18987
18988         * docs/design/part-events.txt:
18989         * docs/design/part-gstbus.txt:
18990         * docs/design/part-gstpipeline.txt:
18991         * docs/design/part-messages.txt:
18992         * docs/design/part-overview.txt:
18993         * docs/design/part-segments.txt:
18994         * gst/gstbin.c:
18995         * gst/gstbuffer.c:
18996         * gst/gstclock.c:
18997         * gst/gstelement.c:
18998         * gst/gstevent.c:
18999         * gst/gstfilter.c:
19000         * gst/gstiterator.c:
19001         Various documentation updates.
19002
19003 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19004
19005         * gst/gstclock.h:
19006           Well, that's embarassing.  Luckily we weren't using
19007           GST_CLOCK_DIFF anywhere.
19008
19009 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19010
19011         * common/gtk-doc.mak:
19012           don't fail on building XML, FC4 slave shows a bunch of doc
19013           missing bits that I don't get
19014         * gst/gstpad.c:
19015         * gst/gstpipeline.c:
19016         * gst/gststructure.c:
19017           some doc updates
19018
19019 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
19020
19021         * docs/design/part-gstbin.txt:
19022         * docs/design/part-gstbus.txt:
19023         * gst/gstbus.c:
19024           Add blurb about how the bus goes into flushing mode and
19025           drops all messages when its bin goes from READY into NULL 
19026           state.
19027
19028 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19029
19030         * docs/gst/gstreamer-sections.txt:
19031         * gst/gststructure.c: (gst_structure_get_clock_time):
19032         * gst/gststructure.h:
19033           add a method to get a GstClockTime out of a structure
19034
19035 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
19036
19037         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19038         (test_children_state_change_order_semi_sink), (gst_bin_suite):
19039           Added test to check state change order in bins (can still be made
19040           to fail here under heavy disk load; bails out with 'Push on pad
19041           fakesink:sink0, but it was not activated in push mode').
19042
19043         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
19044           Fix state change order when there is only a semi sink (#316856)
19045
19046         * gst/gstbus.c: (gst_bus_class_init):
19047           Use _class_peek_parent(), not _class_ref(); fix docs to say
19048           'default main context' instead of 'mainloop' where that is
19049           what's meant.
19050
19051         * gst/gstelement.c: (gst_element_commit_state),
19052         (gst_element_set_state):
19053           Fix typos in debug messages
19054
19055 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19056
19057         * docs/README:
19058         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
19059         * gst/gstpluginfeature.c:
19060         * gst/gstutils.c:
19061           various doc updates
19062         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19063           change an assert into an error until it gets fixed properly
19064
19065 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
19066
19067         * docs/gst/gstreamer-sections.txt:
19068         * docs/gst/tmpl/.cvsignore:
19069         * docs/gst/tmpl/gstelement.sgml:
19070         * docs/gst/tmpl/gstinfo.sgml:
19071         * docs/gst/tmpl/gstobject.sgml:
19072         * gst/gstelement.c:
19073         * gst/gstelement.h:
19074         * gst/gstinfo.c:
19075         * gst/gstinfo.h:
19076         * gst/gstobject.c: (gst_object_class_init):
19077         * gst/gstobject.h:
19078           inlined 3 more biiiig doc files and added some missing docs on the fly
19079
19080 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19081
19082         * check/gst/.cvsignore:
19083         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
19084         * gst/gstregistryxml.c: (load_plugin),
19085         (gst_registry_xml_save_plugin):
19086           put back source in registry.  add checks for find_plugin.
19087         * testsuite/states/bin.c: (assert_state), (empty_bin),
19088         (test_adding_one_element), (main):
19089         * testsuite/states/locked.c: (main):
19090           some compile/run fixes
19091
19092 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
19093
19094         * check/gst/gstvalue.c: (GST_START_TEST):
19095           fix leaks in the test itself
19096
19097 2005-09-22  Wim Taymans  <wim@fluendo.com>
19098
19099         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19100         (gst_base_sink_send_event), (gst_base_sink_peer_query),
19101         (gst_base_sink_query):
19102         Prepare for more accurate position reporting and query
19103         handling.
19104
19105         * gst/gstelement.c: (gst_element_send_event),
19106         (gst_element_set_state):
19107         Add some comment.
19108
19109 2005-09-22  Wim Taymans  <wim@fluendo.com>
19110
19111         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
19112         (gst_query_parse_segment):
19113         * gst/gstquery.h:
19114         More documentation.
19115         Add segment query for future use.
19116
19117 2005-09-22  Wim Taymans  <wim@fluendo.com>
19118
19119         * gst/gstbin.c: (gst_bin_add_func):
19120         Some more debug info.
19121
19122         * gst/gstelement.c: (gst_element_send_event):
19123         Simplify send_event
19124
19125         * gst/gstelement.h:
19126         Don't know how flags got broken.
19127
19128         * gst/gstquery.h:
19129         Added new query.
19130
19131 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
19132
19133         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
19134           Add simplistic test suite for GST_TYPE_DATE serialisation and
19135           deserialisation.
19136
19137 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
19138
19139         * docs/gst/gstreamer-sections.txt:
19140         * gst/gststructure.c: (gst_structure_set_valist),
19141         (gst_structure_get_date):
19142         * gst/gststructure.h:
19143         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
19144         (gst_date_copy), (gst_value_compare_date),
19145         (gst_value_serialize_date), (gst_value_deserialize_date),
19146         (gst_value_transform_date_string),
19147         (gst_value_transform_string_date), (_gst_value_initialize):
19148         * gst/gstvalue.h:
19149           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
19150           bunch of utility functions along with a hack that checks that
19151           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
19152           is required. Part of the grand scheme in #170777.
19153
19154 2005-09-22  Andy Wingo  <wingo@pobox.com>
19155
19156         * gst/gstconfig.h.in: Psych out gtk-doc.
19157
19158         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
19159
19160         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
19161
19162         * tools/gst-inspect.c (print_element_list): Plug some
19163         inconsequential leaks.
19164
19165         * gst/gstregistry.c (gst_registry_get_default): Doc.
19166
19167         * check/gst/gstplugin.c: 
19168         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
19169         * gst/gstelementfactory.c (gst_element_factory_create): 
19170         * gst/gstindexfactory.c (gst_index_factory_create): Update for
19171         refcount changes.
19172
19173         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
19174         (gst_plugin_feature_load): Doc, don't eat refs.
19175
19176         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
19177         (gst_plugin_list_free): Doc.
19178         (gst_plugin_load_file): Doc updates.
19179
19180         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
19181         accessors returning refcounted objects, return a ref.
19182
19183         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
19184         accessor for caps. IDEMPOTENCE. Oh yes.
19185
19186 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
19187
19188         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19189
19190         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19191         (_gst_debug_register_funcptr):
19192           Add mutex to serialise access to the hash table with
19193           the function pointer => function name string mapping;
19194           make that hash table static scope (#316809).
19195
19196         * gst/registries/.cvsignore:
19197           Remove left-over file.
19198
19199 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19200
19201         * docs/pwg/appendix-porting.xml:
19202           And something about newsegment events and caps-on-buffers to
19203           the porting guide (feel free to improve).
19204
19205 2005-09-21  Andy Wingo  <wingo@pobox.com>
19206
19207         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
19208         data and event probes on the same pad.
19209         (test_buffer_probe_once): Test that removing probes from within
19210         the probe functions works.
19211
19212 2005-09-21  Andy Wingo  <wingo@pobox.com>
19213
19214         * check/gst/gstutils.c: New file.
19215         (test_buffer_probe_n_times): A simple buffer probe test. More to
19216         come, foolios.
19217
19218         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
19219         have-data::buffer, not have-data.
19220         (gst_pad_add_event_probe): Likewise for have-data::event.
19221         (gst_pad_add_data_probe): More docs. The part about 'resolving the
19222         peer' isn't quite right yet though.
19223         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
19224         (gst_pad_remove_data_probe): Change to take the guint handler_id
19225         as their arg, not the function+data, which is more glib-like.
19226
19227         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
19228         the signal emission to indicate if the data is a buffer or an
19229         event.
19230         (gst_pad_get_type): Initialize buffer and event quarks.
19231         (gst_pad_class_init): have-data is now a detailed signal, yes it
19232         is.
19233
19234 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19235
19236         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19237         * gst/gstutils.c: (gst_util_set_value_from_string),
19238         (gst_util_set_object_arg):
19239           Don't put functional code in g_return_if_fail() or
19240           g_return_val_if_fail() statements, otherwise things will 
19241           break when G_DISABLE_CHECKS is defined during compilation.
19242
19243 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19244
19245         * docs/gst/tmpl/.cvsignore:
19246         * docs/gst/tmpl/gstvalue.sgml:
19247         * gst/gstvalue.c:
19248         * gst/gstvalue.h:
19249           inlied another one and added  some obvious docs
19250
19251 2005-09-21  Wim Taymans  <wim@fluendo.com>
19252
19253         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19254         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
19255         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
19256         (gst_fdsrc_get_property), (gst_fdsrc_create):
19257         * gst/elements/gstfdsrc.h:
19258         Properly implement fdsrc. Removed signal and timeout,
19259         better implemented somewhere else.
19260
19261 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19262
19263         * docs/gst/tmpl/.cvsignore:
19264         * docs/gst/tmpl/gstimplementsinterface.sgml:
19265         * gst/gstinterface.c:
19266           inlined more docs
19267
19268 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19269
19270         * docs/gst/gstreamer-sections.txt:
19271         * docs/gst/tmpl/.cvsignore:
19272         * docs/gst/tmpl/gstenumtypes.sgml:
19273           remove obsolete doc file
19274
19275 2005-09-21  David Schleef  <ds@schleef.org>
19276
19277         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
19278         little beer, fix a little leak.
19279
19280 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19281
19282         * docs/gst/gstreamer-docs.sgml:
19283         * docs/gst/gstreamer-sections.txt:
19284         * docs/gst/tmpl/.cvsignore:
19285         * gst/Makefile.am:
19286         * gst/gst.h:
19287         * gst/gstbin.c:
19288         * gst/gstelement.h:
19289         * gst/gstindex.c: (gst_index_class_init):
19290         * gst/gstindex.h:
19291         * gst/gstindexfactory.c: (gst_index_factory_get_type),
19292         (gst_index_factory_class_init), (gst_index_factory_init),
19293         (gst_index_factory_finalize), (gst_index_factory_new),
19294         (gst_index_factory_destroy), (gst_index_factory_find),
19295         (gst_index_factory_create), (gst_index_factory_make):
19296         * gst/gstindexfactory.h:
19297         * gst/gstpluginfeature.c:
19298         * gst/gstpluginfeature.h:
19299         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19300           more docs inlined, splitted gstindex.{c,h}
19301
19302 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19303
19304         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19305           fix a leak
19306
19307 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19308
19309         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19310           Set sync to FALSE by default.
19311
19312 2005-09-20  Wim Taymans  <wim@fluendo.com>
19313
19314         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19315         (gst_base_sink_init):
19316         Make sync property settable from subclass.
19317
19318         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19319         (gst_fake_sink_change_state):
19320         Set sync to FALSE by default.
19321
19322 2005-09-20  Wim Taymans  <wim@fluendo.com>
19323
19324         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
19325         * tools/gst-launch.c: (main):
19326         The timeout handler should have lower priority than the source
19327         so we don't timeout before popping a message with 0 timeout.
19328         Dump error messages after failed state change.
19329
19330 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19331
19332         * tools/gst-inspect.c: (print_element_properties_info):
19333           Fix two typos.
19334
19335 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19336
19337         * check/gst/gstevent.c:
19338         * gst/elements/gstfakesink.c:
19339         * gst/elements/gstfakesink.h:
19340           remove the sync property from fakesink.
19341           has the side effect of setting sync TRUE
19342           for fakesink, which is a change.  Anyone who knows how
19343           to fix this nicely in a GObject-y way, feel free.
19344
19345 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19346
19347         * docs/gst/gstreamer-docs.sgml:
19348           remove probe refsection
19349
19350 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19351
19352         * check/Makefile.am:
19353           disable valgrinding the controller test again
19354         * docs/gst/gstreamer-sections.txt:
19355           update for api-changes
19356
19357 2005-09-20  Wim Taymans  <wim@fluendo.com>
19358
19359         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19360         (gst_base_sink_set_property), (gst_base_sink_get_property),
19361         (gst_base_sink_do_sync):
19362         * gst/base/gstbasesink.h:
19363         Added sync property to basesink to disable clock sync.
19364
19365 2005-09-20  Andy Wingo  <wingo@pobox.com>
19366
19367         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
19368         eating the caller's refcount.
19369
19370         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
19371         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
19372         refcount.
19373
19374         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
19375         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
19376         of GLib 2.8 public, so we can know which refcount to check in
19377         tests.
19378
19379         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
19380         (gst_object_init): Only set the gst refcount if we're going ahead
19381         with the refcount hack.
19382
19383 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19384
19385         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19386         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19387           more leaks plumbed, added more debug-logging
19388         * gst/gstmacros.h:
19389           whitespace fix
19390
19391 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19392
19393         * gst/gstmessage.c:
19394           remove include of gstmemchunk.h
19395
19396 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19397
19398         * gst/gstclock.c: (_gst_clock_id_free):
19399           Commit from the Political Party For More Atomic CVS Commits,
19400           so that people don't waste too much of their day fishing
19401           out obvious leaks out of massive commits.
19402           Oh, and fix a pretty damn obvious leak in the memchunk
19403           removal code.
19404
19405 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19406
19407         * check/Makefile.am:
19408         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19409           plug mem-leak, re-add to valgrindable tests
19410
19411 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19412
19413         * gst/gstplugin.h:
19414           unbreak the build for those who have chronic arthritis
19415           and typing "make check" is just too taxing on the hands
19416
19417 2005-09-20  Andy Wingo  <wingo@pobox.com>
19418
19419         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
19420         really want it out, you should fix plugins at the same time.
19421
19422 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
19423
19424         * configure.ac:
19425         * docs/gst/gstreamer-sections.txt:
19426         * gst/gstobject.c:
19427           added missing symbols to api docs
19428           disable ref-count hack if we have glib >= 2.8
19429
19430 2005-09-19  David Schleef  <ds@schleef.org>
19431
19432         * docs/gst/Makefile.am: Ignore a few more internal headers
19433         * docs/gst/gstreamer-docs.sgml: Remove old sections
19434         * docs/gst/gstreamer-sections.txt: Remove old sections
19435         * docs/gst/tmpl/gstobject.sgml: update
19436         * docs/gst/tmpl/gstplugin.sgml: update
19437         * docs/gst/tmpl/gstpluginfeature.sgml: update
19438         * docs/random/ds/0.9-suggested-changes: update.
19439         * gst/Makefile.am: remove memchunk and trashstack, since they're
19440           not used.
19441         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
19442         * gst/gst.h: don't include some headers
19443         * gst/gstchildproxy.c: add gstmarshal.h
19444         * gst/gstclock.c: Don't use memchunks
19445         * gst/gstminiobject.c: Add some docs
19446         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
19447         * gst/gstobject.h: same
19448         * gst/gstplugin.c: include gstmacros.h
19449         * gst/gstplugin.h: don't include gstmacros.h, since it's private
19450         * gst/gstquery.c: don't use memchunks
19451         * gst/gstregistry.c: rename gst_registry_deinit()
19452         * gst/gstregistry.h: same
19453
19454 2005-09-19  David Schleef  <ds@schleef.org>
19455
19456         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
19457         * docs/libs/gstreamer-libs-sections.txt:
19458         * docs/libs/tmpl/gstgetbits.sgml:
19459         * docs/libs/tmpl/gstputbits.sgml:
19460
19461 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
19462
19463         * win32/gstenumtypes.c:
19464         * win32/gstenumtypes.h:
19465           Update.
19466
19467 2005-09-19  Wim Taymans  <wim@fluendo.com>
19468
19469         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
19470         Automatically PAUSE and RESUME a pipeline when a flushing seek
19471         is performed.
19472
19473 2005-09-19  Andy Wingo  <wingo@pobox.com>
19474
19475         * gst/gstregistry.h: Spacing fixen.
19476
19477 2005-09-19  Wim Taymans  <wim@fluendo.com>
19478
19479         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
19480         Handle state change failure more correctly.
19481
19482 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19483
19484         * check/Makefile.am:
19485         * check/pipelines/cleanup.c: (run_pipeline):
19486         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19487         (GST_START_TEST):
19488           enable cleanup again after fixing the leak
19489         * docs/README:
19490           some more info on docs
19491
19492 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19493
19494         * check/Makefile.am:
19495           re-enable tests now that leaks are plugged
19496         * check/gst/gst.c:
19497         * check/gst/gstbin.c:
19498         * check/gst/gstpipeline.c:
19499           add some more tests while fixing leaks
19500         * common/check.mak:
19501           make sure binaries are uptodate when valgrinding/gdbing
19502         * gst/gst.c:
19503         * gst/gstelementfactory.c:
19504           remove a ref too many, and add a FIXME for when we get
19505           round to disposing of classes
19506         * gst/gstplugin.c:
19507           fix the refcounting when loading a plugin from a file and
19508           the code pretends that the pointer is the same even though
19509           of course it can change
19510         * gst/gstpluginfeature.c:
19511           unref plugins marked cached (a bit confusing as a name)
19512           as the docs state should be done
19513           various doc additions to explain refcounting
19514         * gst/gstregistry.c:
19515         * gst/gstregistryxml.c:
19516           debugging
19517
19518 2005-09-19  Wim Taymans  <wim@fluendo.com>
19519
19520         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19521         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19522         (send_messages), (GST_START_TEST), (gstbus_suite):
19523         * check/gst/gstpipeline.c: (GST_START_TEST):
19524         * check/pipelines/cleanup.c: (run_pipeline):
19525         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19526         (GST_START_TEST):
19527         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
19528         (gst_bus_source_check), (gst_bus_source_dispatch),
19529         (gst_bus_create_watch), (gst_bus_add_watch_full),
19530         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
19531         * gst/gstbus.h:
19532         * tools/gst-launch.c: (event_loop):
19533         * tools/gst-md5sum.c: (event_loop):
19534         GstBusHandler -> GstBusFunc, return value has the same meaning as
19535         any other GSource (FALSE == remove source).
19536         _add_watch() and _add_watch_full() now take a MessageType mask to
19537         only handle specific types of messages.
19538         _poll() returns the GstMessage instead of the message type to avoid
19539         race conditions.
19540         _have_pending() takes a MessageType mask now too.
19541         Added testsuite for multiple bus watches.
19542         Fix testsuites and applications for new bus API.
19543
19544 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19545
19546         * check/Makefile.am:
19547           mark a bunch of the tests as to fix until we fix them
19548
19549 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19550
19551         * common/check.mak:
19552           use GST_PLUGIN settings for valgrind tests as well, so we're
19553           valgrinding the correct thing
19554         * gst/gst.c: (init_post):
19555           plug another leak
19556
19557 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19558
19559         * gst/gst.c: (init_post), (gst_deinit):
19560         * gst/gstelementfactory.c: (gst_element_factory_class_init),
19561         (gst_element_factory_finalize), (gst_element_factory_cleanup):
19562         * gst/gstindex.c: (gst_index_factory_class_init),
19563         (gst_index_factory_finalize):
19564         * gst/gstobject.c: (gst_object_dispose):
19565         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
19566         (gst_plugin_load_file), (gst_plugin_desc_free):
19567         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
19568         (gst_plugin_feature_finalize):
19569         * gst/gstregistry.c: (gst_registry_class_init),
19570         (gst_registry_init), (gst_registry_finalize),
19571         (gst_registry_get_default), (gst_registry_deinit):
19572         * gst/gstregistry.h:
19573         * gst/gstregistryxml.c: (load_feature), (load_plugin):
19574           various cleanups and memleak plugging.  make valgrind is happy now.
19575
19576 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19577
19578         * common/check.mak:
19579           add a check-valgrind target
19580
19581 2005-09-18  David Schleef  <ds@schleef.org>
19582
19583         * tools/gst-inspect.c: Revert the GOption code.
19584
19585 2005-09-17  David Schleef  <ds@schleef.org>
19586
19587         * check/Makefile.am: Fix environment variables.
19588         * check/gst/gstplugin.c: Fix for API changes.
19589         * tools/gst-inspect.c: Fix for API changes.
19590         * tools/gst-xmlinspect.c: Fix for API changes.
19591         * gst/gstelementfactory.c:
19592         * gst/gstplugin.c:
19593         * gst/gstplugin.h:
19594         * gst/gstpluginfeature.c:
19595         * gst/gstpluginfeature.h:
19596         * gst/gstregistry.c:
19597         * gst/gstregistry.h:
19598         * gst/gstregistryxml.c:
19599         * gst/gsttypefind.c:
19600         * gst/gsttypefindfactory.c:
19601         * gst/indexers/gstfileindex.c:
19602         * gst/indexers/gstmemindex.c:
19603         * gst/schedulers/Makefile.am:
19604           Change registry to keep track of both plugins and features,
19605           removing the feature tracking from plugins themselves.
19606
19607 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19608
19609         * check/Makefile.am:
19610         * tools/gst-register.1.in:
19611           remove gst-register
19612
19613 2005-09-15  David Schleef  <ds@schleef.org>
19614
19615         * check/gst/gstplugin.c:
19616         * gst/gstelementfactory.c:
19617         * gst/gstplugin.c:
19618         * gst/gstpluginfeature.c:
19619         * gst/gstregistry.c:
19620           Getting tired of debugging.  Disabled all the unreffing of
19621           plugins and features, which fixes the segfaults, but of
19622           course leaks like crazy.  At least playbin works.
19623
19624 2005-09-15  David Schleef  <ds@schleef.org>
19625
19626         * check/gst/gstplugin.c: (register_check_elements),
19627         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
19628         More testing
19629         * gst/elements/gsttypefindelement.c: Fix refcounting.
19630         * gst/gsttypefind.c:
19631         * gst/gsttypefindfactory.c:
19632         * gst/gsttypefindfactory.h:
19633
19634 2005-09-15  David Schleef  <ds@schleef.org>
19635
19636         * gst/gstindex.c: get refcounting correct.
19637         * gst/gstregistry.c: Handle the case where a feature/plugin is
19638           not found.
19639
19640 2005-09-15  David Schleef  <ds@schleef.org>
19641
19642         * check/Makefile.am:
19643         * check/gst/gstplugin.c: Add test
19644         * gst/gstplugin.c: Fix problems noticed by testsuite
19645         * gst/gstplugin.h:
19646         * gst/gstregistry.c: 
19647         * gst/gstregistry.h:
19648
19649 2005-09-15  David Schleef  <ds@schleef.org>
19650
19651         * gst/gstplugin.c: Implement semi-decent recounting and locking
19652           in plugins and plugin features.
19653         * gst/gstplugin.h:
19654         * gst/gstpluginfeature.c:
19655         * gst/gstpluginfeature.h:
19656         * gst/gstregistry.c:
19657
19658 2005-09-15  Michael Smith <msmith@fluendo.com>
19659
19660         * gst/gstregistry.c: (gst_registry_get_feature_list):
19661           Implement this. Makes oggdemux work; decodebin still broken.
19662
19663 2005-09-14  David Schleef  <ds@schleef.org>
19664
19665         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
19666           #316076)
19667         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
19668         * gst/check/Makefile.am:
19669         * libs/gst/controller/Makefile.am:
19670         * libs/gst/dataprotocol/Makefile.am:
19671
19672 2005-09-14  David Schleef  <ds@schleef.org>
19673
19674         * configure.ac: Remove getbits library.  Nothing uses it, and
19675           it should be in something like liboil if someone did want
19676           to use it.
19677         * libs/gst/Makefile.am:
19678         * libs/gst/getbits/Makefile.am:
19679         * libs/gst/getbits/gbtest.c:
19680         * libs/gst/getbits/getbits.c:
19681         * libs/gst/getbits/getbits.h:
19682         * libs/gst/getbits/gstgetbits_generic.c:
19683         * libs/gst/getbits/gstgetbits_i386.s:
19684         * libs/gst/getbits/gstgetbits_inl.h:
19685
19686 2005-09-14  David Schleef  <ds@schleef.org>
19687
19688         * gst/Makefile.am: Dist glib-compat.h
19689
19690 2005-09-14  David Schleef  <ds@schleef.org>
19691
19692         * configure.ac: Remove gst/registries, since it's no longer used.
19693         * gst/registries/Makefile.am:
19694         * gst/registries/gstlibxmlregistry.c:
19695         * gst/registries/gstlibxmlregistry.h:
19696         * gst/registries/gstxmlregistry.c:
19697         * gst/registries/gstxmlregistry.h:
19698         * gst/registries/registrytest.c:
19699
19700 2005-09-14  David Schleef  <ds@schleef.org>
19701
19702         * gst/glib-compat.h:
19703         * gst/gstregistryxml.c:
19704           Convergence is near.  Seriously.
19705
19706 2005-09-14  David Schleef  <ds@schleef.org>
19707
19708         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19709         * gst/glib-compat.h:
19710           Attempt #4 to appease the buildbots.
19711
19712 2005-09-14  David Schleef  <ds@schleef.org>
19713
19714         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19715           Attempt #3.
19716
19717 2005-09-14  David Schleef  <ds@schleef.org>
19718
19719         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19720         Attempt #2.
19721
19722 2005-09-14  David Schleef  <ds@schleef.org>
19723
19724         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
19725           the new functions.
19726
19727 2005-09-14  David Schleef  <ds@schleef.org>
19728
19729         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19730         * gst/glib-compat.h: Add some functions that are in newer versions
19731           of glib than we care to require.
19732         * gst/gstregistryxml.c: Use them.
19733
19734 2005-09-14  David Schleef  <ds@schleef.org>
19735
19736         * po/POTFILES.in: remove gst-register.c
19737
19738 2005-09-14  David Schleef  <ds@schleef.org>
19739
19740         * docs/gst/gstreamer-docs.sgml:
19741         * docs/gst/gstreamer-sections.txt:
19742         * docs/gst/gstreamer.types:
19743         * docs/gst/tmpl/gstelement.sgml:
19744         * docs/gst/tmpl/gstplugin.sgml:
19745         * docs/gst/tmpl/gstpluginfeature.sgml:
19746           Documentation updates for registry changes.
19747
19748 2005-09-14  David Schleef  <ds@schleef.org>
19749
19750         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
19751           because we don't require glib-2.8.
19752
19753 2005-09-14  David Schleef  <ds@schleef.org>
19754
19755         * gst/gstregistryxml.c: Added.  Essentially moved out of the
19756           registries directory.
19757
19758 2005-09-14  David Schleef  <ds@schleef.org>
19759
19760         * check/Makefile.am:
19761         * check/generic/states.c:
19762         * gst/Makefile.am:
19763         * gst/gst.c:
19764         * gst/gst.h:
19765         * gst/gst_private.h:
19766         * gst/gstelementfactory.c:
19767         * gst/gstindex.c:
19768         * gst/gstinfo.c:
19769         * gst/gstplugin.c:
19770         * gst/gstplugin.h:
19771         * gst/gstpluginfeature.c:
19772         * gst/gstpluginfeature.h:
19773         * gst/gstregistry.c:
19774         * gst/gstregistry.h:
19775         * gst/gstregistrypool.c: remove
19776         * gst/gstregistrypool.h: remove
19777         * gst/gsttypefind.c:
19778         * gst/gsttypefindfactory.c:
19779         * gst/gsturi.c:
19780         * tools/Makefile.am:
19781         * tools/gst-compprep.c:
19782         * tools/gst-inspect.c:
19783         * tools/gst-register.c: remove
19784         * tools/gst-xmlinspect.c:
19785           Registry rewrite.  Changes registry from being a file created
19786           by a tool into a simple cache file created automatically by 
19787           libgstreamer.  Removed gst-register (because it's no longer
19788           needed).  Remove registry pools, because we only have one
19789           registry implementation (XML).  Fix up other subsystems as
19790           necessary.
19791
19792 2005-09-13  Michael Smith <msmith@fluendo.com>
19793
19794         * gst/gstconfig.h.in:
19795           Don't Use windows linking attributes for MinGW. Fixes #316157
19796
19797 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19798
19799         * gst/gstutils.c: (set_state_async_thread_func),
19800         (gst_element_set_state_async):
19801           Apparently people think it's better if this function doesn't
19802           try to set the state to whatever state was asked for on the first
19803           call to this function for any object.  Seriously.
19804
19805 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19806
19807         * check/gst/gstpipeline.c: (GST_START_TEST):
19808         * docs/gst/gstreamer-sections.txt:
19809         * gst/gstutils.c: (set_state_async_thread_func),
19810         (gst_element_set_state_async):
19811         * gst/gstutils.h:
19812           add a "gst_element_set_state_async" method that
19813           sets the state and starts a thread to make sure the state
19814           change completes as best as it can
19815
19816 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19817
19818         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19819           codify design+behaviour in testsuite after discussion
19820
19821 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19822
19823         * docs/gst/tmpl/gstelement.sgml:
19824         * docs/manual/appendix-quotes.xml:
19825           add a quote
19826         * gst/gstelement.c: (gst_element_set_state):
19827           add some debug
19828
19829 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
19830
19831         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19832         (gst_base_transform_prepare_output_buf),
19833         (gst_base_transform_handle_buffer):
19834         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
19835         (gst_capsfilter_prepare_buf):
19836           Remove the requirement for sub-classes to call the parent
19837           implementation of prepare_output_buffer with a wrapper function.
19838           
19839         * gst/gsttaglist.h:
19840         * gst/gsttagsetter.h:
19841           Fix #define wrapper
19842
19843 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
19844
19845         * docs/gst/gstreamer-sections.txt:
19846           more doc cleanups
19847
19848 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19849
19850         * docs/gst/gstreamer-sections.txt:
19851         * docs/gst/tmpl/gstelement.sgml:
19852         * docs/gst/tmpl/gstplugin.sgml:
19853         * gst/gstminiobject.c:
19854         * gst/gstvalue.h:
19855           docs now stop throwing warnings
19856
19857 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19858
19859         * docs/gst/gstreamer-sections.txt:
19860         * docs/gst/gstreamer.types:
19861         * docs/gst/tmpl/gstpad.sgml:
19862         * docs/gst/tmpl/gsttypes.sgml:
19863         * gst/base/gstadapter.h:
19864         * gst/base/gstbasesink.h:
19865         * gst/base/gstbasesrc.h:
19866         * gst/gstbin.h:
19867         * gst/gstbuffer.h:
19868         * gst/gstbus.h:
19869         * gst/gstcaps.h:
19870         * gst/gstclock.h:
19871         * gst/gstelement.h:
19872         * gst/gstevent.h:
19873         * gst/gstmessage.h:
19874         * gst/gstpad.h:
19875         * gst/gststructure.c:
19876         * gst/registries/gstlibxmlregistry.h:
19877           various documentation fixes
19878
19879 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19880
19881         * docs/gst/gstreamer-sections.txt:
19882         * docs/gst/tmpl/gstvalue.sgml:
19883           rearrange gstvalue section
19884         * gst/gstutils.c: (gst_element_state_get_name):
19885           NONE -> VOID
19886         * gst/gstvalue.c: (_gst_value_initialize):
19887         * gst/gstvalue.h:
19888           doc updates
19889
19890 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
19891
19892         * check/gst-libs/controller.c:
19893           Header include fix.
19894         * gst/base/gstbasetransform.c:
19895         (gst_base_transform_default_prepare_buf),
19896         (gst_base_transform_handle_buffer):
19897         * gst/base/gstbasetransform.h:
19898           Some more basetransform changes and fixes to enable sub-classes
19899           that modify buffer metadata only.
19900         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
19901         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
19902         (gst_capsfilter_prepare_buf):
19903           If the output pad has fixed allowed caps and input buffers 
19904           don't have any, set the fixed caps on outgoing buffers.
19905
19906 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
19907         * check/elements/identity.c: (GST_START_TEST):
19908           Make the error a little clearer when the test fails because
19909           identity made a copy of the buffer.
19910         * docs/gst/gstreamer-sections.txt:
19911           New symbols in gstbasetransform.h
19912         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19913         (gst_base_transform_init), (gst_base_transform_transform_size),
19914         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19915         (gst_base_transform_default_prepare_buf),
19916         (gst_base_transform_get_unit_size),
19917         (gst_base_transform_buffer_alloc),
19918         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
19919         (gst_base_transform_change_state),
19920         (gst_base_transform_set_passthrough),
19921         (gst_base_transform_set_in_place),
19922         (gst_base_transform_is_in_place):
19923         * gst/base/gstbasetransform.h:
19924           Change BaseTransform to separate in_place operate from same_caps
19925           output. in_place implies that the element can perform the transform
19926           on incoming buffers in-place, even if the caps on the output are
19927           different.
19928           Sub-class elements can now implement special buffer allocation
19929           methods for outgoing buffers if they wish to.
19930           Big documentation addition.
19931         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
19932         * gst/elements/gstelements.c:
19933           Changes for basetransform modifications.
19934         * gst/elements/Makefile.am:
19935         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
19936           Compile fix. Extra debug output.
19937
19938 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19939
19940         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
19941         (gst_pad_suite):
19942           add tests for valid pad naming
19943         * gst/check/gstcheck.c: (gst_check_log_message_func),
19944         (gst_check_log_critical_func):
19945           add ASSERT_WARNING
19946           remove printing of code, it is fragile when the code contains
19947           % and the line number is enough info
19948         * gst/check/gstcheck.h:
19949         * gst/gstpad.c: (gst_pad_template_new):
19950           fix memleaks
19951
19952 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19953
19954         * configure.ac:
19955           say what CHECK flags we use
19956         * docs/libs/gstreamer-libs.types:
19957         * libs/gst/controller/Makefile.am:
19958         * libs/gst/controller/gst-controller.c:
19959         * libs/gst/controller/gst-controller.h:
19960         * libs/gst/controller/gst-helper.c:
19961         * libs/gst/controller/gst-interpolation.c:
19962         * libs/gst/controller/gstcontroller.c:
19963         * libs/gst/controller/gsthelper.c:
19964         * libs/gst/controller/gstinterpolation.c:
19965         * tools/gst-inspect.c: (print_plugin_info):
19966           we don't use dashes in header names
19967
19968 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19969
19970         * check/Makefile.am:
19971         * check/gst/.cvsignore:
19972         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
19973         (gst_pipeline_suite), (main):
19974           adding a test for pipelines and state changes
19975         * gst/gstutils.c: (get_state_func):
19976           add some debugging
19977         * gstreamer.spec.in:
19978           fix up spec file
19979
19980 2005-09-08  Michael Smith <msmith@fluendo.com>
19981
19982         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
19983         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
19984         (gst_file_src_is_seekable), (gst_file_src_get_size),
19985         (gst_file_src_start):
19986         * gst/elements/gstfilesrc.h:
19987           Various fixes for unseekable, unmmapable, and non-normal files, so
19988           that fallback to read() rather than mmap() works.
19989         * gst/gstevent.c: (gst_event_new_newsegment):
19990           Allow newsegment events with segment_start == segment_end, as will
19991           correctly happen if you use filesrc on a zero-size file, for
19992           example.
19993
19994 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
19995
19996         * gst/gstplugin.c: (gst_plugin_load_file):
19997           Call g_module_close when we don't load the module
19998
19999         * gst/registries/gstlibxmlregistry.c:
20000         (gst_xml_registry_get_property):
20001           Port leak fix from 0.8
20002
20003 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20004
20005         * docs/gst/gstreamer-docs.sgml:
20006         * docs/gst/tmpl/.cvsignore:
20007         * docs/gst/tmpl/gsttrace.sgml:
20008         * docs/gst/tmpl/gsttrashstack.sgml:
20009         * gst/Makefile.am:
20010         * gst/gst.h:
20011         * gst/gstelement.h:
20012         * gst/gstevent.h:
20013         * gst/gstmessage.c:
20014         * gst/gstmessage.h:
20015         * gst/gsttag.c:
20016         * gst/gsttag.h:
20017         * gst/gsttaginterface.c:
20018         * gst/gsttaginterface.h:
20019         * gst/gsttaglist.c:
20020         * gst/gsttaglist.h:
20021         * gst/gsttagsetter.c:
20022         * gst/gsttagsetter.h:
20023         * gst/gsttrace.c:
20024         * gst/gsttrace.h:
20025         * gst/gsttrashstack.c:
20026           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
20027           inlined docs for gsttrace, gsttrashstack
20028
20029 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20030
20031         * gst/Makefile.am:
20032         * gst/elements/gstbufferstore.h:
20033         * gst/elements/gsttypefindelement.c:
20034         * gst/elements/gsttypefindelement.h:
20035         * gst/gst.h:
20036         * gst/gsttypefind.c:
20037         * gst/gsttypefind.h:
20038         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
20039         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
20040         (gst_type_find_factory_dispose),
20041         (gst_type_find_factory_unload_thyself),
20042         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
20043         (gst_type_find_factory_get_caps),
20044         (gst_type_find_factory_get_extensions),
20045         (gst_type_find_factory_call_function):
20046         * gst/gsttypefindfactory.h:
20047         * gst/registries/gstlibxmlregistry.c:
20048         * gst/registries/gstxmlregistry.c:
20049           splitted gsttypefind into gsttypefind, gsttypefindfactory
20050
20051 2005-09-07  Andy Wingo  <wingo@pobox.com>
20052
20053         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
20054         condition whereby the pad's task function is entered before the
20055         pad_mode variable was set.
20056
20057 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
20058
20059         * gst/gstpad.c: (gst_pad_alloc_buffer):
20060           Catch misbehaving pad_alloc functions that don't
20061           set up caps and do it for them.
20062
20063 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20064
20065         * check/pipelines/simple_launch_lines.c: (run_pipeline):
20066           test for pipe!=NULL
20067         * docs/gst/tmpl/.cvsignore:
20068         * docs/gst/tmpl/gstmemchunk.sgml:
20069         * docs/gst/tmpl/gstparse.sgml:
20070         * docs/gst/tmpl/gsttaglist.sgml:
20071         * docs/gst/tmpl/gsttagsetter.sgml:
20072         * docs/gst/tmpl/gsttypefind.sgml:
20073         * docs/gst/tmpl/gsttypefindfactory.sgml:
20074         * gst/gstmemchunk.c:
20075         * gst/gstparse.c:
20076         * gst/gsttag.c:
20077         * gst/gsttaginterface.c:
20078         * gst/gsttypefind.c:
20079         * gst/gsttypefind.h:
20080           inlined more docs
20081
20082 === release 0.9.2 ===
20083
20084 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20085
20086         * NEWS:
20087         * RELEASE:
20088         * configure.ac:
20089           releasing 0.9.2, "South"
20090
20091 2005-09-05  Andy Wingo  <wingo@pobox.com>
20092
20093         * gst/registries/gstxmlregistry.h:
20094         * gst/registries/gstxmlregistry.c: Um... resurrect...
20095         
20096         * gst/registries/gstxmlregistry.h:
20097         * gst/registries/gstxmlregistry.c: and update to newer API.
20098         Incidentally they should be a bit faster now that they don't have
20099         to parse the caps.
20100         
20101 2005-09-05  Andy Wingo  <wingo@pobox.com>
20102
20103         * gst/registries/gstxmlregistry.h:
20104         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
20105         replaced by the libxml registry a while back
20106
20107 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20108
20109         * docs/gst/tmpl/gstplugin.sgml:
20110         * gst/elements/gstelements.c:
20111         * gst/gst.c:
20112         * gst/gstplugin.c: (gst_plugin_register_func),
20113         (gst_plugin_desc_copy), (gst_plugin_desc_free),
20114         (gst_plugin_get_source):
20115         * gst/gstplugin.h:
20116         * gst/registries/gstlibxmlregistry.c: (load_plugin),
20117         (gst_xml_registry_save_plugin):
20118         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
20119         (gst_xml_registry_save_plugin):
20120         * tools/gst-inspect.c: (print_plugin_info):
20121           add a "source" plugin description field, to represent the source
20122           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
20123           will set it to PACKAGE, which is automake's idea of the name of
20124           the source project.
20125
20126 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20127
20128         * Makefile.am:
20129         * autogen.sh:
20130         * configure.ac:
20131         * docs/Makefile.am:
20132         * docs/faq/Makefile.am:
20133         * docs/gst/tmpl/gstelement.sgml:
20134         * docs/gst/tmpl/gsttypes.sgml:
20135         * docs/htmlinstall.mak:
20136         * docs/manual/Makefile.am:
20137         * docs/pwg/Makefile.am:
20138           reorganize doc build a little
20139           split out docbook and gtk-doc stuff
20140           have two separate --enable's and enable them through autogen
20141           but disable by default in configure (to be similar to other
20142           projects)
20143         * gstreamer.spec.in:
20144           clean up docs install
20145         * po/af.po:
20146         * po/az.po:
20147         * po/ca.po:
20148         * po/cs.po:
20149         * po/de.po:
20150         * po/en_GB.po:
20151         * po/fr.po:
20152         * po/it.po:
20153         * po/nb.po:
20154         * po/nl.po:
20155         * po/ru.po:
20156         * po/sq.po:
20157         * po/sr.po:
20158         * po/sv.po:
20159         * po/tr.po:
20160         * po/uk.po:
20161         * po/vi.po:
20162           translation updates
20163
20164 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
20165
20166         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
20167           Add comment.
20168           
20169         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20170         (gst_fake_sink_change_state):
20171           Make state change function thread-safe.
20172           
20173         * gst/gstpad.c: (gst_pad_alloc_buffer):
20174           Set offset on generic buffer allocated by fallback.
20175
20176 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
20177
20178         * docs/gst/gstreamer-sections.txt:
20179         * docs/gst/tmpl/gstelement.sgml:
20180         * gst/gstpad.c:
20181         * libs/gst/controller/gst-controller.c:
20182         (gst_controlled_property_set_interpolation_mode),
20183         (gst_controlled_property_new),
20184         (gst_controller_find_controlled_property):
20185          run the wingo-magic script against the docs
20186
20187 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20188
20189         * docs/gst/gstreamer-docs.sgml:
20190         * docs/gst/gstreamer-sections.txt:
20191         * docs/gst/tmpl/.cvsignore:
20192         * docs/gst/tmpl/gstelementdetails.sgml:
20193         * docs/gst/tmpl/gstelementfactory.sgml:
20194         * gst/gst.c:
20195         * gst/gstbus.c:
20196         * gst/gstelementfactory.c:
20197         * gst/gstelementfactory.h:
20198           merged elementdetails docs into elementfactory docs
20199           inlined both
20200
20201 2005-09-02  Andy Wingo  <wingo@pobox.com>
20202
20203         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
20204         consider this enum an enum and not a flags.
20205
20206 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20207
20208         * docs/gst/gstreamer-docs.sgml:
20209         * docs/gst/tmpl/.cvsignore:
20210         * docs/gst/tmpl/gstghostpad.sgml:
20211         * docs/gst/tmpl/gstiterator.sgml:
20212         * docs/gst/tmpl/gstmacros.sgml:
20213         * docs/gst/tmpl/gstrealpad.sgml:
20214         * docs/gst/tmpl/gstregistry.sgml:
20215         * docs/gst/tmpl/gstregistrypool.sgml:
20216         * docs/gst/tmpl/gststructure.sgml:
20217         * docs/gst/tmpl/gstsystemclock.sgml:
20218         * docs/gst/tmpl/gsttrace.sgml:
20219         * gst/gstghostpad.c:
20220         * gst/gstmacros.h:
20221         * gst/gstmemchunk.c:
20222         * gst/gstmemchunk.h:
20223         * gst/gstqueue.c:
20224         * gst/gstregistry.c:
20225         * gst/gstregistrypool.c:
20226         * gst/gststructure.c:
20227         * gst/gstsystemclock.c:
20228           more docs inlined
20229
20230 2005-09-02  Andy Wingo  <wingo@pobox.com>
20231
20232         * gst/gstelement.h (GstState): Renamed from GstElementState,
20233         changed to be a normal enum instead of flags.
20234         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
20235         munged to be GST_STATE_CHANGE_*.
20236         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
20237         work with the new state representation.
20238         (GstStateChange): New enumeration of possible state transitions.
20239         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
20240         (GstElementClass::change_state): Pass the GstStateChange along as
20241         an argument. Helps language bindings, so they don't have to use
20242         tricky lock-needing macros like GST_STATE_CHANGE ().
20243
20244         * scripts/update-states (file): New script. Run it on a file to
20245         update it for state naming and API changes. Updates files in
20246         place.
20247
20248         * All files updated for the new API.
20249
20250 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20251
20252         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
20253         * gst/gstutils.c: (gst_util_set_value_from_string),
20254         (gst_util_set_object_arg):
20255           fix a bunch of unchecked return values
20256         * tools/gst-complete.c: (main):
20257         * gstreamer.spec.in:
20258           clean up a little
20259
20260 2005-09-01  Wim Taymans  <wim@fluendo.com>
20261
20262         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20263         (gst_base_sink_event), (gst_base_sink_do_sync),
20264         (gst_base_sink_handle_event):
20265         * gst/base/gstbasesink.h:
20266         Handle newsegments more correctly.
20267
20268         * gst/gstbus.c:
20269         Fix docs.
20270
20271         * gst/gstevent.c: (gst_event_new_newsegment):
20272         A newsegment cannot have a start_time of -1
20273
20274 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
20275
20276         * win32/gstenumtypes.c:
20277         * win32/gstenumtypes.h:
20278           Update
20279
20280 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20281
20282         * libs/gst/controller/gst-controller.c:
20283         (gst_controlled_property_set_interpolation_mode),
20284         (gst_controlled_property_new):
20285          fixed boolean again
20286
20287 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
20288
20289         * docs/faq/gst-uninstalled:
20290           add -good
20291         * gst/gstevent.c:
20292         * gst/gstevent.h:
20293           remove wrong docs
20294         * gst/gstutils.c: (gst_element_link_filtered):
20295         * gst/gstutils.h:
20296           add gst_element_link_filtered
20297
20298 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20299
20300         * docs/gst/gstreamer-docs.sgml:
20301         * docs/gst/gstreamer-sections.txt:
20302         * docs/gst/tmpl/.cvsignore:
20303         * docs/gst/tmpl/gsterror.sgml:
20304         * docs/gst/tmpl/gstfilter.sgml:
20305         * docs/gst/tmpl/gsturihandler.sgml:
20306         * docs/gst/tmpl/gsturitype.sgml:
20307         * docs/gst/tmpl/gstutils.sgml:
20308         * docs/gst/tmpl/gstxml.sgml:
20309         * gst/gsterror.c:
20310         * gst/gsterror.h:
20311         * gst/gstfilter.c:
20312         * gst/gsturi.c:
20313         * gst/gsturitype.c:
20314         * gst/gstutils.c:
20315         * gst/gstxml.c:
20316           inlined more docs, fixed double id-ref
20317
20318 2005-08-31  Wim Taymans  <wim@fluendo.com>
20319
20320         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20321         (gst_base_transform_handle_buffer):
20322         Passthrough elements don't need the caps as they don't care.
20323
20324 2005-08-31  Wim Taymans  <wim@fluendo.com>
20325
20326         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20327         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
20328         Don't leak refcounts on buffers.
20329
20330 2005-08-31  Wim Taymans  <wim@fluendo.com>
20331
20332         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
20333         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20334         (gst_base_transform_chain), (gst_base_transform_change_state):
20335         * gst/base/gstbasetransform.h:
20336         Handle the case where we are not negotiated more gracefully.
20337
20338 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
20339
20340         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
20341         (gst_file_src_map_region):
20342           Set READONLY flag on mmap'ed buffers, otherwise
20343           gst_buffer_make_writable() won't work properly (#314708).
20344
20345 2005-08-31  Wim Taymans  <wim@fluendo.com>
20346
20347         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
20348         passthrough elements can even do inplace on non writable
20349         buffers (as they don't touch them).
20350
20351 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20352
20353         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20354         (gst_test_mono_source_set_property),
20355         (gst_test_mono_source_class_init), (GST_START_TEST),
20356         (gst_controller_suite):
20357           more tests (hehe I have the most)
20358         * gst/gstbus.c:
20359           describe popping messages whenusing mulltiple sources
20360         * libs/gst/controller/gst-controller.c:
20361         (gst_controlled_property_set_interpolation_mode),
20362         (gst_controlled_property_new):
20363         * libs/gst/controller/gst-controller.h:
20364         * libs/gst/controller/gst-interpolation.c:
20365           implement boolean properties
20366
20367 2005-08-31  Wim Taymans  <wim@fluendo.com>
20368
20369         * gst/gstminiobject.c: (gst_mini_object_ref):
20370         Cannot assert that the refcount has to be positive
20371         since a disposed object can be resurrected.
20372
20373 2005-08-31  Wim Taymans  <wim@fluendo.com>
20374
20375         * gst/gstpad.c: (gst_pad_init):
20376         Revert change, need to first fix badly behaving 
20377         apps.
20378
20379 2005-08-30  Wim Taymans  <wim@fluendo.com>
20380
20381         * check/elements/fakesrc.c: (setup_fakesrc):
20382         * check/elements/identity.c: (setup_identity):
20383         Activate pads before using them.
20384
20385 2005-08-30  Wim Taymans  <wim@fluendo.com>
20386
20387         * gst/base/gstadapter.c: (gst_adapter_flush):
20388         Flushing out 0 bytes is ok for this function.
20389
20390         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20391         no newsegment gives a warning and sets the start/stop to 
20392         invalid.
20393
20394         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
20395         (gst_base_transform_set_passthrough):
20396         Some debug info.
20397
20398         * gst/gstminiobject.c: (gst_mini_object_ref):
20399         Check refcount here too.
20400
20401         * gst/gstpad.c: (gst_pad_init):
20402         Pads are initially flushing and refusing data.
20403
20404         * gst/gstutils.c: (gst_element_link_pads_filtered):
20405         When adding a capsfilter element make sure it has the
20406         same state as the parent bin.
20407
20408 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20409
20410         * docs/gst/tmpl/.cvsignore:
20411         * docs/gst/tmpl/gstformat.sgml:
20412         * docs/gst/tmpl/gstversion.sgml:
20413         * gst/gstbus.h:
20414         * gst/gstformat.c:
20415         * gst/gstformat.h:
20416         * gst/gstversion.h.in:
20417           more docs and two more inlined
20418
20419 2005-08-30  Wim Taymans  <wim@fluendo.com>
20420
20421         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
20422         Don't sync to clock.
20423
20424 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20425
20426         * docs/gst/gstreamer-sections.txt:
20427           ultral33t func10ns deserve to appear in the docs actually
20428         * docs/gst/tmpl/.cvsignore:
20429         * docs/gst/tmpl/gstcompat.sgml:
20430         * docs/gst/tmpl/gstconfig.sgml:
20431         * gst/check/gstcheck.c:
20432         * gst/gstcompat.h:
20433         * gst/gstconfig.h.in:
20434           inlined more docs
20435
20436 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20437
20438         * docs/gst/tmpl/.cvsignore:
20439         * docs/gst/tmpl/gstquery.sgml:
20440         * docs/gst/tmpl/gstutils.sgml:
20441         * gst/gstquery.c:
20442         * gst/gstquery.h:
20443           inlined and extended docs
20444
20445 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20446
20447         * check/gst-libs/controller.c: (GST_START_TEST),
20448         (gst_controller_suite):
20449           more tests
20450         * docs/gst/tmpl/gstutils.sgml:
20451         * docs/libs/gstreamer-libs-sections.txt:
20452         * docs/libs/tmpl/gstdataprotocol.sgml:
20453           include path fixes
20454         * examples/controller/audio-example.c: (main):
20455           controller example works now
20456         * gst/gstclock.h:
20457           doc fixes
20458         * tools/gst-inspect.c: (print_element_properties_info):
20459           show param spec flags
20460
20461 2005-08-29  Andy Wingo  <wingo@pobox.com>
20462
20463         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
20464
20465 2005-08-28  Andy Wingo  <wingo@pobox.com>
20466
20467         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
20468         as having two arguments instead of just one. Allows superclasses
20469         to access information on subclasses -- see the terrible for() loop
20470         in gtype.c:g_type_create_instance for the reason why. All callers
20471         changed.
20472
20473 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20474
20475         * docs/design/part-messages.txt:
20476           update info
20477         * docs/gst/tmpl/.cvsignore:
20478         * docs/gst/tmpl/gstcaps.sgml:
20479         * docs/gst/tmpl/gstclock.sgml:
20480         * gst/gstbus.c:
20481         * gst/gstcaps.c:
20482         * gst/gstcaps.h:
20483         * gst/gstclock.c:
20484         * gst/gstclock.h:
20485         * gst/gstmessage.c:
20486           added descriptions for bus and message
20487           inline caps and clock docs
20488
20489 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20490
20491         * gst/gstmessage.c:
20492         * gst/gstmessage.h:
20493           doc fixes
20494
20495 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20496
20497         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20498           fix div-by-zero
20499
20500 2005-08-26  Andy Wingo  <wingo@pobox.com>
20501
20502         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
20503         element_set_state's return val.
20504         (test_2_elements): Add test that's been disabled for months.
20505
20506         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
20507         can-activate-pull properties.
20508
20509         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
20510         can-activate-pull properties. Implement is_seekable so fakesrc can
20511         operate in pull mode.
20512
20513         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
20514         properties.
20515         (gst_base_sink_activate, gst_base_sink_activate_pull)
20516         (gst_base_sink_activate_push): Make activation mode choosing work.
20517         Cleanups.
20518         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
20519         is right. Make pull mode work. Post an eos before pausing in pull
20520         mode.
20521         (gst_base_sink_change_state): Pay attention to the core's
20522         change_state() return val.
20523         
20524         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
20525         has-getrange properties. Cleanups.
20526         
20527         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
20528         has_getrange and replace with can_activate_pull and
20529         can_activate_push.
20530
20531         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
20532         locking comments. Remove has_loop, has_chain and replace with
20533         can_activate_pull and can_activate_push.
20534
20535 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
20536
20537         * configure.ac:
20538         * examples/Makefile.am:
20539         * examples/metadata/Makefile.am:
20540         * examples/metadata/read-metadata.c: (message_loop),
20541         (have_pad_handler), (make_pipeline), (print_tag), (main):
20542           Add metadata reading example that loops over a list of filenames,
20543           dumping any tags found.
20544
20545         * gst/gstbus.c: (gst_bus_dispose):
20546         * gst/gstelement.c: (gst_element_dispose):
20547           Release a few potentially-held references in dispose.
20548
20549 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20550
20551         * docs/gst/tmpl/gstminiobject.sgml:
20552           do *not* add tmpl/*.sgml files to CVS!
20553
20554 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20555
20556         * libs/gst/bytestream/.cvsignore:
20557         * libs/gst/bytestream/Makefile.am:
20558         * libs/gst/bytestream/adapter.c:
20559         * libs/gst/bytestream/adapter.h:
20560         * libs/gst/bytestream/bytestream.c:
20561         * libs/gst/bytestream/bytestream.h:
20562         * libs/gst/bytestream/filepad.c:
20563         * libs/gst/bytestream/filepad.h:
20564           removing obsolete files
20565
20566 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20567
20568         * docs/gst/gstreamer-docs.sgml:
20569         * docs/libs/gstreamer-libs-docs.sgml:
20570           disabed additional index entries again, as this makes docs-gen just
20571           slow and they aren't useful yet
20572         * docs/libs/gstreamer-libs-sections.txt:
20573           little -section.txt cleanup for libs
20574
20575 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
20576
20577         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20578         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
20579           fix up some debugging
20580         (gst_base_transform_get_unit_size),
20581         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20582         (gst_base_transform_handle_buffer):
20583         * gst/base/gstbasetransform.h:
20584           handle and store timed NEWSEGMENT events so that subclasses that
20585           calculate time by counting samples have a segment_start time they
20586           need to add to their timestamps - see audioresample
20587
20588 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20589
20590         * gst/gstbin.h:
20591           removed ';' from the end of macro defs
20592         * docs/gst/gstreamer-docs.sgml:
20593         * docs/gst/gstreamer-sections.txt:
20594         * docs/gst/tmpl/.cvsignore:
20595         * gst/gstbus.h:
20596         * gst/gstelement.c: (gst_element_class_init),
20597         (gst_element_set_state), (activate_pads),
20598         (gst_element_save_thyself):
20599         * gst/gstevent.c: (gst_event_new_newsegment):
20600         * gst/gstevent.h:
20601         * gst/gstiterator.c:
20602         * gst/gstiterator.h:
20603         * gst/gstpad.c:
20604         * gst/gstprobe.h:
20605         * gst/gstutils.c: (gst_pad_query_convert):
20606         * gst/gstutils.h:
20607           fixed parameter name mismatches between source, header and docs
20608           added some more docs, resolved the last batch of unused elements in
20609           docs (now someone needs to doc them)
20610
20611 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20612
20613         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
20614         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
20615           don't walk through the plugins backwards.  Where is all this
20616           reversed logic coming from ?
20617
20618 2005-08-25  Wim Taymans  <wim@fluendo.com>
20619
20620         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20621         (gst_base_transform_transform_size),
20622         (gst_base_transform_configure_caps),
20623         (gst_base_transform_get_unit_size),
20624         (gst_base_transform_buffer_alloc),
20625         (gst_base_transform_change_state):
20626         * gst/base/gstbasetransform.h:
20627         Cache caps unit_size.
20628         Make sure we cannot negotiate up and downstream at the
20629         same time.
20630
20631 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20632
20633         * gst/gst.c: (init_pre), (init_post):
20634           register the installed plugin path after the env var
20635         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
20636         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
20637           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
20638           directories, so the tests can prefer uninstalled over installed
20639
20640 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20641
20642         * gst/base/gstbasetransform.h:
20643           comment
20644         * gst/gstpad.c:
20645           add to docs
20646
20647 2005-08-25  Wim Taymans  <wim@fluendo.com>
20648
20649         * gst/gstbin.c: (bin_bus_handler):
20650         Be a bit more conservative about the posted message.
20651         
20652         * gst/gstbus.c: (gst_bus_post):
20653         Some cleanups, warn wrong return values.
20654
20655 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
20656
20657         * check/gst/gstbin.c: (GST_START_TEST):
20658         * gst/gstbin.c: (bin_bus_handler):
20659         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20660         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20661         (gst_message_new_warning), (gst_message_new_tag),
20662         (gst_message_new_state_changed), (gst_message_new_segment_start),
20663         (gst_message_new_segment_done), (gst_message_new_custom):
20664         * gst/gstmessage.h:
20665         * tools/gst-launch.c: (event_loop):
20666         * tools/gst-md5sum.c: (event_loop):
20667           Revert unpopular change for GST_MESSAGE_SRC to GObject.
20668
20669 2005-08-25  Wim Taymans  <wim@fluendo.com>
20670
20671         * check/generic/states.c: (GST_START_TEST):
20672         Cleanup can be done at the end.
20673
20674         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
20675         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20676         (gst_task_get_state), (gst_task_start), (gst_task_pause):
20677         Oh boy.. Thanks for finding this, Thomas. 
20678
20679 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20680
20681         * docs/gst/gstreamer.types:
20682           added missing types
20683
20684 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20685
20686         * docs/gst/gstreamer-docs.sgml:
20687         * docs/gst/gstreamer-sections.txt:
20688         * docs/gst/tmpl/.cvsignore:
20689         * gst/gstbin.c:
20690         * gst/gstiterator.c:
20691         * gst/gstutils.c:
20692         * gst/registries/gstxmlregistry.h:
20693           added missing classes and symbols (123 more to go)
20694           removed removed symbols from section file
20695           fixed many doc-comments
20696
20697 2005-08-24  Wim Taymans  <wim@fluendo.com>
20698
20699         * check/generic/states.c: (GST_START_TEST):
20700         Make sure all tasks are stopped.
20701
20702         * check/gst/gstbin.c: (GST_START_TEST):
20703         Unref after usage for proper valgrinding.
20704
20705         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
20706         Really wait for the task to stop before destroying the
20707         mutex.
20708
20709         * gst/gstqueue.c: (gst_queue_sink_activate_push),
20710         (gst_queue_src_activate_push):
20711         Small cleanups. Don't stop the task when we did not start
20712         it.
20713
20714         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
20715         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20716         (gst_task_get_state), (gst_task_start), (gst_task_pause),
20717         (gst_task_join):
20718         * gst/gsttask.h:
20719         Protect the stream lock with the object lock.
20720         Disallow setting the stream lock when running.
20721         Add cleanup_all to wait for the threadpool to finish.
20722         Remove code to autoallocate a mutex if none was provided.
20723         Add _join() to wait for a task to stop.
20724         Protect the thread pool with a global lock.
20725
20726 2005-08-24  Wim Taymans  <wim@fluendo.com>
20727
20728         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20729         (gst_base_sink_get_times), (gst_base_sink_do_sync),
20730         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20731         * gst/base/gstbasesink.h:
20732         Handle newsegment events correctly.
20733         Drop buffers out of the segment range.
20734
20735 2005-08-22  Andy Wingo  <wingo@pobox.com>
20736
20737         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20738         macro, implements an interface and gstimplementsinterface for a
20739         new type.
20740
20741 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20742
20743         * check/Makefile.am:
20744         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
20745           add a test that does a bunch of state changes on elements
20746           needs some fixing for valgrind
20747         * check/states/sinks.c: (gst_object_suite):
20748           whitespace
20749         * gst/gstcaps.h:
20750           add prototype for gst_caps_is_equal_fixed
20751         * gst/gstplugin.c:
20752         * gst/gstregistrypool.c:
20753           doc fixes
20754
20755 2005-08-24  Andy Wingo  <wingo@pobox.com>
20756
20757         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
20758         convert a negative value. Doesn't make much sense. Mostly this is
20759         here to force callers to ensure -1 maps to -1.
20760
20761 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20762
20763         * docs/pwg/advanced-types.xml:
20764           Well done to Michael for catching my deliberate introduction
20765           of this spelling mistake. 
20766         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
20767         * gst/gstelement.h:
20768           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
20769           unlink pads before removing the element from the bin.
20770
20771 2005-08-24  Andy Wingo  <wingo@pobox.com>
20772
20773         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
20774         the same thing as GST_DEBUG=*:4.
20775         (parse_debug_level, parse_debug_category): New helper parsers.
20776
20777 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20778
20779         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20780         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
20781         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
20782         (gst_base_transform_buffer_alloc),
20783         (gst_base_transform_handle_buffer):
20784           use gboolean return values and pointers to size so we can use the
20785           full GST_BUFFER_SIZE range (guint) for buffer sizes
20786           use GstPadDirection for transform_caps
20787         * gst/base/gstbasetransform.h:
20788           rename get_size to get_unit_size since that's what it is
20789         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
20790           use GstPadDirection for transform_caps
20791         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20792         * gst/gstutils.h:
20793           cleanup and debugging
20794
20795 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20796
20797         * gst/gstelement.c: (gst_element_class_init),
20798         (gst_element_set_state), (activate_pads),
20799         (gst_element_save_thyself):
20800         * tools/gst-compprep.c: (main):
20801         * tools/gst-inspect.c: (print_element_properties_info):
20802         * tools/gst-xmlinspect.c: (print_element_properties):
20803           Fixed long standing mem-leak
20804
20805 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20806
20807         * check/gst/gstbin.c: (GST_START_TEST):
20808         * gst/gstbin.c: (bin_bus_handler):
20809         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20810         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20811         (gst_message_new_warning), (gst_message_new_tag),
20812         (gst_message_new_state_changed), (gst_message_new_segment_start),
20813         (gst_message_new_segment_done), (gst_message_new_custom):
20814         * gst/gstmessage.h:
20815         * tools/gst-launch.c: (event_loop):
20816         * tools/gst-md5sum.c: (event_loop):
20817           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
20818           that applications can sensibly post custom messages with references
20819           to their own objects.
20820
20821 2005-08-24  Andy Wingo  <wingo@pobox.com>
20822
20823         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
20824         already.
20825
20826 2005-08-24  Wim Taymans  <wim@fluendo.com>
20827
20828         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20829         (gst_base_transform_transform_caps),
20830         (gst_base_transform_transform_size),
20831         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20832         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20833         (gst_base_transform_handle_buffer):
20834         * gst/base/gstbasetransform.h:
20835         Many fixes and new features added by Thomas. Can now also do
20836         transforms with variable sizes and a custom fixate_caps function.
20837
20838 2005-08-24  Wim Taymans  <wim@fluendo.com>
20839
20840         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20841         Some debugging.
20842
20843         * gst/gstclock.h:
20844         Cast to ClockTime before formatting to time.
20845
20846         * gst/gstutils.h:
20847         Cleanups.
20848
20849 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20850
20851         * check/gst-libs/controller.c: (GST_START_TEST),
20852         (gst_controller_suite):
20853         * docs/gst/tmpl/gstcaps.sgml:
20854         * docs/gst/tmpl/gstghostpad.sgml:
20855         * docs/gst/tmpl/gstquery.sgml:
20856         * docs/gst/tmpl/gstutils.sgml:
20857         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
20858         (gst_object_sink_values), (gst_object_get_value_arrays),
20859         (gst_object_get_value_array):
20860           gracefully handle helper method calls to objects that are not beeing
20861           controlled, added test case for that          
20862
20863 2005-08-23  Wim Taymans  <wim@fluendo.com>
20864
20865         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
20866         (gst_event_new_newsegment), (gst_event_parse_newsegment),
20867         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
20868         (gst_event_parse_qos), (gst_event_new_seek),
20869         (gst_event_parse_seek):
20870         * gst/gstevent.h:
20871         Some more debugging output and doc cleanups.
20872
20873         * gst/gstqueue.c: (gst_queue_handle_sink_event):
20874         Fix possible deadlock.
20875
20876 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20877
20878         * docs/gst/gstreamer-docs.sgml:
20879         * docs/gst/gstreamer-sections.txt:
20880         * docs/gst/gstreamer.types:
20881         * docs/gst/tmpl/.cvsignore:
20882         * gst/gstbin.h:
20883         * gst/gstbus.c:
20884         * gst/gstelement.c:
20885         * gst/gstevent.h:
20886           added 100 symbols from gstreamer-unused.txt to the right sections
20887           fixed more broken comments
20888           added GstBus to docs
20889
20890 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20891
20892         * docs/gst/gstreamer-sections.txt:
20893         * docs/gst/tmpl/.cvsignore:
20894         * docs/gst/tmpl/gstbin.sgml:
20895         * docs/gst/tmpl/gstbuffer.sgml:
20896         * gst/base/gstbasesrc.c:
20897         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
20898         * gst/gstbuffer.c:
20899         * gst/gstbuffer.h:
20900         * tools/gst-launch.1.in:
20901           inlined more doc comments, added missing comments and fixed comments
20902           fixed typos
20903
20904 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20905
20906         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20907           some debugging
20908         * gst/gstcaps.h:
20909           whitespace fixes
20910         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
20911           more debugging
20912         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
20913         * gst/gststructure.h:
20914           add a fixate function for booleans; add a FIXME that these func
20915           names should probably be gst_structure_fixate_*
20916
20917 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20918
20919         * docs/gst/gstreamer-docs.sgml:
20920         * docs/gst/gstreamer-sections.txt:
20921         * gst/Makefile.am:
20922         * gst/gstbin.c: (gst_bin_get_type),
20923         (gst_bin_child_proxy_get_child_by_index),
20924         (gst_bin_child_proxy_get_children_count),
20925         (gst_bin_child_proxy_init):
20926         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
20927         (gst_child_proxy_get_child_by_index),
20928         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
20929         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
20930         (gst_child_proxy_get), (gst_child_proxy_set_property),
20931         (gst_child_proxy_set_valist), (gst_child_proxy_set),
20932         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
20933         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
20934         * gst/gstchildproxy.h:
20935         * gst/parse/grammar.y:
20936         * tools/gst-inspect.c: (print_interfaces),
20937         (print_element_properties_info), (print_element_info):
20938           ported gstchildproxy over from 0.8
20939           ported gst-inspect fixes and enhancements over from 0.8
20940
20941 2005-08-22  Wim Taymans  <wim@fluendo.com>
20942
20943         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20944         (gst_base_transform_handle_buffer):
20945         Also call the transform function if we have ANY caps.
20946
20947         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
20948         Fix debug info.
20949
20950 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
20951
20952         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
20953           Don't pretend to handle seek events if the source is not seekable
20954
20955 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
20956
20957         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20958           Remove extra parameter to debug output
20959
20960         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20961         (gst_base_src_do_seek), (gst_base_src_activate_push):
20962           Fix seek event handling.
20963
20964         * gst/gstpipeline.c: (gst_pipeline_change_state):
20965         * gst/gstqueue.c: (gst_queue_handle_sink_event),
20966         (gst_queue_src_activate_push):
20967           Don't start the src pad task on FLUSH_STOP if the pad
20968           isn't linked.
20969           Debug changes.
20970
20971 2005-08-22  Wim Taymans  <wim@fluendo.com>
20972
20973         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
20974         Added check for gst_static_caps_get() refcounting.
20975
20976 2005-08-22  Wim Taymans  <wim@fluendo.com>
20977
20978         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
20979         Make _static_caps_get() refcounting sane.
20980         
20981         * gst/gstelement.c: (gst_element_set_state):
20982         Add g_return_val_if_fail() to protect against segfaults.
20983
20984 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
20985
20986         * docs/gst/tmpl/gstevent.sgml:
20987         * gst/gstevent.c:
20988         * gst/gstevent.h:
20989           inlined remaining docs, added missing doc comments
20990
20991 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20992
20993         * check/gst/gstbin.c: (GST_START_TEST):
20994           since we don't know when preroll is done, use refcount range
20995           check for the sink
20996         * gst/check/gstcheck.h:
20997           add macro for checking refcount range
20998
20999 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
21000
21001         * check/Makefile.am:
21002           clean up environment for when registry gets built versus
21003           when actual tests are run; valgrind seems to not report
21004           leaks if GST_PLUGIN_PATH is set to some specific values
21005         * check/gst/gstbin.c: (GST_START_TEST):
21006           add more refcounting checks; maybe this exposes a
21007           preroll lock bug ?
21008         * common/check.mak:
21009         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21010         * gst/check/gstcheck.h:
21011         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
21012         (gst_bin_change_state):
21013         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
21014           add/fix debugging/whitespace
21015
21016 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
21017
21018         * check/gst/gstevent.c: (event_probe), (test_event),
21019         (GST_START_TEST):
21020          Er, don't call gst_bin_watch_for_state_change you idiot.
21021
21022 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
21023
21024         * check/Makefile.am:
21025           Use CHECK_CFLAGS and CHECK_LIBS
21026         * check/gst/gstevent.c: (event_probe), (test_event),
21027         (GST_START_TEST):
21028           Don't leak events.
21029         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21030         (gst_base_src_start), (gst_base_src_stop),
21031         (gst_base_src_activate_push), (gst_base_src_activate_pull),
21032         (gst_base_src_change_state):
21033           Sprinkle gst_base_src_stop liberally around error paths to fix
21034           problems reusing a source after failed state changes.
21035         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21036         (helper_find_suggest), (gst_type_find_helper):
21037           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
21038         * gst/gstevent.h:
21039         * docs/gst/tmpl/gstevent.sgml:
21040           Migrate part of the docs from the SGML file. Wait for ensonic to
21041           tell me how I did it wrong ;)
21042         * tools/gst-typefind.c: (main):
21043           Extra robustness to state changes between files.
21044
21045 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
21046
21047         * check/Makefile.am:
21048           don't valgrind the controller test - it's leaking - Stefan, HELP
21049         * gst/check/gstcheck.c: (gst_check_message_error),
21050         (gst_check_chain_func), (gst_check_setup_element),
21051         (gst_check_teardown_element), (gst_check_setup_src_pad),
21052         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
21053         (gst_check_teardown_sink_pad):
21054         * gst/check/gstcheck.h:
21055           add a bunch of methods to set up elements, and src and sink pads
21056         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
21057         * check/elements/identity.c: (setup_identity), (cleanup_identity),
21058         (GST_START_TEST):
21059           use them
21060         * gst/gstmessage.c:
21061         * gst/gsttag.h:
21062           whitespace/doc fixes
21063
21064 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21065
21066         * gst/gstelement.h:
21067           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
21068           be handled by the application and not always printed as well
21069
21070 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21071
21072         * check/Makefile.am:
21073           set GST_TOOLS_DIR
21074         * gst/check/gstcheck.c: (gst_check_message_error):
21075         * gst/check/gstcheck.h:
21076           add a fail_unless_equals_int
21077           add fail_unless for error messages
21078
21079 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21080
21081         * check/Makefile.am:
21082         * check/gst.supp:
21083         * common/Makefile.am:
21084         * common/check.mak:
21085         * common/gst.supp:
21086           factor out some of the common stuff so we can use it
21087
21088 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21089
21090         * check/Makefile.am:
21091         * check/gst/gstiterator.c: (GST_START_TEST):
21092         * check/gst/gstsystemclock.c: (GST_START_TEST),
21093         (gst_systemclock_suite):
21094         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21095         * gst/gstclock.c:
21096           valgrind more tests
21097
21098 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21099
21100         * check/elements/.cvsignore:
21101         * check/elements/gstfakesrc.c:
21102           rename to name of element
21103         * check/elements/identity.c: (chain_func), (event_func),
21104         (setup_identity), (cleanup_identity), (GST_START_TEST),
21105         (identity_suite), (main):
21106           add a test for identity
21107         * check/Makefile.am:
21108         * pkgconfig/Makefile.am:
21109         * pkgconfig/gstreamer-check.pc.in:
21110         * pkgconfig/gstreamer-check-uninstalled.pc.in:
21111         * gst/check:
21112         * gst/Makefile.am:
21113         * configure.ac:
21114           move the check stuff to a library that gets installed
21115         * check/gst-libs/controller.c: (GST_START_TEST):
21116         * check/gst-libs/gdp.c:
21117         * check/gst/gst.c: (GST_START_TEST):
21118         * check/gst/gstbin.c:
21119         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21120         * check/gst/gstbus.c:
21121         * check/gst/gstcaps.c: (GST_START_TEST):
21122         * check/gst/gstelement.c:
21123         * check/gst/gstghostpad.c:
21124         * check/gst/gstiterator.c:
21125         * check/gst/gstmessage.c:
21126         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
21127         * check/gst/gstobject.c:
21128         * check/gst/gstpad.c: (GST_START_TEST):
21129         * check/gst/gststructure.c: (GST_START_TEST):
21130         * check/gst/gstsystemclock.c: (GST_START_TEST),
21131         (gst_systemclock_suite):
21132         * check/gst/gsttag.c: (gst_tag_suite):
21133         * check/gst/gstvalue.c:
21134         * check/pipelines/cleanup.c:
21135         * check/pipelines/simple_launch_lines.c:
21136         * check/states/sinks.c:
21137           change include statement
21138
21139         * docs/gst/gstreamer-sections.txt:
21140         * docs/gst/tmpl/gstpad.sgml:
21141           document more pad stuff
21142         * gst/gstminiobject.c: (gst_mini_object_ref),
21143         (gst_mini_object_unref):
21144           debug refcounting
21145
21146 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
21147
21148         * docs/gst/tmpl/gst.sgml:
21149         * gst/gst.c:
21150           eliminate another tmpl file, fix spelling in the long-description
21151
21152 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21153
21154         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21155         (test_event), (timediff), (gstevents_suite):
21156           Should fix build on 64-bit arch's
21157
21158 2005-08-18  Andy Wingo  <wingo@pobox.com>
21159
21160         Make sure that when a pipeline goes to PLAYING, that data has
21161         actually hit the sink.
21162
21163         * check/states/sinks.c (test_sink): A sink that doesn't get any
21164         data shouldn't return SUCCESS for going to either PLAYING or
21165         PAUSED. Test also the return values on the way back down.
21166
21167         * gst/gstelement.c (gst_element_set_state): When changing the
21168         state of an element currently changing state asynchronously, go to
21169         lost-state after commiting the pending state. Makes future calls
21170         to get_state continue to return ASYNC.
21171
21172         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
21173         ASYNC when going to PLAYING if we still don't have preroll, as can
21174         happen with live sources.
21175
21176 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21177
21178         * docs/pwg/advanced-types.xml:
21179           Hack long paragraph into 2 chunks as a workaround for buggy
21180           jadetex version in sid and breezy that loops infinitely and
21181           eats all RAM.
21182
21183 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21184
21185         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21186         (test_event), (timediff), (gstevents_suite):
21187           Provide more error margin in clock measurements to allow for 
21188           g_get_current_time inaccuracies.
21189
21190 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21191
21192         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21193         (test_event), (timediff), (gstevents_suite):
21194            Fix error message output so I might be able to tell why the
21195            test works here but fails on the build farm.
21196
21197 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21198
21199         * check/Makefile.am:
21200         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21201         (test_event), (timediff), (gstevents_suite), (main):
21202           I wrote a test!
21203
21204         * docs/design/part-seeking.txt:
21205           Spelling correction
21206
21207         * docs/gst/tmpl/gstevent.sgml:
21208         * docs/gst/tmpl/gstfakesrc.sgml:
21209           Docs updates.
21210
21211         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21212           Treat a buffer-without-newsegment the same as a receiving 
21213           a newsegment not in time format, and disable syncing to the clock
21214           with a warning.
21215
21216         * gst/gstbus.c: (gst_bus_set_sync_handler):
21217           Assert if anyone tries to replace the existing sync_handler for bus, 
21218           as only the owner should be setting it.
21219
21220         * gst/gstevent.h:
21221           Have a fixed set of custom event enums with events identified by
21222           their structure name (as in 0.8), rather than a free-for-all
21223           allowing collisions between enum values from different plugins.
21224
21225         * gst/gstpad.c: (gst_pad_class_init):
21226           Docs change.
21227           
21228         * gst/gstqueue.c: (gst_queue_handle_sink_event):
21229           Handle out-of-band downstream events from the sending thread.
21230
21231 2005-08-17  Andy Wingo  <wingo@pobox.com>
21232
21233         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
21234         play-timeout==0 to mean no timeout at all. In that case, don't
21235         bother with a get_state or a warning, just return directly, even
21236         if it's ASYNC.
21237
21238         * gst/base/gstbasetransform.c: Debug changes.
21239
21240         * gst/gstutils.h:
21241         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
21242         ensure bins post state change messages. A bit of a hack but I can't
21243         think of a way to avoid it.
21244
21245         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
21246
21247 2005-08-16  Andy Wingo  <wingo@pobox.com>
21248
21249         * gst/base/gstadapter.h:
21250         * gst/base/gstadapter.c (gst_adapter_take): New function, like
21251         peek() but you own the data. Not terribly efficient atm.
21252
21253 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21254
21255         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
21256         (gst_element_found_tags):
21257         * gst/gstutils.h:
21258           Add two utility functions for tag handling.
21259
21260 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21261
21262         * docs/manual/advanced-dataaccess.xml:
21263         * docs/manual/basics-helloworld.xml:
21264           Fix docs to use _bin_add() before _link(), which fixes the examples
21265           with recent core versions (reported by Madhan Raj M
21266           <raj_madan@rediffmail.com>, #313199).
21267
21268 2005-08-16  Wim Taymans  <wim@fluendo.com>
21269
21270         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21271         Added subtract checks.
21272
21273         * docs/design/part-events.txt:
21274         Some more docs about newsegment
21275
21276         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21277         Fix FIXME
21278
21279         * gst/gstcaps.c: (gst_caps_to_string):
21280         Add comments, cleanups.
21281         
21282         * gst/gstelement.c: (gst_element_save_thyself):
21283         cleanups
21284         
21285         * gst/gstvalue.c: (gst_value_collect_int_range),
21286         (gst_string_unwrap), (gst_value_union_int_int_range),
21287         (gst_value_union_int_range_int_range),
21288         (gst_value_intersect_int_int_range),
21289         (gst_value_intersect_int_range_int_range),
21290         (gst_value_intersect_double_double_range),
21291         (gst_value_intersect_double_range_double_range),
21292         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
21293         (gst_value_subtract_int_range_int),
21294         (gst_value_subtract_double_range_double),
21295         (gst_value_subtract_double_range_double_range),
21296         (gst_value_subtract_from_list), (gst_value_subtract_list),
21297         (gst_value_can_compare), (gst_value_compare_fraction):
21298         Cleanups, add comments, remove unneeded asserts.
21299
21300 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21301
21302         * tools/gst-launch.c: (event_loop):
21303           don't convert NULL structures to strings
21304
21305 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
21306
21307         * docs/gst/gstreamer-sections.txt:
21308           made some defines private
21309         * docs/gst/tmpl/gstconfig.sgml:
21310         * docs/gst/tmpl/gstqueue.sgml:
21311         * docs/gst/tmpl/gsttaglist.sgml:
21312         * docs/gst/tmpl/gsttypes.sgml:
21313         * docs/gst/tmpl/gstutils.sgml:
21314         * docs/pwg/appendix-porting.xml:
21315         * gst/base/gstbasesink.h:
21316         * gst/base/gstbasesrc.c:
21317         * gst/base/gstbasesrc.h:
21318         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
21319         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
21320         * gst/gstelement.c: (gst_element_class_init):
21321         * gst/gstpad.c: (gst_pad_class_init):
21322         * gst/gstqueue.c: (gst_queue_class_init):
21323         * gst/gstxml.c: (gst_xml_class_init):
21324           documented all undocumented signal inline
21325         * libs/gst/controller/gst-controller.h:
21326           added padding
21327
21328 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21329
21330         * docs/pwg/appendix-porting.xml:
21331           Document _set_link_function -> _set_setcaps_function.
21332
21333 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21334
21335         * check/Makefile.am:
21336           add a .check target for running the check
21337         * check/gst-libs/controller.c: (GST_START_TEST):
21338           cosmetic fixups
21339         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21340           complete checks for gstbuffer; would be nice if I could get the
21341           gcov stuff to work so I can see if I actually completed gstbuffer.c
21342         * check/gstcheck.h:
21343           add ASSERT_BUFFER_REFCOUNT
21344
21345 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
21346
21347         * docs/gst/gstreamer-sections.txt:
21348         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
21349         * gst/gsttag.h:
21350           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
21351           spew out a warning if a tag that is already registered
21352           is re-registered, unless it is re-registered with a 
21353           different type (#308438).
21354
21355 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
21356
21357         * docs/pwg/appendix-porting.xml:
21358         * docs/pwg/building-state.xml:
21359           Add some paragraphs about state changes in 0.9 to the PWG
21360           and the porting guide, in particular about the new meaning
21361           of GST_STATE_PAUSED and how to write state change functions
21362           with concurrent access by multiple threads in mind.
21363
21364 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
21365
21366         * docs/gst/gstreamer-docs.sgml:
21367         * docs/libs/gstreamer-libs-docs.sgml:
21368           added deprecation and since indexes
21369         * libs/gst/controller/gst-controller.c:
21370         * libs/gst/controller/gst-helper.c:
21371           added since tags
21372
21373
21374 2005-08-11  Wim Taymans  <wim@fluendo.com>
21375
21376         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
21377         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
21378         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
21379         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
21380         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
21381         (gst_ghost_pad_set_target):
21382         Actually implement (re)setting the target on a ghostpad
21383         as described in the docs.
21384
21385 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21386
21387         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
21388           Check whether GST_DEBUG_NO_COLOR environment variable is
21389           set and disable coloured debug output if that is the case.
21390
21391 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21392
21393         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21394         (gst_type_find_helper):
21395           The memory returned by gst_type_find_peek() needs to
21396           stay valid until the end of a typefind function, and
21397           typefind functions may keep results from different 
21398           offsets around, so we can't just unref the buffer from
21399           the previous _peek(), but have to save all buffers 
21400           returned by _peek() until typefinding is done and only
21401           free them then.
21402
21403 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
21404
21405         * docs/gst/gstreamer-sections.txt:
21406         * gst/gstutils.h:
21407           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
21408
21409 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21410
21411         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
21412           Fix a pretty good memleak.
21413
21414 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21415
21416         * gst/gstiterator.h:
21417           Fix wrong include and 'make distcheck'.
21418
21419 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21420
21421         * gst/gstbin.c: (bin_bus_handler):
21422           Use gst_element_post_message() instead.
21423
21424 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21425
21426         * gst/base/gstadapter.h:
21427         * gst/base/gstbasesink.h:
21428         * gst/base/gstbasesrc.h:
21429         * gst/base/gstbasetransform.h:
21430         * gst/base/gstcollectpads.h:
21431         * gst/base/gstpushsrc.h:
21432         * gst/gstiterator.h:
21433           Add padding to our base elements' class and instance structs and
21434           to GstIterator (you will need to rebuild all plugins and apps!)
21435
21436 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21437
21438         * gst/gstbin.c: (bin_bus_handler):
21439           Make default message forwarding from child->bus to bin->bus
21440           threadsafe and make it not emit warnings if the parent has no bus.
21441
21442 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21443
21444         * gst/gstelement.c: (activate_pads):
21445           On paused->ready, set pad->caps to NULL, as is the documented
21446           behaviour in this state change. Fixes playback of series of
21447           media files when visualization is enabled in Totem.
21448
21449 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21450
21451         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21452           Allow NULL as filter-caps (which means "any").
21453
21454 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21455
21456         * docs/libs/gstreamer-libs-sections.txt:
21457         * libs/gst/controller/gst-controller.c:
21458         * libs/gst/controller/gst-controller.h:
21459         * libs/gst/controller/gst-helper.c:
21460           adding more entries to the docs and fix small doc-bugs
21461
21462 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21463
21464         * docs/gst/gstreamer-docs.sgml:
21465         * docs/gst/gstreamer-sections.txt:
21466         * docs/gst/gstreamer.types:
21467         * docs/gst/tmpl/gstbasesink.sgml:
21468         * docs/gst/tmpl/gstbasesrc.sgml:
21469         * docs/gst/tmpl/gstbasetransform.sgml:
21470         * docs/gst/tmpl/gstfakesrc.sgml:
21471         * gst/base/gstcollectpads.c:
21472         * gst/base/gstcollectpads.h:
21473         * libs/gst/controller/gst-controller.c:
21474         * libs/gst/controller/gst-controller.h:
21475         * libs/gst/controller/gst-helper.c:
21476         * libs/gst/controller/gst-interpolation.c:
21477         * libs/gst/controller/lib.c:
21478           added long/short desc for controller docs
21479           added collectpads base class docs
21480           added correct includes to base-class docs
21481
21482 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21483
21484         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21485         (gst_test_mono_source_set_property),
21486         (gst_test_mono_source_class_init), (GST_START_TEST),
21487         (gst_controller_suite):
21488         * docs/gst/gstreamer-docs.sgml:
21489         * docs/gst/gstreamer-sections.txt:
21490         * docs/gst/gstreamer.types:
21491         * docs/libs/gstreamer-libs-docs.sgml:
21492         * docs/libs/gstreamer-libs-sections.txt:
21493         * gst/base/gstadapter.c:
21494         * libs/gst/controller/gst-controller.c:
21495         (gst_controlled_property_new), (gst_controlled_property_free),
21496         (gst_controller_new_valist),
21497         (gst_controller_remove_properties_valist),
21498         (gst_controller_sink_values), (_gst_controller_finalize):
21499         * libs/gst/controller/gst-controller.h:
21500         * libs/gst/controller/gst-helper.c:
21501         (gst_object_control_properties), (gst_object_uncontrol_properties),
21502         (gst_object_get_controller), (gst_object_set_controller),
21503         (gst_object_sink_values), (gst_object_get_value_arrays),
21504         (gst_object_get_value_array):
21505           more tests (and fixes) for the controller
21506           more docs for the controller
21507           integrated companies docs for the adapter 
21508
21509 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21510
21511         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
21512         (GST_START_TEST), (fakesrc_suite):
21513           add tests for sizetype
21514
21515 2005-08-04  Andy Wingo  <wingo@pobox.com>
21516
21517         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
21518         fixes buffer_alloc proxying among other things.
21519
21520         * gst/base/gstbasetransform.c:
21521         * gst/base/gstbasetransform.h:
21522         Revert patch to gstbasetransform from 7-28 removing
21523         delay_configure.
21524
21525         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
21526         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
21527         Semantics changed, should return not the size of the output buffer
21528         but the byte size of a buffer with a given caps.
21529
21530         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
21531         debug object.
21532         (gst_base_transform_configure_caps): Don't set out_size here: (in,
21533         out) are not the pad caps until setcaps finishes.
21534         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
21535         not-in-place case as well. Deal with changing from in-place to
21536         not-in-place within calling pad_alloc_buffer. Still a bit
21537         concerned about the overhead here...
21538
21539 2005-08-03  Andy Wingo  <wingo@pobox.com>
21540
21541         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
21542         fixating is an error.
21543
21544 2005-08-04  Edward Hervey  <edward@fluendo.com>
21545
21546         * gst/base/gstadapter.h: 
21547         Added gst_adapter_get_type() to the header
21548
21549 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21550
21551         * check/Makefile.am:
21552         * check/gst-libs/controller.c:
21553         * libs/gst/controller/gst-controller.c:
21554         (gst_controller_new_valist):
21555           added check test suite for the controller
21556         * gst/base/gstpushsrc.c:
21557           fixed a doc typo
21558
21559 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21560
21561         * docs/gst/Makefile.am:
21562         * docs/gst/gstreamer-docs.sgml:
21563         * docs/gst/gstreamer-sections.txt:
21564         * docs/gst/gstreamer.types:
21565         * docs/gst/tmpl/gstfakesrc.sgml:
21566         * gst/base/README:
21567         * gst/base/gstbasesink.c:
21568         * gst/base/gstbasesink.h:
21569         * gst/base/gstbasesrc.c:
21570         * gst/base/gstbasesrc.h:
21571         * gst/base/gstbasetransform.c:
21572         * gst/base/gstpushsrc.c:
21573         * gst/base/gstpushsrc.h:
21574           add short/long description docs to base classes
21575           add pushsrc to the docs
21576           remove consolidated doc fragments
21577
21578 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21579
21580         * configure.ac:
21581         * docs/libs/Makefile.am:
21582         * docs/libs/gstreamer-libs-docs.sgml:
21583         * docs/libs/gstreamer-libs-sections.txt:
21584         * docs/libs/gstreamer-libs.types:
21585         * examples/Makefile.am:
21586         * examples/controller/.cvsignore:
21587         * examples/controller/Makefile.am:
21588         * examples/controller/audio-example.c: (main):
21589         * libs/gst/Makefile.am:
21590         * libs/gst/controller/.cvsignore:
21591         * libs/gst/controller/Makefile.am:
21592         * libs/gst/controller/gst-controller.c:
21593         (on_object_controlled_property_changed), (gst_timed_value_compare),
21594         (gst_timed_value_find),
21595         (gst_controlled_property_set_interpolation_mode),
21596         (gst_controlled_property_new), (gst_controlled_property_free),
21597         (gst_controller_find_controlled_property),
21598         (gst_controller_new_valist), (gst_controller_new),
21599         (gst_controller_remove_properties_valist),
21600         (gst_controller_remove_properties), (gst_controller_set),
21601         (gst_controller_set_from_list), (gst_controller_unset),
21602         (gst_controller_get), (gst_controller_get_all),
21603         (gst_controller_sink_values), (gst_controller_get_value_arrays),
21604         (gst_controller_get_value_array),
21605         (gst_controller_set_interpolation_mode),
21606         (_gst_controller_finalize), (_gst_controller_init),
21607         (_gst_controller_class_init), (gst_controller_get_type):
21608         * libs/gst/controller/gst-controller.h:
21609         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
21610         (g_object_uncontrol_properties), (g_object_get_controller),
21611         (g_object_set_controller), (g_object_sink_values),
21612         (g_object_get_value_arrays), (g_object_get_value_array):
21613         * libs/gst/controller/gst-interpolation.c:
21614         (gst_controlled_property_find_timed_value_node),
21615         (interpolate_none_get), (interpolate_trigger_get),
21616         (interpolate_trigger_get_value_array):
21617         * libs/gst/controller/lib.c: (gst_controller_init):
21618         * pkgconfig/Makefile.am:
21619         * pkgconfig/gstreamer-control-uninstalled.pc.in:
21620         * pkgconfig/gstreamer-control.pc.in:
21621         * testsuite/Makefile.am:
21622         * testsuite/controller/.cvsignore:
21623         * testsuite/controller/Makefile.am:
21624         * testsuite/controller/interpolator.c: (main):
21625           added controller code
21626           removed dparam pc files
21627
21628 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21629         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
21630         (gst_collectpads_stop):
21631           Broadcast the condition when shutting down, to make sure we wake all
21632           threads up. Shut down pads on finalize, for safety.
21633
21634 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21635         * gst/base/gstbasetransform.c: (gst_base_transform_init),
21636         (gst_base_transform_handle_buffer),
21637         (gst_base_transform_change_state):
21638           Handle PAUSED->READY->PAUSED transition after negotiation
21639           occurred already.
21640         * gst/gstmessage.c: (gst_message_init):
21641           Extra piece of debug for new messages.
21642
21643 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
21644
21645         * configure.ac:
21646         * docs/gst/tmpl/gstbasesrc.sgml:
21647         * docs/gst/tmpl/gstelement.sgml:
21648         * docs/gst/tmpl/gstevent.sgml:
21649         * docs/gst/tmpl/gstfakesrc.sgml:
21650         * docs/gst/tmpl/gstformat.sgml:
21651         * docs/gst/tmpl/gstghostpad.sgml:
21652         * docs/gst/tmpl/gstpad.sgml:
21653         * docs/gst/tmpl/gstquery.sgml:
21654         * docs/gst/tmpl/gststructure.sgml:
21655         * docs/gst/tmpl/gsttaglist.sgml:
21656         * docs/gst/tmpl/gstvalue.sgml:
21657         * docs/libs/gstreamer-libs-docs.sgml:
21658         * docs/libs/gstreamer-libs-sections.txt:
21659         * docs/libs/gstreamer-libs.types:
21660         * libs/gst/Makefile.am:
21661         * libs/gst/control/.cvsignore:
21662         * libs/gst/control/Makefile.am:
21663         * libs/gst/control/control.c:
21664         * libs/gst/control/control.h:
21665         * libs/gst/control/dparam.c:
21666         * libs/gst/control/dparam.h:
21667         * libs/gst/control/dparam_smooth.c:
21668         * libs/gst/control/dparam_smooth.h:
21669         * libs/gst/control/dparamcommon.h:
21670         * libs/gst/control/dparammanager.c:
21671         * libs/gst/control/dparammanager.h:
21672         * libs/gst/control/dplinearinterp.c:
21673         * libs/gst/control/dplinearinterp.h:
21674         * libs/gst/control/unitconvert.c:
21675         * libs/gst/control/unitconvert.h:
21676         * testsuite/Makefile.am:
21677         * testsuite/dynparams/.cvsignore:
21678         * testsuite/dynparams/Makefile.am:
21679         * testsuite/dynparams/dparamstest.c:
21680         * tools/Makefile.am:
21681         * tools/gst-inspect.c: (print_element_info), (main):
21682         * tools/gst-xmlinspect.c: (print_element_info), (main):
21683           deactivate and remove dparams (libgstcontrol)
21684
21685 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21686
21687         * gst/elements/gsttypefindelement.c:
21688         (gst_type_find_element_have_type), (gst_type_find_element_init),
21689         (stop_typefinding), (gst_type_find_element_handle_event),
21690         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21691         * gst/elements/gsttypefindelement.h:
21692           Set caps on all outgoing buffers, not just the first one.
21693
21694 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21695
21696         * gst/elements/gsttypefindelement.c:
21697         (gst_type_find_element_have_type),
21698         (gst_type_find_element_check_set_buffer_caps),
21699         (gst_type_find_element_init), (stop_typefinding),
21700         (gst_type_find_element_handle_event),
21701         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21702         * gst/elements/gsttypefindelement.h:
21703           Set caps on first outgoing buffer when we've found the type.
21704
21705 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21706
21707         * docs/gst/gstreamer-docs.sgml:
21708         * docs/gst/gstreamer-sections.txt:
21709         * docs/gst/tmpl/gstscheduler.sgml:
21710         * docs/gst/tmpl/gstschedulerfactory.sgml:
21711           Remove some old cruft from docs.
21712
21713 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
21714
21715         * gst/gstpad.h:
21716           Fix inline docs for GstPadLinkReturn.
21717           
21718         * gst/gststructure.c: (gst_structure_has_name):
21719         * gst/gststructure.h:
21720         * docs/gst/gstreamer-sections.txt:
21721           New API: gst_structure_has_name().
21722
21723 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
21724
21725         * configure.ac:
21726           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
21727           and _LARGEFILE_SOURCE in config.h as required. Do not 
21728           export those flags in our .pc files any longer (#142209).
21729
21730           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21731
21732         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21733         (gst_file_sink_do_seek), (gst_file_sink_event),
21734         (gst_file_sink_get_current_offset), (gst_file_sink_render):
21735           Redo seek/tell calls with large file support in mind; add some
21736           debugging messages; add log message that tells us when large
21737           file support is unavailable or not enabled for some reason.
21738
21739         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
21740           Add log message that tells us when large file support 
21741           is unavailable or not enabled for some reason.
21742
21743 2005-07-29  Wim Taymans  <wim@fluendo.com>
21744
21745         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21746         Added test for removing an element with ghostpad from a bin.
21747         Fixed test as current implementation does the right thing.
21748
21749         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
21750         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
21751         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
21752         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
21753         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
21754         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
21755         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
21756         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21757         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
21758         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
21759         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
21760         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
21761         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
21762         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
21763         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
21764         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
21765         * gst/gstghostpad.h:
21766         Clean up ghostpads, remove properties for internal stuff.
21767         Make threadsafe.
21768         Fix refcounting.
21769         Prepare for switching targets, not all use cases work yet.
21770
21771 2005-07-29  Wim Taymans  <wim@fluendo.com>
21772
21773         * docs/design/part-gstghostpad.txt:
21774         Small update.
21775
21776         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21777         (gst_bin_remove_func):
21778         Unlinking pads while holding the bin LOCK is not a good
21779         idea.
21780
21781         * gst/gstpad.c: (gst_pad_class_init),
21782         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
21783         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
21784         No prob setting template after creating the pad.
21785
21786 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
21787
21788         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
21789         (gst_bus_peek), (gst_bus_source_dispatch),
21790         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
21791         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
21792           gst_bus_poll may be called from other threads. Handle
21793           this nicely by not making poll_data disappear off the
21794           stack once gst_bus_poll returns.
21795           gst_bus_peek now increments the refcount on the returned
21796           message.
21797
21798 2005-07-29  Wim Taymans  <wim@fluendo.com>
21799
21800         * docs/design/part-gstghostpad.txt:
21801         Overview of current GhostPad datastructures and use
21802         cases for changing the target.
21803
21804 2005-07-28  Wim Taymans  <wim@fluendo.com>
21805
21806         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21807         Added checks for hierarchy consistency whan adding linked
21808         elements to bins.
21809
21810         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21811         Added check to test element scheduling without bin/pipeline.
21812
21813         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21814         First add elements to bin, then link.
21815         
21816         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21817         (gst_bin_remove_func):
21818         Unlink pads from elements added/removed from bin to maintain
21819         hierarchy consistency.
21820
21821 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21822
21823         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21824         (gst_base_transform_handle_buffer):
21825         * gst/base/gstbasetransform.h:
21826           Remove broken delay_configure (fixes renegotiation of software
21827           scaling pipelines); remove some leftover printf()s.
21828
21829 2005-07-28  Wim Taymans  <wim@fluendo.com>
21830
21831         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21832         Added some more tests for wrong hierarchy
21833
21834         * docs/design/part-overview.txt:
21835         Some updates.
21836
21837         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
21838         Cleanups.
21839
21840         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
21841         (gst_element_dispose):
21842         Some more cleanups.
21843
21844         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21845         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
21846         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21847         (gst_pad_set_caps), (gst_pad_send_event):
21848         Check for correct hierarchy when linking pads. Moving to
21849         strict requirement for ghostpads when linking elements in
21850         different bins.
21851
21852         * gst/gstpad.h:
21853         Clean ups. Added WRONG_HIERARCHY return value.
21854
21855 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21856
21857         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21858           Better debug if no transform is possible.
21859
21860 2005-07-27  Wim Taymans  <wim@fluendo.com>
21861
21862         * docs/random/wtay/network-transp:
21863         Some old doc I had.
21864
21865 2005-07-27  Wim Taymans  <wim@fluendo.com>
21866
21867         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21868         (gst_dp_event_from_packet):
21869         Fix serialization of seek events.
21870
21871 2005-07-27  Wim Taymans  <wim@fluendo.com>
21872
21873         * check/gst-libs/gdp.c: (GST_START_TEST):
21874         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21875         Fix compilation and fix event serialization.
21876
21877 2005-07-27  Wim Taymans  <wim@fluendo.com>
21878
21879         * CHANGES-0.9:
21880         * docs/design/part-TODO.txt:
21881         * docs/design/part-events.txt:
21882         Some docs updates
21883
21884         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21885         (gst_base_sink_event), (gst_base_sink_do_sync),
21886         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21887         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21888         (gst_base_src_do_seek), (gst_base_src_event_handler),
21889         (gst_base_src_loop):
21890         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21891         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21892         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21893         (gst_base_transform_event), (gst_base_transform_handle_buffer),
21894         (gst_base_transform_set_passthrough),
21895         (gst_base_transform_is_passthrough):
21896         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21897         * gst/elements/gstfilesink.c: (gst_file_sink_event):
21898         Event updates.
21899
21900         * gst/gstbuffer.h:
21901         Use faster casts.
21902
21903         * gst/gstelement.c: (gst_element_seek):
21904         * gst/gstelement.h:
21905         Update gst_element_seek.
21906
21907         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
21908         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
21909         (gst_event_new_flush_start), (gst_event_new_flush_stop),
21910         (gst_event_new_eos), (gst_event_new_newsegment),
21911         (gst_event_parse_newsegment), (gst_event_new_tag),
21912         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
21913         (gst_event_parse_qos), (gst_event_new_seek),
21914         (gst_event_parse_seek), (gst_event_new_navigation):
21915         * gst/gstevent.h:
21916         Make GstEvent use GstStructure. Add parsing code, make sure the
21917         API is sufficiently generic.
21918         Mark possible directions of events and serialization.
21919
21920         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
21921         (_gst_message_copy), (gst_message_new_segment_start),
21922         (gst_message_new_segment_done), (gst_message_new_custom),
21923         (gst_message_parse_segment_start),
21924         (gst_message_parse_segment_done):
21925         Small cleanups.
21926
21927         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21928         (gst_pad_set_caps), (gst_pad_send_event):
21929         Update for new events. 
21930         Catch events sent in wrong directions.
21931
21932         * gst/gstqueue.c: (gst_queue_link_src),
21933         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21934         (gst_queue_handle_src_query):
21935         Event updates.
21936
21937         * gst/gsttag.c:
21938         * gst/gsttag.h:
21939         Remove event code from this file.
21940
21941         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21942         (gst_dp_event_from_packet):
21943         Event updates.
21944
21945 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21946
21947         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
21948         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21949         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
21950           Make debugging actually useful.
21951
21952 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21953
21954         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
21955         (gst_pad_fixate_caps):
21956           Implement default fixation once again, so that gst_pad_fixate()
21957           actually does anything at all. This probably needs to be some
21958           sort of a last resort, and use profile-based fixation first, but
21959           since that doesn't exist yet, this is the best we have. Fixes
21960           visualization in Totem.
21961
21962 2005-07-22  Wim Taymans  <wim@fluendo.com>
21963
21964         * docs/design/part-events.txt:
21965         Small update.
21966
21967         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21968         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
21969         (gst_base_sink_activate_pull):
21970         Some more comments.
21971
21972         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
21973         (gst_fake_src_create):
21974         Fix handoff marshall.
21975
21976         * gst/elements/gstidentity.c: (gst_identity_class_init),
21977         (gst_identity_transform_ip):
21978         We're a real inplace element.
21979
21980         * gst/gstbus.c: (gst_bus_post):
21981         Added some comments.
21982
21983         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
21984         * tests/muxing/case1.c: (main):
21985         * tests/sched/dynamic-pipeline.c: (main):
21986         * tests/sched/interrupt1.c: (main):
21987         * tests/sched/interrupt2.c: (main):
21988         * tests/sched/interrupt3.c: (main):
21989         * tests/sched/runxml.c: (main):
21990         * tests/sched/sched-stress.c: (main):
21991         * tests/seeking/seeking1.c: (event_received), (main):
21992         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
21993         (main):
21994         * tests/threadstate/threadstate3.c: (main):
21995         * tests/threadstate/threadstate4.c: (main):
21996         * tests/threadstate/threadstate5.c: (main):
21997         Fix the tests.
21998
21999 2005-07-21  Wim Taymans  <wim@fluendo.com>
22000
22001         * docs/design/part-seeking.txt:
22002         Some small additions.
22003
22004         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22005         (gst_base_sink_get_times), (gst_base_sink_do_sync),
22006         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22007         * gst/base/gstbasesink.h:
22008         discont values are gint64, handle the math correctly.
22009
22010         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22011         Make the basesrc report error if the source pad is not linked.
22012
22013         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22014         (gst_queue_loop), (gst_queue_handle_src_query),
22015         (gst_queue_src_activate_push):
22016         Make queue collect data even if the srcpad is not linked.
22017         Start pushing out data as soon as it is linked.
22018
22019         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
22020         * gst/gstutils.h:
22021         Added gst_flow_get_name() to ease error reporting.
22022
22023 2005-07-20  Wim Taymans  <wim@fluendo.com>
22024
22025         * gst/gstmessage.c: (gst_message_new_segment_start),
22026         (gst_message_new_segment_done), (gst_message_parse_segment_start),
22027         (gst_message_parse_segment_done):
22028         * gst/gstmessage.h:
22029         Added a bunch of messages for advanced seeking.
22030
22031         * gst/parse/grammar.y:
22032         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
22033         (gst_dpman_state_changed):
22034         Fix some new-pad -> pad-added signals
22035
22036 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22037
22038         * docs/manual/appendix-porting.xml:
22039         * docs/pwg/appendix-porting.xml:
22040           Document new-pad/state-change signal renames and the FixedList
22041           type rename.
22042
22043 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22044
22045         * docs/manual/advanced-autoplugging.xml:
22046         * docs/manual/basics-helloworld.xml:
22047         * docs/manual/basics-pads.xml:
22048         * docs/random/ds/0.9-suggested-changes:
22049         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
22050         * gst/gstelement.h:
22051         * gst/gstevent.h:
22052         * gst/gstformat.h:
22053         * gst/gstquery.h:
22054         * gst/gststructure.c: (gst_structure_value_get_generic_type),
22055         (gst_structure_parse_array), (gst_structure_parse_value):
22056         * gst/gstvalue.c: (gst_type_is_fixed),
22057         (gst_value_list_prepend_value), (gst_value_list_append_value),
22058         (gst_value_list_get_size), (gst_value_list_get_value),
22059         (gst_value_transform_array_string), (gst_value_serialize_array),
22060         (gst_value_deserialize_array), (gst_value_intersect_array),
22061         (gst_value_is_fixed), (_gst_value_initialize):
22062         * gst/gstvalue.h:
22063           GstElement::new-pad -> pad-added, GstElement::state-change ->
22064           state-changed, GstValueFixedList -> GstValueArray, add format and
22065           flags as their own arguments in gst_element_seek() (should improve
22066           "bindeability"), remove function generators since they don't work
22067           under a whole bunch of compilers (they were deprecated already
22068           anyway).
22069
22070 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22071
22072         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22073         (_gst_debug_register_funcptr):
22074         * gst/gstinfo.h:
22075           Fix illegal cast on some platforms (#309253).
22076
22077 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22078
22079         * gst/gstmessage.c: (gst_message_new_custom):
22080         * gst/gstmessage.h:
22081           Add _new_custom, make _new_application a macro to _new_custom.
22082
22083 2005-07-20  Wim Taymans  <wim@fluendo.com>
22084
22085         * gst/base/gstbasesrc.c: (gst_base_src_init),
22086         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22087         * gst/base/gstbasesrc.h:
22088         Add a gboolean to decide when to push out a discont.
22089
22090         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22091         (gst_queue_loop), (gst_queue_handle_src_query),
22092         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
22093         (gst_queue_set_property), (gst_queue_get_property):
22094         Some cleanups.
22095
22096         * tests/threadstate/threadstate1.c: (main):
22097         Make a thread test compile and run... very silly..
22098
22099
22100 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22101
22102         * docs/manual/appendix-porting.xml:
22103           Mention removal of libgstgconf-0.9.la and existence of gconf
22104           elements.
22105
22106 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22107
22108         * docs/pwg/advanced-clock.xml:
22109         * docs/pwg/appendix-porting.xml:
22110         * docs/pwg/intro-preface.xml:
22111         * docs/pwg/other-base.xml:
22112         * docs/pwg/other-manager.xml:
22113         * docs/pwg/other-nton.xml:
22114         * docs/pwg/other-ntoone.xml:
22115         * docs/pwg/other-oneton.xml:
22116         * docs/pwg/pwg.xml:
22117           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
22118           demuxer), remove n-to-n (was never written), fix some code examples
22119           and links and update the porting section to include all this.
22120
22121 2005-07-19  Wim Taymans  <wim@fluendo.com>
22122
22123         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
22124         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
22125         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
22126         (gst_queue_src_activate_push), (gst_queue_change_state),
22127         (gst_queue_get_property):
22128         * gst/gstqueue.h:
22129         Propagate GstFlowReturn more intelligently upstream and output
22130         an ERROR/EOS when streaming stopped due to fatal error.
22131
22132 2005-07-19  Wim Taymans  <wim@fluendo.com>
22133
22134         * tools/gst-launch.c: (check_intr), (event_loop), (main):
22135         Don't block forever for the state change to complete, the
22136         pipeline already did with a sensible timeout.
22137
22138 2005-07-19  Wim Taymans  <wim@fluendo.com>
22139
22140         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22141         Make sure we never call the create function is we
22142         got deactivated.
22143
22144 2005-07-19  Andy Wingo  <wingo@pobox.com>
22145
22146         * gst/parse/parse.l: Attempt to solve bug #172815.
22147
22148 2005-07-19  Wim Taymans  <wim@fluendo.com>
22149
22150         * docs/design/part-clocks.txt:
22151         * docs/design/part-events.txt:
22152         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
22153         Small docs updates.
22154         Only update the seeking values when we are not
22155         busy streaming.
22156
22157 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
22158
22159         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22160           Oops, ignore the result of gst_pad_push_event here.
22161
22162 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
22163
22164         * gst/base/gstbasesrc.c: (gst_base_src_loop),
22165         (gst_base_src_activate_push):
22166           Send discont event from the loop function, as pads
22167           aren't activated yet in the activate_push handler.
22168
22169         * gst/gstbin.c: (bin_bus_handler):
22170           Don't leak element name.
22171
22172 2005-07-18  Andy Wingo  <wingo@pobox.com>
22173
22174         * configure.ac: Use AS_LIBTOOL_TAGS.
22175
22176 2005-07-18  Wim Taymans  <wim@fluendo.com>
22177
22178         * docs/gst/gstreamer.types:
22179         Remove deleted types.
22180
22181 2005-07-18  Wim Taymans  <wim@fluendo.com>
22182
22183         * check/elements/gstfakesrc.c: (GST_START_TEST):
22184         * configure.ac:
22185         * gst/Makefile.am:
22186         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
22187         (init_popt_callback):
22188         * gst/gst.h:
22189         * gst/gst_private.h:
22190         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
22191         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
22192         * gst/gstbin.h:
22193         * gst/gstbus.h:
22194         * gst/gstconfig.h.in:
22195         * gst/gstelement.c: (gst_element_class_init),
22196         (gst_element_set_base_time), (gst_element_get_base_time),
22197         (iterator_fold_with_resync), (gst_element_change_state),
22198         (gst_element_dispose), (gst_element_get_bus):
22199         * gst/gstelement.h:
22200         * gst/gstelementfactory.h:
22201         * gst/gsterror.c: (_gst_core_errors_init):
22202         * gst/gsterror.h:
22203         * gst/gstevent.h:
22204         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22205         * gst/gstindex.c:
22206         * gst/gstinfo.c: (_gst_debug_init):
22207         * gst/gstmessage.c: (_gst_message_copy):
22208         * gst/gstmessage.h:
22209         * gst/gstminiobject.h:
22210         * gst/gstobject.c:
22211         * gst/gstobject.h:
22212         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22213         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
22214         * gst/gstpad.h:
22215         * gst/gstparse.h:
22216         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22217         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22218         (gst_pipeline_get_last_stream_time):
22219         * gst/gstpipeline.h:
22220         * gst/gstpluginfeature.h:
22221         * gst/gstquery.h:
22222         * gst/gstscheduler.c:
22223         * gst/gstscheduler.h:
22224         * gst/gststructure.h:
22225         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22226         (gst_task_finalize), (gst_task_func), (gst_task_create),
22227         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
22228         (gst_task_stop), (gst_task_pause):
22229         * gst/gsttask.h:
22230         * gst/gsttypefind.h:
22231         * gst/gsttypes.h:
22232         * gst/registries/gstlibxmlregistry.c: (load_feature),
22233         (gst_xml_registry_load), (gst_xml_registry_save_feature):
22234         * gst/registries/gstxmlregistry.c:
22235         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
22236         * gst/schedulers/threadscheduler.c:
22237         * libs/gst/control/dparammanager.h:
22238         * tools/gst-inspect.c: (print_element_list),
22239         (print_plugin_features), (print_element_features):
22240         * tools/gst-xmlinspect.c: (print_element_list),
22241         (print_plugin_info), (main):
22242         Removed plugable schedulers.
22243         Removed Scheduler/Manager from elements.
22244         Removed gsttypes.h, rearranged includes.
22245         Removed dependency pad<->element, element<>pipeline, and
22246         various others,  fix includes.
22247         implement gst_pad_get_parent() with gst_object_get_parent()
22248         Make GstTask sefcontained.
22249         Fix _get_state() on GstBin, it did not return ASYNC with a 0
22250         timeout.
22251         Fix endless loop in iterator_fold_with_resync.
22252
22253
22254 2005-07-18  Wim Taymans  <wim@fluendo.com>
22255
22256         * gst/Makefile.am:
22257         * gst/gstarch.h:
22258         Remove old file.
22259
22260 2005-07-18  Wim Taymans  <wim@fluendo.com>
22261
22262         * gst/Makefile.am:
22263         No more cothreads.h
22264
22265 2005-07-18  Wim Taymans  <wim@fluendo.com>
22266
22267         * gst/cothreads.c:
22268         * gst/cothreads.h:
22269         Let's remove these.
22270
22271 2005-07-18  Wim Taymans  <wim@fluendo.com>
22272
22273         * docs/design/part-dynamic.txt:
22274         * docs/design/part-events.txt:
22275         * docs/design/part-seeking.txt:
22276         Some more docs in the works.
22277
22278         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22279         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
22280         (gst_base_transform_setcaps), (gst_base_transform_get_size),
22281         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22282         (gst_base_transform_handle_buffer),
22283         (gst_base_transform_sink_activate_push),
22284         (gst_base_transform_src_activate_pull),
22285         (gst_base_transform_set_passthrough),
22286         (gst_base_transform_is_passthrough):
22287         Refcounting fixes.
22288
22289         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
22290         Cleanups.
22291
22292         * gst/gstevent.c: (gst_event_finalize):
22293         Set SRC to NULL.
22294
22295         * gst/gstutils.c: (gst_element_unlink),
22296         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
22297         (gst_pad_proxy_setcaps):
22298         * gst/gstutils.h:
22299         Add _get_parent_element() to get a pads parent as an element.
22300
22301 2005-07-18  Wim Taymans  <wim@fluendo.com>
22302
22303         * check/gst/gstbin.c: (GST_START_TEST):
22304         Remove bogus test.
22305
22306 2005-07-18  Wim Taymans  <wim@fluendo.com>
22307
22308         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22309         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22310         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22311         (gst_base_sink_event), (gst_base_sink_do_sync),
22312         (gst_base_sink_chain), (gst_base_sink_loop),
22313         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
22314         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
22315         Refcounting fixes.
22316         Fix logic for returning ASYNC when not prerolled.
22317
22318 2005-07-18  Wim Taymans  <wim@fluendo.com>
22319
22320         * gst/gstqueue.c: (gst_queue_handle_sink_event):
22321         Fix nasty refcount bug.
22322
22323 2005-07-16 Philippe Khalaf <burger@speedy.org>
22324
22325         * gst/elements/gstfdsrc.c:
22326         * gst/elements/gstfdsrc.h:
22327         * gst/elements/gstelements.c:
22328         * gst/elements/Makefile.am:
22329         Ported fdsrc to 0.9.
22330
22331 2005-07-16  Wim Taymans  <wim@fluendo.com>
22332
22333         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22334         (gst_base_sink_do_sync):
22335         Fix compile error.
22336
22337 2005-07-16  Wim Taymans  <wim@fluendo.com>
22338
22339         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22340         (gst_base_sink_event), (gst_base_sink_get_times),
22341         (gst_base_sink_do_sync), (gst_base_sink_change_state):
22342         * gst/base/gstbasesink.h:
22343         Store and use discont values when syncing buffers as described
22344         in design docs.
22345         
22346         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22347         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
22348         (gst_base_src_activate_push):
22349         Push discont event when starting.
22350
22351         * gst/elements/gstidentity.c: (gst_identity_transform):
22352         Small cleanups.
22353
22354         * gst/gstbin.c: (gst_bin_change_state):
22355         Small cleanups in base_time  distribution.
22356
22357         * gst/gstelement.c: (gst_element_set_base_time),
22358         (gst_element_get_base_time), (gst_element_change_state):
22359         * gst/gstelement.h:
22360         Added methods for the base_time of the element.
22361         Some MT fixes.
22362
22363         * gst/gstpipeline.c: (gst_pipeline_send_event),
22364         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22365         (gst_pipeline_get_last_stream_time):
22366         * gst/gstpipeline.h:
22367         MT fixes.
22368         Handle seeking as described in design doc, remove stream_time
22369         hack.
22370         Cleanups clock and stream_time selection code. Added accessors
22371         for the stream_time.
22372         
22373
22374 2005-07-16  Andy Wingo  <wingo@pobox.com>
22375
22376         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
22377         (#305291).
22378
22379 2005-07-16  Wim Taymans  <wim@fluendo.com>
22380
22381         * check/gst/gstbin.c: (GST_START_TEST):
22382         Make elements silent as the deep_notify refs the
22383         parent, which might make the test fail.
22384
22385         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22386         Don't hold the lock for too long.
22387
22388 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
22389
22390         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
22391           Don't unref the caps we passed to gst_caps_make_writable() after
22392           passing them. gst_caps_make_writable() will do that for us.
22393
22394 2005-07-15  Andy Wingo  <wingo@pobox.com>
22395
22396         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
22397         (#157311).
22398
22399         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
22400         own marshalling function for the handoff signal. Properly type the
22401         buffer as a buffer. Fixes some warnings. Should do a more general
22402         solution.
22403         (gst_identity_class_init): Plug into the right marshaller.
22404
22405 2005-07-15  Wim Taymans  <wim@fluendo.com>
22406
22407         * docs/design/part-TODO.txt:
22408         * docs/design/part-clocks.txt:
22409         * docs/design/part-element-sink.txt:
22410         * docs/design/part-events.txt:
22411         * docs/design/part-gstpipeline.txt:
22412         Updated docs, mostly DISCONT related.
22413
22414 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
22415
22416         * docs/pwg/building-pads.xml:
22417           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
22418
22419 2005-07-15  Andy Wingo  <wingo@pobox.com>
22420
22421         * tools/gst-typefind.c: Update, add copyright block.
22422
22423         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
22424         Normalize and truncate caps before fixation.
22425
22426         * gst/gstcaps.h:
22427         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
22428         discards all but the first structure from its argument.
22429
22430 2005-07-15  Wim Taymans  <wim@fluendo.com>
22431
22432         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22433         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
22434         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22435         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22436         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
22437         (gst_base_transform_chain), (gst_base_transform_change_state),
22438         (gst_base_transform_set_passthrough),
22439         (gst_base_transform_is_passthrough):
22440         * gst/base/gstbasetransform.h:
22441         Make passthrough work using the bufferpools.
22442         Changed API a bit, subclasses have to write into a buffer
22443         provided by the base class.
22444         More debug info in nego functions.
22445         
22446         * gst/elements/gstidentity.c: (gst_identity_init),
22447         (gst_identity_transform):
22448         Port to new base class.
22449
22450 2005-07-15  Wim Taymans  <wim@fluendo.com>
22451
22452         * gst/gstmessage.c: (gst_message_new_state_changed):
22453         * tools/gst-launch.c: (event_loop), (main):
22454         Totally dump messages in -launch with the -m option.
22455         Fix message name for State messages,
22456
22457 2005-07-14  Wim Taymans  <wim@fluendo.com>
22458
22459         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22460         Post error messages on errors.
22461
22462 2005-07-14  Wim Taymans  <wim@fluendo.com>
22463
22464         * gst/gstcaps.c: (gst_caps_do_simplify):
22465         Remove debug info.
22466
22467         * gst/gsterror.h:
22468         Define error for stream stopped.
22469
22470         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22471         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
22472         Do proper return values.
22473
22474         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22475         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
22476         (gst_pad_get_range):
22477         Better return values.
22478
22479         * gst/gstpad.h:
22480         Reorganise return values, add macro to check for fatal errors.
22481
22482         * gst/gstqueue.c: (gst_queue_chain):
22483         Return proper GstFlowReturn values,
22484
22485 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
22486
22487         * docs/gst/gstreamer-sections.txt:
22488         * docs/gst/gstreamer.types:
22489         * docs/gst/tmpl/gst.sgml:
22490         * docs/gst/tmpl/gstbasesink.sgml:
22491         * docs/gst/tmpl/gstbasesrc.sgml:
22492         * docs/gst/tmpl/gstbasetransform.sgml:
22493         * docs/gst/tmpl/gstbin.sgml:
22494         * docs/gst/tmpl/gstbuffer.sgml:
22495         * docs/gst/tmpl/gstcaps.sgml:
22496         * docs/gst/tmpl/gstclock.sgml:
22497         * docs/gst/tmpl/gstcompat.sgml:
22498         * docs/gst/tmpl/gstconfig.sgml:
22499         * docs/gst/tmpl/gstelement.sgml:
22500         * docs/gst/tmpl/gstelementdetails.sgml:
22501         * docs/gst/tmpl/gstelementfactory.sgml:
22502         * docs/gst/tmpl/gstenumtypes.sgml:
22503         * docs/gst/tmpl/gsterror.sgml:
22504         * docs/gst/tmpl/gstevent.sgml:
22505         * docs/gst/tmpl/gstfakesink.sgml:
22506         * docs/gst/tmpl/gstfakesrc.sgml:
22507         * docs/gst/tmpl/gstfilesink.sgml:
22508         * docs/gst/tmpl/gstfilesrc.sgml:
22509         * docs/gst/tmpl/gstfilter.sgml:
22510         * docs/gst/tmpl/gstformat.sgml:
22511         * docs/gst/tmpl/gstghostpad.sgml:
22512         * docs/gst/tmpl/gstimplementsinterface.sgml:
22513         * docs/gst/tmpl/gstindex.sgml:
22514         * docs/gst/tmpl/gstindexfactory.sgml:
22515         * docs/gst/tmpl/gstinfo.sgml:
22516         * docs/gst/tmpl/gstiterator.sgml:
22517         * docs/gst/tmpl/gstmacros.sgml:
22518         * docs/gst/tmpl/gstmemchunk.sgml:
22519         * docs/gst/tmpl/gstminiobject.sgml:
22520         * docs/gst/tmpl/gstobject.sgml:
22521         * docs/gst/tmpl/gstpad.sgml:
22522         * docs/gst/tmpl/gstpadtemplate.sgml:
22523         * docs/gst/tmpl/gstparse.sgml:
22524         * docs/gst/tmpl/gstpipeline.sgml:
22525         * docs/gst/tmpl/gstplugin.sgml:
22526         * docs/gst/tmpl/gstpluginfeature.sgml:
22527         * docs/gst/tmpl/gstquery.sgml:
22528         * docs/gst/tmpl/gstqueue.sgml:
22529         * docs/gst/tmpl/gstregistry.sgml:
22530         * docs/gst/tmpl/gstregistrypool.sgml:
22531         * docs/gst/tmpl/gstscheduler.sgml:
22532         * docs/gst/tmpl/gstschedulerfactory.sgml:
22533         * docs/gst/tmpl/gststructure.sgml:
22534         * docs/gst/tmpl/gstsystemclock.sgml:
22535         * docs/gst/tmpl/gsttaglist.sgml:
22536         * docs/gst/tmpl/gsttagsetter.sgml:
22537         * docs/gst/tmpl/gsttrace.sgml:
22538         * docs/gst/tmpl/gsttrashstack.sgml:
22539         * docs/gst/tmpl/gsttypefind.sgml:
22540         * docs/gst/tmpl/gsttypefindfactory.sgml:
22541         * docs/gst/tmpl/gsttypes.sgml:
22542         * docs/gst/tmpl/gsturihandler.sgml:
22543         * docs/gst/tmpl/gsturitype.sgml:
22544         * docs/gst/tmpl/gstutils.sgml:
22545         * docs/gst/tmpl/gstvalue.sgml:
22546         * docs/gst/tmpl/gstversion.sgml:
22547         * docs/gst/tmpl/gstxml.sgml:
22548         * docs/libs/tmpl/gstcontrol.sgml:
22549         * docs/libs/tmpl/gstdataprotocol.sgml:
22550         * docs/libs/tmpl/gstdparam.sgml:
22551         * docs/libs/tmpl/gstdplinint.sgml:
22552         * docs/libs/tmpl/gstdpman.sgml:
22553         * docs/libs/tmpl/gstdpsmooth.sgml:
22554         * docs/libs/tmpl/gstgetbits.sgml:
22555         * docs/libs/tmpl/gstunitconvert.sgml:
22556         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
22557         (gst_push_src_base_init), (gst_push_src_class_init),
22558         (gst_push_src_init), (gst_push_src_create):
22559         * gst/base/gstpushsrc.h:
22560         * gst/elements/gstelements.c:
22561         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
22562         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
22563         (gst_fake_sink_init), (gst_fake_sink_set_property),
22564         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
22565         (gst_fake_sink_event), (gst_fake_sink_preroll),
22566         (gst_fake_sink_render), (gst_fake_sink_change_state):
22567         * gst/elements/gstfakesink.h:
22568         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
22569         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
22570         (gst_fake_src_base_init), (gst_fake_src_class_init),
22571         (gst_fake_src_init), (gst_fake_src_event_handler),
22572         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
22573         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
22574         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
22575         (gst_fake_src_create_buffer), (gst_fake_src_create),
22576         (gst_fake_src_start), (gst_fake_src_stop):
22577         * gst/elements/gstfakesrc.h:
22578         * gst/elements/gstfilesink.c: (_do_init),
22579         (gst_file_sink_base_init), (gst_file_sink_class_init),
22580         (gst_file_sink_init), (gst_file_sink_dispose),
22581         (gst_file_sink_set_location), (gst_file_sink_set_property),
22582         (gst_file_sink_get_property), (gst_file_sink_open_file),
22583         (gst_file_sink_close_file), (gst_file_sink_query),
22584         (gst_file_sink_event), (gst_file_sink_render),
22585         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
22586         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
22587         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
22588         * gst/elements/gstfilesink.h:
22589         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
22590         (gst_file_src_class_init), (gst_file_src_init),
22591         (gst_file_src_finalize), (gst_file_src_set_location),
22592         (gst_file_src_set_property), (gst_file_src_get_property),
22593         (gst_file_src_map_region), (gst_file_src_map_small_region),
22594         (gst_file_src_create_mmap), (gst_file_src_create_read),
22595         (gst_file_src_create), (gst_file_src_is_seekable),
22596         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
22597         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
22598         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
22599         (gst_file_src_uri_handler_init):
22600         * gst/elements/gstfilesrc.h:
22601           more autistic cleanliness in functions/names/defines
22602
22603 2005-07-13  Andy Wingo  <wingo@pobox.com>
22604
22605         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
22606         source couldn't negotiate.
22607
22608         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
22609         connections again.
22610
22611         * gst/gstutils.h:
22612         * gst/gstutils.c (gst_element_link_pads_filtered): New old
22613         function. I am channeling Hades. Put your boots on suckers!!!
22614
22615 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22616
22617         * testsuite/caps/Makefile.am:
22618         * testsuite/caps/value_compare.c:
22619         * testsuite/caps/value_intersect.c:
22620         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22621           move two testsuite apps over to the check dir
22622
22623 2005-07-12  Wim Taymans  <wim@fluendo.com>
22624
22625         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22626         Added more debug info in the negotiate process.
22627
22628         * gst/gstmessage.h:
22629         Prepare for segment playback.
22630
22631         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
22632         Better debugging.
22633
22634         * gst/gstutils.c:
22635         Some more docs.
22636
22637         * tools/gst-launch.c: (main):
22638         NULL pipeline on errors.
22639
22640 2005-07-12  Andy Wingo  <wingo@pobox.com>
22641
22642         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
22643         not it comes from a malloc region. Make sure our copy gets freed.
22644
22645 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22646
22647         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22648         * check/gst/gstmessage.c: (GST_START_TEST):
22649         * check/gst/gststructure.c: (GST_START_TEST),
22650         (gst_structure_suite), (main):
22651           more testing
22652         * gst/gstelement.c: (gst_element_message_full):
22653           clean up GError and debug string now that they get copied
22654         * gst/gstmessage.c: (gst_message_new_error),
22655         (gst_message_new_warning), (gst_message_parse_error),
22656         (gst_message_parse_warning):
22657           use GST_TYPE_G_ERROR for structure_new, and take copies of
22658           arguments, so that we don't mess up refcounting
22659
22660 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22661
22662         * check/Makefile.am:
22663           add per-test valgrind targets
22664         * check/gst-libs/gdp.c: (GST_START_TEST),
22665         (gst_data_protocol_suite), (main):
22666           clean up
22667
22668 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22669
22670         * check/Makefile.am:
22671           instate more valgrindable tests
22672         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22673         (GST_START_TEST), (fakesrc_suite):
22674         * check/gst/gstpad.c: (GST_START_TEST):
22675         * check/gst/gststructure.c: (GST_START_TEST):
22676           fix test leaks
22677         * docs/gst/tmpl/gstminiobject.sgml:
22678         * gst/gstpad.c: (gst_pad_finalize):
22679           fix the static mutex leak
22680
22681 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22682
22683         * check/Makefile.am:
22684           add two more tests for valgrinding
22685         * check/gst/gstvalue.c: (GST_START_TEST):
22686           test refcount of deserialized buffer, found a leak
22687         * docs/gst/gstreamer-docs.sgml:
22688         * docs/gst/gstreamer-sections.txt:
22689         * docs/gst/gstreamer.types:
22690         * docs/gst/tmpl/gstminiobject.sgml:
22691           add miniobject to docs
22692         * gst/gstminiobject.c:
22693           add some docs
22694         * gst/gstvalue.c: (gst_value_deserialize_buffer),
22695         (gst_string_unwrap):
22696           fix a hard-to-find invalid write for one of the tests
22697           fix a leak for deserialized buffers
22698
22699 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22700
22701         * docs/pwg/advanced-events.xml:
22702         * docs/pwg/advanced-request.xml:
22703         * docs/pwg/advanced-scheduling.xml:
22704         * docs/pwg/appendix-porting.xml:
22705         * docs/pwg/building-boiler.xml:
22706         * docs/pwg/intro-preface.xml:
22707         * docs/pwg/other-ntoone.xml:
22708           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
22709           of example code and explanation for pad activation, loop() and
22710           getrange() functions and a bit more. Remove old comments pointing
22711           to loop-functions.
22712         * examples/pwg/Makefile.am:
22713           Add loop/getrange examples.
22714
22715 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22716
22717         * configure.ac:
22718           check for valgrind binary + some fixes
22719         * check/gst.supp:
22720           valgrind suppressions for the tests
22721         * check/Makefile.am:
22722           add a valgrind: target that valgrinds the unit tests
22723         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
22724         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22725         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22726         * check/gst/gstghostpad.c:
22727           added some cleanup
22728         * check/gst/gstdata.c:
22729           removed
22730         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22731         (thread_unref), (gst_mini_object_suite), (main):
22732           added
22733         * gst/gst.c: (gst_deinit):
22734         * gst/gst.h:
22735           add a method to clean up.
22736         * gst/gstsystemclock.c: (gst_system_clock_dispose),
22737         (gst_system_clock_obtain):
22738           allow for disposing the system clock.
22739         * tools/gst-launch.c: (main):
22740           deinit
22741
22742 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22743
22744         * docs/gst/tmpl/gstbasesrc.sgml:
22745         * docs/gst/tmpl/gstfakesrc.sgml:
22746         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22747         (gst_base_src_init), (gst_base_src_set_property),
22748         (gst_base_src_get_property), (gst_base_src_get_range),
22749         (gst_base_src_start):
22750         * gst/base/gstbasesrc.h:
22751           add num-buffers property
22752         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22753         (gst_fakesrc_init), (gst_fakesrc_set_property),
22754         (gst_fakesrc_get_property), (gst_fakesrc_create),
22755         (gst_fakesrc_start):
22756           remove num-buffers property
22757
22758 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22759
22760         * docs/gst/gstreamer-sections.txt:
22761         * docs/gst/tmpl/gstbasesink.sgml:
22762         * docs/gst/tmpl/gstbasesrc.sgml:
22763         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22764         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22765         (gst_base_sink_finalize), (gst_base_sink_set_clock),
22766         (gst_base_sink_set_property), (gst_base_sink_get_property),
22767         (gst_base_sink_handle_object), (gst_base_sink_event),
22768         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22769         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
22770         (gst_base_sink_loop), (gst_base_sink_deactivate),
22771         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
22772         (gst_base_sink_change_state):
22773         * gst/base/gstbasesink.h:
22774         * gst/base/gstbasesrc.h:
22775         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
22776         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22777         (gst_filesink_init):
22778           more macro splitting
22779
22780 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22781
22782         * gst/gstelement.c: (gst_element_get_bus):
22783           add debug
22784         * tools/gst-launch.c: (check_intr), (event_loop):
22785           fix bus leaks
22786
22787 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22788
22789         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
22790           fix a caps leak
22791
22792 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22793
22794         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22795         (gst_base_src_finalize):
22796           add finalize method and clean up properly
22797         * gst/gstpipeline.c: (gst_pipeline_dispose):
22798           add debug
22799
22800 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22801
22802         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
22803         (gst_bin_suite):
22804           add more things to check
22805         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22806         * gst/gstelement.c:
22807           more debug
22808
22809 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22810
22811         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22812         (GST_START_TEST), (fakesrc_suite):
22813         * check/gst-libs/gdp.c: (GST_START_TEST):
22814         * check/gst/gst.c: (GST_START_TEST):
22815         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22816         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22817         * check/gst/gstbus.c: (GST_START_TEST):
22818         * check/gst/gstcaps.c: (GST_START_TEST):
22819         * check/gst/gstdata.c: (GST_START_TEST):
22820         * check/gst/gstelement.c: (GST_START_TEST):
22821         * check/gst/gstghostpad.c: (GST_START_TEST):
22822         * check/gst/gstiterator.c: (GST_START_TEST):
22823         * check/gst/gstmessage.c: (GST_START_TEST):
22824         * check/gst/gstobject.c: (GST_START_TEST):
22825         * check/gst/gstpad.c: (GST_START_TEST):
22826         * check/gst/gststructure.c: (GST_START_TEST):
22827         * check/gst/gstsystemclock.c: (GST_START_TEST),
22828         (gst_systemclock_suite):
22829         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22830         * check/gst/gstvalue.c: (GST_START_TEST):
22831         * check/pipelines/cleanup.c: (GST_START_TEST):
22832         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22833         * check/states/sinks.c: (GST_START_TEST):
22834         * check/gstcheck.c: (gst_check_init):
22835         * check/gstcheck.h:
22836           add debugging category
22837           use GST_START_TEST now, so we add a debug line
22838
22839 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22840
22841         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
22842           add test for state change message on a bin
22843         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
22844           add another test
22845         * gst/gstbin.c: (gst_bin_init):
22846         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
22847         * gst/gstelement.c: (gst_element_post_message),
22848         (gst_element_set_state):
22849         * gst/gstelementfactory.c: (gst_element_factory_create):
22850         * gst/gstmessage.c: (gst_message_new):
22851         * gst/gstscheduler.c:
22852           various debugging additions and cleanups
22853
22854 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22855
22856         * check/Makefile.am:
22857         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
22858         (main):
22859           adding tests for elements
22860         * gst/gstelement.c: (gst_element_dispose):
22861
22862 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22863
22864         * gst/registries/gstlibxmlregistry.c: (load_feature):
22865           plug more leaks.  A simple gst_init() now is leakfree, yay.
22866
22867 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22868
22869         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
22870         (gst_xml_registry_load):
22871           plug another memleak
22872
22873 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22874
22875         * configure.ac:
22876           use GST_SET_ERROR_CFLAGS
22877         * docs/faq/cvs.xml:
22878           change to ERROR_CFLAGS
22879
22880 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22881
22882         * configure.ac:
22883           make GST_ERROR_CFLAGS overridable and re-enable Werror
22884         * docs/faq/cvs.xml:
22885           add a note about error CFLAGS
22886         * docs/gst/tmpl/gstfakesrc.sgml:
22887         * gst/elements/gstfakesrc.c:
22888           comment out some unused code
22889         * gst/gst.c: (split_and_iterate):
22890         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
22891         (load_feature):
22892           plug some memleaks
22893
22894 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22895
22896         * common/Makefile.am:
22897         * common/gtk-doc.mak:
22898         * docs/gst/Makefile.am:
22899           factor out gtk-doc.mak
22900
22901 2005-07-07  Wim Taymans  <wim@fluendo.com>
22902
22903         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
22904         (gst_thread_scheduler_dispose):
22905         Unlock the STREAM_LOCK completely.
22906
22907 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22908
22909         * check/Makefile.am:
22910         * check/elements/.cvsignore:
22911         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22912         (START_TEST), (fakesrc_suite), (main):
22913         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22914         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22915         (gst_fakesrc_create), (gst_fakesrc_start):
22916         * gst/elements/gstfakesrc.h:
22917           adding a first element test
22918
22919 2005-07-07  Andy Wingo  <wingo@pobox.com>
22920
22921         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
22922         debug message.
22923
22924 2005-07-07  Wim Taymans  <wim@fluendo.com>
22925
22926         * gst/gstquery.c:
22927         * gst/gstquery.h:
22928         Remove old types
22929
22930 2005-07-07  Wim Taymans  <wim@fluendo.com>
22931
22932         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22933         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
22934         Allow subclasses to implement their own negotiation.
22935
22936 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22937
22938         * docs/design/part-gstbin.txt:
22939         * docs/design/part-gstpipeline.txt:
22940           Update design notes to reflect the movement of
22941           responsibility for bus handling from GstPipeline to
22942           GstBin
22943
22944 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22945
22946         * configure.ac:
22947           Remove unnecessary queue2/3/4 examples.
22948
22949 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22950
22951         * examples/Makefile.am:
22952         * examples/helloworld/helloworld.c: (event_loop), (main):
22953         * examples/queue/queue.c: (event_loop), (main):
22954         * examples/queue2/queue2.c: (main):
22955           Update a couple of the examples to work again.
22956
22957         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22958         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
22959          Spelling corrections and extra debug.
22960         
22961         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
22962         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
22963         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
22964         * gst/gstbin.h:
22965         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22966         (gst_pipeline_change_state):
22967         * gst/gstpipeline.h:
22968           Move the bus handler for children to the GstBin, and create a
22969           separate bus for receiving messages from children to the one the
22970           bus sends 'upwards' on.
22971
22972 2005-07-06  Wim Taymans  <wim@fluendo.com>
22973
22974         * gst/base/README:
22975         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22976         (gst_base_sink_handle_object), (gst_base_sink_loop),
22977         (gst_base_sink_change_state):
22978         * gst/base/gstbasesink.h:
22979         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22980         (gst_base_src_init), (gst_base_src_setcaps),
22981         (gst_base_src_getcaps), (gst_base_src_loop),
22982         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
22983         (gst_base_src_start), (gst_base_src_change_state):
22984         * gst/base/gstbasesrc.h:
22985         Make basesrc negotiate.
22986         Handle the case where preroll fails in basesink.
22987         Update README.
22988
22989 2005-07-06  Wim Taymans  <wim@fluendo.com>
22990
22991         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
22992         Implement the fixate function.
22993         Clean up acceptcaps.
22994
22995 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22996
22997         * docs/pwg/building-filterfactory.xml:
22998         * docs/pwg/pwg.xml:
22999           Remove never-written filter-factory chapter; I'll add the various
23000           base classes to part 4 ("other element types") later on.
23001
23002 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23003
23004         * docs/pwg/advanced-negotiation.xml:
23005         * docs/pwg/building-boiler.xml:
23006         * docs/pwg/building-pads.xml:
23007         * docs/pwg/pwg.xml:
23008         * examples/pwg/Makefile.am:
23009           Add a chapter on caps negotiation, simplify the original code
23010           samples a bit w.r.t. caps negotiation, add link to the advanced
23011           section. Add a bunch of examples showing different use cases of
23012           different types of caps negotiation. Upstream renegotiation isn't
23013           fully documented yet since nobody knows how that works.
23014
23015 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23016
23017         * check/gst/gstpad.c:
23018         * check/gstcheck.c:
23019         * gst/gstpad.c: (gst_pad_get_internal_links_default):
23020           if pad has no parent, return NULL as list of internal links
23021
23022 2005-07-05  Andy Wingo  <wingo@pobox.com>
23023
23024         * gst/elements/gstfilesrc.c:
23025         * gst/elements/gstfakesrc.c: 
23026         * gst/base/gstpushsrc.c:
23027         * gst/base/gstbasesrc.h: 
23028         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
23029         
23030 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
23031
23032         * Makefile.am:
23033           better report generation target (lcov needs a patch)
23034
23035 2005-07-05  Andy Wingo  <wingo@pobox.com>
23036
23037         * gst/elements, testsuite: Null if we got it...
23038
23039 2005-07-05  Wim Taymans  <wim@fluendo.com>
23040
23041         * configure.ac:
23042         * libs/gst/dataprotocol/Makefile.am:
23043         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
23044         * libs/gst/dataprotocol/dataprotocol.h:
23045         * pkgconfig/Makefile.am:
23046         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
23047         * pkgconfig/gstreamer-dataprotocol.pc.in:
23048         Ported dataprotol to 0.9. 
23049         Added pkgconfig files.
23050
23051 2005-07-05  Andy Wingo  <wingo@pobox.com>
23052
23053         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
23054         Default to returning TRUE for the case when tranform_caps returns
23055         a fixed caps, like for identity or volume.
23056
23057         * check/gst/gstbus.c (pound_bus_with_messages): 
23058         * check/gst/gstmessage.c (START_TEST): 
23059         * check/pipelines/simple_launch_lines.c (got_handoff): Application
23060         message API change.
23061
23062         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
23063         logic weaks here: always run transform_caps, trying passthrough
23064         operation only if the original caps intersects with the transform.
23065
23066         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
23067         source and sink caps.
23068
23069         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
23070         Intersect the peer caps with the pad template before going into
23071         transform_caps.
23072         (gst_base_transform_transform_caps): More debugging.
23073
23074         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
23075         src argument.
23076
23077 2005-07-04  Edward Hervey  <edward@fluendo.com>
23078
23079         * gst/gstutils.c:
23080         * gst/gstutils.h:
23081         (gst_pad_add_*_probe): now returns the signal id for better wrapping
23082         in bindings.
23083
23084 2005-07-04  Andy Wingo  <wingo@pobox.com>
23085
23086         * check/gst/gstpad.c: Only set explicit caps on pads.
23087
23088 2005-07-01  Andy Wingo  <wingo@pobox.com>
23089
23090         * tests/network-clock.scm: Commentary update.
23091
23092         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
23093         Didn't really make sense, not implementable with basetransform,
23094         etc.
23095         (gst_identity_transform): Unref inbuf via make_writable. Feeble
23096         attempt at implementing the sync property, needs an unlock method.
23097
23098         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
23099         New func, by default returns the same caps (the identity
23100         transformation).
23101         (gst_base_transform_getcaps): Uses transform_caps to return
23102         something sensible.
23103         (gst_base_transform_setcaps): Complicated logic to get caps on
23104         both pads, even if they are different, and to call set_caps once
23105         for every time both pads get their caps set.
23106         (gst_base_transform_handle_buffer): Give the ref to the transform
23107         function. Allows in-place modification of the buffer.
23108
23109         * gst/base/gstbasetransform.h (transform_caps): New class method.
23110         Given caps on one side, what can I do on the other.
23111         (set_caps): Take two caps, one for each side of the element.
23112
23113         * gst/gstpad.h:
23114         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
23115         caps in place. This is safe because we can check the mutability of
23116         the caps, and a good idea because fixate functions are just called
23117         as a matter of last resort. (Not actually implemented.)
23118         (gst_pad_set_caps): If the caps we're setting is actually the same
23119         as the existing pad caps, just update the pointer without calling
23120         setcaps. Assert that caps is either NULL or fixed, as per the
23121         docs.
23122
23123         * gst/gstghostpad.c: Update for fixate changes.
23124
23125 2005-07-02  Andy Wingo  <wingo@pobox.com>
23126
23127         * gst/gstcaps.c:
23128         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
23129         two refcounts makes it immutable, which is enough. Doc more.
23130
23131 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
23132
23133         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
23134           Put the mini_object into GValue as a mini_object,
23135           not a gpointer, since that's how we declared
23136           the signal.
23137
23138 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23139
23140         * examples/pwg/Makefile.am:
23141           Fix buildbot again.
23142
23143 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23144
23145         * docs/pwg/building-testapp.xml:
23146           Add extra check.
23147         * examples/pwg/Makefile.am:
23148           Fix buildbot.
23149
23150 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23151
23152         * configure.ac:
23153         * examples/Makefile.am:
23154         * examples/pwg/Makefile.am:
23155         * examples/pwg/extract.pl:
23156           Enable building the PWG examples.
23157         * docs/pwg/advanced-interfaces.xml:
23158           Add URI interface stub.
23159         * docs/pwg/advanced-types.xml:
23160         * docs/pwg/other-autoplugger.xml:
23161         * docs/pwg/appendix-porting.xml:
23162         * docs/pwg/pwg.xml:
23163           Add porting guide (mostly stubs), remove autoplugging (see ADM).
23164         * docs/pwg/building-boiler.xml:
23165         * docs/pwg/building-chainfn.xml:
23166         * docs/pwg/building-pads.xml:
23167         * docs/pwg/building-props.xml:
23168         * docs/pwg/building-state.xml:
23169         * docs/pwg/building-testapp.xml:
23170           Update the building-*.xml parts for 0.9 changes. All examples
23171           code blocks compile in examples/pwg/*.
23172
23173 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23174
23175         * docs/manual/advanced-autoplugging.xml:
23176         * docs/manual/appendix-checklist.xml:
23177         * docs/manual/appendix-integration.xml:
23178         * docs/manual/highlevel-components.xml:
23179           Fix playbin/decodebin examples, update docs a bit, mention bus
23180           instead of signals in various places, mention kmplayer and
23181           kaffeine since they have a working GStreamer backend in the KDE
23182           section.
23183
23184 2005-06-30  Wim Taymans  <wim@fluendo.com>
23185
23186         * CHANGES-0.9:
23187         * docs/design/draft-ghostpads.txt:
23188         * docs/design/draft-push-pull.txt:
23189         * docs/design/draft-query.txt:
23190         * docs/design/part-TODO.txt:
23191         * docs/design/part-query.txt:
23192         Added CHANGES-0.9 doc, updated status of other docs.
23193         
23194         * gst/gstquery.h:
23195         Remove "hmm" macro
23196
23197 2005-06-30  Wim Taymans  <wim@fluendo.com>
23198
23199         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23200         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23201         (gst_base_sink_change_state):
23202         * gst/base/gstbasesink.h:
23203         Some tweaks, only EOS and a buffer complete a preroll.
23204
23205 2005-06-30  Andy Wingo  <wingo@pobox.com>
23206
23207         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
23208         activate_push down to the internal pad as well.
23209
23210 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
23211
23212         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23213
23214         * gst/gsttaginterface.c:
23215           Some documentation fixes (#307394 and #307397).
23216
23217 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
23218
23219         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23220
23221         * gst/gstvalue.c: (gst_value_intersect_list):
23222           Fix memleak (#309125).
23223
23224 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23225
23226         * docs/manual/advanced-dataaccess.xml:
23227           Fix fakesrc example to compile; doesn't work, bug somewhere...?
23228         * docs/manual/basics-pads.xml:
23229           Add reference for filtered caps to above chapter.
23230
23231 2005-06-30  Wim Taymans  <wim@fluendo.com>
23232
23233         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
23234         (gst_bin_change_state):
23235         Probes are gone.
23236         Lame attempt at making the state change function a bit
23237         more readable.
23238
23239 2005-06-30  Wim Taymans  <wim@fluendo.com>
23240
23241         * docs/design/part-clocks.txt:
23242         * docs/design/part-element-sink.txt:
23243         * docs/design/part-events.txt:
23244         * docs/design/part-preroll.txt:
23245         * docs/design/part-states.txt:
23246         Some more tweeks and additions to the docs.
23247
23248 2005-06-30  Wim Taymans  <wim@fluendo.com>
23249
23250         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23251         (default_have_data), (gst_pad_class_init), (gst_pad_init),
23252         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23253         (gst_pad_check_pull_range), (gst_pad_get_range),
23254         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
23255         * gst/gstpad.h:
23256         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
23257         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23258         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23259         (gst_pad_remove_buffer_probe):
23260         Removed atomic operations, use existing LOCK.
23261         Move exception handling out of main code path.
23262
23263 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23264
23265         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23266         (silly_return_true_function), (gst_pad_class_init),
23267         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23268         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
23269         (gst_pad_send_event):
23270           Fix accumulator, add default value by using _emitv() instead
23271           of _emit() for signal emission.
23272
23273 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23274
23275         * docs/manual/advanced-dataaccess.xml:
23276         * examples/manual/Makefile.am:
23277           Add probe example.
23278         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
23279           Make work (??).
23280
23281 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
23282
23283         * gst/elements/gstfilesink.c: (gst_filesink_render):
23284           Simplify code so that we don't have to handle short
23285           writes and return GST_FLOW_ERROR if an error occured.
23286
23287 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23288
23289         * docs/gst/gstreamer-docs.sgml:
23290           Remove probes more.
23291
23292 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23293
23294         * docs/gst/gstreamer-sections.txt:
23295         * docs/gst/tmpl/gstpad.sgml:
23296         * docs/gst/tmpl/gstprobe.sgml:
23297         * gst/Makefile.am:
23298         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23299         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
23300         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23301         (gst_pad_push_event), (gst_pad_send_event):
23302         * gst/gstpad.h:
23303         * gst/gstutils.c: (gst_pad_add_data_probe),
23304         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23305         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23306         (gst_pad_remove_buffer_probe):
23307         * gst/gstutils.h:
23308           Remove old probes, add new g-signal-based probes and some utility
23309           functions.
23310
23311 2005-06-29  Edward Hervey  <edward@fluendo.com>
23312
23313         * gst/gstelementfactory.c:
23314         * gst/gstutils.h:
23315         * gst/gstutils.c:
23316         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
23317         the definition to the header file.
23318
23319 2005-06-29  Andy Wingo  <wingo@pobox.com>
23320
23321         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
23322         plugins from the source directory.
23323
23324 2005-06-29  Wim Taymans  <wim@fluendo.com>
23325
23326         * docs/gst/tmpl/gstbuffer.sgml:
23327         * docs/gst/tmpl/gstclock.sgml:
23328         Some fixings for blantently wrong text.
23329
23330 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23331
23332         * check/Makefile.am:
23333         * gst/gst.c: (add_path_func), (init_pre):
23334         * gst/gstregistry.c: (gst_registry_add_path):
23335           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
23336           only scan the GST_PLUGIN_PATH locations, and not add
23337           system locations
23338
23339 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23340
23341         * docs/gst/gstreamer-sections.txt:
23342         * docs/gst/tmpl/gstbasesrc.sgml:
23343         * gst/gstelement.c:
23344         * gst/gstelement.h:
23345         * gst/gstevent.c:
23346         * gst/gstutils.c:
23347           doc fixes
23348
23349 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23350
23351         * docs/manual/advanced-autoplugging.xml:
23352           Fix autoplugging example.
23353
23354 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23355
23356         * docs/manual/advanced-autoplugging.xml:
23357         * docs/manual/mime-world.fig:
23358           Try to get autoplugging working, fix type detection. Fix text
23359           in hello-world image.
23360
23361 2005-06-29  Wim Taymans  <wim@fluendo.com>
23362
23363         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23364         (gst_base_sink_change_state):
23365         Small debug line.
23366
23367         * gst/gstclock.h:
23368         map SIGNAL and BROADCAST to the right function.
23369
23370         * gst/gstobject.h:
23371         Remove redundant braces.
23372
23373         * gst/gstpad.c: (gst_pad_set_caps):
23374         Don't call setcaps function when reseting caps to NULL.
23375
23376         * gst/gstsystemclock.c: (gst_system_clock_dispose),
23377         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
23378         (gst_system_clock_id_unschedule):
23379         Use BROADCAST as this is what we do.
23380
23381 2005-06-29  Wim Taymans  <wim@fluendo.com>
23382
23383         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23384         We are actually prerolling before commiting the state
23385         change. 
23386
23387 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23388
23389         * docs/manual/advanced-clocks.xml:
23390         * docs/manual/advanced-interfaces.xml:
23391         * docs/manual/advanced-metadata.xml:
23392         * docs/manual/advanced-position.xml:
23393         * docs/manual/advanced-schedulers.xml:
23394         * docs/manual/advanced-threads.xml:
23395         * docs/manual/appendix-porting.xml:
23396         * docs/manual/basics-bins.xml:
23397         * docs/manual/basics-bus.xml:
23398         * docs/manual/basics-elements.xml:
23399         * docs/manual/basics-helloworld.xml:
23400         * docs/manual/basics-pads.xml:
23401         * docs/manual/highlevel-components.xml:
23402         * docs/manual/manual.xml:
23403         * docs/manual/thread.fig:
23404           Update (until threads/scheduling) Application Development Manual;
23405           remove GstThread, add GstBus, add simple porting checklist, add
23406           documentation for tag writing, clocks, make all examples until this
23407           part compile and run.
23408         * examples/manual/Makefile.am:
23409           Update from changes to Application Development Manual; add bus
23410           example, remove thread example.
23411
23412 2005-06-28  Wim Taymans  <wim@fluendo.com>
23413
23414         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
23415         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
23416         (gst_bus_source_dispatch):
23417         Add debugging messages.
23418         Make internal methods static.
23419         Handle the case where the bus is flushed in the handler.
23420         
23421         * gst/gstelement.c: (gst_element_get_bus):
23422         Fix refcount in _get_bus();
23423
23424         * gst/gstpipeline.c: (gst_pipeline_change_state),
23425         (gst_pipeline_get_clock_func):
23426         Clock refcounting fixes.
23427         Handle the case where preroll timed out more gracefully.
23428         
23429         * gst/gstsystemclock.c: (gst_system_clock_dispose):
23430         Clean up the internal thread in dispose. This is needed
23431         for subclasses that actually get disposed.
23432         
23433         * gst/schedulers/threadscheduler.c:
23434         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23435         (gst_thread_scheduler_dispose):
23436         Free thread pool in dispose.
23437
23438 2005-06-28  Andy Wingo  <wingo@pobox.com>
23439
23440         * tests/network-clock-utils.scm (debug, print-event): New utils.
23441
23442         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
23443         (*packet-loss*): Unified loss probability.
23444         (network-time): Report out-of-band events.
23445
23446         * tests/plot-data: Add support for out-of-band events. Hack it
23447         into this script instead of passing it down the pipe; should fix
23448         this later.
23449
23450 2005-06-28  Wim Taymans  <wim@fluendo.com>
23451
23452         * docs/gst/gstreamer.types:
23453         * docs/gst/tmpl/gstbasesrc.sgml:
23454         * docs/gst/tmpl/gstpad.sgml:
23455         Docs fixes.
23456
23457 2005-06-28  Wim Taymans  <wim@fluendo.com>
23458
23459         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23460         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
23461         (gst_proxy_pad_do_fixatecaps):
23462         Correctly proxy the check_pull_range function.
23463
23464 2005-06-28  Andy Wingo  <wingo@pobox.com>
23465
23466         * tests/network-clock.scm: Removed need for slib.
23467         
23468 2005-06-28  Wim Taymans  <wim@fluendo.com>
23469
23470         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
23471         (gst_basesink_preroll_queue_flush):
23472         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
23473         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
23474         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23475         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23476         (gst_proxy_pad_set_property):
23477         * gst/gstpad.c:
23478         * gst/gstpad.h:
23479         * gst/gstqueue.c: (gst_queue_init):
23480         The deprecated pad loop function is removed now.
23481
23482 2005-06-28  Andy Wingo  <wingo@pobox.com>
23483
23484         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
23485         New parameters, simulate network packet loss.
23486
23487         * tests/network-clock-utils.scm: Initialize the RNG.
23488
23489 2005-06-28  Wim Taymans  <wim@fluendo.com>
23490
23491         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
23492         (gst_basesink_event), (gst_basesink_deactivate):
23493         Flushing the preroll queue always needs to unlock the waiters.
23494
23495 2005-06-28  Edward Hervey  <edward@fluendo.com>
23496
23497         * gst/gstpipeline.c: (gst_pipeline_send_event): 
23498         Wheen a seek was successful on a pipeline, set the stream_time to the
23499         seek offset in order to have a synchronized stream_time.
23500
23501 2005-06-28  Wim Taymans  <wim@fluendo.com>
23502
23503         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23504         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
23505         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
23506         (gst_proxy_pad_do_fixatecaps):
23507         Call wrapper function instead of just calling the function
23508         pointers. This takes care of any locking and whatmore.
23509
23510 2005-06-28  Wim Taymans  <wim@fluendo.com>
23511
23512         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
23513         (gst_pad_pull_range):
23514         * gst/gstpad.h:
23515         CONNECTED -> LINKED.
23516
23517 2005-06-28  Andy Wingo  <wingo@pobox.com>
23518
23519         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
23520         source-munging commit!!!
23521
23522         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
23523         (gst_object_sink): Take gpointer arguments, not GstObject --
23524         avoids casts. Like GLib.
23525
23526         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
23527         activate.
23528
23529 2005-06-27  Andy Wingo  <wingo@pobox.com>
23530
23531         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
23532         remaining buffer.
23533
23534         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
23535         returns a sorted copy of the trace list.
23536         (gst_alloc_trace_print_live): New API, only prints traces with
23537         live objects. Sort the list.
23538         (gst_alloc_trace_print_all): Sort the list.
23539         (gst_alloc_trace_print): Align columns.
23540
23541         * gst/elements/gstttypefindelement.c:
23542         * gst/elements/gsttee.c:
23543         * gst/base/gstbasesrc.c:
23544         * gst/base/gstbasesink.c:
23545         * gst/base/gstbasetransform.c:
23546         * gst/gstqueue.c: Adapt for pad activation changes.
23547
23548         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
23549         sched.
23550         (gst_pipeline_dispose): Drop ref on sched.
23551
23552         * gst/gstpad.c (gst_pad_init): Set the default activate func.
23553         (gst_pad_activate_default): Push mode by default.
23554         (pre_activate_switch, post_activate_switch): New stubs, things to
23555         do before and after switching activation modes on pads.
23556         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
23557         the pad's activate function to choose which mode to activate.
23558         Shortcut on deactivation and call the right function directly.
23559         (gst_pad_activate_pull): New API, (de)activates a pad in pull
23560         mode.
23561         (gst_pad_activate_push): New API, same for push mode.
23562         (gst_pad_set_activate_function) 
23563         (gst_pad_set_activatepull_function) 
23564         (gst_pad_set_activatepush_function): Setters for new API.
23565
23566         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
23567         Trace all miniobjects.
23568         (gst_mini_object_make_writable): Unref the arg if we copy, like
23569         gst_caps_make_writable.
23570
23571         * gst/gstmessage.c (_gst_message_initialize): No trace init.
23572
23573         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
23574         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
23575         Adapt for new pad API.
23576
23577         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
23578
23579         * gst/gstelement.h:
23580         * gst/gstelement.c (gst_element_iterate_src_pads) 
23581         (gst_element_iterate_sink_pads): New API functions.
23582         
23583         * gst/gstelement.c (iterator_fold_with_resync): New utility,
23584         should fold into gstiterator.c in some form.
23585         (gst_element_pads_activate): Simplified via use of fold and
23586         delegation of decisions to gstpad->activate.
23587
23588         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
23589         help in debugging.
23590
23591         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
23592         class once in init, like gstmessage. Didn't run into this issue
23593         but it seems correct. Don't initialize a trace, gstminiobject does
23594         that.
23595
23596         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
23597         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
23598         to the bus.
23599         (assert_live_count): New util function, uses alloc traces to check
23600         cleanup.
23601
23602         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
23603         To be modified when unlink drops the internal pad.
23604
23605 2005-06-27  Wim Taymans  <wim@fluendo.com>
23606
23607         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
23608         (gst_bin_change_state):
23609         Cleanup the get_state() function a little, make sure it
23610         iterates the same set of elements.
23611         Added stub iterate_state_order().
23612
23613 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
23614
23615         * docs/gst/gstreamer-docs.sgml:
23616         * docs/gst/gstreamer-sections.txt:
23617         * docs/gst/gstreamer.types:
23618         * docs/gst/tmpl/gstbasesink.sgml:
23619         * docs/gst/tmpl/gstbasesrc.sgml:
23620         * docs/gst/tmpl/gstbasetransform.sgml:
23621         * docs/gst/tmpl/gstelement.sgml:
23622         * docs/gst/tmpl/gstiterator.sgml:
23623         * gst/base/gstbasesrc.c:
23624         * gst/base/gstbasesrc.h:
23625         * gst/base/gstbasetransform.h:
23626         * gst/gstelement.c:
23627         * gst/gstiterator.h:
23628           adding basetransform and iterator docs
23629
23630 2005-06-27  Andy Wingo  <wingo@pobox.com>
23631
23632         * docs/design/part-activation.txt: Notes on how activation should
23633         work -- not quite implemented yet.
23634
23635 2005-06-25  Wim Taymans  <wim@fluendo.com>
23636
23637         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
23638         At least get the chain function correct, needs more
23639         fixing.
23640
23641 2005-06-25  Wim Taymans  <wim@fluendo.com>
23642
23643         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23644         (gst_basesink_handle_object), (gst_basesink_event),
23645         (gst_basesink_do_sync), (gst_basesink_handle_event),
23646         (gst_basesink_change_state):
23647         * gst/gsttask.h:
23648         Right, two problems here: ghostpads don't take locks and
23649         glib _rec_mutex_lock_full() with depth==0 still locks.
23650         Catch illegal locking and g_warn them.
23651
23652 2005-06-25  Wim Taymans  <wim@fluendo.com>
23653
23654         * check/states/sinks.c: (START_TEST), (gst_object_suite):
23655         Have to check for completion now...
23656
23657 2005-06-25  Wim Taymans  <wim@fluendo.com>
23658
23659         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23660         (gst_basesink_handle_object), (gst_basesink_event),
23661         (gst_basesink_do_sync), (gst_basesink_handle_event),
23662         (gst_basesink_change_state):
23663         * gst/gstpad.h:
23664         Unlock STREAM_LOCK whatever the recursion was.
23665
23666 2005-06-25  Wim Taymans  <wim@fluendo.com>
23667
23668         * gst/base/gstbasesink.c: (gst_basesink_set_property),
23669         (gst_basesink_preroll_queue_empty),
23670         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
23671         (gst_basesink_event), (gst_basesink_do_sync),
23672         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
23673         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
23674         (gst_basesink_change_state):
23675         Reworked the base sink, handle event and buffer serialisation
23676         correctly and removed possible deadlock.
23677         Handle EOS correctly.
23678
23679 2005-06-25  Wim Taymans  <wim@fluendo.com>
23680
23681         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
23682         (gst_pipeline_change_state):
23683         * tools/gst-launch.c: (check_intr), (event_loop), (main):
23684         Allow elements to post EOS in the state change function.
23685         Fix up -launch, make it exit the poll loop when the
23686         pipeline actually changed state.
23687         Fix up warning parsing in -launch.
23688
23689 2005-06-25  Wim Taymans  <wim@fluendo.com>
23690
23691         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
23692         (gst_tee_sink_activate):
23693         Core takes STREAM_LOCK for us now.
23694
23695 2005-06-25  Wim Taymans  <wim@fluendo.com>
23696
23697         * gst/gstelement.c: (gst_element_get_state_func),
23698         (gst_element_set_state):
23699         * gst/gstelement.h:
23700         * gst/gstmessage.c: (gst_message_parse_error),
23701         (gst_message_parse_warning):
23702         Keep track of current target state while performing a state
23703         change so that subclasses can do something interesting.
23704         Fix parsing of warning/error messages when GError is NULL.
23705
23706 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
23707
23708         * docs/gst/Makefile.am:
23709         * docs/gst/gstreamer-docs.sgml:
23710         * docs/gst/gstreamer-sections.txt:
23711         * docs/gst/gstreamer.types:
23712         * docs/gst/tmpl/gstbasesink.sgml:
23713         * docs/gst/tmpl/gstbasesrc.sgml:
23714         * docs/gst/tmpl/gstbin.sgml:
23715         * docs/gst/tmpl/gstcompat.sgml:
23716         * docs/gst/tmpl/gstfakesink.sgml:
23717         * docs/gst/tmpl/gstfakesrc.sgml:
23718         * docs/gst/tmpl/gstfilesink.sgml:
23719         * docs/gst/tmpl/gstfilesrc.sgml:
23720         * docs/gst/tmpl/gstindex.sgml:
23721         * docs/manual/appendix-quotes.xml:
23722         * gst/base/gstbasesrc.h:
23723         * gst/elements/gstfakesrc.h:
23724         * gst/gstmessage.h:
23725           start pulling in base classes and elements in our docs
23726
23727 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
23728
23729         * docs/gst/Makefile.am:
23730         * docs/libs/Makefile.am:
23731           fixed make distcheck with gtk-doc 1.3
23732
23733 2005-06-23  Wim Taymans  <wim@fluendo.com>
23734
23735         * gst/gstelement.c: (gst_element_get_state_func),
23736         (gst_element_set_state), (gst_element_change_state):
23737         When the state did not change, also report NO_PREROLL
23738         when it matters.
23739
23740 2005-06-23  Wim Taymans  <wim@fluendo.com>
23741
23742         * gst/gstpad.c: (gst_pad_event_default):
23743         * gst/gstqueue.c: (gst_queue_loop):
23744         No unsafe task pausing please.
23745
23746 2005-06-23  Wim Taymans  <wim@fluendo.com>
23747
23748         * gst/schedulers/threadscheduler.c:
23749         (gst_thread_scheduler_task_start),
23750         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
23751         Ref the task before pushing it on the threadpool. This
23752         makes sure that we have a ref when the threadfunction is
23753         actually called.
23754
23755 2005-06-23  Andy Wingo  <wingo@pobox.com>
23756
23757         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
23758         offset is greater than the file's size.
23759
23760         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
23761         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
23762         * gst/gstobject.c (gst_object_class_init): Make the class lock
23763         recursive. Wim won't let me drop deep_notify. Decodebin works
23764         again, whoopdy doo.
23765
23766         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
23767         internal pad, and hacks accordingly. Doesn't do it on the target
23768         pad because we change its caps. Probably catches all cases of
23769         interest tho.
23770         (gst_ghost_pad_set_property): Connect to notify::caps as
23771         appropritate.
23772
23773         * tests/network-clock.scm (plot-simulation): Pipe data to the
23774         elite python skript.
23775
23776         * tests/network-clock-utils.scm (define-parameter): New macro,
23777         defines a parameter that can be set via the command line.
23778         (set-parameter!, parse-parameter-arguments): Command line args
23779         parser.
23780
23781         * tests/plot-data: Simple matplotlib-based plotter, takes input on
23782         stdin.
23783
23784 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
23785
23786         * gst/elements/gsttypefindelement.c:
23787         (gst_type_find_element_handle_event):
23788           Don't restart typefinding on a discont.
23789         * gst/gstelement.c: (gst_element_set_state):
23790           Debug spelling fix.
23791         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
23792           Allow changing mode of an active pad.
23793           Debug output fixes.
23794         * gst/registries/gstlibxmlregistry.c: (load_feature):
23795           Don't cast a static pad template to a normal pad template.
23796
23797 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23798
23799         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23800         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23801           remove gst_strtoll completely, since it didn't actually do
23802           anything more than what g_ascii_strtoull already does.
23803           check for range errors when deserializing
23804           do a cast for the unsigned cases; but further fixing needs
23805           a decision on what the interpretation of "(int)" and
23806           deserialization should be for values that fall outside the
23807           type's boundaries (ie, refuse, or interpret as casting)
23808
23809 2005-06-23  Wim Taymans  <wim@fluendo.com>
23810
23811         * check/Makefile.am:
23812         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
23813         * docs/design/part-live-source.txt:
23814         * docs/design/part-states.txt:
23815         * gst/base/gstbasesrc.c: (gst_basesrc_init),
23816         (gst_basesrc_set_live), (gst_basesrc_is_live),
23817         (gst_basesrc_get_range), (gst_basesrc_activate),
23818         (gst_basesrc_change_state):
23819         * gst/base/gstbasesrc.h:
23820         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23821         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23822         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
23823         * gst/gstelement.c: (gst_element_get_state_func),
23824         (gst_element_set_state):
23825         * gst/gstelement.h:
23826         * gst/gsttypes.h:
23827         * tools/gst-launch.c: (event_loop), (main):
23828         Added support for live sources and other elements that
23829         cannot do preroll.
23830         Updated design docs, added live-source design doc.
23831         Implemented live source functionality in basesrc
23832         Fix error condition in _bin_get_state()
23833         Implement live source handling in -launch.
23834         Added check for live sources.
23835         Fixed case in GstBin where elements were changed state
23836         multiple times.
23837
23838
23839 2005-06-23  Andy Wingo  <wingo@pobox.com>
23840
23841         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
23842         borken refcounting.
23843
23844         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
23845         gst_caps_replace takes care of this for us.
23846
23847         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
23848         gst_pad_set_caps on the target, not just its setcaps() function.
23849
23850         * tests/network-clock.scm: 
23851         * tests/network-clock-utils.scm: A network clock simulator.
23852         Something of an algorithmic testbed before doing something in C.
23853
23854 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23855
23856         * check/Makefile.am:
23857         * check/gst/capslist.h:
23858           copy over from 0.8, and add two with bitmasks specified with
23859           (int) 0xFF...
23860         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23861           add test to parse everything from capslist.h
23862         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
23863         (main):
23864           add test for structure deserialization
23865         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23866           add tests for deserialization of strings to int types
23867         * gst/gststructure.c: (gst_structure_nth_field_name):
23868         * gst/gststructure.h:
23869           add a way to get the name of a field referenced by index
23870         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23871           instead of checking if the resulting long long lies between
23872           min and max, we check if the long long would fit into
23873           a number of bytes for the final type.
23874           This fixes cases where a string represents 2^32 - 1, which
23875           when cast to int would be the (valid) -1, but is bigger than
23876           G_MAXINT
23877
23878 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23879
23880         * gst/parse/grammar.y:
23881           add a log line for type deserialization
23882
23883 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23884
23885         * check/gst/gstvalue.c: (START_TEST):
23886         * gst/gstvalue.c: (gst_value_deserialize):
23887           return long long, not int, so gint64 deserialization actually
23888           works.  Is there any flag that makes the compiler check this ?
23889           Fixes #308559
23890
23891 2005-06-22  Wim Taymans  <wim@fluendo.com>
23892
23893         * gst/gstbuffer.h:
23894         Added convenience macros for setting buffers in GValue.
23895
23896 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23897
23898         * check/gst/.cvsignore:
23899         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23900           add a test deserializing int64, and comment part out because
23901           it fails, yay !
23902
23903 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23904
23905         * check/Makefile.am:
23906         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
23907         * testsuite/Makefile.am:
23908         * testsuite/caps/Makefile.am:
23909         * testsuite/caps/value_serialize.c:
23910         * testsuite/test_gst_init.c:
23911           move a value_serialize test over
23912
23913 2005-06-20  Wim Taymans  <wim@fluendo.com>
23914
23915         * gst/gstpad.c:
23916         Small doc updates.
23917         
23918         * gst/gstvalue.c: (gst_value_compare_buffer),
23919         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
23920         (gst_value_compare_flags), (gst_value_serialize_flags),
23921         (gst_value_deserialize_flags), (_gst_value_initialize):
23922         Fix serialisation of buffers, they are not boxed types anymore
23923
23924 2005-06-20  Wim Taymans  <wim@fluendo.com>
23925
23926         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23927         Testcase to show error in buffer-on-caps serialisation.
23928
23929 2005-06-20  Andy Wingo  <wingo@pobox.com>
23930
23931         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
23932         will be adding to later.
23933
23934         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
23935         if its socks fill with rocks.
23936         (gst_system_clock_obtain): Set the name on object construction.
23937         Avoid double-checked locking.
23938
23939 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
23940
23941         * gst/gsturi.c: (gst_element_make_from_uri):
23942           Fix potential endless loop.
23943
23944 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23945
23946         * check/Makefile.am:
23947           add gsttag
23948         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
23949         (main):
23950           move over from testsuite dir and clean up
23951         * configure.ac:
23952         * gst/gsttag.c:
23953         * testsuite/Makefile.am:
23954         * testsuite/tags/.cvsignore:
23955         * testsuite/tags/Makefile.am:
23956         * testsuite/tags/merge.c:
23957           remove testsuite/tags
23958
23959 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23960
23961         * docs/gst/gstreamer-sections.txt:
23962         * docs/gst/tmpl/gstenumtypes.sgml:
23963         * win32/gstenumtypes.c:
23964           clean up documentation build a little
23965
23966 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23967
23968         * check/gstcheck.h:
23969           add macros for checking refcounts on objects and caps
23970         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
23971           add some more unit tests
23972         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23973         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
23974           fix leaked refcounts (I hope :)) so unittest works
23975         * gst/gstpad.h:
23976           whitespace removal
23977
23978 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23979
23980         * configure.ac: back to HEAD
23981
23982 === release 0.9.1 ===
23983
23984 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
23985
23986         * NEWS:
23987         * RELEASE:
23988           updated
23989
23990 2005-06-17  Andy Wingo  <wingo@pobox.com>
23991
23992         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
23993         assert; it's always possible that the pad gets deactivated in
23994         between the checks in gstpad.c and the implementation. Rely on
23995         finish_preroll() to return a FLUSHING or similar instead of on the
23996         assert.
23997         
23998         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
23999         clock and post an EOS message if we come out of finish_preroll in
24000         the playing state.
24001
24002 2005-06-16  David Schleef  <ds@schleef.org>
24003
24004         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
24005         (gst_capsfilter_set_property): Allow NULL as possible value
24006         for filter_caps property, indicating GST_CAPS_ANY.
24007
24008 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24009
24010         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
24011           fix debug output
24012         * gst/schedulers/Makefile.am:
24013           use libgst prefix
24014         * gstreamer.spec.in:
24015           fix spec for it
24016
24017 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24018
24019         * gstreamer.spec.in:
24020           clean up
24021
24022 2005-06-08  Andy Wingo  <wingo@pobox.com>
24023
24024         * gst/gstutils.c: RPAD fixes all around.
24025         (gst_element_link_pads): Refcounting fixes.
24026
24027         * tools/gst-inspect.c:
24028         * tools/gst-xmlinspect.c:
24029         * parse/grammar.y:
24030         * gst/base/gsttypefindhelper.c:
24031         * gst/base/gstbasesink.c:
24032         * gst/gstqueue.c: RPAD fixes.
24033
24034         * gst/gstghostpad.h:
24035         * gst/gstghostpad.c: New ghost pad implementation as full proxy
24036         pads. The tricky thing is they provide both source and sink
24037         interfaces, since they proxy the internal pad for the external
24038         pad, and vice versa. Implement with lower-level ProxyPad objects,
24039         with the interior proxy pad as a child of the exterior ghost pad.
24040         Should write a doc on this.
24041         
24042         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
24043         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
24044         gst_object API.
24045         
24046         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
24047         pads are real pads. No ghost pads in this file. Not documenting
24048         the myriad s/RPAD/PAD/ and REALIZE fixes.
24049         (gst_pad_class_init): Add properties for "direction" and
24050         "template". Both are construct-only, so they can't change during
24051         the life of the pad. Fixes properly deriving from GstPad.
24052         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
24053         derived objects, just set properties when creating the objects via
24054         g_object_new.
24055         (gst_pad_get_parent): Implement as a function, return NULL if the
24056         parent is not an element.
24057         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
24058         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
24059         
24060         * gst/gstobject.c (gst_object_class_init): Make name a construct
24061         property. Don't set it in the object init.
24062
24063         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
24064         with UNKNOWN direction.
24065         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
24066         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
24067         (gst_element_remove_pad): Remove ghost-pad special cases.
24068         (gst_element_pads_activate): Remove rpad cruft.
24069
24070         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
24071         catch the pad's-parent-not-an-element case.
24072
24073         * gst/gst.h: Include gstghostpad.h.
24074
24075         * gst/gst.c (init_post): No more real, ghost pads.
24076
24077         * gst/Makefile.am: Add gstghostpad.[ch].
24078
24079         * check/Makefile.am:
24080         * check/gst/gstbin.c:
24081         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
24082         into a bin creates ghost pads, and that the refcounts are right.
24083         Partly moved from gstbin.c.
24084
24085 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24086
24087         * check/gst-libs/.cvsignore:
24088         * check/gst/.cvsignore:
24089         * check/pipelines/.cvsignore:
24090           ignore more
24091         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
24092         (START_TEST), (cleanup_suite), (main):
24093           add some tests related to cleanup after running pipelines
24094
24095 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24096
24097         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
24098           add a testsuite for GstBuffer
24099
24100 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24101
24102         * gst/gstminiobject.h:
24103           add defines for accessing the refcount
24104
24105 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
24106
24107         * Makefile.am: added support for html unit test coverage reports
24108
24109 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
24110
24111         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24112           Free existing caps if the capsfilter changes. Add a FIXME about
24113           setting those caps on the pads.
24114
24115         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
24116           Before adding a ghost pad to a parent bin, check that there isn't
24117           already one for the element on the bin. Prevents infinite recursion
24118           when using decodebin in parse pipelines. Andy says he'll rewrite the
24119           way this works anyway, so ignore the hack.
24120
24121 2005-06-02  Andy Wingo  <wingo@pobox.com>
24122
24123         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
24124         file size, pass it on to the type find helper.
24125
24126         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
24127         segment_start and segment_end properly according to the seek
24128         method. Segment_end is still a bit flaky because offset can be
24129         negative for CUR and END cases, but it takes -1 as an "unset"
24130         value.
24131
24132 2005-06-02  Wim Taymans  <wim@fluendo.com>
24133
24134         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
24135         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
24136         (gst_basesink_activate):
24137         * gst/base/gstbasesink.h:
24138         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24139         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24140         (gst_pad_query), (gst_pad_start_task):
24141         * gst/gstpad.h:
24142         * gst/gstqueue.c: (gst_queue_bufferalloc),
24143         (gst_queue_handle_sink_event), (gst_queue_chain):
24144         Bufferalloc: return GstFlowReturn to more accuratly report
24145         why allocation failed.
24146
24147 2005-06-02  Wim Taymans  <wim@fluendo.com>
24148
24149         * gst/gstpipeline.c: (gst_pipeline_send_event):
24150         Take snapshot of state without blocking.
24151
24152 2005-06-02  Wim Taymans  <wim@fluendo.com>
24153
24154         * docs/design/part-TODO.txt:
24155         * docs/design/part-caps.txt:
24156         * docs/design/part-clocks.txt:
24157         * docs/design/part-negotiation.txt:
24158         * docs/design/part-preroll.txt:
24159         Small doc updates 
24160
24161 2005-05-30  Wim Taymans  <wim@fluendo.com>
24162
24163         * gst/elements/gstidentity.c: (gst_identity_event),
24164         (gst_identity_transform), (gst_identity_get_property):
24165         Protect last_message property as it is accessed from
24166         multiple threads.
24167
24168 2005-05-30  Wim Taymans  <wim@fluendo.com>
24169
24170         * gst/gstelement.c: (gst_element_init),
24171         (gst_element_pads_activate), (gst_element_change_state):
24172         Slicker pad activation code.
24173
24174 2005-05-30  Wim Taymans  <wim@fluendo.com>
24175
24176         * gst/Makefile.am:
24177         * gst/gstelement.h:
24178         * gst/gstelementfactory.h:
24179         * gst/gsttypes.h:
24180         Move elementfactory methods to separate .h file.
24181
24182 2005-05-30  Wim Taymans  <wim@fluendo.com>
24183
24184         * docs/design/part-overview.txt:
24185         * gst/gstsystemclock.h:
24186         Small typo fixes, doc updates.
24187
24188 2005-05-30  Wim Taymans  <wim@fluendo.com>
24189
24190         * gst/gst.c: (gst_init_get_popt_table), (init_post),
24191         (init_popt_callback):
24192         Remove cpu-opt flag.
24193
24194 2005-05-30  Wim Taymans  <wim@fluendo.com>
24195
24196         * gst/gstbuffer.c: (gst_subbuffer_finalize),
24197         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
24198         * gst/gstbuffer.h:
24199         Avoid typechecking in places where not needed.
24200         Added accessor for malloc_data.
24201
24202 2005-05-30  Wim Taymans  <wim@fluendo.com>
24203
24204         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
24205         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
24206         (gst_pad_configure_sink), (gst_pad_configure_src),
24207         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
24208         (gst_pad_start_task):
24209         Propagate errors from _set_caps() in configure_src/sink
24210         functions instead of returning TRUE.
24211         FLUSH events can travel up and downstream
24212
24213
24214 2005-05-30  Wim Taymans  <wim@fluendo.com>
24215
24216         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24217         (gst_basesink_activate):
24218         Handle EOS in preroll.
24219
24220 2005-05-30  Wim Taymans  <wim@fluendo.com>
24221
24222         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24223         (gst_queue_loop), (gst_queue_handle_src_event):
24224         Remove old pieces of code
24225         Flushing the queue in an upstream event is a very bad idea.
24226
24227 2005-05-26  Andy Wingo  <wingo@pobox.com>
24228
24229         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
24230         gst_value_set_mini_object so as to add a ref on the object (which
24231         will be removed when the value is unset).
24232
24233         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
24234         arg type in ::handoff.
24235
24236         * gst/gstelement.c (gst_element_change_state): Also deactivate
24237         pads in READY->NULL, just in case the element didn't make it to
24238         PAUSED. Wingo tested, Wim approved.
24239
24240 2005-05-26  Wim Taymans  <wim@fluendo.com>
24241
24242         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24243         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24244         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
24245         A flushing pad cannot be used to alloc_buffer from.
24246
24247 2005-05-26  Wim Taymans  <wim@fluendo.com>
24248
24249         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
24250         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
24251         (gst_bus_source_dispatch), (gst_bus_source_finalize),
24252         (gst_bus_create_watch), (gst_bus_add_watch_full):
24253         * gst/gstbus.h:
24254         Implement a real GSource and use g_main_context_wakeup() to
24255         signal new messages instead of the socketpair.
24256
24257 2005-05-25  Wim Taymans  <wim@fluendo.com>
24258
24259         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
24260         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
24261         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24262         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24263         (gst_pad_send_event), (gst_pad_start_task):
24264         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
24265         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24266         (gst_queue_sink_activate), (gst_queue_src_activate),
24267         (gst_queue_change_state):
24268         * gst/gstqueue.h:
24269         Fix state changes for non sinks. We now change sinks, then elements
24270         with unconnected srcpads, then the rest.
24271         More efficient queue unlocking in flush and state changes.
24272         Set the pad activate mode even if it does not have an activate
24273         function.
24274
24275 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24276
24277         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
24278           Don't go in pull mode for non-seekable sources.
24279         * gst/elements/gsttypefindelement.h:
24280         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24281         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
24282         (free_entry), (stop_typefinding),
24283         (gst_type_find_element_handle_event), (find_peek),
24284         (gst_type_find_element_chain), (do_pull_typefind),
24285         (gst_type_find_element_change_state):
24286           Allow typefinding (w/o seeking) in push-mode, simplified version
24287           of what was in 0.8.
24288         * gst/gstutils.c: (gst_buffer_join):
24289         * gst/gstutils.h:
24290           gst_buffer_join() from 0.8.
24291
24292 2005-05-25  Wim Taymans  <wim@fluendo.com>
24293
24294         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24295         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24296         (gst_pad_send_event), (gst_pad_start_task):
24297         Disable attempt at mode switching until it is figured out.
24298
24299 2005-05-25  Wim Taymans  <wim@fluendo.com>
24300
24301         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
24302         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24303         (gst_basesink_finish_preroll), (gst_basesink_chain),
24304         (gst_basesink_loop), (gst_basesink_activate),
24305         (gst_basesink_change_state):
24306         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
24307         (gst_basesrc_get_range), (gst_basesrc_loop),
24308         (gst_basesrc_activate):
24309         * gst/elements/gsttee.c: (gst_tee_sink_activate):
24310         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24311         (gst_real_pad_init), (gst_real_pad_set_property),
24312         (gst_real_pad_get_property), (gst_pad_set_active),
24313         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
24314         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
24315         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
24316         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
24317         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24318         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
24319         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
24320         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24321         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
24322         (gst_pad_stop_task):
24323         * gst/gstpad.h:
24324         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24325         (gst_queue_loop), (gst_queue_src_activate):
24326         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
24327         (gst_task_get_state):
24328         * gst/gsttask.h:
24329         * gst/schedulers/threadscheduler.c:
24330         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
24331         Implement gst_pad_pause/start/stop_task(), take STREAM lock
24332         in task function.
24333         Remove ACTIVE pad flag, use FLUSHING everywhere
24334         Added _pad_chain(), _pad_get_range() to call chain/getrange 
24335         functions.
24336         Add locks around IS_FLUSHING when reading.
24337         Take STREAM lock in chain(), get_range() functions so plugins
24338         don't need to take it anymore.
24339         
24340
24341
24342 2005-05-25  Wim Taymans  <wim@fluendo.com>
24343
24344         * tools/gst-launch.c: (event_loop):
24345         Unref message after using its contents instead of
24346         before.
24347
24348 2005-05-24  Wim Taymans  <wim@fluendo.com>
24349
24350         * docs/design/draft-ghostpads.txt:
24351         * docs/design/draft-push-pull.txt:
24352         * docs/design/draft-query.txt:
24353         * docs/design/part-overview.txt:
24354         Docs updates, added general overview doc.
24355
24356 2005-05-21  David Schleef  <ds@schleef.org>
24357
24358         * docs/gst/tmpl/old/GstBin.sgml:
24359         * docs/gst/tmpl/old/GstBuffer.sgml:
24360         * docs/gst/tmpl/old/GstCaps.sgml:
24361         * docs/gst/tmpl/old/GstClock.sgml:
24362         * docs/gst/tmpl/old/GstCompat.sgml:
24363         * docs/gst/tmpl/old/GstData.sgml:
24364         * docs/gst/tmpl/old/GstElement.sgml:
24365         * docs/gst/tmpl/old/GstEvent.sgml:
24366         * docs/gst/tmpl/old/GstIndex.sgml:
24367         * docs/gst/tmpl/old/GstStructure.sgml:
24368         * docs/gst/tmpl/old/GstTag.sgml:
24369         * docs/gst/tmpl/old/cothreads.sgml:
24370         * docs/gst/tmpl/old/cothreads_compat.sgml:
24371         * docs/gst/tmpl/old/gettext.sgml:
24372         * docs/gst/tmpl/old/gobject2gtk.sgml:
24373         * docs/gst/tmpl/old/grammar.tab.sgml:
24374         * docs/gst/tmpl/old/gst-i18n-app.sgml:
24375         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
24376         * docs/gst/tmpl/old/gst_private.sgml:
24377         * docs/gst/tmpl/old/gstaggregator.sgml:
24378         * docs/gst/tmpl/old/gstarch.sgml:
24379         * docs/gst/tmpl/old/gstatomic_impl.sgml:
24380         * docs/gst/tmpl/old/gstbufferstore.sgml:
24381         * docs/gst/tmpl/old/gstdata_private.sgml:
24382         * docs/gst/tmpl/old/gstdisksink.sgml:
24383         * docs/gst/tmpl/old/gstdisksrc.sgml:
24384         * docs/gst/tmpl/old/gstelementfactory.sgml:
24385         * docs/gst/tmpl/old/gstextratypes.sgml:
24386         * docs/gst/tmpl/old/gstfakesink.sgml:
24387         * docs/gst/tmpl/old/gstfakesrc.sgml:
24388         * docs/gst/tmpl/old/gstfdsink.sgml:
24389         * docs/gst/tmpl/old/gstfdsrc.sgml:
24390         * docs/gst/tmpl/old/gstfilesink.sgml:
24391         * docs/gst/tmpl/old/gstfilesrc.sgml:
24392         * docs/gst/tmpl/old/gsthttpsrc.sgml:
24393         * docs/gst/tmpl/old/gstidentity.sgml:
24394         * docs/gst/tmpl/old/gstindexfactory.sgml:
24395         * docs/gst/tmpl/old/gstmarshal.sgml:
24396         * docs/gst/tmpl/old/gstmd5sink.sgml:
24397         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
24398         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
24399         * docs/gst/tmpl/old/gstpadtemplate.sgml:
24400         * docs/gst/tmpl/old/gstpipefilter.sgml:
24401         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
24402         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
24403         * docs/gst/tmpl/old/gstshaper.sgml:
24404         * docs/gst/tmpl/old/gstspider.sgml:
24405         * docs/gst/tmpl/old/gstspideridentity.sgml:
24406         * docs/gst/tmpl/old/gststatistics.sgml:
24407         * docs/gst/tmpl/old/gsttee.sgml:
24408         * docs/gst/tmpl/old/gsttimecache.sgml:
24409         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
24410         * docs/gst/tmpl/old/gstxmlregistry.sgml:
24411         * docs/gst/tmpl/old/gthread-cothreads.sgml:
24412         * docs/gst/tmpl/old/types.sgml:
24413           I didn't intend to add these or check them in.
24414
24415 2005-05-19  David Schleef  <ds@schleef.org>
24416
24417         * configure.ac: Use -no-common everywhere.  In a sane world, it
24418           would be the default in libtool, because without it, you can't
24419           build DLLs on Windows.
24420         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
24421         * docs/gst/gstreamer-sections.txt:
24422         * docs/gst/tmpl/gstcpu.sgml:
24423         * docs/gst/tmpl/gstdata.sgml:
24424         * docs/gst/tmpl/gstthread.sgml:
24425
24426 2005-05-19  David Schleef  <ds@schleef.org>
24427
24428         * gst/gstminiobject.c: (gst_value_set_mini_object),
24429         (gst_value_take_mini_object), (gst_value_get_mini_object):
24430         * gst/gstminiobject.h: Add GValue set/get functions.
24431
24432 2005-05-19  Wim Taymans  <wim@fluendo.com>
24433
24434         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
24435         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
24436         (gst_subbuffer_init), (gst_buffer_is_span_fast):
24437         * gst/gstbuffer.h:
24438         * gst/gstbus.c: (gst_bus_post):
24439         * gst/gstelement.c: (gst_element_get_random_pad):
24440         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
24441         Make subbufer unref the parent in finalize.
24442         some more debugging info.
24443
24444
24445 2005-05-19  Wim Taymans  <wim@fluendo.com>
24446
24447         * gst/base/gstbasesink.c: (gst_basesink_class_init),
24448         (gst_basesink_init), (gst_basesink_finalize),
24449         (gst_basesink_activate), (gst_basesink_change_state):
24450         Don't free preroll queue too early.
24451
24452 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24453
24454         * gst/Makefile.am:
24455         * gst/ROADMAP:
24456           Hi, I'm outdated. Please shoot me.
24457
24458 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24459
24460         * gst/gstpipeline.c: (gst_pipeline_send_event):
24461           Do not access variables after they have been deleted.
24462
24463 2005-05-19  Wim Taymans  <wim@fluendo.com>
24464
24465         * tools/gst-inspect.c: (print_plugin_features):
24466         A plugin feature does unfortunatly not use the
24467         object name yet...
24468
24469 2005-05-18  Wim Taymans  <wim@fluendo.com>
24470
24471         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
24472         Port _span() functions to new subbuffers.
24473
24474 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24475
24476         * gst/gstbin.c: (gst_bin_add_func):
24477           Fix clock settery in bins when adding kids after the clock has
24478           been selected.
24479
24480 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24481
24482         * gst/elements/gstidentity.c: (gst_identity_class_init):
24483           Workaround until signals support GstMiniObject.
24484
24485 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
24486
24487         * gst/gstbuffer.c:
24488         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
24489
24490 2005-05-18  Wim Taymans  <wim@fluendo.com>
24491
24492         * gst/base/Makefile.am:
24493         * gst/base/gstadapter.c: (gst_adapter_base_init),
24494         (gst_adapter_class_init), (gst_adapter_init),
24495         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
24496         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
24497         (gst_adapter_flush), (gst_adapter_available),
24498         (gst_adapter_available_fast):
24499         * gst/base/gstadapter.h:
24500         Ported and added adapter to the base classes.
24501
24502 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
24503
24504         * gst/gst.c:
24505         * gst/gstmessage.c:
24506           Make sure the class is reffed/unreffed once before threads can be
24507           used.  Fixes #304551.
24508
24509 2005-05-17  Wim Taymans  <wim@fluendo.com>
24510
24511         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
24512         (gst_basesink_chain_unlocked), (gst_basesink_activate):
24513         * gst/gstminiobject.c: (gst_mini_object_get_type),
24514         (gst_mini_object_free):
24515         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
24516         (gst_pad_push), (gst_pad_push_event):
24517         * gst/gstqueue.c: (gst_queue_change_state):
24518         Don't queue buffers in basesink when we are flushing.
24519         Unref buffer when flushing in basesink.
24520         Flush queue when going to READY
24521         Unref buffer when _push() returns an error.
24522         Don't free MiniObject instance when refcount is incremented
24523         in _finalize() so that we can recover objects.
24524
24525 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
24526
24527         * docs/manual/advanced-schedulers.xml:
24528         * docs/manual/appendix-checklist.xml:
24529         * docs/pwg/advanced-clock.xml:
24530         * docs/pwg/advanced-interfaces.xml:
24531         * docs/pwg/advanced-request.xml:
24532         * docs/pwg/advanced-types.xml:
24533         * docs/pwg/intro-preface.xml:
24534         * examples/plugins/example.c: (gst_example_get_type),
24535         (gst_example_class_init), (gst_example_chain),
24536         (gst_example_set_property), (gst_example_get_property),
24537         (gst_example_change_state), (plugin_init):
24538         * examples/plugins/example.h:
24539           small doc fixes
24540
24541 2005-05-17  Wim Taymans  <wim@fluendo.com>
24542
24543         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
24544         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
24545         * gst/gstqueue.c: (gst_queue_change_state):
24546         Clear queue when going to READY.
24547         Remove IN_SETCAPS flag too.
24548
24549 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
24550
24551         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
24552           Remove implicit cast from gboolean to GstElementStateReturn;
24553           make sure we still return failure in paused => ready case if
24554           the parent class fails to change state and our own stop 
24555           vfunc succeeds.
24556
24557 2005-05-17  Wim Taymans  <wim@fluendo.com>
24558
24559         * tools/gst-launch.c: (event_loop):
24560         Message was unreffed too soon.
24561
24562 2005-05-16  Andy Wingo  <wingo@pobox.com>
24563
24564         * gst/gstbin.c (sink_iterator_filter): Err... um...
24565
24566         * check/gst/gstbin.c (test_ghost_pads): New test for the
24567         ghosting-if-elements-not-in-same-bin behavior.
24568
24569 2005-05-16  David Schleef  <ds@schleef.org>
24570
24571         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
24572         accessing refcount directly.
24573
24574 2005-05-15  David Schleef  <ds@schleef.org>
24575
24576         * check/Makefile.am: remove GstData checks
24577         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
24578         * gst/Makefile.am: add miniobject, remove data
24579         * gst/gst.h: add miniobject, remove data
24580         * gst/gstdata.c: remove
24581         * gst/gstdata.h: remove
24582         * gst/gstdata_private.h: remove
24583         * gst/gsttypes.h: remove GstEvent and GstMessage
24584         * gst/gstelement.c: (gst_element_post_message): fix for API changes
24585         * gst/gstmarshal.list: change BOXED -> OBJECT
24586
24587         Implement GstMiniObject.
24588         * gst/gstminiobject.c:
24589         * gst/gstminiobject.h:
24590
24591         Modify to be subclasses of GstMiniObject.
24592         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
24593         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
24594         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
24595         (gst_subbuffer_get_type), (gst_subbuffer_init),
24596         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
24597         (gst_buffer_span):
24598         * gst/gstbuffer.h:
24599         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
24600         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
24601         (_gst_event_copy), (gst_event_new):
24602         * gst/gstevent.h:
24603         * gst/gstmessage.c: (_gst_message_initialize),
24604         (gst_message_get_type), (gst_message_class_init),
24605         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
24606         (gst_message_new), (gst_message_new_error),
24607         (gst_message_new_warning), (gst_message_new_tag),
24608         (gst_message_new_state_changed), (gst_message_new_application):
24609         * gst/gstmessage.h:
24610         * gst/gstprobe.c: (gst_probe_perform),
24611         (gst_probe_dispatcher_dispatch):
24612         * gst/gstprobe.h:
24613         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
24614         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
24615         (_gst_query_copy), (gst_query_new):
24616
24617         Update elements for GstData -> GstMiniObject changes
24618         * gst/gstquery.h:
24619         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
24620         (gst_queue_chain), (gst_queue_loop):
24621         * gst/elements/gstbufferstore.c:
24622         (gst_buffer_store_add_buffer_func),
24623         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
24624         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24625         (gst_fakesink_render):
24626         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24627         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
24628         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
24629         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
24630         (gst_filesrc_create_read):
24631         * gst/elements/gstidentity.c: (gst_identity_class_init):
24632         * gst/elements/gsttypefindelement.c:
24633         (gst_type_find_element_src_event), (free_entry_buffers),
24634         (gst_type_find_element_handle_event):
24635         * libs/gst/dataprotocol/dataprotocol.c:
24636         (gst_dp_header_from_buffer):
24637         * libs/gst/dataprotocol/dataprotocol.h:
24638         * libs/gst/dataprotocol/dp-private.h:
24639
24640 2005-05-15  David Schleef  <ds@schleef.org>
24641
24642         * gst/elements/gstelements.c: Don't include headers that were
24643         just removed.
24644
24645 2005-05-15  David Schleef  <ds@schleef.org>
24646
24647         * gst/elements/Makefile.am: Remove some elements that don't
24648         need to be in the core (or even exist at all).
24649         * gst/elements/gstaggregator.c:
24650         * gst/elements/gstaggregator.h:
24651         * gst/elements/gstmd5sink.c:
24652         * gst/elements/gstmd5sink.h:
24653         * gst/elements/gstmultifilesrc.c:
24654         * gst/elements/gstmultifilesrc.h:
24655         * gst/elements/gstpipefilter.c:
24656         * gst/elements/gstpipefilter.h:
24657         * gst/elements/gstshaper.c:
24658         * gst/elements/gstshaper.h:
24659         * gst/elements/gststatistics.c:
24660         * gst/elements/gststatistics.h:
24661         * po/POTFILES.in: Remove above files.
24662
24663 2005-05-14  Andy Wingo  <wingo@pobox.com>
24664
24665         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
24666         so as to get the refs right.
24667         (sink_iterator_filter): New function, wraps bin_element_is_sink,
24668         unreffing objects that don't pass the filter.
24669
24670         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
24671         gst_element_set_bus.
24672         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
24673         normal cases, this will destroy the bus.
24674
24675         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
24676         object.
24677
24678         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
24679         has no sinks.
24680
24681 2005-05-13  Andy Wingo  <wingo@pobox.com>
24682
24683         * gst/gstutils.c (gst_element_link_pads): Instead of calling
24684         gst_pad_link, call pad_link_maybe_ghosting,
24685         (pad_link_maybe_ghosting): Links pads, making sure that the
24686         elements being linked are in the same bin.
24687         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
24688         Helpers for pad_link_maybe_ghosting.
24689
24690 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24691
24692         * configure.ac:
24693           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
24694
24695 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24696
24697         * docs/design/part-element-source.txt:
24698           Mention GstPushSrc
24699
24700 2005-05-12  Wim Taymans  <wim@fluendo.com>
24701
24702         * gst/base/gstbasesink.c: (gst_basesink_init),
24703         (gst_basesink_activate):
24704         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
24705         (gst_basesrc_is_seekable):
24706         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
24707         (bin_element_is_sink), (gst_bin_change_state):
24708         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24709         * gst/gstelement.h:
24710         Identify sinks by their flag to avoid overly complicated
24711         checks (fow now).
24712         Do state changes even for elements not reachable from the
24713         sinks.
24714         BaseSink is a sink now :)
24715         Some more debugging info in the basesrc.
24716
24717
24718 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24719
24720         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
24721           Implement _query on a bin, similar to _send_event.
24722
24723 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
24724
24725         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
24726           Discont event offset format should be GST_FORMAT_BYTES,
24727           not GST_FORMAT_TIME.
24728
24729 2005-05-12  Wim Taymans  <wim@fluendo.com>
24730
24731         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24732         Same fix as Ronald's but without the signal. 
24733
24734 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24735
24736         * gst/gstutils.c: (gst_element_query_position):
24737           No, an element is not a pad.
24738
24739 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24740
24741         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
24742         (gst_bin_get_state):
24743           If a child is removed from a bin while we remove the child from
24744           the bin and while we're retrieving its state, signal this to the
24745           get_state function so we abort the wait (instead of waiting for
24746           a timeout) and can immediately re-iterate over all other elements.
24747
24748 2005-05-12  Wim Taymans  <wim@fluendo.com>
24749
24750         * gst/base/Makefile.am:
24751         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
24752         (gst_basesrc_start):
24753         * gst/base/gstbasesrc.h:
24754         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
24755         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
24756         (gst_pushsrc_init), (gst_pushsrc_create):
24757         * gst/base/gstpushsrc.h:
24758         Added is_seekable to BaseSrc
24759         Added simple PushSrc.
24760
24761 2005-05-11  Wim Taymans  <wim@fluendo.com>
24762
24763         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24764         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24765         (gst_element_link_pads), (gst_element_query_position),
24766         (gst_element_query_convert), (intersect_caps_func),
24767         (gst_pad_query_position), (gst_pad_query_convert):
24768         Fix refcounting in utils function.
24769         No point in trying to activate a pad when it's added, it could
24770         be added from the state change function and then we deadlock, the
24771         element has to decide what to do.
24772
24773 2005-05-10  Andy Wingo  <wingo@pobox.com>
24774
24775         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
24776         *all* the arguments.
24777
24778         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
24779         stream lock if it's a FLUSH_DONE; normal flushes don't get the
24780         lock (according to the docs -- if this is wrong change the docs).
24781
24782         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
24783         flush messages in the NULL state.
24784
24785         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
24786         message immediately and return.
24787         (gst_bus_set_flushing): New function. If a bus is flushing, it
24788         flushes out any queued messages and immediately unrefs new
24789         messages. This is so when an element goes to NULL, all of the
24790         unhandled messages coming from it can be freed, and their
24791         references to the element dropped. In other words: message source
24792         ref considered harmful :P
24793
24794         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
24795         we're finished with it.
24796
24797         * gst/gstmessage.c (gst_message_new_state_changed): 
24798
24799 2005-05-10  Wim Taymans  <wim@fluendo.com>
24800
24801         * gst/gstvalue.c: (gst_value_compare_flags),
24802         (gst_value_serialize_flags), (gst_value_deserialize_flags),
24803         (_gst_value_initialize):
24804         Added flags serialize/deserialize/compare code.
24805
24806 2005-05-09  Andy Wingo  <wingo@pobox.com>
24807
24808         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
24809         Intersect the peer's caps with our caps.
24810
24811 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24812
24813         * gst/base/gsttypefindhelper.c: (helper_find_peek):
24814         * gst/elements/gsttypefindelement.c: (find_peek):
24815           Handle negative offsets better. Fixes decodebin.
24816
24817 2005-05-09  Wim Taymans  <wim@fluendo.com>
24818
24819         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
24820         (gst_base_transform_event):
24821         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
24822         Implement accept_caps.
24823         Fix silly lock/unlock mismatch in base class.
24824
24825 2005-05-09  Wim Taymans  <wim@fluendo.com>
24826
24827         * docs/design/draft-push-pull.txt:
24828         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
24829         * gst/elements/gstfilesink.c: (gst_filesink_init),
24830         (gst_filesink_query):
24831         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24832         (gst_type_find_handle_src_query), (find_element_get_length):
24833         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
24834         * gst/gstelement.h:
24835         * gst/gstmessage.c:
24836         * gst/gstmessage.h:
24837         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
24838         (gst_real_pad_get_caps_unlocked),
24839         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
24840         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24841         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
24842         (gst_real_pad_dispose), (gst_real_pad_finalize),
24843         (gst_pad_load_and_link), (gst_pad_save_thyself),
24844         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
24845         (gst_pad_check_pull_range), (gst_pad_pull_range),
24846         (gst_pad_template_get_type), (gst_pad_template_class_init),
24847         (gst_pad_template_init), (gst_pad_template_dispose),
24848         (name_is_valid), (gst_static_pad_template_get),
24849         (gst_pad_template_new), (gst_static_pad_template_get_caps),
24850         (gst_pad_template_get_caps), (gst_pad_set_element_private),
24851         (gst_pad_get_element_private), (gst_pad_start_task),
24852         (gst_pad_pause_task), (gst_pad_stop_task),
24853         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
24854         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
24855         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
24856         (gst_ghost_pad_new):
24857         * gst/gstpad.h:
24858         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
24859         (gst_query_new_position), (gst_query_set_position),
24860         (gst_query_parse_position), (gst_query_new_convert),
24861         (gst_query_set_convert), (gst_query_parse_convert):
24862         * gst/gstquery.h:
24863         * gst/gstqueryutils.c:
24864         * gst/gstqueryutils.h:
24865         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24866         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24867         (gst_queue_handle_src_query):
24868         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24869         (gst_element_query_position), (gst_element_query_convert),
24870         (intersect_caps_func), (gst_pad_query_position),
24871         (gst_pad_query_convert):
24872         * gst/gstutils.h:
24873         * tools/gst-inspect.c: (print_pad_info):
24874         * tools/gst-xmlinspect.c: (print_element_info):
24875         Remove old query functions. Ported old code.
24876         Added position/convert helper functions to gstutils.
24877         Reordered gstpad.c code, grouping relevant things.
24878         Remove gst_message_new(), always need to speficy a specific
24879         message.
24880
24881
24882 2005-05-09  Andy Wingo  <wingo@pobox.com>
24883
24884         * gst/gstiterator.h: Add some includes.
24885
24886         * gst/gstqueryutils.h: Include more headers.
24887
24888         * gst/gstpad.h:
24889         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
24890         some uses of gst_pad_query.
24891
24892         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
24893         NULL out parameters.
24894         (gst_query_new_position): New proc, allocates a new position
24895         query.
24896
24897         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
24898         gstqueryutils.c to the build.
24899
24900         * gst/gststructure.c (gst_structure_set_valist): Implement with
24901         the generic G_VALUE_COLLECT.
24902         
24903 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
24904
24905         * gst/Makefile.am: (gst_headers):
24906         Added gstqueryutils.h to the list of headers to install, that was
24907         a 'nachty' move wingo :)
24908
24909 2005-05-06  Andy Wingo  <wingo@pobox.com>
24910
24911         * gst/gstquery.h
24912         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
24913         GstData, init a memchunk.
24914         (standard_definitions): Add a few query types, deprecate a few.
24915         (gst_query_get_type): New proc.
24916         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
24917         implementation.
24918         (gst_query_new_application, gst_query_get_structure): New public
24919         procs.
24920
24921         * docs/design/draft-query.txt: Removed LINKS from the query types,
24922         because all the rest can be dispatched to other pads -- seemed
24923         ugly to have a query that couldn't be dispatched. internal_links
24924         is fine as a pad method.
24925
24926         * gst/gstpad.h: Add query2 as a pad method, add the new functions
24927         in gstpad.c, but maintain binary compatibility for the moment.
24928         Will fix before 0.9 is out.
24929
24930         * gst/gstqueryutils.c: 
24931         * gst/gstqueryutils.h: New files, implement 3 methods for each
24932         query type: parse_query, parse_response, and set. Probably need an
24933         allocator as well.
24934
24935         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
24936
24937         * gst/elements/gstfilesink.c (gst_filesink_query2):
24938         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
24939         query_types, and formats methods.
24940
24941         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
24942         (gst_pad_set_query2_function): New functions.
24943         (gst_real_pad_init): Set query2_default as the default query2
24944         function. Basically just dispatches to internally linked pads.
24945
24946         Needs review!
24947         
24948         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
24949         without using the atomic operations. Only one thread can possibly
24950         be accessing the data at this point. Changed so as to avoid
24951         gst_atomic operations.
24952
24953 2005-05-06  Wim Taymans  <wim@fluendo.com>
24954
24955         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
24956         Also set caps if we use the fallback buffer alloc.
24957
24958 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
24959
24960         * docs/gst/Makefile.am:
24961         * docs/gst/gstreamer-docs.sgml:
24962         * docs/gst/gstreamer-sections.txt:
24963         * docs/gst/tmpl/gstatomic.sgml:
24964         * docs/gst/tmpl/gstmemchunk.sgml:
24965         * testsuite/elements/struct_i386.h:
24966         * win32/GStreamer.vcproj:
24967         * win32/Makefile:
24968           Purge GstAtomic stuff from docs and win32 makefiles as well
24969
24970 2005-05-06  Wim Taymans  <wim@fluendo.com>
24971
24972         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
24973         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
24974         * gst/gstpad.c: (gst_pad_peer_get_caps):
24975         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24976         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24977         (gst_queue_src_activate), (gst_queue_change_state):
24978         * gst/gstqueue.h:
24979         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24980         (intersect_caps_func):
24981         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
24982         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
24983         Some fixes for the peer_get_caps() change.
24984
24985 2005-05-06  Wim Taymans  <wim@fluendo.com>
24986
24987         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24988         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
24989         (gst_basesink_activate):
24990         Actually do something with error codes returned from the push
24991         functions.
24992
24993 2005-05-06  Wim Taymans  <wim@fluendo.com>
24994
24995         * docs/design/part-element-sink.txt:
24996         * docs/design/part-element-source.txt:
24997         * gst/base/gstbasesink.c: (gst_basesink_class_init),
24998         (gst_basesink_event), (gst_basesink_activate):
24999         * gst/base/gstbasesink.h:
25000         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
25001         (gst_basesrc_activate):
25002         * gst/base/gstbasesrc.h:
25003         * gst/gstelement.c: (gst_element_pads_activate):
25004         Some more documentation.
25005         Fixed scheduling decision in _pads_activate().
25006
25007 2005-05-05  Andy Wingo  <wingo@pobox.com>
25008
25009         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
25010         the test suite.
25011
25012 2005-05-05  Wim Taymans  <wim@fluendo.com>
25013
25014         * gst/base/Makefile.am:
25015         * gst/base/gstbasesink.h:
25016         * gst/base/gstbasesrc.c: (gst_basesrc_init),
25017         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
25018         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
25019         (gst_collectpads_class_init), (gst_collectpads_init),
25020         (gst_collectpads_finalize), (gst_collectpads_new),
25021         (gst_collectpads_set_function), (gst_collectpads_add_pad),
25022         (find_pad), (gst_collectpads_remove_pad),
25023         (gst_collectpads_is_active), (gst_collectpads_collect),
25024         (gst_collectpads_collect_range), (gst_collectpads_start),
25025         (gst_collectpads_stop), (gst_collectpads_peek),
25026         (gst_collectpads_pop), (gst_collectpads_available),
25027         (gst_collectpads_read), (gst_collectpads_flush),
25028         (gst_collectpads_chain):
25029         * gst/base/gstcollectpads.h:
25030         * gst/elements/Makefile.am:
25031         * gst/elements/gstelements.c:
25032         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25033         (gst_fakesink_get_times), (gst_fakesink_event),
25034         (gst_fakesink_preroll), (gst_fakesink_render):
25035         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
25036         (gst_filesink_init), (gst_filesink_set_location),
25037         (gst_filesink_open_file), (gst_filesink_close_file),
25038         (gst_filesink_pad_query), (gst_filesink_event),
25039         (gst_filesink_render), (gst_filesink_change_state):
25040         * gst/elements/gstfilesink.h:
25041         Added object to help in making collect pad based elements.
25042         Ported filesink.
25043         Make event function in sink baseclass return gboolean.
25044
25045 2005-05-05  Wim Taymans  <wim@fluendo.com>
25046
25047         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
25048         (gst_bin_get_by_name):
25049         * gst/gstbuffer.h:
25050         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
25051         (gst_clock_finalize):
25052         * gst/gstdata.c: (gst_data_replace):
25053         * gst/gstdata.h:
25054         * gst/gstelement.c: (gst_element_request_pad),
25055         (gst_element_pads_activate):
25056         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
25057         (gst_object_unref):
25058         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25059         (gst_pad_set_checkgetrange_function),
25060         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
25061         (gst_pad_check_pull_range), (gst_pad_pull_range),
25062         (gst_static_pad_template_get_caps), (gst_pad_start_task),
25063         (gst_pad_pause_task), (gst_pad_stop_task):
25064         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25065         (gst_element_request_pad), (gst_pad_proxy_getcaps):
25066         Fix name lookup in GstBin.
25067         Added _data_replace() function and _buffer_replace()
25068         Use finalize method to clean up clock.
25069         Fix refcounting on request pads.
25070         Fix pad schedule mode error.
25071         Some more object refcounting debug info,
25072
25073
25074 2005-05-04  Andy Wingo <wingo@pobox.com>
25075
25076         * check/Makefile.am:
25077         * docs/gst/tmpl/gstatomic.sgml:
25078         * docs/gst/tmpl/gstplugin.sgml:
25079         * gst/base/gstbasesink.c: (gst_basesink_activate):
25080         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
25081         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
25082         (gst_basesrc_query), (gst_basesrc_set_property),
25083         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
25084         (gst_basesrc_activate):
25085         * gst/base/gstbasesrc.h:
25086         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
25087         (gst_base_transform_src_activate):
25088         * gst/elements/gstelements.c:
25089         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25090         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25091         * gst/elements/gsttee.c: (gst_tee_sink_activate):
25092         * gst/elements/gsttypefindelement.c: (find_element_get_length),
25093         (gst_type_find_element_checkgetrange),
25094         (gst_type_find_element_activate):
25095         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
25096         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
25097         (gst_caps_load_thyself):
25098         * gst/gstelement.c: (gst_element_pads_activate),
25099         (gst_element_save_thyself), (gst_element_restore_thyself):
25100         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
25101         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
25102         * gst/gstpad.h:
25103         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
25104         (gst_xml_parse_file), (gst_xml_parse_memory),
25105         (gst_xml_get_element), (gst_xml_make_element):
25106         * gst/indexers/gstfileindex.c: (gst_file_index_load),
25107         (_file_index_id_save_xml), (gst_file_index_commit):
25108         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
25109         (read_enum), (load_pad_template), (load_feature), (load_plugin),
25110         (load_paths):
25111         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
25112         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
25113         * tools/gst-complete.c: (main):
25114         * tools/gst-compprep.c: (main):
25115         * tools/gst-inspect.c: (print_element_properties_info):
25116         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
25117         * tools/gst-xmlinspect.c: (print_element_properties):
25118         GCC 4 fixen.
25119         
25120 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25121
25122         * gst/gstplugin.c: (gst_plugin_check_module),
25123         (gst_plugin_check_file), (gst_plugin_load_file):
25124             apply patch from #172526 to make register work on MacOSX
25125
25126 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25127
25128         * docs/gst/tmpl/gstconfig.sgml:
25129         * gst/gstconfig.h.in:
25130           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
25131         * testsuite/debug/printf_extension.c: (main):
25132           Do not use GST_PTR_FORMAT on pointers to types with
25133           sizeof < sizeof(gpointer).  Fixes test on 64-bit
25134         * testsuite/elements/property.h:
25135           use correct printf format
25136
25137 2005-05-02  Wim Taymans  <wim@fluendo.com>
25138
25139         * docs/design/draft-push-pull.txt:
25140         * docs/design/draft-query.txt:
25141         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
25142         (gst_basesrc_start):
25143         Added draft for new query API.
25144         Added draft for better selecting scheduling methods.
25145         Make basesrc ignore length if the subclass does not support
25146         it.
25147
25148 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25149
25150         * gst/Makefile.am:
25151           possible fixes for automake-1.5 - _LIBADD is reserved
25152
25153 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25154
25155         * docs/faq/Makefile.am:
25156         * docs/manual/Makefile.am:
25157         * docs/manuals.mak:
25158         * docs/pwg/Makefile.am:
25159         * gst/Makefile.am:
25160           possible fixes for automake-1.5
25161
25162 2005-04-28  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_do_sync):
25167         * gst/gstclock.c: (gst_clock_entry_new):
25168         * gst/gstevent.c: (gst_event_discont_get_value):
25169         * gst/gstpipeline.c: (pipeline_bus_handler),
25170         (gst_pipeline_change_state):
25171         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
25172         Better debugging of clocking info.
25173         Allow NULL values when getting discont values.
25174
25175 2005-04-27  Wim Taymans  <wim@fluendo.com>
25176
25177         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25178         * check/gst/gstpad.c: (gst_pad_suite):
25179         Increase timeout for checks.
25180
25181 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
25182
25183         * check/Makefile.am:
25184           fix the broken rule for cleanup.  Apparently this rule is
25185           only needed on FC2, so maybe this warrants further autotool
25186           inspection.
25187
25188 2005-04-26  Wim Taymans  <wim@fluendo.com>
25189
25190         * gst/gsttrashstack.h:
25191         Ooohh. a nasty one! After having a failed pop() from the stack,
25192         it's possible that the stack is empty. In that case, don't
25193         follow the NULL pointer.
25194
25195 2005-04-25  Wim Taymans  <wim@fluendo.com>
25196
25197         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25198         (gst_pad_set_checkgetrange_function),
25199         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
25200         (gst_pad_check_pull_range), (gst_pad_pull_range),
25201         (gst_static_pad_template_get_caps), (gst_pad_start_task),
25202         (gst_pad_pause_task), (gst_pad_stop_task):
25203         * gst/gstplugin.c: (gst_plugin_load):
25204         * gst/gstplugin.h:
25205         Remove gst_library_load as it does more harm than good with
25206         the new g_module flags.
25207         Revert bogus caps template check in pad linking, pad caps
25208         are important when linking not the template, which is more
25209         general than the current caps.
25210
25211 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25212
25213         * gst/autoplug/.cvsignore:
25214         * gst/autoplug/Makefile.am:
25215         * gst/autoplug/gstsearchfuncs.c:
25216         * gst/autoplug/gstsearchfuncs.h:
25217         * gst/autoplug/gstspider.c:
25218         * gst/autoplug/gstspider.h:
25219         * gst/autoplug/gstspideridentity.c:
25220         * gst/autoplug/gstspideridentity.h:
25221         * gst/autoplug/spidertest.c:
25222           Die, spider, die.
25223
25224 2005-04-25  Wim Taymans  <wim@fluendo.com>
25225
25226         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25227         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25228         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
25229         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
25230         * gst/gstpad.h:
25231         Added stubs for unimplemented functions. 
25232
25233 2005-04-24  David Schleef  <ds@schleef.org>
25234
25235         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
25236         please fix.
25237
25238 2005-04-24  David Schleef  <ds@schleef.org>
25239
25240         Convert everything from GstAtomicInt to g_atomic_int_*, and
25241         remove gstatomic.
25242         * gst/Makefile.am:
25243         * gst/gstatomic.c:
25244         * gst/gstatomic.h:
25245         * gst/gstatomic_impl.h:
25246         * gst/gstbuffer.c:
25247         * gst/gstcaps.c:
25248         * gst/gstcaps.h:
25249         * gst/gstclock.c:
25250         * gst/gstclock.h:
25251         * gst/gstdata.c:
25252         * gst/gstdata.h:
25253         * gst/gstdata_private.h:
25254         * gst/gstevent.c:
25255         * gst/gstinfo.c:
25256         * gst/gstinfo.h:
25257         * gst/gstmessage.c:
25258         * gst/gstobject.c:
25259         * gst/gstobject.h:
25260         * gst/gststructure.c:
25261         * gst/gststructure.h:
25262         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
25263         * gst/gstutils.h:
25264
25265 2005-04-24  David Schleef  <ds@schleef.org>
25266
25267         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
25268         make the regressions tests work.  Remove some code that is no
25269         longer true.
25270         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
25271         Disable warning for pads without templates.
25272
25273 2005-04-24  David Schleef  <ds@schleef.org>
25274
25275         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
25276         functions that handle filtered links.
25277         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
25278         removed functions.
25279         * gst/gstutils.c: Fix/remove utility functions that handle
25280         filtered caps.
25281         * gst/gstutils.h:
25282         * gst/gstvalue.c: Add serialization/deserialization of caps
25283         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
25284         requires fixing so that the filter caps notation creates
25285         a capsfilter element and sets the filter_caps property.  I
25286         think everyone probably wants to keep the shorthand notation.
25287         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
25288         * docs/gst/tmpl/gstpad.sgml:
25289
25290         * gst/elements/gstelements.c: Register capsfilter element.
25291         * gst/Makefile.am: fix spacing
25292         * docs/random/ds/0.9-suggested-changes: random
25293
25294 2005-04-23  David Schleef  <ds@schleef.org>
25295
25296         * gst/elements/Makefile.am:
25297         * gst/elements/gstcapsfilter.c: New element that acts like an
25298         identity, but filters caps.  Will eventually replace filtered
25299         caps in pad linking.
25300         * gst/gstutils.c: (gst_element_create_all_pads): New function
25301         to create all the ALWAYS pads that are registered with an
25302         element class.  This functionality should eventually be
25303         merged in with GstElement initialization.
25304         * gst/gstutils.h:
25305         * testsuite/trigger/README: part of trigger test code that should
25306         have been checked in a long time ago.
25307
25308 2005-04-23  David Schleef  <ds@schleef.org>
25309
25310         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
25311         needed with new versions of libtool (nobody will confirm this),
25312         and hard to carry around.
25313         * gst/autoplug/Makefile.am:
25314         * gst/base/Makefile.am:
25315         * gst/elements/Makefile.am:
25316         * gst/indexers/Makefile.am:
25317         * gst/schedulers/Makefile.am:
25318         * libs/gst/bytestream/Makefile.am:
25319         * libs/gst/control/Makefile.am:
25320         * libs/gst/dataprotocol/Makefile.am:
25321         * libs/gst/getbits/Makefile.am:
25322
25323 2005-04-21  Wim Taymans  <wim@fluendo.com>
25324
25325         * docs/design/draft-push-pull.txt:
25326         * docs/design/part-MT-refcounting.txt:
25327         * docs/design/part-TODO.txt:
25328         * docs/design/part-caps.txt:
25329         * docs/design/part-events.txt:
25330         * docs/design/part-gstbus.txt:
25331         * docs/design/part-gstpipeline.txt:
25332         * docs/design/part-messages.txt:
25333         * docs/design/part-push-pull.txt:
25334         * docs/design/part-query.txt:
25335         Some more docs.
25336
25337 2005-04-21  Wim Taymans  <wim@fluendo.com>
25338
25339         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
25340         (gst_message_new), (gst_message_new_error),
25341         (gst_message_new_warning), (gst_message_new_tag),
25342         (gst_message_new_state_changed), (gst_message_new_application),
25343         (gst_message_get_structure):
25344         * gst/gstmessage.h:
25345         * gst/gststructure.c: (gst_structure_set_parent_refcount),
25346         (gst_structure_copy_conditional):
25347         Use parent refcount in GstMessage to ensure GstStructure
25348         consistency.
25349         Cleaned up headers a bit.
25350         
25351
25352 2005-04-20  Wim Taymans  <wim@fluendo.com>
25353
25354         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25355         (gst_basesink_pad_getcaps), (gst_basesink_init),
25356         (gst_basesink_chain_unlocked):
25357         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
25358         (gst_type_find_helper):
25359         * gst/elements/gsttypefindelement.c:
25360         (gst_type_find_element_have_type), (gst_type_find_element_init),
25361         (stop_typefinding), (gst_type_find_element_handle_event),
25362         (find_suggest), (gst_type_find_element_chain),
25363         (gst_type_find_element_checkgetrange),
25364         (gst_type_find_element_getrange), (do_typefind),
25365         (gst_type_find_element_activate):
25366         * gst/gstbuffer.c: (_gst_buffer_sub_free),
25367         (gst_buffer_default_free), (gst_buffer_default_copy),
25368         (gst_buffer_set_caps):
25369         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
25370         (gst_caps_replace):
25371         * gst/gstmessage.c: (gst_message_new),
25372         (gst_message_new_state_changed):
25373         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25374         (gst_pad_set_checkgetrange_function),
25375         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
25376         (gst_pad_set_caps), (gst_pad_check_pull_range),
25377         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
25378         * gst/gstpad.h:
25379         * gst/gsttypefind.c: (gst_type_find_register):
25380         Make gst_caps_replace() work like other _replace() functions.
25381         Use _caps_replace() where possible.
25382         Make sure _message_new() initialises its field.
25383         Add gst_static_pad_template_get_caps()
25384
25385
25386 2005-04-18  Andy Wingo  <wingo@pobox.com>
25387
25388         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
25389         on the peer, not the pad. I think that was a typo. Pass an extra
25390         arg to see if random access is possible. Activate the pads as
25391         PULL_RANGE if possible.
25392
25393         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
25394
25395         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
25396         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
25397         to PROP_....
25398
25399 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25400
25401         * docs/faq/using.xml:
25402           Add note on gstreamer-properties (#154996).
25403
25404 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25405
25406         * docs/random/bbb/optional-properties:
25407           Some analysis on optional properties.
25408
25409 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25410
25411         * docs/gst/tmpl/gstelementfactory.sgml:
25412         * gst/gstelement.h:
25413         * gst/gstelementfactory.c: (gst_element_factory_init),
25414         (gst_element_factory_cleanup), (gst_element_register),
25415         (__gst_element_factory_add_static_pad_template),
25416         (gst_element_factory_get_static_pad_templates),
25417         (gst_element_factory_can_src_caps),
25418         (gst_element_factory_can_sink_caps):
25419         * gst/registries/Makefile.am:
25420         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
25421         (gst_xml_registry_class_init), (gst_xml_registry_init),
25422         (gst_xml_registry_new), (gst_xml_registry_set_property),
25423         (gst_xml_registry_get_property), (get_time), (make_dir),
25424         (gst_xml_registry_get_perms_func),
25425         (plugin_times_older_than_recurse), (plugin_times_older_than),
25426         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
25427         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
25428         (add_to_char_array), (read_string), (read_uint), (read_enum),
25429         (load_pad_template), (load_feature), (load_plugin), (load_paths),
25430         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
25431         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
25432         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
25433         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
25434         (gst_xml_registry_rebuild):
25435         * gst/registries/gstlibxmlregistry.h:
25436         * tools/gst-compprep.c: (main):
25437         * tools/gst-inspect.c: (print_pad_templates_info):
25438         * tools/gst-xmlinspect.c: (print_element_info):
25439           Use libxml2 for registry parsing, use staticpadtemplates in
25440           elementfactories. Makes gst_init() +/- 10x faster.
25441
25442 2005-04-12  Wim Taymans  <wim@fluendo.com>
25443
25444         * gst/base/Makefile.am:
25445         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25446         (gst_basesink_pad_getcaps), (gst_basesink_init),
25447         (gst_basesink_event), (gst_basesink_change_state):
25448         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25449         (gst_basesrc_init), (gst_basesrc_query),
25450         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25451         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25452         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25453         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25454         (gst_basesrc_stop), (gst_basesrc_activate),
25455         (gst_basesrc_change_state):
25456         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25457         (helper_find_suggest), (gst_type_find_helper):
25458         * gst/base/gsttypefindhelper.h:
25459         * gst/elements/Makefile.am:
25460         * gst/elements/gstelements.c:
25461         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25462         (gst_fakesink_get_times), (gst_fakesink_event),
25463         (gst_fakesink_preroll), (gst_fakesink_render):
25464         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25465         (gst_fakesrc_init), (gst_fakesrc_event_handler),
25466         (gst_fakesrc_get_property), (gst_fakesrc_create),
25467         (gst_fakesrc_start), (gst_fakesrc_stop):
25468         * gst/elements/gstfakesrc.h:
25469         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
25470         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25471         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25472         (gst_filesrc_create_read), (gst_filesrc_create),
25473         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
25474         (gst_filesrc_start):
25475         * gst/elements/gsttypefindelement.c:
25476         (gst_type_find_element_have_type), (gst_type_find_element_init),
25477         (start_typefinding), (stop_typefinding), (push_buffer_store),
25478         (gst_type_find_element_handle_event),
25479         (gst_type_find_element_chain),
25480         (gst_type_find_element_checkgetrange),
25481         (gst_type_find_element_getrange), (do_typefind),
25482         (gst_type_find_element_activate),
25483         (gst_type_find_element_change_state):
25484         * gst/elements/gsttypefindelement.h:
25485         * gst/gstpipeline.c: (pipeline_bus_handler):
25486         Added typefind helper.
25487         Small preroll fix in the base sink.
25488         Disable typefind code in basesrc.
25489         Crude port of typefindelement.
25490         Fakesrc cleanups.
25491
25492
25493 2005-04-11  Wim Taymans  <wim@fluendo.com>
25494
25495         * check/gst/gstbus.c: (gstbus_suite):
25496         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
25497         * check/gstcheck.h:
25498           Fix up the timeout so that the test does not fail.
25499
25500 2005-04-06  Wim Taymans  <wim@fluendo.com>
25501
25502         * gst/base/README:
25503         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25504         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
25505         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25506         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25507         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25508         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25509         (gst_basesrc_stop), (gst_basesrc_activate),
25510         (gst_basesrc_change_state), (basesrc_find_peek),
25511         (basesrc_find_suggest), (gst_basesrc_type_find):
25512         * gst/base/gstbasesrc.h:
25513         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
25514         (gst_filesrc_class_init), (gst_filesrc_init),
25515         (gst_filesrc_finalize), (gst_filesrc_set_location),
25516         (gst_filesrc_set_property), (gst_filesrc_get_property),
25517         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25518         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25519         (gst_filesrc_create_read), (gst_filesrc_create),
25520         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
25521         * gst/elements/gstfilesrc.h:
25522         * gst/gstelement.c: (gst_element_get_state_func),
25523         (gst_element_lost_state), (gst_element_pads_activate):
25524         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25525         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25526         (gst_pad_pull_range):
25527         * gst/gstpad.h:
25528         More work on the generic source base class, implement seeking,
25529         query.
25530         Make filesrc extend the base source class.
25531         Added gst_pad_set_checkgetrange_function to GstPad.
25532
25533 2005-04-06  Andy Wingo  <wingo@pobox.com>
25534
25535         * pkgconfig/gstreamer-base.pc.in:
25536         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
25537
25538         * pkgconfig/Makefile.am:
25539         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
25540
25541 2005-04-04  Wim Taymans  <wim@fluendo.com>
25542
25543         * gst/base/Makefile.am:
25544         * gst/base/README:
25545         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25546         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25547         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25548         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
25549         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25550         (gst_basesrc_base_init), (gst_basesrc_class_init),
25551         (gst_basesrc_init), (gst_basesrc_get_formats),
25552         (gst_basesrc_get_query_types), (gst_basesrc_query),
25553         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
25554         (gst_basesrc_set_property), (gst_basesrc_get_property),
25555         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
25556         (gst_basesrc_loop), (gst_basesrc_activate),
25557         (gst_basesrc_change_state):
25558         * gst/base/gstbasesrc.h:
25559         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
25560         (gst_fakesrc_class_init), (gst_fakesrc_init),
25561         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
25562         (gst_fakesrc_get_property), (gst_fakesrc_create):
25563         * gst/elements/gstfakesrc.h:
25564         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
25565         (gst_filesrc_open_file), (gst_filesrc_loop),
25566         (gst_filesrc_activate), (filesrc_find_peek),
25567         (gst_filesrc_type_find):
25568         Made base source class, make fakesrc extend it.
25569         Add comments to basesink class.
25570         Some filesrc cleanup.
25571
25572 2005-03-31  David Schleef  <ds@schleef.org>
25573
25574         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
25575         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
25576         expected to link against libgstreamer.
25577         * gst/base/Makefile.am: link against libgstreamer
25578         * gst/elements/Makefile.am: same
25579
25580 2005-03-31  Andy Wingo  <wingo@pobox.com>
25581
25582         * tests/instantiate/Makefile.am:
25583         * tests/instantiate/caps.c: Add test to test speed of caps copy
25584         and free.
25585
25586         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
25587         GMemChunk to be fair.
25588
25589         * gst/gsttrashstack.h: Remove warning about using the fallback
25590         trash stack implementation, it's still faster than malloc.
25591
25592 2005-03-30  Andy Wingo  <wingo@pobox.com>
25593
25594         * tests/complexity.c: Add a copyright.
25595
25596 2005-03-31  Wim Taymans  <wim@fluendo.com>
25597
25598         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
25599         (gst_base_transform_class_init), (gst_base_transform_init),
25600         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25601         (gst_base_transform_get_property),
25602         (gst_base_transform_sink_activate),
25603         (gst_base_transform_src_activate),
25604         (gst_base_transform_change_state):
25605         * gst/base/gstbasetransform.h:
25606         * gst/elements/gstidentity.c: (gst_identity_class_init),
25607         (gst_identity_event), (gst_identity_check_perfect),
25608         (gst_identity_transform), (gst_identity_start),
25609         (gst_identity_stop):
25610         Added start/stop methods to transform base class so subclasses 
25611         don't need to deal with state changes even.
25612
25613 2005-03-31  Wim Taymans  <wim@fluendo.com>
25614
25615         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
25616         (gst_event_new_discontinuous), (gst_event_discont_get_value):
25617         * gst/gstevent.h:
25618         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25619         (gst_pad_pull_range):
25620         Added rate to the discont event to prepare for variable speed
25621         and reverse playback.
25622
25623 2005-03-29  David Schleef  <ds@schleef.org>
25624
25625         * configure.ac:
25626         * testsuite/trigger/Makefile.am:
25627         * testsuite/trigger/trigger.c: A little example program to show
25628         how trigger-based elements can work.
25629
25630 2005-03-29  Wim Taymans  <wim@fluendo.com>
25631
25632         * gst/base/Makefile.am:
25633         * gst/base/README:
25634         * gst/base/gstbasesink.c: (gst_basesink_get_type),
25635         (gst_basesink_base_init), (gst_basesink_class_init),
25636         (gst_basesink_pad_getcaps), (gst_basesink_init),
25637         (gst_basesink_activate), (gst_basesink_change_state):
25638         * gst/base/gstbasesink.h:
25639         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
25640         (gst_base_transform_base_init), (gst_base_transform_finalize),
25641         (gst_base_transform_class_init), (gst_base_transform_init),
25642         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
25643         (gst_base_transform_event), (gst_base_transform_getrange),
25644         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
25645         (gst_base_transform_set_property),
25646         (gst_base_transform_get_property),
25647         (gst_base_transform_sink_activate),
25648         (gst_base_transform_src_activate),
25649         (gst_base_transform_change_state):
25650         * gst/base/gstbasetransform.h:
25651         * gst/elements/gstidentity.c: (gst_identity_finalize),
25652         (gst_identity_class_init), (gst_identity_init),
25653         (gst_identity_event), (gst_identity_check_perfect),
25654         (gst_identity_transform), (gst_identity_set_property),
25655         (gst_identity_get_property), (gst_identity_change_state):
25656         * gst/elements/gstidentity.h:
25657         * gst/gstelement.c: (gst_element_get_state_func),
25658         (gst_element_lost_state), (gst_element_pads_activate):
25659         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25660         (gst_pad_check_pull_range), (gst_pad_pull_range):
25661         * gst/gstpad.h:
25662         Simplify pad activation.
25663         Added function to check if pull_range can be performed.
25664         Error out when pulling inactive or flushing pads.
25665         Removed const from refcounted types as it does not make sense.
25666         Simplify pad templates in basesink
25667         Added base class for simple 1-to-1 transforms.
25668         Make identity subclass the base transform.
25669
25670 2005-03-29  Andy Wingo  <wingo@pobox.com>
25671
25672         * docs/libs/gstreamer-libs-overrides.txt: 
25673         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
25674         really don't understand what's going on, but like whatever. I want
25675         green buildbot!
25676
25677         * docs/gst/Makefile.am:
25678         * docs/libs/Makefile.am: Dist the overrides files.
25679
25680         * check/Makefile.am (clean-local): Remove .libs directories.
25681
25682         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
25683         elements to EXTRA_DIST, so po/ files are happy.
25684
25685         * po/POTFILES.in: Er, remove it here.
25686
25687         * po/POTFILES: Remove gstspider.c.
25688
25689         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
25690
25691         * docs/libs/gstreamer-libs-docs.sgml: 
25692         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
25693         bytestream.
25694
25695         * tests/complexity.c (main): Set the length of the preroll queue
25696         on the sinks to prevent a lockup.
25697
25698         * libs/gst/dataprotocol/Makefile.am: 
25699         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
25700         the same as the one in check/gst-libs/gdp.c.
25701
25702         * po/, docs/gst/: Commit automatic changes to docs and po files.
25703
25704         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
25705         the versioned libgstbase.
25706
25707         * check/Makefile.am: Depend on an unversioned gst-register, seems
25708         to make autoconf happier.
25709
25710         * gst/base/Makefile.am: Make libgstbase a versioned lib.
25711
25712 2005-03-28  Wim Taymans  <wim@fluendo.com>
25713
25714         * configure.ac:
25715         * docs/design/part-gstelement.txt:
25716         * docs/design/part-negotiation.txt:
25717         * docs/design/part-preroll.txt:
25718         * docs/design/part-scheduling.txt:
25719         * docs/design/part-states.txt:
25720         * gst/Makefile.am:
25721         * gst/base/Makefile.am:
25722         * gst/base/README:
25723         * gst/base/gstbasesink.c: (gst_basesink_get_template),
25724         (gst_basesink_base_init), (gst_basesink_class_init),
25725         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25726         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25727         (gst_basesink_set_pad_functions),
25728         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25729         (gst_basesink_set_property), (gst_basesink_get_property),
25730         (gst_base_sink_get_template), (gst_base_sink_get_caps),
25731         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25732         (gst_basesink_preroll_queue_push),
25733         (gst_basesink_preroll_queue_empty),
25734         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25735         (gst_basesink_event), (gst_basesink_get_times),
25736         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25737         (gst_basesink_chain_unlocked), (gst_basesink_chain),
25738         (gst_basesink_loop), (gst_basesink_activate),
25739         (gst_basesink_change_state):
25740         * gst/base/gstbasesink.h:
25741         * gst/elements/Makefile.am:
25742         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
25743         (gst_fakesink_class_init), (gst_fakesink_init),
25744         (gst_fakesink_set_property), (gst_fakesink_get_property),
25745         (gst_fakesink_get_times), (gst_fakesink_event),
25746         (gst_fakesink_preroll), (gst_fakesink_render),
25747         (gst_fakesink_change_state):
25748         * gst/elements/gstfakesink.h:
25749         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25750         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
25751         * gst/gstelement.c: (gst_element_add_pad),
25752         (gst_element_get_state_func), (gst_element_abort_state),
25753         (gst_element_commit_state), (gst_element_lost_state),
25754         (gst_element_set_state), (gst_element_pads_activate):
25755         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
25756         * gst/gstpipeline.c: (gst_pipeline_send_event),
25757         (gst_pipeline_change_state):
25758         Added state change code.
25759         Added/updated docs.
25760         Added sink base class, make fakesink extend the base class.
25761         Small cleanups in GstPipeline.
25762
25763 2005-03-26  David Schleef  <ds@schleef.org>
25764
25765         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
25766         is broken and should be implemented in a different library.
25767         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
25768         * gst/gst.h: remove gstcpu.h
25769         * gst/gstcpu.c: remove
25770         * gst/gstcpu.h: remove
25771         * gst/Makefile.am.future: Remove this file.  It's ancient.
25772
25773 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25774
25775         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25776         (gst_bin_send_event):
25777           Add default event/set_manager handlers. The set_manager handler
25778           takes care that the manager is distributed over kids that were
25779           already in the bin before the manager was set. The event handler
25780           is a utility virtual function that sends the event over all sinks,
25781           so that gst_element_send_event (bin, event); has the expected
25782           behaviour.
25783         * gst/gstpad.c: (gst_pad_event_default):
25784           Re-install default event handling for discontinuities, so that
25785           seeking works without requiring hacks in applications or extra
25786           code in sinks.
25787         * gst/gstpipeline.c: (gst_pipeline_class_init),
25788         (gst_pipeline_send_event):
25789           Half hack, half utility: set a pipeline to PAUSED for seek events,
25790           since that is the only way we can guarantee a/v sync. Means that
25791           you can do gst_element_seek (pipeline, method, pos); on a pipeline
25792           and it "just works".
25793
25794 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25795
25796         * gst/gstpipeline.c: (gst_pipeline_use_clock):
25797           Lock/unlock mismatch.
25798
25799 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25800
25801         * docs/faq/gst-uninstalled:
25802           add gst-plugins-base
25803         * docs/gst/Makefile.am:
25804           don't error out until docs are fixed
25805         * docs/gst/gstreamer.types:
25806           remove thread
25807
25808 2005-03-22  Wim Taymans  <wim@fluendo.com>
25809
25810         * check/Makefile.am:
25811         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
25812         * gst/gststructure.c: (gst_structure_set_valist),
25813         (gst_structure_copy_conditional):
25814         Activated more tests.
25815         Added message test.
25816         Added G_TYPE_POINTER to GstStructure.
25817         
25818
25819 2005-03-22  Wim Taymans  <wim@fluendo.com>
25820
25821         * docs/design/part-TODO.txt:
25822         * docs/design/part-events.txt:
25823         * docs/design/part-gstbin.txt:
25824         * docs/design/part-gstbus.txt:
25825         * docs/design/part-gstpipeline.txt:
25826         * docs/design/part-messages.txt:
25827         * gst/gstbus.c:
25828         * gst/gstmessage.c:
25829         Docs updates
25830
25831 2005-03-21  Wim Taymans  <wim@fluendo.com>
25832
25833         * gst/gstbus.c: (gst_bus_post):
25834         Fix copy-and-paste error.
25835
25836 2005-03-21  Wim Taymans  <wim@fluendo.com>
25837
25838         * check/Makefile.am:
25839         * gst/Makefile.am:
25840         * gst/elements/Makefile.am:
25841         * gst/elements/gstelements.c:
25842         * gst/elements/gstfakesink.c: (gst_fakesink_init),
25843         (gst_fakesink_event), (gst_fakesink_chain):
25844         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25845         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
25846         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
25847         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
25848         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25849         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
25850         (gst_fakesrc_loop), (gst_fakesrc_activate),
25851         (gst_fakesrc_change_state):
25852         * gst/elements/gstfakesrc.h:
25853         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
25854         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
25855         (gst_filesrc_open_file), (gst_filesrc_loop),
25856         (gst_filesrc_activate), (gst_filesrc_change_state),
25857         (filesrc_find_peek), (filesrc_find_suggest),
25858         (gst_filesrc_type_find):
25859         * gst/elements/gstidentity.c: (gst_identity_finalize),
25860         (gst_identity_class_init), (gst_identity_init),
25861         (gst_identity_proxy_getcaps), (identity_queue_push),
25862         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
25863         (gst_identity_getrange), (gst_identity_chain),
25864         (gst_identity_sink_loop), (gst_identity_src_loop),
25865         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
25866         (gst_identity_set_property), (gst_identity_get_property),
25867         (gst_identity_change_state):
25868         * gst/elements/gstidentity.h:
25869         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
25870         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
25871         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
25872         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
25873         (gst_tee_sink_activate):
25874         * gst/elements/gsttee.h:
25875         * gst/gst.c: (gst_register_core_elements), (init_post):
25876         * gst/gst.h:
25877         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
25878         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
25879         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
25880         (gst_bin_change_state):
25881         * gst/gstbin.h:
25882         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
25883         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
25884         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
25885         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
25886         (gst_bus_set_sync_handler), (gst_bus_create_watch),
25887         (bus_watch_callback), (bus_watch_destroy),
25888         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
25889         (poll_timeout), (gst_bus_poll):
25890         * gst/gstbus.h:
25891         * gst/gstcaps.h:
25892         * gst/gstdata.h:
25893         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25894         (gst_element_post_message), (gst_element_message_full),
25895         (gst_element_get_state_func), (gst_element_get_state),
25896         (gst_element_abort_state), (gst_element_commit_state),
25897         (gst_element_lost_state), (gst_element_set_state),
25898         (gst_element_pads_activate), (gst_element_change_state),
25899         (gst_element_dispose), (gst_element_set_manager_func),
25900         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
25901         (gst_element_set_manager), (gst_element_get_manager),
25902         (gst_element_set_bus), (gst_element_get_bus),
25903         (gst_element_set_scheduler), (gst_element_get_scheduler):
25904         * gst/gstelement.h:
25905         * gst/gstevent.c: (gst_event_new_segment_seek),
25906         (gst_event_new_flush):
25907         * gst/gstevent.h:
25908         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
25909         (_gst_message_free), (gst_message_get_type), (gst_message_new),
25910         (gst_message_new_eos), (gst_message_new_error),
25911         (gst_message_new_warning), (gst_message_new_tag),
25912         (gst_message_new_state_changed), (gst_message_new_application),
25913         (gst_message_get_structure), (gst_message_parse_tag),
25914         (gst_message_parse_state_changed), (gst_message_parse_error),
25915         (gst_message_parse_warning):
25916         * gst/gstmessage.h:
25917         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
25918         (gst_real_pad_set_property), (gst_pad_set_active),
25919         (gst_pad_is_active), (gst_pad_set_blocked_async),
25920         (gst_pad_set_blocked), (gst_pad_is_blocked),
25921         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
25922         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
25923         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
25924         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
25925         (gst_pad_link_filtered), (gst_pad_relink_filtered),
25926         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
25927         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
25928         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
25929         (gst_pad_set_caps), (gst_pad_configure_sink),
25930         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
25931         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
25932         (gst_real_pad_dispose), (gst_real_pad_finalize),
25933         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
25934         (gst_pad_event_default_dispatch), (gst_pad_event_default),
25935         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
25936         * gst/gstpad.h:
25937         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
25938         (pipeline_bus_handler), (gst_pipeline_change_state),
25939         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
25940         * gst/gstpipeline.h:
25941         * gst/gstprobe.h:
25942         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
25943         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
25944         (gst_queue_link_src), (gst_queue_bufferalloc),
25945         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
25946         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
25947         (gst_queue_loop), (gst_queue_handle_src_event),
25948         (gst_queue_handle_src_query), (gst_queue_src_activate),
25949         (gst_queue_change_state):
25950         * gst/gstqueue.h:
25951         * gst/gstscheduler.c: (gst_scheduler_init),
25952         (gst_scheduler_dispose), (gst_scheduler_create_task),
25953         (gst_scheduler_factory_create):
25954         * gst/gstscheduler.h:
25955         * gst/gststructure.c: (gst_structure_get_type),
25956         (gst_structure_copy_conditional):
25957         * gst/gststructure.h:
25958         * gst/gsttaginterface.h:
25959         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25960         (gst_task_init), (gst_task_dispose), (gst_task_create),
25961         (gst_task_get_state), (gst_task_start), (gst_task_stop),
25962         (gst_task_pause):
25963         * gst/gsttask.h:
25964         * gst/gstthread.c:
25965         * gst/gstthread.h:
25966         * gst/gsttypes.h:
25967         * gst/schedulers/Makefile.am:
25968         * gst/schedulers/cothreads_compat.h:
25969         * gst/schedulers/entryscheduler.c:
25970         * gst/schedulers/faircothreads.c:
25971         * gst/schedulers/faircothreads.h:
25972         * gst/schedulers/fairscheduler.c:
25973         * gst/schedulers/gstbasicscheduler.c:
25974         * gst/schedulers/gstoptimalscheduler.c:
25975         * gst/schedulers/gthread-cothreads.h:
25976         * gst/schedulers/threadscheduler.c:
25977         (gst_thread_scheduler_task_get_type),
25978         (gst_thread_scheduler_task_class_init),
25979         (gst_thread_scheduler_task_init),
25980         (gst_thread_scheduler_task_start),
25981         (gst_thread_scheduler_task_stop),
25982         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
25983         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
25984         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
25985         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
25986         (plugin_init):
25987         * libs/gst/Makefile.am:
25988         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
25989         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
25990         (gst_file_pad_parent_set):
25991         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25992         (gst_dp_event_from_packet):
25993         * tests/complexity.c: (main):
25994         * tests/mass_elements.c: (main):
25995         * testsuite/states/locked.c: (message_received), (main):
25996         * testsuite/states/parent.c: (main):
25997         * tools/gst-inspect.c: (print_element_flag_info),
25998         (print_implementation_info), (print_pad_info):
25999         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
26000         (main):
26001         * tools/gst-md5sum.c: (event_loop), (main):
26002         * tools/gst-typefind.c: (main):
26003         * tools/gst-xmlinspect.c: (print_element_info):
26004         Next big merge.
26005         Added GstBus for mainloop integration.
26006         Added GstMessage for sending notifications on the bus.
26007         Added GstTask as an abstraction for pipeline entry points.
26008         Removed GstThread.
26009         Removed Schedulers.
26010         Simplified GstQueue for multithreaded core.
26011         Made _link threadsafe, removed old capsnego.
26012         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
26013         Added pad blocking functions.
26014         Reworked scheduling functions in GstPad to prepare for
26015         scheduling updates soon.
26016         Moved events out of data stream.
26017         Simplified GstEvent types.
26018         Added return values to push/pull.
26019         Removed clocking from GstElement.
26020         Added prototypes for state change function for next merge.
26021         Removed iterate from bins and state change management.
26022         Fixed some elements, disabled others for now.
26023         Fixed -inspect and -launch.
26024         Added check for GstBus.
26025
26026 2005-03-10  Wim Taymans  <wim@fluendo.com>
26027
26028         * docs/design/part-MT-refcounting.txt:
26029         * docs/design/part-clocks.txt:
26030         * docs/design/part-gstelement.txt:
26031         * docs/design/part-gstobject.txt:
26032         * docs/design/part-standards.txt:
26033         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26034         (gst_bin_remove_func), (gst_bin_remove):
26035         * gst/gstbin.h:
26036         * gst/gstbuffer.c:
26037         * gst/gstcaps.h:
26038         * testsuite/clock/clock1.c: (main):
26039         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
26040         (main):
26041         * testsuite/dlopen/loadgst.c: (do_test):
26042         * testsuite/refcounting/bin.c: (add_remove_test1),
26043         (add_remove_test2), (main):
26044         * testsuite/refcounting/element.c: (main):
26045         * testsuite/refcounting/element_pad.c: (main):
26046         * testsuite/refcounting/pad.c: (main):
26047         * tools/gst-launch.c: (sigint_handler_sighandler):
26048         * tools/gst-typefind.c: (main):
26049         Doc updates.
26050         Added doc about clock.
26051         removed gst_bin_iterate_recurse_up(), marked methods
26052         for removal.
26053         Fix more testsuites.
26054
26055 2005-03-09  Wim Taymans  <wim@fluendo.com>
26056
26057         * gst/gstpad.c: (gst_pad_get_direction),
26058         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
26059         (gst_pad_collect_valist):
26060         * testsuite/bins/interface.c: (main):
26061         * testsuite/caps/audioscale.c: (test_caps):
26062         * testsuite/caps/caps.c: (test1), (test2), (test3):
26063         * testsuite/caps/deserialize.c: (main):
26064         * testsuite/caps/enumcaps.c: (main):
26065         * testsuite/caps/filtercaps.c: (main):
26066         * testsuite/caps/intersect2.c: (main):
26067         * testsuite/caps/random.c: (main):
26068         * testsuite/caps/renegotiate.c: (my_fixate), (main):
26069         * testsuite/caps/sets.c: (check_caps):
26070         * testsuite/caps/simplify.c: (check_caps), (main):
26071         * testsuite/caps/subtract.c: (check_caps):
26072         Fix _pad_get_direction wrt ghostpads.
26073         Fix caps testsuite.
26074
26075 2005-03-09  Wim Taymans  <wim@fluendo.com>
26076
26077         * check/Makefile.am:
26078         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
26079         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
26080         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
26081         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
26082         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
26083         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
26084         (gst_bin_remove), (gst_bin_iterate_recurse_up),
26085         (bin_element_is_sink), (gst_bin_iterate_sinks),
26086         (gst_bin_iterate_all_by_interface):
26087         * gst/gstbin.h:
26088         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
26089         (gst_element_change_state), (gst_element_dispose),
26090         (gst_element_finalize), (gst_element_set_loop_function):
26091         * gst/gstelement.h:
26092         * gst/gstiterator.c: (find_custom_fold_func):
26093         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26094         (gst_pad_collectv), (gst_pad_collect_valist),
26095         (gst_pad_template_new):
26096         * gst/gstpipeline.c: (gst_pipeline_class_init),
26097         (gst_pipeline_dispose), (gst_pipeline_set_property),
26098         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
26099         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
26100         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
26101         * gst/gstutils.h:
26102         * gst/schedulers/entryscheduler.c:
26103         * gst/schedulers/gstbasicscheduler.c:
26104         (gst_basic_scheduler_cothreaded_chain),
26105         (gst_basic_scheduler_chain_add_element):
26106         * testsuite/bins/interface.c: (main):
26107         Added GstBin test.
26108         Added GstSystemClock test.
26109         Implemented clock distribution code in GstBin.
26110         Implemented iterate sinks method for future use.
26111         Rearranged gstelement.h
26112         Fix GstIterator comparison bug.
26113         Moved some code to GstPipeline, mostly clocking related.
26114
26115 2005-03-09  Wim Taymans  <wim@fluendo.com>
26116
26117         * configure.ac:
26118         * gst/gst_private.h:
26119         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26120         (gst_bin_remove_func), (gst_bin_remove),
26121         (gst_bin_get_by_name_recurse_up):
26122         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
26123         (gst_clock_id_compare_func), (gst_clock_id_wait),
26124         (gst_clock_id_wait_async), (gst_clock_init),
26125         (gst_clock_adjust_unlocked), (gst_clock_get_time):
26126         * gst/gstelement.h:
26127         * gst/gstinfo.c: (_gst_debug_init):
26128         * gst/gstobject.h:
26129         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26130         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
26131         * gst/gstpad.h:
26132         Bump version number, we're now 0.9.0
26133         Add future debugging category.
26134         Fix NULL _unref() in _get_by_name_recurse_up
26135         Rearrange gstpad.h.
26136         Update some docs.
26137
26138 2005-03-08  Wim Taymans  <wim@fluendo.com>
26139
26140         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
26141         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
26142         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26143         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
26144         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
26145         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
26146         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
26147         * gst/elements/gstidentity.c: (gst_identity_class_init):
26148         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
26149         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
26150         * gst/elements/gstshaper.c: (gst_shaper_class_init):
26151         * gst/elements/gststatistics.c: (gst_statistics_class_init):
26152         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
26153         (gst_tee_link):
26154         * gst/gstelement.c: (gst_element_class_init),
26155         (gst_element_base_class_init), (gst_element_init),
26156         (gst_element_get_random_pad), (gst_element_wait_state_change),
26157         (gst_element_change_state), (gst_element_dispose),
26158         (gst_element_finalize), (gst_element_set_loop_function):
26159         * gst/gstelement.h:
26160         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
26161         * gst/gstthread.c: (gst_thread_class_init),
26162         (gst_thread_release_children_locks), (gst_thread_change_state):
26163         * gst/schedulers/gstbasicscheduler.c:
26164         (gst_basic_scheduler_loopfunc_wrapper),
26165         (gst_basic_scheduler_chain_wrapper),
26166         (gst_basic_scheduler_src_wrapper),
26167         (gst_basic_scheduler_remove_element):
26168         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
26169         Remove threadsafe properties. Fix elements because GObject
26170         complains when installing a property before declaring a
26171         set/get_property handler.
26172         Rearrange gstelement.h file, use STATE macros for state locks.
26173         Free mutexes in the finalize method instead of dispose.
26174
26175 2005-03-08  Wim Taymans  <wim@fluendo.com>
26176
26177         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26178         * gst/gstthread.c: (gst_thread_release_children_locks):
26179         Added parentage check.
26180         Fix build og GstThread again.
26181
26182 2005-03-08  Wim Taymans  <wim@fluendo.com>
26183
26184         * docs/design/part-MT-refcounting.txt:
26185         * docs/design/part-conventions.txt:
26186         * docs/design/part-gstobject.txt:
26187         * docs/design/part-relations.txt:
26188         * docs/design/part-standards.txt:
26189         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26190         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
26191         (gst_bin_get_by_name), (gst_bin_get_by_interface),
26192         (gst_bin_iterate_all_by_interface):
26193         * gst/gstbuffer.h:
26194         * gst/gstclock.h:
26195         * gst/gstelement.c: (gst_element_class_init),
26196         (gst_element_change_state), (gst_element_set_loop_function):
26197         * gst/gstelement.h:
26198         * gst/gstiterator.c:
26199         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
26200         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
26201         (gst_object_dispatch_properties_changed), (gst_object_set_name),
26202         (gst_object_set_parent), (gst_object_unparent),
26203         (gst_object_check_uniqueness):
26204         * gst/gstobject.h:
26205         Docs updates, clean up some headers.
26206
26207 2005-03-07  Wim Taymans  <wim@fluendo.com>
26208
26209         * check/.cvsignore:
26210         * check/Makefile.am:
26211         * check/gst-libs/.cvsignore:
26212         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
26213         * check/gst/.cvsignore:
26214         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
26215         (START_TEST), (gstbus_suite), (main):
26216         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
26217         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
26218         (gst_data_suite), (main):
26219         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
26220         (add_fold_func), (gstiterator_suite), (main):
26221         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
26222         (thread_name_object), (thread_name_object_default),
26223         (gst_object_name_compare), (gst_object_suite), (main):
26224         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
26225         (gst_pad_suite), (main):
26226         * check/gstcheck.c: (gst_check_log_message_func),
26227         (gst_check_log_critical_func), (gst_check_init):
26228         * check/gstcheck.h:
26229         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
26230         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
26231         Added checks.
26232
26233 2005-03-07  Wim Taymans  <wim@fluendo.com>
26234
26235         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
26236         (gst_list_iterator_next), (gst_list_iterator_resync),
26237         (gst_list_iterator_free), (gst_iterator_new_list),
26238         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
26239         (gst_iterator_free), (gst_iterator_push), (filter_next),
26240         (filter_resync), (filter_uninit), (filter_free),
26241         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
26242         (gst_iterator_foreach), (find_custom_fold_func),
26243         (gst_iterator_find_custom):
26244         * gst/gstiterator.h:
26245         Added missing files.
26246
26247 2005-03-07  Wim Taymans  <wim@fluendo.com>
26248
26249         * Makefile.am:
26250         * configure.ac:
26251         * docs/design/part-MT-refcounting.txt:
26252         * docs/design/part-conventions.txt:
26253         * docs/design/part-gstobject.txt:
26254         * docs/design/part-relations.txt:
26255         * examples/mixer/mixer.c: (main):
26256         * examples/thread/thread.c: (eos), (main):
26257         * gst/Makefile.am:
26258         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
26259         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
26260         (gst_spider_plug_from_srcpad):
26261         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
26262         (gst_spider_identity_change_state),
26263         (gst_spider_identity_sink_loop_type_finding):
26264         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
26265         * gst/elements/gstidentity.c: (gst_identity_init):
26266         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
26267         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
26268         * gst/elements/gsttypefindelement.c: (free_entry):
26269         * gst/gst.c:
26270         * gst/gst.h:
26271         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
26272         (gst_bin_set_clock_func), (gst_bin_auto_clock),
26273         (gst_bin_set_index), (gst_bin_set_element_sched),
26274         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
26275         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
26276         (gst_bin_iterate_elements), (iterate_child_recurse),
26277         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
26278         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
26279         (compare_interface), (gst_bin_get_by_interface),
26280         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
26281         * gst/gstbin.h:
26282         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
26283         (gst_buffer_default_free), (gst_buffer_default_copy),
26284         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
26285         (gst_buffer_create_sub):
26286         * gst/gstbuffer.h:
26287         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
26288         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
26289         (gst_caps_unref), (gst_static_caps_get),
26290         (gst_caps_remove_and_get_structure), (gst_caps_append),
26291         (gst_caps_append_structure), (gst_caps_remove_structure),
26292         (gst_caps_copy_nth), (gst_caps_set_simple),
26293         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
26294         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
26295         (gst_caps_structure_intersect_field), (gst_caps_intersect),
26296         (gst_caps_structure_subtract_field), (gst_caps_subtract),
26297         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
26298         (gst_caps_structure_figure_out_union),
26299         (gst_caps_switch_structures), (gst_caps_do_simplify),
26300         (gst_caps_replace), (gst_caps_from_string),
26301         (gst_caps_copy_conditional):
26302         * gst/gstcaps.h:
26303         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
26304         (_gst_clock_id_free), (gst_clock_id_unref),
26305         (gst_clock_id_compare_func), (gst_clock_id_wait),
26306         (gst_clock_id_wait_async), (gst_clock_class_init),
26307         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
26308         (gst_clock_get_time), (gst_clock_set_time_adjust),
26309         (gst_clock_set_property), (gst_clock_get_property):
26310         * gst/gstclock.h:
26311         * gst/gstcompat.h:
26312         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
26313         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
26314         * gst/gstdata.h:
26315         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26316         (gst_element_requires_clock), (gst_element_provides_clock),
26317         (gst_element_set_clock), (gst_element_clock_wait),
26318         (gst_element_wait), (gst_element_set_time_delay),
26319         (gst_element_is_indexable), (gst_element_add_pad),
26320         (gst_element_add_ghost_pad), (gst_element_remove_pad),
26321         (pad_compare_name), (gst_element_get_static_pad),
26322         (gst_element_request_pad), (gst_element_get_request_pad),
26323         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
26324         (gst_element_class_get_pad_template_list),
26325         (gst_element_class_get_pad_template), (gst_element_error_func),
26326         (gst_element_get_random_pad), (gst_element_get_event_masks),
26327         (gst_element_send_event), (gst_element_seek),
26328         (gst_element_get_query_types), (gst_element_query),
26329         (gst_element_get_formats), (gst_element_convert),
26330         (gst_element_is_locked_state), (gst_element_set_locked_state),
26331         (gst_element_sync_state_with_parent), (gst_element_change_state),
26332         (gst_element_finalize), (gst_element_yield),
26333         (gst_element_interrupt), (gst_element_set_scheduler),
26334         (gst_element_get_scheduler), (gst_element_set_loop_function):
26335         * gst/gstelement.h:
26336         * gst/gstevent.h:
26337         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
26338         (gst_format_get_by_nick), (gst_format_get_details),
26339         (gst_format_iterate_definitions):
26340         * gst/gstformat.h:
26341         * gst/gstindex.c: (gst_index_gtype_resolver):
26342         * gst/gstinfo.c:
26343         * gst/gstinfo.h:
26344         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
26345         (gst_mem_chunk_free):
26346         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
26347         (gst_object_ref), (gst_object_unref), (gst_object_sink),
26348         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
26349         (gst_object_dispatch_properties_changed),
26350         (gst_object_set_name_default), (gst_object_set_name),
26351         (gst_object_get_name), (gst_object_set_name_prefix),
26352         (gst_object_get_name_prefix), (gst_object_set_parent),
26353         (gst_object_get_parent), (gst_object_unparent),
26354         (gst_object_check_uniqueness), (gst_object_save_thyself),
26355         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
26356         (gst_object_set_property), (gst_object_get_property),
26357         (gst_object_get_path_string):
26358         * gst/gstobject.h:
26359         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26360         (gst_real_pad_init), (gst_real_pad_get_property),
26361         (gst_pad_custom_new), (gst_pad_get_direction),
26362         (gst_pad_set_active), (gst_pad_is_active),
26363         (gst_pad_set_event_function), (gst_pad_is_linked),
26364         (gst_pad_link_free), (gst_pad_link_intersect),
26365         (gst_pad_link_fixate), (gst_pad_set_caps),
26366         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
26367         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
26368         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
26369         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
26370         (gst_pad_get_caps), (gst_pad_peer_get_caps),
26371         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
26372         (gst_pad_realize), (gst_pad_get_allowed_caps),
26373         (gst_real_pad_dispose), (gst_real_pad_finalize),
26374         (gst_pad_collectv), (gst_pad_collect_valist),
26375         (gst_pad_template_dispose), (gst_pad_template_new),
26376         (gst_pad_get_internal_links):
26377         * gst/gstpad.h:
26378         * gst/gstpipeline.c: (gst_pipeline_dispose),
26379         (gst_pipeline_change_state):
26380         * gst/gstpipeline.h:
26381         * gst/gstplugin.c:
26382         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
26383         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
26384         * gst/gstpluginfeature.h:
26385         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
26386         * gst/gstquery.c: (_gst_query_type_initialize),
26387         (gst_query_type_register), (gst_query_type_get_by_nick),
26388         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
26389         * gst/gstquery.h:
26390         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
26391         * gst/gstscheduler.c: (gst_scheduler_add_element),
26392         (gst_scheduler_factory_create):
26393         * gst/gststructure.c: (gst_structure_set_parent_refcount),
26394         (gst_structure_free), (gst_structure_set_name),
26395         (gst_structure_id_set_value), (gst_structure_set_value),
26396         (gst_structure_set_valist), (gst_structure_remove_field),
26397         (gst_structure_remove_fields),
26398         (gst_structure_remove_fields_valist),
26399         (gst_structure_remove_all_fields), (gst_structure_foreach),
26400         (gst_structure_map_in_place),
26401         (gst_caps_structure_fixate_field_nearest_int),
26402         (gst_caps_structure_fixate_field_nearest_double):
26403         * gst/gststructure.h:
26404         * gst/gstsystemclock.c: (gst_system_clock_class_init),
26405         (gst_system_clock_init), (gst_system_clock_dispose),
26406         (gst_system_clock_async_thread),
26407         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
26408         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
26409         * gst/gstsystemclock.h:
26410         * gst/gsttag.c: (gst_tag_list_add_value_internal),
26411         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
26412         * gst/gsttaginterface.c:
26413         * gst/gstthread.c: (gst_thread_dispose),
26414         (gst_thread_release_children_locks), (gst_thread_change_state),
26415         (gst_thread_main_loop):
26416         * gst/gsttrashstack.h:
26417         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
26418         * gst/gsttypes.h:
26419         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26420         (gst_element_request_pad), (gst_element_get_pad_from_template),
26421         (gst_element_request_compatible_pad),
26422         (gst_element_get_compatible_pad_filtered),
26423         (gst_element_get_compatible_pad), (gst_element_state_get_name),
26424         (gst_element_link_pads_filtered), (gst_element_link_filtered),
26425         (gst_element_link_many), (gst_element_link),
26426         (gst_element_link_pads), (gst_element_unlink_pads),
26427         (gst_element_unlink_many), (gst_element_unlink),
26428         (gst_pad_can_link_filtered), (gst_pad_can_link),
26429         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
26430         (gst_object_default_error), (gst_bin_add_many),
26431         (gst_bin_remove_many), (gst_element_populate_std_props),
26432         (gst_element_class_install_std_props), (gst_buffer_merge),
26433         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
26434         (link_fold_func), (gst_pad_proxy_setcaps):
26435         * gst/gstutils.h:
26436         * gst/gstvalue.c: (gst_value_deserialize_string):
26437         * gst/parse/grammar.y:
26438         * gst/schedulers/gstbasicscheduler.c:
26439         (gst_basic_scheduler_cothreaded_chain),
26440         (gst_basic_scheduler_chain_recursive_add),
26441         (gst_basic_scheduler_pad_link):
26442         * gst/schedulers/gstoptimalscheduler.c:
26443         (get_group_schedule_function),
26444         (gst_opt_scheduler_state_transition),
26445         (gst_opt_scheduler_add_element), (element_get_reachables_func):
26446         * libs/gst/bytestream/bytestream.c:
26447         * libs/gst/dataprotocol/dataprotocol.c:
26448         (gst_dp_header_from_buffer):
26449         * po/nb.po:
26450         * po/ru.po:
26451         * tests/threadstate/threadstate2.c: (eos):
26452         * tools/gst-compprep.c: (main):
26453         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
26454         (print_pad_info), (print_children_info):
26455         * tools/gst-launch.c: (idle_func), (main):
26456         * tools/gst-md5sum.c: (idle_func), (main):
26457         * tools/gst-xmlinspect.c: (print_element_info):
26458         First THREADED backport attempt, focusing on adding locks and
26459         making sure the API is threadsafe. Needs more work. More docs
26460         follow this week.
26461
26462 2005-02-24  Andy Wingo  <wingo@pobox.com>
26463
26464         * tests/bench-complexity.scm:
26465         * tests/complexity.gnuplot: New files, good for running complexity
26466         benchmarks.
26467
26468         * tests/Makefile.am:
26469         * tests/complexity.c: New test, sets up N elements, at each level
26470         teeing into M streams per element. Eeeenteresting.
26471
26472         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
26473         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
26474         running bench-mass_elements.scm.
26475
26476         * tests/bench-mass_elements.scm: New script, runs mass_elements
26477         for various numbers of identities, outputting the results to a
26478         file. Requires guile 1.6. Just for testing.
26479
26480 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26481
26482         * gst/schedulers/fairscheduler.c:
26483           compile with debug disabled
26484
26485 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26486
26487         * configure.ac:
26488           hunting season on 0.9 is now OPEN