057001df76270639a4878a23309278cdec8c1a6b
[platform/upstream/gstreamer.git] / ChangeLog
1 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
2
3         * tests/check/elements/.cvsignore:
4           ignore more
5
6         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7         (GST_START_TEST):
8           try to narrow test failure
9
10 2006-12-21  David Schleef  <ds@schleef.org>
11
12         * plugins/elements/gstfakesrc.c:
13           Use g_random_int_range(), since it produces better random
14           numbers in a range than almost-correct floating point code.
15
16 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
17
18         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
19         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
20         (gst_check_teardown_sink_pad):
21           do not automatically (de)activate pads
22
23         * tests/check/Makefile.am:
24         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
25         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
26           add new, yet simple tests for queue
27
28         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
29         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
30         * tests/check/elements/filesrc.c: (cleanup_filesrc),
31         (GST_START_TEST):
32         * tests/check/elements/identity.c: (cleanup_identity):
33           consistent pad (de)activation
34
35 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
36
37         Patch by: Sebastian Dröge  <slomo ubuntu com>
38
39         * libs/gst/base/gstcollectpads.c:
40           Fix two doc typos (#387866).
41
42 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
43
44         * docs/manual/advanced-dparams.xml:
45           Fix typo (g_object_control_properties() doesn't exist).
46
47 2006-12-19  Edward Hervey  <edward@fluendo.com>
48
49         * gst/gstsegment.c: (gst_segment_set_seek):
50         Fine tune the cases where the segment start/stop values are really
51         updated.
52         * tests/check/gst/gstsegment.c: (GST_START_TEST):
53         Add tests for the return values of gst_segment_set_seek().
54
55 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
56
57         * gst/gst.c:
58           Docs typo fix.
59
60         * plugins/elements/gstqueue.c: (gst_queue_class_init),
61         (gst_queue_init):
62           Fix incorrect documentation and flesh it out a bit more.
63           Set default values for the max properties on the GParamSpec as well,
64           so it shows up correctly in gst-inspect.
65
66 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
67
68         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
69           Correct docs of queue, add more detail and crosslink it more.
70
71 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
72
73         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
74           Print additional debug info when the stream isn't perfectly
75           timestamped; don't try to use invalid durations.
76
77 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
78
79         * docs/design/Makefile.am:
80           Dist new design docs.
81
82 2006-12-16  Wim Taymans  <wim@fluendo.com>
83
84         Patch by: Sjoerd Simons <sjoerd at luon dot net>
85
86         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
87         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
88         (gst_collect_pads_stop), (gst_collect_pads_event),
89         (gst_collect_pads_chain):
90         * libs/gst/base/gstcollectpads.h:
91         Add refcounting to the collectpads data so we can track when it's safe
92         to free the data. Fixes #383382.
93
94 2006-12-15  Wim Taymans  <wim@fluendo.com>
95
96         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
97         (gst_collect_pads_remove_pad):
98         Automatically activate/deactivate pads when they are added to a
99         started/stoped collectpads.
100
101 2006-12-15  Wim Taymans  <wim@fluendo.com>
102
103         * gst/gstelement.c: (gst_element_add_pad):
104         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
105         * gst/gstpad.c: (gst_pad_init):
106         Set pads to FLUSHING when they are created. Check, warn and fix when a
107         demuxer adds an inactive pad to itself when running. Fixes #339326.
108
109 2006-12-15  Wim Taymans  <wim@fluendo.com>
110
111         * gst/gstelement.c: (gst_element_class_init),
112         (gst_element_default_send_event), (gst_element_send_event),
113         (gst_element_default_query), (gst_element_query):
114         Expose default element send_event and query handling as vmethods that
115         subclasses can chain up to.
116
117 2006-12-15  Wim Taymans  <wim@fluendo.com>
118
119         * gst/gstelement.c: (gst_element_set_state_func):
120         Small documentation fixes.
121
122 2006-12-15  Wim Taymans  <wim@fluendo.com>
123
124         * docs/design/draft-latency.txt:
125         Checked in draft for handling latency in pipelines.
126
127 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
128
129         * Makefile.am:
130         * gstreamer.doap:
131         * gstreamer.spec.in:
132           adding .doap file
133
134 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
135
136         * gst/gst.c: (init_pre), (init_post):
137           init_pre() and init_post() might be called via our GOptionGroup or
138           from gst_init(), and we should skip both of them if we've already
139           been initialised, otherwise we will init some things twice or add
140           two default log functions.
141
142 2006-12-13  Edward Hervey  <edward@fluendo.com>
143
144         * docs/manual/basics-bus.xml:
145         No, gst_main_loop does not exist. Its g_main_loop.
146         Discovered by somebody who abused the copy-paste technique of coding :)
147
148 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
149
150         * gst/gstghostpad.c:
151           Log ghostpad debug stuff to the GST_PADS category as well rather
152           than just to the default category.
153
154 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
155
156         * configure.ac:
157         * gst/gst.c: (init_pre):
158           Add some basic system details such as OS and architecture
159           to the debug output if possible, courtesy of uname().
160
161 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
162
163         * docs/gst/running.xml:
164           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
165           environment variables.
166
167 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
168
169         * tests/check/gst/gstbin.c: (GST_START_TEST):
170         It is acceptable to have a refcount of 2 or 3 at this point in the
171         test, because the pipeline might be just posting its state_change
172         message. The next line then waits for that message to appear using
173         bus_poll, so that should be fine too.
174
175 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
176
177         * gst/gst.c: (ensure_current_registry_forking):
178         Ignore EINTR when reading from the child registry pipe.
179         Explicitly ignore the return value from close, since it makes no
180         difference.
181
182         * gst/gstminiobject.c: (gst_mini_object_ref),
183         (gst_mini_object_unref):
184         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
185
186         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
187         When removing cached plugins, remove their features too, so they're
188         not visible after they've disappeared.
189
190         * gst/gstutils.c: (prepare_link_maybe_ghosting):
191         In the unlikely case that we are linking pads with no parents, don't
192         crash trying to get the non-existent parent bin.
193
194         * gst/parse/grammar.y:
195         Output debug in the PIPELINE category
196
197 2005-03-08  Wim Taymans  <wim@fluendo.com>
198
199         Patch by: René Stadler <mail at renestadler dot de>
200
201         * gst/gstclock.c: (gst_clock_new_periodic_id):
202         Reject invalid clock times for interval of periodic ids.
203         Fixes ##383506.
204
205 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
206
207         * gst/gstelementfactory.c: (gst_element_factory_create):
208         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
209         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
210         * tools/gst-inspect.c: (print_element_info):
211         Fix refcounting of gst_plugin_feature_load to match the docs. 
212         Fixes: #380129
213
214 2006-12-07  Wim Taymans  <wim@fluendo.com>
215
216         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
217         (gst_base_sink_get_position):
218         Improve debugging of events.
219
220 2006-12-07  Wim Taymans  <wim@fluendo.com>
221
222         Patch by: René Stadler <mail at renestadler dot de>
223
224         * gst/gstclock.c: (gst_clock_id_wait):
225         Make period ids add the interval to the origial requested time instead
226         of the possibly updated time which can be wrong when there are multiple
227         waiters for the same id. Fixes #382592.
228
229         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
230         (gst_system_clock_id_wait_jitter_unlocked),
231         (gst_system_clock_id_wait_jitter):
232         Fix restart in the async notify thread when an async entry is added to
233         the front of the list. Fixes #381492. 
234
235         * tests/check/gst/gstsystemclock.c: (store_callback),
236         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
237         Added test for multiple async waits.
238         Added test for async wait order.
239
240 2006-12-07  Wim Taymans  <wim@fluendo.com>
241
242         * gst/gstbin.c: (gst_bin_query):
243         Add some more docs about the POSITION query.
244
245 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
246
247         * configure.ac:
248         Bump version nano - back to CVS.
249
250 === release 0.10.11 ===
251
252 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
253
254         * configure.ac:
255           releasing 0.10.11, "Love never runs on time"
256
257 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
258
259         * win32/common/libgstbase.def:
260         * win32/common/libgstreamer.def:
261         * win32/vs8/libgstbase.vcproj:
262         * win32/vs8/libgstcoreelements.vcproj:
263         * win32/vs8/libgstreamer.vcproj:
264         Fix compilation on win32 under VS8
265         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
266         Partially fixes #381175
267
268 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
269
270         * gst/gstvalue.c: (gst_value_compare_fraction):
271         If someone is foolish enough to compare 2 fractions with denominator =
272         0, return UNORDERED rather than aborting.
273
274 2006-11-28  Edward Hervey  <edward@fluendo.com>
275
276         * libs/gst/base/Makefile.am:
277         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
278         (gst_data_queue_base_init), (gst_data_queue_class_init),
279         (gst_data_queue_init), (gst_data_queue_new),
280         (gst_data_queue_cleanup), (gst_data_queue_finalize),
281         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
282         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
283         (gst_data_queue_is_empty), (gst_data_queue_is_full),
284         (gst_data_queue_set_flushing), (gst_data_queue_push),
285         (gst_data_queue_pop), (gst_data_queue_drop_head),
286         (gst_data_queue_set_property), (gst_data_queue_get_property):
287         * libs/gst/base/gstdataqueue.h:
288         New GstDataQueue object for threadsafe queueing. Most useful for
289         elements that need some queueing functionnality.
290         * docs/libs/gstreamer-libs-docs.sgml:
291         * docs/libs/gstreamer-libs-sections.txt:
292         Insert documentation for GstDataQueue
293         * plugins/elements/Makefile.am:
294         * plugins/elements/gstelements.c:
295         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
296         (gst_multi_queue_class_init), (gst_multi_queue_init),
297         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
298         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
299         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
300         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
301         (gst_multi_queue_loop), (gst_multi_queue_chain),
302         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
303         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
304         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
305         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
306         (wake_up_next_non_linked), (compute_next_non_linked),
307         (single_queue_overrun_cb), (single_queue_underrun_cb),
308         (single_queue_check_full), (gst_single_queue_new):
309         * plugins/elements/gstmultiqueue.h:
310         New multiqueue element, using GstDataQueue. Used for queuing multiple
311         streams.
312         Closes #344639 and #347785
313
314 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
315
316         * docs/pwg/advanced-types.xml:
317           add more missing type details
318
319         * tools/gst-run.c: (main):
320           remove unused variable
321
322 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
323
324         * docs/libs/Makefile.am:
325         * docs/libs/gstreamer-libs.types:
326           add types of base classes to enable gobject specific stuff in the docs
327
328         * docs/random/ensonic/embedded.txt:
329           more ideas about isolating platform specific things
330
331 2006-11-20  Wim Taymans  <wim@fluendo.com>
332
333         Patch by: Sebastian Droege <slomo at ubuntu dot com>
334
335         * libs/gst/check/gstcheck.h:
336         Fix compilation and running against 0.9.4. Fixes #377332.
337
338 2006-11-20  Wim Taymans  <wim@fluendo.com>
339
340         * gst/gstsegment.c: (gst_segment_set_seek),
341         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
342         (gst_segment_to_running_time):
343         Fix boundary checking in to_running_time() and to_stream_time().
344         Fixes #377183.
345
346         * tests/check/gst/gstsegment.c: (GST_START_TEST):
347         stream and running time can now be calculated for the complete
348         clipped segment.
349
350 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
351
352         * gst/gstpad.c: (gst_pad_push_event):
353           Can't access event structure after giving away ownership of
354           the event.
355
356 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
357
358         * docs/random/ensonic/embedded.txt:
359         * docs/random/ensonic/profiling.txt:
360         * docs/random/ensonic/receipies.txt:
361           more thinking
362
363 2006-11-13  Wim Taymans  <wim@fluendo.com>
364
365         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
366
367         * gst/gstpad.c:
368         Fix documentation for gst_pad_dispatcher. Fixes #374475.
369
370 2006-11-13  Wim Taymans  <wim@fluendo.com>
371
372         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
373
374         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
375         Store new length in segment duration so we don't keep on calling the
376         potentially expensize get_size() call. Fixes #370865.
377
378 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
379
380         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
381
382         * win32/common/libgstreamer.def:
383           Add two missing symbols (#366492).
384
385 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
386
387         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
388         (gst_adapter_take_buffer):
389         Fix format string to use all its arguments.
390         Remove useless >= check on a guint
391
392 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
393
394         * tests/examples/adapter/.cvsignore:
395         Ignore build file as commanded by the build-bot
396
397 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
398
399         * tests/examples/adapter/Makefile.am:
400         * tests/examples/adapter/adapter_test.c: (run_test_take),
401         (run_test_take_buffer), (run_tests), (main):
402
403         Add new files from the previous commit
404
405 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
406
407         * Makefile.am:
408         * configure.ac:
409         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
410         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
411         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
412         * libs/gst/base/gstadapter.h:
413         * tests/check/libs/adapter.c: (create_and_fill_adapter),
414         (GST_START_TEST), (gst_adapter_suite):
415         * tests/examples/Makefile.am:
416         Do some optimisation work in GstAdapter to avoid copies in more cases.
417         It could still do slightly better by merging buffers when
418         gst_buffer_is_span_fast is true, but is already faster. 
419
420         Also, avoid traversing a single-linked list to append each incoming 
421         buffer inside the adapter.
422
423         Add simple test app that times the adapter behaviour in different
424         situations, and extend the unit test to check that bytes enter and
425         exit the adapter in their original order.
426
427 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
428
429         * docs/random/draft-missing-plugins.txt:
430           Update: use element message instead of adding a new message
431           type to the core; don't provide GStreamer API to initiate the
432           plugin download, just provide API to compose the strings needed
433           and let an external libgimmestuff handle the rest.
434
435 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
436
437         * tools/gst-inspect.c: (print_element_properties_info):
438         Print a string instead of 'unknown type' for GValueArray properties
439
440 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
441
442         * docs/random/draft-missing-plugins.txt:
443         More small fixes.
444
445 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
446
447         * tests/examples/typefind/typefind.c: (type_found), (main):
448           Make typefind element example work again (#371894); add a
449           license header.
450
451 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
452
453         * docs/random/draft-missing-plugins.txt:
454           Commit initial draft about how to deal with missing plugins,
455           needs work (API too).
456
457 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
458
459         * docs/pwg/advanced-types.xml:
460           documents the new caps elements (see #363118)
461
462 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
463
464         * gst/gstplugin.c: (gst_plugin_load_file):
465         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
466         (gst_file_src_map_region), (gst_file_src_start):
467         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
468         (gst_file_index_commit):
469           Use g_strerror() instead of strerror() - we want UTF-8.
470
471 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
472
473         Patch by: Peter Kjellerstedt <pkj at axis com>
474
475         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
476           Another printf fix (#371493).
477
478 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
479
480         * tests/check/gst/gsttag.c:
481           relicence (okay with author=company)
482
483 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
484
485         * gst/gstpad.c: (gst_pad_event_default_dispatch),
486         (gst_pad_push_event):
487           Enhance debug and improve docs
488         
489         * gst/gsturi.c:
490           Fix docs
491
492 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
493
494         * docs/random/ensonic/distributed.txt:
495         * docs/random/ensonic/profiling.txt:
496           more ideas
497
498 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
499
500         * docs/gst/gstreamer-sections.txt:
501           add new API and fix the build
502           
503         * gst/gstbin.c: (gst_bin_recalc_state):
504         * gst/gstelement.c: (gst_element_message_full),
505         (gst_element_get_state_func), (gst_element_set_state_func):
506           use new API and improve logging
507         
508         * gst/gstutils.c: (gst_element_state_change_return_get_name):
509         * gst/gstutils.h:
510           API: add function to get StateChangereturn names to improve logs 
511
512 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
513
514         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
515           I'm considering shooting the next person to put strerror stuff
516           in the translateable part of the message.
517
518 2006-11-03  Wim Taymans  <wim@fluendo.com>
519
520         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
521         Get the type and printf conversion specifiers right.
522
523 2006-11-03  Wim Taymans  <wim@fluendo.com>
524
525         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
526
527         * gst/gstpad.c: (gst_pad_init), (pre_activate),
528         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
529         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
530         Some small cleanups. Improve debugging.
531         * gst/gstpad.h:
532         Signal all waiting threads with a broadcast instead of just one.
533         Fixes #369942.
534
535 2006-11-03  Wim Taymans  <wim@fluendo.com>
536
537         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
538         (gst_fd_src_create):
539         Add some debugging. 
540         Only update fd when it's different from the old.
541
542 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
543
544         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
545           Printf fixes for PPC/OSX, take two (#369366).
546
547 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
548
549         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
550
551         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
552         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
553         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
554           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
555           don't cast to long long for portability reasons, but use
556           GLib's types instead.
557
558 2006-10-30  Michael Smith  <msmith@fluendo.com>
559
560         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
561           Get the arguments to lseek() the right way around.
562           Fixes 367677.
563
564 2006-10-30  Wim Taymans  <wim@fluendo.com>
565
566         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
567
568         * gst/gstinfo.h:
569         _declspec should be __declspec (two underscores, not one). Fixes 366572.
570
571 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
572
573         Patch by: Kjartan Maraas  <kmaraas at gnome org>
574
575         * docs/design/part-MT-refcounting.txt:
576         * docs/random/wtay/capsnego2-docs:
577         * gst/gstclock.c:
578         * gst/gstxml.c:
579           Typo fixes (#366212).
580
581 2006-10-28  Wim Taymans  <wim@fluendo.com>
582
583         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
584
585         * gst/gst.c:
586         * win32/common/libgstbase.def:
587         * win32/common/libgstreamer.def:
588         * win32/vs8/libgstbase.vcproj:
589         * win32/vs8/libgstcontroller.vcproj:
590         Add needed entries in .def files.
591         Use HAVE_UNISTD_H.
592         Rearrange def files in vs8 solutions. Fixes #366286.
593
594 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
595
596         * win32/common/gstconfig.h:
597           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
598           hand-made win32 gstconfig.h. Fixes #366321.
599
600 2006-10-27  Wim Taymans  <wim@fluendo.com>
601
602         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
603         (gst_ghost_pad_new_full):
604         Make acceptcaps return TRUE when we don't have a target, just like
605         setcaps does.
606
607 2006-10-27  Wim Taymans  <wim@fluendo.com>
608
609         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
610         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
611
612 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
613
614         * gst/gststructure.c: (gst_structure_id_set_value):
615           If someone tries to set a non-UTF8 string field on a structure,
616           don't just print a warning, but also ignore the request and do
617           not change/add that field to the structure.
618
619         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
620           Test for the above.
621
622 2006-10-25  David Schleef  <ds@schleef.org>
623
624         * gst/gstinfo.c:
625           g_hash_table_insert() needs a cast to a non-const pointer duh.
626
627 2006-10-25  David Schleef  <ds@schleef.org>
628
629         * gst/gstinfo.c:
630         * gst/gstinfo.h:
631           Change name parameter of _gst_debug_register_funcptr to const
632           to reflect the constness of its use in the function as well
633           as to quiet a gcc warning.
634
635 2006-10-25  Edward Hervey  <edward@fluendo.com>
636
637         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
638         Don't push the buffer if it's empty.
639         Closes #363095
640
641 2006-10-24  Wim Taymans  <wim@fluendo.com>
642
643         * gst/gstevent.h:
644         Add small comment.
645
646         * libs/gst/base/gstbasetransform.c:
647         (gst_base_transform_sink_eventfunc):
648         Debug segment values *after* updating them as this is more
649         interesting.
650
651 2006-10-23  Wim Taymans  <wim@fluendo.com>
652
653         * docs/design/part-events.txt:
654         Update some docs.
655
656         * docs/design/part-block.txt:
657         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
658         (gst_pad_push_event):
659         Revert BLOCKING patch, it tries to be smart without really having a
660         clear idea what or how. So, now we discard all FLUSHING events again on
661         a blocking pad. Should fix gnonlin again.
662
663 2006-10-23  Wim Taymans  <wim@fluendo.com>
664
665         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
666
667         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
668         (gst_base_src_start), (gst_base_src_activate_push):
669         Make sure size is always initialized. Fixes #364388.
670
671 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
672
673         * docs/random/ensonic/distributed.txt:
674           add some ideas about doing distributed processing
675
676         * docs/random/ensonic/profiling.txt:
677           get_rusage look promising
678
679 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
680
681         * docs/manual/basics-helloworld.xml:
682           Add a cast in example to fix compile warning
683
684 2006-10-18  Wim Taymans  <wim@fluendo.com>
685
686         * gst/gstsegment.c: (gst_segment_set_last_stop),
687         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
688         Relax arg checking again, -1 is allowed.
689
690 2006-10-18  Wim Taymans  <wim@fluendo.com>
691
692         * gst/gstsegment.c: (gst_segment_set_last_stop),
693         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
694         _set_last_stop() must be with a value != -1
695         A _TYPE_SET to -1 means seek to 0.
696         Calc last_stop correctly for negative rates.
697         Make sure we work with positive durations when updating a segment.
698
699 2006-10-18  Wim Taymans  <wim@fluendo.com>
700
701         * docs/design/part-live-source.txt:
702         * gst/gstclock.h:
703         Small docs fixes.
704
705 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
706
707         * gst/gstbuffer.h:
708           Add an explicit cast to GstBuffer** to keep old code that added an
709           explicit cast to GstMiniObject** for gst_mini_object_replace()
710           compiling without warning.
711
712 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
713
714         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
715           check for validity of dates
716
717 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
718
719         * docs/gst/gstreamer-sections.txt:
720           Forgot this one, makes gtk-doc shut up.
721
722 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
723
724         Patch by: Peter Kjellerstedt <pkj at axis com>
725
726         * gst/gstobject.h:
727           Don't define xmlNodePtr to gpointer if the core was built with
728           --disable-loadsave and --disable-registry, this will break
729           applications that want to use libxml2 but are buildling against a
730           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
731           instead so we don't have to mess with the libxml2 namespace
732           (#361675).
733
734 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
735
736         * gst/gstbuffer.h:
737           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
738           type-punned pointer warnings.
739
740 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
741
742         * gst/gstelement.h:
743           Add casts to the correct return type to state <=> state transition
744           macros.
745
746 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
747
748         * docs/design/part-live-source.txt:
749           describe howto handle latency
750         
751         * docs/random/ensonic/profiling.txt:
752           more ideas
753
754         * tools/gst-plot-timeline.py:
755           fix log parsing for solaris, remove unused function
756
757 2006-10-16  Wim Taymans  <wim@fluendo.com>
758
759         * docs/design/part-trickmodes.txt:
760         * gst/gstevent.c:
761         Update some docs regarding reverse playback.
762
763 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
764
765         Patch by: Marcus Granado  <mrc dot gran at gmail com>
766
767         * win32/vs8/grammar.vcproj:
768           Error out with a warning if glib-genmarshal.exe is not in path,
769           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
770
771 2006-10-13  Wim Taymans  <wim@fluendo.com>
772
773         * gst/gstsegment.c: (gst_segment_set_seek):
774         When seeking to stop -1, set last_stop (current position) to the
775         duration of the segment.
776
777 2006-10-13  Wim Taymans  <wim@fluendo.com>
778
779         * gst/gstelement.h:
780         Clarify _NO_PREROLL a bit more.
781
782         * gst/gstevent.c:
783         Fix docs.
784
785         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
786         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
787         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
788         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
789         due to wrong locking order. Fixes #361769.
790         Remove some redundant/misplaced checks in pad_block.
791
792         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
793         For negative rates, count backwards from the duration.
794
795 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
796
797         * gst/gsterror.c: (_gst_library_errors_init):
798           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
799           up with something better).
800
801 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
802
803         * win32/vs6/libgstreamer.dsp:
804         * win32/vs7/libgstreamer.vcproj:
805         * win32/vs8/libgstreamer.vcproj:
806           Don't reference glib-compat.c which is currently not used and not
807           disted; add gstquark.c which was recently added. Fixes #361730.
808
809 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
810
811         * win32/common/libgstbase.def:
812         * win32/common/libgstcontroller.def:
813         * win32/common/libgstreamer.def:
814           Add gst_caps_merge() and a bunch of other recently-added functions.
815           Fixes #361732.
816
817 2006-10-11  Wim Taymans  <wim@fluendo.com>
818
819         * docs/plugins/gstreamer-plugins.args:
820         * docs/plugins/inspect/plugin-coreelements.xml:
821         * docs/plugins/inspect/plugin-coreindexers.xml:
822         Update element args.
823
824         * gst/gstsystemclock.c:
825         Small comment update.
826
827         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
828         (gst_tee_request_new_pad), (gst_tee_release_pad),
829         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
830         (gst_tee_sink_activate_pull):
831         * plugins/elements/gsttee.h:
832         Some tee loving:
833         Add default property defines.
834         Implement release pad function.
835         Give properties better blubs etc.
836         Activate pads before adding them to a running tee.
837         Do simple buffer_alloc on the first requested pad.
838         Post error when activation fails.
839
840 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
841
842         * gst/gst.c: (ensure_current_registry_forking):
843           Check return value of write() to make compiler happy.
844
845 2006-10-11  Wim Taymans  <wim@fluendo.com>
846
847         Patch by: Sjoerd Simons <sjoerd at luon dot net>
848
849         * plugins/elements/gstqueue.c: (gst_queue_chain):
850         Recheck queue filledness after signalling the overrun when we're about
851         to leak downstream because we released the lock when emitting the signal
852         and the queue could be empty again. Fixes #352345.
853
854 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
855
856         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
857           Fix refcounting here too, just like we did for _new_valist() a few
858           days ago (#357180) (thanks to René Stadler). Also remove all those
859           'Since: 0.9' from the gtk-doc blobs.
860
861         * tests/check/libs/controller.c: (controller_refcount_new_list),
862         (gst_controller_suite):
863           Unit test for the above.
864
865 2006-10-10  Wim Taymans  <wim@fluendo.com>
866
867         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
868
869         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
870         (gst_pad_save_thyself):
871         Update some docs.
872         Write pad direction in XML output. Fixes #345496.
873
874 2006-10-10  Wim Taymans  <wim@fluendo.com>
875
876         Patch by: René Stadler <mail at renestadler dot de>
877
878         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
879         (gst_controller_new_list), (_gst_controller_dispose),
880         (_gst_controller_finalize), (_gst_controller_class_init):
881         Take ref to controlled object so that it cannot disappear. 
882         Fixes #357432.
883
884 2006-10-10  Wim Taymans  <wim@fluendo.com>
885
886         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
887         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
888         (gst_check_teardown_sink_pad):
889         Activate/deactivate pads in setup/teardown respectively.
890
891 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
892
893         Patch by: Josep Torre Valles <josep@fluendo.com>
894
895         * gst/Makefile.am:
896         Cast values when making gstenumtypes.h.  This pacifies Forte
897         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
898         in the enumeration.
899
900 2006-10-09  Wim Taymans  <wim@fluendo.com>
901
902         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
903         Rename some more @cur to @start to fix docs. 
904
905         * gst/gstsegment.c: (gst_segment_set_seek):
906         Fix typo.
907         time and start must always stay in sync as defined in design doc.
908
909         * gst/gsttaglist.c: (gst_tag_list_is_empty):
910         Rename param to fix docs.
911
912         * tests/check/gst/gstsegment.c: (GST_START_TEST):
913         Check that start and time are in sync.
914
915         * tests/check/pipelines/parse-launch.c:
916         (gst_parse_test_element_change_state):
917         Activate pad before adding to the element.
918
919 2006-10-09  Wim Taymans  <wim@fluendo.com>
920
921         * docs/design/part-qos.txt:
922         Fix typo.
923
924         * gst/gstevent.c:
925         * gst/gstevent.h:
926         Update seek event docs regarding negative rates.
927         Rename @cur to @start. 
928
929         * gst/gstsegment.c: (gst_segment_set_seek):
930         * gst/gstsegment.h:
931         Update set_seek docs regarding negative rates.
932         Correctly update last_stop to @stop when dealing with negative
933         rates.
934         Rename @cur to @start. 
935
936         * tests/check/gst/gstpad.c: (GST_START_TEST):
937         Activate pads before trying to use them.
938
939         * tests/check/gst/gstsegment.c: (GST_START_TEST),
940         (gst_segment_suite):
941         Add simple check for segments and negative rates.
942
943 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
944
945         * gst/gsttaglist.c: (gst_tag_list_is_empty):
946         * gst/gsttaglist.h:
947         * docs/gst/gstreamer-sections.txt:
948           API: add gst_tag_list_is_empty() (#360467).
949
950         * tests/check/gst/gsttag.c: (GST_START_TEST):
951           And a test case.
952
953 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
954
955         * gst/gstmessage.h:
956         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
957         a value that doesn't fit on enumeration.
958
959 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
960
961         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
962         Remove local debugging system and use Gstreamer's instead.
963
964 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
965
966         Patch by: Josep Torre Valles <josep@fluendo.com>
967
968         * common/m4/gst-error.m4:
969         Disable warning of statement not reached on Forte.
970         * gst/gstmessage.h:
971         Fix warning on Forte (value doesn't fit on enumeration).
972         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
973         Fix warning on Forte (value doesn't fit on enumeration).
974         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
975         DEBUG macro says it takes minimum of 2 args and so Forte
976         complains about the use with just 1 arg.
977         * plugins/elements/gstfdsink.c:
978         * plugins/elements/gstfdsrc.c:
979         * plugins/elements/gstfilesink.c:
980         * plugins/elements/gstfilesrc.c:
981         Use correct return type for the uri handler implementations.
982
983         All these fix warnings in Forte.  Fixes bug #360860.
984
985 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
986
987         * gst/gstelement.h:
988           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
989           format string, so don't use G_GNUC_PRINTF for those versions.
990
991 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
992
993         * gst/gsttaglist.c: (gst_is_tag_list):
994         * gst/gsttaglist.h:
995           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
996
997         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
998           Small test for the above.
999
1000 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
1001
1002         * gst/gsttaglist.h:
1003           Less tabs, more spaces.
1004
1005 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
1006
1007         * gst/gstinfo.h:
1008           Those two function declarations do actually belong there, revert
1009           commit from yesterday that turned them intro macros.
1010
1011 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
1012
1013         Patch by: Josep Torre Valles <josep@fluendo.com>
1014
1015         * gst/gst.c: (gst_init_get_option_group):
1016         Fix empty declaration and type mismatch.
1017         * gst/gstbin.c: (gst_bin_change_state_func):
1018         Fix type mismatch.
1019         * gst/gstelement.c: (gst_element_continue_state),
1020         (gst_element_set_state_func), (gst_element_change_state),
1021         (gst_element_change_state_func):
1022         Fix type mismatches.
1023         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
1024         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
1025         Cast as appropriate.
1026         * gst/gstobject.c: (gst_class_signal_connect):
1027         Cast as appropriate.  The function pointer parameter really
1028         has the wrong type but would break API if we change it.
1029         * gst/gstquery.c:
1030         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
1031         order of including string.h.
1032         * gst/gstutils.c: (gst_element_state_get_name):
1033         Remove unreachable line.
1034         * gst/gstxml.c: (gst_xml_parse_doc):
1035         Fix type mismatch.
1036         All these caught by Forte.
1037
1038 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
1039
1040         Patch by: Josep Torre Valles <josep@fluendo.com>
1041
1042         * common/m4/gst-error.m4:
1043         Fixed bug #360151.
1044         We need to disable warnings on Forte for empty declarations
1045         due to gst-indent adding ;s to lines that just use macros
1046         where the macro actually doesn't need a ; at end to end
1047         statement.
1048
1049 2006-10-06  Wim Taymans  <wim@fluendo.com>
1050
1051         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1052         (gst_file_sink_close_file), (gst_file_sink_event),
1053         (gst_file_sink_render):
1054         Add some FIXME for the NEWSEGMENT handling.
1055
1056 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
1057
1058         * gst/parse/grammar.y:
1059         Remove static function gst_parse_element_lock as all it does
1060         is return.  Looks like cruft from 0.8.
1061
1062 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
1063
1064         Patch by: Josep Torre Valles <josep@fluendo.com>
1065
1066         * common/m4/gst-error.m4:
1067         * configure.ac:
1068         * libs/gst/net/Makefile.am:
1069         Fix a compilation issue with Forte on Solaris.  inet_aton is in
1070         libresolv.
1071
1072 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
1073
1074         * gst/gstpad.c: (pre_activate):
1075         * gst/gstregistry.c: (gst_registry_scan_path_level):
1076         * gst/gstregistryxml.c: (load_plugin):
1077         * libs/gst/controller/gstcontroller.c:
1078         (gst_controlled_property_set_interpolation_mode):
1079         * libs/gst/dataprotocol/dataprotocol.c:
1080         (gst_dp_packet_from_event_1_0):
1081         * libs/gst/net/gstnetclientclock.c:
1082         (gst_net_client_clock_observe_times):
1083         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1084           Printf fixes.
1085
1086 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
1087
1088         * configure.ac:
1089         * docs/gst/gstreamer-sections.txt:
1090         * gst/gstconfig.h.in:
1091         * gst/gstelement.h:
1092         * gst/gstinfo.h:
1093           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
1094           whether we can use G_GNUC_PRINTF in other header files and at
1095           least check the printf format/arguments of debug messages and
1096           GST_ELEMENT_ERROR messages when the printf extension is not
1097           being used.
1098           Replace more tabs with spaces in gstinfo.h and remove two spurious
1099           function declarations in GST_DISABLE_DEBUG part with macros.
1100
1101 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
1102
1103         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
1104           More docs for the sync-message signal (mention that it is not
1105           emitted by default); log message structures of messages posted on
1106           the bus as well.
1107
1108 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
1109
1110         * gst/gst.c: (ensure_current_registry_forking):
1111         Use a pipe pair to receive status results from the forked child, and
1112         ignore the result from waitpid. Fixes #355499
1113
1114 2006-10-02  Wim Taymans  <wim@fluendo.com>
1115
1116         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
1117         (gst_ghost_pad_suite):
1118         Fix leak in check.
1119
1120 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
1121
1122         * gst/gstpad.c:
1123           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
1124
1125 2006-10-02  Edward Hervey  <edward@fluendo.com>
1126
1127         * docs/design/part-block.txt:
1128         Further explain the use of flushing on blocked pads.
1129         * docs/gst/gstreamer-sections.txt:
1130         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
1131         (gst_pad_push_event):
1132         * gst/gstpad.h:
1133         Added new GstPadFlag : GST_PAD_BLOCKING.
1134         Adds the notion of pads really blocking, which enables to properly
1135         handle FLUSH_START/FLUSH_STOP events on blocked pads.
1136         Fixes #358999
1137         API: gst_pad_is_blocking()
1138         API: GST_PAD_IS_BLOCKING() macro
1139         API: GST_PAD_BLOCKING GstPadFlag
1140         
1141 2006-10-02  Wim Taymans  <wim@fluendo.com>
1142
1143         Patch by: mrcgran <mrc.gran at gmail dot com>
1144
1145         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
1146         Filter the proxied caps against the padtemplate if we have one.
1147
1148         * gst/gstquery.c: (gst_query_new_segment):
1149         Add include for gstinfo.h so that compilation with
1150         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
1151
1152 2006-10-02  Wim Taymans  <wim@fluendo.com>
1153
1154         Patch by: Alessandro Decina  <alessandro at nnva org>
1155
1156         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
1157         (gst_file_sink_set_location), (gst_file_sink_open_file),
1158         (gst_file_sink_close_file), (gst_file_sink_event),
1159         (gst_file_sink_render):
1160         Set file to NULL when closing filesink so that we can set a new filename
1161         in READY. Fixes #358613.
1162
1163 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
1164
1165         Patch by: Alessandro Decina  <alessandro at nnva org>
1166
1167         * gst/gstevent.c: (_gst_event_copy):
1168           Fix gst_mini_object_make_writable() and gst_event_copy() for events
1169           with event structures by setting the parent refcount address of the
1170           copied structure to the address of the refcount member of the newly
1171           copied event rather than the address of the refcount member of the
1172           original event. Fixes #358737.
1173
1174         * tests/check/gst/gstevent.c: (GST_START_TEST):
1175           Unit test for the above.
1176
1177 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
1178
1179         * docs/design/Makefile.am:
1180           Dist some more files.
1181
1182 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
1183
1184         * tests/check/libs/controller.c: (GST_START_TEST),
1185         (gst_controller_suite):
1186           Add test for the previous fix; add some more tests
1187           for correct refcounting behaviour; fix a few leaks
1188           in test cases; call gst_controller_init() at start
1189           of all tests.
1190
1191 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
1192
1193         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
1194         (gst_controller_set_from_list):
1195           Don't g_return_val_if_fail() on timed values with invalid timestamps
1196           inside a critical section without unlocking the mutex. Spotted by
1197           René Stadler. (#357617)
1198           Also, fix up refcounting properly: when returning an existing
1199           controller, we should increase the reference only once and not
1200           once per property and when trying to control a property again
1201           we should also increase the refcount.
1202
1203 2006-09-29  Wim Taymans  <wim@fluendo.com>
1204
1205         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1206         * libs/gst/net/gstnettimeprovider.c:
1207         (gst_net_time_provider_thread):
1208         Stop reading commands when EOF as well.
1209
1210         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1211         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1212         * plugins/elements/gstidentity.c: (gst_identity_class_init):
1213         Unify description of the dump property.
1214
1215 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
1216
1217         * tests/examples/manual/.cvsignore:
1218         OK, so it's actually cvsignore that needs changing. Stop laughing.
1219
1220 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
1221
1222         * tests/examples/manual/Makefile.am:
1223         Gah, declare vars *before* using them
1224
1225 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
1226
1227         * gst/gst.c: (init_pre), (scan_and_update_registry),
1228         (ensure_current_registry_nonforking),
1229         (ensure_current_registry_forking), (ensure_current_registry),
1230         (init_post), (gst_debug_help), (gst_deinit):
1231         * gst/gst_private.h:
1232         * gst/gstregistry.c: (gst_registry_finalize),
1233         (gst_registry_remove_features_for_plugin_unlocked),
1234         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
1235         (gst_registry_scan_path),
1236         (_priv_gst_registry_remove_cache_plugins),
1237         (_priv_gst_registry_cleanup):
1238         * gst/gstregistry.h:
1239         Re-commit the registry changes, along with an extra fix:
1240           When a cached plugin is encountered at a different file path,
1241           update the stored path in the registry cache so that the parent
1242           process knows where it actually is now when it re-reads the registry
1243           cache. Fixes the thing that broke distcheck with the previous commit.
1244
1245         * tests/check/Makefile.am:
1246         Clean up files named 'core' too when running make clean.
1247
1248         * tests/examples/manual/Makefile.am:
1249         Set up a registry path for running these tests, and clean it properly
1250         for distcheck.
1251
1252 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
1253
1254         * configure.ac:
1255         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
1256         want gmodule-no-export-2.0.pc instead so that we don't drag in
1257         --export-dynamic on every project that links to GStreamer.
1258
1259         Also, make our export regex only match the start of symbols, rather 
1260         than any symbol that contains '_gst' somewhere.
1261
1262         * libs/gst/check/Makefile.am:
1263         The libgstcheck we build does however need export-dynamic, as it
1264         produces some symbols that don't match our _gst... style regex.
1265         Fixes: #318031
1266
1267 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
1268
1269         * gst/gst.c: (init_pre), (scan_and_update_registry),
1270         (ensure_current_registry_nonforking),
1271         (ensure_current_registry_forking), (ensure_current_registry),
1272         (init_post), (gst_debug_help), (gst_deinit):
1273         * gst/gst_private.h:
1274         * gst/gstregistry.c: (gst_registry_finalize),
1275         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
1276         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
1277         (_gst_registry_cleanup):
1278         * gst/gstregistry.h:
1279           Revert previous change until I figure out why it breaks distcheck.
1280
1281 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
1282
1283         * gst/gst.c: (init_pre), (scan_and_update_registry),
1284         (ensure_current_registry_nonforking),
1285         (ensure_current_registry_forking), (ensure_current_registry),
1286         (init_post), (gst_debug_help), (gst_deinit):
1287
1288           Make init_pre and init_post take the full complement of GOptionFunc
1289           args so they can return useful GErrors. Make the registry updating
1290           functions do so.
1291
1292           Call _priv_gst_registry_remove_cache_plugins after scanning files to
1293           ensure that the registry we're about to write out doesn't contain
1294           stale information about old-deleted plugin files.
1295
1296           Make _priv_gst_registry_remove_cache_plugins return a boolean so
1297           that deletion of plugin files is considered a registry change.
1298
1299         * gst/gst_private.h:
1300         * gst/gstregistry.c: (gst_registry_finalize),
1301         (gst_registry_remove_features_for_plugin_unlocked),
1302         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
1303         (gst_registry_scan_path),
1304         (_priv_gst_registry_remove_cache_plugins),
1305         (_priv_gst_registry_cleanup):
1306         * gst/gstregistry.h:
1307         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
1308         by adding _priv prefix, so that they won't appear in the global
1309         symbol table. They still do atm though because of #318031. Move the
1310         prototypes to gst_private.h
1311
1312         When removing a plugin, remove all features for that plugin too. 
1313         Fixes #340878.
1314
1315 2006-09-27  Wim Taymans  <wim@fluendo.com>
1316
1317         * docs/random/moving-plugins:
1318         Make it clear that the "compiled-in descriptions" really mean
1319         the element details.
1320
1321         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1322         (gst_base_sink_wait_preroll):
1323         Update docs.
1324
1325         * docs/libs/gstreamer-libs-sections.txt:
1326         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1327         (gst_base_src_get_range), (gst_base_src_activate_push):
1328         * libs/gst/base/gstbasesrc.h:
1329         Added function to block while waiting for PLAYING, this function
1330         is used by live sources that block on the clock.
1331         API: gst_base_src_wait_playing()
1332
1333 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
1334
1335         Patch by: Peter Kjellerstedt <pkj at axis com>
1336
1337         * Makefile.am:
1338           gst-element-check.m4 is generated and should therefore be
1339           copied from the build dir rather than the source dir (#357593).
1340           'make distcheck' hasn't noticed this because we were disting
1341           the file as well, so stop doing that.
1342
1343 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
1344
1345         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1346           Add some tests for gst_caps_intersect().
1347
1348         * tools/gst-launch.c: (event_loop):
1349           Print all buffering percentages we get, even the 100% one.
1350
1351 2006-09-26  Wim Taymans  <wim@fluendo.com>
1352
1353         * tools/gst-inspect.c: (print_element_properties_info),
1354         (print_signal_info):
1355         Fix printing of flags to match the look of enums.
1356
1357 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
1358
1359         * gst/gstelementfactory.c:
1360           Fix typo in docs blurb.
1361
1362 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
1363
1364         * gst/gsturi.c: (search_by_entry):
1365           Don't assert/crash here if a uri handler doesn't return any
1366           supported protocols. The list of protocols could be generated
1367           dynamically at runtime or at plugin registration, and an error
1368           in the underlying library shouldn't be fatal (#353301).
1369
1370 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
1371
1372         * gst/gstinfo.c:
1373           Fix warning if HAVE_PRINTF_EXTENSION is undefined
1374           (spotted by Peter Kjellerstedt).
1375
1376 2006-09-23  Wim Taymans  <wim@fluendo.com>
1377
1378         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1379
1380         * libs/gst/base/gstbasesrc.c:
1381         (gst_base_src_default_check_get_range), (gst_base_src_start),
1382         (gst_base_src_activate_push), (gst_base_src_activate_pull),
1383         (gst_base_src_change_state):
1384         Match _start/_stop calls in the activate functions. Remove redundant
1385         _stop call from the state change function. Fixes #356910.
1386         Turn failure DEBUG into ERROR. 
1387
1388 2006-09-22  Wim Taymans  <wim@fluendo.com>
1389
1390         * docs/design/part-buffering.txt:
1391         * gst/gstmessage.c: (gst_message_new_buffering),
1392         (gst_message_parse_buffering):
1393         Update docs about buffering.
1394
1395         * docs/design/part-trickmodes.txt:
1396         Fix typo.
1397
1398 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
1399
1400         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
1401         (gst_controller_new_list):
1402           Ref instances when returning them again (fixes #357180)
1403
1404 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
1405
1406         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
1407           Don't forget to release proxy lock when there's an error.
1408
1409 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
1410
1411         * gst/gstcaps.h:
1412           Add extra initialisers for Caps things, to fix some plugin warnings
1413           when using -Wextra
1414
1415 2006-09-18  Wim Taymans  <wim@fluendo.com>
1416
1417         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
1418           Also set template on the internal pad so that a getcaps from the 
1419           target pad returns the template caps.
1420
1421 2006-09-18  Wim Taymans  <wim@fluendo.com>
1422
1423         * gst/gstelement.c: (gst_element_post_message),
1424         (gst_element_dispose):
1425         Use _DEBUG_OBJECT some more.
1426
1427         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1428         Avoid typechecks.
1429
1430         * tools/gst-launch.c: (main):
1431         If the toplevel element is not a GstPipeline, it must be put in a
1432         pipeline so that a bus and clock is selected.
1433
1434 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
1435
1436         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1437           JITTER, RATE, and LATENCY query should be handled by the
1438           default case and not by the CONVERT query code.
1439
1440 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
1441
1442         * gst/gstformat.c: (gst_format_register):
1443           Fix locking order (must take lock before using n_values).
1444
1445         * gst/gstvalue.c: (gst_value_serialize_enum),
1446         (gst_value_deserialize_enum_iter_cmp),
1447         (gst_value_deserialize_enum):
1448           Fix serialisation/deserialisation of custom registered GstFormats.
1449
1450         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1451           Unit test for custom format serialisation/deserialisation.
1452
1453 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
1454
1455         * docs/pwg/building-boiler.xml:
1456         * plugins/elements/gstcapsfilter.c:
1457         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
1458         section.
1459
1460 2006-09-16  Edward Hervey  <edward@fluendo.com>
1461
1462         * libs/gst/base/gstbasetransform.c:
1463         (gst_base_transform_buffer_alloc):
1464         Check if requested caps are the same as the sinks caps IF
1465         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
1466         is FALSE.
1467         This fixes the renegotiation issues stated in #352827.
1468
1469 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1470
1471         * configure.ac:
1472         * docs/manual/advanced-autoplugging.xml:
1473         * tests/examples/Makefile.am:
1474         * tests/examples/manual/.cvsignore:
1475         * tests/examples/manual/Makefile.am:
1476         * tests/examples/manual/extract.pl:
1477           Extract the manual examples again like we used to do.
1478           Fix one of them.
1479
1480 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1481
1482         * win32/common/config.h:
1483           update for version
1484
1485 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
1486
1487         * gst/gsterror.c:
1488           Documents how to receive errors.
1489
1490 2006-09-15  Wim Taymans  <wim@fluendo.com>
1491
1492         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
1493         (event_loop), (main):
1494         Added some comments here and there.
1495         Post an application message when an interrupt is caught instead of doing
1496         an uncontrolled state change.
1497         Clean up the event loop.
1498         Handle buffering messages, pause/resume the pipeline.
1499         Make shutdown because of an interrupt more reliable.
1500
1501 2006-09-15  Wim Taymans  <wim@fluendo.com>
1502
1503         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1504         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
1505         (gst_base_sink_preroll_object):
1506         Make sure that our internal state is correct when we commit our state
1507         asynchronously. This solves a race where a state change to PLAYING
1508         could cause the sink to remain blocked in preroll in some situations.
1509
1510 2006-09-15  Wim Taymans  <wim@fluendo.com>
1511
1512         * tools/gst-inspect.c: (print_element_properties_info),
1513         (print_signal_info):
1514         List flags as hex so it's easier to deal with.
1515
1516 2006-09-15  Wim Taymans  <wim@fluendo.com>
1517
1518         * docs/libs/gstreamer-libs-sections.txt:
1519         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
1520         (gst_base_sink_do_sync):
1521         * libs/gst/base/gstbasesink.h:
1522         Expose logic to wait for preroll so that subclasses such as audiosink
1523         can also use this method.
1524         API: gst_base_sink_wait_preroll()
1525
1526 2006-09-15  Wim Taymans  <wim@fluendo.com>
1527
1528         * gst/gstobject.c: (gst_object_set_parent):
1529         * gst/gstpipeline.c: (do_pipeline_seek):
1530         Small cleanups in docs and code.
1531
1532         * gst/gstsegment.c: (gst_segment_clip):
1533         * tests/check/gst/gstsegment.c: (GST_START_TEST):
1534         if stop == start and start is in the segment, no clipping should be
1535         done. Also add a test for this.
1536
1537 2006-09-15  Wim Taymans  <wim@fluendo.com>
1538
1539         * docs/design/part-buffering.txt:
1540         * docs/gst/gstreamer-sections.txt:
1541         * gst/gstmessage.c: (gst_message_new_buffering),
1542         (gst_message_parse_buffering):
1543         * gst/gstmessage.h:
1544         Added methods to create and parse BUFFERING messages.
1545         Added preliminary docs about buffering.
1546         API: gst_message_new_buffering
1547         API: gst_message_parse_buffering
1548
1549 2006-09-06  Wim Taymans  <wim@fluendo.com>
1550
1551         * gst/gstbin.c:
1552         Update documentation.
1553
1554         * gst/gstelement.c: (gst_element_class_init),
1555         (gst_element_release_request_pad), (gst_element_set_clock),
1556         (gst_element_get_index), (gst_element_add_pad),
1557         (gst_element_remove_pad), (gst_element_get_random_pad),
1558         (gst_element_send_event), (gst_element_get_query_types),
1559         (gst_element_query), (gst_element_post_message),
1560         (gst_element_message_full), (gst_element_continue_state),
1561         (gst_element_lost_state), (gst_element_save_thyself),
1562         (gst_element_restore_thyself):
1563         Documentation updates.
1564         Rename last bit of the new-pad -> pad-added signal rename.
1565         Fix the case where an element query would only work if the source
1566         pad was linked.
1567         Avoid some useless type checking in message handling.
1568
1569         * gst/gstevent.c:
1570         * gst/gstevent.h:
1571         * gst/gstutils.c:
1572         Documentation updates.
1573
1574 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
1575
1576         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
1577           add an INFO line for when we actually update the fd
1578
1579 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
1580
1581         * configure.ac:
1582           back to TRUNK
1583
1584 === release 0.10.10 ===
1585
1586 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
1587
1588         * configure.ac:
1589           releasing 0.10.10, "Pais"
1590
1591 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
1592
1593         * docs/manual/advanced-position.xml:
1594           Fix typo in sample code.
1595
1596 2006-09-05  Wim Taymans  <wim@fluendo.com>
1597
1598         * libs/gst/net/gstnetclientclock.c: (inet_aton),
1599         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1600         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
1601         * libs/gst/net/gstnetclientclock.h:
1602         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
1603         * libs/gst/net/gstnettimepacket.h:
1604         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
1605         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
1606         (gst_net_time_provider_thread), (gst_net_time_provider_new):
1607         * libs/gst/net/gstnettimeprovider.h:
1608         Make stuff compile on windows. Fixes #345295.
1609
1610 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
1611
1612         * gst/gst.c: (ensure_current_registry_forking):
1613           Print better details when child was terminated by signal.
1614
1615 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
1616
1617         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
1618           Print a warning rather than g_assert() if a plugin feature
1619           is a URI handler but returns no protocols (#353976).
1620
1621 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
1622
1623         * docs/random/moving-plugins:
1624         Fix two typos.         
1625
1626 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
1627
1628         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
1629           Fix locking order, handle NULL function values properly.
1630
1631         * gst/gstinfo.h:
1632           Fix docs.
1633
1634         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
1635           Initialise variable before using it and fix debug statement to
1636           print the address of the function rather than the address of the
1637           variable on the stack holding the address of the function.
1638
1639 2006-09-01  Wim Taymans  <wim@fluendo.com>
1640
1641         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
1642         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
1643         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
1644         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
1645         (gst_ghost_pad_parent_unset),
1646         (gst_ghost_pad_internal_do_activate_push),
1647         (gst_ghost_pad_internal_do_activate_pull),
1648         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1649         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1650         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
1651         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
1652         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
1653         (gst_ghost_pad_new_no_target_from_template),
1654         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
1655         More cleanups.
1656         Avoid needless typechecking in macros.
1657         Since the internal pad is always present and never changes, there is
1658         no need to locking or ref when retrieving it.
1659         Improve debugging a bit.
1660         Handle link errors when setting the target. Fixes #341029.
1661
1662 2006-09-01  Wim Taymans  <wim@fluendo.com>
1663
1664         * docs/libs/gstreamer-libs-sections.txt:
1665         * docs/plugins/gstreamer-plugins-sections.txt:
1666         Fix docs some more.
1667
1668         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
1669         (gst_collect_pads_event):
1670         * libs/gst/base/gstcollectpads.h:
1671         Documentation updates.
1672         Free queued buffer when removing a pad.
1673
1674 2006-08-31  Michael Smith  <msmith@fluendo.com>
1675
1676         * gst/gstutils.c: (gst_element_link_pads),
1677         (gst_element_link_pads_filtered):
1678           Ensure that we set a capsfilter to NULL if we failed to link it
1679           when doing filtered linking, to avoid criticals.
1680
1681           No need to check for unreffing srcpad, which is explicly NULLed
1682           above (a trivial code cleanup).
1683
1684 2006-08-31  Wim Taymans  <wim@fluendo.com>
1685
1686         * docs/design/part-gstghostpad.txt:
1687         Update ascii art in documentation.
1688
1689         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
1690         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
1691         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
1692         (gst_ghost_pad_internal_do_activate_push),
1693         (gst_ghost_pad_internal_do_activate_pull),
1694         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1695         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1696         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
1697         (gst_ghost_pad_set_target):
1698         Small cleanups and leak fixes.
1699         Remove some checks now that the internal pad is never NULL.
1700         Fix the case where linking pads without a target would create nasty
1701         criticals. Fixes #341029.
1702         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
1703         value of _set_target().
1704
1705         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
1706         (gst_ghost_pad_suite):
1707         Some more tests for creating and linking untargeted ghostpads.
1708
1709 2006-08-31  Edward Hervey  <edward@fluendo.com>
1710
1711         * docs/gst/gstreamer-sections.txt:
1712         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
1713         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
1714         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
1715         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
1716         (gst_ghost_pad_new_from_template),
1717         (gst_ghost_pad_new_no_target_from_template):
1718         * gst/gstghostpad.h:
1719         Refactored *_new() functions.
1720         Templates are now used as a g_object_new() parameter.
1721         Use template in _do_getcaps() if we don't have a target.
1722         Small documentation cleanups.
1723         Added two new constructors:
1724         gst_ghost_pad_new_from_template()
1725         gst_ghost_pad_new_no_target_from_template()
1726         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
1727         (gst_ghost_pad_suite):
1728         Added tests for new ghostpad instanciation functions.
1729
1730         API additions: gst_ghost_pad_new_from_template,
1731         gst_ghost_pad_new_no_target_from_template
1732
1733 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
1734
1735         * docs/random/ensonic/profiling.txt:
1736           Ideas about qos profiling.
1737
1738 2006-08-29  Wim Taymans  <wim@fluendo.com>
1739
1740         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1741         Code cleanups.
1742         Fix memleak.
1743
1744 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
1745
1746         * gst/gstxml.c:
1747           Improve and detypofy docs.
1748
1749         * tests/check/Makefile.am:
1750         * tests/check/gst/.cvsignore:
1751         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
1752           Add a basic test suite for GstXML.
1753
1754 2006-08-29  Wim Taymans  <wim@fluendo.com>
1755
1756         * gst/gstelement.c: (activate_pads), (clear_caps),
1757         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
1758         Clear the pad caps when the element shut down all of the pads and
1759         is not streaming data that could modify the caps. 
1760         Fixes #352958.
1761
1762 2006-08-28  Michael Smith  <msmith@fluendo.com>
1763
1764         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1765           Revert previous change; I misunderstood single-segment mode.
1766
1767 2006-08-28  Michael Smith  <msmith@fluendo.com>
1768
1769         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1770           Unset DISCONT on buffers when using single-segment mode.
1771
1772 2006-08-28  Wim Taymans  <wim@fluendo.com>
1773
1774         * gst/gstcaps.c: (gst_caps_merge_structure):
1775         * gst/gstcaps.h:
1776         Fix docs and indentation again.
1777
1778         * tests/check/gst/gstquery.c: (GST_START_TEST):
1779         Fix leak in tests and add some more tests.
1780
1781 2006-08-28  Edward Hervey  <edward@fluendo.com>
1782
1783         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1784         Inform GstSegment of the last stop position in order for the current
1785         segment to have a proper duration if it doesn't have a specific stop
1786         position from which a duration could be calculated.
1787         This bug was noticeable when a non-flushing, non-update new segment was
1788         followed by another segment (all buffers from the new segment were being
1789         dropped).
1790
1791 2006-08-28  Wim Taymans  <wim@fluendo.com>
1792
1793         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1794         Small comment update.
1795
1796         * plugins/elements/gstidentity.c: (gst_identity_class_init),
1797         (gst_identity_transform_ip):
1798         Drop-probability is broken, mention this in the code with a 
1799         FIXME and also in the property description.
1800         Make silent also be silent about the drop messages.
1801
1802 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
1803
1804         * docs/manual/appendix-win32.xml:
1805           Remove mention of popt, we don't depend on that any
1806           longer (#353136). Add some comments pointing out that
1807           this section is slightly outdated.
1808
1809 2006-08-28  Wim Taymans  <wim@fluendo.com>
1810
1811         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
1812
1813         * gst/gstquery.c: (gst_query_new_segment):
1814         * tests/check/gst/gstquery.c: (GST_START_TEST):
1815         Initialize variables when creating a new segment query.
1816         Fixes #353121.
1817
1818 2006-08-28  Wim Taymans  <wim@fluendo.com>
1819
1820         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
1821
1822         * gst/gstelement.c: (gst_element_get_bus):
1823         * tests/check/gst/gstelement.c: (GST_START_TEST):
1824         Check for NULL before _reffing the bus. Fixes #353122.
1825
1826 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
1827
1828         * docs/manual/basics-bus.xml:
1829           Docs update: fix wrong callback return value explanation; add
1830           some lines about the implicit relationship between main loop
1831           and main context; remove duplicate main loop variable declaration.
1832
1833 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
1834
1835         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1836           Don't leak caps in unit test; add a few more simple
1837           checks. 
1838
1839 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
1840
1841         * docs/gst/gstreamer-sections.txt:
1842         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
1843         (gst_caps_structure_is_subset), (gst_caps_merge),
1844         (gst_caps_merge_structure):
1845         * gst/gstcaps.h:
1846         * libs/gst/base/gstbasetransform.c:
1847         (gst_base_transform_transform_caps):
1848         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1849           implement caps merging (fixes #352580)
1850
1851 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
1852
1853         * tools/Makefile.am:
1854         * tools/gst-plot-timeline.py:
1855           add debug-log plotting developer tool (#340674)
1856
1857 2006-08-23  Wim Taymans  <wim@fluendo.com>
1858
1859         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
1860         (gst_pad_stop_task):
1861         Improve debugging for task functions.
1862
1863         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
1864         (gst_task_start), (gst_task_pause), (gst_task_join):
1865         Make sure that the task function started and finished after a 
1866         join(). 
1867         Don't try to push the task function on the threadpool multiple
1868         times.
1869         Improve the g_warning message with some useful suggestions
1870         about how to fix the problem. 
1871
1872 2006-08-23  Wim Taymans  <wim@fluendo.com>
1873
1874         * gst/gstutils.c: (gst_pad_proxy_getcaps):
1875         Handle RESYNC correctly in _proxy_getcaps.
1876
1877 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
1878
1879         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
1880         (gst_xml_parse_memory), (gst_xml_get_element):
1881           Chain up to parent class in dispose function and also
1882           unref the elements in the toplevel_elements GList.
1883           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
1884           Always return a reference in gst_xml_get_element() rather
1885           than only sometimes.
1886
1887         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
1888           Don't leak GstXml object.
1889
1890 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
1891
1892         * docs/gst/gstreamer-sections.txt:
1893         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
1894         (gst_caps_merge):
1895         * gst/gstcaps.h:
1896         * libs/gst/base/gstbasetransform.c:
1897         (gst_base_transform_transform_caps):
1898           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
1899           in a better way
1900
1901 2006-08-21  Edward Hervey  <edward@fluendo.com>
1902
1903         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
1904         Implement GObject::dispose virtual method in GstXML so we can free the
1905         top_elements GList.
1906
1907 2006-08-21  Wim Taymans  <wim@fluendo.com>
1908
1909         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
1910         (gst_buffer_create_sub):
1911         Copy duration/offset_end/caps when creating a subbuffer of the
1912         complete parent.
1913         Make the subbuffer read-only when we make the metadata writable for
1914         now. Fixes #351768.
1915
1916         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1917         Added check for metadata copy when creating subbuffers.
1918
1919 2006-08-21  Edward Hervey  <edward@fluendo.com>
1920
1921         * libs/gst/base/gstbasetransform.c:
1922         (gst_base_transform_buffer_alloc):
1923         Only call downstream buffer_alloc if transform element is passthrough
1924         or always_in_place. Closes #350449.
1925
1926 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
1927
1928         * ChangeLog:
1929           ChangeLog surgery to add comments to previous changes
1930
1931 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
1932
1933         * gst/gst.c:
1934           Add comments
1935
1936         * gst/gstpad.c: (gst_pad_set_active):
1937           Be more verbose in the log
1938
1939         * libs/gst/base/gstbasetransform.c:
1940         (gst_base_transform_transform_caps):
1941           Simplify caps to get rid of duplicates, fixes #345444
1942
1943 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
1944
1945         * gst/gstvalue.c:
1946         * gst/gstvalue.h:
1947           Use these optimizations only internally.
1948
1949 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
1950
1951         * gst/gstvalue.c: (gst_value_compare_list),
1952         (gst_value_compare_fraction_range),
1953         (gst_value_intersect_fraction_fraction_range),
1954         (gst_value_intersect_fraction_range_fraction_range),
1955         (gst_value_subtract_fraction_fraction_range),
1956         (gst_value_subtract_fraction_range_fraction_range),
1957         (gst_value_get_compare_func), (gst_value_compare),
1958         (gst_value_compare_with_func):
1959         * gst/gstvalue.h:
1960           Saves the expensive lookup of the compare function in many cases
1961          (#345444)
1962
1963 2006-08-18  Edward Hervey  <edward@fluendo.com>
1964
1965         * tests/check/gst/gstinfo.c: (gst_info_suite):
1966         Disable test that require gstdebug if it wasn't built in core.
1967
1968 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
1969
1970         * docs/random/ensonic/logging.txt:
1971           update ideas
1972           
1973         * gst/gstinfo.c: (gst_debug_log_default):
1974           reorder fields, save some columns, add optional color codes for log
1975           levels
1976
1977 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
1978
1979         * docs/random/ensonic/logging.txt:
1980           add ideas about making the logs a bit more useful
1981
1982 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
1983
1984         * docs/pwg/advanced-events.xml:
1985         * docs/pwg/titlepage.xml:
1986           Update for 0.10 API (#340627). Add myself
1987           to authors list.
1988
1989 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
1990
1991         * docs/libs/gstreamer-libs-docs.sgml:
1992         * docs/libs/gstreamer-libs-sections.txt:
1993         * libs/gst/check/gstbufferstraw.c:
1994           Make gstcheck stuff show up in docs (still needs to
1995           be documented properly though).
1996
1997 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
1998
1999         * docs/gst/gstreamer-sections.txt:
2000         * gst/Makefile.am:
2001         * gst/gst.c: (init_post):
2002         * gst/gst_private.h:
2003         * gst/gstquark.c: (_priv_gst_quarks_initialize):
2004         * gst/gstquark.h:
2005         * gst/gstquery.c: (gst_query_new_position),
2006         (gst_query_set_position), (gst_query_parse_position),
2007         (gst_query_new_duration), (gst_query_set_duration),
2008         (gst_query_parse_duration), (gst_query_new_convert),
2009         (gst_query_set_convert), (gst_query_parse_convert),
2010         (gst_query_new_segment), (gst_query_set_segment),
2011         (gst_query_parse_segment), (gst_query_new_seeking),
2012         (gst_query_set_seeking), (gst_query_parse_seeking):
2013         Add internal helpers for pre-registering quarks from static strings
2014         and using the quark values directly instead of looking them up when
2015         creating and parsing queries. Can be used for event construction too.
2016         Closes #350432.
2017
2018 2006-08-16  Wim Taymans  <wim@fluendo.com>
2019
2020         * gst/gstbin.c:
2021         Fix bogus docs.
2022
2023 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
2024
2025         * gst/gstutils.c: (gst_util_set_value_from_string):
2026           Fix memleak (#351502).
2027
2028         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
2029           Add unit test for most of gst_util_set_value_from_string()
2030           (not that one would want to encourage use of this function).
2031
2032 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
2033
2034         * libs/gst/check/gstcheck.h:
2035           Use const gchar * variables in fail_unless_equals_string
2036           macro to avoid compiler warnings (and don't use tabs for
2037           indenting).
2038
2039 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
2040
2041         * tools/gst-launch.c: (print_tag):
2042           More space on the left for the tag names, to cater
2043           for the 'extended comment' tag (not touching the
2044           string for the first line since it's translated).
2045
2046 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
2047
2048         * libs/gst/check/gstcheck.h:
2049           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
2050           print something when they fail.
2051
2052 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
2053
2054         * docs/gst/gstreamer-sections.txt:
2055         * gst/gsttaglist.c: (_gst_tag_initialize):
2056         * gst/gsttaglist.h:
2057           API: add GST_TAG_EXTENDED_COMMENT (#350935).
2058           Also change merge function for GST_TAG_COMMENT to
2059           use_first.
2060
2061 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
2062
2063         * gst/gstinfo.c: (gst_debug_print_object):
2064           Make GST_PTR_FORMAT print messages as well.
2065
2066         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
2067         (GST_START_TEST), (gst_info_suite):
2068           More tests.
2069
2070 2006-08-14  Edward Hervey  <edward@fluendo.com>
2071
2072         * gst/gstelementfactory.c: (gst_element_register):
2073         If the GstElementClass doesn't have a GstElementDetails with all fields
2074         filled up correctly (longname, description AND author), then error out
2075         nicely instead of crashing.
2076
2077 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
2078
2079         * gst/gststructure.c:
2080           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
2081
2082         * gst/gstvalue.h:
2083           Expand on the difference between arrays and lists as we use them.
2084           
2085 2006-08-14  Wim Taymans  <wim@fluendo.com>
2086
2087         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
2088         If the parent state change function failed, don't assume we can safely
2089         stop the source, this will be done when the pads are deactivated.
2090
2091 2006-08-14  Wim Taymans  <wim@fluendo.com>
2092
2093         * gst/gstbuffer.c:
2094         * gst/gsttask.c: (gst_task_join):
2095         Small doc updates.
2096
2097         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
2098         (gst_pad_stop_task):
2099         When pad (de)activation failed for some reason, restore the old
2100         activation mode and set the pad to flushing instead of assuming the
2101         pad is deactivated.
2102         If the _task_join() failed, reinstall the task on the pad so that it can
2103         be stopped later and return an error.
2104
2105 2006-08-11  Andy Wingo  <wingo@pobox.com>
2106
2107         * configure.ac:
2108         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
2109         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
2110         is only for users of API that don't want to see deprecated
2111         functions in the headers; people that want to compile out
2112         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
2113         CFLAGS. Fixes the build of multifdsink, or will soon..
2114
2115 2006-08-11  Wim Taymans  <wim@fluendo.com>
2116
2117         * docs/gst/gstreamer-sections.txt:
2118         Add GstClockClass vmethod docs.
2119
2120         * gst/gstcaps.h:
2121         Mark #endif with comment for associated #if
2122
2123         * gst/gstclock.c: (gst_clock_id_wait):
2124         * gst/gstclock.h:
2125         Add vmethod wait_jitter to avoid an unneeded _get_time() for
2126         most clock implementations.
2127         Document vmethods.
2128         Flesh out docs about resolution methods.
2129         API: GstClockClass::wait_jitter
2130
2131         * gst/gstsystemclock.c: (gst_system_clock_class_init),
2132         (gst_system_clock_async_thread),
2133         (gst_system_clock_id_wait_jitter_unlocked),
2134         (gst_system_clock_id_wait_jitter):
2135         Use base class wait_jitter variant for improved performance
2136         due to less clock polling.
2137
2138 2006-08-11  Edward Hervey  <edward@fluendo.com>
2139
2140         * gst/gst.c: (gst_init_check), (init_post):
2141         Set gst as being initialized before scanning/updating the registry,
2142         since there might be my python plugin loader that calls gst_init() and
2143         we don't want to loop back in.
2144         Closes #350879
2145
2146 2006-08-11  Wim Taymans  <wim@fluendo.com>
2147
2148         * docs/design/part-qos.txt:
2149         Bring docs in line with the code. Mostly the sign of the jitter was
2150         wrong in the docs. Fixes #349943.
2151
2152         * gst/gstclock.c:
2153         Fix the docs for the jitter.
2154
2155         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
2156         (gst_event_parse_tag), (gst_event_new_buffer_size),
2157         (gst_event_parse_buffer_size), (gst_event_parse_qos),
2158         (gst_event_new_seek), (gst_event_parse_seek),
2159         (gst_event_new_navigation):
2160         Make sure the GstStructure has no parent when creating custom
2161         events.
2162         Add some more argument checking so that we avoid 0.0 rates.
2163         Flesh out the docs for the QoS event some more.
2164
2165 2006-08-11  Wim Taymans  <wim@fluendo.com>
2166
2167         * docs/gst/gstreamer-sections.txt:
2168         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
2169         (ensure_current_registry_forking), (ensure_current_registry),
2170         (parse_one_option), (parse_goption_arg), (gst_deinit),
2171         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
2172         * gst/gst.h:
2173         Doc updates.
2174         Added API and command line option to disable registry forking in
2175         addition to the environment variable.
2176         Constify some static arrays.
2177         Added some more debug.
2178         Don't deinit twice.
2179         API: gst_registry_fork_is_enabled()
2180         API: gst_registry_fork_set_enabled()
2181         API: --gst-disable-registry-fork command line option
2182         Fixes #348918.
2183
2184 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
2185
2186         * gst/gst.c: (gst_init):
2187           Fix typo in error message.
2188
2189 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
2190
2191         * libs/gst/controller/gstcontroller.h:
2192           fix ABI size-correction
2193
2194         * tests/check/libs/gdp.c: (gst_dp_suite):
2195           make tests that use deprecated API conditional
2196
2197 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
2198
2199         * docs/libs/gstreamer-libs-sections.txt:
2200         * libs/gst/controller/gstcontroller.c:
2201         (_gst_controller_get_property), (_gst_controller_set_property),
2202         (_gst_controller_init), (_gst_controller_class_init):
2203         * libs/gst/controller/gstcontroller.h:
2204         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
2205         (gst_object_set_control_rate):
2206           API: add gst_object_{s,g}et_control_rate(), add private data section,
2207           fix docs
2208
2209         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
2210         * libs/gst/dataprotocol/dataprotocol.h:
2211           add deprecation guards to make gtk-doc happy and allow disabling cruft
2212
2213 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
2214
2215         * tests/check/Makefile.am:
2216         * tests/check/gst/.cvsignore:
2217           Let's enable the new unit test as well.
2218
2219 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
2220
2221         * configure.ac:
2222         * docs/gst/gstreamer-sections.txt:
2223         * gst/gstconfig.h.in:
2224         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
2225         (_gst_info_printf_extension_ptr),
2226         (_gst_info_printf_extension_segment):
2227           API: add GST_SEGMENT_FORMAT, which is a printf extension we
2228           register that lets us easily dump GstSegments into debug
2229           logs (#350419).
2230
2231         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
2232         (info_segment_format_printf_extension), (gst_info_suite):
2233           Add simple unit test that logs a bunch of different segments (not
2234           valgrinded at the moment because of leaks in
2235           gst_debug_add_log_function).
2236
2237 2006-08-09  Edward Hervey  <edward@fluendo.com>
2238
2239         * libs/gst/base/gstbasetransform.c:
2240         (gst_base_transform_buffer_alloc):
2241         Even if we can't figure out the proper format to request downstream,
2242         call buffer_alloc() downstream with the input parameters without setting
2243         the caps on the srcpad. This will force negotiation in the chain
2244         function.
2245         Closes #350449
2246
2247 2006-08-08  Edward Hervey  <edward@fluendo.com>
2248
2249         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2250         Unlinking from a pad without a target is now a perfectly valid case
2251         which should NOT raise an assertion.
2252         This case would happen if a linked ghostpad its target set to NULL after
2253         it was previously linked.
2254
2255 2006-08-08  Edward Hervey  <edward@fluendo.com>
2256
2257         * tests/check/libs/gdp.c:
2258         Also comment out the test (see below).
2259
2260 2006-08-08  Edward Hervey  <edward@fluendo.com>
2261
2262         * tests/check/libs/gdp.c: (gst_dp_suite):
2263         Use the architecture information from config.h and not gcc macros
2264         in order to properly disable a test that fails on PPC64.
2265
2266 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
2267
2268         * gst/gstelement.c: (gst_element_remove_pad):
2269           Don't crash printing the warning if the pad has no parent.
2270
2271 2006-08-02  Wim Taymans  <wim@fluendo.com>
2272
2273         * libs/gst/dataprotocol/dataprotocol.c:
2274         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2275         (gst_dp_crc), (gst_dp_header_payload_length),
2276         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
2277         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
2278         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
2279         (gst_dp_event_from_packet), (gst_dp_validate_header),
2280         (gst_dp_validate_payload):
2281         Make debug category static
2282         Constify the crc table.
2283         Do some more arg checking in public functions.
2284         Fix some docs and do some small cleanups.
2285
2286         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
2287         Add some more checks to see if GDP deals with bogus input.
2288
2289 2006-07-31  Wim Taymans  <wim@fluendo.com>
2290
2291         * gst/gstvalue.c: (gst_value_compare_list):
2292         Fix GstValueList comparison code. Fixes #347293.
2293
2294         * tests/check/gst/gstvalue.c: (GST_START_TEST):
2295         Check to test GstValueList comparison.
2296
2297 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
2298
2299         * gst/gstelementfactory.c: (gst_element_factory_create):
2300         Remove unnecessary ref/unref pair
2301
2302         * gst/parse/grammar.y:
2303         Make sure to free the parse buffer on all code paths.
2304         Move a g_free up to the error handler where it's easier to see.
2305
2306         * tests/check/gst/gstevent.c: (test_event):
2307         Extending timeout for downstream travelling events to 10 seconds to
2308         hopefully avoid intermittent failure on the buildbots.
2309
2310         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
2311         Don't manually set the state of the src element - it will happen as a
2312         natural consequence of the pipeline changing state, and that way it
2313         will do it in the right order too.
2314
2315 2006-07-31  Wim Taymans  <wim@fluendo.com>
2316
2317         * libs/gst/base/gstbasetransform.c:
2318         (gst_base_transform_buffer_alloc):
2319         Use OBJECT_LOCK and refcounting to get the pad caps in the
2320         buffer_alloc function because the caps could change while we are
2321         busy with them. Fixes #349105
2322
2323 2006-07-31  Wim Taymans  <wim@fluendo.com>
2324
2325         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
2326         Protect _PAD_CAPS with OBJECT_LOCK.
2327
2328 2006-07-31  Wim Taymans  <wim@fluendo.com>
2329
2330         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
2331         (gst_pad_get_property), (gst_pad_activate_pull),
2332         (gst_pad_activate_push), (gst_pad_set_blocked_async),
2333         (gst_pad_set_activate_function),
2334         (gst_pad_set_activatepull_function),
2335         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
2336         (gst_pad_set_getrange_function),
2337         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
2338         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
2339         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
2340         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
2341         (gst_pad_set_acceptcaps_function),
2342         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
2343         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
2344         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
2345         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
2346         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
2347         (gst_pad_configure_sink), (gst_pad_configure_src),
2348         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
2349         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
2350         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
2351         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
2352         (gst_pad_send_event):
2353         Use _DEBUG_OBJECT when it makes sense.
2354         Protect GST_PAD_CAPS with the OBJECT_LOCK.
2355         Small cleanups and code reflows.
2356         Avoid caps refcounting in _accept_caps.
2357         Refactor alloc_buffer so that the code performed on the peer is in a
2358         separate function. Also if the pad does not implement a buffer alloc
2359         function, we should still check if the pad is flushing before falling
2360         back to the default allocator.
2361
2362 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
2363
2364         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
2365         Make all uses of identity and fakesink have silent=true to avoid
2366         serialising every passing data structure, which is breaking tests
2367         on FC4 for some unknown reason.
2368
2369 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
2370
2371         * gst/parse/Makefile.am:
2372         * gst/parse/grammar.y:
2373         * gst/parse/parse.l:
2374           Reverted previous patch as it required to bump the flex dependency to
2375           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
2376
2377 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
2378
2379         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
2380
2381         * gst/parse/Makefile.am:
2382         * gst/parse/grammar.y:
2383         * gst/parse/parse.l:
2384           push & pop the state of the lexer for reentrant use case
2385           Fixes #349180
2386
2387 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
2388
2389         * libs/gst/base/gstbasesrc.h:
2390           Note in the docs that the ::newsegment vfunc is not actually used by
2391           GstBaseSrc.
2392
2393 2006-07-28  Wim Taymans  <wim@fluendo.com>
2394
2395         * libs/gst/base/gstcollectpads.c:
2396         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
2397         (gst_collect_pads_clear), (gst_collect_pads_flush),
2398         (gst_collect_pads_event), (gst_collect_pads_chain):
2399         When flushing a pad, also clear the queued buffer so that we don't
2400         accidentally use it when we shouldn't.
2401         Fix leaks by inreffing incomming buffer.
2402         Flush out queued buffers in case of errors.
2403         Fixes #347452.
2404
2405 2006-07-28  Wim Taymans  <wim@fluendo.com>
2406
2407         * docs/random/phonon-gst:
2408         Random notes about a Phonon backend.
2409
2410 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
2411
2412         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
2413         Extra debug output
2414         * tests/check/libs/gdp.c: (gst_dp_suite):
2415         Take a whack at fixing the ppc compile using a different define to
2416         disable the broken test.
2417
2418         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
2419         Remove excess g_print()
2420
2421 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
2422
2423         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
2424         Oops, meant to uncomment this line too to dampen the noise a bit.
2425
2426 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
2427
2428         * gst/parse/grammar.y:
2429         * gst/parse/parse.l:
2430         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
2431         (GST_START_TEST), (parse_suite):
2432         Fix some of the leaks exposed by extending the parse-launch testsuite,
2433         and move the 3 I can't figure out into a separate test that won't run
2434         the pipelines unless the appropriate line is uncommented.
2435
2436 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
2437
2438         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
2439           Requesting 0 bytes before the end of the file should result in
2440           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
2441           unit test.
2442
2443 2006-07-27  Wim Taymans  <wim@fluendo.com>
2444
2445         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
2446         Fix useless assert, a uint is always positive.
2447
2448         * gst/gststructure.c: (gst_structure_nth_field_name),
2449         (gst_structure_foreach), (gst_structure_map_in_place):
2450         Check input arguments for public functions to avoid obvious crashes.
2451
2452         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
2453         * plugins/elements/gstfakesink.h:
2454         Do less useless typechecking.
2455
2456 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
2457
2458         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2459           Do not use mmap() by default since there are a number of error
2460           conditions that we would like to handle in a non-fatal way that
2461           will result in a SIGBUS if we use mmap(). Examples: external
2462           devices (USB harddrive, portable music player) being unplugged
2463           while in use; file on mounted CD/DVD that can't be read because
2464           the medium is partly damaged. Fixes #348455 and #348475.
2465
2466 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
2467
2468         * gst/gstquery.h:
2469         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
2470         rates are a gdouble
2471
2472 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
2473
2474         * gst/gstregistry.c:
2475           Move big documentation comment into class section header, so that it
2476           appears in the API docs.
2477
2478 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
2479
2480         * docs/gst/gstreamer-sections.txt:
2481         Oops. Commit the docs additions too for new API.
2482         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
2483
2484 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
2485
2486         * gst/gststructure.c: (gst_structure_id_set),
2487         (gst_structure_id_set_valist):
2488         * gst/gststructure.h:
2489         Add API for setting values into structures without performing
2490         a quark lookup, if the appropriate quark is already known.
2491
2492         API: gst_structure_id_set
2493         API: gst_structure_id_set_valist
2494
2495         * gst/parse/grammar.y:
2496         * gst/parse/parse.l:
2497         Remove some dead code shown by the coverage information.
2498         Don't throw a critical g_warning when encountering a syntax error,
2499         just warn and let the normal error path handle it.
2500
2501         * plugins/elements/gstelements.c:
2502         Bump the rank of filesink up to PRIMARY so that it is preferred over
2503         gnomevfssink for file:// sink uri's
2504
2505         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
2506         (GST_START_TEST), (run_delayed_test),
2507         (gst_parse_test_element_base_init),
2508         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
2509         (gst_parse_test_element_change_state),
2510         (gst_register_parse_element), (parse_suite):
2511         Beef up the tests for parse syntax to check that more error cases
2512         fail as they are supposed to. Increases the test coverage a bit.
2513
2514 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
2515
2516         * docs/manual/basics-elements.xml:
2517           Fix gst_element_link() example.
2518
2519         * gst/gstutils.c:
2520           Mention in API docs that one should usually gst_bin_add()
2521           elements to a bin or pipeline before doing the linking.
2522           
2523 2006-07-26  Wim Taymans  <wim@fluendo.com>
2524
2525         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
2526         (gst_subbuffer_get_type), (gst_buffer_create_sub):
2527         Avoid function call for known types by keeping the buffer and
2528         subbuffer GType global.
2529
2530         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
2531         Random silly optimisations in read() path.
2532
2533 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
2534
2535         * tools/gst-launch.c: (main):
2536           If the top-level of the parse is a normal bin, it doesn't do the
2537           right logic to run as a top-level element, so place it inside a
2538           pipeline.
2539
2540 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
2541
2542         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
2543           Remove superfluous g_object_notify() calls, GObject does
2544           that for us automatically.
2545
2546 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
2547
2548         * gst/gstinfo.h:
2549           on Win32, use dllspec to export the debug category symbols
2550
2551 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
2552
2553         * gst/gsttaglist.c: (_gst_tag_initialize):
2554           Allow more than one GST_TAG_IMAGE per taglist.
2555
2556 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2557
2558         * gst/gstminiobject.c:
2559           update docs
2560         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
2561         (gst_fd_src_create):
2562           log recurring events at LOG level
2563           add more debug for when the fd gets set
2564
2565 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
2566
2567         * gst/gstparse.c: (gst_parse_launch):
2568           Also remove reentrance checks if flex is MT safe (#348179)
2569          Fix my empty ChangeLog entry below
2570
2571 2006-07-21  Andy Wingo  <wingo@pobox.com>
2572
2573         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
2574
2575         * libs/gst/check/Makefile.am
2576         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
2577         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
2578         * libs/gst/check/gstbufferstraw.h:
2579         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
2580         functions, thus proving I am still a GStreamer haxor. OK I wrote
2581         them a long time ago, but anyways.
2582
2583 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
2584
2585         * configure.ac:
2586         * gst/gstparse.c: (gst_parse_launch):
2587           Check for flex version and omit mutex if we have a MT save flex
2588           (fixes #348179)
2589
2590 2006-07-21  Wim Taymans  <wim@fluendo.com>
2591
2592         * gst/gstparse.c: (gst_parse_launch):
2593         Protect recursive calls to _parse with a recursive mutex
2594         and busy flag.
2595
2596 2006-07-21  Wim Taymans  <wim@fluendo.com>
2597
2598         * tests/check/gst/gstpad.c: (GST_START_TEST):
2599         Fix leak in test.
2600
2601 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
2602
2603         * gst/gstparse.c: (gst_parse_launch):
2604           Do not hang on recursive usage of gst_parse_launch()
2605
2606 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
2607
2608         * gst/gsttaglist.c:
2609           Add some more docs, comments and FIXME 0.11s here and there
2610           and also fix some typos.
2611
2612 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
2613
2614         * gst/gstsegment.h:
2615           Convert tabs to spaces for better readability. 
2616
2617 2006-07-20  Edward Hervey  <edward@fluendo.com>
2618
2619         * tests/check/libs/gdp.c: (gst_dp_suite):
2620         the test_buffer test fails at line 140 on ppc64 at the following
2621         check:
2622         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
2623                 GST_BUFFER_FLAG_IN_CAPS),
2624                 "GST_BUFFER_IN_CAPS flag should have been copied !");
2625         See bug #348114 for more details.
2626
2627 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
2628
2629         * docs/pwg/advanced-scheduling.xml:
2630         * gst/gstpad.c:
2631           Fix typos (#348000).
2632
2633 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
2634
2635         * docs/pwg/intro-basics.xml:
2636           Fix wrong links (#347927).
2637
2638 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
2639
2640         * gst/gstregistry.h:
2641         * gst/gstregistryxml.c: (load_feature),
2642         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
2643         * win32/common/config.h:
2644           make --disable-index work (#342564)
2645
2646 2006-07-18  Wim Taymans  <wim@fluendo.com>
2647
2648         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2649
2650         * gst/Makefile.am:
2651         * gst/gsttrace.h:
2652         The attached patch adds two missing defines to gsttrace.h when tracing
2653         is disabled.  It also corrects one existing define.
2654         Fixes #347756.
2655
2656 2006-07-17  Wim Taymans  <wim@fluendo.com>
2657
2658         * docs/gst/gstreamer-sections.txt:
2659         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
2660         * gst/gst.h:
2661         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
2662         Add two functions to check and change the SIGSEGV behaviour
2663         when loading plugins.
2664         Don't mess with the SIGSEGV handler when we were told not to.
2665         Fixes #347794.
2666         API: gst_segtrap_is_enabled
2667         API: gst_segtrap_set_enabled
2668
2669 2006-07-14  Wim Taymans  <wim@fluendo.com>
2670
2671         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2672         * tests/check/elements/filesrc.c: (GST_START_TEST):
2673         Revert fix for regression in #347408 after release.
2674
2675 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
2676
2677         Patch by: Antoine Tremblay <hexa00 at gmail com>
2678
2679         * gst/gstutils.c: (gst_element_unlink):
2680           Free iterator when done (#347311).
2681
2682         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
2683           And add a test case for this.
2684
2685 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
2686
2687         * configure.ac:
2688         Bump nano back to CVS
2689
2690 === release 0.10.9 ===
2691
2692 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
2693
2694         * configure.ac:
2695           releasing 0.10.9, "On the road again"
2696
2697 2006-07-13  Wim Taymans  <wim@fluendo.com>
2698
2699         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2700         * tests/check/elements/filesrc.c: (GST_START_TEST):
2701         Revert pull-0 fix for release. Disable check. Fixes #347408.
2702
2703 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2704
2705         * libs/gst/dataprotocol/dataprotocol.c:
2706         (gst_dp_event_from_packet_1_0):
2707           Fixes #347337: failure to deserialize event packets with
2708           empty payload (only event type)
2709
2710 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2711
2712         * gst/Makefile.am:
2713           do not install a .c file in the header directory
2714
2715 2006-07-13  Edward Hervey  <edward@fluendo.com>
2716
2717         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
2718         GhostPad no longer implicitely use the padtemplates of the targets.
2719         Fixes #347384
2720
2721 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
2722
2723         * gst/gstvalue.c: (gst_value_compare_list),
2724         (gst_value_compare_array), (_gst_value_initialize):
2725         * tests/check/gst/gstvalue.c: (GST_START_TEST):
2726         Make GstValueArray comparison be order dependent as designed.
2727         Add checks for value lists and value array comparisons.
2728         Fixes #347221
2729
2730 2006-07-11  Edward Hervey  <edward@fluendo.com>
2731
2732         * gst/gstbin.c: (activate_pads),
2733         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
2734         (gst_bin_change_state_func):
2735         (de)activate src pads before calling state_change on the childs.
2736         This is to avoid the case where a src ghostpad is blocked (holding the
2737         stream lock), which would block the deactivation of the ghostpad's
2738         target pad.
2739         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
2740         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
2741         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
2742         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
2743         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
2744         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
2745         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
2746         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
2747         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
2748         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
2749         (gst_ghost_pad_class_init),
2750         (gst_ghost_pad_internal_do_activate_push),
2751         (gst_ghost_pad_internal_do_activate_pull),
2752         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
2753         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
2754         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
2755         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
2756         GhostPads now create their internal GstProxyPad at creation (and not
2757         when they're linked, as it was being done previously).
2758         The internal and target pads are linked straight away.
2759         The data will also travel through the other pad in order to make
2760         pad blocking and probes non-hackish (the probe/block now really happens
2761         on the GhostPad and not on the target).
2762         * gst/gstpad.c: (gst_pad_set_blocked_async),
2763         (gst_pad_link_prepare), (gst_pad_push_event):
2764         Remove previous ghostpad cruft.
2765         * gst/gstutils.c: (gst_pad_add_data_probe),
2766         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
2767         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
2768         (gst_pad_remove_buffer_probe):
2769         Remove previous ghost pad cruft.
2770         Added more detailed debug statements.
2771         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2772         Fix the testsuite for refcounting changes.
2773         The comments about who has references were correct, but the refcount
2774         being checked wasn't the same (!?!).
2775
2776         Fixes #341029
2777
2778 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
2779
2780         * docs/gst/gstreamer-sections.txt:
2781         * gst/gstconfig.h.in:
2782         More docs for configuration options, add docs to gtk-doc.
2783
2784 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
2785
2786         * gst/Makefile.am:
2787         * gst/gstconfig.h.in:
2788         * win32/common/config.h:
2789         Fix build when disabling tracing (fixes #344016). Also start to document
2790         the defines that disable the sub-systems.
2791
2792 2006-07-10  Edward Hervey  <edward@fluendo.com>
2793
2794         * gst/gst.c: (ensure_current_registry_forking):
2795         let's make valgrind happy...
2796
2797 2006-07-09  Wim Taymans  <wim@fluendo.com>
2798
2799         * gst/gstelement.c: (activate_pads),
2800         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
2801         Better pad activation code: Reset the collect value too on resync.
2802         Add some comments.
2803
2804 2006-07-09  Wim Taymans  <wim@fluendo.com>
2805
2806         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
2807         (gst_pad_activate_push):
2808         Use some more macros where it makes sense.
2809         Allow pad mode switching instead of asserting. When a pad
2810         is activated in one mode and we activate it in another, 
2811         deactivate it first before activating it in a different mode.
2812         Fixes #329198.
2813
2814 2006-07-08  Andy Wingo  <wingo@pobox.com>
2815
2816         * tools/gst-launch.c (main): Handle err == NULL.
2817
2818         * gst/gst.c (init_post, ensure_current_registry)
2819         (ensure_current_registry_forking)
2820         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
2821         factoring out the registry scanning into separate functions. Don't
2822         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
2823         Better environment var name/interface suggestions accepted.
2824
2825 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
2826
2827         * gst/gstobject.c: (gst_object_set_name_default),
2828         (gst_object_set_name):
2829           Random micro-optimisation: don't use a hash table
2830           with strings as keys and the usual strdup/strcmp
2831           involved, but rather just use the GQuark of the
2832           type name as key, since it needs to be looked up
2833           anyway to get the type name string.
2834
2835         * tests/check/gst/gstobject.c: (GST_START_TEST):
2836           Fix various leaks.
2837
2838 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
2839
2840         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
2841         (gst_bin_iterate_all_by_interface):
2842           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
2843           GTypes are gulongs and thus the top 4 bytes might be cut
2844           off on some platforms when doing GPOINTER_TO_INT, leading
2845           to invalid GTypes and bad things happening (see RH bug #179654).
2846           Also add a check to make sure the type passed in is really
2847           an interface type.
2848
2849 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
2850
2851         * .cvsignore:
2852           Ignore more.
2853
2854 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
2855
2856         * Makefile.am:
2857         * configure.ac:
2858         * gst-element-check.m4:
2859         * gst-element-check.m4.in:
2860           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
2861           instead of the unversioned gst-inspect (#324176, #168659).
2862
2863 2006-07-06  Wim Taymans  <wim@fluendo.com>
2864
2865         * gst/gstmessage.h:
2866         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
2867         warnings.
2868
2869 2006-07-06  Wim Taymans  <wim@fluendo.com>
2870
2871         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2872         (gst_base_src_wait), (gst_base_src_update_length),
2873         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
2874         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
2875         (gst_base_src_loop), (gst_base_src_start),
2876         (gst_base_src_activate_pull):
2877         Update docs.
2878         blocksize == 0 now means the default blocksize when working in push
2879         based mode.
2880         Remove some pointless asserts in _wait function.
2881         Fix offset/length calculations and EOS handling. We can now pull 0
2882         bytes as well, which is allowed.
2883         use _check_get_range() to decide if we can operate in _pull based
2884         mode.
2885         Fix refcounting leak when check_get_range function was not 
2886         implemented.
2887         API GstBaseSrc::blocksize range can be 0 too now (default)
2888
2889         * tests/check/elements/filesrc.c: (GST_START_TEST),
2890         (filesrc_suite):
2891         Added check to test _get_range() behaviour.
2892
2893 2006-07-06  Wim Taymans  <wim@fluendo.com>
2894
2895         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2896         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
2897         (gst_pad_pull_range):
2898         * gst/gstpad.h:
2899         Lots of comments and docs added to the pad functions.
2900         Flesh out the expected behaviour of the get_range() functions.
2901
2902 2006-07-06  Wim Taymans  <wim@fluendo.com>
2903
2904         * gst/gstbus.h:
2905         * gst/gstclock.h:
2906         * gst/gstevent.h:
2907         * gst/gstiterator.h:
2908         * gst/gstpad.h:
2909         * gst/gstplugin.h:
2910         * gst/gsttask.h:
2911         Remove comma at end of enumerator list. 
2912
2913 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
2914
2915         * win32/common/libgstbase.def:
2916         * win32/common/libgstdataprotocol.def:
2917         * win32/common/libsgtreamer.def:
2918         Add new exported functions.
2919
2920 2006-07-05  Wim Taymans  <wim@fluendo.com>
2921
2922         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
2923         Add some more docs here and there.
2924
2925 2006-07-05  Wim Taymans  <wim@fluendo.com>
2926
2927         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
2928         (gst_base_sink_loop), (gst_base_sink_get_position):
2929         When operating in pull mode update the offset so that we
2930         read sequentially.
2931
2932 2006-07-05  Wim Taymans  <wim@fluendo.com>
2933
2934         * gst/gstregistryxml.c: (read_string):
2935         Avoid strdup. (will happen in libxml, but hey!)
2936
2937         * gst/gsturi.c:
2938         Add some more docs.
2939
2940 2006-07-05  Wim Taymans  <wim@fluendo.com>
2941
2942         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
2943         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
2944         (gst_buffer_suite):
2945         No point in checking if the size of the subbuffer > 0, the
2946         code handles it correclty as demonstrated by unit test.
2947         Also add a unit test for the zero sized _new_and_alloc and
2948         _copy. Fixes #346663.
2949
2950 2006-07-05  Wim Taymans  <wim@fluendo.com>
2951
2952         * libs/gst/base/gstbasetransform.c:
2953         (gst_base_transform_prepare_output_buffer),
2954         (gst_base_transform_buffer_alloc),
2955         (gst_base_transform_handle_buffer):
2956         Make sure the buffer we pass to transform_ip has a refcount of
2957         1 and thus is writable. Fixes #343196
2958
2959 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
2960
2961         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2962         (gst_file_src_init), (gst_file_src_set_property),
2963         (gst_file_src_get_property), (gst_file_src_map_region):
2964         * plugins/elements/gstfilesrc.h:
2965         Add "sequential" property, off by default, to use madvise and hint
2966         to the kernel that sequential access is desired.
2967         Touch all retrieved pages by default to ensure they are pulled
2968         into memory. (Closes #345720)
2969
2970 2006-07-03  Wim Taymans  <wim@fluendo.com>
2971
2972         * docs/design/part-block.txt:
2973         * docs/design/part-dynamic.txt:
2974         Small docs updates.
2975
2976 2006-07-03  Wim Taymans  <wim@fluendo.com>
2977
2978         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
2979         (gst_caps_unref), (gst_static_caps_get),
2980         (gst_caps_append_structure):
2981         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
2982         Use GSlice when the glib we build against is >= 2.10
2983
2984 2006-07-03  Wim Taymans  <wim@fluendo.com>
2985
2986         * gst/gstelement.c: (gst_element_pads_activate):
2987         Small cleanup in pad activation code.
2988
2989 2006-07-03  Wim Taymans  <wim@fluendo.com>
2990
2991         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2992
2993         * gst/gst-i18n-app.h:
2994         * gst/gst-i18n-lib.h:
2995         * tools/gst-inspect.c: (print_signal_info):
2996         The attached patch will make the inclusion of gettext.h unconditional in
2997         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
2998         libintl.h in tools/gst-inspect.c.
2999         This allows use of --disable-nls again and fixes #344642.
3000
3001 2006-07-03  Edward Hervey  <edward@fluendo.com>
3002
3003         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
3004         Implement pad blocking on events according to part-block.txt.
3005         More comments on behaviour.
3006         * tests/check/gst/gstevent.c: (test_event):
3007         Send event to peer pad of blocked pad (else it will block).
3008
3009 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3010
3011         * libs/gst/check/gstcheck.c: (gst_check_message_error),
3012         (gst_check_run_suite):
3013           if we get the wrong message, give us the types as string
3014         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
3015           Fix a translatable
3016         * tests/check/elements/filesrc.c: (GST_START_TEST):
3017           add a test for trying to open a non-existing file
3018
3019 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3020
3021         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3022           add a test for adding self
3023
3024 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3025
3026         * libs/gst/check/gstcheck.h:
3027           add some assert_ as alias for fail_unless_*
3028         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
3029           increase test coverage
3030
3031 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3032
3033         * Makefile.am:
3034           include lcov.mak for lcov coverage generation
3035         * tools/Makefile.am:
3036           add to CLEANFILES
3037
3038 2006-07-02  Edward Hervey  <edward@fluendo.com>
3039
3040         * tests/check/elements/.cvsignore:
3041         moaping
3042
3043 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3044
3045         * configure.ac:
3046           don't set CFLAGS and friends for gcov, done from GST_GCOV now
3047         * tests/check/Makefile.am:
3048           clean up gcov files
3049
3050 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3051
3052         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
3053           remove gst_caps_simplify; it was not declared and not used
3054           and deprecated in 0.8
3055
3056 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3057
3058         * docs/faq/gst-uninstalled:
3059           don't put empty paths on PYTHONPATH
3060         * docs/gst/gstreamer-sections.txt:
3061           remove some symbols that are not there
3062
3063 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3064
3065         * gst/gstcaps.c: (gst_caps_compare_structures):
3066           whitespace fixes
3067         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3068         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3069           add more tests
3070
3071 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3072
3073         * libs/gst/dataprotocol/Makefile.am:
3074           build dataprotocol test by linking to the lib, instead of
3075           compiling the source, so we get coverage
3076         * tests/check/Makefile.am:
3077         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
3078         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
3079           add a test for filesrc
3080
3081 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3082
3083         * tests/check/gst/gststructure.c: (GST_START_TEST),
3084         (gst_structure_suite):
3085           Push coverage from 59.04% to 70.00%
3086
3087 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3088
3089         * tests/check/Makefile.am:
3090           gst-inspect every element; this makes sure that we also get
3091           coverage on element's get/set functions
3092
3093 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3094
3095         * configure.ac:
3096           set CFLAGS and friends to -O0 if gcov is being used
3097           add GCOV LIBS
3098         * gst/Makefile.am:
3099         * libs/gst/base/Makefile.am:
3100         * libs/gst/check/Makefile.am:
3101         * libs/gst/controller/Makefile.am:
3102         * libs/gst/dataprotocol/Makefile.am:
3103         * libs/gst/net/Makefile.am:
3104         * plugins/elements/Makefile.am:
3105         * plugins/indexers/Makefile.am:
3106           add makefile rules to generate gcov data and clean up
3107         * tests/check/Makefile.am:
3108           add a coverage target that generates an html overview
3109           of coverage data
3110
3111 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
3112
3113         * tests/check/elements/fakesink.c:
3114         * tests/check/elements/fakesrc.c:
3115         * tests/check/elements/fdsrc.c:
3116         * tests/check/elements/identity.c:
3117         * tests/check/generic/sinks.c: (gst_sinks_suite):
3118         * tests/check/generic/states.c:
3119         * tests/check/gst/gst.c:
3120         * tests/check/gst/gstabi.c:
3121         * tests/check/gst/gstbin.c:
3122         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
3123         * tests/check/gst/gstbus.c: (gst_bus_suite):
3124         * tests/check/gst/gstcaps.c: (GST_START_TEST):
3125         * tests/check/gst/gstelement.c:
3126         * tests/check/gst/gstevent.c: (gst_event_suite):
3127         * tests/check/gst/gstghostpad.c:
3128         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
3129         * tests/check/gst/gstmessage.c: (gst_message_suite):
3130         * tests/check/gst/gstminiobject.c:
3131         * tests/check/gst/gstobject.c:
3132         * tests/check/gst/gstpad.c:
3133         * tests/check/gst/gstpipeline.c:
3134         * tests/check/gst/gstplugin.c:
3135         * tests/check/gst/gstquery.c: (gst_query_suite):
3136         * tests/check/gst/gstsegment.c: (gst_segment_suite):
3137         * tests/check/gst/gststructure.c:
3138         * tests/check/gst/gstsystemclock.c:
3139         * tests/check/gst/gsttag.c:
3140         * tests/check/gst/gsttask.c: (gst_task_suite):
3141         * tests/check/gst/gstutils.c:
3142         * tests/check/gst/gstvalue.c:
3143         * tests/check/libs/adapter.c:
3144         * tests/check/libs/basesrc.c:
3145         * tests/check/libs/collectpads.c:
3146         * tests/check/libs/controller.c:
3147         * tests/check/libs/gdp.c: (gst_dp_suite):
3148         * tests/check/libs/gstnetclientclock.c:
3149         * tests/check/libs/gstnettimeprovider.c:
3150         * tests/check/libs/libsabi.c: (libsabi_suite):
3151         * tests/check/libs/typefindhelper.c:
3152         * tests/check/pipelines/cleanup.c:
3153         * tests/check/pipelines/parse-launch.c:
3154         * tests/check/pipelines/simple-launch-lines.c:
3155         * tests/check/pipelines/stress.c: (stress_suite):
3156           use the new macro
3157
3158 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
3159
3160         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
3161         * libs/gst/check/gstcheck.h:
3162           create a macro and function so that the simple unit test
3163           case can be just one macro to create main()
3164
3165 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
3166
3167         * gst/gstbin.c: (gst_bin_restore_thyself):
3168         * gst/gstxml.c: (gst_xml_make_element):
3169           Fix deserialisation from XML. Set parent manually
3170           instead of using gst_bin_add(), since gst_bin_add()
3171           will unlink all pads of the element being added.
3172           Fixes #341667.
3173
3174 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
3175
3176         Patch by: Peter Kjellerstedt <pkj at axis com>
3177
3178         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
3179           Fix missing g_strdup() and double free when using the
3180           --gst-plugin-load command line option (#346097).
3181
3182 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
3183
3184         * gst/gstinfo.c:
3185           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
3186
3187         * libs/gst/net/gstnetclientclock.c:
3188         * libs/gst/net/gstnettimeprovider.c:
3189           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
3190
3191 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
3192
3193         * docs/manual/advanced-dataaccess.xml:
3194           Fix buffer probe example compilation in
3195           ADM (#345708).
3196         
3197 2006-06-22  Edward Hervey  <edward@fluendo.com>
3198
3199         * gst/gstelement.c: (gst_element_pads_activate):
3200         We need to deactivate src pads first and then sink pads.
3201         The reason is the src pads might be blocking while holding the streaming
3202         lock, so we need to deactivate them first so that deactivating the sink
3203         pads doesn't block (since it will require the streaming lock).
3204
3205 2006-06-22  Wim Taymans  <wim@fluendo.com>
3206
3207         * libs/gst/base/gstbasetransform.c:
3208         (gst_base_transform_buffer_alloc):
3209         Forgot to remove two unneeded unrefs.
3210         Simplify a check _is_equal allready checks the obvious case.
3211
3212 2006-06-22  Wim Taymans  <wim@fluendo.com>
3213
3214         * docs/design/part-block.txt:
3215         Some docs about what pad_block should do.
3216
3217 2006-06-22  Wim Taymans  <wim@fluendo.com>
3218
3219         * gst/gstcaps.c: (gst_caps_replace):
3220         Fix crasher when passed NULL. Doc clarification.
3221         Optimize for the trivial case.
3222
3223         * gst/gstpipeline.c: (gst_pipeline_change_state):
3224         Small cleanups.
3225
3226         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3227         Small documentation cleanup.
3228
3229         * libs/gst/base/gstbasetransform.c:
3230         (gst_base_transform_buffer_alloc):
3231         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
3232         is what we need and it avoids a whole lot of redundant 
3233         refcount operations.
3234
3235 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
3236
3237         Patch by: Philip Jägenstedt  <philip at lysator liu se>
3238
3239         * docs/manual/advanced-dataaccess.xml:
3240           Fix 'Embedding static elements' section to use
3241           GST_PLUGIN_DEFINE_STATIC (#345607).
3242
3243 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
3244
3245         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
3246           Attempt to 'fix' spuriously failing test case: it seems like the
3247           timeout of half a second is simply too small when the system is under
3248           load otherwise, and the timeout doesn't really seem to serve any
3249           particular purpose here. Give the pipeline a few seconds to preroll
3250           first, and then give it another half a second to go from PAUSED to
3251           PLAYING and marshal the message into the main thread.
3252
3253 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
3254
3255         * tools/gst-feedback-m.m:
3256           Don't only use unversioned tools, try versioned tools as well
3257           (#345086).
3258
3259 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
3260
3261         * gst/gstbus.c: (gst_bus_class_init):
3262           Fix some typos, make docs more explicit.
3263
3264 2006-06-20  Wim Taymans  <wim@fluendo.com>
3265
3266         * tests/check/gst/gstghostpad.c: (block_callback),
3267         (GST_START_TEST), (gst_ghost_pad_suite):
3268         Added some more ghostpad tests, mainly blocking
3269         and probes.
3270
3271 2006-06-16  Wim Taymans  <wim@fluendo.com>
3272
3273         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
3274         (gst_file_sink_close_file), (gst_file_sink_do_seek),
3275         (gst_file_sink_event), (gst_file_sink_render):
3276         * plugins/elements/gstfilesink.h:
3277         Check if we can seek in the file instead of assuming
3278         we always can. Post an error when we are asked to seek in a
3279         non-seekable file (like a fifo). Fixes #343312.
3280         Some cleanups.
3281
3282 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
3283
3284         * tools/gst-launch.1.in:
3285           Un-garble (fourcc) bit in filtered caps section.
3286
3287 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
3288
3289         * docs/manual/advanced-autoplugging.xml:
3290         * docs/manual/basics-helloworld.xml:
3291         * docs/manual/highlevel-components.xml:
3292           Don't leak bus reference in sample code.
3293
3294 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
3295
3296         * autogen.sh:
3297           Add default for new --enable-plugin-docs switch.
3298
3299         * configure.ac:
3300           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
3301           Fixes #344039.
3302
3303         * docs/Makefile.am:
3304           Use new ENABLE_PLUGIN_DOCS conditional.
3305
3306 2006-06-14  Wim Taymans  <wim@fluendo.com>
3307
3308         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
3309         Make it clear with a FIXME and a real define what the #if 0
3310         previously disabled.
3311
3312 2006-06-14  Wim Taymans  <wim@fluendo.com>
3313
3314         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
3315         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
3316         * libs/gst/base/gstbasetransform.c:
3317         (gst_base_transform_sink_eventfunc):
3318         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3319         Don't randomly and silently reset a segment when the format 
3320         changes as this is a bug somewhere upstream. Fixes #330379.
3321
3322 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
3323
3324         Patch by: Wouter Paesen  <wouter at kangaroot net>
3325
3326         * libs/gst/controller/gstcontroller.c:
3327         (gst_controlled_property_new):
3328           Fix controlling of float properties (#344849).
3329
3330         * tests/check/libs/controller.c:
3331         (gst_test_mono_source_get_property),
3332         (gst_test_mono_source_set_property),
3333         (gst_test_mono_source_class_init), (GST_START_TEST):
3334           While we're at it, add some float stuff to unit test.
3335
3336 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3337
3338         * docs/README:
3339         * docs/images/gdp-header.svg:
3340           add a gdp image
3341         * docs/libs/Makefile.am:
3342         * docs/libs/gdp-header.png:
3343         * libs/gst/dataprotocol/dataprotocol.c:
3344           add it to the API docs
3345         * docs/manual/intro-motivation.xml:
3346           fix typo
3347
3348 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
3349
3350         * gst/gst.c: (scan_and_update_registry), (init_post):
3351           If the fork()'ed child process can't write the updated registry cache
3352           file to disk for some reason, make it exit with a failure exit code,
3353           so that the parent can then re-scan the plugins itself and update the
3354           registry structures in memory and work with that (rather than failing
3355           when creating elements because seemingly no plugins are available).
3356           Refactor registry scanning code into separate function for this and
3357           also separate fork() and non-fork() code paths. Fixes #344748.
3358
3359 2006-06-13  Wim Taymans  <wim@fluendo.com>
3360
3361         * docs/manual/advanced-dataaccess.xml:
3362         Fix wrong PluginDesc. Fixes #344755.
3363
3364 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
3365
3366         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
3367           Fix silly bug that prevented us from creating
3368           ~/.gstreamer-0.10 and writing the registry in one
3369           go (the first call to g_mkstemp() would overwrite the
3370           placeholder in the template string, so the second call
3371           to g_mkstemp() after creating the missing directory
3372           would then error out with 'invalid argument').
3373
3374 2006-06-13  Edward Hervey  <edward@fluendo.com>
3375
3376         * gst/gst.c: (init_post):
3377         Free string.
3378
3379 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3380
3381         * gst/glib-compat-private.h:
3382         * gst/glib-compat.c:
3383         * gst/glib-compat.h:
3384         * gst/gstvalue.c: (gst_value_serialize_flags):
3385           remove GLib 2.6 compatibility code
3386
3387 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
3388
3389         * gst/parse/Makefile.am:
3390           Fix build with 'make -j N' even more (#340016).
3391
3392 2006-06-12  Wim Taymans  <wim@fluendo.com>
3393
3394         * docs/gst/gstreamer-sections.txt:
3395         Fix docs.
3396
3397 2006-06-12  Wim Taymans  <wim@fluendo.com>
3398
3399         * gst/gstsegment.c: (gst_segment_set_duration),
3400         (gst_segment_set_last_stop), (gst_segment_set_seek),
3401         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3402         (gst_segment_to_running_time), (gst_segment_clip):
3403         Use G_UNLIKELY to help the compiler a bit.
3404
3405 2006-06-12  Wim Taymans  <wim@fluendo.com>
3406
3407         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
3408
3409         * gst/gstevent.c: (gst_event_get_type):
3410         * gst/gstmessage.c:
3411         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
3412         (gst_pad_push):
3413         constify quark registration strings. Fixes #344115
3414         Avoid unneeded type checking is _pad_push() by internally
3415         calling gst_pad_chain_unchecked().
3416
3417 2006-06-12  Wim Taymans  <wim@fluendo.com>
3418
3419         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
3420         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
3421         (gst_subbuffer_finalize), (gst_buffer_create_sub),
3422         (gst_buffer_is_span_fast), (gst_buffer_span):
3423         Init _type for consistency.
3424         Use _FLAGS macro to avoid type check.
3425         Avoid unneeded type checks in subbufer code.
3426
3427 2006-06-12  Wim Taymans  <wim@fluendo.com>
3428
3429         * gst/gst.c: (gst_debug_help):
3430         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
3431         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3432         (gst_plugin_feature_list_free):
3433         * gst/gstregistry.c: (gst_registry_add_plugin),
3434         (gst_registry_add_feature), (gst_registry_plugin_filter),
3435         (gst_registry_feature_filter), (gst_registry_find_plugin),
3436         (gst_registry_find_feature), (gst_registry_get_plugin_list),
3437         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
3438         * gst/gstregistryxml.c: (load_feature),
3439         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
3440         * gst/gstminiobject.c: (gst_mini_object_unref),
3441         (gst_mini_object_replace), (gst_value_mini_object_free),
3442         (gst_value_mini_object_copy):
3443         Use _CAST macros to avoid unneeded type checking.
3444         Added some more G_UNLIKELY.
3445
3446 2006-06-12  Wim Taymans  <wim@fluendo.com>
3447
3448         * gst/gstbuffer.h:
3449         Avoid unneeded type checking.
3450         API: GST_BUFFER_IS_DISCONT
3451
3452         * gst/gstminiobject.h:
3453         Avoid type check in flag accessor.
3454
3455         * gst/gstelementfactory.h:
3456         * gst/gstplugin.h:
3457         * gst/gstpluginfeature.h:
3458         Add _CAST macros.
3459         API: GST_ELEMENT_FACTORY_CAST
3460         API: GST_PLUGIN_CAST
3461         API: GST_PLUGIN_FEATURE_CAST
3462
3463 2006-06-12  Wim Taymans  <wim@fluendo.com>
3464
3465         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
3466         (gst_object_unref):
3467         Add G_UNLIKELY in type registration.
3468         Avoid type check in _ref/_unref since that is also
3469         done in glib.
3470
3471 2006-06-12  Wim Taymans  <wim@fluendo.com>
3472
3473         * gst/gsterror.c: (gst_g_error_get_type):
3474         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
3475         (gst_static_pad_template_get_type):
3476         * gst/gsttaglist.c: (gst_tag_list_get_type):
3477         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
3478         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
3479         * gst/gsturi.c: (gst_uri_handler_get_type):
3480         * gst/gstvalue.c: (gst_date_get_type):
3481         * gst/gstxml.c: (gst_xml_get_type):
3482         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
3483         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
3484         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
3485         Add G_UNLIKELY in type registration.
3486
3487 2006-06-12  Wim Taymans  <wim@fluendo.com>
3488
3489         * tools/gst-inspect.c: (print_signal_info):
3490         Properly print enum values.
3491
3492 2006-06-12  Wim Taymans  <wim@fluendo.com>
3493
3494         * gst/gstinfo.c: (gst_debug_set_active),
3495         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
3496         * gst/gstinfo.h:
3497         Add some G_[UN]LIKELY.
3498         Maintain __gst_debug_min to avoid formatting the arguments of
3499         debug messages that will be dropped anyway to avoid a lot of 
3500         overhead from the debugging system.
3501
3502 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
3503
3504         * po/POTFILES.in:
3505         * po/POTFILES.skip:
3506           add missing files containing translatable strings, tell intltool about
3507           one exception
3508
3509 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
3510
3511         * tests/check/libs/.cvsignore:
3512         add test-binary to ignore list
3513
3514 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
3515
3516         * docs/libs/gstreamer-libs-docs.sgml:
3517         reorder (put dp into a chapter) and indent
3518
3519 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3520
3521         * configure.ac:
3522           back to HEAD
3523
3524 === release 0.10.8 ===
3525
3526 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
3527
3528         * configure.ac:
3529           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
3530
3531 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3532
3533         * gst/gst.c: (init_post):
3534           move pid declaration to declaration block
3535
3536 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3537
3538         * gst/gst.c: (init_post):
3539           use _exit() instead of exit() in our forked child; this ensures
3540           that none of the registered exit handlers from whatever is using
3541           GStreamer get executed.  This fixes gnome-mixer-applet failing
3542           to load, because ORBit would shut down.
3543           Spotted by: Edward Hervey  <edward@fluendo.com>
3544           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
3545           Fixes #344474
3546
3547 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3548
3549         * configure.ac:
3550           back to TRUNK
3551
3552 === release 0.10.7 ===
3553
3554 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
3555
3556         * configure.ac:
3557           releasing 0.10.7, "Soepeke, ik zie ou"
3558
3559 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
3560
3561         * configure.ac:
3562         * po/af.po:
3563         * po/az.po:
3564         * po/bg.po:
3565         * po/ca.po:
3566         * po/cs.po:
3567         * po/de.po:
3568         * po/en_GB.po:
3569         * po/fr.po:
3570         * po/it.po:
3571         * po/nb.po:
3572         * po/nl.po:
3573         * po/ru.po:
3574         * po/sq.po:
3575         * po/sr.po:
3576         * po/sv.po:
3577         * po/tr.po:
3578         * po/uk.po:
3579         * po/vi.po:
3580         * po/zh_CN.po:
3581         * po/zh_TW.po:
3582         * win32/common/config.h:
3583           0.10.6.2 prerelease
3584
3585 2006-06-07  Wim Taymans  <wim@fluendo.com>
3586
3587         * gst/gstindex.c: (gst_index_gtype_resolver):
3588         * tools/gst-xmlinspect.c: (print_plugin_info):
3589         Fix leak spotted by coverity checker. Fixes #343827
3590         Fix another other leak found by paolo borelli.
3591
3592 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
3593
3594         * libs/gst/dataprotocol/dataprotocol.c:
3595         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
3596         (gst_dp_version_get_type), (gst_dp_init),
3597         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
3598         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
3599         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
3600         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
3601         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
3602         (gst_dp_packetizer_free):
3603         * libs/gst/dataprotocol/dataprotocol.h:
3604           API: add a GstDPPacketizer object, and create/free functions
3605           API: add GstDPVersion enum
3606           Add 1.0 event function that uses the string serialization
3607           Serialize more useful buffer flags
3608           Fixes #343988
3609
3610 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
3611
3612         * tests/check/Makefile.am:
3613         * tests/check/gst/gstabi.c:
3614         * tests/check/gst/struct_ppc64.h:
3615         * tests/check/libs/libsabi.c:
3616         * tests/check/libs/struct_ppc64.h:
3617           add ppc64 structure sizes
3618
3619 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
3620
3621         * tests/check/Makefile.am:
3622         * tests/check/gst/gstabi.c:
3623         * tests/check/gst/struct_x86_64.h:
3624         * tests/check/libs/libsabi.c:
3625         * tests/check/libs/struct_x86_64.h:
3626           generate and add structure size lists for x86_64
3627
3628 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
3629
3630         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
3631         * libs/gst/check/gstcheck.h:
3632           factor out the method from tests that checks size of structures,
3633           and add code to generate the header containing these sizes
3634         * tests/check/gst/gstabi.c: (GST_START_TEST):
3635         * tests/check/gst/struct_i386.h:
3636         * tests/check/libs/libsabi.c: (GST_START_TEST):
3637         * tests/check/libs/struct_i386.h:
3638           use it
3639
3640 2006-06-06  Michael Smith  <msmith@fluendo.com>
3641
3642         * gst/gstsegment.h:
3643           Don't use c++-style comments, fixes #343929
3644
3645 2006-06-05  Edward Hervey  <edward@fluendo.com>
3646
3647         * gst/gst.c:
3648         plugin_paths is not used if we build without registry support.
3649
3650         * gst/gstsegment.c: (gst_segment_copy): 
3651         _copy() was always returning NULL...
3652
3653 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3654
3655         * libs/gst/dataprotocol/dataprotocol.c:
3656         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3657         (gst_dp_packet_from_event):
3658           factor out CRC code
3659
3660 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3661
3662         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
3663           make sure we unset caps
3664
3665 2006-06-02  Michael Smith  <msmith@fluendo.com>
3666
3667         * libs/gst/check/gstcheck.c: (gst_check_init),
3668         (gst_check_chain_func):
3669         * libs/gst/check/gstcheck.h:
3670           Add a cond/mutex to the check support lib, signal this whenever we
3671           add to the buffers list. This will allow tests to not busy-wait on
3672           the buffer-list.
3673
3674 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3675
3676         * libs/gst/dataprotocol/dataprotocol.c:
3677         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3678         (gst_dp_packet_from_event):
3679           factor out some common header init code
3680
3681 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3682
3683         * docs/libs/gstreamer-libs-sections.txt:
3684         * docs/libs/tmpl/gstdataprotocol.sgml:
3685         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
3686         * libs/gst/dataprotocol/dataprotocol.h:
3687           API: make gst_dp_crc() public
3688
3689 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
3690
3691         * plugins/indexers/gstindexers.c: (plugin_init):
3692         conditionally register fileindexer (fixes #343598)
3693
3694 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
3695
3696         * gst/gsttagsetter.h:
3697         Can't cast ifaces to a class
3698
3699         * libs/gst/net/gstnetclientclock.h:
3700         * libs/gst/net/gstnettimeprovider.h:
3701         * plugins/elements/gstfakesink.h:
3702         * plugins/elements/gstfakesrc.h:
3703         * plugins/elements/gstfdsink.h:
3704         * plugins/elements/gstfdsrc.h:
3705         * plugins/elements/gstfilesink.h:
3706         * plugins/elements/gstfilesrc.h:
3707         * plugins/elements/gstidentity.h:
3708         * plugins/elements/gstqueue.h:
3709         * plugins/elements/gsttee.h:
3710         * plugins/indexers/gstfileindex.c:
3711         * plugins/indexers/gstmemindex.c:
3712         * tests/old/examples/plugins/example.h:
3713         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
3714
3715 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
3716
3717         * libs/gst/dataprotocol/dataprotocol.c:
3718         (gst_dp_header_from_buffer):
3719           make sure we zero the whole ABI-compatible area
3720
3721 2006-06-01  Wim Taymans  <wim@fluendo.com>
3722
3723         Patch by: Alessandro Decina <alessandro at nnva dot org>
3724
3725         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
3726         Make sure the EOS flag is cleared from pads after a flush
3727         or stop. Fixes #343538.
3728
3729         * tests/check/libs/collectpads.c: (GST_START_TEST),
3730         (gst_collect_pads_suite):
3731         Added test for collectpads reusage after EOS.
3732
3733 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
3734
3735         * gst/gst.c:
3736          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
3737         * win32/common/libgstbase.def:
3738          export gst_collect_pads_set_flushing
3739         * win32/common/libgstreamer.def:
3740          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
3741          gst_value_fraction_multiply
3742         * win32/vs6/gst_inspect.dsp:
3743          add a link to intl.lib
3744
3745 2006-05-30  Wim Taymans  <wim@fluendo.com>
3746
3747         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3748         (gst_collect_pads_chain):
3749         Handle the case where a pad is removed from the collection
3750         that could cause the other pads to become collectable.
3751
3752 2006-05-30  Wim Taymans  <wim@fluendo.com>
3753
3754         * gst/gstelement.c:
3755         Clarify the use of _release_request_pad() and
3756         _get_request_pad() a bit better.
3757
3758         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
3759         (gst_adapter_take_buffer):
3760         Fix some doc and comment typos.
3761
3762 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
3763
3764         * docs/gst/gstreamer-sections.txt:
3765         * docs/libs/gstreamer-libs-sections.txt:
3766           add declared symbols
3767
3768 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
3769
3770         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
3771         Add debug that can be enabled using a #define at the top of the file,
3772         for dumping stats about how late/early we were when waking up from
3773         waiting on the clock.
3774
3775 2006-05-30  Wim Taymans  <wim@fluendo.com>
3776
3777         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
3778         When rebuilding the pad list, don't leak the previous list.
3779
3780 2006-05-30  Wim Taymans  <wim@fluendo.com>
3781
3782         Patch by: Lutz Mueller <lutz at topfrose dot de>
3783
3784         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3785         (gst_base_src_get_query_types), (gst_base_src_update_length):
3786         Publish supported query types.
3787         Update last_stop field in get_range mode so the position
3788         query works. Fixes #342321.
3789
3790 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
3791
3792         * docs/gst/gstreamer-sections.txt:
3793         * gst/gsttaglist.c: (_gst_tag_initialize):
3794         * gst/gsttaglist.h:
3795           API: add GST_TAG_PREVIEW_IMAGE (#343341).
3796
3797 2006-05-30  Wim Taymans  <wim@fluendo.com>
3798
3799         Patch by: Alessandro Decina <alessandro at nnva dot org>
3800
3801         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
3802         Unlock mutex when removing an unknown pad.
3803         Fixes #343334.
3804
3805         * tests/check/Makefile.am:
3806         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
3807         (push_event), (setup), (teardown), (GST_START_TEST),
3808         (gst_collect_pads_suite), (main):
3809         Added collecpads check, disabled for now as check crashes for
3810         some reason.
3811
3812 2006-05-29  Wim Taymans  <wim@fluendo.com>
3813
3814         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
3815         Don't leak pads lists.
3816
3817 2006-05-29  Wim Taymans  <wim@fluendo.com>
3818
3819         * docs/libs/gstreamer-libs-sections.txt:
3820         * libs/gst/base/gstcollectpads.c:
3821         (gst_collect_pads_set_flushing_unlocked),
3822         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
3823         (gst_collect_pads_stop):
3824         * libs/gst/base/gstcollectpads.h:
3825         API: gst_collect_pads_set_flushing()
3826         Added api to set the pads to flushing, useful for seeking
3827         code in elements using collectpads.
3828         Clear segment when receiving a flush.
3829
3830 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
3831
3832         * gst/gst.c: (add_path_func), (init_post):
3833           Don't scan registry paths passed via --gst-plugin-path immediately
3834           (will crash, because absolutely nothing is set up and no types are
3835           registered etc.); do this later in init_post(). Fixes #343057.
3836
3837 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3838
3839         * gst/gst.c: (init_post):
3840           if we have fork, fork while reading/rebuilding the registry
3841           so the parent doesn't take the hit of having all plugins loaded
3842           in memory.  Fixes #342777.
3843         * configure.ac:
3844           Check if we have fork()
3845         * win32/common/config.h.in:
3846           no fork() on win32
3847
3848 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
3849
3850         * plugins/elements/gstelements.c:
3851         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
3852         (gst_file_src_init), (gst_file_src_set_property),
3853         (gst_file_src_get_property), (gst_file_src_start):
3854         * plugins/elements/gstfilesrc.h:
3855           API: GstFileSrc::use-mmap
3856
3857         Add a use-mmap property to enable easier testing of all code paths.
3858         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
3859         in the absence of gnomevfssrc. (Closes #340501)
3860
3861 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3862
3863         * tools/gst-inspect.c:
3864         Add missing include, removes warning of ngettext not being defined on
3865         some arches.
3866
3867 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
3868
3869         * gst/gstvalue.c: (gst_value_deserialize_fraction):
3870         Handle NULL input and output pointers silently as a failed conversion,
3871         rather than g_warnings.
3872
3873 2006-05-25  Wim Taymans  <wim@fluendo.com>
3874
3875         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
3876         Initialize variable before using. Fixes #342820.
3877
3878 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
3879
3880         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
3881           Fix off-by-one bug that would only allow peeks of N-1 bytes
3882           from the start even if the buffer to typefind on contains
3883           in fact N bytes of data (makes vorbis typefinding from a
3884           vorbis identification header buffer work).
3885
3886         * tests/check/Makefile.am:
3887         * tests/check/libs/.cvsignore:
3888         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
3889         (gst_typefindhelper_suite), (main), (foobar_typefind),
3890         (plugin_init):
3891           Add very basic unit test for gst_type_find_helper_for_buffer()
3892           that checks for the problem fixed above.
3893
3894 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3895
3896         * tools/gst-inspect.c: (print_interfaces),
3897         (print_element_properties_info), (print_element_list), (main):
3898           add more translatable strings
3899
3900 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
3901
3902         Patch by: Julien Moutte  <julien at moutte net>
3903
3904         * docs/gst/gstreamer-sections.txt:
3905           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
3906           
3907         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3908         (gst_fake_sink_preroll):
3909         * plugins/elements/gstfakesink.h:
3910           API: Add new GstFakeSink::preroll-handoff signal (#337100).
3911
3912 2006-05-23  Wim Taymans  <wim@fluendo.com>
3913
3914         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
3915         * gst/gstpad.h:
3916         Added _CUSTOM error and success GstFlowReturn that can be
3917         used be elements internally. 
3918         Added macro to check for SUCCESS flowreturns.
3919         API: GST_FLOW_CUSTOM_SUCCESS
3920         API: GST_FLOW_CUSTOM_ERROR
3921         API: GST_FLOW_IS_SUCCESS
3922
3923         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3924         Added check for GstFlowReturn sanity.
3925
3926 2006-05-23  Wim Taymans  <wim@fluendo.com>
3927
3928         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3929
3930         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3931         (gst_collect_pads_event):
3932         clear/reset segment info in FLUSH_STOP.
3933         Fixes #336929.
3934
3935 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
3936
3937         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
3938         (gst_collect_pads_check_collected):
3939         Flush queued buffer on _stop(), fixes playing again (#342454)
3940
3941 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
3942
3943         * tests/check/gst/gststructure.c: (GST_START_TEST),
3944         (gst_structure_suite):
3945           add a test for a complete structure
3946
3947 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
3948
3949         * docs/faq/developing.xml:
3950         * docs/faq/faq.xml:
3951         * docs/faq/troubleshooting.xml:
3952         * docs/faq/using.xml:
3953           Some minor FAQ updates that won't change the fact that
3954           our FAQ is badly structured, full of information hardly
3955           anyone new to GStreamer needs to know and lacking lots
3956           of information people constantly ask for.
3957           
3958 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
3959
3960         * gst/gstpad.c: (gst_pad_set_caps):
3961           Short-circuit gst_pad_set_caps if setting the existing
3962           caps pointer again, and avoid printing debug and 
3963           reffing/unreffing the caps.
3964
3965         * plugins/elements/gstqueue.c: (gst_queue_push_one):
3966           There's actually no need to set the caps before pushing -
3967           the acceptcaps method will handle it anyway.
3968
3969 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
3970
3971         * docs/gst/gstreamer-sections.txt:
3972         * win32/common/libgstreamer.def:
3973         * gst/gstutils.c: (gst_element_seek_simple):
3974         * gst/gstutils.h:
3975           API: add gst_element_seek_simple() (#342238).
3976
3977 2006-05-18  Edward Hervey  <edward@fluendo.com>
3978
3979         * gst/gsttypefind.c: (gst_type_find_get_type):
3980         * gst/gsttypefind.h:
3981         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
3982         registered for GstTypeFind pointers. This allows wrapping the structure
3983         in bindings (i.e. gst-python).
3984
3985 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
3986
3987         * gst/gsttagsetter.c:
3988           Docs additions and fixes (see #339918).
3989
3990 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
3991
3992         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3993         The caps intersection algorithm can produce multiple copies of the
3994         caps. Until that is fixed, we need to simplify the result to be
3995         sure whether the allowed caps are fixed or not.
3996
3997         * plugins/elements/gstqueue.c: (gst_queue_init),
3998         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
3999         (gst_queue_push_one):
4000         Proxied buffer alloc should not set the caps on the source pad.
4001         When pushing buffers, we always accept the caps change that triggers.
4002         This prevents negotiation errors caused by caps changing mid-stream 
4003         and then being refused on our source pad (because upstream is now
4004         refusing those caps).
4005
4006 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
4007
4008         * tests/examples/helloworld/helloworld.c: (main):
4009           Must plug audioconvert and audioresample between decoder
4010           and audio sink.
4011
4012 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
4013
4014         * gst/gstregistryxml.c: (read_string), (load_pad_template),
4015         (load_feature), (load_plugin):
4016         Allow empty strings for some of the plugin fields so we don't 
4017         drop valid plugin entries that were written out correctly
4018         (Fixes #341479)
4019
4020 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
4021         
4022         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
4023           Use g_remove and g_rename instead of remove and rename that don't 
4024           handle utf8 characters. rename was failing for users who had specific
4025           characters in their name then the registry was built at each 
4026           gstreamer init.
4027         * win32/vs6/gst_inspect.dsp:
4028         * win32/vs6/gst_launch.dsp:
4029         * win32/vs6/libgstbase.dsp:
4030         * win32/vs6/libgstcoreelements.dsp:
4031         * win32/vs6/libgstreamer.dsp:
4032           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
4033           build of libgstreamer and clean unused libraries in projects link 
4034           settings.
4035
4036 2006-05-17  Edward Hervey  <edward@fluendo.com>
4037
4038         * plugins/elements/gstqueue.c: (gst_queue_push_one):
4039         The queue is not responsible for pushing an EOS when receiving a fatal
4040         flow error. It's up to the real element driving the pipeline to do that.
4041
4042 2006-05-16  Edward Hervey  <edward@fluendo.com>
4043
4044         * plugins/elements/gstqueue.c: (gst_queue_push_one):
4045         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
4046         buffer returned a fatal error. It should just send an EOS and stop
4047         its task.
4048         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
4049         when pushing buffers on the queue and will be able to handle the event.
4050
4051 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
4052
4053         * docs/manual/basics-bins.xml:
4054         * docs/manual/basics-init.xml:
4055           Fix typos and minor errors in sample code (#341856).
4056
4057 2006-05-16  Wim Taymans  <wim@fluendo.com>
4058
4059         * docs/design/part-qos.txt:
4060         Fix indexes in formulas to make more sense.
4061
4062 2006-05-15  Wim Taymans  <wim@fluendo.com>
4063
4064         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4065         Don't report POSITION based on clock time if sync is
4066         disabled in a sink.
4067
4068 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
4069
4070         * gst/gstobject.h:
4071           Add cast to make compiler happy - refcount variable was a gint
4072           in GstObject but is a guint in GObject and g_atomic_int_get()
4073           wants a gint *.
4074
4075 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4076
4077         * gst/parse/Makefile.am:
4078           chain commands using &&, which also makes parallel make work
4079
4080 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
4081
4082         * docs/gst/gstreamer-sections.txt:
4083         * gst/gstevent.c:
4084         * gst/gstevent.h:
4085         * gst/gstmessage.h:
4086           Minor docs fixes.
4087
4088 === release 0.10.6 ===
4089
4090 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
4091
4092         * configure.ac:
4093           releasing 0.10.6, "Take the cannoli"
4094
4095 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
4096
4097         * tools/gst-launch.c: (print_tag):
4098           Fix use of uninitialized variable in the hypothetical
4099           case that some broken plugin creates a GST_TAG_IMAGE
4100           tag containing a NULL buffer (#341667).
4101
4102 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
4103
4104         * tools/gst-launch.c: (print_tag):
4105           Print something more intelligible for image tags when
4106           using the -t switch (#341556).
4107
4108 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4109
4110         * Makefile.am:
4111           updates for win32
4112         * configure.ac:
4113           define GST_MAJORMINOR so we have it available in win32/common/config.h
4114           Possibly remove it from our Makefile.am files later
4115         * win32/common/config.h:
4116         * win32/common/config.h.in:
4117           added GST_MAJORMINOR
4118         * win32/common/gstenumtypes.c: (register_gst_resource_error):
4119         * win32/common/gstversion.h:
4120           updated
4121
4122 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
4123
4124         * win32/MANIFEST:
4125           Update win32 files listing.
4126         * win32/common/gstversion.h:
4127           Add GST_MAJORMINOR definition.
4128         * win32/common/libgstreamer.def:
4129           Add new exported functions.
4130           
4131 2006-05-12  Michael Smith  <msmith@fluendo.com>
4132
4133         * gst/gstplugin.c: (gst_plugin_load_file):
4134           If an so file has no plugin entry point, unload the module.
4135
4136 2006-05-11  Wim Taymans  <wim@fluendo.com>
4137
4138         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
4139         (gst_queue_set_property):
4140         Don't forget to signal the _chain or _loop function 
4141         when the queue size or thresholds change since that might
4142         cause them to make progres again.
4143
4144 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
4145
4146         * gst/gstclock.c: (gst_clock_class_init):
4147         * gst/gstindex.c: (gst_index_class_init):
4148         * gst/gstobject.c: (gst_object_class_init):
4149         * gst/gstpad.c: (gst_pad_class_init):
4150         * gst/gstpipeline.c: (gst_pipeline_class_init):
4151         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4152         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4153         * libs/gst/base/gstbasetransform.c:
4154         (gst_base_transform_class_init):
4155         * libs/gst/net/gstnetclientclock.c:
4156         (gst_net_client_clock_class_init):
4157         * libs/gst/net/gstnettimeprovider.c:
4158         (gst_net_time_provider_class_init):
4159         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4160         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4161         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4162         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4163         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4164         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4165         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4166         * plugins/elements/gstidentity.c: (gst_identity_class_init):
4167         * plugins/elements/gsttee.c: (gst_tee_class_init):
4168         * tests/old/examples/plugins/example.c: (gst_example_class_init):
4169         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
4170           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
4171
4172 2006-05-11  Wim Taymans  <wim@fluendo.com>
4173
4174         * gst/gstbuffer.c: (_gst_buffer_initialize):
4175         Register subbufer along with the buffer type so that
4176         it does not accidentally gets registered from N
4177         different streaming threads in a non threadsafe way.
4178
4179 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
4180
4181         * gst/gstbuffer.h:
4182         * gst/gstevent.h:
4183         * gst/gstmessage.h:
4184           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
4185           gst_event_ref() and gst_message_ref() functions again
4186           (ugly hack, please do fix if there's a better way besides
4187           overrides.txt, which doesn't seem to work).
4188
4189 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4190
4191         * libs/gst/check/gstcheck.h:
4192           add an assert for setting state to avoid lots of repetitive code
4193           in the future
4194
4195 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4196
4197         * gst/gstvalue.c: (gst_value_serialize_flags):
4198           fix a leak if no flags are set
4199         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4200           fix leak in tests
4201
4202 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
4203
4204         * docs/manual/basics-pads.xml:
4205           Expand a bit on caps and filtered links and update
4206           examples that were still using the no longer existing
4207           gst_pad_link_filtered() (#338206).
4208
4209 2006-05-10  Wim Taymans  <wim@fluendo.com>
4210
4211         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4212         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
4213         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
4214         (gst_collect_pads_stop):
4215         * libs/gst/base/gstcollectpads.h:
4216         No need to call _stop in _finalize.
4217         Iterate the main pad list in _finalize.
4218         Added some more debug.
4219         Free lists and data in the right order.
4220         Also free data whem doing _remove_pad when stopped for
4221         backward compatibility protect ::started with PAD_LOCK as
4222         well.
4223
4224 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4225
4226         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
4227         (gst_structure_parse_value):
4228           add some comments
4229           rename a method so that it actually says what it does better
4230
4231 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4232
4233         * gst/gstevent.c: (_gst_event_initialize):
4234         * gst/gstformat.c: (_gst_format_initialize):
4235           make sure some essential types used by events are registered
4236           as part of gst_init()
4237         * gst/gstvalue.c: (gst_value_serialize_flags):
4238           if no flags are set, serialize them to a value that represents NONE
4239           so that deserializing them works
4240         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4241           add tests for serialization and deserialization of flags
4242
4243 2006-05-10  Wim Taymans  <wim@fluendo.com>
4244
4245         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
4246         (gst_collect_pads_collect_range), (gst_collect_pads_available),
4247         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
4248         (gst_collect_pads_event), (gst_collect_pads_chain):
4249         Update docs.
4250         Better debug info.
4251         Catch and return errors from the collect function
4252         Refuse data on eos pads.
4253
4254 2006-05-10  Edward Hervey  <edward@fluendo.com>
4255
4256         * gst/gstinterface.h:
4257         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
4258         GInterface type checking.
4259         They were previously using non-defined macros.
4260
4261 2006-05-09  Wim Taymans  <wim@fluendo.com>
4262
4263         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
4264         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
4265         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
4266         (gst_collect_pads_start), (gst_collect_pads_stop),
4267         (gst_collect_pads_peek), (gst_collect_pads_pop),
4268         (gst_collect_pads_available), (gst_collect_pads_read),
4269         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
4270         (gst_collect_pads_is_collected), (gst_collect_pads_event),
4271         (gst_collect_pads_chain):
4272         * libs/gst/base/gstcollectpads.h:
4273         Clean up the mess that is collectpads, add comments and
4274         FIXMEs where needed.
4275         Maintain a separate pad list so we can add pads while
4276         collecting the other ones. For this we need a new separate 
4277         lock (see comics).
4278         Fix memory leak in finalize.
4279         Refactor some weird code to set/unset pad flushing flags, mark
4280         with comments.
4281         Don't crash in _available, _read, _flush when we're EOS.
4282
4283         * tests/check/libs/.cvsignore:
4284         Ignore adapter check binary.
4285
4286 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
4287
4288         * gst/gstindex.c: (gst_index_resolver_get_type):
4289         * plugins/elements/gstfakesink.c:
4290         (gst_fake_sink_state_error_get_type):
4291         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
4292         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
4293         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
4294           Const-ify GEnumValue arrays.
4295
4296 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
4297
4298         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4299           Add test case for flags + gst_buffer_make_metadata_writable().
4300
4301 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
4302
4303         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
4304           gst_buffer_make_metadata_writable() should maintain the
4305           buffer flags (those that make sense at least) (see #340859).
4306
4307 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
4308
4309         * tools/gst-inspect.c:
4310         * tools/gst-launch.c:
4311         * tools/gst-typefind.c:
4312         * tools/gst-xmlinspect.c:
4313         * tools/tools.h:
4314           Fix up includes: need to include stdlib.h in tools.h for exit().
4315
4316 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
4317
4318         * gst/gsttaglist.c: (_gst_tag_initialize):
4319         * gst/gsttaglist.h:
4320           API: add GST_TAG_IMAGE tag (#340721).
4321
4322 2006-05-08  Wim Taymans  <wim@fluendo.com>
4323
4324         * gst/gstquery.c:
4325         Added some docs for the segment query.
4326
4327 2006-05-08  Wim Taymans  <wim@fluendo.com>
4328
4329         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4330         (gst_base_src_loop), (gst_base_src_change_state):
4331         Always push non-flushing serialized events in the streaming 
4332         thread.
4333
4334 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4335
4336         * gst/gsterror.c: (_gst_stream_errors_init):
4337           Add a missing error string.
4338
4339 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
4340
4341         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
4342         Add applied_rate to the debug
4343
4344         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
4345         Copy applied_rate into the outgoing NEWSEGMENT event
4346
4347 2006-05-08  Wim Taymans  <wim@fluendo.com>
4348
4349         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
4350
4351         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
4352         (gst_base_sink_change_state):
4353         call ::unlock before taking the PREROLL_LOCK so we can safely
4354         handle elements that lock in ::render.
4355         Fixes #340174.
4356
4357 2006-05-08  Edward Hervey  <edward@fluendo.com>
4358
4359         * autogen.sh: (CONFIGURE_DEF_OPT): 
4360         Darwin's libtoolize is in fact called glibtoolize.
4361         Adding glibtoolize to the list of accepted names for libtoolize.
4362
4363 2006-05-08  Wim Taymans  <wim@fluendo.com>
4364
4365         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4366         Unify error handling, don't post an error message
4367         when a push() returns EOS but perform our normal EOS
4368         handling code. Fixes #340772.
4369
4370 2006-05-08  Wim Taymans  <wim@fluendo.com>
4371
4372         * docs/design/part-overview.txt:
4373         Make upsteam/downstream concepts more clear.
4374         Give an example of serialized/non-serialized events.
4375
4376         * docs/design/part-events.txt:
4377         * docs/design/part-streams.txt:
4378         Mention applied_rate.
4379
4380         * docs/design/part-trickmodes.txt:
4381         Mention applied rate, flesh out some more use cases.
4382
4383         * gst/gstevent.c: (gst_event_new_new_segment),
4384         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
4385         (gst_event_parse_new_segment_full), (gst_event_new_tag),
4386         (gst_event_parse_tag), (gst_event_new_buffer_size),
4387         (gst_event_parse_buffer_size), (gst_event_new_qos),
4388         (gst_event_parse_qos), (gst_event_parse_seek),
4389         (gst_event_new_navigation):
4390         * gst/gstevent.h:
4391         Add applied_rate field to NEWSEGMENT event.
4392         API: gst_event_new_new_segment_full()
4393         API: gst_event_parse_new_segment_full()
4394
4395         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
4396         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
4397         (gst_segment_to_stream_time), (gst_segment_to_running_time):
4398         * gst/gstsegment.h:
4399         Add applied_rate to GstSegment structure.
4400         Make calculation of stream_time and running_time more correct
4401         wrt rate/applied_rate.
4402         Add some more docs.
4403         API: GstSegment::applied_rate field
4404         API: gst_segment_set_newsegment_full();
4405
4406         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4407         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
4408         * libs/gst/base/gstbasetransform.c:
4409         (gst_base_transform_sink_eventfunc),
4410         (gst_base_transform_handle_buffer):
4411         Parse and use applied_rate in the GstSegment field.
4412
4413         * tests/check/gst/gstevent.c: (GST_START_TEST):
4414         Add check for applied_rate field.
4415
4416         * tests/check/gst/gstsegment.c: (GST_START_TEST),
4417         (gstsegments_suite):
4418         Add more checks for various GstSegment operations.
4419
4420 2006-05-08  Wim Taymans  <wim@fluendo.com>
4421
4422         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4423         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
4424         (gst_base_sink_get_position), (gst_base_sink_change_state):
4425         Store the sync time of the buffer end position separatly in a
4426         new variable eos_rtime so we can properly sync the EOS event.
4427         Fixes #340697.
4428         Fix the docs for gst_base_sink_set_qos_enabled().
4429         Don't set segment start to invalid value when we receive a 
4430         non TIME newsegment.
4431         get closer to handling position reporting for negative rates 
4432         correctly.
4433
4434 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
4435
4436         * gst/gstcaps.c:
4437         Docs about how to print caps for debug purposes.
4438
4439         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
4440         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
4441
4442 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
4443
4444         * gst/gstelement.c:
4445           use full enum names and preprend a '%' in docs strings to make recent 
4446           gtk-doc turn that into a link
4447
4448 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
4449
4450         * docs/manual/basics-bins.xml:
4451         * docs/manual/basics-bus.xml:
4452         * docs/manual/basics-pads.xml:
4453           Some typo fixes, some additions, some clarifications. 
4454
4455 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
4456
4457         * tools/gst-inspect.c: (main):
4458         * tools/gst-launch.c: (main):
4459         * tools/gst-run.c: (main):
4460         * tools/gst-typefind.c: (main):
4461         * tools/gst-xmlinspect.c: (main):
4462           Use the string passed to g_option_context_new() for
4463           what it's intended for - the program name is already
4464           printed elsewhere.
4465
4466 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
4467
4468         * tools/Makefile.am:
4469         * tools/gst-inspect.c: (main):
4470         * tools/gst-launch.c: (main):
4471         * tools/gst-xmlinspect.c: (main):
4472         * tools/tools.h:
4473           Add back --version command line option (#340460).
4474
4475         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
4476           Add --version option and use GOption for argument parsing; refactor a
4477           bit; accept directories as arguments and recurse into them; lastly,
4478           print a decent error message when things go wrong.
4479
4480 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
4481
4482         * docs/manual/basics-bins.xml:
4483         Don't mention GstThread (#340611)
4484         * docs/manual/basics-elements.xml:
4485         Update link to GObject tutorial (#340607)
4486         
4487 2006-05-05  Wim Taymans  <wim@fluendo.com>
4488
4489         * gst/gstbuffer.h:
4490         * gst/gstminiobject.c:
4491         Add note about refcounting and miniobject/buffer writeability
4492         to docs. Fixes #340604
4493
4494         * gst/gstelementfactory.h:
4495         Added some explanation about @klass.
4496
4497 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
4498
4499         * docs/manual/intro-motivation.xml:
4500         * docs/manual/manual.xml:
4501         Avoid CORBA & Bonobo references (#340598)
4502
4503 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
4504
4505         * docs/manual/basics-bus.xml:
4506         * docs/manual/basics-pads.xml:
4507         Fix up some inaccuracies and omissions (#340609)
4508         
4509 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
4510
4511         * gst/gstghostpad.c:
4512           Small typo in docs (#340625)
4513
4514 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
4515
4516         * gst/parse/Makefile.am:
4517           Make 'make -j' proof (see #340698).
4518
4519 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
4520
4521         * configure.ac:
4522           Require GLib-2.8 here as well.
4523
4524 2006-05-05  Wim Taymans  <wim@fluendo.com>
4525
4526         * gst/glib-compat.c:
4527         * gst/gst.c: (init_pre):
4528         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
4529         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
4530         (gst_object_dispatch_properties_changed):
4531         * gst/gstobject.h:
4532         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
4533         * gst/gststructure.c: (gst_structure_set_valist):
4534         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4535         Remove pre glib2.8 compatibility, fixes #340508
4536
4537 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
4538
4539         * gst/gsttaglist.h:
4540           Mention type of tags in doc blurbs.
4541
4542 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
4543
4544         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
4545         (gst_pad_configure_src), (gst_pad_push):
4546         Restore acceptcaps checking behaviour now that good plugins have
4547         been released.
4548
4549 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
4550
4551         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
4552
4553         * gst/gst.c:
4554         * gst/gstbus.c:
4555         * gst/gstclock.c:
4556         * gst/gstevent.c:
4557         * gst/gstformat.c:
4558         * gst/gstmessage.c:
4559         * gst/gstparse.c:
4560         * gst/gstquery.c:
4561         * gst/gstutils.c:
4562         * gst/parse/Makefile.am:
4563         * libs/gst/base/gstadapter.c:
4564         * libs/gst/base/gstbasesrc.c:
4565         * libs/gst/base/gstpushsrc.c:
4566         * libs/gst/base/gsttypefindhelper.c:
4567         * plugins/elements/gstfakesrc.c:
4568         * plugins/elements/gstidentity.c:
4569           Make sure gstprivate.h and/or config.h are
4570           always included first, otherwise some of our
4571           defines (like _FILE_OFFSET_BITS) might be
4572           redefined in the system headers. Fixes build
4573           on opensolaris (#340016).
4574
4575 2006-05-04  Wim Taymans  <wim@fluendo.com>
4576
4577         * docs/libs/gstreamer-libs-sections.txt:
4578         API: addition: gst_adapter_take_buffer()
4579         
4580         * libs/gst/base/gstadapter.c: (gst_adapter_push),
4581         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
4582         (gst_adapter_available_fast):
4583         * libs/gst/base/gstadapter.h:
4584         Prepare for optimizing the hell out of this hugely inefficient
4585         piece of code. 
4586         Added gst_adapter_take_buffer() so we can at least start thinking
4587         about subbuffering and merging.
4588         Added some comments.
4589
4590         * tests/check/Makefile.am:
4591         * tests/check/libs/adapter.c: (GST_START_TEST),
4592         (gst_adapter_suite), (main):
4593         Added GstAdapter check.
4594
4595 2006-05-04  Wim Taymans  <wim@fluendo.com>
4596
4597         * docs/design/part-overview.txt:
4598         Fix some typos, add blurb about buffer flags.
4599
4600 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4601
4602         * docs/libs/gstreamer-libs-sections.txt:
4603           make sure GstBaseTransformClass shows up in the docs
4604         * libs/gst/base/gstbasetransform.c:
4605         * libs/gst/base/gstbasetransform.h:
4606           move docs so gtk-doc picks it up now
4607
4608 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
4609
4610         * docs/libs/gstreamer-libs-sections.txt:
4611           add missing symbols to docs
4612
4613 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
4614
4615         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
4616           back out the newsegment handling change, see #340060 for ongoing
4617           discussion
4618
4619 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
4620
4621         * tools/gst-run.c: (get_candidates), (main):
4622           Fix wrong g_file_test() usage (see glib docs for why it doesn't
4623           work); fix typo in error message. Fixes #340079.
4624
4625 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4626
4627         * common/Makefile.am:
4628         * docs/Makefile.am:
4629         * docs/faq/Makefile.am:
4630         * docs/gst/Makefile.am:
4631         * docs/libs/Makefile.am:
4632         * docs/manual/Makefile.am:
4633         * docs/plugins/Makefile.am:
4634         * docs/pwg/Makefile.am:
4635         * docs/slides/Makefile.am:
4636         * docs/upload.mak:
4637         * common/upload.mak:
4638           move upload.mak to common
4639
4640 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4641
4642         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4643           add more asserts on refcounts
4644           do more cleanup at end of tests
4645           fix test leaks showing in FC5
4646
4647 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
4648
4649         * plugins/elements/gsttypefindelement.c:
4650         (gst_type_find_element_handle_event):
4651         reverted wrong change and reflowed code to avoid others falling into
4652         this trap
4653
4654 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
4655
4656         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
4657           fix changelog entry about last collectpads change,
4658           add notes about proper fix
4659
4660 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
4661
4662         * gst/gst.c:
4663         * gst/gstregistry.c: (gst_registry_scan_path_level),
4664         (gst_registry_scan_path):
4665         * gst/gstregistry.h:
4666           only write out registry if it has changed, fixes #338339
4667
4668 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
4669
4670         * gst/gstbin.c:
4671         * gst/gstpipeline.c:
4672         * plugins/elements/gstcapsfilter.c:
4673         * plugins/elements/gstfakesink.c:
4674         * plugins/elements/gstfakesrc.c:
4675         * plugins/elements/gstfdsink.c:
4676         * plugins/elements/gstfdsrc.c:
4677         * plugins/elements/gstfilesink.c:
4678         * plugins/elements/gstfilesrc.c:
4679         * plugins/elements/gstidentity.c:
4680         * plugins/elements/gstqueue.c:
4681         * plugins/elements/gsttee.c:
4682         * plugins/elements/gsttypefindelement.c:
4683         (gst_type_find_element_handle_event):
4684           make GstElementDetails const
4685
4686 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
4687
4688         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4689         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4690         (gst_collect_pads_is_collected), (gst_collect_pads_event):
4691           more detailed debug and formatting cleanup,
4692           forward newsegments to src-pad (so that e.g. adder not eats them)
4693
4694 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
4695
4696         * gst/gstutils.c: (gst_element_link_pads):
4697           cleanup double code
4698
4699 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
4700
4701         * libs/gst/controller/gstcontroller.c:
4702         (gst_controller_sync_values):
4703           some little tuning
4704         * tests/check/libs/controller.c: (GST_START_TEST),
4705         (gst_controller_suite):
4706           a new test for live value handling
4707
4708 2006-04-28  Wim Taymans  <wim@fluendo.com>
4709
4710         * gst/gstutils.c: (push_and_ref):
4711         Added some more docs.
4712         Fix refcount issue whith gst_element_found_tags() helper 
4713         function. Fixes #338335
4714
4715         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4716         Added testsuite for gst_element_found_tags().
4717
4718 2006-04-28  Michael Smith  <msmith@fluendo.com>
4719
4720         * gst/gstvalue.c: (gst_value_serialize_flags):
4721           Avoid NULL dereference when trying to serialize flags containing
4722           invalid values.
4723
4724 2006-04-28  Michael Smith  <msmith@fluendo.com>
4725
4726         * plugins/elements/gsttypefindelement.c:
4727         (gst_type_find_element_handle_event):
4728           If we get EOS before any data is accumulated, don't use
4729           uninitialised local variables.
4730
4731 2006-04-28  Michael Smith  <msmith@fluendo.com>
4732
4733         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
4734         (gst_dp_event_from_packet):
4735           Fixes in reading/writing events over GDP (not currently used?) - 
4736           dereferencing NULL events for unknown/invalid event types, memory
4737           leak, and change g_warning to GST_WARNING.
4738
4739 2006-04-28  Wim Taymans  <wim@fluendo.com>
4740
4741         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
4742         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
4743         (gst_base_sink_get_position), (gst_base_sink_change_state):
4744         When frame dropping is enabled, we should not ignore frames
4745         without a duration.
4746         Update some documentation.
4747
4748 2006-04-28  Wim Taymans  <wim@fluendo.com>
4749
4750         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4751         (gst_base_src_send_event), (gst_base_src_change_state):
4752         Documentation updates.
4753
4754 2006-04-28  Wim Taymans  <wim@fluendo.com>
4755
4756         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4757         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
4758         handle EAGAIN, EINTR and short writes correctly. Also clean
4759         up some error cases, avoid a deadlock on bad file descriptors and
4760         use GST_DEBUG_OBJECT.
4761         Fixes #339843
4762
4763 2006-04-28  Wim Taymans  <wim@fluendo.com>
4764
4765         * gst/gstvalue.c: (gst_value_serialize_buffer),
4766         (gst_value_deserialize_buffer):
4767         Don't try to serialize a GValue with a NULL buffer. 
4768         Fixes #339821.
4769
4770         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4771         Added check for serialisation of NULL buffers.
4772
4773 2006-04-28  Wim Taymans  <wim@fluendo.com>
4774
4775         * gst/gstminiobject.c: (gst_value_take_mini_object):
4776         Taking a NULL miniobject is valid, fix the case where
4777         we try to unref the NULL miniobject.
4778
4779 2006-04-28  Wim Taymans  <wim@fluendo.com>
4780
4781         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
4782
4783         * gst/gstbin.c: (gst_bin_handle_message_func):
4784         Update docs.
4785         Don't leak bin refcount when a state recalc is
4786         in progress and we delay another one #339808.
4787
4788 2006-04-28  Wim Taymans  <wim@fluendo.com>
4789
4790         * docs/design/part-TODO.txt:
4791         Mention QoS as an ongoing work item.
4792
4793         * docs/design/part-buffering.txt:
4794         New doc about buffering that needs to be fleshed out
4795         at some point.
4796
4797         * docs/design/part-qos.txt:
4798         More QoS policy for decoders/demuxers/transforms
4799
4800         * docs/design/part-trickmodes.txt:
4801         Small update.
4802
4803 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4804
4805         * configure.ac:
4806           back to HEAD
4807
4808 === release 0.10.5 ===
4809
4810 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
4811
4812         * configure.ac:
4813           releasing 0.10.5, "Fogo"
4814
4815 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4816
4817         patch by: Wim Taymans
4818
4819         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
4820         (gst_pad_configure_src), (gst_pad_push):
4821         * gst/gstpipeline.c: (gst_pipeline_init):
4822           Fix internal data flow errors.  Fixes #338711.
4823
4824 2006-04-12  Wim Taymans  <wim@fluendo.com>
4825
4826         * tests/check/gst/gstelement.c: (GST_START_TEST):
4827         Don't leak the factory.
4828
4829 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4830
4831         * configure.ac:
4832         * win32/common/config.h:
4833           prerelease
4834
4835 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
4836
4837         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4838         (gst_controller_unset_all):
4839           Free allocated GstTimedValues when freeing list nodes.
4840           Should fix leaks 'make check-valgrind' complains about.
4841
4842         * win32/common/libgstcontroller.def:
4843           Add gst_controller_unset_all.
4844
4845 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
4846
4847         * docs/libs/gstreamer-libs-sections.txt:
4848         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4849         (gst_controller_unset_all):
4850         * libs/gst/controller/gstcontroller.h:
4851         API: Added new method gst_controller_unset_all()
4852         fixed gst_controller_unset()
4853         * tests/check/libs/controller.c: (GST_START_TEST),
4854         (gst_controller_suite):
4855         Added two testcases for new and fixed method
4856
4857 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
4858
4859         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4860           MSG_DONTWAIT is not defined on Cygwin, so work
4861           around that (fixes #317048).
4862           
4863 2006-04-11  Wim Taymans  <wim@fluendo.com>
4864
4865         * gst/gstelementfactory.c: (gst_element_register),
4866         (gst_element_factory_create), (gst_element_factory_make):
4867         Some cleanups.
4868         Fixed a FIXME.
4869         Updated docs (Fixes #131079)
4870
4871         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4872         Small cleanups.
4873
4874         * tests/check/gst/gstelement.c: (GST_START_TEST),
4875         (gst_element_suite):
4876         Added testcase for elementfactory class field.
4877
4878 2006-04-10  Wim Taymans  <wim@fluendo.com>
4879
4880         * gst/gstsegment.c:
4881         Added some more docs.
4882
4883         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
4884         (gst_base_sink_reset_qos):
4885         Calculate more accurate rate values.
4886
4887 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
4888
4889         * gst/gst_private.h:
4890           add a new #ifdef to use __declspec(dllimport) only for
4891           other modules and not for gstreamer core
4892         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
4893           use gst_guint64_to_gdouble for conversion
4894         * win32/common/libgstreamer.def:
4895           add new exported functions
4896         * win32/vs6/gst_inspect.dsp:
4897         * win32/vs6/gst_launch.dsp:
4898         * win32/vs6/libgstbase.dsp:
4899         * win32/vs6/libgstcontroller.dsp:
4900         * win32/vs6/libgstcoreelements.dsp:
4901         * win32/vs6/libgstdataprotocol.dsp:
4902         * win32/vs6/libgstnet.dsp:
4903           update project files
4904
4905 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
4906
4907         * gst/gstbuffer.c: (gst_subbuffer_class_init):
4908         * gst/gstclock.c: (gst_clock_class_init):
4909         * gst/gstelement.c: (gst_element_class_init):
4910         * gst/gstindex.c: (gst_index_class_init):
4911         * gst/gstindexfactory.c: (gst_index_factory_class_init):
4912         * gst/gstobject.c: (gst_object_class_init),
4913         (gst_signal_object_class_init):
4914         * gst/gstpad.c: (gst_pad_class_init):
4915         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
4916         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
4917         * gst/gstregistry.c: (gst_registry_class_init):
4918         * gst/gstsystemclock.c: (gst_system_clock_class_init):
4919         * gst/gsttask.c: (gst_task_class_init):
4920         * gst/gstxml.c: (gst_xml_class_init):
4921         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4922         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4923         (gst_base_src_loop):
4924         * libs/gst/controller/gstcontroller.c:/
4925         (_gst_controller_class_init):
4926         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4927         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4928         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
4929         * tests/old/examples/plugins/example.c: (gst_example_class_init):
4930         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
4931         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
4932
4933 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
4934
4935         * gst/gstpad.c: (gst_pad_link):
4936           Must set peer pads before calling the link function, otherwise
4937           a task started from a link function might get a flow-not-linked
4938           result when trying to push because the other thread where the
4939           linking happens hasn't had a chance to set the peers yet. This
4940           might happen for example when a queue gets linked to a downstream
4941           element, as queue starts a streaming task when its source pad
4942           gets linked. Happens in real life when playing back flac/musepack
4943           files in playbin (#332390).
4944           
4945 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
4946
4947         * gst/gstindex.h:
4948         * gst/gstxml.h:
4949         * libs/gst/base/gstadapter.h:
4950         * libs/gst/base/gstbasesink.h:
4951         * libs/gst/base/gstbasesrc.h:
4952         * libs/gst/base/gstbasetransform.h:
4953         * libs/gst/base/gstcollectpads.h:
4954         * libs/gst/base/gstpushsrc.h:
4955         Fix broken GObject macros
4956
4957 2006-04-07  Wim Taymans  <wim@fluendo.com>
4958
4959         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4960         Initialize start and stop times, thanks valgrind.
4961
4962 2006-04-07  Wim Taymans  <wim@fluendo.com>
4963
4964         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4965         Be a bit nicer to badly behaving upstream elements that expect
4966         us to deal with non TIME segments and timestamps (such as fakesrc
4967         in the testsuite).
4968
4969 2006-04-07  Wim Taymans  <wim@fluendo.com>
4970
4971         * gst/gstbus.c:
4972         Small documentation clarification about the signal watch.
4973
4974         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4975         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4976         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4977         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
4978         (gst_base_sink_get_position_last),
4979         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
4980         Convert and store timestamps in stream time and running time, the
4981         raw timestamps are not useful, also document this better.
4982         Use different window sizes for good and bad QoS observations so
4983         we react to badness a little quicker.
4984         Keep track of the amount of rendered and dropped buffers.
4985         Send QoS timestamps in running time.
4986
4987         * libs/gst/base/gstbasetransform.c:
4988         (gst_base_transform_sink_eventfunc),
4989         (gst_base_transform_handle_buffer):
4990         Compare QoS timestamps against running time.
4991
4992 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
4993
4994         * gst/gstpad.c:
4995           Typo fixes in docs.
4996
4997 2006-04-06  Michael Smith  <msmith@fluendo.com>
4998
4999         * gst/gstpad.c: (gst_pad_set_property):
5000           Use g_value_get_object() instead of g_value_dup_gst_object(),
5001           to avoid double-reffing the pad template (which we then sink,
5002           so this worked previously if (and only if) the pad template
5003           was floating.
5004
5005         * gst/gstpadtemplate.c: (gst_pad_template_init),
5006         (gst_pad_template_pad_created):
5007           Never return floating references to pad templates, create
5008           them as initially-sunken.
5009
5010           Document an extra function (and make this stop sinking our
5011           pad template, since that is now guaranteed to do nothing,
5012           since we created it sunken).
5013
5014         * gst/gstghostpad.c:
5015           Fix docs typo.
5016
5017 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
5018
5019         * gst/gstinfo.c: (__gst_in_valgrind):
5020           Add some newlines.
5021
5022         * plugins/elements/gsttypefindelement.c:
5023         (gst_type_find_element_chain):
5024           Don't leak buffer caps.
5025
5026 2006-04-06  Michael Smith  <msmith@fluendo.com>
5027
5028         * gst/parse/grammar.y:
5029           Fix a leak in parse-launch for any source-or-sink named element 
5030           references used.
5031
5032         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
5033           Unref the pipeline if it exists after we've failed parsing.
5034
5035 2006-04-05  Michael Smith  <msmith@fluendo.com>
5036
5037         * gst/gstpipeline.c: (gst_pipeline_init):
5038           When we create a pipeline bus, initially create it in flushing mode.
5039           Fixes leaks in at least one test, and makes a new pipeline work the
5040           same as one that has gone to READY and then back to NULL.
5041
5042         * gst/gstelement.c:
5043           Typo fix in docs.
5044
5045 2006-04-05  Michael Smith  <msmith@fluendo.com>
5046
5047         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5048           Unref a pad we reffed.
5049         * tests/check/gst/gstutils.c: (GST_START_TEST):
5050           Unref bins
5051
5052 2006-04-05  Michael Smith  <msmith@fluendo.com>
5053
5054         * gst/gstquery.c: (gst_query_set_formats),
5055         (gst_query_set_formatsv):
5056           Fix leaking GValues in queries, as shown by valgrind/testsuite.
5057
5058 2006-04-05  Michael Smith  <msmith@fluendo.com>
5059
5060         * tests/check/generic/sinks.c: (GST_START_TEST):
5061           Fix a variety of memleaks in sinks check, which are only sometimes 
5062           shown by running the tests under valgrind (weird?).
5063
5064 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
5065
5066         * docs/version.entities.in:
5067           Fix the substituted entity name after thomas' changes on the
5068           weekend.
5069
5070 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5071
5072         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
5073         VALGRIND_PRINTF
5074         
5075 2006-04-05  Andy Wingo  <wingo@pobox.com>
5076
5077         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
5078
5079         * libs/gst/base/gstbasetransform.c
5080         (gst_base_transform_sink_eventfunc): When resetting our segment on
5081         FLUSH_STOP, also update the flag saying we haven't seen a
5082         newsegment.
5083
5084 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
5085
5086         Patch by: Paolo Borelli  <pborelli at katamail dot com>
5087
5088         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5089         (gst_plugin_check_license):
5090           minor clean-ups: G_DEFINE_TYPE already takes care of the
5091           parent_class stuff, no need to do it twice. Mark array of
5092           license strings as constant. (#337103)
5093           
5094 2006-04-04  Michael Smith  <msmith@fluendo.com>
5095
5096         * tools/gst-inspect.c: (print_element_list):
5097           Free the right plugin list; fixes a memory leak.
5098
5099 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
5100
5101         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
5102
5103         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
5104           Don't error out on empty buffers (#336945).
5105           
5106 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
5107
5108         * docs/libs/gstreamer-libs-sections.txt:
5109         * gst/gsttaglist.c:
5110         * libs/gst/base/gstbasesink.c:
5111         * libs/gst/base/gstbasesink.h:
5112         * libs/gst/base/gstbasesrc.c:
5113         * libs/gst/base/gstbasesrc.h:
5114           Documentation updates. Make BaseSink and BaseSrc docs contain the
5115           class structure so that people can actually see the prototypes for
5116           virtual functions they're supposed to be overriding.
5117
5118 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
5119
5120         * plugins/elements/gsttypefindelement.c:
5121         (gst_type_find_element_chain):
5122           More debug info; when skipping typefinding, send cached
5123           events in all cases.
5124
5125 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5126
5127         * configure.ac:
5128           use new AS_VERSION and AS_NANO macros
5129         * gst/gst-i18n-lib.h:
5130         * gst/gst.c:
5131         * gst/gsterror.c:
5132         * gst/gstversion.h.in:
5133         * win32/common/config.h:
5134         * win32/common/config.h.in:
5135           update accordingly
5136
5137 2006-03-31  Michael Smith  <msmith@fluendo.com>
5138
5139         * plugins/elements/gsttypefindelement.c:
5140         (gst_type_find_element_chain):
5141           Do not typefind content if the buffers already have caps.
5142           Neccesary for icydemux (#333657), and the right thing to do anyway.
5143
5144 2006-03-30  Wim Taymans  <wim@fluendo.com>
5145
5146         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5147         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
5148         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
5149         (gst_base_sink_record_qos_observation),
5150         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
5151         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
5152         (gst_base_sink_change_state):
5153         More QoS measurements as described in the design doc.
5154         Get rid of ringbuffer with observations, running average is
5155         more simple and equally good.
5156         Calculates valid proportion now.
5157         Added beginning of flood measurement.
5158
5159 2006-03-29  Wim Taymans  <wim@fluendo.com>
5160
5161         * docs/design/part-qos.txt:
5162         * gst/gstclock.c:
5163         Small documentation updates and additions.
5164
5165 2006-03-29  Wim Taymans  <wim@fluendo.com>
5166
5167         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
5168         (gst_base_src_send_event), (gst_base_src_loop),
5169         (gst_base_src_change_state):
5170         Perform the EOS logic when we reach the segment stop position.
5171         Fix compilation on gcc4.1
5172
5173 2006-03-29  Wim Taymans  <wim@fluendo.com>
5174
5175         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
5176
5177         * plugins/elements/gstqueue.c: (gst_queue_init),
5178         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
5179         (gst_queue_set_property):
5180         * plugins/elements/gstqueue.h:
5181         In queue, when EOS is received, if minimum threshold > max_size -
5182         current_level, there is chance that queue blocks forever in conditional
5183         item del wait. This is because the queue is not emptied completely due
5184         to minimum threshold.  Here is another approach. Instead of setting
5185         cur_levels to max in EOS, just zero all minimum threshold levels. This
5186         should make sure that queue gives out all data. When going to READY
5187         (stop) state, just reset the original minimum threshold levels.
5188         Fixes #336336.
5189
5190 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
5191
5192         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
5193         (gst_type_find_element_handle_event),
5194         (gst_type_find_element_send_cached_events),
5195         (gst_type_find_element_change_state):
5196         * plugins/elements/gsttypefindelement.h:
5197           When typefinding is done in push mode, we should cache
5198           events we receive during typefinding instead of just
5199           dropping them (e.g. newsegment, custom events from
5200           dvdreadsrc etc.) and then send them out once we've
5201           determined the type of the stream (and decodebin
5202           has had a chance to plug in a decoder/demuxer).
5203           
5204 2006-03-27  Wim Taymans  <wim@fluendo.com>
5205
5206         * docs/design/part-qos.txt:
5207         First QoS ideas.
5208
5209 2006-03-27  Wim Taymans  <wim@fluendo.com>
5210
5211         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
5212
5213         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
5214         (gst_base_src_send_event), (gst_base_src_change_state):
5215         Handle element seek correctly when we are streaming.
5216         Fixes #326998.
5217
5218 2006-03-24  Michael Smith  <msmith@fluendo.com>
5219
5220         * docs/faq/gst-uninstalled:
5221           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
5222           allow you to correctly run intalled applications built against old 
5223           core, using plugins that require updated core (e.g. running
5224           installed totem against a full uninstalled gstreamer stack)
5225
5226 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
5227
5228         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
5229         more debug details
5230
5231 2006-03-24  Wim Taymans  <wim@fluendo.com>
5232
5233         * docs/gst/gstreamer-sections.txt:
5234         Rearrange the order of the methods so that related methods
5235         are grouped together in sections.
5236
5237 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
5238
5239         * gst/gstelement.c:
5240           Little clarification in the docs
5241
5242 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
5243
5244         * docs/README:
5245         formatting fix
5246         * plugins/elements/gstidentity.c:
5247         * plugins/elements/gstqueue.c:
5248         * plugins/elements/gsttee.c:
5249         * plugins/elements/gsttypefindelement.c:
5250         GST_ELEMENT_DETAILS formatting
5251
5252 2006-03-24  Wim Taymans  <wim@fluendo.com>
5253
5254         * libs/gst/base/gstbasesink.h:
5255         Only add fields, not insert or we break ABI.
5256
5257 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
5258
5259         * win32/common/libgstbase.def:
5260         * win32/common/libgstreamer.def:
5261           Update, add recently added functions.
5262
5263 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
5264
5265         * docs/gst/gstreamer-sections.txt:
5266         * gst/gstutils.c: (gst_pad_query_peer_position),
5267         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
5268         * gst/gstutils.h:
5269           API: add some new utility functions:
5270            - gst_pad_query_peer_position()
5271            - gst_pad_query_peer_duration()
5272            - gst_pad_query_peer_convert()
5273           
5274 2006-03-23  Wim Taymans  <wim@fluendo.com>
5275
5276         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5277         (gst_base_sink_init), (gst_base_sink_finalize),
5278         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
5279         (gst_base_sink_set_property), (gst_base_sink_get_property),
5280         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
5281         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
5282         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
5283         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
5284         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
5285         (gst_base_sink_preroll_object), (gst_base_sink_event),
5286         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
5287         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5288         (gst_base_sink_query), (gst_base_sink_change_state):
5289         Decouple max-lateness and the fact that QoS messages are generated
5290         with a new property (qos).
5291         added API: GstBaseSink::async_play()
5292         Add vmethod so subclasses can be notified of ASYNC playing
5293         state changes.
5294         Collect timestamp start and stop to report better current
5295         position in EOS/PLAYING/PAUSED/READY/NULL.
5296         Refactor QoS/frame dropping and other measurements.
5297         API: GstBaseSrc::qos
5298         Fixes #326311
5299
5300         * libs/gst/base/gstbasesink.h:
5301         Added Private struct.
5302         API: gst_base_sink_set_qos_enabled()
5303         API: gst_base_sink_is_qos_enabled()
5304
5305 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
5306
5307         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
5308           If compiling against GLib-2.8 or newer, try to read the
5309           registry file using GMappedFile first before falling back
5310           to fopen() + fread() (#332151).
5311
5312 2006-03-22  Wim Taymans  <wim@fluendo.com>
5313
5314         * gst/gstinfo.c: (gst_debug_set_active),
5315         (gst_debug_category_set_threshold):
5316         Disable debugging unless explicitly activated.
5317         Fixes #335480.
5318
5319 2006-03-22  Wim Taymans  <wim@fluendo.com>
5320
5321         * gst/gstelement.c: (gst_element_set_locked_state),
5322         (gst_element_dispose):
5323         Cleanup the error case.
5324
5325         * gst/gstobject.c: (gst_object_dispose):
5326         print a critical when some object was disposed with
5327         a parent, also revive the object since it might
5328         crash the parent.
5329
5330 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
5331
5332         * tools/gst-launch.1.in:
5333           Fix another typo.
5334
5335 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
5336
5337         * configure.ac:
5338         * tests/check/Makefile.am:
5339           disable some tests when we don't have a registry
5340         * tests/check/gst/gstutils.c: (gst_utils_suite):
5341           don't build the part that needs parsing
5342
5343 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
5344
5345         * gst/Makefile.am
5346         * tests/examples/Makefile.am:
5347           fix --disable-parse build
5348
5349 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
5350
5351         * tools/gst-feedback.1.in:
5352           Fix typo: s/feeback/feedback/ (#133494).
5353
5354 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
5355
5356         * tools/Makefile.am:
5357         * tools/gst-launch.1.in:
5358           Add FILES section and correct entry about GST_REGISTRY_PATH
5359           environment variable (#133495; #133494).
5360
5361 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
5362
5363         * tools/Makefile.am:
5364         * tools/gst-md5sum.1.in:
5365         * tools/gst-md5sum.c:
5366           Remove gst-md5sum and man page (the md5sink element
5367           required was removed ages ago)
5368
5369 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
5370
5371         * gst/gststructure.c: (gst_structure_id_set_value):
5372           Make sure that string fields in structures/taglists
5373           contain valid UTF-8 - we don't want to pass rubbish to
5374           applications because of a buggy plugin (cp. #334167).
5375
5376 2006-03-21  Edward Hervey  <edward@fluendo.com>
5377
5378         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
5379         (gst_bin_handle_message_func):
5380         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
5381         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
5382         (gst_element_set_bus_func):
5383         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
5384         * gst/gstminiobject.c: (gst_value_set_mini_object),
5385         (gst_value_take_mini_object):
5386         * gst/gstpad.c: (gst_pad_set_pad_template):
5387         * gst/gstpipeline.c: (gst_pipeline_dispose),
5388         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
5389         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
5390         (gst_collect_pads_chain):
5391         * libs/gst/net/gstnettimeprovider.c:
5392         (gst_net_time_provider_set_property):
5393         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
5394         It's in fact all issues with gst_*object_replace().
5395
5396 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
5397
5398         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
5399         
5400         * pkgconfig/gstreamer-check-uninstalled.pc.in:
5401         * pkgconfig/gstreamer-check.pc.in:
5402           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
5403
5404 2006-03-21  Edward Hervey  <edward@fluendo.com>
5405
5406         * gst/gstbuffer.h:
5407         * gst/gstevent.h:
5408         * gst/gstmessage.h:
5409         gst_[buffer|event|message]_ref() macros are replaced by a static
5410         inline functions because gcc-4.1 will about if the return value
5411         isn't used.
5412         * tests/check/gst/gstevent.c: (event_probe):
5413         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
5414
5415 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
5416
5417         * gst/gstutils.h:
5418         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
5419         the type' case. (Closes: #335195 for now). In the future, when we
5420         depend on GLib 2.10, we could also intern the type name using
5421         g_intern_static_string()
5422
5423 2006-03-20  Wim Taymans  <wim@fluendo.com>
5424
5425         * gst/gstbin.c: (gst_bin_handle_message_func),
5426         (bin_query_max_init), (bin_query_position_fold),
5427         (bin_query_position_done), (gst_bin_query):
5428         Position query should also take max of all streams.
5429
5430 2006-03-20  Wim Taymans  <wim@fluendo.com>
5431
5432         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
5433         (gst_fake_src_finalize):
5434         Fix leaks in fakesrc.
5435
5436         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5437         Fix leaks in the testcase.
5438
5439 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
5440
5441         * gst/gst_private.h:
5442           add win32 specific import decoration(__declspec(dllimport)) 
5443           for all extern GstDebugCategory * variables
5444         * win32/common/libgstbase.def:
5445         * win32/common/libgstcontroller.def:
5446         * win32/common/libgstreamer.def:
5447           Add some exports, remove empty lines
5448         * win32/common/libgstdataprotocol.def:
5449         * win32/common/libgstdataprotocol.dsp:
5450         * win32/common/libgstnet.def:
5451         * win32/common/libgstnet.dsp:
5452           new project files and exportation files added
5453         
5454 2006-03-19  Wim Taymans  <wim@fluendo.com>
5455
5456         * tests/check/libs/basesrc.c: (eos_event_counter):
5457         Use proper return value for probe.
5458
5459 2006-03-17  Wim Taymans  <wim@fluendo.com>
5460
5461         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
5462         (gst_pad_push):
5463         Don't leak buffers, caps and pads on negotiation errors.
5464
5465 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
5466
5467         * docs/faq/cvs.xml:
5468         * docs/faq/dependencies.xml:
5469         * docs/faq/developing.xml:
5470         * docs/faq/faq.xml:
5471         * docs/faq/general.xml:
5472         * docs/faq/getting.xml:
5473         * docs/faq/legal.xml:
5474         * docs/faq/troubleshooting.xml:
5475         * docs/faq/using.xml:
5476         Faq review and update.
5477
5478 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
5479
5480         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
5481         (gst_pad_push):
5482         Don't pound the cpu to pieces by checking get_caps when accept_caps
5483         is called with the same caps as the pad already has.
5484         Use GST_DEBUG_OBJECT when outputting caps change information.
5485
5486 2006-03-15  Wim Taymans  <wim@fluendo.com>
5487
5488         * gst/gstclock.c: (gst_clock_class_init):
5489         Fix docs.
5490
5491 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
5492
5493         * gst/gstbuffer.h:
5494         Documentation fix.
5495
5496         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
5497         (gst_pad_accept_caps), (gst_pad_configure_sink),
5498         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
5499         Make the default acceptcaps behaviour be to check the requested 
5500         caps against the gst_pad_get_caps output. 
5501
5502         Ensure that gst_pad_accept_caps is used to check caps when a pad
5503         doesn't have a setcaps function, so that pads automatically refuse 
5504         caps that they don't allow in their pad template. (Fixes #332986)
5505
5506         When a buffer with attached caps is pushed, ensure that the source 
5507         pad receives those caps even if the element didn't call
5508         gst_pad_set_caps first.
5509
5510 2006-03-15  Wim Taymans  <wim@fluendo.com>
5511
5512         * libs/gst/base/gstadapter.c:
5513         Add some docs.
5514
5515 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
5516
5517         * win32/common/libgstbase.def:
5518         * win32/common/libgstcontroller.def:
5519         * win32/common/libgstreamer.def:
5520           Add a whole bunch of missing functions (#334434).
5521
5522 2006-03-14  Wim Taymans  <wim@fluendo.com>
5523
5524         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
5525         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5526         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
5527         Better debug info when we receive a segment event.
5528         Reorganize a bit so we can pass the get_times() results around.
5529         Use the segment format when calculating the running time.
5530         Don't do QoS is sync is disabled or we have no clock or the
5531         element does not want us to sync to the clock.
5532         Don't drop buffers if QoS is disabled for now.
5533
5534 2006-03-14  Wim Taymans  <wim@fluendo.com>
5535
5536         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
5537         Marked the stats property as unimplemented so people don't get
5538         wild ideas.
5539         Add debug message when regression goes wrong.
5540         Added some more docs.
5541
5542 2006-03-14  Wim Taymans  <wim@fluendo.com>
5543
5544         * gst/gstsegment.c: (gst_segment_to_stream_time):
5545         Return correct return type in case of errors.
5546
5547 2006-03-14  Wim Taymans  <wim@fluendo.com>
5548
5549         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
5550           Don't segfault on invalid formats.
5551
5552 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
5553
5554         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5555           Can't use gst_segment_to_running_time() when the segment
5556           is not in GST_TIME_FORMAT (like with filesink, for example).
5557           Stops flac encoding pipelines from spewing critical warnings
5558           at EOS (#331248).
5559           
5560 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
5561
5562         * gst/gstpipeline.c: (gst_pipeline_class_init):
5563           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
5564
5565         * plugins/elements/gsttypefindelement.c:
5566         (gst_type_find_element_handle_event):
5567           Don't try to typefind empty streams.
5568
5569 2006-03-14  Wim Taymans  <wim@fluendo.com>
5570
5571         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5572         (gst_base_sink_do_qos):
5573         Separate QoS calculation.
5574         Only drop buffers when lateness is bigger than the 
5575         duration of the buffer.
5576
5577 2006-03-13  Wim Taymans  <wim@fluendo.com>
5578
5579         * gst/gstpipeline.c: (gst_pipeline_set_property),
5580         (gst_pipeline_get_property), (do_pipeline_seek),
5581         (gst_pipeline_change_state), (gst_pipeline_set_delay),
5582         (gst_pipeline_get_delay):
5583         Don't deadlock when reading properties.
5584
5585 2006-03-13  Wim Taymans  <wim@fluendo.com>
5586
5587         * libs/gst/base/gstbasetransform.c:
5588         (gst_base_transform_class_init), (gst_base_transform_init),
5589         (gst_base_transform_sink_event),
5590         (gst_base_transform_sink_eventfunc),
5591         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
5592         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5593         (gst_base_transform_set_property),
5594         (gst_base_transform_get_property),
5595         (gst_base_transform_change_state), (gst_base_transform_update_qos),
5596         (gst_base_transform_set_qos_enabled),
5597         (gst_base_transform_is_qos_enabled):
5598         * libs/gst/base/gstbasetransform.h:
5599         Make basetransform virtual method for src events too.
5600         Handle QOS in basetransform.
5601         API: gst_base_transform_update_qos()
5602         API: gst_base_transform_set_qos_enabled()
5603         API: gst_base_transform_is_qos_enabled()
5604
5605 2006-03-13  Wim Taymans  <wim@fluendo.com>
5606
5607         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5608         (gst_base_sink_do_sync):
5609         Small cleanups.
5610         Use QOS debug category.
5611
5612 2006-03-13  Wim Taymans  <wim@fluendo.com>
5613
5614         * plugins/elements/gstqueue.c:
5615         Very small doc update.
5616
5617 2006-03-13  Wim Taymans  <wim@fluendo.com>
5618
5619         * gst/gst_private.h:
5620         * gst/gstinfo.c: (_gst_debug_init):
5621         Added QOS debug category
5622
5623 2006-03-13  Wim Taymans  <wim@fluendo.com>
5624
5625         * docs/gst/gstreamer-sections.txt:
5626         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
5627         * gst/gstbin.h:
5628         * gst/gstbus.c: (gst_bus_class_init):
5629         * gst/gstbus.h:
5630         * gst/gstclock.c:
5631         * gst/gstelement.c: (gst_element_set_locked_state):
5632         * gst/gstsegment.c:
5633         Documentation updates.
5634
5635         * gst/gstpipeline.c: (gst_pipeline_get_type),
5636         (gst_pipeline_class_init), (gst_pipeline_init),
5637         (gst_pipeline_dispose), (gst_pipeline_set_property),
5638         (gst_pipeline_get_property), (do_pipeline_seek),
5639         (gst_pipeline_send_event), (gst_pipeline_change_state),
5640         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
5641         (gst_pipeline_get_delay):
5642         * gst/gstpipeline.h:
5643         Added methods for setting the delay.
5644         API: gst_pipeline_set_delay()
5645         API: gst_pipeline_get_delay()
5646         Add pipeline debug category
5647         Various cleanups.
5648         Updated docs.
5649         Don't reset stream time when seek failed.
5650
5651 2006-03-13  Wim Taymans  <wim@fluendo.com>
5652
5653         * docs/design/draft-klass.txt:
5654         * docs/design/part-clocks.txt:
5655         * docs/design/part-events.txt:
5656         * docs/design/part-gstbin.txt:
5657         * docs/design/part-gstpipeline.txt:
5658         * docs/design/part-messages.txt:
5659         * docs/design/part-negotiation.txt:
5660         * docs/design/part-overview.txt:
5661         * docs/design/part-preroll.txt:
5662         * docs/design/part-seeking.txt:
5663         * docs/design/part-states.txt:
5664         * docs/design/part-streams.txt:
5665         Documentation updates.
5666
5667 2006-03-12  Julien MOUTTE  <julien@moutte.net>
5668
5669         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
5670         us to leak strings...
5671
5672 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5673
5674         * libs/gst/net/gstnettimeprovider.c:
5675           fix docs
5676         * win32/common/config.h:
5677           update
5678
5679 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
5680
5681         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
5682
5683         * configure.ac:
5684           Don't check for libgnomeui (leftover from old examples
5685           that aren't built or disted any longer) (#334303).
5686           
5687 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
5688
5689         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
5690         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
5691           Emit RESOURCE_NO_SPACE_LEFT error here as well when
5692           there's no space left on the device.
5693
5694 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
5695
5696         * gst/gstclock.h:
5697           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
5698           to cast the input to GstClockTime before comparing with
5699           another GstClockTime value.
5700
5701 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5702
5703         * configure.ac:
5704           back to trunk
5705
5706 === release 0.10.4 ===
5707
5708 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
5709
5710         * configure.ac:
5711           releasing 0.10.4, "Light"
5712
5713 2006-03-10  Michael Smith  <msmith@fluendo.com>
5714
5715         * libs/gst/dataprotocol/dataprotocol.c:
5716           Fix docs for dataprocotol to not get the return types completely
5717           wrong for a few functions.
5718
5719 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
5720
5721         * docs/gst/gstreamer-sections.txt:
5722         * gst/gstpipeline.c: (gst_pipeline_class_init),
5723         (gst_pipeline_init), (gst_pipeline_set_property),
5724         (gst_pipeline_get_property), (gst_pipeline_change_state),
5725         (gst_pipeline_set_auto_flush_bus),
5726         (gst_pipeline_get_auto_flush_bus):
5727         * gst/gstpipeline.h:
5728           Add new API: gst_pipeline_set_auto_flush_bus() and
5729           gst_pipeline_get_auto_flush_bus() to disable automatic
5730           flushing of the pipeline's GstBus when going from READY
5731           to NULL state (#332045).
5732
5733 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
5734
5735         * docs/gst/gstreamer-sections.txt:
5736         * gst/gsturi.c: (gst_uri_has_protocol):
5737         * gst/gsturi.h:
5738            Add new API: gst_uri_has_protocol() (#333779).
5739
5740 2006-03-09  Wim Taymans  <wim@fluendo.com>
5741
5742         * gst/gstclock.c: (gst_clock_entry_new),
5743         (gst_clock_id_compare_func), (gst_clock_id_wait),
5744         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
5745         (gst_clock_init), (gst_clock_get_internal_time),
5746         (gst_clock_set_master), (do_linear_regression),
5747         (gst_clock_add_observation), (gst_clock_set_property):
5748         * gst/gstclock.h:
5749         Review docs.
5750         Small cleanups.
5751         Fix a possible segfault when the window-size is made smaller.
5752         Calculate jitter before performing the clock wait. Ideally
5753         the clock implementation should calculate jitter but we need
5754         API breakage for that.
5755
5756         * gst/gstsystemclock.c: (gst_system_clock_init):
5757         Docs review.
5758         
5759         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
5760         Remove leftover else
5761
5762         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5763         (gst_systemclock_suite):
5764         Added check to test GST_CLOCK_DIFF.
5765
5766 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
5767
5768         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
5769         (gst_type_find_helper_get_range):
5770           If we are provided with the size, we should implement
5771           GstTypeFind::get_length, so that typefind functions who
5772           want to can actually peek at the middle of a file.
5773
5774 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
5775
5776         * docs/manual/advanced-dataaccess.xml:
5777           Add some very very basic error checking.
5778
5779         * docs/pwg/appendix-checklist.xml:
5780           Some updates to the list of things to check when writing an element.
5781
5782 2006-03-08  Wim Taymans  <wim@fluendo.com>
5783
5784         * docs/design/part-element-transform.txt:
5785         Added some docs about the design of tranform elements.
5786
5787         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5788         (gst_base_src_loop), (gst_base_src_change_state):
5789         Mark buffers with the DISCONT flag.
5790
5791 2006-03-08  Michael Smith  <msmith@fluendo.com>
5792
5793         * gst/gstregistry.h:
5794         * gst/gstregistryxml.c: (gst_registry_save),
5795         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
5796         (gst_registry_xml_save_pad_template),
5797         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
5798         (gst_registry_xml_write_cache):
5799           Rewrite registry-saving to avoid race conditions and check for
5800           failed writes.
5801
5802 2006-03-08  Wim Taymans  <wim@fluendo.com>
5803
5804         * libs/gst/base/gstbasetransform.c:
5805         (gst_base_transform_transform_caps),
5806         (gst_base_transform_transform_size),
5807         (gst_base_transform_prepare_output_buffer),
5808         (gst_base_transform_get_unit_size),
5809         (gst_base_transform_buffer_alloc),
5810         (gst_base_transform_handle_buffer),
5811         (gst_base_transform_change_state):
5812         Cleanups, separate normal flow from errors, add sensible
5813         DEBUG lines.
5814         Don't try to renegotiate when allocating an output buffer.
5815         Also copy DISCONT buffer flag when copying a buffer.
5816         Reset the transform after we finish streaming, not during.
5817
5818 2006-03-08  Wim Taymans  <wim@fluendo.com>
5819
5820         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
5821         Use last buffer timestamp in qos message.
5822
5823 2006-03-07  Wim Taymans  <wim@fluendo.com>
5824
5825         Patch by: Christophe Fergeau
5826
5827         * docs/pwg/advanced-tagging.xml:
5828         * docs/pwg/building-pads.xml:
5829           fixes #333416
5830
5831 2006-03-07  Wim Taymans  <wim@fluendo.com>
5832
5833         * docs/libs/gstreamer-libs-sections.txt:
5834         Added basesink new methods.
5835
5836         * gst/gstevent.c:
5837         * gst/gstevent.h:
5838         Docs updates. Flesh out the QoS docs.
5839
5840         * libs/gst/base/gstadapter.c:
5841         Small doc clarification about ownership and flushing.
5842
5843         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
5844         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5845         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
5846         (gst_base_sink_get_property), (gst_base_sink_do_sync):
5847         * libs/gst/base/gstbasesink.h:
5848         API additions: 
5849         Added new methods to allow subclass to control max-lateness 
5850         and sync.
5851         Generate very basic QoS events based on last sync observation.
5852         Updated docs, fix typo, added some QoS blurb.
5853
5854         * libs/gst/base/gstbasesrc.c:
5855         Remove obsolete _get_state() calls from docs.
5856
5857 2006-03-07  Wim Taymans  <wim@fluendo.com>
5858
5859         * docs/libs/gstreamer-libs-sections.txt:
5860         * libs/gst/base/gstbasetransform.h:
5861         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
5862         Fix docs for GstBaseSrc.
5863
5864 2006-03-07  Wim Taymans  <wim@fluendo.com>
5865
5866         * docs/gst/gstreamer-sections.txt:
5867         * gst/gstbuffer.h:
5868         * gst/gstvalue.c:
5869         * libs/gst/base/gstbasetransform.h:
5870         Small documentation fixes.
5871
5872 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
5873
5874         * gst/gstvalue.c:
5875           Document thread-unsafety of gst_value_register_foo_func()
5876           when used at the same time as gst_value_foo() (#322628).
5877
5878 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
5879
5880         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
5881         (gst_push_src_check_get_range):
5882           Push sources don't support pull mode by default.
5883
5884 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
5885
5886         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5887         (gst_base_src_init), (gst_base_src_pad_check_get_range),
5888         (gst_base_src_default_check_get_range):
5889         * libs/gst/base/gstbasesrc.h:
5890           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
5891           provide default implementation, and rename
5892           gst_base_src_check_get_range() to
5893           gst_base_src_pad_check_get_range() for clarity.
5894
5895 2006-03-06  Wim Taymans  <wim@fluendo.com>
5896
5897         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
5898         Make property overridable.
5899
5900 2006-03-06  Wim Taymans  <wim@fluendo.com>
5901
5902         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5903         (gst_base_sink_init), (gst_base_sink_set_property),
5904         (gst_base_sink_get_property), (gst_base_sink_do_sync):
5905         * libs/gst/base/gstbasesink.h:
5906         API addition: Make max-lateness a property.
5907
5908 2006-03-06  Wim Taymans  <wim@fluendo.com>
5909
5910         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
5911         (gst_base_sink_do_sync), (gst_base_sink_render_object):
5912         Don't ever draw a frame that is >10ms late.
5913
5914 2006-03-06  Michael Smith  <msmith@fluendo.com>
5915
5916         * gst/gstmessage.c: (_gst_message_copy):
5917           When copying a message, set the parent_refcount of the enclosed
5918           structure to point at the copy, not the original message.
5919
5920 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
5921
5922         Patch by: Christophe Fergeau
5923
5924         * gst/gstutils.h:
5925           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
5926           usable in c++ code (#333417)
5927
5928 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5929
5930         * gst/gstclock.h:
5931           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
5932
5933 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
5934
5935         * libs/gst/base/gstbasetransform.c:
5936         (gst_base_transform_transform_caps):
5937           Make sure caps are writable before passing them to
5938           gst_caps_append().
5939
5940 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
5941
5942         * gst/gsterror.h:
5943           Fix some minor docs errors.
5944
5945 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
5946
5947           Patch by: Ross Burton <ross at burtonini dot com>
5948
5949         * gst/gsterror.c: (_gst_resource_errors_init):
5950         * gst/gsterror.h:
5951           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
5952
5953 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
5954
5955         * gst/gst.c:
5956         Add a check and output a g_warning when GStreamer is built
5957         against GLib 2.6 but running against 2.8 or higher, and vice 
5958         versa. (Closes: #323542)
5959
5960 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
5961
5962         * gst/parse/parse.l:
5963           Commit patch for parse_launch syntax from #331255. Removes 
5964           support for quoted strings and mimetypes when writing filtered 
5965           caps. See the bug report for more details - I'm pretty sure this
5966           obscure feature is not in use by _anyone_ anywhere.
5967
5968           With this simple change, the size of the gstreamer.so here 
5969           drops from 2193KB to 1565KB.
5970
5971 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
5972
5973         * plugins/elements/gsttypefindelement.h:
5974         * plugins/elements/gsttypefindelement.c:
5975         (gst_type_find_element_src_event), (start_typefinding),
5976         (stop_typefinding), (gst_type_find_element_handle_event),
5977         (gst_type_find_element_chain),
5978         (gst_type_find_element_chain_do_typefinding):
5979           Use gst_type_find_helper_for_buffer() for chain-based
5980           typefinding.
5981
5982 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
5983
5984         * plugins/elements/gsttypefindelement.c:
5985         (gst_type_find_element_class_init),
5986         (gst_type_find_element_set_property),
5987         (gst_type_find_element_get_property):
5988           Deprecate "maximum" property (not only was it only taken into
5989           account for typefinding in push-mode anyway, it also was never
5990           actually possible to set it in the first place because the
5991           property was registered with the numeric property ID for the
5992           "minimum" property). Register "maximum" property correctly,
5993           for the sake of future copy'n'pasters. Remove some cruft
5994           from property get/set functions.
5995
5996 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
5997
5998         * plugins/elements/gsttypefindelement.c:
5999         (gst_type_find_element_activate):
6000           Use gst_type_find_helper_get_range() here, so we
6001           can honour the "minimum" property and also emit
6002           the signal with the correct probability of the found caps.
6003
6004 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
6005
6006         * docs/libs/gstreamer-libs-sections.txt:
6007         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
6008         (helper_find_suggest), (gst_type_find_helper_get_range),
6009         (gst_type_find_helper):
6010         * libs/gst/base/gsttypefindhelper.h:
6011           New API: gst_type_find_helper_get_range() (#333042).
6012
6013 2006-03-02  Michael Smith  <msmith@fluendo.com>
6014
6015         * gst/gstregistryxml.c: (load_feature):
6016           Asserting on a failure to read part of the registry is Not Cool.
6017           Just log a warning and return NULL (which is already handled)
6018
6019 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
6020
6021         * win32/common/libgstbase.def:
6022           added export of gst_type_find_helper_for_buffer
6023         * win32/common/libgstbase.def:
6024           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
6025           gst_ghost_pad_get_target
6026
6027 2006-02-28  Wim Taymans  <wim@fluendo.com>
6028
6029         * docs/design/draft-klass.txt:
6030         We use Filter now.
6031         Added Connector to mark elements that are only used to
6032         allow pipeline connections.
6033         Moved Debug to extra feature since most of them are 
6034         functionally something else.
6035
6036 2006-02-28  Wim Taymans  <wim@fluendo.com>
6037
6038         * docs/design/draft-klass.txt:
6039         Some updates and clarifications.
6040
6041 2006-02-28  Wim Taymans  <wim@fluendo.com>
6042
6043         * docs/design/draft-klass.txt:
6044         Proposal for klass field values.
6045
6046         * docs/design/part-streams.txt:
6047         Start of a doc describing stream anatomy.
6048
6049 2006-02-28  Wim Taymans  <wim@fluendo.com>
6050
6051         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
6052         Help the compiler a bit with type registration.
6053         Use existing forward cod path instead of duplicating it when 
6054         handling a message.
6055         
6056         * gst/gstbus.c: (gst_bus_get_type):
6057         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
6058         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
6059         * gst/gstclock.c: (gst_clock_get_type):
6060         * gst/gstelement.c: (gst_element_get_type),
6061         * gst/gstelementfactory.c: (gst_element_factory_get_type):
6062         * gst/gstindexfactory.c: (gst_index_factory_get_type):
6063         * gst/gstminiobject.c: (gst_mini_object_get_type):
6064         * gst/gstpad.c: (gst_pad_get_type):
6065         * gst/gstsegment.c: (gst_segment_get_type):
6066         * gst/gststructure.c: (gst_structure_get_type):
6067         * gst/gstsystemclock.c: (gst_system_clock_get_type):
6068         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
6069         * gst/gstvalue.c:
6070         Help compiler with type registration.
6071
6072         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6073         Small doc update.
6074
6075 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
6076
6077         * plugins/elements/gsttypefindelement.c:
6078         (gst_type_find_element_handle_event):
6079           When we get an EOS event and have not found a type yet
6080           (most likely because we had not yet accumulated
6081           TYPE_FIND_MIN_SIZE of data yet), try to determine the
6082           type given the data we have so far. Fixes typefinding
6083           for very short streams again, most notably quicktime
6084           redirections as used on Apple's trailer site (#331701).
6085
6086 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
6087
6088         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
6089         (gst_type_find_helper):
6090           Try typefinding factories with the highest rank first.
6091
6092 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
6093
6094         * docs/libs/gstreamer-libs-docs.sgml:
6095         * docs/libs/gstreamer-libs-sections.txt:
6096         * libs/gst/base/gsttypefindhelper.c:
6097           Add section for typefind helper and add documentation
6098           for the old and the new function.
6099
6100 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
6101
6102         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
6103         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
6104         (gst_type_find_helper_for_buffer):
6105         * libs/gst/base/gsttypefindhelper.h:
6106           New API: gst_type_find_helper_for_buffer() (#332723).
6107           
6108 2006-02-27  Michael Smith  <msmith@fluendo.com>
6109
6110         Patch by: Loïc Minier
6111
6112         * configure.ac:
6113         * docs/Makefile.am:
6114         * docs/slides/Makefile.am:
6115           prevent CVS directories getting disted.
6116
6117 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
6118
6119         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
6120           Use the REFCOUNTING category for caps refcounting.
6121           
6122 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
6123
6124         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6125           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
6126
6127 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
6128
6129         * plugins/elements/gsttypefindelement.c:
6130         (gst_type_find_element_activate):
6131           Use gst_pad_check_pull_range() before _activate_pull()
6132           to avoid unnecessary open/close (see #331690).
6133
6134 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
6135
6136         * gst/gstutils.c:
6137           Docs enhancement: make it crystal clear what the
6138           gst_pad_add_*_probe() callbacks should look like.
6139
6140 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
6141
6142         * libs/gst/base/gstbasesrc.c:
6143           Document how applications can stop recording from
6144           live sources (see #330996).
6145
6146 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
6147
6148         * tests/check/Makefile.am:
6149         * tests/check/libs/basesrc.c: (eos_event_counter),
6150         (basesrc_eos_events_pull), (basesrc_eos_events_push),
6151         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
6152         (gst_basesrc_suite), (main):
6153           ... and add some tests for the base source EOS stuff.
6154
6155 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
6156
6157         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
6158           Test case originally showed the problem fixed below,
6159           but was then amended. Add checks back at the place
6160           where they used to be.
6161
6162 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
6163
6164         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6165         (gst_base_src_init), (gst_base_src_loop),
6166         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6167         (gst_base_src_change_state):
6168         * libs/gst/base/gstbasesrc.h:
6169           Don't unconditionally send EOS when going from PAUSED to
6170           READY state, esp. make sure we don't send two EOS events
6171           in some cases (e.g. one when reaching EOS and one when
6172           going from PAUSED to READY). Also, we don't want to send
6173           EOS events when operating in pull mode. However, we do
6174           want to send an EOS event when shutting down a live
6175           source explicitly, for example (fixes #330996).
6176           
6177 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
6178
6179         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6180           Update src->read_position after a seek when not using mmap.
6181           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
6182
6183 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
6184
6185         * gst/Makefile.am:
6186         * gst/gstparse.h:
6187         * gst/gstutils.c:
6188         * gst/gstutils.h:
6189         Make things work with --disable-parse as they do with 
6190         --disable-load-save - the symbols involved disappear, but the
6191         header is still installed and GST_DISABLE_PARSE is included via
6192         gstconfig.h
6193
6194 2006-02-20  Julien MOUTTE  <julien@moutte.net>
6195
6196         * libs/gst/base/gstbasetransform.c:
6197         (gst_base_transform_change_state): Fix a stupid bug. I was 
6198         sure I compiled that.
6199
6200 2006-02-20  Julien MOUTTE  <julien@moutte.net>
6201
6202         * gst/gstpad.c: (gst_pad_set_blocked_async):
6203         * gst/gstutils.c: (gst_pad_add_data_probe),
6204         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6205         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6206         (gst_pad_remove_buffer_probe): Make those function act on the
6207         ghostpad target when it's a ghostpad. (Closes #331727)
6208
6209 2006-02-20  Julien MOUTTE  <julien@moutte.net>
6210
6211         * libs/gst/base/gstbasetransform.c:
6212         (gst_base_transform_change_state): Make basetransform reusable.
6213         (Closes #331898)
6214
6215 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
6216
6217         * docs/random/release:
6218         Move the current documentation of how to do a release to the top
6219         of the file.
6220
6221         * gst/gstbin.c: (gst_bin_class_init),
6222         (gst_bin_handle_message_func):
6223         Allow multiple state-recalculation threads. (Closes #328873)
6224
6225 2006-02-19  Julien MOUTTE  <julien@moutte.net>
6226
6227         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
6228         * gst/gstpad.c: (gst_pad_set_event_function),
6229         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
6230         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
6231         2 strings. You can't use the STR_NULL macro on that.
6232
6233 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
6234
6235         * gst/gstpad.c: (gst_pad_set_event_function),
6236         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
6237         (gst_pad_set_getcaps_function)
6238         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
6239           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
6240           So now, we can use --gst-debug-level=5 on Windows
6241         * win32/common/libgstcontroller.def:
6242           Added export of gst_controller_init
6243         * win32/vs6/libgstcontroller.dsp:
6244           Fixed Release post build configuration
6245
6246 2006-02-17  Wim Taymans  <wim@fluendo.com>
6247
6248         * tests/check/gst/gstquery.c: (GST_START_TEST):
6249         Added another check.
6250
6251 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
6252
6253         * plugins/elements/gsttypefindelement.c: (find_peek):
6254           We can do peeks at non-zero offsets, as long as they
6255           fall within the buffer we have.
6256
6257 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
6258
6259         * tests/check/Makefile.am:
6260         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
6261         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
6262         (parse_suite), (main):
6263           Add testsuite for parse launch syntax
6264
6265 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
6266
6267         * plugins/elements/gsttypefindelement.c:
6268         (gst_type_find_element_chain):
6269           When typefinding is unsuccessful in the chain function, don't
6270           error out immediately. Only error out with NO_CAPS_FOUND if
6271           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
6272           otherwise simply wait for more data so we can try typefinding
6273           again with more data later. Also, don't attempt to typefind
6274           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
6275           this should improve typefinding from network sources where the
6276           size of the first buffer can be somewhat random.
6277
6278 2006-02-14  Wim Taymans  <wim@fluendo.com>
6279
6280         * docs/gst/gstreamer-sections.txt:
6281         * gst/gstpadtemplate.c:
6282         * gst/gstpadtemplate.h:
6283         Fix padtemplate docs, fixes #328805.
6284
6285 2006-02-14  Wim Taymans  <wim@fluendo.com>
6286
6287         * tools/gst-launch.c: (main):
6288         NO_PREROLL is not an ERROR so don't send confusing messages
6289         to the user.
6290
6291 2006-02-14  Wim Taymans  <wim@fluendo.com>
6292
6293         Patch by: Torsten Schoenfeld
6294
6295         * gst/gstregistry.c: (gst_registry_get_default),
6296         (_gst_registry_cleanup):
6297         Protect default registry with lock and ref/sink it.
6298         Fixes #324818
6299
6300 2006-02-14  Wim Taymans  <wim@fluendo.com>
6301
6302         * gst/gstbuffer.c:
6303         * gst/gstquery.c: (gst_query_list_add_format),
6304         (gst_query_set_formatsv), (gst_query_parse_formats_length),
6305         (gst_query_parse_formats_nth):
6306         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6307         Docs fixes.
6308
6309 2006-02-14  Wim Taymans  <wim@fluendo.com>
6310
6311         * docs/gst/gstreamer-sections.txt:
6312         Reworked query docs.
6313
6314         * gst/gstquery.c: (gst_query_new_formats),
6315         (gst_query_list_add_format), (gst_query_set_formats),
6316         (gst_query_set_formatsv), (gst_query_parse_formats_length),
6317         (gst_query_parse_formats_nth):
6318         * gst/gstquery.h:
6319         Flesh out formats query, added some new methods.
6320         Fix part of #324398.
6321
6322         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
6323         Added query creation tests.
6324
6325 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
6326
6327         * gst/gstpad.c: (fixate_value):
6328         Add a default fixation for fraction lists.
6329
6330 2006-02-13  Wim Taymans  <wim@fluendo.com>
6331
6332         * gst/gsttask.c: (gst_task_init), (gst_task_func),
6333         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
6334         (gst_task_join):
6335         * gst/gsttask.h:
6336         Detect and warn for obvious deadlocks. fixes #320340
6337         Fix error case where lock was not released.
6338
6339         * tests/check/Makefile.am:
6340         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
6341         (task_func), (gst_element_suite), (main):
6342         Add task check.
6343
6344 2006-02-13  Wim Taymans  <wim@fluendo.com>
6345
6346         * docs/gst/gstreamer-sections.txt:
6347         * gst/gstbus.c:
6348         Add new functions to docs.
6349
6350 2006-02-13  Wim Taymans  <wim@fluendo.com>
6351
6352         * docs/design/part-TODO.txt:
6353         Updated TODO list, basesrc supports seeking to non-bytes
6354         formats.
6355
6356         * docs/design/part-element-sink.txt:
6357         Update docs.
6358
6359         * gst/gstbin.c: (bin_replace_message),
6360         (gst_bin_handle_message_func):
6361         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
6362         * gst/gstevent.c: (gst_event_finalize):
6363         * gst/gstpad.c: (gst_pad_event_default_dispatch),
6364         (gst_pad_send_event):
6365         Use shiny new _TYPE_NAME macros.
6366
6367         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
6368         Move debug statement up.
6369
6370         * gst/gstelement.c: (gst_element_set_locked_state):
6371         Add some debugging.
6372
6373 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
6374
6375         * docs/gst/gstreamer-sections.txt:
6376         * gst/gstmessage.h:
6377         * gst/gstquery.h:
6378           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
6379           macros (#330906). Also, document the already existing
6380           GST_QUERY_TYPE macro.
6381
6382 2006-02-13  Wim Taymans  <wim@fluendo.com>
6383
6384         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
6385         (event_probe), (GST_START_TEST):
6386         Only events up to the pipeline EOS are counted, there are
6387         some more when going to NULL currently which we don't care
6388         about for now.
6389
6390 2006-02-13  Wim Taymans  <wim@fluendo.com>
6391
6392         * gst/gstpad.c: (gst_pad_send_event):
6393         Correctly check flushing and emit probes. fixes #330125
6394
6395 2006-02-10  Andy Wingo  <wingo@pobox.com>
6396
6397         * gst/gstbus.c (gst_bus_class_init): Declare our private data
6398         structure.
6399         (gst_bus_init): Cache the location of the private data in the
6400         instance structure.
6401         (gst_bus_enable_sync_message_emission) 
6402         (gst_bus_disable_sync_message_emission): Implement new public
6403         functions.
6404         (gst_bus_post): Emit the sync-message signal if the user asked for
6405         it. Fixes #330684.
6406
6407         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
6408         location of the bus-private structure.
6409         (gst_bus_enable_sync_message_emission)
6410         (gst_bus_disable_sync_message_emission): API addition
6411
6412 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
6413
6414         Patch by: Vincent Torri
6415
6416         * docs/pwg/building-boiler.xml:
6417         PWG patch from #326800
6418
6419 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
6420
6421         * configure.ac:
6422         * docs/Makefile.am:
6423         * docs/design/Makefile.am:
6424           Dist design docs.
6425
6426 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
6427
6428         * configure.ac:
6429           back to CVS
6430
6431 === release 0.10.3 ===
6432
6433 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
6434
6435         * configure.ac:
6436           releasing 0.10.3, "Like a virgin"
6437
6438 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
6439
6440         * configure.ac:
6441           2nd prerelease of 0.10.3
6442           Bump libtool versioning.
6443
6444 2006-02-07  Andy Wingo  <wingo@pobox.com>
6445
6446         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
6447         update last_stop if we're in TIME format and the timestamp is
6448         valid.
6449
6450         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
6451         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
6452         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
6453         If we get a new newsegment with a different format, adapt
6454         accordingly.
6455
6456         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
6457         of 0. Not a problem, really.
6458
6459         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
6460         warn if sync=true.
6461
6462 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
6463
6464         * configure.ac:
6465           Prelease of 0.10.3
6466
6467 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
6468
6469         * win32/vs7:
6470           project files updated to the default vs7 configuration
6471         * win32/common/libgstbase.def:
6472         * win32/common/libgstreamer.def:
6473           added new symbols,
6474           removed empty lines,
6475           sorted all exported symbols alphabetically
6476         * win32/common/dirent.c:
6477         * win32/common/dirent.h:
6478         * win32/common/gchar.h:
6479           use windows line end.
6480           
6481 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
6482
6483         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6484           Send EOS event when stopping.
6485
6486 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
6487
6488         * docs/README:
6489           Tell folks what to do if the plugin-foobar.xml file
6490           hasn't been generated for a newly-added plugin.
6491
6492 2006-02-05  Julien MOUTTE  <julien@moutte.net>
6493
6494         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6495         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6496         (gst_collect_pads_start), (gst_collect_pads_stop),
6497         (gst_collect_pads_event): Collectpads now holds a reference
6498         to the GstPad that was added. Indeed we don't want to look
6499         at pads that might just go away with no warning...
6500
6501 2006-02-05  Julien MOUTTE  <julien@moutte.net>
6502
6503         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
6504         (gst_collect_pads_start), (gst_collect_pads_stop),
6505         (gst_collect_pads_event), (gst_collect_pads_chain):
6506         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
6507         Mark Nauwelaerts's patch on bug #328491.
6508
6509 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
6510
6511         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
6512         (gst_utils_suite):
6513           Add some simple tests for gst_parse_bin_from_description() and
6514           gst_bin_find_unconnected_pad() (#329069).
6515
6516 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
6517
6518         * tools/gst-launch.c: (event_loop), (main):
6519           Catch errors during preroll (#320084).
6520
6521 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
6522
6523         * plugins/elements/gsttypefindelement.c:
6524         (gst_type_find_element_activate):
6525           Post TYPE_NOT_FOUND error message when typefinding
6526           is unsuccessful in the activate function as well.
6527
6528 2006-02-02  Wim Taymans  <wim@fluendo.com>
6529
6530         * docs/design/part-element-sink.txt:
6531         Updated doc.
6532
6533 2006-02-02  Wim Taymans  <wim@fluendo.com>
6534
6535         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
6536         (gst_base_sink_render_object),
6537         (gst_base_sink_queue_object_unlocked):
6538         Only keep track of prerollable items when we are 
6539         prerolling.
6540         Before rendering after preroll, always check if we
6541         have queued items.
6542         Added some more debugging.
6543
6544 2006-02-02  Wim Taymans  <wim@fluendo.com>
6545
6546         * gst/gstelement.c: (gst_element_continue_state),
6547         (gst_element_set_state_func), (gst_element_change_state):
6548         Fixed #326576, been running this for quite some time with
6549         no regressions at all.
6550
6551 2006-02-02  Wim Taymans  <wim@fluendo.com>
6552
6553         * common/gst.supp:
6554         Added more suppressions
6555
6556 2006-02-02  Wim Taymans  <wim@fluendo.com>
6557
6558         * docs/design/part-element-sink.txt:
6559         Updated document.
6560
6561         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6562         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
6563         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
6564         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
6565         (gst_base_sink_do_sync), (gst_base_sink_render_object),
6566         (gst_base_sink_preroll_object),
6567         (gst_base_sink_queue_object_unlocked),
6568         (gst_base_sink_queue_object), (gst_base_sink_event),
6569         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
6570         (gst_base_sink_loop), (gst_base_sink_activate_pull),
6571         (gst_base_sink_get_position), (gst_base_sink_change_state):
6572         * libs/gst/base/gstbasesink.h:
6573         Totally refactored matching the design doc.
6574         Use two segments, one to clip incomming buffers and another to
6575         perform sync.
6576         Handle queueing correctly, bypass the queue when playing.
6577         Make EOS cancelable.
6578         Handle errors correctly when operating in pull based mode.
6579
6580         * tests/check/elements/fakesink.c: (GST_START_TEST),
6581         (fakesink_suite):
6582         Added new check for sinks.
6583
6584 2006-02-02  Wim Taymans  <wim@fluendo.com>
6585
6586         * gst/gstsegment.c: (gst_segment_clip):
6587         No reason to refuse to clip when start == -1
6588
6589 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
6590
6591         * docs/README:
6592         * docs/manual/intro-basics.xml:
6593         * docs/manual/intro-preface.xml:
6594         * docs/manual/manual.xml:
6595         * docs/pwg/advanced-dparams.xml:
6596         * docs/pwg/intro-basics.xml:
6597         * docs/pwg/intro-preface.xml:
6598         * docs/pwg/pwg.xml:
6599           describe dparams (controller) for plugins
6600           unify docs a little more
6601
6602 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
6603
6604         * docs/gst/gstreamer-sections.txt:
6605         * gst/gstutils.c: (element_find_unconnected_pad),
6606         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
6607         * gst/gstutils.h:
6608           Add new API: gst_parse_bin_from_description() and
6609           gst_bin_find_unconnected_pad() (#329069).
6610
6611 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
6612
6613         * docs/manual/README:
6614           uncover a nasty detail of the docs build
6615
6616 2006-01-31  Wim Taymans  <wim@fluendo.com>
6617
6618         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
6619         Don't cache duration messages if we're not going to use or
6620         free them.
6621
6622 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
6623
6624         * docs/manual/advanced-dparams.xml:
6625         * docs/pwg/advanced-dparams.xml:
6626           more dparam docs
6627         * gst/gstindex.c:
6628           fix docs
6629         * libs/gst/controller/lib.c: (gst_controller_init):
6630           init just once
6631
6632 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
6633
6634         * gst/gstelement.c: (gst_element_message_full):
6635           also show file/line/func if no additional debug was given
6636
6637 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
6638         
6639         * win32/vs7/grammar.vcproj:
6640           activate copy of autogenerated files for Release mode
6641
6642 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
6643         
6644         * win32/common/libgstreamer.def:
6645           export gst_value_compare
6646
6647 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
6648
6649         * plugins/elements/Makefile.am:
6650         * plugins/elements/gstelements.c:
6651         * plugins/elements/gstfdsink.c: (_do_init),
6652         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
6653         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
6654         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
6655         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
6656         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
6657         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
6658         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
6659         * plugins/elements/gstfdsink.h:
6660         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
6661
6662 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
6663
6664         * docs/manual/advanced-dparams.xml:
6665           describe controller
6666         * docs/manual/advanced-position.xml:
6667         * docs/manual/basics-init.xml:
6668         * docs/manual/manual.xml:
6669         * docs/manual/titlepage.xml:
6670         * docs/pwg/pwg.xml:
6671         * docs/pwg/titlepage.xml:
6672           cleanup xml (more to come)
6673         * libs/gst/controller/gstcontroller.c:
6674           fix typo
6675
6676 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
6677         
6678         * win32/vs6/grammar.dsp:
6679           add autogen of gstmarshal.c,h for Release mode
6680                 
6681 2006-01-30  Wim Taymans  <wim@fluendo.com>
6682
6683         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6684         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
6685         (gst_base_sink_handle_object), (gst_base_sink_event),
6686         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
6687         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6688         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
6689         (gst_base_sink_deactivate), (gst_base_sink_activate),
6690         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
6691         (gst_base_sink_query), (gst_base_sink_change_state):
6692         Basesink cleanups, remove some old code.
6693         Handle the case where a subclass can preroll in the render
6694         method (mostly audiosinks).
6695         Handle more events.
6696         Remove some locks around variables that are now protected
6697         with the PREROLL_LOCK (clock_id, flushing, ..).
6698         Optimize position query some more, do correct locking.
6699         Remove old code to push queue in state change, this is not
6700         needed anymore since preroll blocks on all prerollable items 
6701         now.
6702         Almost implemented as described in design doc.
6703
6704 2006-01-30  Wim Taymans  <wim@fluendo.com>
6705
6706         * tests/check/gst/gstbin.c: (GST_START_TEST):
6707         Wait for refcount to settle down before checking.
6708
6709 2006-01-30  Wim Taymans  <wim@fluendo.com>
6710
6711         * docs/design/part-element-sink.txt:
6712         Pseudo code overview of desired sink behaviour regarding
6713         preroll.
6714
6715 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
6716         * win32/vs6/grammar.dsp:
6717           fix some bugs in Release mode for autogenerated files
6718                 
6719 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
6720         * win32/common/libgstbase.def:
6721         * win32/common/libgstreamer.def:
6722           export some new symbols: gst_base_src_set_format,
6723           gst_iterator_next, gst_structure_set_valist
6724
6725 2006-01-29  Julien MOUTTE  <julien@moutte.net>
6726
6727         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
6728         Set pad functions unconditionally. Fixes #329105.
6729
6730 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
6731         * win32/vs8:
6732           add vs8 project files created by Sergey Scobich
6733
6734 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
6735
6736         * gst/gstutils.c: (gst_element_unlink_pads):
6737         Don't leak pad references.
6738
6739         * tests/check/elements/fakesink.c: (GST_START_TEST):
6740         * tests/check/generic/sinks.c: (GST_START_TEST):
6741         * tests/check/generic/states.c: (GST_START_TEST):
6742         * tests/check/gst/gstbin.c: (GST_START_TEST):
6743         * tests/check/gst/gstcaps.c: (GST_START_TEST):
6744         * tests/check/gst/gstelement.c: (GST_START_TEST):
6745         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6746         * tests/check/gst/gstiterator.c: (GST_START_TEST):
6747         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6748         Fix a bunch of leaks. Make generic/sinks.c
6749         use a bit less cpu by slowing the buffer rate
6750         between fakesrc and fakesink.
6751         
6752 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
6753         * gst/gstcaps.c:
6754         * gst/gstelement.c: (gst_element_send_event):
6755         * gst/gstevent.c:
6756         * gst/gstinfo.c:
6757         * gst/gstiterator.c:
6758         * gst/gstiterator.h:
6759         * gst/gstpad.c: (gst_pad_send_event):
6760         * gst/gststructure.c:
6761         * gst/gsturi.c:
6762         * gst/gstutils.c:
6763         * gst/gstvalue.c:
6764         * libs/gst/base/gstadapter.c:
6765           doc fixes, to link to function, just write gst_cool_function(), don't
6766           prefix with '#'
6767
6768 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
6769
6770         * plugins/elements/gsttee.c: (gst_tee_do_push),
6771         (gst_tee_handle_buffer):
6772         Always prefer an actual return value from a src
6773         pad in place of NOT_LINKED. This means we return
6774         WRONG_STATE when all src pads are WRONG_STATE
6775         instead of NOT_LINKED.
6776
6777         Lock when replacing the last message to prevent
6778         racing with the get_property method.
6779
6780         Add debug output
6781
6782 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
6783
6784         * tests/check/Makefile.am:
6785         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
6786         (main):
6787         Add a very simple check that should have caught the memleak I fixed
6788         last night (if not for the slice allocator hiding it)
6789
6790 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
6791
6792         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
6793         (gst_bin_remove_func), (gst_bin_handle_message_func),
6794         (bin_query_duration_fold), (bin_query_generic_fold):
6795         Clean up references to the clock provider when disposed or when
6796         handling a clock-lost message from it.
6797
6798         Unref sinks when performing a query via gst_iterator_fold, as the
6799         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
6800
6801         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
6802         (gst_clock_set_master):
6803         Drop our reference to the master clock, if any, when we are disposed.
6804
6805         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
6806         Chain up in dispose. 
6807
6808 2006-01-26  Wim Taymans  <wim@fluendo.com>
6809
6810         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
6811         Add some debugging.
6812
6813 2006-01-26  Julien MOUTTE  <julien@moutte.net>
6814
6815         * plugins/elements/gsttee.c: (gst_tee_do_push),
6816         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
6817         handles pad being NOT_LINKED or in WRONG_STATE.
6818
6819 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
6820
6821         * win32/MANIFEST:
6822           more updating
6823
6824 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
6825
6826         * win32/MANIFEST:
6827           remove obsolete entry
6828
6829 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
6830
6831         * docs/gst/gstreamer-sections.txt:
6832         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
6833         (gst_bin_iterate_sources), (gst_bin_send_event):
6834         * gst/gstbin.h:
6835         * gst/gstelement.c: (gst_element_send_event):
6836         * gst/gstevent.c:
6837         * gst/gstpad.c: (gst_pad_send_event):
6838           added code for downstream events, reviewed docs in gstevent.c
6839
6840 2006-01-25  Julien MOUTTE  <julien@moutte.net>
6841
6842         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6843         We only query position using the clock in the playing state.
6844         Query peer in the other cases.
6845         * win32/common/config.h: Updates.
6846
6847 2006-01-24  Wim Taymans  <wim@fluendo.com>
6848
6849         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6850         A clock entry that is scheduled for the exact time of the
6851         clock is still in time.
6852
6853         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6854         (gst_base_sink_do_sync):
6855         Add some more debug info.
6856
6857 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
6858
6859         * win32/vs7:
6860           Add new vs7 project files and solution.
6861
6862 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
6863
6864         * win32/vs7:
6865           all files removed as they were out-dated.
6866
6867 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6868
6869         * docs/random/release:
6870           update notes
6871         * gst/gstbin.c: (gst_bin_init):
6872         * gst/gstbus.c: (gst_bus_new):
6873         * gst/gstbus.h:
6874         * gst/gstpipeline.c: (gst_pipeline_init):
6875           use gst_bus_new(), improve logging, fix docs
6876         * win32/common/config.h:
6877           update for cvs build
6878
6879 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6880
6881         * autogen.sh:
6882           up required version of automake to 1.7
6883
6884 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
6885
6886         * win32/common/libgstreamer.def:
6887           export gst_buffer_is_metadata_writable
6888
6889 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
6890
6891         * docs/gst/gstreamer-sections.txt:
6892         * gst/gstevent.h:
6893           Add gst_event_replace() (#327001)
6894
6895 2006-01-20  Wim Taymans  <wim@fluendo.com>
6896
6897         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6898         Make it actually compile too..
6899
6900 2006-01-20  Wim Taymans  <wim@fluendo.com>
6901
6902         * gst/gstcaps.c:
6903         Clarify behaviour of _is_equal() when passing NULL parameters.
6904
6905         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6906         (gst_pad_set_caps):
6907         Cleanups. Don't unref NULL caps.
6908         When setting the same caps, protect caps of the pad with
6909         proper lock.
6910         Use full functionality of _is_equal() when comparing caps.
6911
6912 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
6913
6914         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
6915         Don't loop infinitely if there are no buffers to present. Partially
6916         fixes #327197, but collectpads is just broken for reusing elements
6917         to do multiple encodes atm.
6918
6919 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
6920
6921         * tools/gst-inspect.c: (print_element_features):
6922         * tools/gst-xmlinspect.c: (main):
6923         URL_HANDLER is not a plugin feature we can search for in
6924         the registry.
6925
6926 2006-01-19  Edward Hervey  <edward@fluendo.com>
6927
6928         * gst/gstelement.c: (gst_element_pads_activate): 
6929         When activating, do src pads first, then sink pads.
6930         When de-activating, do sink pads first, then src pads.
6931
6932 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
6933
6934         * docs/gst/gstreamer-sections.txt:
6935         Add gst_index_add_associationv to the docs
6936
6937 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
6938
6939         * gst/gstevent.c:
6940           Fix docs typo
6941
6942         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
6943         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
6944           Do some refactoring. Doesn't actually change functionality,
6945           but makes landing the DRAIN event easier later.
6946
6947 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
6948
6949         * docs/pwg/advanced-scheduling.xml:
6950           Update from 0.9.x to 0.10 API and make example a bit
6951           clearer.
6952
6953 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
6954
6955         * docs/gst/gstreamer-sections.txt:
6956         Add gst_buffer_(is|make)_metadata_writable methods.
6957
6958 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
6959
6960         * docs/design/part-sparsestreams.txt:
6961         Update sparse streams doc, hopefully for greater clarity
6962
6963 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
6964
6965         * docs/design/part-events.txt:
6966         Remove mention of FILLER events.
6967         Add DRAIN event.
6968
6969         * docs/design/part-sparsestreams.txt:
6970         Write some things about using NEWSEGMENT to keep sparse streams
6971         flowing.
6972
6973 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
6974
6975         * gst/gstbin.c: (gst_bin_dispose):
6976           Guard gst_object_unref call against a NULL object (dispose
6977           can theoretically be called multiple times).
6978           
6979 2006-01-18  Wim Taymans  <wim@fluendo.com>
6980
6981         * gst/gstbin.c: (gst_bin_element_set_state):
6982         * gst/gstclock.c: (gst_clock_id_wait):
6983         Added some more debug info.
6984
6985         * libs/gst/base/gstadapter.c:
6986         Added more docs.
6987
6988         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6989         (gst_base_sink_do_sync), (gst_base_sink_chain):
6990         Added some comments.
6991
6992 2006-01-18  Wim Taymans  <wim@fluendo.com>
6993
6994         * tests/check/Makefile.am:
6995         * tests/check/elements/fakesink.c: (chain_async_buffer),
6996         (chain_async), (chain_async_return), (GST_START_TEST),
6997         (fakesink_suite), (main):
6998         Added fakesink test that checks prerolling and clipping
6999         behaviour.
7000
7001         * tests/check/gst/gstutils.c: (GST_START_TEST):
7002         Make check run faster so that buildbots don't timeout.
7003
7004 2006-01-18  Wim Taymans  <wim@fluendo.com>
7005
7006         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7007         (gst_base_sink_do_sync):
7008         Some cleanups.
7009         When the sink finishes blocking on the preroll buffer, it can
7010         immediatly render it instead of rendering when the next buffer
7011         arrives.
7012
7013 2006-01-18  Wim Taymans  <wim@fluendo.com>
7014
7015         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
7016         (gst_base_sink_get_property), (gst_base_sink_do_sync),
7017         (gst_base_sink_chain):
7018         Small cleanups.
7019         GST_ELEMENT_CLOCK and sync are protected with LOCK.
7020         Don't store _last_stop if the buffer is dropped.
7021
7022 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
7023
7024         * plugins/elements/gsttypefindelement.c:
7025         (gst_type_find_element_class_init):
7026           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
7027           object method handler that sets the caps on the pad and we want
7028           that to happen before we emit the signal (fixes e.g. feeding a
7029           plain text file to decodebin).
7030
7031 2006-01-18  Christian Schaller  <Christian@fluendo.com>
7032
7033         * gst/gstplugin.c: Add MPL and Proprietary as license options
7034
7035 2006-01-18  Andy Wingo  <wingo@pobox.com>
7036
7037         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
7038         symbol was exported before, it appears this was just an oversight.
7039         Fixes #168703.
7040         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
7041
7042         * gst/gstindex.c (gst_index_add_associationv): Changed int in
7043         prototype to gint. OK since this prototype was not in the header.
7044
7045 2006-01-17  Andy Wingo  <wingo@pobox.com>
7046
7047         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
7048         registry while we remove plugins.
7049
7050         * tools/gst-inspect.c (print_element_info): Don't unref the
7051         factory arg, that should be the responsibility of whatever code
7052         received the ref. Fixes a double-free when called from
7053         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
7054         (main): Unref the factory if we have one.
7055         (print_element_list): No change -- relies on the
7056         plugin_feature_list_free to free the list of features.
7057
7058 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
7059
7060         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
7061         (gst_buffer_make_metadata_writable):
7062         * gst/gstbuffer.h:
7063         * libs/gst/base/gstbasetransform.c:
7064         (gst_base_transform_prepare_output_buf):
7065         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
7066         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7067           Replace gst_buffer_(make|is)_metadata_writable patch now
7068           that the release is out.
7069
7070 2006-01-17  Andy Wingo  <wingo@pobox.com>
7071
7072         * gst/gstregistry.c: Reflow design comment. Update so as to speak
7073         in the present tense without reference to versions.
7074
7075         * gst/gstregistry.c (gst_registry_add_plugin)
7076         (gst_registry_remove_plugin, gst_registry_remove_feature)
7077         (gst_registry_find_feature, gst_registry_get_feature_list)
7078         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
7079         (gst_registry_lookup, gst_registry_scan_path)
7080         (_gst_registry_remove_cache_plugins)
7081         (gst_registry_get_feature_list_by_plugin): Add argument
7082         validation.
7083
7084 === release 0.10.2 ===
7085
7086 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
7087
7088         * configure.ac:
7089           releasing 0.10.2, "If man is five"
7090
7091 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
7092
7093         * gst/gstbuffer.c:
7094         * gst/gstbuffer.h:
7095         * libs/gst/base/gstbasetransform.c:
7096         (gst_base_transform_prepare_output_buf):
7097         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
7098         * tests/check/gst/gstbuffer.c: (gst_test_suite):
7099           Back out patch until after the release.
7100
7101 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
7102
7103         * gst/gstminiobject.c:
7104           Spelling fix in docs.
7105         * ChangeLog - remove conflict indicator
7106
7107 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
7108
7109         Reviewed By: Andy Wingo
7110
7111         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
7112         (gst_buffer_make_metadata_writable):
7113         * gst/gstbuffer.h:
7114           Add gst_buffer_(is|make)_metadata_writable as analogues of
7115           gst_buffer_(is|make)_writable.
7116
7117         * libs/gst/base/gstbasetransform.c:
7118         (gst_base_transform_prepare_output_buf):
7119         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
7120           Use name gst_buffer_(is|make)_metadata_writable functions.
7121
7122         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7123           Test gst_buffer_(is|make)_metadata_writable
7124         
7125           (Closes: #324162)
7126
7127 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7128
7129         * docs/manual/Makefile.am:
7130           don't do parallel make
7131         * configure.ac:
7132           AC_SUBST HOST_CPU
7133         * win32/common/config.h.in:
7134           add generations for HOST_CPU and GST_MAJORMINOR
7135         * win32/common/config.h:
7136           commit generated result
7137
7138 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
7139
7140         * docs/manual/appendix-integration.xml:
7141           Update GNOME integration section to use gst_init_get_option_group()
7142           instead of the old popt stuff (#322911). Also, GNOME applications
7143           should  now use gconf*sink and gconf*src instead of the old gconf
7144           helper lib we had.
7145
7146 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
7147
7148
7149         * docs/gst/gstreamer-docs.sgml:
7150         * docs/gst/gstreamer-sections.txt:
7151         * docs/libs/gstreamer-libs-sections.txt:
7152           add new API entries to the docs
7153         * libs/gst/controller/Makefile.am:
7154         * libs/gst/controller/gstcontroller.c:
7155         * libs/gst/controller/gstcontroller.h:
7156         * libs/gst/controller/gstcontrollerprivate.h:
7157         * libs/gst/controller/gsthelper.c:
7158         * libs/gst/controller/gstinterpolation.c:
7159           move private structs to private header
7160         * po/README:
7161           gstreamer-0.7 -> gstreamer-0.10
7162         * tests/check/libs/struct_i386.h:
7163           remove private structs
7164
7165 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7166
7167         * plugins/indexers/Makefile.am:
7168           Fixes as part of #317048
7169
7170 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7171
7172         * plugins/indexers/Makefile.am:
7173           fix #316086 - compilation when mmap is missing
7174
7175 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
7176
7177         * libs/gst/base/gstbasesink.c:
7178           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
7179           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
7180         * win32/common/config.h:
7181           added some defines GST_MAJORMINOR and HOST_CPU
7182         * win32/common/libgstbase.def:
7183         * win32/common/libgstreamer.def:
7184           added some exported functions.
7185
7186 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
7187
7188         * libs/gst/controller/gstcontroller.c:
7189         (gst_controlled_property_set_interpolation_mode),
7190         (gst_controlled_property_new):
7191         * libs/gst/controller/gstcontroller.h:
7192         * libs/gst/controller/gstinterpolation.c:
7193         (interpolate_none_get_string_value_array):
7194           make G_TYPE_STRING controlable
7195
7196 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
7197
7198         * tools/README:
7199         * tools/gst-feedback.1.in:
7200         * tools/gst-inspect.1.in:
7201         * tools/gst-launch.1.in:
7202         * tools/gst-md5sum.1.in:
7203         * tools/gst-typefind.1.in:
7204         * tools/gst-xmlinspect.1.in:
7205         * tools/gst-xmllaunch.1.in:
7206           cleanup man-pages, remove reference to gst-register, document env-vars
7207
7208 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
7209
7210         * gst/gstbuffer.c: (gst_buffer_span):
7211           gst_buffer_span should copy the timestamp of the first buffer
7212           if they were both originally overlapping subbuffers of the 
7213           same parent, using the same logic as the 'slow copy' case.
7214
7215 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
7216
7217         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
7218           Need to awaken ALL the pads when we pop a buffer, otherwise
7219           collectpads only works when there is 2 input streams.
7220
7221 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
7222
7223         * docs/random/ensonic/media-device-daemon.txt:
7224           more ideas (dbus)
7225         * gst/gstbuffer.c:
7226           fix doc example, add clarification
7227         * tools/gst-launch.1.in:
7228           add initial info about GST_PLUGIN_PATH, needs more work
7229
7230 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
7231
7232         * docs/manual/basics-bins.xml:
7233         * docs/manual/basics-elements.xml:
7234         * docs/manual/intro-basics.xml:
7235           Some more minor docs additions and updates.
7236
7237 2006-01-11  Wim Taymans  <wim@fluendo.com>
7238
7239         * docs/manual/basics-bins.xml:
7240         * docs/manual/basics-elements.xml:
7241         Some small fixes as pointed out by Ser-ver on IRC.
7242
7243 2006-01-10  Edward Hervey  <edward@fluendo.com>
7244
7245         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7246         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
7247         the single-segment mode.
7248
7249 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
7250
7251         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
7252
7253         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
7254         (gst_base_src_perform_seek), (gst_base_src_send_event),
7255         (gst_base_src_set_property), (gst_base_src_get_property),
7256         (gst_base_src_loop), (gst_base_src_start),
7257         (gst_base_src_activate_push):
7258         * libs/gst/base/gstbasesrc.h:
7259           Name (private) union; makes Sun's Forte compiler happy (#324900).
7260
7261 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
7262
7263         * README:
7264           gst-register is gone.
7265
7266 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
7267
7268         * gst/gstvalue.c: (_gst_value_initialize):
7269           make the G_TYPE_DATE instantiation work if debug is disabled
7270
7271 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
7272
7273         * gst/gstmessage.c: (gst_message_parse_tag),
7274         (gst_message_parse_error), (gst_message_parse_warning):
7275           Don't crash when return location for error/warning debug
7276           string is NULL; add fact that return locations can be
7277           NULL to docs where appropriate.
7278
7279 2006-01-05  Wim Taymans  <wim@fluendo.com>
7280
7281         * gst/gstplugin.c: (gst_plugin_load_file):
7282         Replace strdup by g_strdup.
7283
7284 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7285
7286         * docs/pwg/advanced-types.xml:
7287           fix doc borkage
7288
7289 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7290
7291         submitted by: Abel Cheung
7292
7293         * po/LINGUAS:
7294         * po/zh_TW.po:
7295           Added Chinese (traditional) translation
7296
7297 2006-01-04  Wim Taymans  <wim@fluendo.com>
7298
7299         * docs/manual/basics-pads.xml:
7300         * docs/plugins/Makefile.am:
7301         * docs/plugins/gstreamer-plugins-docs.sgml:
7302         * docs/plugins/gstreamer-plugins-sections.txt:
7303         * docs/pwg/advanced-clock.xml:
7304         * docs/pwg/advanced-scheduling.xml:
7305         * docs/pwg/advanced-types.xml:
7306         * plugins/elements/gstfdsink.c:
7307         * plugins/elements/gstfdsrc.c:
7308         * plugins/elements/gstfdsrc.h:
7309         * plugins/elements/gstidentity.c: (gst_identity_class_init):
7310         * plugins/elements/gstidentity.h:
7311         * plugins/elements/gstqueue.h:
7312         * plugins/elements/gsttee.c:
7313         * plugins/elements/gsttee.h:
7314         * plugins/elements/gsttypefindelement.c:
7315         (gst_type_find_element_class_init):
7316         * plugins/elements/gsttypefindelement.h:
7317         Small updates to various docs.
7318         Added core plugins to docs.
7319
7320 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7321
7322         * common/gst.supp:
7323           add a suppression for liboil's uninitialized variable
7324
7325 2006-01-02  James Livingston  <jrl at ids dot org dot au>
7326
7327         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
7328
7329         * gst/gstutils.h:
7330           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
7331           macro, so that gcc doesn't complain if the -Wmissing-prototypes
7332           compiler switch is being used (#325429).
7333
7334 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
7335
7336         * gst/gstbin.c: (gst_bin_query):
7337           Disable duration query caching in bins until it gets
7338           fixed (see #324807).
7339
7340 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
7341
7342         * tools/gst-inspect.c: (print_element_properties_info):
7343           Handle properties of POINTER and BOXED type.
7344
7345 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
7346
7347         * gst/gst.c: (init_post):
7348           Init tags stuff and some other things before loading
7349           any static plugins (there may be other static plugins
7350           than just the GStreamer ones, and they may want to
7351           register their own tags or formats or whatever, and
7352           preferably without segfaulting).
7353
7354         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
7355           Print at least a warning in the debug logs if we drop a
7356           query just because we don't know how to adjust the value
7357           in the particular format.
7358
7359 2005-12-24  David Schleef  <ds@schleef.org>
7360
7361         * tools/gstreamer-completion:
7362           Replacement for gst-complete written in sh and sed.  Only
7363           completes names of features, but that's 90% of what I want
7364           it for.  Properties are not available in registry.xml.  (Maybe
7365           they should be...)
7366
7367 === release 0.10.1 ===
7368
7369 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
7370
7371         * configure.ac:
7372           releasing 0.10.1, "Nollaig chridheil"
7373
7374 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
7375
7376         * docs/faq/cvs.xml:
7377           Add missing quote, should be make ERROR_CFLAGS="".
7378
7379 2005-12-20  Wim Taymans  <wim@fluendo.com>
7380
7381         * docs/design/part-trickmodes.txt:
7382         More documentation on trickmodes.
7383
7384 2005-12-20  Edward Hervey  <edward@fluendo.com>
7385
7386         * gst/gstcaps.c: (gst_static_caps_get_type):
7387         * gst/gstcaps.h:
7388           API addition: GST_TYPE_STATIC_CAPS
7389         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
7390         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
7391         * gst/gstpadtemplate.h:
7392           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
7393         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
7394         bindings.
7395
7396 2005-12-18  Wim Taymans  <wim@fluendo.com>
7397
7398         * libs/gst/base/gstadapter.c:
7399         * libs/gst/base/gstadapter.h:
7400         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7401         (gst_base_sink_get_position):
7402         * libs/gst/base/gstbasesink.h:
7403         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7404         (gst_base_src_default_query), (gst_base_src_default_do_seek),
7405         (gst_base_src_do_seek), (gst_base_src_perform_seek),
7406         (gst_base_src_send_event), (gst_base_src_update_length),
7407         (gst_base_src_get_range), (gst_base_src_loop),
7408         (gst_base_src_start):
7409         * libs/gst/base/gstbasesrc.h:
7410         * libs/gst/base/gstbasetransform.h:
7411         * libs/gst/base/gstcollectpads.h:
7412         * libs/gst/base/gstpushsrc.c:
7413         * libs/gst/base/gstpushsrc.h:
7414         * libs/gst/dataprotocol/dataprotocol.c:
7415         * libs/gst/dataprotocol/dataprotocol.h:
7416         * libs/gst/net/gstnetclientclock.h:
7417         * libs/gst/net/gstnettimeprovider.h:
7418         Documentation updates.
7419
7420 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
7421
7422         * docs/manual/basics-helloworld.xml:
7423           Remove superfluous closing bracket in helloworld example.
7424
7425 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
7426
7427         * tools/gst-launch.1.in:
7428           Update gst-launch man page; add a section with useful
7429           environment variables. Fixes #323882.
7430
7431 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
7432
7433         * gst/gst.c:
7434         * gst/gst_private.h:
7435           change some char* into char[]
7436
7437 2005-12-16  Wim Taymans  <wim@fluendo.com>
7438
7439         * gst/gstregistryxml.c: (load_feature):
7440         Cleanups.
7441         Don't use g_object_unref on GstObjects so that we avoid
7442         leaks on unsafe glibs.
7443
7444 2005-12-16  Wim Taymans  <wim@fluendo.com>
7445
7446         * gst/gstbin.c: (gst_bin_recalc_state):
7447         Small doc updates.
7448
7449 2005-12-16  Wim Taymans  <wim@fluendo.com>
7450
7451         * common/check.mak:
7452         Added make forever target for check.
7453
7454 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7455
7456         * gst/gst.c: (init_post):
7457           make the registry cache file HOST_CPU-dependent
7458
7459 2005-12-16  Andy Wingo  <wingo@pobox.com>
7460
7461         * plugins/elements/gstbufferstore.c
7462         (gst_buffer_store_cleared_func): Pay attention to g_list_append
7463         return value.
7464
7465         * tests/check/gst/gstobject.c
7466         (test_fake_object_name_threaded_unique): Pay attention to
7467         g_list_sort return value.
7468
7469 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
7470
7471         * tools/gst-feedback-m.m:
7472           Update for 0.9/0.10 (fixes #323870).
7473
7474 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
7475
7476         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
7477           Fix lcopy for mini objects, the mini object needs to be ref'ed.
7478           
7479         * tests/check/gst/gstminiobject.c: (my_foo_init),
7480         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
7481         (test_value_collection), (gst_mini_object_suite):
7482           Add test to ensure refcounts end up as expected when passing
7483           GstMiniObjects through g_object_get() and g_object_set().
7484
7485 2005-12-14  Julien MOUTTE  <julien@moutte.net>
7486
7487         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
7488         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
7489         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
7490         of collectpads. This version removes a lot of races without
7491         touching API/ABI. Yay !
7492
7493 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
7494
7495         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
7496           Don't allow activation of a srcpad in pull_range if it has no
7497           getrange function.
7498           Change some debug statements to be a little clearer
7499
7500         * plugins/elements/gsttypefindelement.c:
7501         (gst_type_find_handle_src_query):
7502           Check that we have a peer before executing queries thereupon.
7503
7504         * tests/examples/metadata/read-metadata.c: (message_loop):
7505           Use gst_bus_pop instead of gst_bus_poll when we just want it to
7506           immediately return us any available message with 0 timeout.
7507
7508 2005-12-12  Michael Smith  <msmith@fluendo.com>
7509
7510         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
7511           Don't unref factories after calling them.
7512         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
7513         * plugins/elements/gsttypefindelement.c:
7514         (gst_type_find_element_chain):
7515           Free lists of factories after using them. Fixing typefinding memory
7516           leaks.
7517
7518 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
7519
7520         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7521         (gst_plugin_feature_load):
7522           more meaningful debug output
7523         * configure.ac:
7524         * tests/Makefile.am:
7525         * tests/old/examples/Makefile.am:
7526           make make distcheck happy again
7527
7528 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
7529
7530         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
7531           Catch the special case where we are operating chain-based,
7532           but the downstream peer pad has no chain function. Emit a
7533           custom error message in this case instead of letting the
7534           core generate one implying that this is some sort of core
7535           bug. It's not, it just means that whatever got plugged
7536           into the pipeline downstream when we announced the type
7537           can only operate pull-based, while our source can only
7538           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
7539           Error string has not been marked for translation yet, as
7540           it probably needs some more work first.
7541
7542         (gst_type_find_element_get_best_possibility):
7543           Add helper function to find the best of all available
7544           found possibilities that qualify given the min. threshold.
7545
7546         (gst_type_find_element_handle_event):
7547           Fix the case where we get an EOS while still in TYPEFIND
7548           mode (we want to chose the best of all possible types,
7549           not just the first type that happens to be in our unsorted
7550           list of possible types).
7551
7552         (gst_type_find_element_chain):
7553           Make sure we return GST_FLOW_ERROR when we errored out
7554           in stop_typefinding(); also, don't just find the best of
7555           all found type entries and then use the last examined
7556           type entry, but actually use the best entry.
7557
7558 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
7559
7560         * tests/examples/typefind/typefind.c: (type_found):
7561         * tests/examples/xml/runxml.c: (xml_loaded):
7562           More gcc4 fixes and a mem leak fix.
7563
7564 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
7565
7566         * tests/examples/xml/createxml.c: (object_saved):
7567           gcc 4 fixes
7568
7569 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
7570
7571         * tests/Makefile.am:
7572           enable the examples even more
7573
7574 2005-12-12  Andy Wingo  <wingo@pobox.com>
7575
7576         * libs/gst/net/gstnettimeprovider.c
7577         (gst_net_time_provider_class_init, gst_net_time_provider_init)
7578         (gst_net_time_provider_set_property)
7579         (gst_net_time_provider_get_property):
7580         API addition: Export "active" as a GObject property.
7581         (gst_net_time_provider_thread): Only respond to time queries if
7582         the time provider is active.
7583
7584         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
7585         NetTimeProvider, preserving binary compat.
7586
7587 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
7588
7589         * tests/examples/controller/audio-example.c: (main):
7590         * tests/examples/launch/Makefile.am:
7591           convert comments again
7592
7593 2005-12-12  Wim Taymans  <wim@fluendo.com>
7594
7595         * libs/gst/base/gstpushsrc.c:
7596         Fix typo.
7597
7598 2005-12-12  Wim Taymans  <wim@fluendo.com>
7599
7600         * docs/libs/gstreamer-libs-sections.txt:
7601         Added new symbol to docs.
7602
7603         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7604         (gst_base_src_init), (gst_base_src_set_format),
7605         (gst_base_src_default_query), (gst_base_src_query),
7606         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
7607         (gst_base_src_perform_seek), (gst_base_src_send_event),
7608         (gst_base_src_default_event), (gst_base_src_event_handler),
7609         (gst_base_src_set_property), (gst_base_src_get_property),
7610         (gst_base_src_wait), (gst_base_src_do_sync),
7611         (gst_base_src_update_length), (gst_base_src_get_range),
7612         (gst_base_src_check_get_range), (gst_base_src_loop),
7613         (gst_base_src_default_negotiate), (gst_base_src_start),
7614         (gst_base_src_activate_push), (gst_base_src_activate_pull),
7615         (gst_base_src_change_state):
7616         * libs/gst/base/gstbasesrc.h:
7617         Implement seeking to other formats than _BYTES.
7618         Implement more seeking methods correctly.
7619         Doc updates.
7620         Added query vmethod.
7621         Added do_seek vmethod to make life easier for subclasses
7622         when seeking.
7623         API addition: gst_base_src_set_format()
7624
7625 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
7626
7627         * tests/examples/Makefile.am:
7628           added that too
7629
7630 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
7631
7632         * configure.ac:
7633         * docs/random/ensonic/media-device-daemon.txt:
7634         * tests/examples/controller/.cvsignore:
7635         * tests/examples/controller/Makefile.am:
7636         * tests/examples/controller/audio-example.c: (main):
7637         * tests/examples/helloworld/.cvsignore:
7638         * tests/examples/helloworld/Makefile.am:
7639         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
7640         * tests/examples/launch/.cvsignore:
7641         * tests/examples/launch/Makefile.am:
7642         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
7643         * tests/examples/metadata/.cvsignore:
7644         * tests/examples/metadata/Makefile.am:
7645         * tests/examples/metadata/read-metadata.c: (message_loop),
7646         (make_pipeline), (print_tag), (main):
7647         * tests/examples/queue/.cvsignore:
7648         * tests/examples/queue/Makefile.am:
7649         * tests/examples/queue/queue.c: (event_loop), (main):
7650         * tests/examples/typefind/.cvsignore:
7651         * tests/examples/typefind/Makefile.am:
7652         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
7653         (main):
7654         * tests/examples/xml/.cvsignore:
7655         * tests/examples/xml/Makefile.am:
7656         * tests/examples/xml/createxml.c: (object_saved), (main):
7657         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
7658         * tests/old/examples/Makefile.am:
7659         * tests/old/examples/TODO:
7660         * tests/old/examples/controller/.cvsignore:
7661         * tests/old/examples/controller/Makefile.am:
7662         * tests/old/examples/controller/audio-example.c:
7663         * tests/old/examples/helloworld/.cvsignore:
7664         * tests/old/examples/helloworld/Makefile.am:
7665         * tests/old/examples/helloworld/helloworld.c:
7666         * tests/old/examples/launch/.cvsignore:
7667         * tests/old/examples/launch/Makefile.am:
7668         * tests/old/examples/launch/mp3parselaunch.c:
7669         * tests/old/examples/launch/mp3play:
7670         * tests/old/examples/manual/Makefile.am:
7671         * tests/old/examples/metadata/Makefile.am:
7672         * tests/old/examples/metadata/read-metadata.c:
7673         * tests/old/examples/queue/.cvsignore:
7674         * tests/old/examples/queue/Makefile.am:
7675         * tests/old/examples/queue/queue.c:
7676         * tests/old/examples/typefind/.cvsignore:
7677         * tests/old/examples/typefind/Makefile.am:
7678         * tests/old/examples/typefind/typefind.c:
7679         * tests/old/examples/xml/.cvsignore:
7680         * tests/old/examples/xml/Makefile.am:
7681         * tests/old/examples/xml/createxml.c:
7682         * tests/old/examples/xml/runxml.c:
7683           applied some simple fixing to some examples
7684           re-enabled the working examples
7685
7686 2005-12-12  Wim Taymans  <wim@fluendo.com>
7687
7688         * gst/gstsegment.c: (gst_segment_init),
7689         (gst_segment_set_last_stop), (gst_segment_set_seek),
7690         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
7691         (gst_segment_to_running_time):
7692         Added more documentation.
7693         Make sure the last_pos value is updated properly.
7694         Make sure to_stream_time and to_running_time don't
7695         operate on wrong values.
7696
7697         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7698         Update check.
7699
7700 2005-12-12  Michael Smith  <msmith@fluendo.com>
7701
7702         * plugins/elements/gsttypefindelement.c: (free_entry),
7703         (gst_type_find_element_chain):
7704           Now that we're not leaking factories, make sure we keep references
7705           to them while we need them.
7706
7707 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7708
7709         * tests/check/gst/struct_i386.h:
7710           ifdef out the XML structs
7711
7712 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7713
7714         * gst/gstvalue.c: (gst_value_transform_double_fraction):
7715           floor is not needed, F is always positive; this obviates the
7716           need for adding -lm when building without libxml
7717
7718 2005-12-12  Wim Taymans  <wim@fluendo.com>
7719
7720         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7721         Take current playback rate into account when reporting
7722         the position.
7723
7724 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
7725
7726         * docs/manual/mime-world.fig:
7727           Let's try this again, this time with a file that is
7728           actually in XFig format.
7729
7730 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
7731
7732         * docs/manual/mime-world.fig:
7733           Add audioconvert element to diagram so that it
7734           matches the text and the code (fixes #319526).
7735
7736 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
7737
7738         * docs/pwg/building-chainfn.xml:
7739         * docs/pwg/building-pads.xml:
7740         * docs/pwg/building-state.xml:
7741         * docs/pwg/other-source.xml:
7742           Update state change stuff for 0.10 (fixes #322969).
7743
7744 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
7745
7746         * docs/manual/advanced-dataaccess.xml:
7747         * docs/manual/appendix-checklist.xml:
7748         * docs/manual/appendix-programs.xml:
7749         * docs/manual/basics-pads.xml:
7750         * docs/manual/highlevel-components.xml:
7751         * docs/manual/manual.xml:
7752           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
7753           add converters in front of pipelines; remove curly
7754           brackets for threads stuff, they no longer exist; use
7755           GST_TYPE_FRACTION for framerates; update some pieces of
7756           code to 0.10, but there's plenty more to do.
7757
7758         * docs/manual/appendix-porting.xml:
7759           Expand on asynchroneous state changes; s/0.9/0.10/;
7760           mention disappearance of gst_init_get_popt_table()
7761           (fixes #322916).
7762
7763 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
7764
7765         * docs/faq/using.xml:
7766           Spider no longer exists, and neither does gst-launch-ext.
7767           Update examples to use decodebin and playbin and put
7768           converters in front of sinks (fixes #323726).
7769
7770 2005-12-09  Michael Smith  <msmith@fluendo.com>
7771
7772         * plugins/elements/gsttypefindelement.c: (find_peek),
7773         (gst_type_find_element_chain):
7774           Fix leaking element factories in typefinding.
7775           Fix problem where we forgot about a probable type on non-seekable
7776           files, and thus later mis-typefound it.
7777
7778 2005-12-09  Michael Smith  <msmith@fluendo.com>
7779
7780         * common/m4/gst-makecontext.m4:
7781         * common/m4/gst-mcsc.m4:
7782         * configure.ac:
7783         * win32/common/config.h:
7784         * win32/common/config.h.in:
7785           Remove makecontext stuff; not used in 0.10 and causes problems on
7786           HPUX according to bug #322441
7787
7788 2005-12-07  Wim Taymans  <wim@fluendo.com>
7789
7790         * tests/check/Makefile.am:
7791         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
7792         (main):
7793         * tests/check/libs/struct_i386.h:
7794         Added ABI check for libs
7795
7796 2005-12-07  Wim Taymans  <wim@fluendo.com>
7797
7798         * tests/check/Makefile.am:
7799         And add the struct_i386.h to dist.
7800
7801 2005-12-07  Wim Taymans  <wim@fluendo.com>
7802
7803         * tests/check/Makefile.am:
7804         * tests/check/gst/.cvsignore:
7805         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
7806         (main):
7807         * tests/check/gst/struct_i386.h:
7808         Added check for ABI compatibility.
7809
7810 2005-12-07  Wim Taymans  <wim@fluendo.com>
7811
7812         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7813         (gst_fake_src_get_times), (gst_fake_src_create):
7814         Fix broken sync option, fixes #323259
7815
7816 2005-12-07  Wim Taymans  <wim@fluendo.com>
7817
7818         * gst/gstbuffer.c:
7819         Small docs update.
7820
7821         * gst/gstcaps.c: (gst_caps_is_equal):
7822         Don't assert on NULL <--> X. Fixes #323260
7823
7824         * gst/gstminiobject.c: (gst_mini_object_replace):
7825         If we're doing atomic operations, we might just as well use
7826         the proper way to get an atomic pointer.
7827
7828         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7829         Clean up debugging.
7830
7831 2005-12-07  Michael Smith  <msmith@fluendo.com>
7832
7833         * gst/parse/grammar.y:
7834           Remove handling of { } for threads.
7835
7836 2005-12-06  David Schleef  <ds@schleef.org>
7837
7838         * libs/gst/base/gstbasetransform.c: speling fix.
7839
7840 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7841
7842         * docs/libs/tmpl/gstdataprotocol.sgml:
7843         * docs/random/omega/testing/gstobject.c:
7844         * gst/gst.c:
7845         * gst/gstclock.c:
7846         * gst/gstelement.c:
7847         * gst/gstelementfactory.c:
7848         * gst/gsterror.c:
7849         * gst/gstevent.c:
7850         * gst/gstghostpad.c:
7851         * gst/gstinfo.c:
7852         * gst/gstpadtemplate.c:
7853         * gst/gstregistryxml.c:
7854         * gst/gsttaglist.c:
7855         * gst/gsttagsetter.c:
7856         * gst/gsttypefind.c:
7857         * gst/gstvalue.c:
7858         * libs/gst/base/gstbasesrc.c:
7859         * libs/gst/net/gstnetclientclock.c:
7860         * libs/gst/net/gstnettimeprovider.c:
7861         * plugins/elements/gstfakesrc.c:
7862         * plugins/elements/gstfdsrc.c:
7863         * plugins/elements/gstfilesrc.c:
7864         * plugins/elements/gstidentity.c:
7865         * plugins/elements/gstqueue.c:
7866         * plugins/elements/gsttypefindelement.c:
7867         * plugins/indexers/gstfileindex.c:
7868         * plugins/indexers/gstmemindex.c:
7869         * tests/check/gst/gsttag.c:
7870         * tests/old/examples/cutter/cutter.c:
7871         * tests/old/examples/mixer/mixer.c:
7872         * tests/old/examples/xml/runxml.c: (main):
7873         * tests/old/testsuite/caps/normalisation.c:
7874         * tests/old/testsuite/debug/global.c:
7875         * tests/old/testsuite/parse/parse1.c:
7876         * tools/gst-xmlinspect.c:
7877         * win32/common/dirent.c:
7878           expand tabs
7879
7880 === release 0.10.0 ===
7881
7882 2005-12-05   <thomas (at) apestaart (dot) org>
7883
7884         * configure.ac:
7885           releasing 0.10.0, "Maroilles"
7886
7887 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7888
7889         submitted by: Funda Wang <fundawang@linux.net.cn>
7890
7891         * po/LINGUAS:
7892         * po/zh_CN.po:
7893           added Chinese (Traditional) translation
7894
7895 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7896
7897         * docs/gst/gstreamer-sections.txt:
7898         * docs/libs/tmpl/gstdataprotocol.sgml:
7899         * docs/random/thomasvs/TODO:
7900         * gst/gstutils.c:
7901         * gst/gstutils.h:
7902           fix docs
7903
7904 2005-12-05  Andy Wingo  <wingo@pobox.com>
7905
7906         patch by: Wim Taymans <wim@fluendo.com>
7907
7908         * libs/gst/base/gstbasetransform.c
7909         (gst_base_transform_prepare_output_buf)
7910         (gst_base_transform_buffer_alloc):
7911         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
7912         alloc_buffer_and_set_caps.
7913
7914         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
7915         set_caps on the source pad.
7916         (gst_pad_alloc_buffer_and_set_caps): New function, does what
7917         alloc_buffer used to do. Fixes #322874.
7918
7919         * docs/gst/gstreamer-sections.txt: 
7920         * docs/design/part-negotiation.txt: 
7921         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
7922         changes.
7923
7924 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7925
7926         patch by: Sebastien Moutte
7927
7928         * win32/MANIFEST:
7929         * win32/common/config.h.in:
7930         * win32/vs6/libgstcontroller.dsp:
7931           win32 build fixes
7932
7933 2005-12-05  Wim Taymans  <wim@fluendo.com>
7934
7935         * gst/gstcaps.c: (gst_caps_is_equal):
7936         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7937         (gst_fake_src_create):
7938         Back out previous code changes, leave doc updates, file bugs 
7939         instead. 
7940
7941 2005-12-05  Wim Taymans  <wim@fluendo.com>
7942
7943         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7944         (gst_fake_src_get_times), (gst_fake_src_create):
7945         * plugins/elements/gstfakesrc.h:
7946         Fix broken sync code.
7947
7948 2005-12-05  Wim Taymans  <wim@fluendo.com>
7949
7950         * gst/gstcaps.c: (gst_caps_is_equal):
7951         Comparing NULL against !NULL yields different caps, not a
7952         failure.
7953
7954 2005-12-05  Wim Taymans  <wim@fluendo.com>
7955
7956         * gst/gstpipeline.c:
7957         Fix small typo in docs.
7958
7959 2005-12-05  Andy Wingo  <wingo@pobox.com>
7960
7961         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
7962
7963         * gst/gst.c (init_post): remove hard-coded 0.9 location for
7964         registries/plugins with a MAJORMINOR one.
7965         (plugin_desc): Rename library from gstcoreleements to
7966         staticelements. Fixes #323222.
7967
7968 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
7969
7970         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
7971           Change debug category to 'collectpads' from 'collect_pads'
7972           (fixes #323250).
7973
7974 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
7975
7976         patch by: Sebastien Moutte
7977
7978         * libs/gst/controller/gstinterpolation.c:
7979           use convert function for uint64/double
7980         * win32/vs6/libgstcontroller.dsp:
7981           link to GLib
7982
7983 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
7984
7985         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
7986         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
7987         * gst/gstutils.h:
7988         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7989           add tests that seem to show that the guint64/gdouble conversions
7990           are correct.
7991
7992 2005-12-02  Wim Taymans  <wim@fluendo.com>
7993
7994         * gst/gstregistry.c: (gst_registry_add_path):
7995         * gst/gstregistry.h:
7996         * gst/gstregistryxml.c:
7997         Fix docs again.
7998
7999 2005-12-02  Wim Taymans  <wim@fluendo.com>
8000
8001         * gst/gstutils.c: (gst_util_uint64_scale_int64),
8002         (gst_util_uint64_scale_int):
8003         Small cleanup.
8004
8005         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8006         Add debug log line.
8007
8008         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
8009         Add FIXME.
8010
8011 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8012
8013         * win32/MANIFEST:
8014         * win32/common/config.h:
8015         * win32/vs6/gstreamer.dsw:
8016         * win32/vs6/libgstcoreelements.dsp:
8017         * win32/vs6/libgstelements.dsp:
8018           renamed core elements plugin
8019
8020 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8021
8022         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
8023         (get_candidates):
8024           do piece-wise major/minor comparison so 0.9 < 0.10
8025           also allow .exe extensions for tools
8026
8027 2005-12-02  Michael Smith  <msmith@fluendo.com>
8028
8029         * gst/gst.c:
8030           Escape a % to make gtkdoc happier; bug 322958.
8031
8032 === release 0.9.7 ===
8033
8034 2005-12-01   <thomas (at) apestaart (dot) org>
8035
8036         * configure.ac:
8037           releasing 0.9.7, "My Dog Has No Nose"
8038
8039 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
8040
8041         * common/gst-xmlinspect.py:
8042         * configure.ac:
8043         * docs/libs/tmpl/gstdataprotocol.sgml:
8044         * docs/random/release:
8045         * po/af.po:
8046         * po/az.po:
8047         * po/bg.po:
8048         * po/ca.po:
8049         * po/cs.po:
8050         * po/de.po:
8051         * po/en_GB.po:
8052         * po/fr.po:
8053         * po/it.po:
8054         * po/nb.po:
8055         * po/nl.po:
8056         * po/ru.po:
8057         * po/sq.po:
8058         * po/sr.po:
8059         * po/sv.po:
8060         * po/tr.po:
8061         * po/uk.po:
8062         * po/vi.po:
8063         * win32/common/config.h:
8064         * win32/common/config.h.in:
8065         * win32/vs6/gst_inspect.dsp:
8066         * win32/vs6/gst_launch.dsp:
8067         * win32/vs6/libgstbase.dsp:
8068         * win32/vs6/libgstelements.dsp:
8069         * win32/vs6/libgstreamer.dsp:
8070         * win32/vs7/GStreamer.vcproj:
8071         * win32/vs7/gst-inspect.vcproj:
8072         * win32/vs7/gst-launch.vcproj:
8073         * win32/vs7/libgstbase.vcproj:
8074           bump GST_MAJORMINOR to 0.10
8075           reset libtool version
8076
8077 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
8078
8079         * po/LINGUAS:
8080         * po/bg.po:
8081           Added Bulgarian translation by (Alexander Shopov)
8082
8083 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
8084
8085         * tests/check/gst/gstplugin.c:
8086           fix test
8087
8088 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
8089
8090         * common/gst-xmlinspect.py:
8091         * common/gtk-doc-plugins.mak:
8092         * configure.ac:
8093         * docs/Makefile.am:
8094         * docs/gst/Makefile.am:
8095         * docs/gst/gstreamer-docs.sgml:
8096         * docs/gst/gstreamer-sections.txt:
8097         * docs/gst/gstreamer.types:
8098         * docs/gst/gstreamer.types.in:
8099         * docs/plugins/Makefile.am:
8100         * docs/plugins/gstreamer-plugins-docs.sgml:
8101         * docs/plugins/gstreamer-plugins-sections.txt:
8102         * docs/plugins/gstreamer-plugins.types:
8103         * docs/plugins/inspect.stamp:
8104         * docs/plugins/inspect/plugin-coreelements.xml:
8105         * docs/plugins/inspect/plugin-coreindexers.xml:
8106         * docs/plugins/scanobj-build.stamp:
8107         * gstreamer.spec.in:
8108         * plugins/elements/Makefile.am:
8109         * plugins/elements/gstelements.c:
8110         * plugins/elements/gstfakesink.c:
8111         * plugins/elements/gstfakesrc.c:
8112         * plugins/elements/gstfilesink.c:
8113         * plugins/elements/gstfilesrc.c:
8114         * plugins/elements/gstqueue.c:
8115         * plugins/indexers/Makefile.am:
8116         * plugins/indexers/gstindexers.c:
8117           document core plugins in a separate document just like all the
8118           others
8119           rename these plugins to something starting with core
8120
8121 2005-12-01  Andy Wingo  <wingo@pobox.com>
8122
8123         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
8124         padding here before, but it missed the commit.
8125
8126 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8127
8128         * libs/gst/controller/gstinterpolation.c:
8129           whitespace prices have crashed, we should feel free to use some now
8130           use gst_guint64_to_gdouble
8131
8132 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8133
8134         * libs/gst/controller/gstcontroller.c:
8135         * libs/gst/controller/gsthelper.c:
8136         * libs/gst/controller/gstinterpolation.c:
8137         * libs/gst/controller/lib.c:
8138           wrap config.h include
8139
8140 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8141
8142         * docs/gst/gstreamer-sections.txt:
8143           update docs
8144
8145 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8146
8147         * plugins/elements/gstelements.c:
8148         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
8149         (gst_fd_sink__class_init), (gst_fd_sink__init),
8150         (gst_fd_sink__chain), (gst_fd_sink__set_property),
8151         (gst_fd_sink__get_property):
8152         * plugins/elements/gstfdsink.h:
8153         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
8154         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
8155         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
8156         (gst_fd_src_unlock), (gst_fd_src_set_property),
8157         (gst_fd_src_get_property), (gst_fd_src_create),
8158         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
8159         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
8160         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
8161         (gst_fd_src_uri_handler_init):
8162         * plugins/elements/gstfdsrc.h:
8163         * plugins/elements/gstqueue.c: (gst_queue_get_type):
8164           more anal cleanup
8165
8166 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
8167
8168         * docs/gst/Makefile.am:
8169         * docs/gst/gstreamer.types.in:
8170         * gst/Makefile.am:
8171           fix the docs build
8172
8173 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
8174
8175         * configure.ac:
8176         * gst/Makefile.am:
8177         * gst/gst.c:
8178         * gst/gstplugin.h:
8179         * gst/gstregistry.h:
8180         * tests/benchmarks/complexity.c:
8181         * tests/benchmarks/mass-elements.c:
8182         * tests/check/Makefile.am:
8183         * tools/Makefile.am:
8184         * tools/gst-inspect.c:
8185         * tools/gst-xmlinspect.c:
8186           various fixes to make
8187           --disable-nls --disable-registry --disable-loadsave
8188           --disable-parse --disable-gst-debug
8189           work and get the core .so down to 360444 bytes after stripping
8190
8191 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
8192
8193         * Makefile.am:
8194         * configure.ac:
8195           descend into tests
8196         * docs/random/thomasvs/TODO:
8197         * tests/Makefile.am:
8198         * tests/README:
8199           add a README
8200
8201 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
8202
8203         * win32/GStreamer.vcproj:
8204         * win32/MANIFEST:
8205         * win32/Makefile:
8206         * win32/Makefile.inspect:
8207         * win32/Makefile.launch:
8208         * win32/Makefile.register:
8209         * win32/README.txt:
8210         * win32/gst-inspect.vcproj:
8211         * win32/gst-launch.vcproj:
8212         * win32/gst-register.vcproj:
8213         * win32/gstelements.vcproj:
8214         * win32/gstgetbits.def:
8215         * win32/gstgetbits.vcproj:
8216         * win32/gstreamer-dbg.def:
8217         * win32/gstreamer.def:
8218         * win32/libgstbase.def:
8219         * win32/libgstbase.vcproj:
8220         * win32/link_oldruntime.c:
8221         * win32/mman.c:
8222         * win32/mman.h:
8223         * win32/mman.inl:
8224         * win32/msvc71.sln:
8225           move even more stuff, win32/ is nice and clean now
8226
8227 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
8228
8229         * libs/gst/control/.cvsignore:
8230         * win32/MANIFEST:
8231         * win32/config.h:
8232         * win32/dirent.c:
8233         * win32/dirent.h:
8234         * win32/gstbytestream.def:
8235         * win32/gstbytestream.vcproj:
8236         * win32/gstconfig.h:
8237         * win32/gstenumtypes.c:
8238         * win32/gstenumtypes.h:
8239         * win32/gstoptimalscheduler.vcproj:
8240         * win32/gstversion.h:
8241         * win32/gtchar.h:
8242         * win32/testsuite/bins.vcproj:
8243         * win32/testsuite/bytestream.vcproj:
8244         * win32/testsuite/caps.vcproj:
8245         * win32/testsuite/cleanup.vcproj:
8246         * win32/testsuite/clock.vcproj:
8247         * win32/testsuite/debug.vcproj:
8248         * win32/testsuite/dlopen.vcproj:
8249         * win32/testsuite/dynparams.vcproj:
8250         * win32/testsuite/elements.vcproj:
8251         * win32/testsuite/ghostpads.vcproj:
8252         * win32/testsuite/indexers.vcproj:
8253         * win32/testsuite/negotiation.vcproj:
8254         * win32/testsuite/parse.vcproj:
8255         * win32/testsuite/plugin.vcproj:
8256         * win32/testsuite/refcounting.vcproj:
8257         * win32/testsuite/schedulers.vcproj:
8258         * win32/testsuite/states.vcproj:
8259         * win32/testsuite/tags.vcproj:
8260         * win32/testsuite/threads.vcproj:
8261           remove old win32 stuff that isn't maintained and should be
8262           reorganized
8263
8264 2005-11-30  Andy Wingo  <wingo@pobox.com>
8265
8266         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
8267         loading the gst.interfaces python module bork.
8268
8269         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
8270         available since GLib 2.2. Fixes #318031.
8271
8272 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
8273
8274         * Makefile.am:
8275         * check/.cvsignore:
8276         * check/Makefile.am:
8277         * check/elements/.cvsignore:
8278         * check/elements/fakesrc.c:
8279         * check/elements/fdsrc.c:
8280         * check/elements/identity.c:
8281         * check/generic/.cvsignore:
8282         * check/generic/states.c:
8283         * check/gst-libs/.cvsignore:
8284         * check/gst-libs/controller.c:
8285         * check/gst-libs/gdp.c:
8286         * check/gst/.cvsignore:
8287         * check/gst/capslist.h:
8288         * check/gst/gst.c:
8289         * check/gst/gstbin.c:
8290         * check/gst/gstbuffer.c:
8291         * check/gst/gstbus.c:
8292         * check/gst/gstcaps.c:
8293         * check/gst/gstelement.c:
8294         * check/gst/gstevent.c:
8295         * check/gst/gstghostpad.c:
8296         * check/gst/gstiterator.c:
8297         * check/gst/gstmessage.c:
8298         * check/gst/gstminiobject.c:
8299         * check/gst/gstobject.c:
8300         * check/gst/gstpad.c:
8301         * check/gst/gstpipeline.c:
8302         * check/gst/gstplugin.c:
8303         * check/gst/gstsegment.c:
8304         * check/gst/gststructure.c:
8305         * check/gst/gstsystemclock.c:
8306         * check/gst/gsttag.c:
8307         * check/gst/gstutils.c:
8308         * check/gst/gstvalue.c:
8309         * check/net/.cvsignore:
8310         * check/net/gstnetclientclock.c:
8311         * check/net/gstnettimeprovider.c:
8312         * check/pipelines/.cvsignore:
8313         * check/pipelines/cleanup.c:
8314         * check/pipelines/simple_launch_lines.c:
8315         * check/pipelines/stress.c:
8316         * check/states/.cvsignore:
8317         * check/states/sinks.c:
8318         * configure.ac:
8319         * examples/Makefile.am:
8320         * examples/appreader/.cvsignore:
8321         * examples/appreader/Makefile.am:
8322         * examples/appreader/appreader.c:
8323         * examples/controller/.cvsignore:
8324         * examples/controller/Makefile.am:
8325         * examples/controller/audio-example.c:
8326         * examples/cutter/.cvsignore:
8327         * examples/cutter/Makefile.am:
8328         * examples/cutter/cutter.c:
8329         * examples/cutter/cutter.h:
8330         * examples/events/Makefile.am:
8331         * examples/events/seek.c:
8332         * examples/helloworld/.cvsignore:
8333         * examples/helloworld/Makefile.am:
8334         * examples/helloworld/helloworld.c:
8335         * examples/helloworld2/.cvsignore:
8336         * examples/helloworld2/Makefile.am:
8337         * examples/helloworld2/helloworld2.c:
8338         * examples/launch/.cvsignore:
8339         * examples/launch/Makefile.am:
8340         * examples/launch/mp3parselaunch.c:
8341         * examples/launch/mp3play:
8342         * examples/manual/.cvsignore:
8343         * examples/manual/Makefile.am:
8344         * examples/manual/extract.pl:
8345         * examples/metadata/Makefile.am:
8346         * examples/metadata/read-metadata.c:
8347         * examples/mixer/.cvsignore:
8348         * examples/mixer/Makefile.am:
8349         * examples/mixer/mixer.c:
8350         * examples/mixer/mixer.h:
8351         * examples/pingpong/.cvsignore:
8352         * examples/pingpong/Makefile.am:
8353         * examples/pingpong/pingpong.c:
8354         * examples/plugins/.cvsignore:
8355         * examples/plugins/Makefile.am:
8356         * examples/plugins/example.c:
8357         * examples/plugins/example.h:
8358         * examples/pwg/.cvsignore:
8359         * examples/pwg/Makefile.am:
8360         * examples/pwg/extract.pl:
8361         * examples/queue/.cvsignore:
8362         * examples/queue/Makefile.am:
8363         * examples/queue/queue.c:
8364         * examples/queue2/.cvsignore:
8365         * examples/queue2/Makefile.am:
8366         * examples/queue2/queue2.c:
8367         * examples/queue3/.cvsignore:
8368         * examples/queue3/Makefile.am:
8369         * examples/queue3/queue3.c:
8370         * examples/queue4/.cvsignore:
8371         * examples/queue4/Makefile.am:
8372         * examples/queue4/queue4.c:
8373         * examples/retag/.cvsignore:
8374         * examples/retag/Makefile.am:
8375         * examples/retag/retag.c:
8376         * examples/retag/transcode.c:
8377         * examples/thread/.cvsignore:
8378         * examples/thread/Makefile.am:
8379         * examples/thread/thread.c:
8380         * examples/typefind/.cvsignore:
8381         * examples/typefind/Makefile.am:
8382         * examples/typefind/typefind.c:
8383         * examples/xml/.cvsignore:
8384         * examples/xml/Makefile.am:
8385         * examples/xml/createxml.c:
8386         * examples/xml/runxml.c:
8387         * tests/Makefile.am:
8388         * tests/check/Makefile.am:
8389         * testsuite/.cvsignore:
8390         * testsuite/Makefile.am:
8391         * testsuite/Rules:
8392         * testsuite/caps/.cvsignore:
8393         * testsuite/caps/Makefile.am:
8394         * testsuite/caps/app_fixate.c:
8395         * testsuite/caps/audioscale.c:
8396         * testsuite/caps/caps.c:
8397         * testsuite/caps/caps.h:
8398         * testsuite/caps/caps_strings:
8399         * testsuite/caps/compatibility.c:
8400         * testsuite/caps/deserialize.c:
8401         * testsuite/caps/enumcaps.c:
8402         * testsuite/caps/eratosthenes.c:
8403         * testsuite/caps/filtercaps.c:
8404         * testsuite/caps/fixed.c:
8405         * testsuite/caps/fraction-convert.c:
8406         * testsuite/caps/fraction-multiply-and-zero.c:
8407         * testsuite/caps/intersect2.c:
8408         * testsuite/caps/intersection.c:
8409         * testsuite/caps/normalisation.c:
8410         * testsuite/caps/random.c:
8411         * testsuite/caps/renegotiate.c:
8412         * testsuite/caps/sets.c:
8413         * testsuite/caps/simplify.c:
8414         * testsuite/caps/string-conversions.c:
8415         * testsuite/caps/structure.c:
8416         * testsuite/caps/subtract.c:
8417         * testsuite/caps/union.c:
8418         * testsuite/debug/.cvsignore:
8419         * testsuite/debug/Makefile.am:
8420         * testsuite/debug/category.c:
8421         * testsuite/debug/commandline.c:
8422         * testsuite/debug/global.c:
8423         * testsuite/debug/output.c:
8424         * testsuite/debug/printf_extension.c:
8425         * testsuite/dlopen/.cvsignore:
8426         * testsuite/dlopen/Makefile.am:
8427         * testsuite/dlopen/dlopen_gst.c:
8428         * testsuite/dlopen/loadgst.c:
8429         * testsuite/elements/.cvsignore:
8430         * testsuite/elements/Makefile.am:
8431         * testsuite/elements/gst-inspect-check.in:
8432         * testsuite/elements/struct_i386.h:
8433         * testsuite/elements/struct_size.c:
8434         * testsuite/indexers/.cvsignore:
8435         * testsuite/indexers/Makefile.am:
8436         * testsuite/indexers/cache1.c:
8437         * testsuite/indexers/indexdump.c:
8438         * testsuite/parse/.cvsignore:
8439         * testsuite/parse/Makefile.am:
8440         * testsuite/parse/parse1.c:
8441         * testsuite/parse/parse2.c:
8442         * testsuite/plugin/.cvsignore:
8443         * testsuite/plugin/Makefile.am:
8444         * testsuite/plugin/README:
8445         * testsuite/plugin/dynamic.c:
8446         * testsuite/plugin/linked.c:
8447         * testsuite/plugin/loading.c:
8448         * testsuite/plugin/registry.c:
8449         * testsuite/plugin/static.c:
8450         * testsuite/plugin/static2.c:
8451         * testsuite/plugin/testplugin.c:
8452         * testsuite/plugin/testplugin2.c:
8453         * testsuite/plugin/testplugin2_s.c:
8454         * testsuite/plugin/testplugin_s.c:
8455         * testsuite/refcounting/.cvsignore:
8456         * testsuite/refcounting/Makefile.am:
8457         * testsuite/refcounting/bin.c:
8458         * testsuite/refcounting/element.c:
8459         * testsuite/refcounting/element_pad.c:
8460         * testsuite/refcounting/mainloop.c:
8461         * testsuite/refcounting/mem.c:
8462         * testsuite/refcounting/mem.h:
8463         * testsuite/refcounting/object.c:
8464         * testsuite/refcounting/pad.c:
8465         * testsuite/refcounting/sched.c:
8466         * testsuite/refcounting/thread.c:
8467         * testsuite/states/.cvsignore:
8468         * testsuite/states/Makefile.am:
8469         * testsuite/states/bin.c:
8470         * testsuite/states/locked.c:
8471         * testsuite/states/parent.c:
8472         * testsuite/threads/.cvsignore:
8473         * testsuite/threads/159566.c:
8474         * testsuite/threads/159852.c:
8475         * testsuite/threads/Makefile.am:
8476         * testsuite/threads/queue.c:
8477         * testsuite/threads/signals.c:
8478         * testsuite/threads/staticrec.c:
8479         * testsuite/threads/thread.c:
8480         * testsuite/threads/threadb.c:
8481         * testsuite/threads/threadc.c:
8482         * testsuite/threads/threadd.c:
8483         * testsuite/threads/threade.c:
8484         * testsuite/threads/threadf.c:
8485         * testsuite/threads/threadg.c:
8486         * testsuite/threads/threadh.c:
8487         * testsuite/threads/threadi.c:
8488           move all of these under tests
8489
8490 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
8491
8492         * configure.ac:
8493         * tests/Makefile.am:
8494           fix distcheck
8495
8496 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
8497
8498         * docs/gst/gstreamer-sections.txt:
8499         * tests/sched/.cvsignore:
8500         * tests/sched/Makefile.am:
8501         * tests/sched/cases/(fs-fs).xml:
8502         * tests/sched/cases/(fs-i-fs).xml:
8503         * tests/sched/cases/(fs-i-i-fs).xml:
8504         * tests/sched/cases/(fs-i-q[i-fs]).xml:
8505         * tests/sched/dynamic-pipeline.c:
8506         * tests/sched/interrupt1.c:
8507         * tests/sched/interrupt2.c:
8508         * tests/sched/interrupt3.c:
8509         * tests/sched/runtestcases:
8510         * tests/sched/runxml.c:
8511         * tests/sched/sched-stress.c:
8512         * tests/sched/sort.c:
8513         * tests/sched/testcases:
8514         * tests/sched/testcases1.tc:
8515         * tests/seeking/.cvsignore:
8516         * tests/seeking/Makefile.am:
8517         * tests/seeking/seeking1.c:
8518         * tests/threadstate/.cvsignore:
8519         * tests/threadstate/Makefile.am:
8520         * tests/threadstate/test1.c:
8521         * tests/threadstate/test2.c:
8522         * tests/threadstate/threadstate1.c:
8523         * tests/threadstate/threadstate2.c:
8524         * tests/threadstate/threadstate3.c:
8525         * tests/threadstate/threadstate4.c:
8526         * tests/threadstate/threadstate5.c:
8527           remove obsolete tests
8528         * configure.ac:
8529         * tests/bench-complexity.scm:
8530         * tests/bench-mass_elements.scm:
8531         * tests/complexity.c:
8532         * tests/complexity.gnuplot:
8533         * tests/instantiate/.cvsignore:
8534         * tests/instantiate/Makefile.am:
8535         * tests/instantiate/caps.c:
8536         * tests/mass_elements.c:
8537         * tests/network-clock-utils.scm:
8538         * tests/network-clock.scm:
8539         * tests/plot-data:
8540         First pass at cleaning up tests/ dir before moving the rest
8541         Combined with CVS surgery
8542
8543 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
8544
8545         * po/POTFILES.in:
8546           queue has moved, update
8547
8548 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
8549
8550         * docs/gst/gstreamer-sections.txt:
8551           remove double entries from the docs
8552         * gst/gst_private.h:
8553         * gst/gstinfo.c: (_gst_debug_init):
8554           remove the THREAD debug category
8555         * gst/Makefile.am:
8556         * gst/gstqueue.c:
8557         * gst/gstqueue.h:
8558         * docs/gst/gstreamer.types:
8559         * plugins/elements/gstqueue.c: (gst_queue_get_type),
8560         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
8561           completely move queue and fix up debugging categories
8562
8563 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
8564
8565         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8566           make initialization portable, using LL is not
8567
8568 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
8569
8570         * win32/common/gstconfig.h:
8571           add large padding
8572
8573 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
8574
8575         * win32/common/libgstreamer.def:
8576           rename symbols; sort base section
8577
8578 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
8579
8580         * gst/gstclock.c: (do_linear_regression):
8581           remove crack non-portable handrolled DEBUG macro
8582
8583 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
8584
8585         * docs/random/release:
8586           update notes
8587         * win32/common/gstenumtypes.c: (register_gst_object_flags),
8588         (gst_object_flags_get_type), (register_gst_bin_flags),
8589         (gst_bin_flags_get_type), (register_gst_buffer_flag),
8590         (gst_buffer_flag_get_type), (register_gst_bus_flags),
8591         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
8592         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
8593         (gst_caps_flags_get_type), (register_gst_clock_return),
8594         (gst_clock_return_get_type), (register_gst_clock_entry_type),
8595         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
8596         (gst_clock_flags_get_type), (register_gst_state),
8597         (gst_state_get_type), (register_gst_state_change_return),
8598         (gst_state_change_return_get_type), (register_gst_state_change),
8599         (gst_state_change_get_type), (register_gst_element_flags),
8600         (gst_element_flags_get_type), (register_gst_core_error),
8601         (gst_core_error_get_type), (register_gst_library_error),
8602         (gst_library_error_get_type), (register_gst_resource_error),
8603         (gst_resource_error_get_type), (register_gst_stream_error),
8604         (gst_stream_error_get_type), (register_gst_event_type_flags),
8605         (gst_event_type_flags_get_type), (register_gst_event_type),
8606         (gst_event_type_get_type), (register_gst_seek_type),
8607         (gst_seek_type_get_type), (register_gst_seek_flags),
8608         (gst_seek_flags_get_type), (register_gst_format),
8609         (gst_format_get_type), (register_gst_index_certainty),
8610         (gst_index_certainty_get_type), (register_gst_index_entry_type),
8611         (gst_index_entry_type_get_type),
8612         (register_gst_index_lookup_method),
8613         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
8614         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
8615         (gst_index_resolver_method_get_type), (register_gst_index_flags),
8616         (gst_index_flags_get_type), (register_gst_debug_level),
8617         (gst_debug_level_get_type), (register_gst_debug_color_flags),
8618         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
8619         (gst_iterator_result_get_type), (register_gst_iterator_item),
8620         (gst_iterator_item_get_type), (register_gst_message_type),
8621         (gst_message_type_get_type), (register_gst_mini_object_flags),
8622         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
8623         (gst_pad_link_return_get_type), (register_gst_flow_return),
8624         (gst_flow_return_get_type), (register_gst_activate_mode),
8625         (gst_activate_mode_get_type), (register_gst_pad_direction),
8626         (gst_pad_direction_get_type), (register_gst_pad_flags),
8627         (gst_pad_flags_get_type), (register_gst_pad_presence),
8628         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
8629         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
8630         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
8631         (gst_plugin_error_get_type), (register_gst_plugin_flags),
8632         (gst_plugin_flags_get_type), (register_gst_rank),
8633         (gst_rank_get_type), (register_gst_query_type),
8634         (gst_query_type_get_type), (register_gst_tag_merge_mode),
8635         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
8636         (gst_tag_flag_get_type), (register_gst_task_state),
8637         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
8638         (gst_alloc_trace_flags_get_type),
8639         (register_gst_type_find_probability),
8640         (gst_type_find_probability_get_type), (register_gst_uri_type),
8641         (gst_uri_type_get_type), (register_gst_parse_error),
8642         (gst_parse_error_get_type):
8643         * win32/common/gstenumtypes.h:
8644         * win32/common/gstversion.h:
8645           update visual studio generated files
8646
8647 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
8648
8649         * win32/vs6/libgstbase.dsp:
8650         * win32/vs6/libgstelements.dsp:
8651           update project files for new locations
8652
8653 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
8654
8655         * Makefile.am:
8656           remove some files
8657         * README:
8658           reinstate and update
8659         * DEVEL:
8660         * REQUIREMENTS:
8661           removed
8662         * LICENSE:
8663         * docs/random/LICENSE:
8664           moved to random
8665
8666 2005-11-30  Edward Hervey  <edward@fluendo.com>
8667
8668         * gst/gsttypefind.c: (gst_type_find_register):
8669         * gst/gsttypefind.h:
8670         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
8671         (gst_type_find_factory_dispose):
8672         * gst/gsttypefindfactory.h:
8673         Fix memory leak in GstTypeFindFactory.
8674
8675 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
8676
8677         * gst/gst.c:
8678         * plugins/elements/Makefile.am:
8679         * plugins/elements/gstelements.c:
8680         * plugins/elements/gstqueue.c:
8681           move queue from core to the elements plugin
8682
8683 2005-11-29  Andy Wingo  <wingo@pobox.com>
8684
8685         * libs/gst/base/gstbasetransform.h: 
8686         * libs/gst/base/gstbasesrc.h: 
8687         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
8688
8689         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
8690         of pointers by which to pad very extensible base classes (like the
8691         ones in libs/gst/base).
8692
8693 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
8694
8695         * docs/gst/gstreamer-docs.sgml:
8696         * docs/gst/gstreamer-sections.txt:
8697         * docs/libs/gstreamer-libs-docs.sgml:
8698         * docs/libs/gstreamer-libs-sections.txt:
8699           moving documentation from core to lib
8700
8701 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
8702
8703         * check/Makefile.am:
8704         * configure.ac:
8705         * docs/gst/Makefile.am:
8706         * gst/Makefile.am:
8707         * gst/base/.cvsignore:
8708         * gst/base/Makefile.am:
8709         * gst/base/README:
8710         * gst/base/gstadapter.c:
8711         * gst/base/gstadapter.h:
8712         * gst/base/gstbasesink.c:
8713         * gst/base/gstbasesink.h:
8714         * gst/base/gstbasesrc.c:
8715         * gst/base/gstbasesrc.h:
8716         * gst/base/gstbasetransform.c:
8717         * gst/base/gstbasetransform.h:
8718         * gst/base/gstcollectpads.c:
8719         * gst/base/gstcollectpads.h:
8720         * gst/base/gstpushsrc.c:
8721         * gst/base/gstpushsrc.h:
8722         * gst/base/gsttypefindhelper.c:
8723         * gst/base/gsttypefindhelper.h:
8724         * gst/check/Makefile.am:
8725         * gst/check/gstcheck.c:
8726         * gst/check/gstcheck.h:
8727         * gst/net/Makefile.am:
8728         * gst/net/gstnet.h:
8729         * gst/net/gstnetclientclock.c:
8730         * gst/net/gstnetclientclock.h:
8731         * gst/net/gstnettimepacket.c:
8732         * gst/net/gstnettimepacket.h:
8733         * gst/net/gstnettimeprovider.c:
8734         * gst/net/gstnettimeprovider.h:
8735         * libs/gst/Makefile.am:
8736         * libs/gst/base/Makefile.am:
8737         * libs/gst/base/gstbasetransform.c:
8738         * libs/gst/check/Makefile.am:
8739         * plugins/elements/Makefile.am:
8740         * po/POTFILES.in:
8741           CVS surgery + support to move base, check, and net out of gst
8742           and into libs/gst
8743
8744 2005-11-29  Andy Wingo  <wingo@pobox.com>
8745
8746         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
8747
8748         * gst/gststructure.h (struct _GstStructure): Only one pointer of
8749         padding.
8750
8751         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
8752
8753         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
8754
8755         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
8756
8757         * gst/gstobject.h: (struct _GstObject): Only one pointer of
8758         padding; reduces object size by about 30%. We don't expect
8759         anything else to go into gstobject.
8760
8761         * gst/gstminiobject.h (struct _GstMiniObject)
8762         (struct _GstMiniObjectClass): Only one pointer of padding; the
8763         payload is only a pointer and two ints anyway. For the class there
8764         are only two methods as well.
8765         
8766         * gst/gstelement.h (struct _GstElementClass): Removed
8767         the state_changed signal callback, it is not used.
8768
8769 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8770
8771         * docs/gst/gstreamer.types:
8772           fix includes, though they are a little dinky
8773
8774 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
8775
8776         * check/Makefile.am:
8777           look in the right place for elements, a lot more chance of
8778           success
8779         * gst/Makefile.am:
8780           remove indexers and elements subdirs
8781         * plugins/Makefile.am:
8782           make indexers conditional
8783
8784 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
8785
8786         * Makefile.am:
8787         * configure.ac:
8788         * plugins/elements/Makefile.am:
8789         * plugins/elements/gstcapsfilter.c:
8790         * plugins/elements/gstfilesink.c:
8791         * plugins/elements/gstfilesrc.c:
8792         * plugins/elements/gstidentity.c:
8793         * plugins/indexers/Makefile.am:
8794           do CVS surgery and related build fixery to move elements
8795           and indexers in a new gstreamer/plugins directory, out of the
8796           gst/ directory
8797
8798 2005-11-29  Andy Wingo  <wingo@pobox.com>
8799
8800         * check/Makefile.am:
8801         * pkgconfig/gstreamer-net-uninstalled.pc.in:
8802         * pkgconfig/gstreamer-net.pc.in:
8803         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
8804         #322257.
8805
8806 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8807
8808         * tools/Makefile.am:
8809         * tools/gst-complete.1.in:
8810         * tools/gst-complete.c:
8811         * tools/gst-compprep.1.in:
8812         * tools/gst-compprep.c:
8813           removing -compprep and -complete
8814
8815 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8816
8817         * gst/gstevent.c: (gst_event_new_new_segment),
8818         (gst_event_parse_new_segment):
8819         * gst/gstevent.h:
8820           fix #320529 - clean up new_segment API and structure.
8821           Let's hope everyone was using the methods, and not the structure.
8822
8823 2005-11-29  Edward Hervey  <edward@fluendo.com>
8824
8825         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8826         (gst_base_sink_event), (gst_base_sink_do_sync),
8827         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8828         Properly handle non GST_FORMAT_TIME segment
8829         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8830         Properly handle non GST_FORMAT_TIME segment
8831         * gst/gstsegment.c:
8832         This function is valid if the accumulator is 0 and the format
8833         is different from the requested format.
8834         
8835 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
8836
8837         * docs/gst/gstreamer-sections.txt:
8838         Add gst_query_new_seeking and gst_query_parse_seeking to the
8839         docs.
8840
8841 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
8842
8843         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8844           Treat a pad alloc with new caps the same as if we were not
8845           negotiated, in order to allow a changing upstream output
8846           to produce a new format of data.
8847
8848 2005-11-29  Edward Hervey  <edward@fluendo.com>
8849
8850         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
8851         (gst_base_transform_event), (gst_base_transform_eventfunc):
8852         The event virtual method is now properly implemented, with a default
8853         handler
8854         Sub classes should call the parent_class event method. They should
8855         return FALSE if they had a problem handling the given event, or don't
8856         want GstBaseTransform to send that even downstream
8857         * gst/elements/gstidentity.c: (gst_identity_class_init),
8858         (gst_identity_init), (gst_identity_event),
8859         (gst_identity_transform_ip), (gst_identity_set_property),
8860         (gst_identity_get_property):
8861         * gst/elements/gstidentity.h:
8862         Added the single-segment boolean property.
8863         If set to TRUE, it will output a single segment of data, starting from
8864         0, will eat up all incoming newsegment, and modify the timestamp of the
8865         buffers accordingly
8866
8867 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
8868
8869         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
8870           Don't ref NULL target pad (#322751). Improve docs.
8871
8872 2005-11-29  Michael Smith  <msmith@fluendo.com>
8873
8874         * gst/gstregistryxml.c: (load_plugin):
8875           Don't crash if we failed to load a feature from a plugin. 
8876
8877 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8878
8879         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
8880         (GST_START_TEST):
8881           use more check API and less GLib API
8882
8883 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8884
8885         * Makefile.am:
8886           don't run checks if we don't have check
8887         * common/check.mak:
8888           remove the registry when running make torture
8889         * docs/gst/gstreamer-sections.txt:
8890           remove second multiply
8891         * gst/gstqueue.c: (gst_queue_loop):
8892           fix a compile warning when disabling debug
8893
8894 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
8895
8896         * gst/gstinfo.h:
8897         Hey! Let's print the pad name if the pointer != NULL instead
8898         of when it == NULL :-)
8899
8900 2005-11-28  Wim Taymans  <wim@fluendo.com>
8901
8902         * check/gst/gstutils.c: (GST_START_TEST):
8903         Updated check, add some scaling accuracy checking code.
8904
8905         * gst/gstutils.c: (gst_util_div128_64),
8906         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
8907         (gst_util_uint64_scale_int):
8908         Fix 6 times faster division code. Optimize for common 
8909         1/1 and less common X/1 cases.
8910
8911 2005-11-28  Wim Taymans  <wim@fluendo.com>
8912
8913         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8914         More checks.
8915
8916         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
8917         (do_linear_regression), (gst_clock_add_observation):
8918         Cleanups.
8919         Release lock when the clock cannot be slaved.
8920         Catch the case where the regression returned an invalid denominator.
8921
8922         * gst/gstutils.c: (gst_util_div128_64_iterate),
8923         (gst_util_div128_64), (gst_util_uint64_scale_int64),
8924         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
8925         Add protentially more performant non-iterative 128/64 divide function
8926         that unfortunatly does not work yet.
8927         Shortcut the trivial 0/X = 0 case.
8928         Remove the warnings on overflow.
8929
8930 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8931
8932         * gst/gstplugin.c: (gst_plugin_register_func):
8933           everything causing a plugin not to load should be at least a WARNING
8934
8935 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
8936
8937         * docs/random/ensonic/dparams.txt:
8938           some TODOs for the next dev cycle
8939         * libs/gst/controller/gstcontroller.c:
8940         (gst_controlled_property_set_interpolation_mode),
8941         (gst_controlled_property_new):
8942         * libs/gst/controller/gstcontroller.h:
8943           use base type to assign acccessor functions
8944
8945 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
8946
8947         * check/Makefile.am:
8948         Oops, that should have been top_srcdir
8949
8950 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
8951
8952         * check/Makefile.am:
8953         * check/elements/fdsrc.c: (GST_START_TEST):
8954         Use a cmdline define to specify the location of a file to use for
8955         testing, to avoid breaking distcheck.
8956
8957 2005-11-28  Andy Wingo  <wingo@pobox.com>
8958
8959         * gst/gstpad.c (fixate_value): Use array functions for arrays.
8960
8961 2005-11-28  Edward Hervey  <edward@fluendo.com>
8962
8963         * tools/gst-launch.c: (main):
8964         Clarify the output strings, makes it easier to translate.
8965         Fixes #322626
8966
8967 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8968
8969         * gst/Makefile.am:
8970           don't try and build net if we don't even have <sys/socket.h>
8971
8972 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
8973
8974         * check/Makefile.am:
8975         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
8976         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
8977           Add tests for fdsrc seekability
8978
8979         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
8980         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
8981         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
8982         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
8983         * gst/elements/gstfdsrc.h:
8984           fdsrc should not be a 'live' source.
8985           Implement seeking on seekable fd's.
8986
8987         * gst/gstquery.c: (gst_query_new_seeking),
8988         (gst_query_parse_seeking):
8989         * gst/gstquery.h:
8990           Implement SEEKING query functions: 
8991             *_new_seeking and *_parse_seeking
8992
8993 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
8994
8995         * gst/gstelement.c: (gst_element_dispose):
8996           don't loop forever
8997
8998         * gst/gstiterator.c:
8999         * gst/gststructure.c:
9000           doc fixes
9001
9002         * libs/gst/controller/gstcontroller.c:
9003         (gst_controlled_property_set_interpolation_mode):
9004         * libs/gst/controller/gstcontroller.h:
9005         * libs/gst/controller/gstinterpolation.c:
9006         (interpolate_none_get_enum_value_array):
9007           support controlling enums
9008
9009 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
9010
9011         * gst/gstvalue.c:
9012           Improve documentation for gst_value_union().
9013
9014         * gst/gstvalue.h:
9015           Change return value for union, intersect and subtract functions
9016           from gint to gboolean.
9017
9018 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
9019
9020         * gst/gstvalue.c: (gst_value_serialize_any_list),
9021         (gst_value_transform_any_list_string),
9022         (gst_value_deserialize_list), (gst_value_deserialize_array),
9023         (gst_value_set_int_range), (gst_value_deserialize_int_range),
9024         (gst_value_set_double_range), (gst_value_deserialize_double_range),
9025         (gst_value_set_fraction_range_full),
9026         (gst_value_deserialize_fraction_range),
9027         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
9028         (gst_value_deserialize_boolean),
9029         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
9030         (gst_value_serialize_float), (gst_value_deserialize_float),
9031         (gst_string_wrap), (gst_value_deserialize_string),
9032         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
9033         (gst_value_union_int_range_int_range),
9034         (gst_value_intersect_int_range_int_range),
9035         (gst_value_intersect_double_range_double_range),
9036         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
9037         (gst_value_subtract_int_range_int_range),
9038         (gst_value_subtract_double_double_range),
9039         (gst_value_subtract_double_range_double_range),
9040         (gst_value_deserialize_fraction):
9041         * gst/gstvalue.h:
9042           Use gint, gdouble and gchar in our API instead of int, double and
9043           char (and make usage in gstvalue.c more consistent).
9044
9045 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
9046
9047         * check/Makefile.am:
9048         * libs/gst/controller/Makefile.am:
9049         * libs/gst/dataprotocol/Makefile.am:
9050           fix up Makefile.am and remove GST_ENABLE_NEW
9051
9052 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
9053
9054         * configure.ac:
9055         * gst/Makefile.am:
9056         * gst/base/Makefile.am:
9057         * gst/check/Makefile.am:
9058         * gst/elements/Makefile.am:
9059         * gst/net/Makefile.am:
9060           update LDFLAGS use some more
9061
9062 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
9063
9064         * common/m4/gst-doc.m4:
9065           Fixes #312589
9066
9067 2005-11-26  Edward Hervey  <edward@fluendo.com>
9068
9069         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9070         This shouldn't issue a g_warning since it returns NULL if it
9071         couldn't find the plugin, and all functions using this behave
9072         properly on a NULL return. Switching to a GST_WARNING.
9073
9074 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
9075
9076         * gst/gstbin.c: (gst_bin_handle_message_func):
9077         Don't leak clock messages.
9078
9079 2005-11-25  Wim Taymans  <wim@fluendo.com>
9080
9081         * gst/gstutils.c: (gst_util_uint64_scale_int64),
9082         (gst_util_uint64_scale_int):
9083         Optimisations, remove unneeded vars.
9084
9085 2005-11-25  Wim Taymans  <wim@fluendo.com>
9086
9087         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9088         Added more checks for the high precision uint64 cases.
9089
9090         * gst/gstutils.c: (gst_util_uint64_scale_int64),
9091         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
9092         Implement high precision (guint64 * guint64) / guint64.
9093
9094 2005-11-24  Wim Taymans  <wim@fluendo.com>
9095
9096         * gst/base/gstbasesrc.c: (gst_base_src_query):
9097         Fix wrong percentage query.
9098
9099         * gst/gstutils.c: (gst_util_uint64_scale),
9100         (gst_util_uint64_scale_int):
9101         Add some more common cases that can be handled 
9102         efficiently to _scale.
9103
9104 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9105
9106         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
9107         (gst_mini_object_suite):
9108           don't use check calls from threads; check probably isn't
9109           threadsafe and using a lock to make it threadsafe would
9110           defeat the purpose of this check
9111         * gst/check/gstcheck.c:
9112         * gst/check/gstcheck.h:
9113           use GST_DEBUG some more
9114
9115 2005-11-24  Wim Taymans  <wim@fluendo.com>
9116
9117         * gst/gstutils.c: (gst_util_uint64_scale),
9118         (gst_util_uint64_scale_int):
9119         Chain trivial case to _scale_int.
9120
9121 2005-11-24  Wim Taymans  <wim@fluendo.com>
9122
9123         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9124         Added test for scaling.
9125
9126         * gst/gstclock.h:
9127         Small doc fix.
9128
9129         * gst/gstutils.c: (gst_util_uint64_scale_int):
9130         Implemented high precision scaling code.
9131
9132 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
9133
9134         * gst/gstinfo.h:
9135           do not crash on pad==NULL
9136
9137 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9138
9139         Patch by: Stefan Kost
9140
9141         * common/gtk-doc.mak:
9142         * docs/gst/Makefile.am:
9143         * docs/libs/Makefile.am:
9144           Fix distcheck issues for the libraries docs build
9145           Closes #319599.
9146
9147 2005-11-24  Michael Smith <msmith@fluendo.com>
9148
9149         * docs/manual/basics-helloworld.xml:
9150           Fix bug #315027: memory leak in example code in docs.
9151
9152 2005-11-24  Michael Smith <msmith@fluendo.com>
9153
9154         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9155           Unlock the PREROLL_LOCK in a failure case.
9156
9157 2005-11-24  Wim Taymans  <wim@fluendo.com>
9158
9159         * docs/gst/gstreamer-sections.txt:
9160         * gst/base/gstadapter.h:
9161         * gst/base/gstbasesink.h:
9162         * gst/base/gstbasesrc.h:
9163         * gst/base/gstbasetransform.h:
9164         * gst/base/gstpushsrc.h:
9165         * gst/elements/gstfakesink.h:
9166         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
9167         * gst/elements/gstfakesrc.h:
9168         * gst/elements/gstfilesink.h:
9169         * gst/elements/gstfilesrc.h:
9170         * gst/gst.c:
9171         * gst/gstbin.c:
9172         * gst/gstbuffer.c: (_gst_buffer_copy):
9173         * gst/gstbus.h:
9174         * gst/gstcaps.c:
9175         * gst/gstchildproxy.c:
9176         * gst/gstclock.c:
9177         * gst/gstelement.c:
9178         * gst/gstelementfactory.c:
9179         * gst/gstelementfactory.h:
9180         * gst/gstevent.c:
9181         * gst/gstghostpad.h:
9182         * gst/gstindex.h:
9183         * gst/gstinterface.h:
9184         * gst/gstminiobject.c:
9185         * gst/gstminiobject.h:
9186         * gst/gstpad.c:
9187         * gst/gstpad.h:
9188         * gst/gstpadtemplate.h:
9189         * gst/gstpipeline.h:
9190         * gst/gstpluginfeature.h:
9191         * gst/gstquery.h:
9192         * gst/gstqueue.h:
9193         * gst/gsttaglist.c:
9194         * gst/gsttaglist.h:
9195         * gst/gsttagsetter.c:
9196         * gst/gsttagsetter.h:
9197         * gst/gsttrace.c:
9198         * gst/gsttrace.h:
9199         * gst/gsttypefind.h:
9200         * gst/gsturi.h:
9201         * gst/gstvalue.c:
9202         * gst/net/gstnetclientclock.c:
9203         * gst/net/gstnetclientclock.h:
9204         * gst/net/gstnettimepacket.c:
9205         * gst/net/gstnettimeprovider.c:
9206         * gst/net/gstnettimeprovider.h:
9207         Doc fixes.
9208
9209 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
9210
9211         * configure.ac: back to HEAD
9212
9213 === release 0.9.6 ===
9214
9215 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
9216
9217         * configure.ac:
9218           releasing 0.9.6, "Always On Time"
9219
9220 2005-11-23  Wim Taymans  <wim@fluendo.com>
9221
9222         * docs/gst/gstreamer-sections.txt:
9223         * gst/glib-compat.c:
9224         * gst/gsttagsetter.c:
9225         * gst/gstvalue.c:
9226         * gst/net/gstnetclientclock.c:
9227         * gst/net/gstnettimepacket.h:
9228         Doc updates.
9229
9230 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
9231
9232         * docs/faq/using.xml:
9233         * docs/libs/tmpl/gstcontrol.sgml:
9234         * docs/manual/advanced-dparams.xml:
9235         * docs/manual/appendix-checklist.xml:
9236         * docs/manual/basics-elements.xml:
9237         * docs/pwg/other-source.xml:
9238         * docs/random/moving-plugins:
9239         * gst/gstpad.c:
9240         * tools/gst-launch.1.in:
9241           remove mentions of sinesrc
9242
9243 2005-11-23  Michael Smith <msmith@fluendo.com>
9244
9245         * docs/gst/gstreamer-sections.txt:
9246           Update for new API and API changes.
9247         * gst/gstobject.h:
9248           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
9249         * gst/gstvalue.c:
9250           Documentation typo fix.
9251         * gst/net/gstnettimepacket.c:
9252           Documentation fixes for arguments.
9253
9254 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
9255
9256         * gst/gststructure.c: (gst_structure_get_fraction),
9257         (gst_structure_parse_value),
9258         (gst_structure_fixate_field_nearest_fraction):
9259         * gst/gststructure.h:
9260         * gst/gstutils.c: (gst_util_uint64_scale_int):
9261         * gst/gstutils.h:
9262         * scripts/update-funcnames:
9263         API Changes. 
9264         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
9265         Make gst_structure_fixate_field_nearest_fraction take a numerator
9266         and denominator argument instead of a GValue
9267         add gst_structure_get_fraction helper function.
9268
9269 2005-11-23  Wim Taymans  <wim@fluendo.com>
9270
9271         * docs/design/part-TODO.txt:
9272         Update TODO.
9273
9274         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9275         * gst/net/gstnetclientclock.h:
9276         Use parent fields for timeout and window_size.
9277
9278 2005-11-23  Andy Wingo  <wingo@pobox.com>
9279
9280         * check/net/gstnetclientclock.c (test_functioning): Adjust to
9281         rate_num/rate_denom change.
9282
9283         * gst/net/gstnetclientclock.c
9284         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
9285         OBJECT_LOCK. Don't call add_observation with the lock.
9286
9287         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
9288         fraction.
9289         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
9290         rate fraction.
9291         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
9292         deal with rate as a fraction whose numerator and denominator are
9293         GstClockTime values.
9294         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
9295         master; the other fields are protected by the SLAVE_LOCK.
9296         (do_linear_regression): Note that this must be called with the
9297         SLAVE_LOCK.
9298         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
9299         OBJECT_LOCK. Call set_calibration instead of touching the
9300         variables directly.
9301         (gst_clock_set_property, gst_clock_get_property): Protect
9302         master/slave parameters with the SLAVE_LOCK.
9303
9304         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
9305         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
9306         note that all of the instance variables that add_observation and
9307         the set_master functions use are protected by that lock and not
9308         the OBJECT_LOCK.
9309         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
9310
9311         * gst/gstclock.c (gst_clock_add_observation): No longer requires
9312         the caller to take the object lock.
9313
9314 2005-11-23  Wim Taymans  <wim@fluendo.com>
9315
9316         * gst/gsterror.c: (_gst_core_errors_init):
9317         * gst/gsterror.h:
9318         Add error for clock stuff.
9319
9320         * gst/gstpipeline.c: (gst_pipeline_change_state),
9321         (gst_pipeline_set_clock):
9322         Post clock error when clock cannot be used in a pipeline.
9323
9324 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
9325
9326         * docs/gst/gstreamer-sections.txt:
9327           make two symbols from gstinfo private for the docs
9328         * gst/base/gstcollectpads.h:
9329         * gst/gstutils.c:
9330           fix doc typos, update docs
9331
9332 2005-11-22  Wim Taymans  <wim@fluendo.com>
9333
9334         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
9335         (gst_base_sink_wait), (gst_base_sink_do_sync),
9336         (gst_base_sink_handle_event):
9337         * gst/base/gstbasesink.h:
9338         No need to store the clock, the parent element class already
9339         has it.
9340
9341         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
9342         Updates for clock_set returning a gboolean
9343
9344         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
9345         (gst_clock_id_wait_async), (gst_clock_class_init),
9346         (gst_clock_init), (gst_clock_finalize),
9347         (gst_clock_get_internal_time), (gst_clock_get_time),
9348         (gst_clock_slave_callback), (gst_clock_set_master),
9349         (gst_clock_get_master), (do_linear_regression),
9350         (gst_clock_add_observation), (gst_clock_set_property),
9351         (gst_clock_get_property):
9352         * gst/gstclock.h:
9353         Implement master/slave. When setting a clock as a slave, a
9354         periodic timeout is scheduled to sample master and slave times.
9355         Then the slave clock is recalibrated to match offset and rate
9356         of the master clock.
9357         Update logging a bit.
9358         Add flag so that a clock can state that is cannot be slaved to
9359         another clock.
9360
9361         * gst/gstelement.c: (gst_element_set_clock):
9362         * gst/gstelement.h:
9363         The set clock returns a gboolean for when an element cannot
9364         deal with the selected clock in the pipeline. 
9365
9366         * gst/gstpipeline.c: (gst_pipeline_change_state),
9367         (gst_pipeline_set_clock):
9368         * gst/gstpipeline.h:
9369         Handle the case where the selected clock cannot be set on
9370         the pipeline.
9371
9372         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
9373         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
9374         (gst_net_client_clock_set_property),
9375         (gst_net_client_clock_get_property),
9376         (gst_net_client_clock_observe_times):
9377         * gst/net/gstnetclientclock.h:
9378         Use regression code in GstClock parent, remove duplicated
9379         functionality.
9380
9381 2005-11-22  Michael Smith <msmith@fluendo.com>
9382
9383         * gst/gstutils.c: (gst_util_clock_time_scale):
9384         * gst/gstutils.h:
9385         * docs/gst/gstreamer-sections.txt:
9386           Rename method to have extra underscore.
9387
9388 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9389
9390         * gst/elements/Makefile.am:
9391         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
9392         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9393         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9394         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
9395         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
9396         * gst/elements/gstfakesrc.h:
9397         * gst/gstqueue.c: (queue_leaky_get_type):
9398           correctly fix GEnumValues so that nick is the short lowercase
9399           dashed tag
9400         * tools/gst-inspect.c: (print_element_properties_info):
9401           also show the nick, since it's useful to use from parse_launch
9402           syntax
9403           Fixes #322139
9404
9405 2005-11-22  Michael Smith <msmith@fluendo.com>
9406
9407         * gst/gstutils.c: (gst_util_clocktime_scale):
9408         * gst/gstutils.h:
9409         * docs/gst/gstreamer-sections.txt:
9410           Add util method for scaling a clocktime by a fraction. Useful 
9411           implementation is left as an exercise for the reader.
9412
9413 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
9414
9415         * gst/gstvalue.c: (gst_value_collect_fraction_range):
9416         If needed, allocate storage in the destination value during
9417         collection.
9418
9419 2005-11-22  Edward Hervey  <edward@fluendo.com>
9420
9421         * docs/gst/gstreamer-sections.txt:
9422         * gst/Makefile.am:
9423         * gst/gst.h:
9424         * gst/gsturitype.c:
9425         * gst/gsturitype.h:
9426         * gst/gstutils.c: (gst_util_set_object_arg):
9427         * tools/gst-compprep.c: (main):
9428         * tools/gst-inspect.c: (print_element_properties_info):
9429         Removed GstURI, closes bug #321061
9430
9431 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
9432
9433         * check/gst/gststructure.c: (GST_START_TEST):
9434         * gst/gststructure.c: (gst_structure_parse_value):
9435           Oops, broke automatic string type parsing.
9436           Add a test to catch it in future.
9437
9438 2005-11-22  Andy Wingo  <wingo@pobox.com>
9439
9440         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
9441         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
9442         Actually rename the function implementations. Grr.
9443
9444 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
9445
9446         * check/gst/capslist.h:
9447           Comment test cases
9448         * check/gst/gststructure.c: (GST_START_TEST),
9449         (gst_structure_suite):
9450           Test automatic value type detection in gst_structure_from_string.
9451         * gst/gststructure.c: (gst_structure_parse_value):
9452           Add fraction as a type we try and guess automatically in
9453           caps/structure strings.
9454
9455 2005-11-22  Andy Wingo  <wingo@pobox.com>
9456
9457         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
9458
9459         * gst/gsttagsetter.h:
9460         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
9461         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
9462         (gst_tag_setter_add_tag_valist)
9463         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
9464         _add_values, _add_valist, and _add_valist_values. Since this is an
9465         interface the function suffixes should be more explicit so
9466         language binding don't end up with element.add_valist ->
9467         gst_tag_setter_add_valist, for example. Fixes #322069.
9468
9469 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
9470
9471         * check/gst/gstcaps.c: (GST_START_TEST):
9472           Extend caps string tests to check that a caps to string
9473           conversion is reversible and produces the same caps.
9474
9475         * gst/gststructure.c: (gst_structure_value_get_generic_type):
9476           Output "fraction" as the generic type fraction range, so caps
9477           serialisation and deserialisation works.
9478         * check/gst/capslist.h:
9479         * gst/gstvalue.c: (gst_value_deserialize_fraction):
9480           Support 'MIN' and 'MAX' for deserialising fractions.
9481
9482 2005-11-22  Andy Wingo  <wingo@pobox.com>
9483
9484         * gst/gstevent.h (gst_event_new_new_segment)
9485         (gst_event_parse_new_segment, gst_event_new_buffer_size)
9486         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
9487         Renamed from *_newsegment, *_buffersize, *_notarget.
9488
9489         * scripts/update-funcnames: New script, performs the changes
9490         listed above.
9491
9492 2005-11-22  Wim Taymans  <wim@fluendo.com>
9493
9494         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9495         Make sure the GstFlowReturn is returned.
9496
9497         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
9498         (gst_bus_add_signal_watch):
9499         * gst/gstbus.h:
9500         add gst_bus_add_signal_watch_full.
9501
9502         * gst/gstplugin.c: (gst_plugin_load_file):
9503         Small style cleanup.
9504
9505 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
9506
9507         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
9508           Block the fakesrc srcpad when we send an event, to avoid
9509           contention on the stream_lock causing random test failures.
9510
9511 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
9512
9513         * check/gst/gstvalue.c: (GST_START_TEST):
9514         * gst/gstvalue.c: (gst_value_fraction_subtract):
9515           Fix subtraction.
9516
9517 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
9518
9519         * gst/gst.h:
9520           include "gstchildproxy.h"
9521         * gst/gstchildproxy.h:
9522         * libs/gst/controller/gstcontroller.h:
9523           use G_GNUC_NULL_TERMINATED
9524
9525 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
9526
9527         * check/gst/capslist.h:
9528         * check/gst/gstcaps.c: (GST_START_TEST):
9529         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9530         * gst/gststructure.c: (gst_structure_parse_range),
9531         (gst_structure_fixate_field_nearest_fraction):
9532         * gst/gststructure.h:
9533         * gst/gstvalue.c: (gst_value_init_fraction_range),
9534         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
9535         (gst_value_collect_fraction_range),
9536         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
9537         (gst_value_set_fraction_range_full),
9538         (gst_value_get_fraction_range_min),
9539         (gst_value_get_fraction_range_max),
9540         (gst_value_serialize_fraction_range),
9541         (gst_value_transform_fraction_range_string),
9542         (gst_value_compare_fraction_range),
9543         (gst_value_deserialize_fraction_range),
9544         (gst_value_intersect_fraction_fraction_range),
9545         (gst_value_intersect_fraction_range_fraction_range),
9546         (gst_value_subtract_fraction_fraction_range),
9547         (gst_value_subtract_fraction_range_fraction),
9548         (gst_value_subtract_fraction_range_fraction_range),
9549         (gst_value_collect_fraction), (gst_value_fraction_multiply),
9550         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
9551         (gst_value_transform_string_fraction), (_gst_value_initialize):
9552         * gst/gstvalue.h:
9553           Implement fraction ranges and extend GstFraction to support
9554           arithmetic subtraction, as well as deserialization from integer
9555           strings such as "100"
9556           Add a testsuite as for int and double range set operations
9557
9558 2005-11-21  Andy Wingo  <wingo@pobox.com>
9559
9560         * gst/gsttaglist.h: 
9561         * gst/gstcaps.h: 
9562         * gst/gststructure.h: Add glib-compat.h.
9563
9564 2005-11-21  Wim Taymans  <wim@fluendo.com>
9565
9566         * gst/gstbin.c: (gst_bin_change_state_func):
9567         Fix for #321595
9568
9569 2005-11-21  Wim Taymans  <wim@fluendo.com>
9570
9571         * gst/gstsegment.h:
9572         And add a nice define too.
9573
9574 2005-11-21  Wim Taymans  <wim@fluendo.com>
9575
9576         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
9577         (gst_segment_new), (gst_segment_free), (gst_segment_init),
9578         (gst_segment_set_duration), (gst_segment_set_last_stop),
9579         (gst_segment_set_seek), (gst_segment_set_newsegment),
9580         (gst_segment_to_stream_time), (gst_segment_to_running_time),
9581         (gst_segment_clip):
9582         * gst/gstsegment.h:
9583         Make binding friendly.
9584
9585 2005-11-21  Andy Wingo  <wingo@pobox.com>
9586
9587         * gst/gsttagsetter.h: 
9588         * gst/gsttaglist.h: 
9589         * gst/gststructure.h: 
9590         * gst/gstcaps.h: 
9591         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
9592         #319940.
9593
9594         * gst/gsterror.c (_gst_core_errors_init):
9595         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
9596         category.
9597
9598         * gst/Makefile.am (gst_headers): Add glib-compat.h.
9599         (noinst_HEADERS): noinst the -private.
9600
9601 2005-11-21  Michael Smith <msmith@fluendo.com>
9602
9603         * gst/gstplugin.h:
9604         * gst/gstregistry.h:
9605           Remove unimplemented declarations for which we can see no sensible
9606           use.
9607
9608 2005-11-21  Andy Wingo  <wingo@pobox.com>
9609
9610         * gst/gst.h: Include glib-compat.h.
9611
9612         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
9613
9614         * gst/glib-compat.c: Include the public and the private header.
9615
9616         * gst/glib-compat-private.h: Copied here from glib-compat.h.
9617
9618         * gst/gstvalue.c: 
9619         * gst/gstpad.c: 
9620         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
9621
9622         * check/gst/gstevent.c (create_custom_events): Check that
9623         FLUSH_STOP is serialized.
9624
9625         * check/elements/identity.c (event_func): 
9626         * check/elements/fakesrc.c (event_func): No stream lock, the core
9627         takes it.
9628
9629         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
9630         stream lock taking, yay.
9631
9632         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
9633         ensure that core takes the stream lock.
9634
9635         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
9636         lock name change.
9637
9638         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
9639         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
9640         it already. For the flush start we do take it though so we get the
9641         right preroll state change messages.
9642
9643         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
9644         the stream lock here, the core does it for us.
9645
9646         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
9647         GST_STREAM_GET_LOCK.
9648         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
9649         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
9650         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
9651         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
9652         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
9653         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
9654
9655         * gst/gstpad.c: Update for stream lock name change.
9656
9657         * gst/base/gstbasesink.c: Update for preroll lock name change.
9658
9659 2005-11-21  Wim Taymans  <wim@fluendo.com>
9660
9661         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
9662         (gst_clock_get_master):
9663         * gst/gstclock.h:
9664         * gst/gstsystemclock.c: (gst_system_clock_init):
9665         Convert Clock flags to object flags.
9666         Added methods to manage master/slave clocks.
9667
9668 2005-11-21  Wim Taymans  <wim@fluendo.com>
9669
9670         * check/gst/gstsegment.c: (GST_START_TEST):
9671         * docs/design/part-TODO.txt:
9672         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9673         (gst_base_sink_event), (gst_base_sink_do_sync),
9674         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
9675         (gst_base_sink_query), (gst_base_sink_change_state):
9676         * gst/base/gstbasesink.h:
9677         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
9678         (gst_base_src_default_newsegment),
9679         (gst_base_src_configure_segment), (gst_base_src_do_seek),
9680         (gst_base_src_get_range), (gst_base_src_loop),
9681         (gst_base_src_change_state):
9682         * gst/base/gstbasesrc.h:
9683         * gst/base/gstbasetransform.c:
9684         (gst_base_transform_prepare_output_buf),
9685         (gst_base_transform_event), (gst_base_transform_change_state):
9686         * gst/base/gstbasetransform.h:
9687         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9688         (gst_collect_pads_event):
9689         * gst/base/gstcollectpads.h:
9690         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
9691         (gst_fake_src_create):
9692         * gst/elements/gstfakesrc.h:
9693         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
9694         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
9695         (gst_segment_set_last_stop), (gst_segment_set_seek),
9696         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
9697         (gst_segment_to_running_time), (gst_segment_clip):
9698         * gst/gstsegment.h:
9699         More segment updates, replace code in plugins with segment
9700         helper functions.
9701
9702 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
9703
9704         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
9705         Don't ignore sscanf results
9706
9707 2005-11-21  Andy Wingo  <wingo@pobox.com>
9708
9709         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
9710
9711         * *.h:
9712         * *.c: Ran scripts/update-macros. Oh yes.
9713
9714         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
9715         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
9716         GST_GET_LOCK, etc.
9717
9718         * scripts/update-macros: New script. Run it on your files to
9719         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
9720         well.
9721
9722 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
9723
9724         * docs/gst/Makefile.am:
9725         * docs/gst/gstreamer-docs.sgml:
9726         * docs/gst/gstreamer-sections.txt:
9727         * docs/gst/gstreamer.types:
9728         * gst/gstinfo.h:
9729           more docs fixes, add new api to the docs
9730
9731 2005-11-21  Andy Wingo  <wingo@pobox.com>
9732
9733         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
9734         state_broadcast call.
9735
9736         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
9737
9738 2005-11-21  Julien MOUTTE  <julien@moutte.net>
9739
9740         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
9741         function calls for arrays.
9742
9743 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
9744
9745         * docs/random/ensonic/media-device-daemon.txt:
9746           wild idea, can this be done?
9747         * docs/gst/gstreamer-sections.txt:
9748         * gst/gsterror.h:
9749         * gst/gstfilter.c:
9750         * gst/gstfilter.h:
9751         * gst/gstplugin.h:
9752         * gst/gstpluginfeature.c:
9753         * gst/gsttrace.c:
9754         * gst/gstvalue.c:
9755         * gst/gstvalue.h:
9756           doc fixes and additions
9757
9758 2005-11-21  Andy Wingo  <wingo@pobox.com>
9759
9760         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
9761         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
9762         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
9763         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
9764         private to the basesrc implementation.
9765
9766         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
9767         behalf of event function if necessary. It should no longer be
9768         necessary to take the stream lock in pad's event functions. Fixes
9769         #320299.
9770
9771 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
9772         * docs/gst/gstreamer-sections.txt:
9773         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
9774         (gst_structure_fixate_field_nearest_double),
9775         (gst_structure_fixate_field_boolean):
9776         * gst/gststructure.h:
9777         * win32/common/libgstreamer.def:
9778         * win32/gstreamer.def:
9779
9780         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
9781         (#322027)
9782
9783 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
9784
9785         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
9786         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
9787         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
9788         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
9789         (gst_fdsrc_uri_handler_init):
9790         * gst/elements/gstfdsrc.h:
9791           Port fd:// URI handler from 0.8 to fdsrc
9792
9793 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
9794
9795         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
9796         (gst_value_serialize_fourcc):
9797         * gst/gstvalue.h:
9798           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
9799           consistent with our other format defines (#320324).
9800
9801 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
9802
9803         * gst/gstvalue.c: (gst_value_is_fixed):
9804           Revert previous commit. Value lists are by definition
9805           not fixed, as they are a list of possible values.
9806
9807 2005-11-21  Andy Wingo  <wingo@pobox.com>
9808
9809         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
9810         during the stable series if we need it. Fixes #319178.
9811
9812         * gst/gstevent.c (gst_event_new_filler): Removed.
9813
9814         * check/gst/gstevent.c: Update comment about filler events.
9815
9816 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
9817
9818         * gst/gstvalue.c: (gst_value_is_fixed):
9819           Should handle both value arrays and value lists.
9820
9821 2005-11-21  Andy Wingo  <wingo@pobox.com>
9822
9823         patch by: Alessandro Dessina <alessandro nnva org>
9824
9825         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
9826         functions to access arrays. Fixes #321962.
9827
9828 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
9829
9830         * docs/gst/gstreamer.types:
9831           gst_collectpads_get_type => gst_collect_pads_get_type.
9832           
9833         * gst/base/gstbasetransform.c:
9834           Remove unused SIGNAL_HANDOFF enum.
9835
9836 2005-11-21  Andy Wingo  <wingo@pobox.com>
9837
9838         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
9839         the event type (upstream, downstream, serialized). Renamed
9840         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
9841         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
9842         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
9843
9844         * gst/gstevent.c: Update for new CUSTOM event names.
9845
9846         * check/gst/gstevent.c: Update check for new CUSTOM event names.
9847
9848         * gst/gstevent.h:
9849         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
9850         bug #319392.
9851
9852 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
9853
9854         * docs/gst/gstreamer-sections.txt:
9855         * win32/common/libgstbase.def:
9856         * win32/libgstbase.def:
9857         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9858         (gst_collect_pads_class_init), (gst_collect_pads_init),
9859         (gst_collect_pads_finalize), (gst_collect_pads_new),
9860         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
9861         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
9862         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
9863         (gst_collect_pads_start), (gst_collect_pads_stop),
9864         (gst_collect_pads_peek), (gst_collect_pads_pop),
9865         (gst_collect_pads_available), (gst_collect_pads_read),
9866         (gst_collect_pads_flush), (gst_collect_pads_event),
9867         (gst_collect_pads_chain):
9868         * gst/base/gstcollectpads.h:
9869           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
9870           unimplemented functions as unimplemented. Add padding to
9871           GstCollectData. (#320766, #320423)
9872
9873 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
9874
9875         * gst/gstmessage.c:
9876           Improve docs for DURATION message (usage of duration parameter)
9877           (#320113)
9878
9879 2005-11-20  Wim Taymans  <wim@fluendo.com>
9880
9881         * check/Makefile.am:
9882         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
9883         (main):
9884         * gst/Makefile.am:
9885         * gst/gst.h:
9886         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
9887         (gst_segment_set_seek), (gst_segment_set_newsegment),
9888         (gst_segment_to_stream_time), (gst_segment_to_running_time),
9889         (gst_segment_clip):
9890         * gst/gstsegment.h:
9891         Added segment helper structure and methods. Not fully implemented
9892         yet.
9893         Added segment check.
9894
9895 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
9896
9897         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9898           Add a deserialisation test for fractions
9899         * examples/metadata/read-metadata.c: (message_loop),
9900         (make_pipeline), (main):
9901           Fix up metadata reading sample.
9902         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9903           Debug format fix
9904         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9905           Don't try and fixate empty caps
9906         * gst/gst_private.h:
9907           Wrap in G_BEGIN_DECLS/G_END_DECLS
9908         * gst/gstvalue.c: (gst_value_collect_fraction),
9909         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
9910         (gst_value_transform_string_fraction),
9911         (gst_value_compare_fraction):
9912           Add some extra guards to ensure that we don't end up 
9913           with an invalid denominator of 0 in a gstfraction and
9914           that fractions always get reduced.
9915
9916 2005-11-20  Wim Taymans  <wim@fluendo.com>
9917
9918         * docs/gst/gstreamer-sections.txt:
9919         * gst/gstbuffer.h:
9920         * gst/gstelement.c:
9921         * gst/gstformat.c:
9922         * gst/gstformat.h:
9923         * gst/gstindex.h:
9924         * gst/gstquery.c:
9925         * gst/gstquery.h:
9926         * gst/gstvalue.c:
9927         Doc fixes.
9928
9929 2005-11-20  Wim Taymans  <wim@fluendo.com>
9930
9931         * docs/design/part-TODO.txt:
9932         * gst/gstcaps.h:
9933         Make a proper enum of the flag.
9934
9935 2005-11-19  Wim Taymans  <wim@fluendo.com>
9936
9937         * docs/design/part-TODO.txt:
9938         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
9939         (gst_format_to_quark), (gst_format_register):
9940         * gst/gstformat.h:
9941         * gst/gstquery.c: (_gst_query_initialize),
9942         (gst_query_type_get_name), (gst_query_type_to_quark),
9943         (gst_query_type_register):
9944         * gst/gstquery.h:
9945         Add type to quark and type to string conversions.
9946
9947 2005-11-19  Andy Wingo  <wingo@pobox.com>
9948
9949         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
9950         #320097.
9951
9952 2005-11-19  Wim Taymans  <wim@fluendo.com>
9953
9954         * docs/design/part-TODO.txt:
9955         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
9956         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
9957         (gst_bin_handle_message_func):
9958         * gst/gstbin.h:
9959         Make message handling overridable.
9960
9961 2005-11-19  Andy Wingo  <wingo@pobox.com>
9962
9963         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
9964
9965         * gst/gstclock.h:
9966         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
9967         be a GstClockTime.
9968         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
9969         is a GstClockTime. Fixes #321710.
9970
9971         * gst/gstclock.h (GstClock): Remove offset property. Add
9972         internal_calibration and external_calibration. Fix padding. Pad
9973         also by GstClockTime so we don't run into problems.
9974
9975         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
9976         (gst_clock_get_rate_offset): Remove.
9977         (gst_clock_set_time_adjust): Remove. Fixes #321712.
9978
9979         * gst/gstutils.h:
9980         * gst/gstutils.c (g_static_rec_cond_wait)
9981         (g_static_rec_cond_timed_wait): Removed, no longer needed.
9982
9983         * gst/gstbin.c: Remove terrible continue_state prototype.
9984
9985         * gst/gstelement.h (gst_element_continue_state): Make public.
9986
9987         * gst/gstelement.h:
9988         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
9989         by continue_state. Fixes #319389.
9990
9991         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
9992         Really fixes #168438. However I don't see anywhere where the
9993         filter function is called... stupid GStreamer...
9994         
9995         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
9996         don't have a dispose function, so it won't get called when the
9997         object is unreffed, but oh well!
9998
9999         * gst/gstindex.c (gst_index_set_filter_full): New API function,
10000         allows a destroy function to be set so user_data can be freed.
10001         Fixes #168438.
10002         (gst_index_set_filter): Call gst_index_set_filter_full.
10003
10004         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
10005
10006         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
10007         string should produce an error, given the lack of a way to
10008         represent NULL strings. Fixes #165650.
10009         
10010         * gst/gstvalue.h: 
10011         * gst/gstvalue.c (gst_value_array_append_value) 
10012         (gst_value_array_prepend_value, gst_value_array_get_size) 
10013         (gst_value_array_get_value): New API, copied from
10014         gst_value_list_*, only operates on arrays.
10015         (gst_value_list_append_value, gst_value_list_prepend_value) 
10016         (gst_value_list_concat, gst_value_list_get_size) 
10017         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
10018
10019         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
10020         init_list, because it works on both.
10021         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
10022         (gst_value_copy_list_or_array): Renamed from copy_list.
10023         (gst_value_free_list_or_array): Renamed from free_list.
10024         (gst_value_collect_list_or_array): Renamed from collect_list.
10025         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
10026         (gst_value_list_or_array_peek_pointer): Renamed from
10027         list_peek_pointer.
10028         (_gst_value_array_value_table, _gst_value_list_value_table):
10029         Update value table functions.
10030         (gst_value_compare_list_or_array): Renamed from compare_list.
10031
10032         * gsttaglist.h: Whoops, foreach function returns void. Also fix
10033         some constness.
10034
10035         * gst/gsttaglist.c:
10036         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
10037         GstTagList*. Fixes #143472.
10038
10039         * gst/gststructure.h: Clarify what the foreach/map functions can
10040         or can't do to their arguments.
10041
10042 2005-11-18  Wim Taymans  <wim@fluendo.com>
10043
10044         * gst/gstclock.c: (gst_clock_set_calibration),
10045         (gst_clock_get_calibration):
10046         Doc and API fixes.
10047         Calibration can be set with internal time equal to current
10048         internal time too.
10049
10050 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10051
10052         * gst/gsterror.c:
10053         * gst/gsterror.h:
10054           document
10055
10056 2005-11-18  Andy Wingo  <wingo@pobox.com>
10057
10058         * configure.ac: 
10059         * pkgconfig/gstreamer-net.pc.in:
10060         * pkgconfig/gstreamer-net-uninstalled.pc.in:
10061         * pkgconfig/Makefile.am: Add net pkgconfig files.
10062
10063 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
10064
10065         * gst/gstcaps.c:
10066         * gst/gstghostpad.c:
10067         * gst/gsttrace.c:
10068         * gst/gstvalue.c:
10069         * gst/gstvalue.h:
10070           docs fixes
10071
10072 2005-11-18  Andy Wingo  <wingo@pobox.com>
10073
10074         * gst/net/gstnetclientclock.c: Turn off debugging.
10075
10076         * check/net/gstnetclientclock.c (test_functioning): Assert that the
10077         times connverge somewhat. Can't make a real test.
10078
10079         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
10080         integer arithmetic. Return the minimum of the domain, which can be
10081         set as "internal" for gst_clock_set_calibration.
10082         (gst_net_client_clock_observe_times): Call _set_calibration.
10083         (gst_net_client_clock_new): Call _set_calibration instead of
10084         rate_offset.
10085
10086         * check/net/gstnetclientclock.c (test_functioning): Use the right
10087         adjustment api.
10088
10089         * gst/gstclock.h:
10090         * gst/gstclock.c (gst_clock_get_calibration) 
10091         (gst_clock_set_calibration): New functions, obsolete the ones I
10092         added yesterday. Doh. Precision issues mean we have to extrapolate
10093         from a point in the more recent past than 1970.
10094         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
10095         obsolete.
10096         (gst_clock_adjust_unlocked): Use the right calibration data.
10097
10098 2005-11-18  Edward Hervey  <edward@fluendo.com>
10099
10100         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
10101         Also reset the ->current_* values in READY->PAUSED
10102
10103 2005-11-18  Andy Wingo  <wingo@pobox.com>
10104
10105         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
10106         Whoops, check the right fd. Also add some debugging.
10107         (gst_net_client_clock_observe_times): Adjust for int64 offset.
10108         (do_linear_regression): Add a crapload of debugging. Subtract off
10109         the minimum values from the input series to discard unneeded bits.
10110         Use only int arithmetic. There is still double arithmetic when
10111         calculating the intercept that needs fixing. Return boolean to
10112         indicate success; FALSE would mean the domain or range is too
10113         great. Still needs fixes.
10114
10115 2005-11-18  Wim Taymans  <wim@fluendo.com>
10116
10117         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
10118         For the current position in stream time, we need to subtract
10119         accumulated time.
10120         
10121         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
10122         Release lock before calling the callback function of async
10123         entries.
10124
10125 2005-11-18  Andy Wingo  <wingo@pobox.com>
10126
10127         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
10128         Port goes all the way to MAXUINT16.
10129
10130         * gst/net/gstnettimeprovider.c: Make the port range the same as
10131         for the kernel: 0 assigns, otherwise ports are less than
10132         MAXUINT16.
10133
10134         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
10135         port change.
10136
10137         * check/net/gstnetclientclock.c (test_functioning): Add the start
10138         of another test. 
10139
10140 2005-11-18  Wim Taymans  <wim@fluendo.com>
10141
10142         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
10143         (gst_bin_remove_func), (bin_bus_handler):
10144         * gst/gstbin.h:
10145         Removing a clock provider from a bin, triggers a clock lost message
10146         so that a new clock will be selected.
10147         Adding a clock to a bin triggers a clock provider message.
10148         Make sure we reselect a clock when we received a clock lost message.
10149         Keep a reference to the element that provided the clock.
10150
10151 2005-11-18  Andy Wingo  <wingo@pobox.com>
10152
10153         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
10154         the clock initially so it produces values around the base time.
10155         (gst_net_client_clock_class_init): Typo fix.
10156         (gst_net_client_clock_thread): Add note on when the socket gets
10157         closed.
10158
10159 2005-11-17  Wim Taymans  <wim@fluendo.com>
10160
10161         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
10162         Free remote and local time arrays.
10163
10164 2005-11-17  Wim Taymans  <wim@fluendo.com>
10165
10166         * gst/net/gstnetclientclock.c: (do_linear_regression),
10167         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
10168         Fix compilation, uninitialized vars and a forgotten continue.
10169
10170 2005-11-17  Andy Wingo  <wingo@pobox.com>
10171
10172         * check/Makefile.am (check_PROGRAMS): 
10173         * check/net/gstnetclientclock.c: Add a most minimal test for the
10174         net client clock. More to come later.
10175
10176         * gst/net/gstnet.h: 
10177         * gst/net/Makefile.am: Add netclientclock.
10178
10179         * gst/net/gstnetclientclock.h:
10180         * gst/net/gstnetclientclock.c: New files, implement an untested
10181         GstClock that takes its time from a network time provider.
10182         Implements the algorithm in network-clock.scm.
10183
10184         * tests/network-clock.scm (*window-size*): Rename from
10185         *queue-length*.
10186         * tests/network-clock.scm (network-time): 
10187         * tests/network-clock-utils.scm (q-push): Update callers.
10188
10189 2005-11-17  Wim Taymans  <wim@fluendo.com>
10190
10191         * gst/gstbin.c: (gst_bin_provide_clock_func),
10192         (gst_bin_sort_iterator_new):
10193         And unref the child too..
10194
10195 2005-11-17  Wim Taymans  <wim@fluendo.com>
10196
10197         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10198         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
10199         Refactor the sort iterator so it can be used while holding the
10200         LOCK too.
10201         Make clock selection select a clock closest to the source.
10202
10203 2005-11-17  Michael Smith <msmith@fluendo.com>
10204
10205         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
10206         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
10207         * gst/gstclock.h:
10208           Anonymous structs are a gcc (and some other compilers) extension, so
10209           don't use them. Since this is only for ABI-compatibility, and our
10210           API/ABI freeze is over in a few days, this whole thing will only
10211           last a few days, so don't bother trying to think up a meaningful
10212           name for the struct.
10213
10214 2005-11-17  Andy Wingo  <wingo@pobox.com>
10215
10216         * gst/gstclock.h (GstClock): Add rate and offset properties,
10217         preserving ABI stability. Add rate/offset accessors. Will file bug
10218         for the freeze break.
10219
10220         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
10221         and offset, trying to keep precision and avoiding
10222         underflow/overflow.
10223         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
10224         functions. Make gst_clock_set_time_adjust obsolete.
10225         (gst_clock_set_time_adjust): Note that this function is obsolete.
10226         Will file bug soon.
10227
10228         * gst/base/gstbasetransform.h: Make the ABI-stability hack
10229         greppable by using GST_PADDING-1+1.
10230
10231 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
10232
10233         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
10234
10235         * gst/gstmessage.c: (gst_message_parse_clock_lost):
10236           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
10237
10238         * gst/gstpadtemplate.h:
10239         * gst/gstpluginfeature.h:
10240           Don't use c++ style comments in headers (#321638).
10241
10242 2005-11-16  Andy Wingo  <wingo@pobox.com>
10243
10244         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
10245         buffer.
10246
10247         * check/net/gstnettimeprovider.c: Check to see that the time
10248         provider actually provides times. Works, yo!
10249
10250 2005-11-16  Wim Taymans  <wim@fluendo.com>
10251
10252         * check/Makefile.am:
10253         Enable more tests.
10254
10255         * check/elements/fakesrc.c: (GST_START_TEST):
10256         Set element to NULL before disposing it.
10257
10258 2005-11-16  Andy Wingo  <wingo@pobox.com>
10259
10260         * gst/net/Makefile.am:
10261         * gst/net/gstnet.h:
10262         * gst/net/gstnettimeprovider.c: 
10263         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
10264         provider, include it from gstnet.h, and add it to the build.
10265
10266         * gst/net/gstnettimepacket.h: 
10267         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
10268         sending and receiving.
10269
10270 2005-11-16  Wim Taymans  <wim@fluendo.com>
10271
10272         * check/Makefile.am:
10273         Enable valgrind check.
10274
10275         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
10276         (gst_fake_src_alloc_buffer):
10277         Fix memleak.
10278
10279 2005-11-16  Wim Taymans  <wim@fluendo.com>
10280
10281         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
10282         Call parent finalize too.
10283
10284 2005-11-16  Wim Taymans  <wim@fluendo.com>
10285
10286         * check/Makefile.am:
10287         Enable valgrind check that should work fine now.
10288
10289         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
10290         * gst/gstqueue.c: (gst_queue_init):
10291         Fix memleaks in pad allocation.
10292
10293 2005-11-16  Andy Wingo  <wingo@pobox.com>
10294
10295         * gst/net/Makefile.am:
10296         * gst/net/gstnet.h: New part of core to hold network elements and
10297         objects. Put in core because it exposes API that applications want
10298         to use. The library is named libgstnet-tempname right now because
10299         of the existing libgstnet in gst-plugins-base. Solution is
10300         probably to rename the one in plugins-base; will file a bug for
10301         the freeze break.
10302
10303         * gst/net/gstnettimeprovider.c: 
10304         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
10305         get_time call over the network.
10306
10307         * configure.ac: 
10308         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
10309
10310         * check/Makefile.am:
10311         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
10312         get additions shortly.
10313
10314 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10315
10316         * gst/gstpad.c: (gst_pad_new_from_static_template):
10317         * gst/gstpad.h:
10318           add gst_pad_new_from_static_template functions
10319         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
10320         (gst_check_setup_sink_pad):
10321         * gst/elements/gsttee.c: (gst_tee_init):
10322           and use them
10323
10324 2005-11-16  Wim Taymans  <wim@fluendo.com>
10325
10326         * gst/gstpad.c: (gst_pad_pause_task):
10327         Removed warning, it's not really an error either.
10328
10329 2005-11-16  Wim Taymans  <wim@fluendo.com>
10330
10331         * gst/base/gstbasetransform.c:
10332         (gst_base_transform_prepare_output_buf),
10333         (gst_base_transform_event):
10334         Check if the caps are NULL, this can happen if the element
10335         is shutting down and the pad caps are set to NULL.
10336
10337 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10338
10339         * gst/elements/gsttee.c: (gst_tee_init):
10340           fix pad template leak in tee
10341
10342 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10343
10344         * gst/glib-compat.c: (g_value_dup_gst_object):
10345         * gst/glib-compat.h:
10346         * gst/gstpad.c: (gst_pad_set_property):
10347           use gst_object_ref when setting the pad template; this will
10348           trigger the pad template leaks on GLib 2.6 and the slaves
10349
10350 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10351
10352         * gst/glib-compat.c: (gst_flags_get_first_value):
10353         * gst/glib-compat.h:
10354         * gst/gstregistryxml.c:
10355           remove functions copied from GLib 2.6
10356
10357 2005-11-16  Michael Smith <msmith@fluendo.com>
10358
10359         * gst/Makefile.am:
10360           Don't link against VALGRIND_LIBS. That was always the wrong thing to
10361           do, but only breaks with newer valgrind versions. We're not a
10362           valgrind tool, we have no link-time dependencies on libcoregrind.
10363
10364 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10365
10366         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
10367           some debug changes
10368         * gst/gstmessage.h:
10369           typo fixes
10370
10371 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10372
10373         * gst/base/gstbasesrc.c: (gst_base_src_init):
10374         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
10375         * gst/gstqueue.c: (gst_queue_init):
10376         * gst/gstregistryxml.c: (load_feature):
10377           Revert all these unrefs, they don't even pass make check !
10378
10379 2005-11-15  Johan Dahlin  <johan@gnome.org>
10380
10381         * gst/base/gstbasesrc.c: (gst_base_src_init):
10382         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
10383         * gst/gstqueue.c: (gst_queue_init): 
10384         Free pad templates, fixes a couple of leaks.
10385
10386 2005-11-15  Daniel Fischer  <dan at f3c dot com>
10387
10388         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
10389
10390         * gst/gstpad.c: (gst_pad_get_property):
10391           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
10392           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
10393           (#321452)
10394
10395 2005-11-15  Wim Taymans  <wim@fluendo.com>
10396
10397         * gst/gstevent.c:
10398         Small doc update.
10399
10400 2005-11-15  Andy Wingo  <wingo@pobox.com>
10401
10402         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
10403
10404         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
10405         using GST_CLOCK_TIME_NONE to disable base time management.
10406         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
10407         time if it was NONE before.
10408         (gst_pipeline_change_state): Only munge the base time if
10409         stream_time != GST_CLOCK_TIME_NONE.
10410
10411         * check/gst/gstpipeline.c (test_base_time): Punt around the
10412         problem of the probe not being called, because that's not the
10413         issue I'm looking at. Add a check that setting stream_time to NONE
10414         disables base time management.
10415         
10416 2005-11-15  Wim Taymans  <wim@fluendo.com>
10417
10418         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
10419         segment_stop == -1 at startup.
10420
10421         * gst/base/gstbasetransform.c: (gst_base_transform_event),
10422         (gst_base_transform_change_state):
10423         Init segment values at start.
10424
10425 2005-11-15  Wim Taymans  <wim@fluendo.com>
10426
10427         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10428         0 segment values are 0 in any format.
10429
10430         * gst/base/gstbasetransform.c: (gst_base_transform_event):
10431         * gst/base/gstbasetransform.h:
10432         Parse newsegment correctly in basetransform
10433
10434         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
10435         Sync to clock using updated segment values.
10436
10437 2005-11-15  Andy Wingo  <wingo@pobox.com>
10438
10439         * check/gst/gstpipeline.c (test_base_time): Add check that the
10440         base time and stream time are reset correctly.
10441
10442 2005-11-15  Wim Taymans  <wim@fluendo.com>
10443
10444         * docs/design/part-TODO.txt:
10445         Some more TODO items.
10446
10447 2005-11-15  Andy Wingo  <wingo@pobox.com>
10448
10449         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
10450         error if the user selected "no clock" as the clocking method.
10451
10452         * check/gst/gstpipeline.c (test_base_time): New test for buffer
10453         timestamps with live capture.
10454
10455         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
10456         is 0 but we are a live source, timestamp the buffers using the
10457         element's clock.
10458
10459 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
10460
10461         * docs/gst/gstreamer-sections.txt:
10462         * gst/gsterror.c:
10463         * gst/gstghostpad.c:
10464         * gst/gstobject.h:
10465         * gst/gstxml.c:
10466           more section docs
10467
10468 2005-11-14  Wim Taymans  <wim@fluendo.com>
10469
10470         * common/gst.supp:
10471           add suppressions from Wim's Debian machine
10472
10473 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10474
10475         * common/gst.supp:
10476           add suppressions from Andy's AMD64 Ubuntu machine
10477
10478 2005-11-14  Andy Wingo  <wingo@pobox.com>
10479
10480         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
10481         STATE_LOCK not necessary. Fixes #311489.
10482
10483         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
10484         #305291.
10485
10486         * gst/gstindex.c (gst_index_add_object): Note in the docs that
10487         this function is not implemented.
10488
10489 2005-11-14  Julien MOUTTE  <julien@moutte.net>
10490
10491         * gst/base/gstbasetransform.c:
10492         (gst_base_transform_prepare_output_buf):
10493         Ref the source pad caps while we need them.
10494         Fixes (#321386)
10495
10496 2005-11-11  Wim Taymans  <wim@fluendo.com>
10497
10498         * docs/gst/gstreamer-sections.txt:
10499         Added some docs for GstCollectData.
10500
10501         * gst/base/gstadapter.c:
10502         Some small code example fix.
10503
10504         * gst/base/gstcollectpads.c:
10505         * gst/base/gstcollectpads.h:
10506         Document some more.
10507
10508 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10509
10510         * configure.ac: back to HEAD
10511
10512 === release 0.9.5 ===
10513
10514 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
10515
10516         * configure.ac:
10517           releasing 0.9.5, "Bike Lunch Day"
10518
10519 2005-11-11  Wim Taymans  <wim@fluendo.com>
10520
10521         * gst/gstbuffer.c: (_gst_buffer_copy):
10522         Copy more flags.
10523
10524         * gst/gstcaps.c: (gst_caps_is_equal):
10525         Fix some docs.
10526         Make _is_equal fast in the trivial cases.
10527
10528         * gst/gstminiobject.c:
10529         * gst/gstminiobject.h:
10530         More docs. Spifify .h file.
10531
10532         * gst/gstutils.c:
10533         Small doc update.
10534
10535 2005-11-11  Wim Taymans  <wim@fluendo.com>
10536
10537         * gst/base/gstbasetransform.c:
10538         (gst_base_transform_prepare_output_buf),
10539         (gst_base_transform_handle_buffer):
10540         Small cleanups.
10541         If we're processing a buffer and need to allocate an output
10542         buffer, we cannot accept a format change. If we did get a 
10543         format change, we have to alloc a buffer ourselves of the 
10544         right size.
10545
10546 2005-11-11  Wim Taymans  <wim@fluendo.com>
10547
10548         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
10549         While checking the flag for reentrancy in the gstcaps function
10550         is nice to detect recursive invocations, it also makes it 
10551         impossible to call getcaps from multiple threads, which must be
10552         possible. So, checking for recursive calls has to go.
10553
10554 2005-11-11  Michael Smith <msmith@fluendo.com>
10555
10556         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10557           Don't sync on buffers that fall partially outside our current
10558           segment. Prevents an assertion failure/abort playing some files.
10559
10560 2005-11-10  Andy Wingo  <wingo@pobox.com>
10561
10562         * check/gst/gstbin.c (test_message_state_changed_children): Style
10563         fix..
10564
10565         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
10566         gst_bus_poll with the signal watch. Ensures that poll and a signal
10567         watch see the same messages.
10568
10569         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
10570         a poll and a watch at the same time get the same messages.
10571
10572 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10573
10574         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
10575         * gst/gstcaps.c: (gst_caps_intersect):
10576           Don't call gst_caps_do_simplify - it doesn't respect order of caps
10577           and it's not needed.
10578
10579 2005-11-10  Wim Taymans  <wim@fluendo.com>
10580
10581         * docs/design/part-TODO.txt:
10582         Updated todo.
10583
10584 2005-11-10  Wim Taymans  <wim@fluendo.com>
10585
10586         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10587         * gst/base/gstbasesrc.c: (gst_base_src_wait),
10588         (gst_base_src_do_sync), (gst_base_src_get_range):
10589         Implement clock sync in base class.
10590
10591 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10592
10593         patch by: Tim-Philipp Müller <tim at centricular dot net>
10594
10595         * gst/gststructure.c: (gst_structure_parse_field),
10596         (gst_structure_from_string):
10597           Forward-port a 0.8 patch to handle escaped spaces in structure string,
10598           so that gst_parse_launch() can deal with spaces in filtered link
10599           caps (fixes #164479)
10600         * check/gst/capslist.h:
10601         * check/gst/gststructure.c: (GST_START_TEST):
10602           add unit tests for this change
10603
10604 2005-11-10  Wim Taymans  <wim@fluendo.com>
10605
10606         * docs/gst/gstreamer-sections.txt:
10607         * gst/gstelement.c:
10608         * gst/gstelement.h:
10609         Fix docs, move some STATE macros to private.
10610
10611 2005-11-10  Wim Taymans  <wim@fluendo.com>
10612
10613         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
10614         Added check for bug #317341
10615
10616         * gst/gstbuffer.c:
10617         * gst/gstbuffer.h:
10618         Some more spiffifying.
10619
10620         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
10621         Call peer linkfunction if we are a source pad. Totally fixes
10622         #317341
10623
10624         * gst/gstpad.c:
10625         Update docs, source pads should call the peer linkfunction
10626         so they can atomically perform the pad link.
10627
10628 2005-11-09  Wim Taymans  <wim@fluendo.com>
10629
10630         * gst/gstbuffer.c:
10631         * gst/gstbuffer.h:
10632         Uber-spiffy-spiffify some more.
10633
10634 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
10635
10636         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
10637         * gst/elements/gstfilesink.c: (gst_file_sink_init):
10638         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
10639         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
10640         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
10641         * gst/gstpad.c: (gst_pad_init):
10642           Use GST_DEBUG_FUNCPTR() more extensively.
10643
10644 2005-11-09  Wim Taymans  <wim@fluendo.com>
10645
10646         * gst/gstobject.c: (gst_object_class_init):
10647         * gst/gstobject.h:
10648         Documentation fixes.
10649
10650 2005-11-09  Edward Hervey  <edward@fluendo.com>
10651
10652         * gst/gsttypefindfactory.c:
10653         Fix docs.
10654         
10655 2005-11-09  Edward Hervey  <edward@fluendo.com>
10656
10657         * gst/base/gsttypefindhelper.c:
10658         * gst/gsttypefind.c:
10659         * gst/gsttypefind.h:
10660         Fix docs.
10661
10662 2005-11-09  Wim Taymans  <wim@fluendo.com>
10663
10664         * gst/gstiterator.c:
10665         Fix revision data.
10666
10667         * gst/gsttask.c:
10668         * gst/gsttask.h:
10669         Fix docs.
10670
10671 2005-11-09  Wim Taymans  <wim@fluendo.com>
10672
10673         * gst/gstevent.h:
10674         * gst/gsturi.h:
10675         Fix docs.
10676
10677 2005-11-09  Wim Taymans  <wim@fluendo.com>
10678
10679         * docs/gst/gstreamer-sections.txt:
10680         Moved the message async delivery private lock and cond
10681         to the private section.
10682
10683         * gst/gstmessage.c:
10684         * gst/gstmessage.h:
10685         Fixed docs.
10686
10687 2005-11-09  Edward Hervey  <edward@fluendo.com>
10688
10689         * docs/gst/gstreamer-sections.txt:
10690         * gst/gsturi.c:
10691         * gst/gsturi.h:
10692         Document GstURIHandler
10693
10694 2005-11-09  Wim Taymans  <wim@fluendo.com>
10695
10696         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
10697         (gst_iterator_find_custom):
10698         * gst/gstiterator.h:
10699         Fix iterator docs.
10700
10701 2005-11-09  Wim Taymans  <wim@fluendo.com>
10702
10703         * gst/gstbin.h:
10704         Document another field.
10705
10706         * gst/gststructure.c:
10707         * gst/gststructure.h:
10708         Document.
10709
10710 2005-11-09  Wim Taymans  <wim@fluendo.com>
10711
10712         * gst/gstbin.h:
10713         Documented structs.
10714
10715 2005-11-09  Wim Taymans  <wim@fluendo.com>
10716
10717         * docs/gst/gstreamer-sections.txt:
10718         Added some new macros.
10719
10720         * gst/gstclock.c:
10721         * gst/gstclock.h:
10722         * gst/gstobject.h:
10723         Docs updates.
10724
10725 2005-11-09  Wim Taymans  <wim@fluendo.com>
10726
10727         * docs/design/part-TODO.txt:
10728         Some more items for the TODO
10729
10730         * gst/gstcaps.c:
10731         * gst/gstcaps.h:
10732         Document GstCaps.
10733
10734 2005-11-09  Andy Wingo  <wingo@pobox.com>
10735
10736         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
10737         to work on something else now tho...
10738
10739         * gst/base/gstadapter.c: More adapter docs.
10740
10741         * gst/elements/gstfilesink.c (gst_file_sink_start) 
10742         (gst_file_sink_stop): New functions, replace the state change
10743         handler.
10744         (gst_file_sink_class_init): Hook up the start and stop functions.
10745         (gst_file_sink_base_init): Don't set the state change handler any
10746         more. It was a bit ugly too, being set from here...
10747         (gst_file_sink_get_property, gst_file_sink_set_property):
10748         Cleanups...
10749         (gst_file_sink_set_location): More robust check that doesn't call
10750         GST_STATE. Ugggggg.
10751
10752 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
10753
10754         * gst/base/gstbasetransform.c: (gst_base_transform_event):
10755           Hold STREAM_LOCK while pushing newsegment or tag events as well.
10756
10757 2005-11-08  Wim Taymans  <wim@fluendo.com>
10758
10759         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10760         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
10761         (gst_base_sink_chain), (gst_base_sink_change_state):
10762         * gst/base/gstbasesink.h:
10763         * gst/base/gstbasesrc.h:
10764         * gst/gstelement.h:
10765         * gst/gstevent.h:
10766         Avoid excessive typechecking in macros.
10767
10768         * gst/gstminiobject.c: (gst_mini_object_get_type),
10769         (gst_mini_object_init), (gst_mini_object_new),
10770         (gst_mini_object_free):
10771         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10772         (gst_object_finalize):
10773         Remove cruft code, optimize alloc_trace.
10774
10775 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
10776
10777         * docs/faq/gst-uninstalled:
10778           fix up PS1 for systems that try to reset it
10779
10780 2005-11-07  Wim Taymans  <wim@fluendo.com>
10781
10782         * gst/base/gstbasesrc.c: (gst_base_src_init),
10783         (gst_base_src_get_range):
10784         Set the segment_end to -1 initially. Fixed typefind.
10785
10786 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
10787
10788         * gst/base/gstadapter.c:
10789           Debug category should be 'adapter', not 'GstAdapter'.
10790           
10791         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
10792         (gst_collectpads_class_init), (gst_collectpads_init),
10793         (gst_collectpads_peek), (gst_collectpads_pop),
10794         (gst_collectpads_event), (gst_collectpads_chain):
10795           Add debug category and some debugging output. Use boilerplate
10796           macros. Remove some extraneous words from docs.
10797
10798 2005-11-05  Andy Wingo  <wingo@pobox.com>
10799
10800         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
10801         macro.
10802
10803 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
10804
10805         * docs/gst/gstreamer-sections.txt:
10806         * gst/gstcaps.h:
10807         * gst/gstinfo.c:
10808         * gst/gstminiobject.h:
10809         * gst/gstobject.h:
10810         * gst/gstutils.h:
10811           more docs added
10812
10813 2005-11-04  Wim Taymans  <wim@fluendo.com>
10814
10815         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10816         Small update to stop at the configured segment_end
10817         position.
10818
10819 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
10820
10821         * gst/gstregistry.c:
10822         * gst/gstregistry.h:
10823           added missing docs
10824
10825 2005-11-04  Edward Hervey  <edward@fluendo.com>
10826
10827         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10828         Check if we are doing a segment seek and have arrived at the
10829         end of that segment.
10830
10831 2005-11-04  Wim Taymans  <wim@fluendo.com>
10832
10833         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
10834         Don't leak a mutex unlock in case of an error.
10835
10836         * gst/gstbus.h:
10837         Doc fixes.
10838
10839 2005-11-04  Wim Taymans  <wim@fluendo.com>
10840
10841         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
10842         (gst_bus_post):
10843         Get the context to wake up only once.
10844
10845 2005-11-03  Wim Taymans  <wim@fluendo.com>
10846
10847         * check/states/sinks.c: (GST_START_TEST):
10848         Uncomment fixed check.
10849
10850         * docs/design/part-TODO.txt:
10851         Updated TODO.
10852
10853         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10854         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
10855         (gst_base_sink_get_position):
10856         If we are going to PLAYING, post the right pending state
10857         when we post the intermediate paused message.
10858
10859         * gst/gstelement.c: (gst_element_continue_state),
10860         (gst_element_set_state_func), (gst_element_change_state):
10861         Don't post state changes that were between the same state
10862         and were not ASYNC.
10863
10864 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
10865
10866         * docs/gst/gstreamer-sections.txt:
10867         * gst/gstcaps.h:
10868         * gst/gstinfo.c:
10869         * gst/gstminiobject.h:
10870         * gst/gstobject.h:
10871         * gst/gstutils.h:
10872           more docs and doc style fixes
10873
10874 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
10875
10876         * docs/gst/gstreamer-sections.txt:
10877         * gst/gstelement.c:
10878         * gst/gstminiobject.c:
10879         doc fixes
10880
10881 2005-11-03  Andy Wingo  <wingo@pobox.com>
10882
10883         * check/states/sinks.c (test_livesrc_sink): Add checks that the
10884         state-changed messages actually have the right order and the right
10885         values.
10886
10887 2005-11-03  Wim Taymans  <wim@fluendo.com>
10888
10889         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
10890         Added some more checks. Specifically the case where NO_PREROLL
10891         elements are in the pipeline.
10892
10893         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10894         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
10895         (gst_base_sink_get_position):
10896         Post READY->PAUSED state change messages too.
10897         Fix bug where VOID was posted as pending state...
10898
10899         * gst/gstbin.c: (gst_bin_recalc_state):
10900         use _element_continue_state() to continue the state change.
10901
10902         * gst/gstelement.c: (gst_element_continue_state),
10903         (gst_element_commit_state), (gst_element_set_state_func),
10904         (gst_element_change_state), (gst_element_change_state_func):
10905         Lots of state change cleanups, assign the STATE_RETURN in
10906         a new continue_state() function that also propagates the
10907         last return value from a state change to the app.
10908         Update some debug statements with proper category.
10909
10910 2005-11-03  Wim Taymans  <wim@fluendo.com>
10911
10912         * docs/design/part-events.txt:
10913         * docs/design/part-gstpipeline.txt:
10914         * docs/design/part-messages.txt:
10915         * docs/design/part-overview.txt:
10916         * docs/design/part-seeking.txt:
10917         * docs/design/part-states.txt:
10918         * docs/design/part-trickmodes.txt:
10919         * docs/manual/advanced-position.xml:
10920         Small docs updates.
10921
10922         * gst/gstobject.h:
10923         People think !! is ugly, this looks better.
10924
10925         * gst/gstpad.c: (gst_pad_set_blocked_async):
10926         Remove !! since it's fixed elsewhere now.
10927
10928 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
10929
10930         * gst/gstminiobject.h:
10931         * gst/gstobject.h:
10932           Add !! to _FLAG_IS_SET macros to make the result boolean.
10933
10934 2005-11-03  Edward Hervey  <edward@fluendo.com>
10935
10936         * gst/gstpad.c: (gst_pad_set_blocked_async):
10937         comparing a flag and a gboolean rarely returns coherent results...
10938         Added two characters (!!) to make that work correctly.
10939         
10940 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
10941
10942         * gst/gstbus.c: (gst_bus_class_init):
10943           Fix some typos.
10944           
10945         * gst/gstqueue.c: (gst_queue_loop):
10946           Don't assume a miniobject that isn't a buffer is an
10947           event (it could be that there is a refcounting
10948           problem somewhere and the pointer is stale and
10949           refers to an already destroyed miniobject).
10950
10951 2005-11-03  Julien MOUTTE  <julien@moutte.net>
10952
10953         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
10954
10955 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
10956
10957         * docs/manual/advanced-position.xml:
10958           Update seek example and explanations to current 0.9 API.
10959
10960         * gst/elements/gsttypefindelement.c:
10961         (gst_type_find_element_activate):
10962           Remove FIXME comment now that the found caps
10963           are unreffed.
10964
10965 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10966
10967         * gst/gstregistryxml.c: (load_feature):
10968           Add another GST_STR_NULL instance
10969
10970 2005-11-02  Edward Hervey  <edward@fluendo.com>
10971
10972         * gst/gstpad.c: (handle_pad_block):
10973         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
10974         
10975 2005-11-02  Wim Taymans  <wim@fluendo.com>
10976
10977         * gst/gstbin.c:
10978         Fix typo in docs.
10979
10980         * gst/gstelement.c: (gst_element_commit_state):
10981         Remove unused value.
10982
10983         * gst/gstiterator.c:
10984         Mention that the returned element is reffed in the docs.
10985
10986 2005-11-02  Wim Taymans  <wim@fluendo.com>
10987
10988         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
10989         (gst_pad_push), (gst_pad_push_event):
10990         Unlock blocked pads when they are flushed.
10991
10992 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10993
10994         * docs/README:
10995         * docs/gst/gstreamer-sections.txt:
10996         * gst/gstbin.c:
10997           doc updates
10998         * gst/gstregistry.c: (gst_registry_scan_path_level):
10999           fix for a nasty little missed situation where an installed plug-in
11000           which was in the cache did not get overridden by an uninstalled one
11001           which was earlier in the plugin path because the newly created plugin
11002           for the uninstalled one (not in the registry) didn't get its
11003           ->registered set to TRUE
11004
11005 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11006
11007         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
11008         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
11009         (gst_collectpads_is_active), (gst_collectpads_collect),
11010         (gst_collectpads_collect_range), (gst_collectpads_start),
11011         (gst_collectpads_stop), (gst_collectpads_peek),
11012         (gst_collectpads_pop), (gst_collectpads_available),
11013         (gst_collectpads_read), (gst_collectpads_flush):
11014           Guard public API with assertions.
11015         
11016         * gst/gstpad.c:
11017           Fix docs for gst_pad_set_link_function().
11018
11019 2005-11-02  Johan Dahlin  <johan@gnome.org>
11020
11021         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
11022         Unref found_caps after we used it.
11023
11024 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11025
11026         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
11027           Don't try to ref NULL.
11028
11029 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11030
11031         * win32/common/config.h.in:
11032           provide a GST_FUNCTION that just gives a string for now
11033
11034 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11035
11036         * win32/common/gstenumtypes.c: (register_gst_object_flags),
11037         (gst_object_flags_get_type), (register_gst_bin_flags),
11038         (gst_bin_flags_get_type), (register_gst_buffer_flag),
11039         (gst_buffer_flag_get_type), (register_gst_bus_flags),
11040         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
11041         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
11042         (gst_clock_return_get_type), (register_gst_clock_entry_type),
11043         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
11044         (gst_clock_flags_get_type), (register_gst_state),
11045         (gst_state_get_type), (register_gst_state_change_return),
11046         (gst_state_change_return_get_type), (register_gst_state_change),
11047         (gst_state_change_get_type), (register_gst_element_flags),
11048         (gst_element_flags_get_type), (register_gst_core_error),
11049         (gst_core_error_get_type), (register_gst_library_error),
11050         (gst_library_error_get_type), (register_gst_resource_error),
11051         (gst_resource_error_get_type), (register_gst_stream_error),
11052         (gst_stream_error_get_type), (register_gst_event_type),
11053         (gst_event_type_get_type), (register_gst_seek_type),
11054         (gst_seek_type_get_type), (register_gst_seek_flags),
11055         (gst_seek_flags_get_type), (register_gst_format),
11056         (gst_format_get_type), (register_gst_index_certainty),
11057         (gst_index_certainty_get_type), (register_gst_index_entry_type),
11058         (gst_index_entry_type_get_type),
11059         (register_gst_index_lookup_method),
11060         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
11061         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
11062         (gst_index_resolver_method_get_type), (register_gst_index_flags),
11063         (gst_index_flags_get_type), (register_gst_debug_level),
11064         (gst_debug_level_get_type), (register_gst_debug_color_flags),
11065         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
11066         (gst_iterator_result_get_type), (register_gst_iterator_item),
11067         (gst_iterator_item_get_type), (register_gst_message_type),
11068         (gst_message_type_get_type), (register_gst_mini_object_flags),
11069         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
11070         (gst_pad_link_return_get_type), (register_gst_flow_return),
11071         (gst_flow_return_get_type), (register_gst_activate_mode),
11072         (gst_activate_mode_get_type), (register_gst_pad_direction),
11073         (gst_pad_direction_get_type), (register_gst_pad_flags),
11074         (gst_pad_flags_get_type), (register_gst_pad_presence),
11075         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
11076         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
11077         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
11078         (gst_plugin_error_get_type), (register_gst_plugin_flags),
11079         (gst_plugin_flags_get_type), (register_gst_rank),
11080         (gst_rank_get_type), (register_gst_query_type),
11081         (gst_query_type_get_type), (register_gst_tag_merge_mode),
11082         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
11083         (gst_tag_flag_get_type), (register_gst_task_state),
11084         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
11085         (gst_alloc_trace_flags_get_type),
11086         (register_gst_type_find_probability),
11087         (gst_type_find_probability_get_type), (register_gst_uri_type),
11088         (gst_uri_type_get_type), (register_gst_parse_error),
11089         (gst_parse_error_get_type):
11090         * win32/common/gstversion.h:
11091           update win32 copies
11092
11093 2005-11-01  Luca Ognibene  <luogni@tin.it>
11094
11095         * gst/gst.c:
11096           fix docs. popt is dead, long live GOption.
11097
11098 2005-10-31  Wim Taymans  <wim@fluendo.com>
11099
11100         * gst/gstbuffer.h:
11101         Small doc fix.
11102
11103 2005-10-31  Andy Wingo  <wingo@pobox.com>
11104
11105         * Boo!
11106
11107         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
11108
11109         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
11110         need to serialize property notifications on GLib 2.8. GLib 2.6 has
11111         the possibility of deadlocks here if code calling notify() or
11112         set() has a lock that can be taken in another notify handler (ABBA
11113         with class lock and e.g. python GIL state lock).
11114
11115 2005-10-28  Julien MOUTTE  <julien@moutte.net>
11116
11117         * gst/gstbus.c: Doc updates.
11118
11119 2005-10-28  Wim Taymans  <wim@fluendo.com>
11120
11121         * docs/design/part-TODO.txt:
11122         * gst/gstiterator.c:
11123         * gst/gstsystemclock.c:
11124         * gst/gstsystemclock.h:
11125         Doc updates.
11126
11127 2005-10-28  Edward Hervey  <edward@fluendo.com>
11128
11129         * docs/gst/gstreamer-docs.sgml:
11130         * docs/gst/gstreamer-sections.txt:
11131         the GstURIType documentation page is private, it only defines GstURIType
11132         which should be defined in the GstURIHandler page
11133         
11134 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
11135
11136         * gst/gstbin.c: (gst_bin_class_init):
11137         * gst/gstbin.h:
11138         * gst/gstutils.c:
11139         Documentation updates.
11140
11141 2005-10-28  Wim Taymans  <wim@fluendo.com>
11142
11143         * docs/gst/gstreamer-sections.txt:
11144         * gst/gstclock.c:
11145         * gst/gstclock.h:
11146         Documented the clocks.
11147
11148 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
11149
11150         * docs/gst/gstreamer-sections.txt:
11151           move some macros to private sections
11152         * gst/gstminiobject.c:
11153         * gst/gstminiobject.h:
11154           add descriptions provided by ds and some more
11155         * gst/gstpad.h:
11156           mark macro as to be removed
11157
11158 2005-10-28  Wim Taymans  <wim@fluendo.com>
11159
11160         * docs/design/part-TODO.txt:
11161         Add an item to TODO.
11162
11163         * gst/gstiterator.c: (gst_iterator_fold),
11164         (gst_iterator_find_custom):
11165         * gst/gstiterator.h:
11166         Add iterator docs.
11167
11168 2005-10-28  Wim Taymans  <wim@fluendo.com>
11169
11170         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11171         (gst_base_transform_init):
11172         Don't leak class.
11173
11174         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
11175         An EOS event marks the queue as completely filled.
11176
11177 2005-10-27  Wim Taymans  <wim@fluendo.com>
11178
11179         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11180         (gst_base_sink_do_sync), (gst_base_sink_get_position):
11181         Some more debugging.
11182
11183         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
11184         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
11185         (gst_base_transform_event), (gst_base_transform_getrange),
11186         (gst_base_transform_chain):
11187         * gst/base/gstbasetransform.h:
11188         Fix debugging,
11189         Protect transform and concurrent buffer alloc with a new lock.
11190         Try not to break ABI/API.
11191
11192 2005-10-27  Wim Taymans  <wim@fluendo.com>
11193
11194         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11195         (gst_base_src_init), (gst_base_src_query),
11196         (gst_base_src_default_newsegment),
11197         (gst_base_src_configure_segment), (gst_base_src_do_seek),
11198         (gst_base_src_send_event), (gst_base_src_event_handler),
11199         (gst_base_src_pad_get_range), (gst_base_src_loop),
11200         (gst_base_src_unlock), (gst_base_src_default_negotiate),
11201         (gst_base_src_start), (gst_base_src_deactivate),
11202         (gst_base_src_activate_push), (gst_base_src_change_state):
11203         Move some stuff around and cleanup things.
11204
11205 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
11206
11207         * gst/base/gstbasesrc.c: (gst_base_src_query):
11208           Add missing break statements.
11209
11210 2005-10-27  Wim Taymans  <wim@fluendo.com>
11211
11212         * check/gst/gstbin.c: (GST_START_TEST):
11213         An extra refcount is taken in basesrc.
11214
11215         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
11216         (gst_base_src_get_range), (gst_base_src_pad_get_range),
11217         (gst_base_src_loop):
11218         Small cleanups, check for flushing after being unlocked from the 
11219         LIVE_LOCK. take refcounts correctly (not yet everywhere).
11220         Don't send out EOS when going to READY.
11221
11222 2005-10-27  Wim Taymans  <wim@fluendo.com>
11223
11224         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11225         (gst_base_sink_get_position):
11226         Some more debug.
11227
11228         * gst/gstbin.c: (message_check), (bin_replace_message),
11229         (bin_remove_messages), (is_eos), (gst_bin_add_func),
11230         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
11231         (bin_query_duration_init), (bin_query_duration_fold),
11232         (bin_query_duration_done), (bin_query_generic_fold),
11233         (gst_bin_query):
11234         * tools/gst-launch.c: (main):
11235         Remove old option.
11236
11237 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
11238
11239         * examples/controller/audio-example.c: (main):
11240         * examples/queue/queue.c: (event_loop):
11241         * gst/base/gstbasetransform.h:
11242         * gst/gstelement.c: (gst_element_send_event):
11243         * gst/gstevent.h:
11244         * gst/gstpad.c: (gst_pad_send_event):
11245           fixing examples
11246           fixing docs typos
11247           changing log priority in error situations
11248
11249 2005-10-25  Wim Taymans  <wim@fluendo.com>
11250
11251         * gst/gstbin.c: (message_check), (bin_replace_message),
11252         (bin_remove_messages), (is_eos), (gst_bin_add_func),
11253         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
11254         (bin_query_duration_init), (bin_query_duration_fold),
11255         (bin_query_duration_done), (bin_query_generic_fold),
11256         (gst_bin_query):
11257         Some doc and debug updates.
11258         Cache previously requested query DURATION for speed. invalidate
11259         cached duration if element posts a DURATION message.
11260
11261 2005-10-25  Wim Taymans  <wim@fluendo.com>
11262
11263         * docs/design/part-TODO.txt:
11264         Update TODO.
11265
11266         * gst/gstbin.c: (message_check), (bin_replace_message),
11267         (bin_remove_messages), (is_eos), (gst_bin_add_func),
11268         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
11269         (bin_query_duration_init), (bin_query_duration_fold),
11270         (bin_query_duration_done), (bin_query_generic_fold),
11271         (gst_bin_query):
11272         Handle SEGMENT_START/DONE messages correctly.
11273         More evolved query algorithm that handles duration queries
11274         correctly.
11275
11276         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
11277         (gst_element_get_state_func), (gst_element_abort_state),
11278         (gst_element_commit_state), (gst_element_lost_state):
11279         Some more debugging.
11280
11281         * gst/gstmessage.h:
11282         Added doc.
11283
11284 2005-10-25  Wim Taymans  <wim@fluendo.com>
11285
11286         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
11287         Don't use invalid stream_time.
11288
11289         * gst/gstevent.c: (gst_event_new_newsegment):
11290         stream_time in newsegment cannot be undefined.
11291
11292 2005-10-24  Wim Taymans  <wim@fluendo.com>
11293
11294         * gst/gstbus.c:
11295         Doc fix.
11296
11297         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11298         (gst_queue_loop):
11299         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
11300
11301 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
11302
11303         * docs/libs/tmpl/gstdparam.sgml:
11304         * docs/libs/tmpl/gstdplinint.sgml:
11305         * docs/libs/tmpl/gstdpman.sgml:
11306         * docs/libs/tmpl/gstdpsmooth.sgml:
11307         * docs/libs/tmpl/gstunitconvert.sgml:
11308           these are obsolete
11309
11310 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11311
11312         * configure.ac:
11313           back to HEAD
11314
11315 === release 0.9.4 ===
11316
11317 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11318
11319         * configure.ac:
11320           releasing 0.9.4, "Tyrannosaurus Rex"
11321
11322 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
11323
11324         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
11325         (gst_file_sink_get_current_offset):
11326           Use fseeko() and ftello() if available. When falling back on
11327           lseek() to get the current offset, fflush() first to make sure
11328           everything is up-to-date and we get the right offset.
11329
11330 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11331
11332         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11333         * gst/base/gstbasesrc.c: (gst_base_src_loop):
11334         * gst/gsterror.c: (_gst_stream_errors_init):
11335         * gst/gsterror.h:
11336         * gst/gstqueue.c: (gst_queue_loop):
11337         * po/POTFILES.in:
11338           remove prematurely added error category and clean up the instances
11339
11340 2005-10-21  Wim Taymans  <wim@fluendo.com>
11341
11342         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11343         (gst_base_sink_get_position), (gst_base_sink_query),
11344         (gst_base_sink_change_state):
11345         Simply set the right flag when going to playing, that's all
11346         we need to do instead of calling a function inside the object
11347         lock (that could take the lock as well and deadlock)
11348
11349 2005-10-21  Wim Taymans  <wim@fluendo.com>
11350
11351         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
11352         (gst_base_src_loop):
11353         Don't warn, the peer element knows what to do best when
11354         the seek failed, it might try something else.
11355
11356 2005-10-21  Wim Taymans  <wim@fluendo.com>
11357
11358         * gst/base/gstbasesrc.c: (gst_base_src_init),
11359         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
11360         Fix seeking.
11361
11362 2005-10-21  Wim Taymans  <wim@fluendo.com>
11363
11364         * docs/design/part-segments.txt:
11365         More docs.
11366
11367         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11368         Correctly set caps, even on the subbufer.
11369
11370 2005-10-21  Wim Taymans  <wim@fluendo.com>
11371
11372         * docs/gst/gstreamer-docs.sgml:
11373         * docs/gst/gstreamer-sections.txt:
11374         * gst/gstelement.h:
11375         * gst/gstevent.c:
11376         * gst/gstevent.h:
11377         * gst/gstmessage.h:
11378         * gst/gstpad.h:
11379         * gst/gstparse.h:
11380         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
11381         * gst/gsttask.h:
11382         * gst/gstutils.c:
11383         * gst/gstutils.h:
11384         And 2% more doc coverage.
11385
11386 2005-10-21  Andy Wingo  <wingo@pobox.com>
11387
11388         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
11389         position reporting.
11390
11391 2005-10-20  Wim Taymans  <wim@fluendo.com>
11392
11393         * gst/gsterror.c: (gst_error_get_message):
11394         * gst/gstparse.h:
11395         * gst/gstquery.h:
11396         * gst/gststructure.c:
11397         * gst/gsttrace.c:
11398         * gst/gstutils.c:
11399         More docs.
11400
11401 2005-10-20  Wim Taymans  <wim@fluendo.com>
11402
11403         * gst/gstbuffer.h:
11404         * gst/gstpad.c:
11405         * gst/gstparse.c:
11406         Another 1% more coverage.
11407
11408 2005-10-20  Wim Taymans  <wim@fluendo.com>
11409
11410         * docs/gst/gstreamer-sections.txt:
11411         * gst/gstelement.c: (gst_element_get_state_func),
11412         (gst_element_abort_state), (gst_element_commit_state),
11413         (gst_element_lost_state):
11414         * gst/gstevent.h:
11415         * gst/gstquery.c: (gst_query_set_position),
11416         (gst_query_parse_position), (gst_query_set_duration),
11417         (gst_query_parse_duration), (gst_query_new_convert):
11418         * gst/gstutils.c:
11419         Yay! 1% more docs coverage.
11420
11421 2005-10-20  Wim Taymans  <wim@fluendo.com>
11422
11423         * gst/gstpad.h:
11424         * gst/gstquery.c: (gst_query_set_position),
11425         (gst_query_parse_position), (gst_query_set_duration),
11426         (gst_query_parse_duration), (gst_query_new_convert):
11427         * gst/gstquery.h:
11428         * gst/gstutils.c: (gst_element_query_convert):
11429         * gst/gstutils.h:
11430         Docs and consistency fixes.
11431
11432 2005-10-20  Wim Taymans  <wim@fluendo.com>
11433
11434         * gst/gsttask.c:
11435         * gst/gsttask.h:
11436         More docs.
11437
11438 2005-10-20  Wim Taymans  <wim@fluendo.com>
11439
11440         * gst/gstbin.c: (message_check), (bin_replace_message),
11441         (bin_remove_messages), (is_eos), (gst_bin_add_func),
11442         (update_degree), (gst_bin_sort_iterator_next),
11443         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
11444         Reworked the message handling a bit, cache the messages instead of
11445         only the senders. alows us to do more in the future.
11446
11447 2005-10-20  Wim Taymans  <wim@fluendo.com>
11448
11449         * docs/design/part-TODO.txt:
11450         Update TODO
11451
11452         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
11453         (gst_base_sink_query):
11454         Don't use clock time to report position when in EOS.
11455
11456 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
11457
11458         * tools/gst-inspect.c: (print_interfaces),
11459         (print_element_properties_info), (print_element_info):
11460           Fix interface output with gst-inspect -a; don't print
11461           newlines after double/float properties.
11462
11463 2005-10-20  Wim Taymans  <wim@fluendo.com>
11464
11465         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
11466         (gst_base_sink_query):
11467         Speed up current position calculation.
11468
11469         * gst/base/gstbasesrc.c: (gst_base_src_query),
11470         (gst_base_src_default_newsegment):
11471         Correctly set stream position in newsegment.
11472
11473         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
11474         (update_degree), (gst_bin_sort_iterator_next),
11475         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
11476         * gst/gstmessage.c: (gst_message_new_custom):
11477         Clean up debugging info
11478
11479         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
11480         (gst_queue_loop), (gst_queue_handle_src_query):
11481         Pause task faster.
11482
11483 2005-10-19  Wim Taymans  <wim@fluendo.com>
11484
11485         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11486         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
11487         Fix query handling again.
11488
11489 2005-10-19  Wim Taymans  <wim@fluendo.com>
11490
11491         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11492         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
11493         * gst/base/gstbasesrc.c: (gst_base_src_query):
11494         * gst/elements/gstfilesink.c: (gst_file_sink_query):
11495         * gst/elements/gsttypefindelement.c:
11496         (gst_type_find_handle_src_query), (find_element_get_length),
11497         (gst_type_find_element_activate):
11498         API change fix.
11499
11500         * gst/gstquery.c: (gst_query_new_position),
11501         (gst_query_set_position), (gst_query_parse_position),
11502         (gst_query_new_duration), (gst_query_set_duration),
11503         (gst_query_parse_duration), (gst_query_set_segment),
11504         (gst_query_parse_segment):
11505         * gst/gstquery.h:
11506         Bundling query position/duration is not a good idea since duration
11507         does not change much and we don't want to recalculate it for every
11508         position query, so they are separated again..
11509         Base value in segment query is not needed.
11510
11511         * gst/gstqueue.c: (gst_queue_handle_src_query):
11512         * gst/gstutils.c: (gst_element_query_position),
11513         (gst_element_query_duration), (gst_pad_query_position),
11514         (gst_pad_query_duration):
11515         * gst/gstutils.h:
11516         Updates for query API change.
11517         Added some docs here and there.
11518
11519 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11520
11521         * check/gst/gstbin.c: (GST_START_TEST):
11522         * check/gst/gstghostpad.c: (GST_START_TEST):
11523         * check/pipelines/cleanup.c: (GST_START_TEST):
11524           wait on thread to die so we can check refcount correctly
11525
11526 2005-10-18  Wim Taymans  <wim@fluendo.com>
11527
11528         * check/pipelines/stress.c: (GST_START_TEST):
11529         Make check a little more time consuming.
11530
11531 2005-10-18  Wim Taymans  <wim@fluendo.com>
11532
11533         * check/Makefile.am:
11534         * check/pipelines/stress.c: (GST_START_TEST),
11535         (simple_launch_lines_suite), (main):
11536         Small state change torture test.
11537
11538         * docs/design/part-states.txt:
11539         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11540         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
11541         (gst_base_sink_change_state):
11542         Never take state lock from streaming thread, clean up ugly
11543         hacks. Unfortunatly core does not yet support nice ways to
11544         async commit state.
11545         
11546         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
11547         (bin_bus_handler):
11548         Start state recalc if a STATE_DIRTY message is posted, but only
11549         on the toplevel bin.
11550
11551         * gst/gstelement.c: (gst_element_sync_state_with_parent),
11552         (gst_element_get_state_func), (gst_element_abort_state),
11553         (gst_element_commit_state), (gst_element_lost_state),
11554         (gst_element_set_state_func), (gst_element_change_state):
11555         * gst/gstelement.h:
11556         State variables are now protected with the LOCK, the state
11557         lock is only used to serialize _set_state().
11558
11559 2005-10-18  Wim Taymans  <wim@fluendo.com>
11560
11561         * check/gst/gstbin.c: (GST_START_TEST):
11562         * check/gst/gstmessage.c: (GST_START_TEST):
11563         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
11564         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
11565         (bin_bus_handler):
11566         * gst/gstelement.c: (gst_element_abort_state),
11567         (gst_element_commit_state), (gst_element_lost_state):
11568         * gst/gstmessage.c: (gst_message_new_state_changed),
11569         (gst_message_new_state_dirty), (gst_message_new_segment_start),
11570         (gst_message_new_segment_done), (gst_message_new_duration),
11571         (gst_message_parse_state_changed),
11572         (gst_message_parse_segment_start),
11573         (gst_message_parse_segment_done), (gst_message_parse_duration):
11574         * gst/gstmessage.h:
11575         * tools/gst-launch.c: (event_loop):
11576         Seriously, this is better than a previous commit as we only need
11577         to notify the fact that an element changed state in a streaming
11578         thread, marking the state of the parents dirty, hence the 
11579         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
11580         message.
11581
11582 2005-10-18  Wim Taymans  <wim@fluendo.com>
11583
11584         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
11585         (gst_bin_recalc_func):
11586         * gst/gstelement.c: (gst_element_set_clock),
11587         (gst_element_abort_state), (gst_element_lost_state):
11588         Cleanups, prepare for state change fixes.
11589
11590 2005-10-18  Wim Taymans  <wim@fluendo.com>
11591
11592         * gst/gstbin.h:
11593         * gst/gstelement.c: (gst_element_class_init),
11594         (gst_element_set_state), (gst_element_set_state_func):
11595         * gst/gstelement.h:
11596         Pending ABI changes.
11597         GThreadPool in GstBinClass to monitor async state changes.
11598         state_cookie in GstElement to detect concurrent gst/set state.
11599         set_state is now virtual too in case a very complicated element
11600         has to be constructed.
11601
11602 2005-10-18  Wim Taymans  <wim@fluendo.com>
11603
11604         * check/gst/gstbin.c: (GST_START_TEST):
11605         * check/gst/gstmessage.c: (GST_START_TEST):
11606         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
11607         * gst/gstbin.c: (bin_bus_handler):
11608         * gst/gstelement.c: (gst_element_commit_state),
11609         (gst_element_lost_state):
11610         * gst/gstmessage.c: (gst_message_new_state_changed),
11611         (gst_message_new_segment_start), (gst_message_new_segment_done),
11612         (gst_message_new_duration), (gst_message_parse_state_changed),
11613         (gst_message_parse_segment_start),
11614         (gst_message_parse_segment_done), (gst_message_parse_duration):
11615         * gst/gstmessage.h:
11616         * tools/gst-launch.c: (event_loop):
11617         Make messages future proof.
11618         state-change gets a flag if it was a message comming from the
11619         streaming thread.
11620         segment-start/stop can also be specified in other formats.
11621         A message to notify an app that a pipeline changed playback 
11622         duration.
11623         Also fix a GstMessage leak in -launch
11624
11625 2005-10-18  Andy Wingo  <wingo@pobox.com>
11626
11627         * gst/gstelement.c (gst_element_dispose): More helpful message.
11628
11629 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
11630
11631         reviewed by: <delete if not using a buddy>
11632
11633         * common/gtk-doc.mak:
11634
11635 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
11636
11637         * gst/gstregistry.c: (gst_registry_scan_path_level):
11638           unref a plug-in we get that was already initialized
11639
11640 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
11641
11642         * docs/gst/gstreamer-sections.txt:
11643         * docs/libs/gstreamer-libs-sections.txt:
11644         * gst/gstelement.h:
11645           add new api entries
11646           hide internal macro
11647
11648 2005-10-17  Andy Wingo  <wingo@pobox.com>
11649
11650         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
11651         cleanup.
11652
11653         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
11654
11655         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
11656
11657         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
11658         (gst_element_get_state_func): Better debug message.
11659         (gst_element_commit_state): s/INFO/DEBUG/.
11660         (gst_element_lost_state, gst_element_change_state): 
11661
11662         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
11663         (gst_message_new_custom): s/INFO/LOG/.
11664
11665 2005-10-17  Michael Smith <msmith@fluendo.com>
11666
11667         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11668           Check if end time is valid using end time, not start time.
11669
11670 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
11671
11672         * check/gst-libs/controller.c: (GST_START_TEST),
11673         (gst_controller_suite):
11674         * libs/gst/controller/gstcontroller.c:
11675         (gst_controlled_property_set_interpolation_mode):
11676         * libs/gst/controller/gstcontroller.h:
11677         * libs/gst/controller/gstinterpolation.c:
11678         * testsuite/controller/.cvsignore:
11679         * testsuite/controller/Makefile.am:
11680         * testsuite/controller/interpolator.c:
11681           merge controller testsuites
11682           fix broken tests
11683           remove mem-chunk from docs
11684
11685 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
11686
11687         * gst/gstmemchunk.c:
11688         * gst/gstmemchunk.h:
11689         * gst/gsttrashstack.c:
11690         * gst/gsttrashstack.h:
11691           out.  get out.  you're fired.  to the Attic !
11692
11693 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
11694
11695         * gst/gstcaps.c: (gst_caps_intersect):
11696           fix signedness issues in a (hopefully) correct way
11697         * gst/gstelement.c: (gst_element_pads_activate):
11698           some debugging
11699         * gst/gstobject.c: (gst_object_set_parent):
11700           some debugging
11701
11702 2005-10-17  Julien MOUTTE  <julien@moutte.net>
11703
11704         * gst/gstvalue.h: Fix prototypes.
11705
11706 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
11707
11708         * docs/gst/gstreamer-sections.txt:
11709         * gst/gst.c: (gst_version_string):
11710         * gst/gst.h:
11711         * gst/gstversion.h.in:
11712         * win32/common/libgstreamer.def:
11713           add gst_version_string ()
11714
11715 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
11716
11717         * configure.ac:
11718           clean up further
11719         * gst/gst.c: (init_post):
11720         * win32/common/config.h.in:
11721           it's PLUGINDIR now
11722         * gst/gstcaps.c: (gst_caps_intersect):
11723           use gint64, the range could be bigger than a guint
11724
11725 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
11726
11727         * gst/gstclock.h:
11728           document potential problem in 2038
11729
11730 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
11731
11732         * gst/gstcaps.c: (gst_caps_intersect):
11733           Fix guint j diving under 0
11734
11735 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
11736
11737         * configure.ac:
11738         * win32/common/config.h:
11739         * win32/common/config.h.in:
11740           check for process.h, declares getpid() on Windows
11741         * gst/gstinfo.c:
11742           include process.h if we have it
11743         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
11744         * gst/gstmemchunk.h:
11745           fix signedness issues
11746         * win32/common/libgstreamer.def:
11747           fix get_type's
11748
11749 2005-10-16  Julien MOUTTE  <julien@moutte.net>
11750
11751         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
11752         fix. Because of unsigned ints, caps intersection was going nuts and
11753         trying to access structures with G_MAXUINT index. That fixes
11754         videotestsrc ! ffmpegcolorspace ! fakesink
11755         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
11756         consistency.
11757
11758 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
11759
11760         * configure.ac:
11761           use the gettext macro
11762         * gst/elements/gstelements.c:
11763         * gst/gst.c:
11764         * gst/indexers/gstindexers.c:
11765           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
11766         * win32/common/config.h:
11767           updated config.h
11768         * win32/common/config.h.in:
11769           add the template to generate config.h
11770         * win32/common/gstenumtypes.c:
11771         * win32/common/gstversion.h:
11772           updated copies
11773
11774 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
11775
11776         * gst/gst.c: (gst_version):
11777         * gst/gstversion.h.in:
11778           add the nano
11779
11780 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11781
11782         * gst/gstevent.h:
11783           Oops, add missing closing bracket.
11784
11785 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11786
11787         * configure.ac:
11788           use common m4's for argument checking
11789
11790 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11791
11792         * docs/gst/gstreamer-sections.txt:
11793         * gst/gstevent.h:
11794           Add GST_EVENT_TYPE_NAME() macro.
11795
11796 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11797
11798         * gst/gstinfo.c:
11799         * gst/gstpluginfeature.c:
11800         * gst/gsttask.c:
11801           privatize more symbols
11802
11803 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11804
11805         * configure.ac:
11806           add srcdir, builddir includes to GST_ALL_CFLAGS, since
11807           everything that uses GStreamer API should have the includes
11808
11809 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11810
11811         * docs/gst/gstreamer-sections.txt:
11812         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
11813         * gst/gstvalue.h:
11814           give each value a _get_type, removes the DATA exports
11815
11816 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11817
11818         * gst/gst.c:
11819         * gst/gst.h:
11820           remove _gst_registry_auto_load, not used anymore
11821         * gst/gstbin.c: (gst_bin_get_type):
11822         * gst/gstbin.h:
11823         * gst/gstelement.c: (gst_element_get_type):
11824         * gst/gstelement.h:
11825         * gst/gstobject.c: (gst_object_get_type):
11826         * gst/gstobject.h:
11827         * gst/gstpad.c: (gst_pad_get_type):
11828         * gst/gstpad.h:
11829           make _get_type functions similar, fixes data export from library
11830
11831 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11832
11833         * configure.ac:
11834           correctly make conditionals
11835         * gst/elements/Makefile.am:
11836         * gst/elements/gstelements.c:
11837           fix typo causing fdsrc not to build
11838
11839 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11840
11841         * testsuite/Makefile.am:
11842         * testsuite/bytestream/.cvsignore:
11843         * testsuite/bytestream/Makefile.am:
11844         * testsuite/bytestream/filepadsink.c:
11845         * testsuite/bytestream/gstbstest.c:
11846         * testsuite/bytestream/test1.c:
11847         * testsuite/bytestream/testfile1:
11848         * testsuite/caps/normalisation.c:
11849         * testsuite/caps/random.c: (main):
11850         * testsuite/cleanup/.cvsignore:
11851         * testsuite/cleanup/Makefile.am:
11852         * testsuite/cleanup/cleanup1.c:
11853         * testsuite/cleanup/cleanup2.c:
11854         * testsuite/cleanup/cleanup3.c:
11855         * testsuite/cleanup/cleanup4.c:
11856         * testsuite/cleanup/cleanup5.c:
11857         * testsuite/controller/interpolator.c:
11858         * testsuite/debug/printf_extension.c: (main):
11859         * testsuite/elements/tee.c:
11860         * testsuite/negotiation/.cvsignore:
11861         * testsuite/negotiation/Makefile.am:
11862         * testsuite/negotiation/pad_link.c:
11863         * testsuite/pad/Makefile.am:
11864         * testsuite/pad/chainnopull.c:
11865         * testsuite/pad/getnopush.c:
11866         * testsuite/pad/link.c:
11867         * testsuite/refcounting/sched.c: (create_pipeline):
11868         * testsuite/registry/Makefile.am:
11869         * testsuite/registry/gst-print-formats.c:
11870         * testsuite/schedulers/.cvsignore:
11871         * testsuite/schedulers/142183-2.c:
11872         * testsuite/schedulers/142183.c:
11873         * testsuite/schedulers/143777-2.c:
11874         * testsuite/schedulers/143777.c:
11875         * testsuite/schedulers/147713.c:
11876         * testsuite/schedulers/147819.c:
11877         * testsuite/schedulers/147894-2.c:
11878         * testsuite/schedulers/147894.c:
11879         * testsuite/schedulers/Makefile.am:
11880         * testsuite/schedulers/group_link.c:
11881         * testsuite/schedulers/queue_link.c:
11882         * testsuite/schedulers/relink.c:
11883         * testsuite/schedulers/unlink.c:
11884         * testsuite/schedulers/unref.c:
11885         * testsuite/schedulers/useless_iteration.c:
11886         * testsuite/states/bin.c:
11887           clean out/remove some stuff from the testsuite directories
11888
11889 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11890
11891         * configure.ac:
11892           check for some headers
11893         * gst/elements/Makefile.am:
11894         * gst/elements/gstelements.c:
11895           don't compile fdsrc without sys/socket.h
11896         * gst/indexers/Makefile.am:
11897         * gst/indexers/gstindexers.c: (plugin_init):
11898           don't compile fileindex without mmap
11899
11900 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11901
11902         * configure.ac:
11903           reorganize
11904           clean up
11905           document more
11906           remove cruft
11907         * check/Makefile.am:
11908         * docs/gst/Makefile.am:
11909         * examples/helloworld/Makefile.am:
11910         * gst/Makefile.am:
11911         * gst/base/Makefile.am:
11912         * gst/check/Makefile.am:
11913         * gst/elements/Makefile.am:
11914         * gst/indexers/Makefile.am:
11915         * gst/parse/Makefile.am:
11916         * libs/gst/controller/Makefile.am:
11917         * libs/gst/dataprotocol/Makefile.am:
11918         * examples/helloworld/helloworld.c: (event_loop):
11919           compile fixes, though it's not being compiled currently
11920
11921 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
11922
11923         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
11924           Add some simple tests for the new taglist date API.
11925
11926 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
11927
11928         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
11929         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
11930           Beautify 'last-message' output: print 'none' for buffer timestamps
11931           and durations if none is set; improve alignment with next messages.
11932
11933 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
11934
11935         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
11936         * gst/gstpluginfeature.h:
11937         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
11938         * gst/gstregistry.h:
11939         * docs/gst/gstreamer-sections.txt:
11940           Add new API to check plugin feature version requirements.
11941
11942         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
11943           Some basic tests for the above.         
11944
11945 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11946
11947         * gst/gststructure.c: (gst_structure_to_string):
11948           guard against NULL printf - happens when for example
11949           a message structure with GstClock gets serialized
11950
11951 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11952
11953         * gst/base/gstcollectpads.c: (gst_collectpads_event):
11954           Fix presumable copy'n'pasto.
11955
11956 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11957
11958         * gst/elements/gstfakesrc.h:
11959         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
11960         * gst/elements/gsttypefindelement.c:
11961           fix some signedness
11962         * gst/elements/gstfilesink.c: (gst_file_sink_render):
11963           I wonder if this could actually write +2GB files before
11964
11965 2005-10-13  Andy Wingo  <wingo@pobox.com>
11966
11967         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
11968         Fix Timmeke Waymans bug.
11969         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
11970         string of the proper length to gst_caps_from_string. There's a
11971         potential for, before this fix, that this could cause someone
11972         connecting over the network to cause a segfault if the payload is
11973         not NUL-terminated.
11974
11975 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
11976
11977         * docs/design/draft-push-pull.txt:
11978         * docs/design/part-overview.txt:
11979         * docs/random/TODO-pre-0.9:
11980         * docs/random/old/ChangeLog.gstreamer:
11981         * gst/base/gstpushsrc.c:
11982         * gst/gstclock.c:
11983           fixed typos
11984
11985 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11986
11987         * gst/glib-compat.c: (gst_flags_get_first_value):
11988         * gst/glib-compat.h:
11989         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
11990         (gst_value_compare_double), (gst_value_serialize_flags):
11991           GLib 2.6 g_flags_get_first_value has a bug that triggers an
11992           infinite loop
11993
11994 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11995
11996         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11997         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
11998           fix up debugging
11999         * tools/gst-launch.c: (event_loop):
12000           print out clock nicely
12001
12002 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
12003
12004         * docs/gst/gstreamer-sections.txt:
12005         * gst/gsttaglist.h:
12006         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
12007         (gst_tag_list_get_date_index):
12008           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
12009           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
12010
12011 2005-10-13  Julien MOUTTE  <julien@moutte.net>
12012
12013         * gst/base/gstcollectpads.c: (gst_collectpads_event),
12014         (gst_collectpads_chain):
12015         * gst/base/gstcollectpads.h: Handle newsegment and store informations
12016         in CollectData.
12017
12018 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
12019
12020         * docs/gst/gstreamer-sections.txt:
12021         * gst/gst.c:
12022         * gst/gsterror.h:
12023         * tools/gst-inspect.c: (main):
12024         * tools/gst-launch.c: (main):
12025         * tools/gst-run.c: (main):
12026         * tools/gst-xmlinspect.c: (main):
12027           fix GOption context leaks
12028           doc fixes
12029
12030 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12031
12032         * gst/gstbus.c:
12033           use HAVE_UNISTD_H
12034         * win32/common/config.h:
12035           update config
12036         * win32/vs6/grammar.dsp:
12037         * win32/vs6/libgstelements.dsp:
12038         * win32/vs6/libgstreamer.dsp:
12039           update vs6 files
12040
12041 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12042
12043         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12044         * gst/base/gstbasesrc.c: (gst_base_src_query):
12045           fix more guint64<->gdouble conversions
12046
12047 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12048
12049         * Makefile.am:
12050           add win32-update target
12051         * win32/common/gstconfig.h:
12052         * win32/common/gstenumtypes.c:
12053         * win32/common/gstenumtypes.h:
12054         * win32/common/gstversion.h:
12055           add files that visual studio can't generate
12056
12057 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12058
12059         * Makefile.am:
12060           add a win32-update target
12061         * configure.ac:
12062
12063 2005-10-12  Wim Taymans  <wim@fluendo.com>
12064
12065         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
12066         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
12067         * gst/gstelement.c: (gst_element_commit_state),
12068         (gst_element_set_state):
12069         Protect flags with proper lock.
12070         unref provided cached clock in dispose.
12071
12072 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
12073
12074         * gst/gst.c:
12075         * gst/gstminiobject.h:
12076         * gst/gstpad.h:
12077         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
12078           removed unused flags from miniobject
12079           doc fixes
12080
12081 2005-10-12  Wim Taymans  <wim@fluendo.com>
12082
12083         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
12084         (gst_file_sink_event), (gst_file_sink_render):
12085         Flush before seeking.
12086
12087 2005-10-12  Andy Wingo  <wingo@pobox.com>
12088
12089         * gst/gst.c (gst_init_check): Ignore unknown options, as has
12090         always been the case.
12091
12092 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
12093
12094         * check/gst/gstbin.c: (GST_START_TEST):
12095         * docs/gst/gstreamer-sections.txt:
12096         * gst/base/gstbasesink.c: (gst_base_sink_init):
12097         * gst/base/gstbasesrc.c: (gst_base_src_init),
12098         (gst_base_src_get_range), (gst_base_src_check_get_range),
12099         (gst_base_src_start), (gst_base_src_stop):
12100         * gst/base/gstbasesrc.h:
12101         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
12102         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
12103         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
12104         (bin_bus_handler):
12105         * gst/gstbin.h:
12106         * gst/gstbuffer.h:
12107         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
12108         * gst/gstbus.h:
12109         * gst/gstelement.c: (gst_element_is_locked_state),
12110         (gst_element_set_locked_state), (gst_element_commit_state),
12111         (gst_element_set_state):
12112         * gst/gstelement.h:
12113         * gst/gstindex.c: (gst_index_init):
12114         * gst/gstindex.h:
12115         * gst/gstminiobject.h:
12116         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
12117         (gst_object_set_parent):
12118         * gst/gstobject.h:
12119         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
12120         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
12121         * gst/gstpad.h:
12122         * gst/gstpadtemplate.h:
12123         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
12124         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
12125         * gst/gstpipeline.h:
12126         * gst/indexers/gstfileindex.c: (gst_file_index_load),
12127         (gst_file_index_commit):
12128         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
12129         * testsuite/pad/link.c: (gst_test_src_init),
12130         (gst_test_filter_init), (gst_test_sink_init):
12131         * testsuite/states/locked.c: (main):
12132           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
12133           moved bitshift from macro to enum definition
12134
12135 2005-10-12  Wim Taymans  <wim@fluendo.com>
12136
12137         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
12138         * gst/elements/gstfilesink.c: (gst_file_sink_event),
12139         (gst_file_sink_render):
12140         Some more debugging info.
12141
12142 2005-10-12  Wim Taymans  <wim@fluendo.com>
12143
12144         * docs/design/part-states.txt:
12145         * tools/gst-launch.c: (main):
12146         Some doc updates.
12147         Revert non-intentional change.
12148
12149 2005-10-12  Wim Taymans  <wim@fluendo.com>
12150
12151         * check/gst/gstbin.c: (GST_START_TEST):
12152         * check/gst/gstelement.c: (GST_START_TEST):
12153         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
12154         * check/gst/gstghostpad.c: (GST_START_TEST):
12155         * check/gst/gstpipeline.c: (GST_START_TEST):
12156         * check/pipelines/simple_launch_lines.c: (run_pipeline):
12157         * check/states/sinks.c: (GST_START_TEST):
12158         * gst/elements/gsttypefindelement.c: (stop_typefinding):
12159         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
12160         (gst_bin_remove_func), (gst_bin_get_state_func),
12161         (gst_bin_recalc_state), (gst_bin_change_state_func),
12162         (bin_bus_handler):
12163         * gst/gstelement.c: (gst_element_get_state_func),
12164         (gst_element_get_state), (gst_element_abort_state),
12165         (gst_element_commit_state), (gst_element_set_state),
12166         (gst_element_change_state), (gst_element_change_state_func):
12167         * gst/gstelement.h:
12168         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
12169         (gst_pipeline_provide_clock_func):
12170         * gst/gstutils.c: (gst_element_link_pads_filtered):
12171         * tools/gst-launch.c: (main):
12172         * tools/gst-typefind.c: (main):
12173         Use GstClockTime in _get_state() instead of GTimeVal.
12174         Remove old code in gstutils.c
12175
12176 2005-10-12  Andy Wingo  <wingo@pobox.com>
12177
12178         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
12179         removed.
12180
12181         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
12182         there is no task. Shouldn't affect any code, as nothing in our
12183         plugins checks this return value.
12184         (gst_pad_stop_task): Also take the stream lock if the pad has no
12185         task. Docs updated.
12186
12187 2005-10-12  Wim Taymans  <wim@fluendo.com>
12188
12189         * gst/gstpad.c: (pre_activate), (post_activate),
12190         (gst_pad_activate_pull), (gst_pad_activate_push):
12191         Cleanup activation code. Reset old state if
12192         activation failed.
12193
12194 2005-10-12  Wim Taymans  <wim@fluendo.com>
12195
12196         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12197         (gst_base_sink_change_state):
12198         No need to prerol after receiving EOS.
12199
12200         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
12201         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
12202         * gst/elements/gstidentity.c: (gst_identity_event):
12203         Print events more verbosely.
12204
12205 2005-10-12  Wim Taymans  <wim@fluendo.com>
12206
12207         * check/Makefile.am:
12208         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
12209         * check/states/sinks2.c:
12210         Moved sinks2 testcode in sinks check.
12211
12212         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
12213         (gst_bin_remove_func), (gst_bin_recalc_state),
12214         (gst_bin_change_state_func), (bin_bus_handler):
12215         Fix potential race condition when _get_state() iterated over an
12216         ASYNC element right before it posted a state completion.
12217
12218         * gst/gstclock.h:
12219         Do proper cast here.
12220
12221         * gst/gstevent.c: (gst_event_new_newsegment),
12222         (gst_event_parse_newsegment):
12223         A playback rate of 0.0 is not allowed.
12224
12225 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
12226
12227         * win32/common/config.h:
12228         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
12229         (_trewinddir), (_ttelldir), (_tseekdir):
12230         * win32/common/dirent.h:
12231         * win32/common/gtchar.h:
12232         * win32/common/libgstbase.def:
12233         * win32/common/libgstreamer.def:
12234         * win32/vs6/grammar.dsp:
12235         * win32/vs6/gst_inspect.dsp:
12236         * win32/vs6/gst_launch.dsp:
12237         * win32/vs6/gstreamer.dsw:
12238         * win32/vs6/libgstbase.dsp:
12239         * win32/vs6/libgstelements.dsp:
12240         * win32/vs6/libgstreamer.dsp:
12241           Visual Studio 6 project files, and a new common directory.
12242           Phear.
12243
12244 2005-10-11  Wim Taymans  <wim@fluendo.com>
12245
12246         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12247         (gst_base_sink_do_sync), (gst_base_sink_query),
12248         (gst_base_sink_change_state):
12249         * gst/base/gstbasesink.h:
12250         Correctly parse newsegment info.
12251
12252 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
12253
12254         * gst/gst.c: (init_post):
12255           split plugin paths correctly
12256
12257 2005-10-11  Wim Taymans  <wim@fluendo.com>
12258
12259         * check/gst/gstevent.c: (GST_START_TEST):
12260         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12261         (gst_base_sink_change_state):
12262         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
12263         * gst/base/gstbasetransform.c: (gst_base_transform_event):
12264         * gst/elements/gstfilesink.c: (gst_file_sink_event):
12265         * gst/gstevent.c: (gst_event_new_newsegment),
12266         (gst_event_parse_newsegment):
12267         * gst/gstevent.h:
12268         Added extra flag to newsegment for future API freeze.
12269         Updated check and base elements.
12270
12271 2005-10-11  Julien MOUTTE  <julien@moutte.net>
12272
12273         * gst/base/gstcollectpads.c: (gst_collectpads_init),
12274         (gst_collectpads_add_pad), (gst_collectpads_pop),
12275         (gst_collectpads_event), (gst_collectpads_chain):
12276         * gst/base/gstcollectpads.h: Handle EOS correctly.
12277
12278 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
12279
12280         * tools/gst-launch.c: (main):
12281           more null protecting
12282
12283 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
12284
12285         * gst/gst-i18n-lib.h:
12286           check for ENABLE_NLS, not GETTEXT_PACKAGE
12287         * gst/gstregistry.c: (gst_registry_add_plugin),
12288         (gst_registry_scan_path_level),
12289         (_gst_registry_remove_cache_plugins):
12290           protect possibly NULL strings
12291         * gst/parse/types.h:
12292           config.h already included before
12293         * tools/gst-inspect.c: (main):
12294           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
12295           check for ENABLE_NLS, not GETTEXT_PACKAGE
12296         * tools/gst-launch.c: (main):
12297           check for ENABLE_NLS, not GETTEXT_PACKAGE
12298
12299 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
12300
12301         * configure.ac:
12302           if we don't have glib, fail before testing 2.8
12303         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
12304           fix a leak, should fix plugins-base testsuite
12305
12306 2005-10-11  Andy Wingo  <wingo@pobox.com>
12307
12308         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
12309         take the mode we're going to as an arg. Go head and set the mode
12310         and flushing flags now, so that if the activate function starts a
12311         thread all the flags will be in the right state.
12312         (post_activate): Renamed also. Just handle making sure streaming
12313         finishes for the deactivation case, and setting the deactivated
12314         mode.
12315         (gst_pad_set_active): Complain loudly if deactivation fails.
12316         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
12317         (gst_pad_activate_push): Adapt to pre/post_activate changes,
12318         remove the terrible hack.
12319
12320 2005-10-11  Wim Taymans  <wim@fluendo.com>
12321
12322         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
12323         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
12324         (gst_bin_recalc_state), (gst_bin_change_state_func),
12325         (gst_bin_dispose), (bin_bus_handler):
12326         * gst/gstbin.h:
12327         Prepare to make current EOS message queue more generic.
12328         Fix some typos.
12329
12330         * gst/gstevent.c: (gst_event_new_newsegment),
12331         (gst_event_parse_newsegment):
12332         * gst/gstevent.h:
12333         Rename base to stream_time.
12334
12335         * gst/gstmessage.h:
12336         Fix typo in docs.
12337
12338 2005-10-11  Wim Taymans  <wim@fluendo.com>
12339
12340         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
12341         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
12342         (gst_bin_change_state_func), (bin_bus_handler):
12343         * gst/gstbin.h:
12344         Work on proper clock selection.
12345
12346 2005-10-11  Edward Hervey  <edward@fluendo.com>
12347
12348         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
12349         * libs/gst/controller/gstcontroller.h:
12350         Added GList* version of _remove_properties() in order to be able to wrap
12351         it in bindings.
12352
12353 2005-10-11  Wim Taymans  <wim@fluendo.com>
12354
12355         * docs/design/part-states.txt:
12356         Some more docs.
12357
12358         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
12359         (gst_bin_change_state_func), (bin_bus_handler):
12360         Doc updates. Don't distribute the same clock over and over again.
12361
12362         * gst/gstclock.c:
12363         * gst/gstclock.h:
12364         Doc updates.
12365
12366         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
12367         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
12368         (gst_pad_send_event):
12369         * gst/gstpad.h:
12370         Make probe emission threadsafe again.
12371         Register quarks and move _get_name() from utils.
12372         Doc updates.
12373
12374         * gst/gstpipeline.c: (gst_pipeline_class_init),
12375         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
12376         Only redistribute the clock of it changed.
12377
12378         * gst/gstsystemclock.h:
12379         Doc updates. 
12380
12381         * gst/gstutils.c:
12382         * gst/gstutils.h:
12383         Moved the _flow_get_name() to GstPad.
12384
12385 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
12386
12387         * check/gst-libs/gdp.c: (GST_START_TEST):
12388         * check/gst/gstcaps.c: (GST_START_TEST):
12389         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
12390         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
12391         (gst_dp_packet_from_caps):
12392           fix more valgrind warnings before turning up the heat
12393
12394 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
12395
12396         * gst/parse/grammar.y:
12397           some cleanup before the hacking
12398
12399 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12400
12401         * gst/base/gstbasesrc.c: (gst_base_src_query):
12402           use conversions
12403         * gst/gstutils.c: (gst_guint64_to_gdouble),
12404         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
12405         * gst/gstutils.h:
12406           externalize, basesrc uses it
12407           obviously the implementation needs testing
12408
12409 2005-10-10  Wim Taymans  <wim@fluendo.com>
12410
12411         * tests/sched/Makefile.am:
12412         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
12413         (make_pipeline3), (make_pipeline4), (print_elem), (main):
12414
12415 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12416
12417         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
12418           apparently converting from guint64 to double is not implemented
12419           on MSVC
12420
12421 2005-10-10  Wim Taymans  <wim@fluendo.com>
12422
12423         * check/Makefile.am:
12424         * check/generic/states.c: (GST_START_TEST):
12425         * check/gst/gstbin.c: (GST_START_TEST):
12426         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
12427         * check/states/sinks.c: (GST_START_TEST):
12428         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
12429         (main):
12430         Check fixes, use API as stated in design docs, remove hacks.
12431
12432         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12433         (gst_base_sink_change_state):
12434         Catch stopping our task while we're shutting down.
12435
12436         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
12437         (gst_bin_remove_func), (gst_bin_get_state_func),
12438         (gst_bin_recalc_state), (gst_bin_change_state_func),
12439         (bin_bus_handler):
12440         * gst/gstbin.h:
12441         * gst/gstelement.c: (gst_element_init),
12442         (gst_element_get_state_func), (gst_element_abort_state),
12443         (gst_element_commit_state), (gst_element_lost_state),
12444         (gst_element_set_state), (gst_element_change_state),
12445         (gst_element_change_state_func):
12446         * gst/gstelement.h:
12447         New state change algorithm (see #318116)
12448
12449         * gst/gstpipeline.c: (gst_pipeline_class_init),
12450         (gst_pipeline_init), (gst_pipeline_set_property),
12451         (gst_pipeline_get_property), (do_pipeline_seek),
12452         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
12453         * gst/gstpipeline.h:
12454         Remove crude state change hacks.
12455
12456         * gst/gstutils.h:
12457         Remove crude hacks.
12458
12459         * tools/gst-launch.c: (main):
12460         Fixes for state change. Needs some more work to fully use the
12461         new stuff.
12462
12463 2005-10-10  Andy Wingo  <wingo@pobox.com>
12464
12465         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
12466
12467         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
12468         this flag, but it's not even in GLib 2.6. Odd. Hack around the
12469         issue.
12470
12471 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
12472
12473         * gst/gstiterator.c: (gst_iterator_new):
12474           Fix my previous commit: GTypes passed to gst_iterator_new()
12475           can be fundamental types.
12476
12477 2005-10-10  Wim Taymans  <wim@fluendo.com>
12478
12479         * gst/gstelement.c: (gst_element_iterate_pad_list),
12480         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
12481         (gst_element_iterate_sink_pads):
12482         Use src/sink pads lists for the respective iterators instead
12483         of filtering.
12484
12485 2005-10-10  Andy Wingo  <wingo@pobox.com>
12486
12487         Merged in popt removal + GOption addition patch from Ronald, bug
12488         #169772.
12489
12490         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
12491         GstElement macros around, remove popt-related symbols, add goption
12492         stuff.
12493
12494         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
12495         
12496         * docs/gst/Makefile.am:
12497         * docs/libs/Makefile.am: No POPT_CFLAGS.
12498         
12499         * examples/manual/Makefile.am:
12500         * docs/manual/basics-init.xml: Doc updates with an example.
12501         
12502         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
12503         (gst_init), (parse_one_option), (parse_goption_arg):
12504         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
12505         bit of hand merging and debugging to get the GOption stuff working
12506         tho.
12507         
12508         * tests/Makefile.am:
12509         * tools/Makefile.am:
12510         * tools/gst-inspect.c: (main):
12511         * tools/gst-launch.c: (main):
12512         * tools/gst-run.c: (main):
12513         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
12514
12515 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
12516
12517         * gst/gstiterator.c: (gst_iterator_new):
12518           Add assertions to make sure passed GType is likely to really
12519           be a GType (as the compiler won't catch it if the size and
12520           GType arguments get mixed up, see #318447).
12521
12522 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
12523
12524         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12525
12526         * gst/gstbin.c: (gst_bin_iterate_sorted):
12527           Pass GType and size arguments to gst_iterator_new() in the right
12528           order (maybe we should make _new() take the GType as first argument
12529           just like _new_list()?) (#318447).
12530           
12531
12532 2005-10-10  Wim Taymans  <wim@fluendo.com>
12533
12534         * gst/gstelement.c: (gst_element_finalize):
12535         And free the GStaticRecMutex too
12536
12537 2005-10-10  Andy Wingo  <wingo@pobox.com>
12538
12539         * gst/gstelement.c (gst_element_init, gst_element_finalize):
12540         Allocate and free the mutex properly.
12541
12542         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
12543         New macros.
12544         (GstElement): The state_lock is now recursive. Rebuild your
12545         plugins, suckers. Old macros adapted.
12546
12547         * docs/gst/gstreamer-sections.txt: Doc updates.
12548
12549         * gst/gstutils.h:
12550         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
12551         (g_static_rec_cond_wait): Ported from state changes patch, while
12552         we wait on bug #317802 to be solved in a well-distributed GLib.
12553
12554         * gst/gstelement.c (gst_element_change_state_func): Renamed from
12555         gst_element_change_state, variable name changes.
12556         (gst_element_change_state): Split out of gst_element_set_state in
12557         preparation for the state change merge. Doesn't pay attention to
12558         the 'transition' argument.
12559         (gst_element_set_state): Updates, hopefully purely cosmetic.
12560         (gst_element_sync_state_with_parent): MT-safety. Ported from the
12561         state change patch.
12562         (gst_element_get_state_func): Renamed from get_state, cosmetic
12563         changes.
12564
12565 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12566
12567         * gst/elements/gstelements.c:
12568         * win32/GStreamer.vcproj:
12569         * win32/config.h:
12570         * win32/dirent.c: (_tseekdir):
12571         * win32/gst-inspect.vcproj:
12572         * win32/gst-launch.vcproj:
12573         * win32/gstconfig.h:
12574         * win32/gstelements.vcproj:
12575         * win32/gstenumtypes.c: (gst_object_flags_get_type):
12576         * win32/gstreamer.def:
12577         * win32/msvc71.sln:
12578           updates for the win32 build (patch from Sebastien Moutte)
12579
12580 2005-10-10  Andy Wingo  <wingo@pobox.com>
12581
12582         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
12583         gst_bin_get_state, cleaned up (but no logic changes).
12584         (bin_element_is_sink): Comment updates.
12585         (sink_iterator_filter): Remove needless cast.
12586         (gst_bin_iterate_sinks): Doc update.
12587         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
12588         cleaned up (but no logic changes).
12589
12590         * check/states/sinks.c (test_src_sink): Cleanups from the state
12591         change patch.
12592         (test_livesrc_sink): Sync on the state.
12593
12594         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
12595         the state change patch.
12596
12597         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
12598         change patch.
12599
12600         * check/gst/gstbin.c: Merge in some style fixes and additional
12601         checks from Wim's state change patch.
12602
12603 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
12604
12605         * gst/base/gsttypefindhelper.c: (helper_find_peek),
12606         (gst_type_find_helper):
12607           Check whether we have the requested data already in our list of
12608           cached buffers before pulling a new buffer; also make the buffer
12609           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
12610
12611 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12612
12613         * gst/gstcaps.c:
12614         * gst/gstevent.c:
12615           doc updates
12616         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
12617           don't use long long, it's not portable.  Replacing with
12618           gint64 seems to work; let's hope no skeletons fall out of the closet.
12619
12620 2005-10-10  Andy Wingo  <wingo@pobox.com>
12621
12622         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
12623
12624 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
12625
12626         * docs/gst/gstreamer-sections.txt:
12627         * gst/gstevent.c:
12628         * gst/gstevent.h:
12629         * gst/gstinfo.c:
12630         * gst/gstinfo.h:
12631         * gst/gstmessage.c: (gst_message_parse_state_changed):
12632         * gst/gstpad.c:
12633         * gst/gstpad.h:
12634           more docs, fix compilation
12635
12636 2005-10-09  Philippe Khalaf <burger@speedy.org>
12637         * gst/gstmessage.c:
12638           Fixed a few forgotten variables on previous commit
12639
12640 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
12641
12642         * gst/base/gsttypefindhelper.c: (helper_find_peek):
12643           Fix evil typefind crasher: getrange() might return a short
12644           buffer at the end of a file, but gst_type_find_peek() must
12645           either return the full data as requested or NULL, but
12646           never a short buffer.
12647
12648 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12649
12650         * gst/gstmessage.c: (gst_message_new_state_changed),
12651         (gst_message_parse_state_changed):
12652         * gst/gstmessage.h:
12653           don't use "new", it's a C++ keyword
12654
12655 2005-10-08  Wim Taymans  <wim@fluendo.com>
12656
12657         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
12658         * gst/gstelement.c: (gst_element_post_message):
12659         * gst/gstpipeline.c: (gst_pipeline_change_state):
12660         Small docs and debug updates.
12661
12662 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
12663
12664         * docs/gst/gstreamer-sections.txt:
12665         * gst/gstelementfactory.c:
12666         * gst/gstevent.c:
12667         * gst/gsttaglist.c:
12668           more docs
12669
12670 2005-10-08  Wim Taymans  <wim@fluendo.com>
12671
12672         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
12673         (gst_bin_dispose), (bin_bus_handler):
12674         Fix typos, add comments.
12675         Clear EOS list when going to PAUSED from any direction and do it
12676         in a threadsafe way.
12677         Get base time in a threadsafe way too.
12678         Fix confusing debug in the change_state function.
12679         Various other small cleanups.
12680         
12681         * gst/gstelement.c: (gst_element_post_message):
12682         Fix very verbose bus posting code.
12683
12684         * gst/gstpipeline.c: (gst_pipeline_class_init),
12685         (gst_pipeline_set_property), (gst_pipeline_get_property),
12686         (gst_pipeline_change_state):
12687         Small ARG_ -> PROP_ cleanup
12688
12689 2005-10-08  Wim Taymans  <wim@fluendo.com>
12690
12691         * gst/gstbin.c: (is_eos), (bin_bus_handler):
12692         Do a less CPU demanding EOS check because we can.
12693
12694 2005-10-08  Wim Taymans  <wim@fluendo.com>
12695
12696         * libs/gst/dataprotocol/dataprotocol.c:
12697         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12698         (gst_dp_packet_from_event):
12699         * libs/gst/dataprotocol/dataprotocol.h:
12700         * libs/gst/dataprotocol/dp-private.h:
12701         It's about time we bump the version number.
12702         Since event types don't fit in the guint8 anymore describing
12703         the payload type, make payload type 16 bits wide.
12704
12705 2005-10-08  Wim Taymans  <wim@fluendo.com>
12706
12707         * docs/design/part-TODO.txt:
12708         * docs/design/part-clocks.txt:
12709         * docs/design/part-events.txt:
12710         * docs/design/part-gstbin.txt:
12711         * docs/design/part-gstelement.txt:
12712         * docs/design/part-gstpipeline.txt:
12713         * docs/design/part-live-source.txt:
12714         * docs/design/part-messages.txt:
12715         * docs/design/part-overview.txt:
12716         * docs/design/part-states.txt:
12717         Many doc updates.
12718
12719 2005-10-08  Wim Taymans  <wim@fluendo.com>
12720
12721         * gst/gstevent.c:
12722         * gst/gstevent.h:
12723         Fix event quark registration.
12724         Add some space between events so we can insert them in the
12725         right groups.
12726
12727 2005-10-08  Wim Taymans  <wim@fluendo.com>
12728
12729         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12730         (gst_base_sink_handle_buffer):
12731         Better log message.
12732
12733         * gst/gstbus.h:
12734         * gst/gstelement.h:
12735         More docs.
12736
12737         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12738         (gst_queue_set_property), (gst_queue_get_property):
12739         * gst/gstqueue.h:
12740         Remove old unused properties.
12741
12742 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
12743         * docs/gst/gstreamer-sections.txt:
12744         * gst/gstmessage.c:
12745         * gst/gstmessage.h:
12746         * gst/gstminiobject.c:
12747         * gst/gstminiobject.h:
12748         * gst/gstobject.h:
12749         * gst/gstpad.h:
12750         * gst/gstutils.h:
12751           lots of new docs and doc fixes
12752
12753 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12754
12755         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
12756         * gst/gstplugin.h:
12757         * gst/gstregistry.c: (gst_registry_lookup_locked),
12758         (gst_registry_scan_path_level):
12759         * gst/gstregistryxml.c: (load_plugin):
12760           Only ever load one plugin for a given plugin basename.
12761           This ensures correct overriding of GST_PLUGIN_PATH over
12762           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
12763           system installed plugins.
12764
12765 2005-10-08  Wim Taymans  <wim@fluendo.com>
12766
12767         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12768         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
12769         Prepare for doing QOS.
12770
12771 2005-10-08  Wim Taymans  <wim@fluendo.com>
12772
12773         * check/gst/gstbin.c: (GST_START_TEST):
12774         * check/pipelines/cleanup.c: (GST_START_TEST):
12775         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
12776         Allow new clock message too.
12777
12778 2005-10-08  Wim Taymans  <wim@fluendo.com>
12779
12780         * gst/gstmessage.c: (gst_message_new_error),
12781         (gst_message_new_warning), (gst_message_new_tag),
12782         (gst_message_new_state_changed), (gst_message_new_clock_provide),
12783         (gst_message_new_clock_lost), (gst_message_new_new_clock),
12784         (gst_message_new_segment_start), (gst_message_new_segment_done),
12785         (gst_message_parse_state_changed),
12786         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
12787         (gst_message_parse_new_clock):
12788         * gst/gstmessage.h:
12789         Also carry the clock in question.
12790
12791 2005-10-08  Wim Taymans  <wim@fluendo.com>
12792
12793         * gst/gstmessage.c: (gst_message_new_custom),
12794         (gst_message_new_eos), (gst_message_new_error),
12795         (gst_message_new_warning), (gst_message_new_tag),
12796         (gst_message_new_state_changed), (gst_message_new_clock_provide),
12797         (gst_message_new_new_clock), (gst_message_new_segment_start),
12798         (gst_message_new_segment_done), (gst_message_parse_state_changed),
12799         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
12800         * gst/gstmessage.h:
12801         Clean up.
12802         Added clock related messages.
12803
12804         * gst/gstpipeline.c: (gst_pipeline_change_state):
12805         Post message when the clock changed.
12806
12807         * tools/gst-launch.c: (event_loop):
12808         Print new clock.
12809
12810 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
12811
12812         * tools/gst-inspect.c: (print_element_properties_info):
12813           Can't pass NULL strings to g_print() on windows.
12814
12815 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12816
12817         * docs/Makefile.am:
12818         * docs/gst/Makefile.am:
12819         * docs/gst/gstreamer-docs.sgml:
12820         * docs/gst/running.xml:
12821         * docs/version.entities.in:
12822           add a chapter on running GStreamer.
12823           document GST_DEBUG and GST_PLUGIN* env vars
12824
12825 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12826
12827         * Makefile.am:
12828           remove include dir
12829         * configure.ac:
12830           remove PLUGINS_BUILDDIR stuff
12831         * gst/gst.c: (init_post):
12832           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
12833         * idiottest.mak:
12834           remove, it was condescending and not needed
12835
12836 2005-10-08  Wim Taymans  <wim@fluendo.com>
12837
12838         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
12839         (gst_base_sink_handle_object), (gst_base_sink_event),
12840         (gst_base_sink_wait), (gst_base_sink_handle_event),
12841         (gst_base_sink_change_state):
12842         * gst/base/gstbasesink.h:
12843         Repost EOS message while going to PLAYING if still EOS.
12844         Make sure that when receiving a FLUSH_START we don't attempt
12845         to sync on the clock anymore.
12846
12847 2005-10-08  Wim Taymans  <wim@fluendo.com>
12848
12849         * tools/gst-launch.c: (event_loop):
12850         Better message printout.
12851
12852 2005-10-08  Wim Taymans  <wim@fluendo.com>
12853
12854         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
12855         (gst_bin_child_proxy_get_children_count):
12856         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
12857         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
12858         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
12859         (gst_child_proxy_set_valist):
12860         * gst/parse/grammar.y:
12861         Make ChildProxy threadsafe and fix mem leaks.
12862
12863 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12864
12865         * gst/gst.c: (init_post):
12866           debug the GST_PLUGIN_ env vars
12867
12868 2005-10-08  Wim Taymans  <wim@fluendo.com>
12869
12870         * check/gst/gstbin.c: (GST_START_TEST):
12871         * check/gst/gstmessage.c: (GST_START_TEST):
12872         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
12873         * gst/gstelement.c: (gst_element_commit_state),
12874         (gst_element_lost_state):
12875         * gst/gstmessage.c: (gst_message_new_state_changed),
12876         (gst_message_parse_state_changed):
12877         * gst/gstmessage.h:
12878         * tools/gst-launch.c: (event_loop):
12879         Added extra field to STATE_CHANGE message with the pending
12880         state, which will be different from the new state soon.
12881
12882 2005-10-08  Wim Taymans  <wim@fluendo.com>
12883
12884         * gst/gstbus.c: (gst_bus_pop):
12885         * gst/gstclock.c:
12886         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
12887         Small cleanups and doc updates.
12888
12889 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12890
12891         * gst/gst.c: (init_pre):
12892         * gst/gstbin.c: (gst_bin_add_func):
12893           log distributing clocks and base time
12894         * gst/gstregistry.c: (gst_registry_add_plugin),
12895         (gst_registry_scan_path_level), (gst_registry_scan_path):
12896           clean up the debugging output a little
12897         * gst/gstutils.c: (gst_element_state_get_name):
12898           warn about a memleak (I've actually seen this be used, though
12899           it was probably a bug)
12900
12901 2005-10-07  Wim Taymans  <wim@fluendo.com>
12902
12903         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12904         (gst_base_src_init), (gst_base_src_default_newsegment),
12905         (gst_base_src_newsegment), (gst_base_src_do_seek),
12906         (gst_base_src_loop), (gst_base_src_start):
12907         * gst/base/gstbasesrc.h:
12908         Make the newsegment event customizable by subclasses.
12909
12910 2005-10-07  Wim Taymans  <wim@fluendo.com>
12911
12912         * gst/gstevent.c: (gst_event_new_buffersize),
12913         (gst_event_parse_buffersize):
12914         * gst/gstevent.h:
12915         New event for future idea.
12916
12917 2005-10-07  Andy Wingo  <wingo@pobox.com>
12918
12919         * gst/gstelement.c (gst_element_post_message): Doc update.
12920
12921         * docs/gst/gstreamer-sections.txt: Update.
12922
12923         * gst/gstmessage.c (gst_message_new_application): Made into a
12924         function like honest API calls.
12925         (gst_message_new_element): New message type.
12926
12927         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
12928
12929         * check/elements/fakesrc.c (test_no_preroll): New check, checks
12930         that setting a live fakesrc to PAUSED returns NO_PREROLL both
12931         times.
12932
12933         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
12934         NO_PREROLL from gst_element_change_state to fall through.
12935
12936 2005-10-07  Wim Taymans  <wim@fluendo.com>
12937
12938         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
12939         (gst_ghost_pad_do_activate_push):
12940         Activating a ghostpad with no internal pad in push mode
12941         is ok.
12942
12943 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12944
12945         * gst/gstobject.h:
12946           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
12947           Fixes compilation on Windows.
12948
12949 2005-10-07  Michael Smith <msmith@fluendo.com>
12950
12951         * tools/gst-inspect.c:
12952           Print out feature and plugin count at the end when printing out
12953           all features.
12954
12955 2005-10-04  Michael Smith <msmith@fluendo.com>
12956
12957         * gst/gsterror.c: (_gst_stream_errors_init):
12958           Add another error string used in a few existing plugins.
12959
12960         * gst/gstplugin.c:
12961         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12962         * tools/gst-inspect.c: (print_element_info):
12963           When a feature disappears from a plugin (and the feature exists in
12964           the cached registry file), things went horribly wrong. This isn't a
12965           complete fix, we should actually be removing the 'missing' features
12966           from the features list when we load the actual plugin. That's not
12967           yet implemented. 
12968
12969 2005-10-04  Johan Dahlin  <johan@gnome.org>
12970
12971         * check/gst/gstiterator.c: (GST_START_TEST):
12972         * gst/gstbin.c: (gst_bin_iterate_elements),
12973         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
12974         * gst/gstelement.c: (gst_element_iterate_pads):
12975         * gst/gstformat.c: (gst_format_iterate_definitions):
12976         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12977         (gst_iterator_new_list), (gst_iterator_filter):
12978         * gst/gstiterator.h:
12979         * gst/gstquery.c: (gst_query_type_iterate_definitions):
12980         Add a GType to GstIterator, update callsites and tests.
12981
12982 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12983
12984         * gst/gstpad.c: (gst_pad_event_default_dispatch):
12985           give events a chance to be handled by event probes when the pad
12986           is not linked
12987
12988 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12989
12990         * gst/gstevent.c: (gst_event_type_get_name),
12991         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
12992         * gst/gstevent.h:
12993           add string representations for event types
12994
12995 2005-10-06  Wim Taymans  <wim@fluendo.com>
12996
12997         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
12998         Don't use NULL pointers.
12999
13000 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13001
13002         * gst/gst_private.h:
13003         * gst/gstbus.c:
13004         * gst/gstelement.c:
13005         * gst/gstinfo.c:
13006         * gst/gstpluginfeature.c:
13007           widen the debug category in output to fit the biggest one we have
13008           add a bus category and use it
13009           play with the colors
13010           fix up some categories
13011
13012 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13013
13014         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
13015           add push activation of sink ghost pads.
13016           Andye, please verify
13017
13018 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13019
13020         * gst/gstutils.c: (gst_element_link_pads):
13021           fix a bug in the case where neither element has a pad
13022         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
13023           add a test for that case
13024
13025 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13026
13027         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
13028           emit have-data before checking for peers.  This allows
13029           for probe handlers to connect elements.  This helps autopluggers.
13030         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
13031         (gst_pad_suite):
13032           add six checks, linked/unlinked with no/true/false probe
13033
13034 2005-10-04  Wim Taymans  <wim@fluendo.com>
13035
13036         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
13037         (gst_fake_sink_event), (gst_fake_sink_preroll),
13038         (gst_fake_sink_render), (gst_fake_sink_change_state):
13039         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
13040         (gst_fake_src_get_property), (gst_fake_src_create),
13041         (gst_fake_src_stop):
13042         * gst/elements/gstidentity.c: (gst_identity_stop):
13043         Protect last_message with lock.
13044
13045 2005-10-04  Edward Hervey  <edward@fluendo.com>
13046
13047         * gst/gstformat.h: 
13048         Added precision in the comments for GST_FORMAT_DEFAULT
13049
13050 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
13051
13052         * tools/gst-launch.c: (main):
13053           Don't try to run erroneous pipelines.
13054
13055 2005-10-04  Julien MOUTTE  <julien@moutte.net>
13056
13057         * gst/gstbus.c: We don't need this header.
13058
13059 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13060
13061         * configure.ac:
13062           back to development
13063
13064 === release 0.9.3 ===
13065
13066 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13067
13068         * README:
13069         * configure.ac:
13070           Releasing 0.9.3, "Unregistered"
13071
13072 2005-10-03  Andy Wingo  <wingo@pobox.com>
13073
13074         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
13075         whereby calling a pad's activatepush() function can start a thread
13076         that starts to push or pull before the pad gets the FLUSHING flag
13077         unset. Hack around it by holding the stream lock until the flag is
13078         set. Need to replace this with a proper solution. Together with
13079         the ghost pad fixes, this fixes mp3 playing/tagreading.
13080
13081         * docs/design/part-gstghostpad.txt: Add a note about activation of
13082         proxy pads outside of ghost pads.
13083
13084         * gst/gstghostpad.c: Implement the ghost pad activation design.
13085
13086 2005-10-02  Andy Wingo  <wingo@pobox.com>
13087
13088         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
13089         It is volatile, after all.
13090
13091         * docs/design/part-gstghostpad.txt: Flesh out activation with
13092         ghost pads.
13093
13094         * gst/base/gstbasesrc.c (gst_base_src_init): Use
13095         GST_DEBUG_FUNCPTR.
13096
13097 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
13098
13099         * configure.ac:
13100           Fix (unused) AM_CONDITIONAL tests.
13101
13102 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
13103
13104         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
13105
13106         * gst/gstutils.c: (gst_pad_query_convert):
13107           Add assertion that makes sure src_val is >=0, just like
13108           gst_query_new_convert() has. (#315895)
13109
13110 2005-09-30  Edward Hervey  <edward@fluendo.com>
13111
13112         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
13113         Let's not iterate pads we're not interested in, it avoids getting 
13114         sky-high refcounts on sinkpad.
13115
13116 2005-09-30  Wim Taymans  <wim@fluendo.com>
13117
13118         * gst/gstelement.c: (gst_element_set_state),
13119         (gst_element_change_state):
13120         Small tweak, element in ASYNC remains ASYNC.
13121
13122 2005-09-30  Wim Taymans  <wim@fluendo.com>
13123
13124         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
13125         Only error is an error.
13126
13127         * gst/gstbin.c: (gst_bin_change_state):
13128         Better debugging.
13129
13130         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
13131         Also call pad_block in pad alloc.
13132
13133         * gst/gstutils.c: (gst_flow_get_name):
13134         Better debugging.
13135
13136 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
13137
13138         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13139         (gst_base_src_get_range):
13140           Fix documentation typos. Add some more debug info.
13141
13142 2005-09-29  David Schleef  <ds@schleef.org>
13143
13144         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
13145           more end-user friendly.
13146         * tools/gst-inspect.c: (main): Check if command-line argument is
13147           a file and attempt to load that file as a plugin.
13148
13149 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13150
13151         * check/gst/gstbin.c:
13152         * check/states/sinks.c:
13153           fix tests for the new warning
13154         * check/gst/gstpipeline.c:
13155           add a test for pipeline and bus interaction
13156         * gst/gstelement.c:
13157           elements should be NULL if they get disposed; add a warning if not
13158
13159 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13160
13161         * gst/gstobject.c:
13162           for 2.6 refcounting, make debug log more correct by printing
13163           the actual refcounts at the time of swap (Wim)
13164
13165 2005-09-29  Andy Wingo  <wingo@pobox.com>
13166
13167         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
13168         removes signal watches previously added via
13169         gst_bus_add_signal_watch.
13170         (gst_bus_add_signal_watch): Don't return the source id, just store
13171         it on the bus if there wasn't an id already.
13172
13173         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
13174         add_signal_watch and remove_signal_watch.
13175
13176 2005-09-29  Edward Hervey  <edward@fluendo.com>
13177
13178         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
13179         Better if we actually iterate the list :)
13180
13181 2005-09-29  Wim Taymans  <wim@fluendo.com>
13182
13183         * check/gst/gstbin.c: (GST_START_TEST):
13184         Change for new bus API.
13185
13186         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
13187         (send_messages), (GST_START_TEST), (gstbus_suite):
13188         Change for new bus signal API.
13189
13190         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
13191         (gst_bus_source_prepare), (gst_bus_source_check),
13192         (gst_bus_create_watch), (gst_bus_add_watch_full),
13193         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
13194         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
13195         * gst/gstbus.h:
13196         Remove support for multiple GSources operating on different
13197         message types as it is too complex and unneeded when using
13198         signals.
13199         Added support for receiving signals from the bus.
13200
13201 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13202
13203         * docs/libs/tmpl/gstdataprotocol.sgml:
13204         * docs/manual/advanced-dataaccess.xml:
13205         * gst/elements/gstcapsfilter.c:
13206         * gst/gstutils.c:
13207           rename filter-caps to caps property
13208
13209 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
13210
13211         * gst/gstvalue.c: (gst_value_deserialize_fraction):
13212           More robust fraction string parsing.
13213
13214         * docs/pwg/appendix-porting.xml:
13215           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
13216
13217 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
13218
13219         * gst/gstcaps.c: (gst_caps_do_simplify):
13220           Thou shalt not free a structure and then continue using it
13221           in the next loop iteration.
13222
13223         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
13224         (gst_caps_suite):
13225           Add test case for caps simplification.
13226
13227 2005-09-29  Wim Taymans  <wim@fluendo.com>
13228
13229         * check/gst/gstbin.c: (GST_START_TEST):
13230         Oops.
13231
13232 2005-09-29  Wim Taymans  <wim@fluendo.com>
13233
13234         * check/gst/gstbin.c: (GST_START_TEST):
13235         Add bus to bin.
13236
13237         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
13238         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
13239         (find_element), (gst_bin_sort_iterator_next),
13240         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
13241         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
13242         (gst_bin_change_state), (gst_bin_dispose):
13243         A bin does not have a bus, it gets the bus from the parent.
13244
13245         * gst/gstelement.c: (gst_element_requires_clock),
13246         (gst_element_provides_clock), (gst_element_is_indexable),
13247         (gst_element_is_locked_state), (gst_element_change_state),
13248         (gst_element_set_bus_func):
13249         Small cleanups.
13250
13251         * gst/gstpipeline.c: (gst_pipeline_class_init),
13252         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
13253         The pipeline provides a bus.
13254
13255 2005-09-28  Johan Dahlin  <johan@gnome.org>
13256
13257         * gst/gstmessage.c (gst_message_parse_state_changed): Use
13258         gst_structure_get_enum instead of gst_structure_get_int
13259
13260         * gst/gststructure.c (gst_structure_get_enum): Impl.
13261
13262         * gst/gststructure.h (gst_structure_get_enum): Add
13263
13264         * docs/gst/gstreamer-sections.txt: Ditto
13265
13266         * gst/gstmessage.c (gst_message_new_state_changed): Use
13267         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
13268         which does introspection.
13269         Reviewed by Christian Schaller
13270
13271 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
13272
13273         * gst/gstinfo.c: (gst_debug_log_default):
13274           don't do dummy g_strdup()s
13275         * libs/gst/controller/gstcontroller.c:
13276         (on_object_controlled_property_changed),
13277         (gst_controlled_property_new), (gst_controller_new_valist),
13278         (gst_controller_new_list),
13279         (gst_controller_remove_properties_valist), (gst_controller_set),
13280         (gst_controller_get), (gst_controller_sync_values),
13281         (gst_controller_get_value_array), (_gst_controller_class_init),
13282         (gst_controller_get_type):
13283         * libs/gst/controller/gstcontroller.h:
13284         * libs/gst/controller/gstinterpolation.c:
13285         (gst_controlled_property_find_timed_value_node):
13286           convert // to /**/ comments
13287
13288 2005-09-28  Wim Taymans  <wim@fluendo.com>
13289
13290         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
13291         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
13292         (gst_bus_sync_signal_handler):
13293         * gst/gstbus.h:
13294         Added async-message and sync-message signals to the bus.
13295         Added helper BusFunc to emit signals for all posted messages.
13296
13297         * gst/gstmessage.c: (gst_message_type_get_name),
13298         (gst_message_type_to_quark), (gst_message_get_type):
13299         * gst/gstmessage.h:
13300         Register quarks for message names.
13301
13302 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
13303
13304         * docs/libs/gstreamer-libs-sections.txt:
13305         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
13306         (gst_controller_new_list):
13307         * libs/gst/controller/gstcontroller.h:
13308           added another constructor for language bindings
13309
13310 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13311
13312         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13313           add another check
13314         * gst/gstbus.c:
13315           add some doc
13316         * gst/gstinfo.c: (_gst_debug_init):
13317           slightly more readable color for refcount debugging
13318
13319 2005-09-28  Wim Taymans  <wim@fluendo.com>
13320
13321         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
13322         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
13323         (find_element), (gst_bin_sort_iterator_next),
13324         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
13325         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
13326         (gst_bin_change_state), (gst_bin_dispose):
13327         Small doc fixes. get_clock -> provide_clock.
13328
13329         * gst/gstelement.c: (gst_element_class_init),
13330         (gst_element_provides_clock), (gst_element_provide_clock),
13331         (gst_element_get_clock), (gst_element_commit_state),
13332         (gst_element_lost_state):
13333         * gst/gstelement.h:
13334         Make get/set_clock() symetric. Add provide_clock vmethod since
13335         that is actually what this function does.
13336
13337         * gst/gstpipeline.c: (gst_pipeline_class_init),
13338         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
13339         (gst_pipeline_get_clock):
13340         get_clock -> provide_clock.
13341
13342 2005-09-28  Andy Wingo  <wingo@pobox.com>
13343
13344         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
13345         lieu of real docs...
13346
13347         * gst/elements/gstfdsrc.c: Cleaned up a bit.
13348
13349 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
13350
13351         * gst/elements/gstcapsfilter.c:
13352         * gst/elements/gstfakesink.c:
13353         * gst/elements/gstfakesrc.c:
13354         * gst/elements/gstfdsink.c:
13355         * gst/elements/gstfdsrc.c:
13356         * gst/elements/gstfilesink.c:
13357         * gst/elements/gstfilesrc.c:
13358         * gst/elements/gstidentity.c:
13359         * gst/elements/gsttee.c:
13360         * gst/elements/gsttypefindelement.c:
13361           Make element details static.
13362
13363 2005-09-28  Wim Taymans  <wim@fluendo.com>
13364
13365         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
13366         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
13367         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
13368         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
13369         (gst_bin_change_state), (gst_bin_dispose):
13370         Some documentation updates.
13371         Clean up dispose handlers.
13372
13373         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
13374         * gst/gstpad.c: (gst_pad_dispose):
13375         Clean up dispose handler.
13376
13377         * gst/gstpipeline.c: (gst_pipeline_change_state):
13378         Removed spurious UNLOCK.
13379
13380 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
13381
13382         * docs/gst/gstreamer-sections.txt:
13383         * gst/base/gstbasesrc.h:
13384         * gst/gstelement.h:
13385         * gst/gstevent.h:
13386         * gst/gstobject.h:
13387         * gst/gstpad.h:
13388         * gst/gstpipeline.c:
13389         * gst/gstpipeline.h:
13390         * gst/gstutils.h:
13391         * gst/gstxml.h:
13392           added two new functions to the docs
13393                 documents all undocumented GstXXXFlags
13394                 completed some incomplete docs 
13395
13396 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
13397
13398         * gst/gstbin.c: (gst_bin_dispose):
13399         * gst/gstelement.c: (gst_element_dispose):
13400           remove now useless and leaky resurrection code in dispose
13401         * gst/base/gstbasesrc.c: (gst_base_src_init):
13402         * gst/gstelementfactory.c: (gst_element_factory_create):
13403         * gst/gstobject.c: (gst_object_set_parent):
13404           add some debugging
13405
13406 2005-09-27  Wim Taymans  <wim@fluendo.com>
13407
13408         * docs/design/part-TODO.txt:
13409         Update TODO.
13410
13411         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
13412         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
13413         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
13414         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
13415         (gst_bin_change_state):
13416         * gst/gstelement.h:
13417         Remove element variable, we keep element info in the iterator now.
13418
13419 2005-09-27  Andy Wingo  <wingo@pobox.com>
13420
13421         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
13422         values.
13423
13424 2005-09-27  Wim Taymans  <wim@fluendo.com>
13425
13426         * check/gst/gstbin.c: (GST_START_TEST):
13427         Enable check that works now.
13428
13429         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
13430         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
13431         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
13432         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
13433         (gst_bin_change_state):
13434         * gst/gstbin.h:
13435         Redid the state change algorithm using a topological sort algo.
13436         Handles all cases correctly.
13437         Exposed iterator for state change order.
13438
13439         * gst/gstelement.h:
13440         Temp storage for state changes. Need to get rid of this soon.
13441
13442 2005-09-27  Wim Taymans  <wim@fluendo.com>
13443
13444         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
13445         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
13446         (link_fold_func), (gst_pad_proxy_setcaps):
13447         Leak fixes, the fold functions need to unref the passed object and
13448         _get_parent_*() returns ref to parent.
13449
13450 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
13451
13452         * check/gst/gstbuffer.c: (test_make_writable):
13453           Plug leak in test case and fix 'make check-valgrind'
13454
13455 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
13456
13457         * gst/gstbuffer.c: (gst_subbuffer_init):
13458           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
13459           works correctly in all circumstances (we could have just copied
13460           the parent buffer's readonly flag, but conceptually it seems
13461           cleaner to mark all subbuffers as read-only). (based on patch
13462           by Alessandro Decina, #314710).
13463         
13464         * check/gst/gstbuffer.c: (create_read_only_buffer),
13465         (test_make_writable), (test_subbuffer_make_writable),
13466         (gst_test_suite):
13467           Add some tests for gst_buffer_make_writable().
13468
13469 2005-09-27  Wim Taymans  <wim@fluendo.com>
13470
13471         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
13472         use gst_object_has_ancestor().
13473
13474         * gst/gstobject.c: (gst_object_has_ancestor):
13475         * gst/gstobject.h:
13476         gst_object_has_ancestor() copied from gstbin.c as it is a
13477         useful function.
13478
13479         * tests/instantiate/create.c: (create_all_elements):
13480         * tests/lat.c: (handoff_src), (handoff_sink):
13481         * tests/sched/runxml.c: (main):
13482         * tests/seeking/seeking1.c: (main):
13483         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
13484         (main):
13485         Fix compilation of some tests.
13486
13487 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
13488
13489         * gst/gsterror.h:
13490           Remove comment. GST_TYPE_G_ERROR is here to stay,
13491           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
13492           (#316961, #300610).
13493
13494 2005-09-26  Wim Taymans  <wim@fluendo.com>
13495
13496         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13497         Added check that shows error in state change order.
13498
13499 2005-09-26  Wim Taymans  <wim@fluendo.com>
13500
13501         * gst/gstbin.c: (gst_bin_change_state):
13502         Make state change function use 3 queues again, we were
13503         adding elements in the wrong order.
13504
13505         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13506         Some debug info,
13507
13508         * gst/gstpad.c: (gst_pad_dispose):
13509         Added some debug info first.
13510
13511 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
13512
13513         * docs/design/draft-push-pull.txt:
13514         * docs/design/part-events.txt:
13515         * docs/design/part-overview.txt:
13516         * docs/design/part-scheduling.txt:
13517           Replace all _pull_region() with _pull_range()
13518           
13519 2005-09-26  Andy Wingo  <wingo@pobox.com>
13520
13521         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
13522
13523         * check/gst-libs/controller.c: Update for controller api change.
13524
13525         * configure.ac: 
13526         * tests/Makefile.am:
13527         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
13528         over by GLib bug 118439.
13529         
13530         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
13531         routines to a function.
13532
13533         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
13534
13535         * libs/gst/controller/gsthelper.c:
13536         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
13537         (gst_object_sync_values): Renamed from sink_values. Ugh.
13538
13539         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
13540
13541         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
13542         Renamed from controller_key, as it is exported.
13543
13544         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
13545
13546 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
13547
13548         * gst/Makefile.am:
13549         * gst/gst.h:
13550         * gst/gstpad.h:
13551         * gst/gstpadtemplate.h:
13552         * gst/gstquery.c:
13553         * gst/gstquery.h:
13554         * gst/gstqueryutils.c:
13555         * gst/gstqueryutils.h:
13556           remove queryutils headers after moving the two used functions
13557           to gstquery.  also fixes build problem for gstsiddec
13558
13559 2005-09-26  Michael Smith <msmith@fluendo.com>
13560
13561         * tools/gst-launch.1.in:
13562         Correct documentation in manpage of debug syntax
13563
13564 2005-09-26  Wim Taymans  <wim@fluendo.com>
13565
13566         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
13567         (gst_base_src_is_seekable), (gst_base_src_change_state):
13568         Some more debugging info.
13569
13570 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
13571
13572         * docs/gst/gstreamer-sections.txt:
13573         * gst/base/gstbasetransform.h:
13574         * gst/gstindex.h:
13575           added more docs
13576
13577 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
13578
13579         * docs/gst/.cvsignore:
13580         * docs/gst/tmpl/.cvsignore:
13581         * docs/gst/tmpl/gstpipeline.sgml:
13582         * docs/gst/tmpl/gstplugin.sgml:
13583         * gst/gstpipeline.c:
13584         * gst/gstplugin.c:
13585         * gst/gstplugin.h:
13586           inlined the last two docs files
13587           removed the tmpl directory from cvs (no more conflicts here!)
13588
13589 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
13590
13591         * docs/gst/gstreamer-sections.txt:
13592         * docs/gst/tmpl/.cvsignore:
13593         * docs/gst/tmpl/gstpad.sgml:
13594         * docs/gst/tmpl/gstpadtemplate.sgml:
13595         * gst/Makefile.am:
13596         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13597         (gst_pad_finalize), (gst_pad_set_pad_template):
13598         * gst/gstpad.h:
13599         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
13600         (gst_pad_template_class_init), (gst_pad_template_init),
13601         (gst_pad_template_dispose), (name_is_valid),
13602         (gst_static_pad_template_get), (gst_pad_template_new),
13603         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
13604         (gst_pad_template_pad_created):
13605         * gst/gstpadtemplate.h:
13606           inlined two more docs
13607           factored gstpadtemplate out of gstpad
13608
13609 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
13610
13611         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
13612         (test_children_state_change_order_semi_sink):
13613           Fix test case: we can't rely on a fixed state change order when
13614           going from READY => PAUSED because the sink might commit its 
13615           new state first when the first buffer created by the source 
13616           reaches the sink before the source has finished its change state.
13617           (Test case still fails at times, see #316856, comment 5 onwards)
13618
13619 2005-09-24  Wim Taymans  <wim@fluendo.com>
13620
13621         * docs/design/part-events.txt:
13622         * docs/design/part-gstbus.txt:
13623         * docs/design/part-gstpipeline.txt:
13624         * docs/design/part-messages.txt:
13625         * docs/design/part-overview.txt:
13626         * docs/design/part-segments.txt:
13627         * gst/gstbin.c:
13628         * gst/gstbuffer.c:
13629         * gst/gstclock.c:
13630         * gst/gstelement.c:
13631         * gst/gstevent.c:
13632         * gst/gstfilter.c:
13633         * gst/gstiterator.c:
13634         Various documentation updates.
13635
13636 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13637
13638         * gst/gstclock.h:
13639           Well, that's embarassing.  Luckily we weren't using
13640           GST_CLOCK_DIFF anywhere.
13641
13642 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13643
13644         * common/gtk-doc.mak:
13645           don't fail on building XML, FC4 slave shows a bunch of doc
13646           missing bits that I don't get
13647         * gst/gstpad.c:
13648         * gst/gstpipeline.c:
13649         * gst/gststructure.c:
13650           some doc updates
13651
13652 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
13653
13654         * docs/design/part-gstbin.txt:
13655         * docs/design/part-gstbus.txt:
13656         * gst/gstbus.c:
13657           Add blurb about how the bus goes into flushing mode and
13658           drops all messages when its bin goes from READY into NULL 
13659           state.
13660
13661 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13662
13663         * docs/gst/gstreamer-sections.txt:
13664         * gst/gststructure.c: (gst_structure_get_clock_time):
13665         * gst/gststructure.h:
13666           add a method to get a GstClockTime out of a structure
13667
13668 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
13669
13670         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
13671         (test_children_state_change_order_semi_sink), (gst_bin_suite):
13672           Added test to check state change order in bins (can still be made
13673           to fail here under heavy disk load; bails out with 'Push on pad
13674           fakesink:sink0, but it was not activated in push mode').
13675
13676         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
13677           Fix state change order when there is only a semi sink (#316856)
13678
13679         * gst/gstbus.c: (gst_bus_class_init):
13680           Use _class_peek_parent(), not _class_ref(); fix docs to say
13681           'default main context' instead of 'mainloop' where that is
13682           what's meant.
13683
13684         * gst/gstelement.c: (gst_element_commit_state),
13685         (gst_element_set_state):
13686           Fix typos in debug messages
13687
13688 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13689
13690         * docs/README:
13691         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
13692         * gst/gstpluginfeature.c:
13693         * gst/gstutils.c:
13694           various doc updates
13695         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13696           change an assert into an error until it gets fixed properly
13697
13698 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
13699
13700         * docs/gst/gstreamer-sections.txt:
13701         * docs/gst/tmpl/.cvsignore:
13702         * docs/gst/tmpl/gstelement.sgml:
13703         * docs/gst/tmpl/gstinfo.sgml:
13704         * docs/gst/tmpl/gstobject.sgml:
13705         * gst/gstelement.c:
13706         * gst/gstelement.h:
13707         * gst/gstinfo.c:
13708         * gst/gstinfo.h:
13709         * gst/gstobject.c: (gst_object_class_init):
13710         * gst/gstobject.h:
13711           inlined 3 more biiiig doc files and added some missing docs on the fly
13712
13713 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13714
13715         * check/gst/.cvsignore:
13716         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
13717         * gst/gstregistryxml.c: (load_plugin),
13718         (gst_registry_xml_save_plugin):
13719           put back source in registry.  add checks for find_plugin.
13720         * testsuite/states/bin.c: (assert_state), (empty_bin),
13721         (test_adding_one_element), (main):
13722         * testsuite/states/locked.c: (main):
13723           some compile/run fixes
13724
13725 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13726
13727         * check/gst/gstvalue.c: (GST_START_TEST):
13728           fix leaks in the test itself
13729
13730 2005-09-22  Wim Taymans  <wim@fluendo.com>
13731
13732         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13733         (gst_base_sink_send_event), (gst_base_sink_peer_query),
13734         (gst_base_sink_query):
13735         Prepare for more accurate position reporting and query
13736         handling.
13737
13738         * gst/gstelement.c: (gst_element_send_event),
13739         (gst_element_set_state):
13740         Add some comment.
13741
13742 2005-09-22  Wim Taymans  <wim@fluendo.com>
13743
13744         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
13745         (gst_query_parse_segment):
13746         * gst/gstquery.h:
13747         More documentation.
13748         Add segment query for future use.
13749
13750 2005-09-22  Wim Taymans  <wim@fluendo.com>
13751
13752         * gst/gstbin.c: (gst_bin_add_func):
13753         Some more debug info.
13754
13755         * gst/gstelement.c: (gst_element_send_event):
13756         Simplify send_event
13757
13758         * gst/gstelement.h:
13759         Don't know how flags got broken.
13760
13761         * gst/gstquery.h:
13762         Added new query.
13763
13764 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
13765
13766         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
13767           Add simplistic test suite for GST_TYPE_DATE serialisation and
13768           deserialisation.
13769
13770 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
13771
13772         * docs/gst/gstreamer-sections.txt:
13773         * gst/gststructure.c: (gst_structure_set_valist),
13774         (gst_structure_get_date):
13775         * gst/gststructure.h:
13776         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
13777         (gst_date_copy), (gst_value_compare_date),
13778         (gst_value_serialize_date), (gst_value_deserialize_date),
13779         (gst_value_transform_date_string),
13780         (gst_value_transform_string_date), (_gst_value_initialize):
13781         * gst/gstvalue.h:
13782           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
13783           bunch of utility functions along with a hack that checks that
13784           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
13785           is required. Part of the grand scheme in #170777.
13786
13787 2005-09-22  Andy Wingo  <wingo@pobox.com>
13788
13789         * gst/gstconfig.h.in: Psych out gtk-doc.
13790
13791         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
13792
13793         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
13794
13795         * tools/gst-inspect.c (print_element_list): Plug some
13796         inconsequential leaks.
13797
13798         * gst/gstregistry.c (gst_registry_get_default): Doc.
13799
13800         * check/gst/gstplugin.c: 
13801         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
13802         * gst/gstelementfactory.c (gst_element_factory_create): 
13803         * gst/gstindexfactory.c (gst_index_factory_create): Update for
13804         refcount changes.
13805
13806         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
13807         (gst_plugin_feature_load): Doc, don't eat refs.
13808
13809         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
13810         (gst_plugin_list_free): Doc.
13811         (gst_plugin_load_file): Doc updates.
13812
13813         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
13814         accessors returning refcounted objects, return a ref.
13815
13816         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
13817         accessor for caps. IDEMPOTENCE. Oh yes.
13818
13819 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
13820
13821         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
13822
13823         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
13824         (_gst_debug_register_funcptr):
13825           Add mutex to serialise access to the hash table with
13826           the function pointer => function name string mapping;
13827           make that hash table static scope (#316809).
13828
13829         * gst/registries/.cvsignore:
13830           Remove left-over file.
13831
13832 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
13833
13834         * docs/pwg/appendix-porting.xml:
13835           And something about newsegment events and caps-on-buffers to
13836           the porting guide (feel free to improve).
13837
13838 2005-09-21  Andy Wingo  <wingo@pobox.com>
13839
13840         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
13841         data and event probes on the same pad.
13842         (test_buffer_probe_once): Test that removing probes from within
13843         the probe functions works.
13844
13845 2005-09-21  Andy Wingo  <wingo@pobox.com>
13846
13847         * check/gst/gstutils.c: New file.
13848         (test_buffer_probe_n_times): A simple buffer probe test. More to
13849         come, foolios.
13850
13851         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
13852         have-data::buffer, not have-data.
13853         (gst_pad_add_event_probe): Likewise for have-data::event.
13854         (gst_pad_add_data_probe): More docs. The part about 'resolving the
13855         peer' isn't quite right yet though.
13856         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
13857         (gst_pad_remove_data_probe): Change to take the guint handler_id
13858         as their arg, not the function+data, which is more glib-like.
13859
13860         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
13861         the signal emission to indicate if the data is a buffer or an
13862         event.
13863         (gst_pad_get_type): Initialize buffer and event quarks.
13864         (gst_pad_class_init): have-data is now a detailed signal, yes it
13865         is.
13866
13867 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
13868
13869         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
13870         * gst/gstutils.c: (gst_util_set_value_from_string),
13871         (gst_util_set_object_arg):
13872           Don't put functional code in g_return_if_fail() or
13873           g_return_val_if_fail() statements, otherwise things will 
13874           break when G_DISABLE_CHECKS is defined during compilation.
13875
13876 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
13877
13878         * docs/gst/tmpl/.cvsignore:
13879         * docs/gst/tmpl/gstvalue.sgml:
13880         * gst/gstvalue.c:
13881         * gst/gstvalue.h:
13882           inlied another one and added  some obvious docs
13883
13884 2005-09-21  Wim Taymans  <wim@fluendo.com>
13885
13886         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
13887         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
13888         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
13889         (gst_fdsrc_get_property), (gst_fdsrc_create):
13890         * gst/elements/gstfdsrc.h:
13891         Properly implement fdsrc. Removed signal and timeout,
13892         better implemented somewhere else.
13893
13894 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
13895
13896         * docs/gst/tmpl/.cvsignore:
13897         * docs/gst/tmpl/gstimplementsinterface.sgml:
13898         * gst/gstinterface.c:
13899           inlined more docs
13900
13901 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
13902
13903         * docs/gst/gstreamer-sections.txt:
13904         * docs/gst/tmpl/.cvsignore:
13905         * docs/gst/tmpl/gstenumtypes.sgml:
13906           remove obsolete doc file
13907
13908 2005-09-21  David Schleef  <ds@schleef.org>
13909
13910         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
13911         little beer, fix a little leak.
13912
13913 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
13914
13915         * docs/gst/gstreamer-docs.sgml:
13916         * docs/gst/gstreamer-sections.txt:
13917         * docs/gst/tmpl/.cvsignore:
13918         * gst/Makefile.am:
13919         * gst/gst.h:
13920         * gst/gstbin.c:
13921         * gst/gstelement.h:
13922         * gst/gstindex.c: (gst_index_class_init):
13923         * gst/gstindex.h:
13924         * gst/gstindexfactory.c: (gst_index_factory_get_type),
13925         (gst_index_factory_class_init), (gst_index_factory_init),
13926         (gst_index_factory_finalize), (gst_index_factory_new),
13927         (gst_index_factory_destroy), (gst_index_factory_find),
13928         (gst_index_factory_create), (gst_index_factory_make):
13929         * gst/gstindexfactory.h:
13930         * gst/gstpluginfeature.c:
13931         * gst/gstpluginfeature.h:
13932         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13933           more docs inlined, splitted gstindex.{c,h}
13934
13935 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13936
13937         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13938           fix a leak
13939
13940 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
13941
13942         * gst/elements/gstfilesink.c: (gst_file_sink_init):
13943           Set sync to FALSE by default.
13944
13945 2005-09-20  Wim Taymans  <wim@fluendo.com>
13946
13947         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13948         (gst_base_sink_init):
13949         Make sync property settable from subclass.
13950
13951         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13952         (gst_fake_sink_change_state):
13953         Set sync to FALSE by default.
13954
13955 2005-09-20  Wim Taymans  <wim@fluendo.com>
13956
13957         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
13958         * tools/gst-launch.c: (main):
13959         The timeout handler should have lower priority than the source
13960         so we don't timeout before popping a message with 0 timeout.
13961         Dump error messages after failed state change.
13962
13963 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
13964
13965         * tools/gst-inspect.c: (print_element_properties_info):
13966           Fix two typos.
13967
13968 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13969
13970         * check/gst/gstevent.c:
13971         * gst/elements/gstfakesink.c:
13972         * gst/elements/gstfakesink.h:
13973           remove the sync property from fakesink.
13974           has the side effect of setting sync TRUE
13975           for fakesink, which is a change.  Anyone who knows how
13976           to fix this nicely in a GObject-y way, feel free.
13977
13978 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
13979
13980         * docs/gst/gstreamer-docs.sgml:
13981           remove probe refsection
13982
13983 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
13984
13985         * check/Makefile.am:
13986           disable valgrinding the controller test again
13987         * docs/gst/gstreamer-sections.txt:
13988           update for api-changes
13989
13990 2005-09-20  Wim Taymans  <wim@fluendo.com>
13991
13992         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13993         (gst_base_sink_set_property), (gst_base_sink_get_property),
13994         (gst_base_sink_do_sync):
13995         * gst/base/gstbasesink.h:
13996         Added sync property to basesink to disable clock sync.
13997
13998 2005-09-20  Andy Wingo  <wingo@pobox.com>
13999
14000         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
14001         eating the caller's refcount.
14002
14003         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
14004         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
14005         refcount.
14006
14007         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
14008         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
14009         of GLib 2.8 public, so we can know which refcount to check in
14010         tests.
14011
14012         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
14013         (gst_object_init): Only set the gst refcount if we're going ahead
14014         with the refcount hack.
14015
14016 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
14017
14018         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
14019         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
14020           more leaks plumbed, added more debug-logging
14021         * gst/gstmacros.h:
14022           whitespace fix
14023
14024 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14025
14026         * gst/gstmessage.c:
14027           remove include of gstmemchunk.h
14028
14029 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14030
14031         * gst/gstclock.c: (_gst_clock_id_free):
14032           Commit from the Political Party For More Atomic CVS Commits,
14033           so that people don't waste too much of their day fishing
14034           out obvious leaks out of massive commits.
14035           Oh, and fix a pretty damn obvious leak in the memchunk
14036           removal code.
14037
14038 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
14039
14040         * check/Makefile.am:
14041         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
14042           plug mem-leak, re-add to valgrindable tests
14043
14044 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14045
14046         * gst/gstplugin.h:
14047           unbreak the build for those who have chronic arthritis
14048           and typing "make check" is just too taxing on the hands
14049
14050 2005-09-20  Andy Wingo  <wingo@pobox.com>
14051
14052         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
14053         really want it out, you should fix plugins at the same time.
14054
14055 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
14056
14057         * configure.ac:
14058         * docs/gst/gstreamer-sections.txt:
14059         * gst/gstobject.c:
14060           added missing symbols to api docs
14061           disable ref-count hack if we have glib >= 2.8
14062
14063 2005-09-19  David Schleef  <ds@schleef.org>
14064
14065         * docs/gst/Makefile.am: Ignore a few more internal headers
14066         * docs/gst/gstreamer-docs.sgml: Remove old sections
14067         * docs/gst/gstreamer-sections.txt: Remove old sections
14068         * docs/gst/tmpl/gstobject.sgml: update
14069         * docs/gst/tmpl/gstplugin.sgml: update
14070         * docs/gst/tmpl/gstpluginfeature.sgml: update
14071         * docs/random/ds/0.9-suggested-changes: update.
14072         * gst/Makefile.am: remove memchunk and trashstack, since they're
14073           not used.
14074         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
14075         * gst/gst.h: don't include some headers
14076         * gst/gstchildproxy.c: add gstmarshal.h
14077         * gst/gstclock.c: Don't use memchunks
14078         * gst/gstminiobject.c: Add some docs
14079         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
14080         * gst/gstobject.h: same
14081         * gst/gstplugin.c: include gstmacros.h
14082         * gst/gstplugin.h: don't include gstmacros.h, since it's private
14083         * gst/gstquery.c: don't use memchunks
14084         * gst/gstregistry.c: rename gst_registry_deinit()
14085         * gst/gstregistry.h: same
14086
14087 2005-09-19  David Schleef  <ds@schleef.org>
14088
14089         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
14090         * docs/libs/gstreamer-libs-sections.txt:
14091         * docs/libs/tmpl/gstgetbits.sgml:
14092         * docs/libs/tmpl/gstputbits.sgml:
14093
14094 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
14095
14096         * win32/gstenumtypes.c:
14097         * win32/gstenumtypes.h:
14098           Update.
14099
14100 2005-09-19  Wim Taymans  <wim@fluendo.com>
14101
14102         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
14103         Automatically PAUSE and RESUME a pipeline when a flushing seek
14104         is performed.
14105
14106 2005-09-19  Andy Wingo  <wingo@pobox.com>
14107
14108         * gst/gstregistry.h: Spacing fixen.
14109
14110 2005-09-19  Wim Taymans  <wim@fluendo.com>
14111
14112         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
14113         Handle state change failure more correctly.
14114
14115 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
14116
14117         * check/Makefile.am:
14118         * check/pipelines/cleanup.c: (run_pipeline):
14119         * check/pipelines/simple_launch_lines.c: (run_pipeline),
14120         (GST_START_TEST):
14121           enable cleanup again after fixing the leak
14122         * docs/README:
14123           some more info on docs
14124
14125 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
14126
14127         * check/Makefile.am:
14128           re-enable tests now that leaks are plugged
14129         * check/gst/gst.c:
14130         * check/gst/gstbin.c:
14131         * check/gst/gstpipeline.c:
14132           add some more tests while fixing leaks
14133         * common/check.mak:
14134           make sure binaries are uptodate when valgrinding/gdbing
14135         * gst/gst.c:
14136         * gst/gstelementfactory.c:
14137           remove a ref too many, and add a FIXME for when we get
14138           round to disposing of classes
14139         * gst/gstplugin.c:
14140           fix the refcounting when loading a plugin from a file and
14141           the code pretends that the pointer is the same even though
14142           of course it can change
14143         * gst/gstpluginfeature.c:
14144           unref plugins marked cached (a bit confusing as a name)
14145           as the docs state should be done
14146           various doc additions to explain refcounting
14147         * gst/gstregistry.c:
14148         * gst/gstregistryxml.c:
14149           debugging
14150
14151 2005-09-19  Wim Taymans  <wim@fluendo.com>
14152
14153         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
14154         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
14155         (send_messages), (GST_START_TEST), (gstbus_suite):
14156         * check/gst/gstpipeline.c: (GST_START_TEST):
14157         * check/pipelines/cleanup.c: (run_pipeline):
14158         * check/pipelines/simple_launch_lines.c: (run_pipeline),
14159         (GST_START_TEST):
14160         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
14161         (gst_bus_source_check), (gst_bus_source_dispatch),
14162         (gst_bus_create_watch), (gst_bus_add_watch_full),
14163         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
14164         * gst/gstbus.h:
14165         * tools/gst-launch.c: (event_loop):
14166         * tools/gst-md5sum.c: (event_loop):
14167         GstBusHandler -> GstBusFunc, return value has the same meaning as
14168         any other GSource (FALSE == remove source).
14169         _add_watch() and _add_watch_full() now take a MessageType mask to
14170         only handle specific types of messages.
14171         _poll() returns the GstMessage instead of the message type to avoid
14172         race conditions.
14173         _have_pending() takes a MessageType mask now too.
14174         Added testsuite for multiple bus watches.
14175         Fix testsuites and applications for new bus API.
14176
14177 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
14178
14179         * check/Makefile.am:
14180           mark a bunch of the tests as to fix until we fix them
14181
14182 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
14183
14184         * common/check.mak:
14185           use GST_PLUGIN settings for valgrind tests as well, so we're
14186           valgrinding the correct thing
14187         * gst/gst.c: (init_post):
14188           plug another leak
14189
14190 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
14191
14192         * gst/gst.c: (init_post), (gst_deinit):
14193         * gst/gstelementfactory.c: (gst_element_factory_class_init),
14194         (gst_element_factory_finalize), (gst_element_factory_cleanup):
14195         * gst/gstindex.c: (gst_index_factory_class_init),
14196         (gst_index_factory_finalize):
14197         * gst/gstobject.c: (gst_object_dispose):
14198         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
14199         (gst_plugin_load_file), (gst_plugin_desc_free):
14200         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
14201         (gst_plugin_feature_finalize):
14202         * gst/gstregistry.c: (gst_registry_class_init),
14203         (gst_registry_init), (gst_registry_finalize),
14204         (gst_registry_get_default), (gst_registry_deinit):
14205         * gst/gstregistry.h:
14206         * gst/gstregistryxml.c: (load_feature), (load_plugin):
14207           various cleanups and memleak plugging.  make valgrind is happy now.
14208
14209 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
14210
14211         * common/check.mak:
14212           add a check-valgrind target
14213
14214 2005-09-18  David Schleef  <ds@schleef.org>
14215
14216         * tools/gst-inspect.c: Revert the GOption code.
14217
14218 2005-09-17  David Schleef  <ds@schleef.org>
14219
14220         * check/Makefile.am: Fix environment variables.
14221         * check/gst/gstplugin.c: Fix for API changes.
14222         * tools/gst-inspect.c: Fix for API changes.
14223         * tools/gst-xmlinspect.c: Fix for API changes.
14224         * gst/gstelementfactory.c:
14225         * gst/gstplugin.c:
14226         * gst/gstplugin.h:
14227         * gst/gstpluginfeature.c:
14228         * gst/gstpluginfeature.h:
14229         * gst/gstregistry.c:
14230         * gst/gstregistry.h:
14231         * gst/gstregistryxml.c:
14232         * gst/gsttypefind.c:
14233         * gst/gsttypefindfactory.c:
14234         * gst/indexers/gstfileindex.c:
14235         * gst/indexers/gstmemindex.c:
14236         * gst/schedulers/Makefile.am:
14237           Change registry to keep track of both plugins and features,
14238           removing the feature tracking from plugins themselves.
14239
14240 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14241
14242         * check/Makefile.am:
14243         * tools/gst-register.1.in:
14244           remove gst-register
14245
14246 2005-09-15  David Schleef  <ds@schleef.org>
14247
14248         * check/gst/gstplugin.c:
14249         * gst/gstelementfactory.c:
14250         * gst/gstplugin.c:
14251         * gst/gstpluginfeature.c:
14252         * gst/gstregistry.c:
14253           Getting tired of debugging.  Disabled all the unreffing of
14254           plugins and features, which fixes the segfaults, but of
14255           course leaks like crazy.  At least playbin works.
14256
14257 2005-09-15  David Schleef  <ds@schleef.org>
14258
14259         * check/gst/gstplugin.c: (register_check_elements),
14260         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
14261         More testing
14262         * gst/elements/gsttypefindelement.c: Fix refcounting.
14263         * gst/gsttypefind.c:
14264         * gst/gsttypefindfactory.c:
14265         * gst/gsttypefindfactory.h:
14266
14267 2005-09-15  David Schleef  <ds@schleef.org>
14268
14269         * gst/gstindex.c: get refcounting correct.
14270         * gst/gstregistry.c: Handle the case where a feature/plugin is
14271           not found.
14272
14273 2005-09-15  David Schleef  <ds@schleef.org>
14274
14275         * check/Makefile.am:
14276         * check/gst/gstplugin.c: Add test
14277         * gst/gstplugin.c: Fix problems noticed by testsuite
14278         * gst/gstplugin.h:
14279         * gst/gstregistry.c: 
14280         * gst/gstregistry.h:
14281
14282 2005-09-15  David Schleef  <ds@schleef.org>
14283
14284         * gst/gstplugin.c: Implement semi-decent recounting and locking
14285           in plugins and plugin features.
14286         * gst/gstplugin.h:
14287         * gst/gstpluginfeature.c:
14288         * gst/gstpluginfeature.h:
14289         * gst/gstregistry.c:
14290
14291 2005-09-15  Michael Smith <msmith@fluendo.com>
14292
14293         * gst/gstregistry.c: (gst_registry_get_feature_list):
14294           Implement this. Makes oggdemux work; decodebin still broken.
14295
14296 2005-09-14  David Schleef  <ds@schleef.org>
14297
14298         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
14299           #316076)
14300         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
14301         * gst/check/Makefile.am:
14302         * libs/gst/controller/Makefile.am:
14303         * libs/gst/dataprotocol/Makefile.am:
14304
14305 2005-09-14  David Schleef  <ds@schleef.org>
14306
14307         * configure.ac: Remove getbits library.  Nothing uses it, and
14308           it should be in something like liboil if someone did want
14309           to use it.
14310         * libs/gst/Makefile.am:
14311         * libs/gst/getbits/Makefile.am:
14312         * libs/gst/getbits/gbtest.c:
14313         * libs/gst/getbits/getbits.c:
14314         * libs/gst/getbits/getbits.h:
14315         * libs/gst/getbits/gstgetbits_generic.c:
14316         * libs/gst/getbits/gstgetbits_i386.s:
14317         * libs/gst/getbits/gstgetbits_inl.h:
14318
14319 2005-09-14  David Schleef  <ds@schleef.org>
14320
14321         * gst/Makefile.am: Dist glib-compat.h
14322
14323 2005-09-14  David Schleef  <ds@schleef.org>
14324
14325         * configure.ac: Remove gst/registries, since it's no longer used.
14326         * gst/registries/Makefile.am:
14327         * gst/registries/gstlibxmlregistry.c:
14328         * gst/registries/gstlibxmlregistry.h:
14329         * gst/registries/gstxmlregistry.c:
14330         * gst/registries/gstxmlregistry.h:
14331         * gst/registries/registrytest.c:
14332
14333 2005-09-14  David Schleef  <ds@schleef.org>
14334
14335         * gst/glib-compat.h:
14336         * gst/gstregistryxml.c:
14337           Convergence is near.  Seriously.
14338
14339 2005-09-14  David Schleef  <ds@schleef.org>
14340
14341         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
14342         * gst/glib-compat.h:
14343           Attempt #4 to appease the buildbots.
14344
14345 2005-09-14  David Schleef  <ds@schleef.org>
14346
14347         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
14348           Attempt #3.
14349
14350 2005-09-14  David Schleef  <ds@schleef.org>
14351
14352         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
14353         Attempt #2.
14354
14355 2005-09-14  David Schleef  <ds@schleef.org>
14356
14357         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
14358           the new functions.
14359
14360 2005-09-14  David Schleef  <ds@schleef.org>
14361
14362         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
14363         * gst/glib-compat.h: Add some functions that are in newer versions
14364           of glib than we care to require.
14365         * gst/gstregistryxml.c: Use them.
14366
14367 2005-09-14  David Schleef  <ds@schleef.org>
14368
14369         * po/POTFILES.in: remove gst-register.c
14370
14371 2005-09-14  David Schleef  <ds@schleef.org>
14372
14373         * docs/gst/gstreamer-docs.sgml:
14374         * docs/gst/gstreamer-sections.txt:
14375         * docs/gst/gstreamer.types:
14376         * docs/gst/tmpl/gstelement.sgml:
14377         * docs/gst/tmpl/gstplugin.sgml:
14378         * docs/gst/tmpl/gstpluginfeature.sgml:
14379           Documentation updates for registry changes.
14380
14381 2005-09-14  David Schleef  <ds@schleef.org>
14382
14383         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
14384           because we don't require glib-2.8.
14385
14386 2005-09-14  David Schleef  <ds@schleef.org>
14387
14388         * gst/gstregistryxml.c: Added.  Essentially moved out of the
14389           registries directory.
14390
14391 2005-09-14  David Schleef  <ds@schleef.org>
14392
14393         * check/Makefile.am:
14394         * check/generic/states.c:
14395         * gst/Makefile.am:
14396         * gst/gst.c:
14397         * gst/gst.h:
14398         * gst/gst_private.h:
14399         * gst/gstelementfactory.c:
14400         * gst/gstindex.c:
14401         * gst/gstinfo.c:
14402         * gst/gstplugin.c:
14403         * gst/gstplugin.h:
14404         * gst/gstpluginfeature.c:
14405         * gst/gstpluginfeature.h:
14406         * gst/gstregistry.c:
14407         * gst/gstregistry.h:
14408         * gst/gstregistrypool.c: remove
14409         * gst/gstregistrypool.h: remove
14410         * gst/gsttypefind.c:
14411         * gst/gsttypefindfactory.c:
14412         * gst/gsturi.c:
14413         * tools/Makefile.am:
14414         * tools/gst-compprep.c:
14415         * tools/gst-inspect.c:
14416         * tools/gst-register.c: remove
14417         * tools/gst-xmlinspect.c:
14418           Registry rewrite.  Changes registry from being a file created
14419           by a tool into a simple cache file created automatically by 
14420           libgstreamer.  Removed gst-register (because it's no longer
14421           needed).  Remove registry pools, because we only have one
14422           registry implementation (XML).  Fix up other subsystems as
14423           necessary.
14424
14425 2005-09-13  Michael Smith <msmith@fluendo.com>
14426
14427         * gst/gstconfig.h.in:
14428           Don't Use windows linking attributes for MinGW. Fixes #316157
14429
14430 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14431
14432         * gst/gstutils.c: (set_state_async_thread_func),
14433         (gst_element_set_state_async):
14434           Apparently people think it's better if this function doesn't
14435           try to set the state to whatever state was asked for on the first
14436           call to this function for any object.  Seriously.
14437
14438 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14439
14440         * check/gst/gstpipeline.c: (GST_START_TEST):
14441         * docs/gst/gstreamer-sections.txt:
14442         * gst/gstutils.c: (set_state_async_thread_func),
14443         (gst_element_set_state_async):
14444         * gst/gstutils.h:
14445           add a "gst_element_set_state_async" method that
14446           sets the state and starts a thread to make sure the state
14447           change completes as best as it can
14448
14449 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14450
14451         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14452           codify design+behaviour in testsuite after discussion
14453
14454 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14455
14456         * docs/gst/tmpl/gstelement.sgml:
14457         * docs/manual/appendix-quotes.xml:
14458           add a quote
14459         * gst/gstelement.c: (gst_element_set_state):
14460           add some debug
14461
14462 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
14463
14464         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14465         (gst_base_transform_prepare_output_buf),
14466         (gst_base_transform_handle_buffer):
14467         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
14468         (gst_capsfilter_prepare_buf):
14469           Remove the requirement for sub-classes to call the parent
14470           implementation of prepare_output_buffer with a wrapper function.
14471           
14472         * gst/gsttaglist.h:
14473         * gst/gsttagsetter.h:
14474           Fix #define wrapper
14475
14476 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
14477
14478         * docs/gst/gstreamer-sections.txt:
14479           more doc cleanups
14480
14481 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14482
14483         * docs/gst/gstreamer-sections.txt:
14484         * docs/gst/tmpl/gstelement.sgml:
14485         * docs/gst/tmpl/gstplugin.sgml:
14486         * gst/gstminiobject.c:
14487         * gst/gstvalue.h:
14488           docs now stop throwing warnings
14489
14490 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14491
14492         * docs/gst/gstreamer-sections.txt:
14493         * docs/gst/gstreamer.types:
14494         * docs/gst/tmpl/gstpad.sgml:
14495         * docs/gst/tmpl/gsttypes.sgml:
14496         * gst/base/gstadapter.h:
14497         * gst/base/gstbasesink.h:
14498         * gst/base/gstbasesrc.h:
14499         * gst/gstbin.h:
14500         * gst/gstbuffer.h:
14501         * gst/gstbus.h:
14502         * gst/gstcaps.h:
14503         * gst/gstclock.h:
14504         * gst/gstelement.h:
14505         * gst/gstevent.h:
14506         * gst/gstmessage.h:
14507         * gst/gstpad.h:
14508         * gst/gststructure.c:
14509         * gst/registries/gstlibxmlregistry.h:
14510           various documentation fixes
14511
14512 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14513
14514         * docs/gst/gstreamer-sections.txt:
14515         * docs/gst/tmpl/gstvalue.sgml:
14516           rearrange gstvalue section
14517         * gst/gstutils.c: (gst_element_state_get_name):
14518           NONE -> VOID
14519         * gst/gstvalue.c: (_gst_value_initialize):
14520         * gst/gstvalue.h:
14521           doc updates
14522
14523 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
14524
14525         * check/gst-libs/controller.c:
14526           Header include fix.
14527         * gst/base/gstbasetransform.c:
14528         (gst_base_transform_default_prepare_buf),
14529         (gst_base_transform_handle_buffer):
14530         * gst/base/gstbasetransform.h:
14531           Some more basetransform changes and fixes to enable sub-classes
14532           that modify buffer metadata only.
14533         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
14534         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
14535         (gst_capsfilter_prepare_buf):
14536           If the output pad has fixed allowed caps and input buffers 
14537           don't have any, set the fixed caps on outgoing buffers.
14538
14539 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
14540         * check/elements/identity.c: (GST_START_TEST):
14541           Make the error a little clearer when the test fails because
14542           identity made a copy of the buffer.
14543         * docs/gst/gstreamer-sections.txt:
14544           New symbols in gstbasetransform.h
14545         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14546         (gst_base_transform_init), (gst_base_transform_transform_size),
14547         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14548         (gst_base_transform_default_prepare_buf),
14549         (gst_base_transform_get_unit_size),
14550         (gst_base_transform_buffer_alloc),
14551         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14552         (gst_base_transform_change_state),
14553         (gst_base_transform_set_passthrough),
14554         (gst_base_transform_set_in_place),
14555         (gst_base_transform_is_in_place):
14556         * gst/base/gstbasetransform.h:
14557           Change BaseTransform to separate in_place operate from same_caps
14558           output. in_place implies that the element can perform the transform
14559           on incoming buffers in-place, even if the caps on the output are
14560           different.
14561           Sub-class elements can now implement special buffer allocation
14562           methods for outgoing buffers if they wish to.
14563           Big documentation addition.
14564         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
14565         * gst/elements/gstelements.c:
14566           Changes for basetransform modifications.
14567         * gst/elements/Makefile.am:
14568         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
14569           Compile fix. Extra debug output.
14570
14571 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14572
14573         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
14574         (gst_pad_suite):
14575           add tests for valid pad naming
14576         * gst/check/gstcheck.c: (gst_check_log_message_func),
14577         (gst_check_log_critical_func):
14578           add ASSERT_WARNING
14579           remove printing of code, it is fragile when the code contains
14580           % and the line number is enough info
14581         * gst/check/gstcheck.h:
14582         * gst/gstpad.c: (gst_pad_template_new):
14583           fix memleaks
14584
14585 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14586
14587         * configure.ac:
14588           say what CHECK flags we use
14589         * docs/libs/gstreamer-libs.types:
14590         * libs/gst/controller/Makefile.am:
14591         * libs/gst/controller/gst-controller.c:
14592         * libs/gst/controller/gst-controller.h:
14593         * libs/gst/controller/gst-helper.c:
14594         * libs/gst/controller/gst-interpolation.c:
14595         * libs/gst/controller/gstcontroller.c:
14596         * libs/gst/controller/gsthelper.c:
14597         * libs/gst/controller/gstinterpolation.c:
14598         * tools/gst-inspect.c: (print_plugin_info):
14599           we don't use dashes in header names
14600
14601 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14602
14603         * check/Makefile.am:
14604         * check/gst/.cvsignore:
14605         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
14606         (gst_pipeline_suite), (main):
14607           adding a test for pipelines and state changes
14608         * gst/gstutils.c: (get_state_func):
14609           add some debugging
14610         * gstreamer.spec.in:
14611           fix up spec file
14612
14613 2005-09-08  Michael Smith <msmith@fluendo.com>
14614
14615         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
14616         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
14617         (gst_file_src_is_seekable), (gst_file_src_get_size),
14618         (gst_file_src_start):
14619         * gst/elements/gstfilesrc.h:
14620           Various fixes for unseekable, unmmapable, and non-normal files, so
14621           that fallback to read() rather than mmap() works.
14622         * gst/gstevent.c: (gst_event_new_newsegment):
14623           Allow newsegment events with segment_start == segment_end, as will
14624           correctly happen if you use filesrc on a zero-size file, for
14625           example.
14626
14627 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
14628
14629         * gst/gstplugin.c: (gst_plugin_load_file):
14630           Call g_module_close when we don't load the module
14631
14632         * gst/registries/gstlibxmlregistry.c:
14633         (gst_xml_registry_get_property):
14634           Port leak fix from 0.8
14635
14636 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
14637
14638         * docs/gst/gstreamer-docs.sgml:
14639         * docs/gst/tmpl/.cvsignore:
14640         * docs/gst/tmpl/gsttrace.sgml:
14641         * docs/gst/tmpl/gsttrashstack.sgml:
14642         * gst/Makefile.am:
14643         * gst/gst.h:
14644         * gst/gstelement.h:
14645         * gst/gstevent.h:
14646         * gst/gstmessage.c:
14647         * gst/gstmessage.h:
14648         * gst/gsttag.c:
14649         * gst/gsttag.h:
14650         * gst/gsttaginterface.c:
14651         * gst/gsttaginterface.h:
14652         * gst/gsttaglist.c:
14653         * gst/gsttaglist.h:
14654         * gst/gsttagsetter.c:
14655         * gst/gsttagsetter.h:
14656         * gst/gsttrace.c:
14657         * gst/gsttrace.h:
14658         * gst/gsttrashstack.c:
14659           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
14660           inlined docs for gsttrace, gsttrashstack
14661
14662 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
14663
14664         * gst/Makefile.am:
14665         * gst/elements/gstbufferstore.h:
14666         * gst/elements/gsttypefindelement.c:
14667         * gst/elements/gsttypefindelement.h:
14668         * gst/gst.h:
14669         * gst/gsttypefind.c:
14670         * gst/gsttypefind.h:
14671         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
14672         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
14673         (gst_type_find_factory_dispose),
14674         (gst_type_find_factory_unload_thyself),
14675         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
14676         (gst_type_find_factory_get_caps),
14677         (gst_type_find_factory_get_extensions),
14678         (gst_type_find_factory_call_function):
14679         * gst/gsttypefindfactory.h:
14680         * gst/registries/gstlibxmlregistry.c:
14681         * gst/registries/gstxmlregistry.c:
14682           splitted gsttypefind into gsttypefind, gsttypefindfactory
14683
14684 2005-09-07  Andy Wingo  <wingo@pobox.com>
14685
14686         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
14687         condition whereby the pad's task function is entered before the
14688         pad_mode variable was set.
14689
14690 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
14691
14692         * gst/gstpad.c: (gst_pad_alloc_buffer):
14693           Catch misbehaving pad_alloc functions that don't
14694           set up caps and do it for them.
14695
14696 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
14697
14698         * check/pipelines/simple_launch_lines.c: (run_pipeline):
14699           test for pipe!=NULL
14700         * docs/gst/tmpl/.cvsignore:
14701         * docs/gst/tmpl/gstmemchunk.sgml:
14702         * docs/gst/tmpl/gstparse.sgml:
14703         * docs/gst/tmpl/gsttaglist.sgml:
14704         * docs/gst/tmpl/gsttagsetter.sgml:
14705         * docs/gst/tmpl/gsttypefind.sgml:
14706         * docs/gst/tmpl/gsttypefindfactory.sgml:
14707         * gst/gstmemchunk.c:
14708         * gst/gstparse.c:
14709         * gst/gsttag.c:
14710         * gst/gsttaginterface.c:
14711         * gst/gsttypefind.c:
14712         * gst/gsttypefind.h:
14713           inlined more docs
14714
14715 === release 0.9.2 ===
14716
14717 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14718
14719         * NEWS:
14720         * RELEASE:
14721         * configure.ac:
14722           releasing 0.9.2, "South"
14723
14724 2005-09-05  Andy Wingo  <wingo@pobox.com>
14725
14726         * gst/registries/gstxmlregistry.h:
14727         * gst/registries/gstxmlregistry.c: Um... resurrect...
14728         
14729         * gst/registries/gstxmlregistry.h:
14730         * gst/registries/gstxmlregistry.c: and update to newer API.
14731         Incidentally they should be a bit faster now that they don't have
14732         to parse the caps.
14733         
14734 2005-09-05  Andy Wingo  <wingo@pobox.com>
14735
14736         * gst/registries/gstxmlregistry.h:
14737         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
14738         replaced by the libxml registry a while back
14739
14740 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14741
14742         * docs/gst/tmpl/gstplugin.sgml:
14743         * gst/elements/gstelements.c:
14744         * gst/gst.c:
14745         * gst/gstplugin.c: (gst_plugin_register_func),
14746         (gst_plugin_desc_copy), (gst_plugin_desc_free),
14747         (gst_plugin_get_source):
14748         * gst/gstplugin.h:
14749         * gst/registries/gstlibxmlregistry.c: (load_plugin),
14750         (gst_xml_registry_save_plugin):
14751         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
14752         (gst_xml_registry_save_plugin):
14753         * tools/gst-inspect.c: (print_plugin_info):
14754           add a "source" plugin description field, to represent the source
14755           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
14756           will set it to PACKAGE, which is automake's idea of the name of
14757           the source project.
14758
14759 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14760
14761         * Makefile.am:
14762         * autogen.sh:
14763         * configure.ac:
14764         * docs/Makefile.am:
14765         * docs/faq/Makefile.am:
14766         * docs/gst/tmpl/gstelement.sgml:
14767         * docs/gst/tmpl/gsttypes.sgml:
14768         * docs/htmlinstall.mak:
14769         * docs/manual/Makefile.am:
14770         * docs/pwg/Makefile.am:
14771           reorganize doc build a little
14772           split out docbook and gtk-doc stuff
14773           have two separate --enable's and enable them through autogen
14774           but disable by default in configure (to be similar to other
14775           projects)
14776         * gstreamer.spec.in:
14777           clean up docs install
14778         * po/af.po:
14779         * po/az.po:
14780         * po/ca.po:
14781         * po/cs.po:
14782         * po/de.po:
14783         * po/en_GB.po:
14784         * po/fr.po:
14785         * po/it.po:
14786         * po/nb.po:
14787         * po/nl.po:
14788         * po/ru.po:
14789         * po/sq.po:
14790         * po/sr.po:
14791         * po/sv.po:
14792         * po/tr.po:
14793         * po/uk.po:
14794         * po/vi.po:
14795           translation updates
14796
14797 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
14798
14799         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
14800           Add comment.
14801           
14802         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
14803         (gst_fake_sink_change_state):
14804           Make state change function thread-safe.
14805           
14806         * gst/gstpad.c: (gst_pad_alloc_buffer):
14807           Set offset on generic buffer allocated by fallback.
14808
14809 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
14810
14811         * docs/gst/gstreamer-sections.txt:
14812         * docs/gst/tmpl/gstelement.sgml:
14813         * gst/gstpad.c:
14814         * libs/gst/controller/gst-controller.c:
14815         (gst_controlled_property_set_interpolation_mode),
14816         (gst_controlled_property_new),
14817         (gst_controller_find_controlled_property):
14818          run the wingo-magic script against the docs
14819
14820 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
14821
14822         * docs/gst/gstreamer-docs.sgml:
14823         * docs/gst/gstreamer-sections.txt:
14824         * docs/gst/tmpl/.cvsignore:
14825         * docs/gst/tmpl/gstelementdetails.sgml:
14826         * docs/gst/tmpl/gstelementfactory.sgml:
14827         * gst/gst.c:
14828         * gst/gstbus.c:
14829         * gst/gstelementfactory.c:
14830         * gst/gstelementfactory.h:
14831           merged elementdetails docs into elementfactory docs
14832           inlined both
14833
14834 2005-09-02  Andy Wingo  <wingo@pobox.com>
14835
14836         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
14837         consider this enum an enum and not a flags.
14838
14839 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
14840
14841         * docs/gst/gstreamer-docs.sgml:
14842         * docs/gst/tmpl/.cvsignore:
14843         * docs/gst/tmpl/gstghostpad.sgml:
14844         * docs/gst/tmpl/gstiterator.sgml:
14845         * docs/gst/tmpl/gstmacros.sgml:
14846         * docs/gst/tmpl/gstrealpad.sgml:
14847         * docs/gst/tmpl/gstregistry.sgml:
14848         * docs/gst/tmpl/gstregistrypool.sgml:
14849         * docs/gst/tmpl/gststructure.sgml:
14850         * docs/gst/tmpl/gstsystemclock.sgml:
14851         * docs/gst/tmpl/gsttrace.sgml:
14852         * gst/gstghostpad.c:
14853         * gst/gstmacros.h:
14854         * gst/gstmemchunk.c:
14855         * gst/gstmemchunk.h:
14856         * gst/gstqueue.c:
14857         * gst/gstregistry.c:
14858         * gst/gstregistrypool.c:
14859         * gst/gststructure.c:
14860         * gst/gstsystemclock.c:
14861           more docs inlined
14862
14863 2005-09-02  Andy Wingo  <wingo@pobox.com>
14864
14865         * gst/gstelement.h (GstState): Renamed from GstElementState,
14866         changed to be a normal enum instead of flags.
14867         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
14868         munged to be GST_STATE_CHANGE_*.
14869         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
14870         work with the new state representation.
14871         (GstStateChange): New enumeration of possible state transitions.
14872         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
14873         (GstElementClass::change_state): Pass the GstStateChange along as
14874         an argument. Helps language bindings, so they don't have to use
14875         tricky lock-needing macros like GST_STATE_CHANGE ().
14876
14877         * scripts/update-states (file): New script. Run it on a file to
14878         update it for state naming and API changes. Updates files in
14879         place.
14880
14881         * All files updated for the new API.
14882
14883 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14884
14885         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
14886         * gst/gstutils.c: (gst_util_set_value_from_string),
14887         (gst_util_set_object_arg):
14888           fix a bunch of unchecked return values
14889         * tools/gst-complete.c: (main):
14890         * gstreamer.spec.in:
14891           clean up a little
14892
14893 2005-09-01  Wim Taymans  <wim@fluendo.com>
14894
14895         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14896         (gst_base_sink_event), (gst_base_sink_do_sync),
14897         (gst_base_sink_handle_event):
14898         * gst/base/gstbasesink.h:
14899         Handle newsegments more correctly.
14900
14901         * gst/gstbus.c:
14902         Fix docs.
14903
14904         * gst/gstevent.c: (gst_event_new_newsegment):
14905         A newsegment cannot have a start_time of -1
14906
14907 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
14908
14909         * win32/gstenumtypes.c:
14910         * win32/gstenumtypes.h:
14911           Update
14912
14913 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
14914
14915         * libs/gst/controller/gst-controller.c:
14916         (gst_controlled_property_set_interpolation_mode),
14917         (gst_controlled_property_new):
14918          fixed boolean again
14919
14920 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
14921
14922         * docs/faq/gst-uninstalled:
14923           add -good
14924         * gst/gstevent.c:
14925         * gst/gstevent.h:
14926           remove wrong docs
14927         * gst/gstutils.c: (gst_element_link_filtered):
14928         * gst/gstutils.h:
14929           add gst_element_link_filtered
14930
14931 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
14932
14933         * docs/gst/gstreamer-docs.sgml:
14934         * docs/gst/gstreamer-sections.txt:
14935         * docs/gst/tmpl/.cvsignore:
14936         * docs/gst/tmpl/gsterror.sgml:
14937         * docs/gst/tmpl/gstfilter.sgml:
14938         * docs/gst/tmpl/gsturihandler.sgml:
14939         * docs/gst/tmpl/gsturitype.sgml:
14940         * docs/gst/tmpl/gstutils.sgml:
14941         * docs/gst/tmpl/gstxml.sgml:
14942         * gst/gsterror.c:
14943         * gst/gsterror.h:
14944         * gst/gstfilter.c:
14945         * gst/gsturi.c:
14946         * gst/gsturitype.c:
14947         * gst/gstutils.c:
14948         * gst/gstxml.c:
14949           inlined more docs, fixed double id-ref
14950
14951 2005-08-31  Wim Taymans  <wim@fluendo.com>
14952
14953         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14954         (gst_base_transform_handle_buffer):
14955         Passthrough elements don't need the caps as they don't care.
14956
14957 2005-08-31  Wim Taymans  <wim@fluendo.com>
14958
14959         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14960         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
14961         Don't leak refcounts on buffers.
14962
14963 2005-08-31  Wim Taymans  <wim@fluendo.com>
14964
14965         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
14966         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
14967         (gst_base_transform_chain), (gst_base_transform_change_state):
14968         * gst/base/gstbasetransform.h:
14969         Handle the case where we are not negotiated more gracefully.
14970
14971 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
14972
14973         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
14974         (gst_file_src_map_region):
14975           Set READONLY flag on mmap'ed buffers, otherwise
14976           gst_buffer_make_writable() won't work properly (#314708).
14977
14978 2005-08-31  Wim Taymans  <wim@fluendo.com>
14979
14980         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
14981         passthrough elements can even do inplace on non writable
14982         buffers (as they don't touch them).
14983
14984 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
14985
14986         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
14987         (gst_test_mono_source_set_property),
14988         (gst_test_mono_source_class_init), (GST_START_TEST),
14989         (gst_controller_suite):
14990           more tests (hehe I have the most)
14991         * gst/gstbus.c:
14992           describe popping messages whenusing mulltiple sources
14993         * libs/gst/controller/gst-controller.c:
14994         (gst_controlled_property_set_interpolation_mode),
14995         (gst_controlled_property_new):
14996         * libs/gst/controller/gst-controller.h:
14997         * libs/gst/controller/gst-interpolation.c:
14998           implement boolean properties
14999
15000 2005-08-31  Wim Taymans  <wim@fluendo.com>
15001
15002         * gst/gstminiobject.c: (gst_mini_object_ref):
15003         Cannot assert that the refcount has to be positive
15004         since a disposed object can be resurrected.
15005
15006 2005-08-31  Wim Taymans  <wim@fluendo.com>
15007
15008         * gst/gstpad.c: (gst_pad_init):
15009         Revert change, need to first fix badly behaving 
15010         apps.
15011
15012 2005-08-30  Wim Taymans  <wim@fluendo.com>
15013
15014         * check/elements/fakesrc.c: (setup_fakesrc):
15015         * check/elements/identity.c: (setup_identity):
15016         Activate pads before using them.
15017
15018 2005-08-30  Wim Taymans  <wim@fluendo.com>
15019
15020         * gst/base/gstadapter.c: (gst_adapter_flush):
15021         Flushing out 0 bytes is ok for this function.
15022
15023         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15024         no newsegment gives a warning and sets the start/stop to 
15025         invalid.
15026
15027         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
15028         (gst_base_transform_set_passthrough):
15029         Some debug info.
15030
15031         * gst/gstminiobject.c: (gst_mini_object_ref):
15032         Check refcount here too.
15033
15034         * gst/gstpad.c: (gst_pad_init):
15035         Pads are initially flushing and refusing data.
15036
15037         * gst/gstutils.c: (gst_element_link_pads_filtered):
15038         When adding a capsfilter element make sure it has the
15039         same state as the parent bin.
15040
15041 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
15042
15043         * docs/gst/tmpl/.cvsignore:
15044         * docs/gst/tmpl/gstformat.sgml:
15045         * docs/gst/tmpl/gstversion.sgml:
15046         * gst/gstbus.h:
15047         * gst/gstformat.c:
15048         * gst/gstformat.h:
15049         * gst/gstversion.h.in:
15050           more docs and two more inlined
15051
15052 2005-08-30  Wim Taymans  <wim@fluendo.com>
15053
15054         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
15055         Don't sync to clock.
15056
15057 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
15058
15059         * docs/gst/gstreamer-sections.txt:
15060           ultral33t func10ns deserve to appear in the docs actually
15061         * docs/gst/tmpl/.cvsignore:
15062         * docs/gst/tmpl/gstcompat.sgml:
15063         * docs/gst/tmpl/gstconfig.sgml:
15064         * gst/check/gstcheck.c:
15065         * gst/gstcompat.h:
15066         * gst/gstconfig.h.in:
15067           inlined more docs
15068
15069 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
15070
15071         * docs/gst/tmpl/.cvsignore:
15072         * docs/gst/tmpl/gstquery.sgml:
15073         * docs/gst/tmpl/gstutils.sgml:
15074         * gst/gstquery.c:
15075         * gst/gstquery.h:
15076           inlined and extended docs
15077
15078 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
15079
15080         * check/gst-libs/controller.c: (GST_START_TEST),
15081         (gst_controller_suite):
15082           more tests
15083         * docs/gst/tmpl/gstutils.sgml:
15084         * docs/libs/gstreamer-libs-sections.txt:
15085         * docs/libs/tmpl/gstdataprotocol.sgml:
15086           include path fixes
15087         * examples/controller/audio-example.c: (main):
15088           controller example works now
15089         * gst/gstclock.h:
15090           doc fixes
15091         * tools/gst-inspect.c: (print_element_properties_info):
15092           show param spec flags
15093
15094 2005-08-29  Andy Wingo  <wingo@pobox.com>
15095
15096         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
15097
15098 2005-08-28  Andy Wingo  <wingo@pobox.com>
15099
15100         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
15101         as having two arguments instead of just one. Allows superclasses
15102         to access information on subclasses -- see the terrible for() loop
15103         in gtype.c:g_type_create_instance for the reason why. All callers
15104         changed.
15105
15106 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
15107
15108         * docs/design/part-messages.txt:
15109           update info
15110         * docs/gst/tmpl/.cvsignore:
15111         * docs/gst/tmpl/gstcaps.sgml:
15112         * docs/gst/tmpl/gstclock.sgml:
15113         * gst/gstbus.c:
15114         * gst/gstcaps.c:
15115         * gst/gstcaps.h:
15116         * gst/gstclock.c:
15117         * gst/gstclock.h:
15118         * gst/gstmessage.c:
15119           added descriptions for bus and message
15120           inline caps and clock docs
15121
15122 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
15123
15124         * gst/gstmessage.c:
15125         * gst/gstmessage.h:
15126           doc fixes
15127
15128 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
15129
15130         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
15131           fix div-by-zero
15132
15133 2005-08-26  Andy Wingo  <wingo@pobox.com>
15134
15135         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
15136         element_set_state's return val.
15137         (test_2_elements): Add test that's been disabled for months.
15138
15139         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
15140         can-activate-pull properties.
15141
15142         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
15143         can-activate-pull properties. Implement is_seekable so fakesrc can
15144         operate in pull mode.
15145
15146         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
15147         properties.
15148         (gst_base_sink_activate, gst_base_sink_activate_pull)
15149         (gst_base_sink_activate_push): Make activation mode choosing work.
15150         Cleanups.
15151         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
15152         is right. Make pull mode work. Post an eos before pausing in pull
15153         mode.
15154         (gst_base_sink_change_state): Pay attention to the core's
15155         change_state() return val.
15156         
15157         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
15158         has-getrange properties. Cleanups.
15159         
15160         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
15161         has_getrange and replace with can_activate_pull and
15162         can_activate_push.
15163
15164         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
15165         locking comments. Remove has_loop, has_chain and replace with
15166         can_activate_pull and can_activate_push.
15167
15168 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
15169
15170         * configure.ac:
15171         * examples/Makefile.am:
15172         * examples/metadata/Makefile.am:
15173         * examples/metadata/read-metadata.c: (message_loop),
15174         (have_pad_handler), (make_pipeline), (print_tag), (main):
15175           Add metadata reading example that loops over a list of filenames,
15176           dumping any tags found.
15177
15178         * gst/gstbus.c: (gst_bus_dispose):
15179         * gst/gstelement.c: (gst_element_dispose):
15180           Release a few potentially-held references in dispose.
15181
15182 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
15183
15184         * docs/gst/tmpl/gstminiobject.sgml:
15185           do *not* add tmpl/*.sgml files to CVS!
15186
15187 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
15188
15189         * libs/gst/bytestream/.cvsignore:
15190         * libs/gst/bytestream/Makefile.am:
15191         * libs/gst/bytestream/adapter.c:
15192         * libs/gst/bytestream/adapter.h:
15193         * libs/gst/bytestream/bytestream.c:
15194         * libs/gst/bytestream/bytestream.h:
15195         * libs/gst/bytestream/filepad.c:
15196         * libs/gst/bytestream/filepad.h:
15197           removing obsolete files
15198
15199 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
15200
15201         * docs/gst/gstreamer-docs.sgml:
15202         * docs/libs/gstreamer-libs-docs.sgml:
15203           disabed additional index entries again, as this makes docs-gen just
15204           slow and they aren't useful yet
15205         * docs/libs/gstreamer-libs-sections.txt:
15206           little -section.txt cleanup for libs
15207
15208 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
15209
15210         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15211         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
15212           fix up some debugging
15213         (gst_base_transform_get_unit_size),
15214         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
15215         (gst_base_transform_handle_buffer):
15216         * gst/base/gstbasetransform.h:
15217           handle and store timed NEWSEGMENT events so that subclasses that
15218           calculate time by counting samples have a segment_start time they
15219           need to add to their timestamps - see audioresample
15220
15221 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
15222
15223         * gst/gstbin.h:
15224           removed ';' from the end of macro defs
15225         * docs/gst/gstreamer-docs.sgml:
15226         * docs/gst/gstreamer-sections.txt:
15227         * docs/gst/tmpl/.cvsignore:
15228         * gst/gstbus.h:
15229         * gst/gstelement.c: (gst_element_class_init),
15230         (gst_element_set_state), (activate_pads),
15231         (gst_element_save_thyself):
15232         * gst/gstevent.c: (gst_event_new_newsegment):
15233         * gst/gstevent.h:
15234         * gst/gstiterator.c:
15235         * gst/gstiterator.h:
15236         * gst/gstpad.c:
15237         * gst/gstprobe.h:
15238         * gst/gstutils.c: (gst_pad_query_convert):
15239         * gst/gstutils.h:
15240           fixed parameter name mismatches between source, header and docs
15241           added some more docs, resolved the last batch of unused elements in
15242           docs (now someone needs to doc them)
15243
15244 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
15245
15246         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
15247         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
15248           don't walk through the plugins backwards.  Where is all this
15249           reversed logic coming from ?
15250
15251 2005-08-25  Wim Taymans  <wim@fluendo.com>
15252
15253         * gst/base/gstbasetransform.c: (gst_base_transform_init),
15254         (gst_base_transform_transform_size),
15255         (gst_base_transform_configure_caps),
15256         (gst_base_transform_get_unit_size),
15257         (gst_base_transform_buffer_alloc),
15258         (gst_base_transform_change_state):
15259         * gst/base/gstbasetransform.h:
15260         Cache caps unit_size.
15261         Make sure we cannot negotiate up and downstream at the
15262         same time.
15263
15264 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
15265
15266         * gst/gst.c: (init_pre), (init_post):
15267           register the installed plugin path after the env var
15268         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
15269         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
15270           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
15271           directories, so the tests can prefer uninstalled over installed
15272
15273 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
15274
15275         * gst/base/gstbasetransform.h:
15276           comment
15277         * gst/gstpad.c:
15278           add to docs
15279
15280 2005-08-25  Wim Taymans  <wim@fluendo.com>
15281
15282         * gst/gstbin.c: (bin_bus_handler):
15283         Be a bit more conservative about the posted message.
15284         
15285         * gst/gstbus.c: (gst_bus_post):
15286         Some cleanups, warn wrong return values.
15287
15288 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
15289
15290         * check/gst/gstbin.c: (GST_START_TEST):
15291         * gst/gstbin.c: (bin_bus_handler):
15292         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
15293         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
15294         (gst_message_new_warning), (gst_message_new_tag),
15295         (gst_message_new_state_changed), (gst_message_new_segment_start),
15296         (gst_message_new_segment_done), (gst_message_new_custom):
15297         * gst/gstmessage.h:
15298         * tools/gst-launch.c: (event_loop):
15299         * tools/gst-md5sum.c: (event_loop):
15300           Revert unpopular change for GST_MESSAGE_SRC to GObject.
15301
15302 2005-08-25  Wim Taymans  <wim@fluendo.com>
15303
15304         * check/generic/states.c: (GST_START_TEST):
15305         Cleanup can be done at the end.
15306
15307         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
15308         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
15309         (gst_task_get_state), (gst_task_start), (gst_task_pause):
15310         Oh boy.. Thanks for finding this, Thomas. 
15311
15312 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
15313
15314         * docs/gst/gstreamer.types:
15315           added missing types
15316
15317 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
15318
15319         * docs/gst/gstreamer-docs.sgml:
15320         * docs/gst/gstreamer-sections.txt:
15321         * docs/gst/tmpl/.cvsignore:
15322         * gst/gstbin.c:
15323         * gst/gstiterator.c:
15324         * gst/gstutils.c:
15325         * gst/registries/gstxmlregistry.h:
15326           added missing classes and symbols (123 more to go)
15327           removed removed symbols from section file
15328           fixed many doc-comments
15329
15330 2005-08-24  Wim Taymans  <wim@fluendo.com>
15331
15332         * check/generic/states.c: (GST_START_TEST):
15333         Make sure all tasks are stopped.
15334
15335         * check/gst/gstbin.c: (GST_START_TEST):
15336         Unref after usage for proper valgrinding.
15337
15338         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
15339         Really wait for the task to stop before destroying the
15340         mutex.
15341
15342         * gst/gstqueue.c: (gst_queue_sink_activate_push),
15343         (gst_queue_src_activate_push):
15344         Small cleanups. Don't stop the task when we did not start
15345         it.
15346
15347         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
15348         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
15349         (gst_task_get_state), (gst_task_start), (gst_task_pause),
15350         (gst_task_join):
15351         * gst/gsttask.h:
15352         Protect the stream lock with the object lock.
15353         Disallow setting the stream lock when running.
15354         Add cleanup_all to wait for the threadpool to finish.
15355         Remove code to autoallocate a mutex if none was provided.
15356         Add _join() to wait for a task to stop.
15357         Protect the thread pool with a global lock.
15358
15359 2005-08-24  Wim Taymans  <wim@fluendo.com>
15360
15361         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15362         (gst_base_sink_get_times), (gst_base_sink_do_sync),
15363         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
15364         * gst/base/gstbasesink.h:
15365         Handle newsegment events correctly.
15366         Drop buffers out of the segment range.
15367
15368 2005-08-22  Andy Wingo  <wingo@pobox.com>
15369
15370         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
15371         macro, implements an interface and gstimplementsinterface for a
15372         new type.
15373
15374 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15375
15376         * check/Makefile.am:
15377         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
15378           add a test that does a bunch of state changes on elements
15379           needs some fixing for valgrind
15380         * check/states/sinks.c: (gst_object_suite):
15381           whitespace
15382         * gst/gstcaps.h:
15383           add prototype for gst_caps_is_equal_fixed
15384         * gst/gstplugin.c:
15385         * gst/gstregistrypool.c:
15386           doc fixes
15387
15388 2005-08-24  Andy Wingo  <wingo@pobox.com>
15389
15390         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
15391         convert a negative value. Doesn't make much sense. Mostly this is
15392         here to force callers to ensure -1 maps to -1.
15393
15394 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
15395
15396         * docs/pwg/advanced-types.xml:
15397           Well done to Michael for catching my deliberate introduction
15398           of this spelling mistake. 
15399         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
15400         * gst/gstelement.h:
15401           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
15402           unlink pads before removing the element from the bin.
15403
15404 2005-08-24  Andy Wingo  <wingo@pobox.com>
15405
15406         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
15407         the same thing as GST_DEBUG=*:4.
15408         (parse_debug_level, parse_debug_category): New helper parsers.
15409
15410 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15411
15412         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15413         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
15414         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
15415         (gst_base_transform_buffer_alloc),
15416         (gst_base_transform_handle_buffer):
15417           use gboolean return values and pointers to size so we can use the
15418           full GST_BUFFER_SIZE range (guint) for buffer sizes
15419           use GstPadDirection for transform_caps
15420         * gst/base/gstbasetransform.h:
15421           rename get_size to get_unit_size since that's what it is
15422         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
15423           use GstPadDirection for transform_caps
15424         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
15425         * gst/gstutils.h:
15426           cleanup and debugging
15427
15428 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
15429
15430         * gst/gstelement.c: (gst_element_class_init),
15431         (gst_element_set_state), (activate_pads),
15432         (gst_element_save_thyself):
15433         * tools/gst-compprep.c: (main):
15434         * tools/gst-inspect.c: (print_element_properties_info):
15435         * tools/gst-xmlinspect.c: (print_element_properties):
15436           Fixed long standing mem-leak
15437
15438 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
15439
15440         * check/gst/gstbin.c: (GST_START_TEST):
15441         * gst/gstbin.c: (bin_bus_handler):
15442         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
15443         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
15444         (gst_message_new_warning), (gst_message_new_tag),
15445         (gst_message_new_state_changed), (gst_message_new_segment_start),
15446         (gst_message_new_segment_done), (gst_message_new_custom):
15447         * gst/gstmessage.h:
15448         * tools/gst-launch.c: (event_loop):
15449         * tools/gst-md5sum.c: (event_loop):
15450           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
15451           that applications can sensibly post custom messages with references
15452           to their own objects.
15453
15454 2005-08-24  Andy Wingo  <wingo@pobox.com>
15455
15456         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
15457         already.
15458
15459 2005-08-24  Wim Taymans  <wim@fluendo.com>
15460
15461         * gst/base/gstbasetransform.c: (gst_base_transform_init),
15462         (gst_base_transform_transform_caps),
15463         (gst_base_transform_transform_size),
15464         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15465         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15466         (gst_base_transform_handle_buffer):
15467         * gst/base/gstbasetransform.h:
15468         Many fixes and new features added by Thomas. Can now also do
15469         transforms with variable sizes and a custom fixate_caps function.
15470
15471 2005-08-24  Wim Taymans  <wim@fluendo.com>
15472
15473         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
15474         Some debugging.
15475
15476         * gst/gstclock.h:
15477         Cast to ClockTime before formatting to time.
15478
15479         * gst/gstutils.h:
15480         Cleanups.
15481
15482 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
15483
15484         * check/gst-libs/controller.c: (GST_START_TEST),
15485         (gst_controller_suite):
15486         * docs/gst/tmpl/gstcaps.sgml:
15487         * docs/gst/tmpl/gstghostpad.sgml:
15488         * docs/gst/tmpl/gstquery.sgml:
15489         * docs/gst/tmpl/gstutils.sgml:
15490         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
15491         (gst_object_sink_values), (gst_object_get_value_arrays),
15492         (gst_object_get_value_array):
15493           gracefully handle helper method calls to objects that are not beeing
15494           controlled, added test case for that          
15495
15496 2005-08-23  Wim Taymans  <wim@fluendo.com>
15497
15498         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
15499         (gst_event_new_newsegment), (gst_event_parse_newsegment),
15500         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
15501         (gst_event_parse_qos), (gst_event_new_seek),
15502         (gst_event_parse_seek):
15503         * gst/gstevent.h:
15504         Some more debugging output and doc cleanups.
15505
15506         * gst/gstqueue.c: (gst_queue_handle_sink_event):
15507         Fix possible deadlock.
15508
15509 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
15510
15511         * docs/gst/gstreamer-docs.sgml:
15512         * docs/gst/gstreamer-sections.txt:
15513         * docs/gst/gstreamer.types:
15514         * docs/gst/tmpl/.cvsignore:
15515         * gst/gstbin.h:
15516         * gst/gstbus.c:
15517         * gst/gstelement.c:
15518         * gst/gstevent.h:
15519           added 100 symbols from gstreamer-unused.txt to the right sections
15520           fixed more broken comments
15521           added GstBus to docs
15522
15523 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
15524
15525         * docs/gst/gstreamer-sections.txt:
15526         * docs/gst/tmpl/.cvsignore:
15527         * docs/gst/tmpl/gstbin.sgml:
15528         * docs/gst/tmpl/gstbuffer.sgml:
15529         * gst/base/gstbasesrc.c:
15530         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
15531         * gst/gstbuffer.c:
15532         * gst/gstbuffer.h:
15533         * tools/gst-launch.1.in:
15534           inlined more doc comments, added missing comments and fixed comments
15535           fixed typos
15536
15537 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15538
15539         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
15540           some debugging
15541         * gst/gstcaps.h:
15542           whitespace fixes
15543         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
15544           more debugging
15545         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
15546         * gst/gststructure.h:
15547           add a fixate function for booleans; add a FIXME that these func
15548           names should probably be gst_structure_fixate_*
15549
15550 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
15551
15552         * docs/gst/gstreamer-docs.sgml:
15553         * docs/gst/gstreamer-sections.txt:
15554         * gst/Makefile.am:
15555         * gst/gstbin.c: (gst_bin_get_type),
15556         (gst_bin_child_proxy_get_child_by_index),
15557         (gst_bin_child_proxy_get_children_count),
15558         (gst_bin_child_proxy_init):
15559         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
15560         (gst_child_proxy_get_child_by_index),
15561         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
15562         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
15563         (gst_child_proxy_get), (gst_child_proxy_set_property),
15564         (gst_child_proxy_set_valist), (gst_child_proxy_set),
15565         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
15566         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
15567         * gst/gstchildproxy.h:
15568         * gst/parse/grammar.y:
15569         * tools/gst-inspect.c: (print_interfaces),
15570         (print_element_properties_info), (print_element_info):
15571           ported gstchildproxy over from 0.8
15572           ported gst-inspect fixes and enhancements over from 0.8
15573
15574 2005-08-22  Wim Taymans  <wim@fluendo.com>
15575
15576         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15577         (gst_base_transform_handle_buffer):
15578         Also call the transform function if we have ANY caps.
15579
15580         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
15581         Fix debug info.
15582
15583 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
15584
15585         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
15586           Don't pretend to handle seek events if the source is not seekable
15587
15588 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
15589
15590         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15591           Remove extra parameter to debug output
15592
15593         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15594         (gst_base_src_do_seek), (gst_base_src_activate_push):
15595           Fix seek event handling.
15596
15597         * gst/gstpipeline.c: (gst_pipeline_change_state):
15598         * gst/gstqueue.c: (gst_queue_handle_sink_event),
15599         (gst_queue_src_activate_push):
15600           Don't start the src pad task on FLUSH_STOP if the pad
15601           isn't linked.
15602           Debug changes.
15603
15604 2005-08-22  Wim Taymans  <wim@fluendo.com>
15605
15606         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
15607         Added check for gst_static_caps_get() refcounting.
15608
15609 2005-08-22  Wim Taymans  <wim@fluendo.com>
15610
15611         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
15612         Make _static_caps_get() refcounting sane.
15613         
15614         * gst/gstelement.c: (gst_element_set_state):
15615         Add g_return_val_if_fail() to protect against segfaults.
15616
15617 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
15618
15619         * docs/gst/tmpl/gstevent.sgml:
15620         * gst/gstevent.c:
15621         * gst/gstevent.h:
15622           inlined remaining docs, added missing doc comments
15623
15624 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15625
15626         * check/gst/gstbin.c: (GST_START_TEST):
15627           since we don't know when preroll is done, use refcount range
15628           check for the sink
15629         * gst/check/gstcheck.h:
15630           add macro for checking refcount range
15631
15632 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
15633
15634         * check/Makefile.am:
15635           clean up environment for when registry gets built versus
15636           when actual tests are run; valgrind seems to not report
15637           leaks if GST_PLUGIN_PATH is set to some specific values
15638         * check/gst/gstbin.c: (GST_START_TEST):
15639           add more refcounting checks; maybe this exposes a
15640           preroll lock bug ?
15641         * common/check.mak:
15642         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15643         * gst/check/gstcheck.h:
15644         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
15645         (gst_bin_change_state):
15646         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
15647           add/fix debugging/whitespace
15648
15649 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
15650
15651         * check/gst/gstevent.c: (event_probe), (test_event),
15652         (GST_START_TEST):
15653          Er, don't call gst_bin_watch_for_state_change you idiot.
15654
15655 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
15656
15657         * check/Makefile.am:
15658           Use CHECK_CFLAGS and CHECK_LIBS
15659         * check/gst/gstevent.c: (event_probe), (test_event),
15660         (GST_START_TEST):
15661           Don't leak events.
15662         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15663         (gst_base_src_start), (gst_base_src_stop),
15664         (gst_base_src_activate_push), (gst_base_src_activate_pull),
15665         (gst_base_src_change_state):
15666           Sprinkle gst_base_src_stop liberally around error paths to fix
15667           problems reusing a source after failed state changes.
15668         * gst/base/gsttypefindhelper.c: (helper_find_peek),
15669         (helper_find_suggest), (gst_type_find_helper):
15670           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
15671         * gst/gstevent.h:
15672         * docs/gst/tmpl/gstevent.sgml:
15673           Migrate part of the docs from the SGML file. Wait for ensonic to
15674           tell me how I did it wrong ;)
15675         * tools/gst-typefind.c: (main):
15676           Extra robustness to state changes between files.
15677
15678 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
15679
15680         * check/Makefile.am:
15681           don't valgrind the controller test - it's leaking - Stefan, HELP
15682         * gst/check/gstcheck.c: (gst_check_message_error),
15683         (gst_check_chain_func), (gst_check_setup_element),
15684         (gst_check_teardown_element), (gst_check_setup_src_pad),
15685         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
15686         (gst_check_teardown_sink_pad):
15687         * gst/check/gstcheck.h:
15688           add a bunch of methods to set up elements, and src and sink pads
15689         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
15690         * check/elements/identity.c: (setup_identity), (cleanup_identity),
15691         (GST_START_TEST):
15692           use them
15693         * gst/gstmessage.c:
15694         * gst/gsttag.h:
15695           whitespace/doc fixes
15696
15697 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15698
15699         * gst/gstelement.h:
15700           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
15701           be handled by the application and not always printed as well
15702
15703 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15704
15705         * check/Makefile.am:
15706           set GST_TOOLS_DIR
15707         * gst/check/gstcheck.c: (gst_check_message_error):
15708         * gst/check/gstcheck.h:
15709           add a fail_unless_equals_int
15710           add fail_unless for error messages
15711
15712 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15713
15714         * check/Makefile.am:
15715         * check/gst.supp:
15716         * common/Makefile.am:
15717         * common/check.mak:
15718         * common/gst.supp:
15719           factor out some of the common stuff so we can use it
15720
15721 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15722
15723         * check/Makefile.am:
15724         * check/gst/gstiterator.c: (GST_START_TEST):
15725         * check/gst/gstsystemclock.c: (GST_START_TEST),
15726         (gst_systemclock_suite):
15727         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
15728         * gst/gstclock.c:
15729           valgrind more tests
15730
15731 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15732
15733         * check/elements/.cvsignore:
15734         * check/elements/gstfakesrc.c:
15735           rename to name of element
15736         * check/elements/identity.c: (chain_func), (event_func),
15737         (setup_identity), (cleanup_identity), (GST_START_TEST),
15738         (identity_suite), (main):
15739           add a test for identity
15740         * check/Makefile.am:
15741         * pkgconfig/Makefile.am:
15742         * pkgconfig/gstreamer-check.pc.in:
15743         * pkgconfig/gstreamer-check-uninstalled.pc.in:
15744         * gst/check:
15745         * gst/Makefile.am:
15746         * configure.ac:
15747           move the check stuff to a library that gets installed
15748         * check/gst-libs/controller.c: (GST_START_TEST):
15749         * check/gst-libs/gdp.c:
15750         * check/gst/gst.c: (GST_START_TEST):
15751         * check/gst/gstbin.c:
15752         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15753         * check/gst/gstbus.c:
15754         * check/gst/gstcaps.c: (GST_START_TEST):
15755         * check/gst/gstelement.c:
15756         * check/gst/gstghostpad.c:
15757         * check/gst/gstiterator.c:
15758         * check/gst/gstmessage.c:
15759         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
15760         * check/gst/gstobject.c:
15761         * check/gst/gstpad.c: (GST_START_TEST):
15762         * check/gst/gststructure.c: (GST_START_TEST):
15763         * check/gst/gstsystemclock.c: (GST_START_TEST),
15764         (gst_systemclock_suite):
15765         * check/gst/gsttag.c: (gst_tag_suite):
15766         * check/gst/gstvalue.c:
15767         * check/pipelines/cleanup.c:
15768         * check/pipelines/simple_launch_lines.c:
15769         * check/states/sinks.c:
15770           change include statement
15771
15772         * docs/gst/gstreamer-sections.txt:
15773         * docs/gst/tmpl/gstpad.sgml:
15774           document more pad stuff
15775         * gst/gstminiobject.c: (gst_mini_object_ref),
15776         (gst_mini_object_unref):
15777           debug refcounting
15778
15779 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
15780
15781         * docs/gst/tmpl/gst.sgml:
15782         * gst/gst.c:
15783           eliminate another tmpl file, fix spelling in the long-description
15784
15785 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
15786
15787         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15788         (test_event), (timediff), (gstevents_suite):
15789           Should fix build on 64-bit arch's
15790
15791 2005-08-18  Andy Wingo  <wingo@pobox.com>
15792
15793         Make sure that when a pipeline goes to PLAYING, that data has
15794         actually hit the sink.
15795
15796         * check/states/sinks.c (test_sink): A sink that doesn't get any
15797         data shouldn't return SUCCESS for going to either PLAYING or
15798         PAUSED. Test also the return values on the way back down.
15799
15800         * gst/gstelement.c (gst_element_set_state): When changing the
15801         state of an element currently changing state asynchronously, go to
15802         lost-state after commiting the pending state. Makes future calls
15803         to get_state continue to return ASYNC.
15804
15805         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
15806         ASYNC when going to PLAYING if we still don't have preroll, as can
15807         happen with live sources.
15808
15809 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
15810
15811         * docs/pwg/advanced-types.xml:
15812           Hack long paragraph into 2 chunks as a workaround for buggy
15813           jadetex version in sid and breezy that loops infinitely and
15814           eats all RAM.
15815
15816 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
15817
15818         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15819         (test_event), (timediff), (gstevents_suite):
15820           Provide more error margin in clock measurements to allow for 
15821           g_get_current_time inaccuracies.
15822
15823 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
15824
15825         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15826         (test_event), (timediff), (gstevents_suite):
15827            Fix error message output so I might be able to tell why the
15828            test works here but fails on the build farm.
15829
15830 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
15831
15832         * check/Makefile.am:
15833         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15834         (test_event), (timediff), (gstevents_suite), (main):
15835           I wrote a test!
15836
15837         * docs/design/part-seeking.txt:
15838           Spelling correction
15839
15840         * docs/gst/tmpl/gstevent.sgml:
15841         * docs/gst/tmpl/gstfakesrc.sgml:
15842           Docs updates.
15843
15844         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15845           Treat a buffer-without-newsegment the same as a receiving 
15846           a newsegment not in time format, and disable syncing to the clock
15847           with a warning.
15848
15849         * gst/gstbus.c: (gst_bus_set_sync_handler):
15850           Assert if anyone tries to replace the existing sync_handler for bus, 
15851           as only the owner should be setting it.
15852
15853         * gst/gstevent.h:
15854           Have a fixed set of custom event enums with events identified by
15855           their structure name (as in 0.8), rather than a free-for-all
15856           allowing collisions between enum values from different plugins.
15857
15858         * gst/gstpad.c: (gst_pad_class_init):
15859           Docs change.
15860           
15861         * gst/gstqueue.c: (gst_queue_handle_sink_event):
15862           Handle out-of-band downstream events from the sending thread.
15863
15864 2005-08-17  Andy Wingo  <wingo@pobox.com>
15865
15866         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
15867         play-timeout==0 to mean no timeout at all. In that case, don't
15868         bother with a get_state or a warning, just return directly, even
15869         if it's ASYNC.
15870
15871         * gst/base/gstbasetransform.c: Debug changes.
15872
15873         * gst/gstutils.h:
15874         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
15875         ensure bins post state change messages. A bit of a hack but I can't
15876         think of a way to avoid it.
15877
15878         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
15879
15880 2005-08-16  Andy Wingo  <wingo@pobox.com>
15881
15882         * gst/base/gstadapter.h:
15883         * gst/base/gstadapter.c (gst_adapter_take): New function, like
15884         peek() but you own the data. Not terribly efficient atm.
15885
15886 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15887
15888         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
15889         (gst_element_found_tags):
15890         * gst/gstutils.h:
15891           Add two utility functions for tag handling.
15892
15893 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15894
15895         * docs/manual/advanced-dataaccess.xml:
15896         * docs/manual/basics-helloworld.xml:
15897           Fix docs to use _bin_add() before _link(), which fixes the examples
15898           with recent core versions (reported by Madhan Raj M
15899           <raj_madan@rediffmail.com>, #313199).
15900
15901 2005-08-16  Wim Taymans  <wim@fluendo.com>
15902
15903         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15904         Added subtract checks.
15905
15906         * docs/design/part-events.txt:
15907         Some more docs about newsegment
15908
15909         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
15910         Fix FIXME
15911
15912         * gst/gstcaps.c: (gst_caps_to_string):
15913         Add comments, cleanups.
15914         
15915         * gst/gstelement.c: (gst_element_save_thyself):
15916         cleanups
15917         
15918         * gst/gstvalue.c: (gst_value_collect_int_range),
15919         (gst_string_unwrap), (gst_value_union_int_int_range),
15920         (gst_value_union_int_range_int_range),
15921         (gst_value_intersect_int_int_range),
15922         (gst_value_intersect_int_range_int_range),
15923         (gst_value_intersect_double_double_range),
15924         (gst_value_intersect_double_range_double_range),
15925         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
15926         (gst_value_subtract_int_range_int),
15927         (gst_value_subtract_double_range_double),
15928         (gst_value_subtract_double_range_double_range),
15929         (gst_value_subtract_from_list), (gst_value_subtract_list),
15930         (gst_value_can_compare), (gst_value_compare_fraction):
15931         Cleanups, add comments, remove unneeded asserts.
15932
15933 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15934
15935         * tools/gst-launch.c: (event_loop):
15936           don't convert NULL structures to strings
15937
15938 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
15939
15940         * docs/gst/gstreamer-sections.txt:
15941           made some defines private
15942         * docs/gst/tmpl/gstconfig.sgml:
15943         * docs/gst/tmpl/gstqueue.sgml:
15944         * docs/gst/tmpl/gsttaglist.sgml:
15945         * docs/gst/tmpl/gsttypes.sgml:
15946         * docs/gst/tmpl/gstutils.sgml:
15947         * docs/pwg/appendix-porting.xml:
15948         * gst/base/gstbasesink.h:
15949         * gst/base/gstbasesrc.c:
15950         * gst/base/gstbasesrc.h:
15951         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
15952         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
15953         * gst/gstelement.c: (gst_element_class_init):
15954         * gst/gstpad.c: (gst_pad_class_init):
15955         * gst/gstqueue.c: (gst_queue_class_init):
15956         * gst/gstxml.c: (gst_xml_class_init):
15957           documented all undocumented signal inline
15958         * libs/gst/controller/gst-controller.h:
15959           added padding
15960
15961 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15962
15963         * docs/pwg/appendix-porting.xml:
15964           Document _set_link_function -> _set_setcaps_function.
15965
15966 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15967
15968         * check/Makefile.am:
15969           add a .check target for running the check
15970         * check/gst-libs/controller.c: (GST_START_TEST):
15971           cosmetic fixups
15972         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15973           complete checks for gstbuffer; would be nice if I could get the
15974           gcov stuff to work so I can see if I actually completed gstbuffer.c
15975         * check/gstcheck.h:
15976           add ASSERT_BUFFER_REFCOUNT
15977
15978 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
15979
15980         * docs/gst/gstreamer-sections.txt:
15981         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
15982         * gst/gsttag.h:
15983           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
15984           spew out a warning if a tag that is already registered
15985           is re-registered, unless it is re-registered with a 
15986           different type (#308438).
15987
15988 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
15989
15990         * docs/pwg/appendix-porting.xml:
15991         * docs/pwg/building-state.xml:
15992           Add some paragraphs about state changes in 0.9 to the PWG
15993           and the porting guide, in particular about the new meaning
15994           of GST_STATE_PAUSED and how to write state change functions
15995           with concurrent access by multiple threads in mind.
15996
15997 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
15998
15999         * docs/gst/gstreamer-docs.sgml:
16000         * docs/libs/gstreamer-libs-docs.sgml:
16001           added deprecation and since indexes
16002         * libs/gst/controller/gst-controller.c:
16003         * libs/gst/controller/gst-helper.c:
16004           added since tags
16005
16006
16007 2005-08-11  Wim Taymans  <wim@fluendo.com>
16008
16009         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
16010         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
16011         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
16012         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
16013         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
16014         (gst_ghost_pad_set_target):
16015         Actually implement (re)setting the target on a ghostpad
16016         as described in the docs.
16017
16018 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
16019
16020         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
16021           Check whether GST_DEBUG_NO_COLOR environment variable is
16022           set and disable coloured debug output if that is the case.
16023
16024 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
16025
16026         * gst/base/gsttypefindhelper.c: (helper_find_peek),
16027         (gst_type_find_helper):
16028           The memory returned by gst_type_find_peek() needs to
16029           stay valid until the end of a typefind function, and
16030           typefind functions may keep results from different 
16031           offsets around, so we can't just unref the buffer from
16032           the previous _peek(), but have to save all buffers 
16033           returned by _peek() until typefinding is done and only
16034           free them then.
16035
16036 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
16037
16038         * docs/gst/gstreamer-sections.txt:
16039         * gst/gstutils.h:
16040           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
16041
16042 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16043
16044         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
16045           Fix a pretty good memleak.
16046
16047 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
16048
16049         * gst/gstiterator.h:
16050           Fix wrong include and 'make distcheck'.
16051
16052 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16053
16054         * gst/gstbin.c: (bin_bus_handler):
16055           Use gst_element_post_message() instead.
16056
16057 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
16058
16059         * gst/base/gstadapter.h:
16060         * gst/base/gstbasesink.h:
16061         * gst/base/gstbasesrc.h:
16062         * gst/base/gstbasetransform.h:
16063         * gst/base/gstcollectpads.h:
16064         * gst/base/gstpushsrc.h:
16065         * gst/gstiterator.h:
16066           Add padding to our base elements' class and instance structs and
16067           to GstIterator (you will need to rebuild all plugins and apps!)
16068
16069 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16070
16071         * gst/gstbin.c: (bin_bus_handler):
16072           Make default message forwarding from child->bus to bin->bus
16073           threadsafe and make it not emit warnings if the parent has no bus.
16074
16075 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16076
16077         * gst/gstelement.c: (activate_pads):
16078           On paused->ready, set pad->caps to NULL, as is the documented
16079           behaviour in this state change. Fixes playback of series of
16080           media files when visualization is enabled in Totem.
16081
16082 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16083
16084         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
16085           Allow NULL as filter-caps (which means "any").
16086
16087 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
16088
16089         * docs/libs/gstreamer-libs-sections.txt:
16090         * libs/gst/controller/gst-controller.c:
16091         * libs/gst/controller/gst-controller.h:
16092         * libs/gst/controller/gst-helper.c:
16093           adding more entries to the docs and fix small doc-bugs
16094
16095 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
16096
16097         * docs/gst/gstreamer-docs.sgml:
16098         * docs/gst/gstreamer-sections.txt:
16099         * docs/gst/gstreamer.types:
16100         * docs/gst/tmpl/gstbasesink.sgml:
16101         * docs/gst/tmpl/gstbasesrc.sgml:
16102         * docs/gst/tmpl/gstbasetransform.sgml:
16103         * docs/gst/tmpl/gstfakesrc.sgml:
16104         * gst/base/gstcollectpads.c:
16105         * gst/base/gstcollectpads.h:
16106         * libs/gst/controller/gst-controller.c:
16107         * libs/gst/controller/gst-controller.h:
16108         * libs/gst/controller/gst-helper.c:
16109         * libs/gst/controller/gst-interpolation.c:
16110         * libs/gst/controller/lib.c:
16111           added long/short desc for controller docs
16112           added collectpads base class docs
16113           added correct includes to base-class docs
16114
16115 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
16116
16117         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
16118         (gst_test_mono_source_set_property),
16119         (gst_test_mono_source_class_init), (GST_START_TEST),
16120         (gst_controller_suite):
16121         * docs/gst/gstreamer-docs.sgml:
16122         * docs/gst/gstreamer-sections.txt:
16123         * docs/gst/gstreamer.types:
16124         * docs/libs/gstreamer-libs-docs.sgml:
16125         * docs/libs/gstreamer-libs-sections.txt:
16126         * gst/base/gstadapter.c:
16127         * libs/gst/controller/gst-controller.c:
16128         (gst_controlled_property_new), (gst_controlled_property_free),
16129         (gst_controller_new_valist),
16130         (gst_controller_remove_properties_valist),
16131         (gst_controller_sink_values), (_gst_controller_finalize):
16132         * libs/gst/controller/gst-controller.h:
16133         * libs/gst/controller/gst-helper.c:
16134         (gst_object_control_properties), (gst_object_uncontrol_properties),
16135         (gst_object_get_controller), (gst_object_set_controller),
16136         (gst_object_sink_values), (gst_object_get_value_arrays),
16137         (gst_object_get_value_array):
16138           more tests (and fixes) for the controller
16139           more docs for the controller
16140           integrated companies docs for the adapter 
16141
16142 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16143
16144         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
16145         (GST_START_TEST), (fakesrc_suite):
16146           add tests for sizetype
16147
16148 2005-08-04  Andy Wingo  <wingo@pobox.com>
16149
16150         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
16151         fixes buffer_alloc proxying among other things.
16152
16153         * gst/base/gstbasetransform.c:
16154         * gst/base/gstbasetransform.h:
16155         Revert patch to gstbasetransform from 7-28 removing
16156         delay_configure.
16157
16158         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
16159         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
16160         Semantics changed, should return not the size of the output buffer
16161         but the byte size of a buffer with a given caps.
16162
16163         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
16164         debug object.
16165         (gst_base_transform_configure_caps): Don't set out_size here: (in,
16166         out) are not the pad caps until setcaps finishes.
16167         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
16168         not-in-place case as well. Deal with changing from in-place to
16169         not-in-place within calling pad_alloc_buffer. Still a bit
16170         concerned about the overhead here...
16171
16172 2005-08-03  Andy Wingo  <wingo@pobox.com>
16173
16174         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
16175         fixating is an error.
16176
16177 2005-08-04  Edward Hervey  <edward@fluendo.com>
16178
16179         * gst/base/gstadapter.h: 
16180         Added gst_adapter_get_type() to the header
16181
16182 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
16183
16184         * check/Makefile.am:
16185         * check/gst-libs/controller.c:
16186         * libs/gst/controller/gst-controller.c:
16187         (gst_controller_new_valist):
16188           added check test suite for the controller
16189         * gst/base/gstpushsrc.c:
16190           fixed a doc typo
16191
16192 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
16193
16194         * docs/gst/Makefile.am:
16195         * docs/gst/gstreamer-docs.sgml:
16196         * docs/gst/gstreamer-sections.txt:
16197         * docs/gst/gstreamer.types:
16198         * docs/gst/tmpl/gstfakesrc.sgml:
16199         * gst/base/README:
16200         * gst/base/gstbasesink.c:
16201         * gst/base/gstbasesink.h:
16202         * gst/base/gstbasesrc.c:
16203         * gst/base/gstbasesrc.h:
16204         * gst/base/gstbasetransform.c:
16205         * gst/base/gstpushsrc.c:
16206         * gst/base/gstpushsrc.h:
16207           add short/long description docs to base classes
16208           add pushsrc to the docs
16209           remove consolidated doc fragments
16210
16211 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
16212
16213         * configure.ac:
16214         * docs/libs/Makefile.am:
16215         * docs/libs/gstreamer-libs-docs.sgml:
16216         * docs/libs/gstreamer-libs-sections.txt:
16217         * docs/libs/gstreamer-libs.types:
16218         * examples/Makefile.am:
16219         * examples/controller/.cvsignore:
16220         * examples/controller/Makefile.am:
16221         * examples/controller/audio-example.c: (main):
16222         * libs/gst/Makefile.am:
16223         * libs/gst/controller/.cvsignore:
16224         * libs/gst/controller/Makefile.am:
16225         * libs/gst/controller/gst-controller.c:
16226         (on_object_controlled_property_changed), (gst_timed_value_compare),
16227         (gst_timed_value_find),
16228         (gst_controlled_property_set_interpolation_mode),
16229         (gst_controlled_property_new), (gst_controlled_property_free),
16230         (gst_controller_find_controlled_property),
16231         (gst_controller_new_valist), (gst_controller_new),
16232         (gst_controller_remove_properties_valist),
16233         (gst_controller_remove_properties), (gst_controller_set),
16234         (gst_controller_set_from_list), (gst_controller_unset),
16235         (gst_controller_get), (gst_controller_get_all),
16236         (gst_controller_sink_values), (gst_controller_get_value_arrays),
16237         (gst_controller_get_value_array),
16238         (gst_controller_set_interpolation_mode),
16239         (_gst_controller_finalize), (_gst_controller_init),
16240         (_gst_controller_class_init), (gst_controller_get_type):
16241         * libs/gst/controller/gst-controller.h:
16242         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
16243         (g_object_uncontrol_properties), (g_object_get_controller),
16244         (g_object_set_controller), (g_object_sink_values),
16245         (g_object_get_value_arrays), (g_object_get_value_array):
16246         * libs/gst/controller/gst-interpolation.c:
16247         (gst_controlled_property_find_timed_value_node),
16248         (interpolate_none_get), (interpolate_trigger_get),
16249         (interpolate_trigger_get_value_array):
16250         * libs/gst/controller/lib.c: (gst_controller_init):
16251         * pkgconfig/Makefile.am:
16252         * pkgconfig/gstreamer-control-uninstalled.pc.in:
16253         * pkgconfig/gstreamer-control.pc.in:
16254         * testsuite/Makefile.am:
16255         * testsuite/controller/.cvsignore:
16256         * testsuite/controller/Makefile.am:
16257         * testsuite/controller/interpolator.c: (main):
16258           added controller code
16259           removed dparam pc files
16260
16261 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
16262         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
16263         (gst_collectpads_stop):
16264           Broadcast the condition when shutting down, to make sure we wake all
16265           threads up. Shut down pads on finalize, for safety.
16266
16267 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
16268         * gst/base/gstbasetransform.c: (gst_base_transform_init),
16269         (gst_base_transform_handle_buffer),
16270         (gst_base_transform_change_state):
16271           Handle PAUSED->READY->PAUSED transition after negotiation
16272           occurred already.
16273         * gst/gstmessage.c: (gst_message_init):
16274           Extra piece of debug for new messages.
16275
16276 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
16277
16278         * configure.ac:
16279         * docs/gst/tmpl/gstbasesrc.sgml:
16280         * docs/gst/tmpl/gstelement.sgml:
16281         * docs/gst/tmpl/gstevent.sgml:
16282         * docs/gst/tmpl/gstfakesrc.sgml:
16283         * docs/gst/tmpl/gstformat.sgml:
16284         * docs/gst/tmpl/gstghostpad.sgml:
16285         * docs/gst/tmpl/gstpad.sgml:
16286         * docs/gst/tmpl/gstquery.sgml:
16287         * docs/gst/tmpl/gststructure.sgml:
16288         * docs/gst/tmpl/gsttaglist.sgml:
16289         * docs/gst/tmpl/gstvalue.sgml:
16290         * docs/libs/gstreamer-libs-docs.sgml:
16291         * docs/libs/gstreamer-libs-sections.txt:
16292         * docs/libs/gstreamer-libs.types:
16293         * libs/gst/Makefile.am:
16294         * libs/gst/control/.cvsignore:
16295         * libs/gst/control/Makefile.am:
16296         * libs/gst/control/control.c:
16297         * libs/gst/control/control.h:
16298         * libs/gst/control/dparam.c:
16299         * libs/gst/control/dparam.h:
16300         * libs/gst/control/dparam_smooth.c:
16301         * libs/gst/control/dparam_smooth.h:
16302         * libs/gst/control/dparamcommon.h:
16303         * libs/gst/control/dparammanager.c:
16304         * libs/gst/control/dparammanager.h:
16305         * libs/gst/control/dplinearinterp.c:
16306         * libs/gst/control/dplinearinterp.h:
16307         * libs/gst/control/unitconvert.c:
16308         * libs/gst/control/unitconvert.h:
16309         * testsuite/Makefile.am:
16310         * testsuite/dynparams/.cvsignore:
16311         * testsuite/dynparams/Makefile.am:
16312         * testsuite/dynparams/dparamstest.c:
16313         * tools/Makefile.am:
16314         * tools/gst-inspect.c: (print_element_info), (main):
16315         * tools/gst-xmlinspect.c: (print_element_info), (main):
16316           deactivate and remove dparams (libgstcontrol)
16317
16318 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
16319
16320         * gst/elements/gsttypefindelement.c:
16321         (gst_type_find_element_have_type), (gst_type_find_element_init),
16322         (stop_typefinding), (gst_type_find_element_handle_event),
16323         (gst_type_find_element_chain), (gst_type_find_element_getrange):
16324         * gst/elements/gsttypefindelement.h:
16325           Set caps on all outgoing buffers, not just the first one.
16326
16327 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
16328
16329         * gst/elements/gsttypefindelement.c:
16330         (gst_type_find_element_have_type),
16331         (gst_type_find_element_check_set_buffer_caps),
16332         (gst_type_find_element_init), (stop_typefinding),
16333         (gst_type_find_element_handle_event),
16334         (gst_type_find_element_chain), (gst_type_find_element_getrange):
16335         * gst/elements/gsttypefindelement.h:
16336           Set caps on first outgoing buffer when we've found the type.
16337
16338 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
16339
16340         * docs/gst/gstreamer-docs.sgml:
16341         * docs/gst/gstreamer-sections.txt:
16342         * docs/gst/tmpl/gstscheduler.sgml:
16343         * docs/gst/tmpl/gstschedulerfactory.sgml:
16344           Remove some old cruft from docs.
16345
16346 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
16347
16348         * gst/gstpad.h:
16349           Fix inline docs for GstPadLinkReturn.
16350           
16351         * gst/gststructure.c: (gst_structure_has_name):
16352         * gst/gststructure.h:
16353         * docs/gst/gstreamer-sections.txt:
16354           New API: gst_structure_has_name().
16355
16356 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
16357
16358         * configure.ac:
16359           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
16360           and _LARGEFILE_SOURCE in config.h as required. Do not 
16361           export those flags in our .pc files any longer (#142209).
16362
16363           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
16364
16365         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
16366         (gst_file_sink_do_seek), (gst_file_sink_event),
16367         (gst_file_sink_get_current_offset), (gst_file_sink_render):
16368           Redo seek/tell calls with large file support in mind; add some
16369           debugging messages; add log message that tells us when large
16370           file support is unavailable or not enabled for some reason.
16371
16372         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
16373           Add log message that tells us when large file support 
16374           is unavailable or not enabled for some reason.
16375
16376 2005-07-29  Wim Taymans  <wim@fluendo.com>
16377
16378         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
16379         Added test for removing an element with ghostpad from a bin.
16380         Fixed test as current implementation does the right thing.
16381
16382         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
16383         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
16384         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
16385         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
16386         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
16387         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
16388         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
16389         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
16390         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
16391         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
16392         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
16393         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
16394         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
16395         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
16396         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
16397         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
16398         * gst/gstghostpad.h:
16399         Clean up ghostpads, remove properties for internal stuff.
16400         Make threadsafe.
16401         Fix refcounting.
16402         Prepare for switching targets, not all use cases work yet.
16403
16404 2005-07-29  Wim Taymans  <wim@fluendo.com>
16405
16406         * docs/design/part-gstghostpad.txt:
16407         Small update.
16408
16409         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
16410         (gst_bin_remove_func):
16411         Unlinking pads while holding the bin LOCK is not a good
16412         idea.
16413
16414         * gst/gstpad.c: (gst_pad_class_init),
16415         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
16416         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
16417         No prob setting template after creating the pad.
16418
16419 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
16420
16421         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
16422         (gst_bus_peek), (gst_bus_source_dispatch),
16423         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
16424         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
16425           gst_bus_poll may be called from other threads. Handle
16426           this nicely by not making poll_data disappear off the
16427           stack once gst_bus_poll returns.
16428           gst_bus_peek now increments the refcount on the returned
16429           message.
16430
16431 2005-07-29  Wim Taymans  <wim@fluendo.com>
16432
16433         * docs/design/part-gstghostpad.txt:
16434         Overview of current GhostPad datastructures and use
16435         cases for changing the target.
16436
16437 2005-07-28  Wim Taymans  <wim@fluendo.com>
16438
16439         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
16440         Added checks for hierarchy consistency whan adding linked
16441         elements to bins.
16442
16443         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16444         Added check to test element scheduling without bin/pipeline.
16445
16446         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16447         First add elements to bin, then link.
16448         
16449         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
16450         (gst_bin_remove_func):
16451         Unlink pads from elements added/removed from bin to maintain
16452         hierarchy consistency.
16453
16454 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16455
16456         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16457         (gst_base_transform_handle_buffer):
16458         * gst/base/gstbasetransform.h:
16459           Remove broken delay_configure (fixes renegotiation of software
16460           scaling pipelines); remove some leftover printf()s.
16461
16462 2005-07-28  Wim Taymans  <wim@fluendo.com>
16463
16464         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
16465         Added some more tests for wrong hierarchy
16466
16467         * docs/design/part-overview.txt:
16468         Some updates.
16469
16470         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
16471         Cleanups.
16472
16473         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
16474         (gst_element_dispose):
16475         Some more cleanups.
16476
16477         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
16478         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
16479         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16480         (gst_pad_set_caps), (gst_pad_send_event):
16481         Check for correct hierarchy when linking pads. Moving to
16482         strict requirement for ghostpads when linking elements in
16483         different bins.
16484
16485         * gst/gstpad.h:
16486         Clean ups. Added WRONG_HIERARCHY return value.
16487
16488 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16489
16490         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
16491           Better debug if no transform is possible.
16492
16493 2005-07-27  Wim Taymans  <wim@fluendo.com>
16494
16495         * docs/random/wtay/network-transp:
16496         Some old doc I had.
16497
16498 2005-07-27  Wim Taymans  <wim@fluendo.com>
16499
16500         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
16501         (gst_dp_event_from_packet):
16502         Fix serialization of seek events.
16503
16504 2005-07-27  Wim Taymans  <wim@fluendo.com>
16505
16506         * check/gst-libs/gdp.c: (GST_START_TEST):
16507         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
16508         Fix compilation and fix event serialization.
16509
16510 2005-07-27  Wim Taymans  <wim@fluendo.com>
16511
16512         * CHANGES-0.9:
16513         * docs/design/part-TODO.txt:
16514         * docs/design/part-events.txt:
16515         Some docs updates
16516
16517         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16518         (gst_base_sink_event), (gst_base_sink_do_sync),
16519         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
16520         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
16521         (gst_base_src_do_seek), (gst_base_src_event_handler),
16522         (gst_base_src_loop):
16523         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
16524         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16525         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
16526         (gst_base_transform_event), (gst_base_transform_handle_buffer),
16527         (gst_base_transform_set_passthrough),
16528         (gst_base_transform_is_passthrough):
16529         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
16530         * gst/elements/gstfilesink.c: (gst_file_sink_event):
16531         Event updates.
16532
16533         * gst/gstbuffer.h:
16534         Use faster casts.
16535
16536         * gst/gstelement.c: (gst_element_seek):
16537         * gst/gstelement.h:
16538         Update gst_element_seek.
16539
16540         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
16541         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
16542         (gst_event_new_flush_start), (gst_event_new_flush_stop),
16543         (gst_event_new_eos), (gst_event_new_newsegment),
16544         (gst_event_parse_newsegment), (gst_event_new_tag),
16545         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
16546         (gst_event_parse_qos), (gst_event_new_seek),
16547         (gst_event_parse_seek), (gst_event_new_navigation):
16548         * gst/gstevent.h:
16549         Make GstEvent use GstStructure. Add parsing code, make sure the
16550         API is sufficiently generic.
16551         Mark possible directions of events and serialization.
16552
16553         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
16554         (_gst_message_copy), (gst_message_new_segment_start),
16555         (gst_message_new_segment_done), (gst_message_new_custom),
16556         (gst_message_parse_segment_start),
16557         (gst_message_parse_segment_done):
16558         Small cleanups.
16559
16560         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16561         (gst_pad_set_caps), (gst_pad_send_event):
16562         Update for new events. 
16563         Catch events sent in wrong directions.
16564
16565         * gst/gstqueue.c: (gst_queue_link_src),
16566         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
16567         (gst_queue_handle_src_query):
16568         Event updates.
16569
16570         * gst/gsttag.c:
16571         * gst/gsttag.h:
16572         Remove event code from this file.
16573
16574         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
16575         (gst_dp_event_from_packet):
16576         Event updates.
16577
16578 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16579
16580         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
16581         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16582         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
16583           Make debugging actually useful.
16584
16585 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16586
16587         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
16588         (gst_pad_fixate_caps):
16589           Implement default fixation once again, so that gst_pad_fixate()
16590           actually does anything at all. This probably needs to be some
16591           sort of a last resort, and use profile-based fixation first, but
16592           since that doesn't exist yet, this is the best we have. Fixes
16593           visualization in Totem.
16594
16595 2005-07-22  Wim Taymans  <wim@fluendo.com>
16596
16597         * docs/design/part-events.txt:
16598         Small update.
16599
16600         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16601         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
16602         (gst_base_sink_activate_pull):
16603         Some more comments.
16604
16605         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
16606         (gst_fake_src_create):
16607         Fix handoff marshall.
16608
16609         * gst/elements/gstidentity.c: (gst_identity_class_init),
16610         (gst_identity_transform_ip):
16611         We're a real inplace element.
16612
16613         * gst/gstbus.c: (gst_bus_post):
16614         Added some comments.
16615
16616         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
16617         * tests/muxing/case1.c: (main):
16618         * tests/sched/dynamic-pipeline.c: (main):
16619         * tests/sched/interrupt1.c: (main):
16620         * tests/sched/interrupt2.c: (main):
16621         * tests/sched/interrupt3.c: (main):
16622         * tests/sched/runxml.c: (main):
16623         * tests/sched/sched-stress.c: (main):
16624         * tests/seeking/seeking1.c: (event_received), (main):
16625         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
16626         (main):
16627         * tests/threadstate/threadstate3.c: (main):
16628         * tests/threadstate/threadstate4.c: (main):
16629         * tests/threadstate/threadstate5.c: (main):
16630         Fix the tests.
16631
16632 2005-07-21  Wim Taymans  <wim@fluendo.com>
16633
16634         * docs/design/part-seeking.txt:
16635         Some small additions.
16636
16637         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16638         (gst_base_sink_get_times), (gst_base_sink_do_sync),
16639         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
16640         * gst/base/gstbasesink.h:
16641         discont values are gint64, handle the math correctly.
16642
16643         * gst/base/gstbasesrc.c: (gst_base_src_loop):
16644         Make the basesrc report error if the source pad is not linked.
16645
16646         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16647         (gst_queue_loop), (gst_queue_handle_src_query),
16648         (gst_queue_src_activate_push):
16649         Make queue collect data even if the srcpad is not linked.
16650         Start pushing out data as soon as it is linked.
16651
16652         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
16653         * gst/gstutils.h:
16654         Added gst_flow_get_name() to ease error reporting.
16655
16656 2005-07-20  Wim Taymans  <wim@fluendo.com>
16657
16658         * gst/gstmessage.c: (gst_message_new_segment_start),
16659         (gst_message_new_segment_done), (gst_message_parse_segment_start),
16660         (gst_message_parse_segment_done):
16661         * gst/gstmessage.h:
16662         Added a bunch of messages for advanced seeking.
16663
16664         * gst/parse/grammar.y:
16665         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
16666         (gst_dpman_state_changed):
16667         Fix some new-pad -> pad-added signals
16668
16669 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16670
16671         * docs/manual/appendix-porting.xml:
16672         * docs/pwg/appendix-porting.xml:
16673           Document new-pad/state-change signal renames and the FixedList
16674           type rename.
16675
16676 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16677
16678         * docs/manual/advanced-autoplugging.xml:
16679         * docs/manual/basics-helloworld.xml:
16680         * docs/manual/basics-pads.xml:
16681         * docs/random/ds/0.9-suggested-changes:
16682         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
16683         * gst/gstelement.h:
16684         * gst/gstevent.h:
16685         * gst/gstformat.h:
16686         * gst/gstquery.h:
16687         * gst/gststructure.c: (gst_structure_value_get_generic_type),
16688         (gst_structure_parse_array), (gst_structure_parse_value):
16689         * gst/gstvalue.c: (gst_type_is_fixed),
16690         (gst_value_list_prepend_value), (gst_value_list_append_value),
16691         (gst_value_list_get_size), (gst_value_list_get_value),
16692         (gst_value_transform_array_string), (gst_value_serialize_array),
16693         (gst_value_deserialize_array), (gst_value_intersect_array),
16694         (gst_value_is_fixed), (_gst_value_initialize):
16695         * gst/gstvalue.h:
16696           GstElement::new-pad -> pad-added, GstElement::state-change ->
16697           state-changed, GstValueFixedList -> GstValueArray, add format and
16698           flags as their own arguments in gst_element_seek() (should improve
16699           "bindeability"), remove function generators since they don't work
16700           under a whole bunch of compilers (they were deprecated already
16701           anyway).
16702
16703 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16704
16705         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
16706         (_gst_debug_register_funcptr):
16707         * gst/gstinfo.h:
16708           Fix illegal cast on some platforms (#309253).
16709
16710 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16711
16712         * gst/gstmessage.c: (gst_message_new_custom):
16713         * gst/gstmessage.h:
16714           Add _new_custom, make _new_application a macro to _new_custom.
16715
16716 2005-07-20  Wim Taymans  <wim@fluendo.com>
16717
16718         * gst/base/gstbasesrc.c: (gst_base_src_init),
16719         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16720         * gst/base/gstbasesrc.h:
16721         Add a gboolean to decide when to push out a discont.
16722
16723         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16724         (gst_queue_loop), (gst_queue_handle_src_query),
16725         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
16726         (gst_queue_set_property), (gst_queue_get_property):
16727         Some cleanups.
16728
16729         * tests/threadstate/threadstate1.c: (main):
16730         Make a thread test compile and run... very silly..
16731
16732
16733 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16734
16735         * docs/manual/appendix-porting.xml:
16736           Mention removal of libgstgconf-0.9.la and existence of gconf
16737           elements.
16738
16739 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16740
16741         * docs/pwg/advanced-clock.xml:
16742         * docs/pwg/appendix-porting.xml:
16743         * docs/pwg/intro-preface.xml:
16744         * docs/pwg/other-base.xml:
16745         * docs/pwg/other-manager.xml:
16746         * docs/pwg/other-nton.xml:
16747         * docs/pwg/other-ntoone.xml:
16748         * docs/pwg/other-oneton.xml:
16749         * docs/pwg/pwg.xml:
16750           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
16751           demuxer), remove n-to-n (was never written), fix some code examples
16752           and links and update the porting section to include all this.
16753
16754 2005-07-19  Wim Taymans  <wim@fluendo.com>
16755
16756         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
16757         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
16758         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
16759         (gst_queue_src_activate_push), (gst_queue_change_state),
16760         (gst_queue_get_property):
16761         * gst/gstqueue.h:
16762         Propagate GstFlowReturn more intelligently upstream and output
16763         an ERROR/EOS when streaming stopped due to fatal error.
16764
16765 2005-07-19  Wim Taymans  <wim@fluendo.com>
16766
16767         * tools/gst-launch.c: (check_intr), (event_loop), (main):
16768         Don't block forever for the state change to complete, the
16769         pipeline already did with a sensible timeout.
16770
16771 2005-07-19  Wim Taymans  <wim@fluendo.com>
16772
16773         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16774         Make sure we never call the create function is we
16775         got deactivated.
16776
16777 2005-07-19  Andy Wingo  <wingo@pobox.com>
16778
16779         * gst/parse/parse.l: Attempt to solve bug #172815.
16780
16781 2005-07-19  Wim Taymans  <wim@fluendo.com>
16782
16783         * docs/design/part-clocks.txt:
16784         * docs/design/part-events.txt:
16785         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
16786         Small docs updates.
16787         Only update the seeking values when we are not
16788         busy streaming.
16789
16790 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
16791
16792         * gst/base/gstbasesrc.c: (gst_base_src_loop):
16793           Oops, ignore the result of gst_pad_push_event here.
16794
16795 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
16796
16797         * gst/base/gstbasesrc.c: (gst_base_src_loop),
16798         (gst_base_src_activate_push):
16799           Send discont event from the loop function, as pads
16800           aren't activated yet in the activate_push handler.
16801
16802         * gst/gstbin.c: (bin_bus_handler):
16803           Don't leak element name.
16804
16805 2005-07-18  Andy Wingo  <wingo@pobox.com>
16806
16807         * configure.ac: Use AS_LIBTOOL_TAGS.
16808
16809 2005-07-18  Wim Taymans  <wim@fluendo.com>
16810
16811         * docs/gst/gstreamer.types:
16812         Remove deleted types.
16813
16814 2005-07-18  Wim Taymans  <wim@fluendo.com>
16815
16816         * check/elements/gstfakesrc.c: (GST_START_TEST):
16817         * configure.ac:
16818         * gst/Makefile.am:
16819         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
16820         (init_popt_callback):
16821         * gst/gst.h:
16822         * gst/gst_private.h:
16823         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
16824         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
16825         * gst/gstbin.h:
16826         * gst/gstbus.h:
16827         * gst/gstconfig.h.in:
16828         * gst/gstelement.c: (gst_element_class_init),
16829         (gst_element_set_base_time), (gst_element_get_base_time),
16830         (iterator_fold_with_resync), (gst_element_change_state),
16831         (gst_element_dispose), (gst_element_get_bus):
16832         * gst/gstelement.h:
16833         * gst/gstelementfactory.h:
16834         * gst/gsterror.c: (_gst_core_errors_init):
16835         * gst/gsterror.h:
16836         * gst/gstevent.h:
16837         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
16838         * gst/gstindex.c:
16839         * gst/gstinfo.c: (_gst_debug_init):
16840         * gst/gstmessage.c: (_gst_message_copy):
16841         * gst/gstmessage.h:
16842         * gst/gstminiobject.h:
16843         * gst/gstobject.c:
16844         * gst/gstobject.h:
16845         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16846         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
16847         * gst/gstpad.h:
16848         * gst/gstparse.h:
16849         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16850         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
16851         (gst_pipeline_get_last_stream_time):
16852         * gst/gstpipeline.h:
16853         * gst/gstpluginfeature.h:
16854         * gst/gstquery.h:
16855         * gst/gstscheduler.c:
16856         * gst/gstscheduler.h:
16857         * gst/gststructure.h:
16858         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
16859         (gst_task_finalize), (gst_task_func), (gst_task_create),
16860         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
16861         (gst_task_stop), (gst_task_pause):
16862         * gst/gsttask.h:
16863         * gst/gsttypefind.h:
16864         * gst/gsttypes.h:
16865         * gst/registries/gstlibxmlregistry.c: (load_feature),
16866         (gst_xml_registry_load), (gst_xml_registry_save_feature):
16867         * gst/registries/gstxmlregistry.c:
16868         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
16869         * gst/schedulers/threadscheduler.c:
16870         * libs/gst/control/dparammanager.h:
16871         * tools/gst-inspect.c: (print_element_list),
16872         (print_plugin_features), (print_element_features):
16873         * tools/gst-xmlinspect.c: (print_element_list),
16874         (print_plugin_info), (main):
16875         Removed plugable schedulers.
16876         Removed Scheduler/Manager from elements.
16877         Removed gsttypes.h, rearranged includes.
16878         Removed dependency pad<->element, element<>pipeline, and
16879         various others,  fix includes.
16880         implement gst_pad_get_parent() with gst_object_get_parent()
16881         Make GstTask sefcontained.
16882         Fix _get_state() on GstBin, it did not return ASYNC with a 0
16883         timeout.
16884         Fix endless loop in iterator_fold_with_resync.
16885
16886
16887 2005-07-18  Wim Taymans  <wim@fluendo.com>
16888
16889         * gst/Makefile.am:
16890         * gst/gstarch.h:
16891         Remove old file.
16892
16893 2005-07-18  Wim Taymans  <wim@fluendo.com>
16894
16895         * gst/Makefile.am:
16896         No more cothreads.h
16897
16898 2005-07-18  Wim Taymans  <wim@fluendo.com>
16899
16900         * gst/cothreads.c:
16901         * gst/cothreads.h:
16902         Let's remove these.
16903
16904 2005-07-18  Wim Taymans  <wim@fluendo.com>
16905
16906         * docs/design/part-dynamic.txt:
16907         * docs/design/part-events.txt:
16908         * docs/design/part-seeking.txt:
16909         Some more docs in the works.
16910
16911         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
16912         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
16913         (gst_base_transform_setcaps), (gst_base_transform_get_size),
16914         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
16915         (gst_base_transform_handle_buffer),
16916         (gst_base_transform_sink_activate_push),
16917         (gst_base_transform_src_activate_pull),
16918         (gst_base_transform_set_passthrough),
16919         (gst_base_transform_is_passthrough):
16920         Refcounting fixes.
16921
16922         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
16923         Cleanups.
16924
16925         * gst/gstevent.c: (gst_event_finalize):
16926         Set SRC to NULL.
16927
16928         * gst/gstutils.c: (gst_element_unlink),
16929         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
16930         (gst_pad_proxy_setcaps):
16931         * gst/gstutils.h:
16932         Add _get_parent_element() to get a pads parent as an element.
16933
16934 2005-07-18  Wim Taymans  <wim@fluendo.com>
16935
16936         * check/gst/gstbin.c: (GST_START_TEST):
16937         Remove bogus test.
16938
16939 2005-07-18  Wim Taymans  <wim@fluendo.com>
16940
16941         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16942         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16943         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16944         (gst_base_sink_event), (gst_base_sink_do_sync),
16945         (gst_base_sink_chain), (gst_base_sink_loop),
16946         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
16947         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
16948         Refcounting fixes.
16949         Fix logic for returning ASYNC when not prerolled.
16950
16951 2005-07-18  Wim Taymans  <wim@fluendo.com>
16952
16953         * gst/gstqueue.c: (gst_queue_handle_sink_event):
16954         Fix nasty refcount bug.
16955
16956 2005-07-16 Philippe Khalaf <burger@speedy.org>
16957
16958         * gst/elements/gstfdsrc.c:
16959         * gst/elements/gstfdsrc.h:
16960         * gst/elements/gstelements.c:
16961         * gst/elements/Makefile.am:
16962         Ported fdsrc to 0.9.
16963
16964 2005-07-16  Wim Taymans  <wim@fluendo.com>
16965
16966         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16967         (gst_base_sink_do_sync):
16968         Fix compile error.
16969
16970 2005-07-16  Wim Taymans  <wim@fluendo.com>
16971
16972         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16973         (gst_base_sink_event), (gst_base_sink_get_times),
16974         (gst_base_sink_do_sync), (gst_base_sink_change_state):
16975         * gst/base/gstbasesink.h:
16976         Store and use discont values when syncing buffers as described
16977         in design docs.
16978         
16979         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
16980         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
16981         (gst_base_src_activate_push):
16982         Push discont event when starting.
16983
16984         * gst/elements/gstidentity.c: (gst_identity_transform):
16985         Small cleanups.
16986
16987         * gst/gstbin.c: (gst_bin_change_state):
16988         Small cleanups in base_time  distribution.
16989
16990         * gst/gstelement.c: (gst_element_set_base_time),
16991         (gst_element_get_base_time), (gst_element_change_state):
16992         * gst/gstelement.h:
16993         Added methods for the base_time of the element.
16994         Some MT fixes.
16995
16996         * gst/gstpipeline.c: (gst_pipeline_send_event),
16997         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
16998         (gst_pipeline_get_last_stream_time):
16999         * gst/gstpipeline.h:
17000         MT fixes.
17001         Handle seeking as described in design doc, remove stream_time
17002         hack.
17003         Cleanups clock and stream_time selection code. Added accessors
17004         for the stream_time.
17005         
17006
17007 2005-07-16  Andy Wingo  <wingo@pobox.com>
17008
17009         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
17010         (#305291).
17011
17012 2005-07-16  Wim Taymans  <wim@fluendo.com>
17013
17014         * check/gst/gstbin.c: (GST_START_TEST):
17015         Make elements silent as the deep_notify refs the
17016         parent, which might make the test fail.
17017
17018         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
17019         Don't hold the lock for too long.
17020
17021 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
17022
17023         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
17024           Don't unref the caps we passed to gst_caps_make_writable() after
17025           passing them. gst_caps_make_writable() will do that for us.
17026
17027 2005-07-15  Andy Wingo  <wingo@pobox.com>
17028
17029         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
17030         (#157311).
17031
17032         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
17033         own marshalling function for the handoff signal. Properly type the
17034         buffer as a buffer. Fixes some warnings. Should do a more general
17035         solution.
17036         (gst_identity_class_init): Plug into the right marshaller.
17037
17038 2005-07-15  Wim Taymans  <wim@fluendo.com>
17039
17040         * docs/design/part-TODO.txt:
17041         * docs/design/part-clocks.txt:
17042         * docs/design/part-element-sink.txt:
17043         * docs/design/part-events.txt:
17044         * docs/design/part-gstpipeline.txt:
17045         Updated docs, mostly DISCONT related.
17046
17047 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
17048
17049         * docs/pwg/building-pads.xml:
17050           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
17051
17052 2005-07-15  Andy Wingo  <wingo@pobox.com>
17053
17054         * tools/gst-typefind.c: Update, add copyright block.
17055
17056         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
17057         Normalize and truncate caps before fixation.
17058
17059         * gst/gstcaps.h:
17060         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
17061         discards all but the first structure from its argument.
17062
17063 2005-07-15  Wim Taymans  <wim@fluendo.com>
17064
17065         * gst/base/gstbasetransform.c: (gst_base_transform_init),
17066         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
17067         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17068         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
17069         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
17070         (gst_base_transform_chain), (gst_base_transform_change_state),
17071         (gst_base_transform_set_passthrough),
17072         (gst_base_transform_is_passthrough):
17073         * gst/base/gstbasetransform.h:
17074         Make passthrough work using the bufferpools.
17075         Changed API a bit, subclasses have to write into a buffer
17076         provided by the base class.
17077         More debug info in nego functions.
17078         
17079         * gst/elements/gstidentity.c: (gst_identity_init),
17080         (gst_identity_transform):
17081         Port to new base class.
17082
17083 2005-07-15  Wim Taymans  <wim@fluendo.com>
17084
17085         * gst/gstmessage.c: (gst_message_new_state_changed):
17086         * tools/gst-launch.c: (event_loop), (main):
17087         Totally dump messages in -launch with the -m option.
17088         Fix message name for State messages,
17089
17090 2005-07-14  Wim Taymans  <wim@fluendo.com>
17091
17092         * gst/base/gstbasesrc.c: (gst_base_src_loop):
17093         Post error messages on errors.
17094
17095 2005-07-14  Wim Taymans  <wim@fluendo.com>
17096
17097         * gst/gstcaps.c: (gst_caps_do_simplify):
17098         Remove debug info.
17099
17100         * gst/gsterror.h:
17101         Define error for stream stopped.
17102
17103         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17104         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
17105         Do proper return values.
17106
17107         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
17108         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
17109         (gst_pad_get_range):
17110         Better return values.
17111
17112         * gst/gstpad.h:
17113         Reorganise return values, add macro to check for fatal errors.
17114
17115         * gst/gstqueue.c: (gst_queue_chain):
17116         Return proper GstFlowReturn values,
17117
17118 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
17119
17120         * docs/gst/gstreamer-sections.txt:
17121         * docs/gst/gstreamer.types:
17122         * docs/gst/tmpl/gst.sgml:
17123         * docs/gst/tmpl/gstbasesink.sgml:
17124         * docs/gst/tmpl/gstbasesrc.sgml:
17125         * docs/gst/tmpl/gstbasetransform.sgml:
17126         * docs/gst/tmpl/gstbin.sgml:
17127         * docs/gst/tmpl/gstbuffer.sgml:
17128         * docs/gst/tmpl/gstcaps.sgml:
17129         * docs/gst/tmpl/gstclock.sgml:
17130         * docs/gst/tmpl/gstcompat.sgml:
17131         * docs/gst/tmpl/gstconfig.sgml:
17132         * docs/gst/tmpl/gstelement.sgml:
17133         * docs/gst/tmpl/gstelementdetails.sgml:
17134         * docs/gst/tmpl/gstelementfactory.sgml:
17135         * docs/gst/tmpl/gstenumtypes.sgml:
17136         * docs/gst/tmpl/gsterror.sgml:
17137         * docs/gst/tmpl/gstevent.sgml:
17138         * docs/gst/tmpl/gstfakesink.sgml:
17139         * docs/gst/tmpl/gstfakesrc.sgml:
17140         * docs/gst/tmpl/gstfilesink.sgml:
17141         * docs/gst/tmpl/gstfilesrc.sgml:
17142         * docs/gst/tmpl/gstfilter.sgml:
17143         * docs/gst/tmpl/gstformat.sgml:
17144         * docs/gst/tmpl/gstghostpad.sgml:
17145         * docs/gst/tmpl/gstimplementsinterface.sgml:
17146         * docs/gst/tmpl/gstindex.sgml:
17147         * docs/gst/tmpl/gstindexfactory.sgml:
17148         * docs/gst/tmpl/gstinfo.sgml:
17149         * docs/gst/tmpl/gstiterator.sgml:
17150         * docs/gst/tmpl/gstmacros.sgml:
17151         * docs/gst/tmpl/gstmemchunk.sgml:
17152         * docs/gst/tmpl/gstminiobject.sgml:
17153         * docs/gst/tmpl/gstobject.sgml:
17154         * docs/gst/tmpl/gstpad.sgml:
17155         * docs/gst/tmpl/gstpadtemplate.sgml:
17156         * docs/gst/tmpl/gstparse.sgml:
17157         * docs/gst/tmpl/gstpipeline.sgml:
17158         * docs/gst/tmpl/gstplugin.sgml:
17159         * docs/gst/tmpl/gstpluginfeature.sgml:
17160         * docs/gst/tmpl/gstquery.sgml:
17161         * docs/gst/tmpl/gstqueue.sgml:
17162         * docs/gst/tmpl/gstregistry.sgml:
17163         * docs/gst/tmpl/gstregistrypool.sgml:
17164         * docs/gst/tmpl/gstscheduler.sgml:
17165         * docs/gst/tmpl/gstschedulerfactory.sgml:
17166         * docs/gst/tmpl/gststructure.sgml:
17167         * docs/gst/tmpl/gstsystemclock.sgml:
17168         * docs/gst/tmpl/gsttaglist.sgml:
17169         * docs/gst/tmpl/gsttagsetter.sgml:
17170         * docs/gst/tmpl/gsttrace.sgml:
17171         * docs/gst/tmpl/gsttrashstack.sgml:
17172         * docs/gst/tmpl/gsttypefind.sgml:
17173         * docs/gst/tmpl/gsttypefindfactory.sgml:
17174         * docs/gst/tmpl/gsttypes.sgml:
17175         * docs/gst/tmpl/gsturihandler.sgml:
17176         * docs/gst/tmpl/gsturitype.sgml:
17177         * docs/gst/tmpl/gstutils.sgml:
17178         * docs/gst/tmpl/gstvalue.sgml:
17179         * docs/gst/tmpl/gstversion.sgml:
17180         * docs/gst/tmpl/gstxml.sgml:
17181         * docs/libs/tmpl/gstcontrol.sgml:
17182         * docs/libs/tmpl/gstdataprotocol.sgml:
17183         * docs/libs/tmpl/gstdparam.sgml:
17184         * docs/libs/tmpl/gstdplinint.sgml:
17185         * docs/libs/tmpl/gstdpman.sgml:
17186         * docs/libs/tmpl/gstdpsmooth.sgml:
17187         * docs/libs/tmpl/gstgetbits.sgml:
17188         * docs/libs/tmpl/gstunitconvert.sgml:
17189         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
17190         (gst_push_src_base_init), (gst_push_src_class_init),
17191         (gst_push_src_init), (gst_push_src_create):
17192         * gst/base/gstpushsrc.h:
17193         * gst/elements/gstelements.c:
17194         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
17195         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
17196         (gst_fake_sink_init), (gst_fake_sink_set_property),
17197         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
17198         (gst_fake_sink_event), (gst_fake_sink_preroll),
17199         (gst_fake_sink_render), (gst_fake_sink_change_state):
17200         * gst/elements/gstfakesink.h:
17201         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
17202         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
17203         (gst_fake_src_base_init), (gst_fake_src_class_init),
17204         (gst_fake_src_init), (gst_fake_src_event_handler),
17205         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
17206         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
17207         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
17208         (gst_fake_src_create_buffer), (gst_fake_src_create),
17209         (gst_fake_src_start), (gst_fake_src_stop):
17210         * gst/elements/gstfakesrc.h:
17211         * gst/elements/gstfilesink.c: (_do_init),
17212         (gst_file_sink_base_init), (gst_file_sink_class_init),
17213         (gst_file_sink_init), (gst_file_sink_dispose),
17214         (gst_file_sink_set_location), (gst_file_sink_set_property),
17215         (gst_file_sink_get_property), (gst_file_sink_open_file),
17216         (gst_file_sink_close_file), (gst_file_sink_query),
17217         (gst_file_sink_event), (gst_file_sink_render),
17218         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
17219         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
17220         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
17221         * gst/elements/gstfilesink.h:
17222         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
17223         (gst_file_src_class_init), (gst_file_src_init),
17224         (gst_file_src_finalize), (gst_file_src_set_location),
17225         (gst_file_src_set_property), (gst_file_src_get_property),
17226         (gst_file_src_map_region), (gst_file_src_map_small_region),
17227         (gst_file_src_create_mmap), (gst_file_src_create_read),
17228         (gst_file_src_create), (gst_file_src_is_seekable),
17229         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
17230         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
17231         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
17232         (gst_file_src_uri_handler_init):
17233         * gst/elements/gstfilesrc.h:
17234           more autistic cleanliness in functions/names/defines
17235
17236 2005-07-13  Andy Wingo  <wingo@pobox.com>
17237
17238         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
17239         source couldn't negotiate.
17240
17241         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
17242         connections again.
17243
17244         * gst/gstutils.h:
17245         * gst/gstutils.c (gst_element_link_pads_filtered): New old
17246         function. I am channeling Hades. Put your boots on suckers!!!
17247
17248 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17249
17250         * testsuite/caps/Makefile.am:
17251         * testsuite/caps/value_compare.c:
17252         * testsuite/caps/value_intersect.c:
17253         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17254           move two testsuite apps over to the check dir
17255
17256 2005-07-12  Wim Taymans  <wim@fluendo.com>
17257
17258         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
17259         Added more debug info in the negotiate process.
17260
17261         * gst/gstmessage.h:
17262         Prepare for segment playback.
17263
17264         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
17265         Better debugging.
17266
17267         * gst/gstutils.c:
17268         Some more docs.
17269
17270         * tools/gst-launch.c: (main):
17271         NULL pipeline on errors.
17272
17273 2005-07-12  Andy Wingo  <wingo@pobox.com>
17274
17275         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
17276         not it comes from a malloc region. Make sure our copy gets freed.
17277
17278 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17279
17280         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
17281         * check/gst/gstmessage.c: (GST_START_TEST):
17282         * check/gst/gststructure.c: (GST_START_TEST),
17283         (gst_structure_suite), (main):
17284           more testing
17285         * gst/gstelement.c: (gst_element_message_full):
17286           clean up GError and debug string now that they get copied
17287         * gst/gstmessage.c: (gst_message_new_error),
17288         (gst_message_new_warning), (gst_message_parse_error),
17289         (gst_message_parse_warning):
17290           use GST_TYPE_G_ERROR for structure_new, and take copies of
17291           arguments, so that we don't mess up refcounting
17292
17293 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17294
17295         * check/Makefile.am:
17296           add per-test valgrind targets
17297         * check/gst-libs/gdp.c: (GST_START_TEST),
17298         (gst_data_protocol_suite), (main):
17299           clean up
17300
17301 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17302
17303         * check/Makefile.am:
17304           instate more valgrindable tests
17305         * check/elements/gstfakesrc.c: (chain_func), (event_func),
17306         (GST_START_TEST), (fakesrc_suite):
17307         * check/gst/gstpad.c: (GST_START_TEST):
17308         * check/gst/gststructure.c: (GST_START_TEST):
17309           fix test leaks
17310         * docs/gst/tmpl/gstminiobject.sgml:
17311         * gst/gstpad.c: (gst_pad_finalize):
17312           fix the static mutex leak
17313
17314 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17315
17316         * check/Makefile.am:
17317           add two more tests for valgrinding
17318         * check/gst/gstvalue.c: (GST_START_TEST):
17319           test refcount of deserialized buffer, found a leak
17320         * docs/gst/gstreamer-docs.sgml:
17321         * docs/gst/gstreamer-sections.txt:
17322         * docs/gst/gstreamer.types:
17323         * docs/gst/tmpl/gstminiobject.sgml:
17324           add miniobject to docs
17325         * gst/gstminiobject.c:
17326           add some docs
17327         * gst/gstvalue.c: (gst_value_deserialize_buffer),
17328         (gst_string_unwrap):
17329           fix a hard-to-find invalid write for one of the tests
17330           fix a leak for deserialized buffers
17331
17332 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17333
17334         * docs/pwg/advanced-events.xml:
17335         * docs/pwg/advanced-request.xml:
17336         * docs/pwg/advanced-scheduling.xml:
17337         * docs/pwg/appendix-porting.xml:
17338         * docs/pwg/building-boiler.xml:
17339         * docs/pwg/intro-preface.xml:
17340         * docs/pwg/other-ntoone.xml:
17341           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
17342           of example code and explanation for pad activation, loop() and
17343           getrange() functions and a bit more. Remove old comments pointing
17344           to loop-functions.
17345         * examples/pwg/Makefile.am:
17346           Add loop/getrange examples.
17347
17348 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17349
17350         * configure.ac:
17351           check for valgrind binary + some fixes
17352         * check/gst.supp:
17353           valgrind suppressions for the tests
17354         * check/Makefile.am:
17355           add a valgrind: target that valgrinds the unit tests
17356         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
17357         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
17358         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17359         * check/gst/gstghostpad.c:
17360           added some cleanup
17361         * check/gst/gstdata.c:
17362           removed
17363         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
17364         (thread_unref), (gst_mini_object_suite), (main):
17365           added
17366         * gst/gst.c: (gst_deinit):
17367         * gst/gst.h:
17368           add a method to clean up.
17369         * gst/gstsystemclock.c: (gst_system_clock_dispose),
17370         (gst_system_clock_obtain):
17371           allow for disposing the system clock.
17372         * tools/gst-launch.c: (main):
17373           deinit
17374
17375 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17376
17377         * docs/gst/tmpl/gstbasesrc.sgml:
17378         * docs/gst/tmpl/gstfakesrc.sgml:
17379         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17380         (gst_base_src_init), (gst_base_src_set_property),
17381         (gst_base_src_get_property), (gst_base_src_get_range),
17382         (gst_base_src_start):
17383         * gst/base/gstbasesrc.h:
17384           add num-buffers property
17385         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17386         (gst_fakesrc_init), (gst_fakesrc_set_property),
17387         (gst_fakesrc_get_property), (gst_fakesrc_create),
17388         (gst_fakesrc_start):
17389           remove num-buffers property
17390
17391 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17392
17393         * docs/gst/gstreamer-sections.txt:
17394         * docs/gst/tmpl/gstbasesink.sgml:
17395         * docs/gst/tmpl/gstbasesrc.sgml:
17396         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
17397         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
17398         (gst_base_sink_finalize), (gst_base_sink_set_clock),
17399         (gst_base_sink_set_property), (gst_base_sink_get_property),
17400         (gst_base_sink_handle_object), (gst_base_sink_event),
17401         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17402         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
17403         (gst_base_sink_loop), (gst_base_sink_deactivate),
17404         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
17405         (gst_base_sink_change_state):
17406         * gst/base/gstbasesink.h:
17407         * gst/base/gstbasesrc.h:
17408         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
17409         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
17410         (gst_filesink_init):
17411           more macro splitting
17412
17413 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17414
17415         * gst/gstelement.c: (gst_element_get_bus):
17416           add debug
17417         * tools/gst-launch.c: (check_intr), (event_loop):
17418           fix bus leaks
17419
17420 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17421
17422         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17423           fix a caps leak
17424
17425 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17426
17427         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17428         (gst_base_src_finalize):
17429           add finalize method and clean up properly
17430         * gst/gstpipeline.c: (gst_pipeline_dispose):
17431           add debug
17432
17433 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17434
17435         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
17436         (gst_bin_suite):
17437           add more things to check
17438         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
17439         * gst/gstelement.c:
17440           more debug
17441
17442 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17443
17444         * check/elements/gstfakesrc.c: (chain_func), (event_func),
17445         (GST_START_TEST), (fakesrc_suite):
17446         * check/gst-libs/gdp.c: (GST_START_TEST):
17447         * check/gst/gst.c: (GST_START_TEST):
17448         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
17449         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17450         * check/gst/gstbus.c: (GST_START_TEST):
17451         * check/gst/gstcaps.c: (GST_START_TEST):
17452         * check/gst/gstdata.c: (GST_START_TEST):
17453         * check/gst/gstelement.c: (GST_START_TEST):
17454         * check/gst/gstghostpad.c: (GST_START_TEST):
17455         * check/gst/gstiterator.c: (GST_START_TEST):
17456         * check/gst/gstmessage.c: (GST_START_TEST):
17457         * check/gst/gstobject.c: (GST_START_TEST):
17458         * check/gst/gstpad.c: (GST_START_TEST):
17459         * check/gst/gststructure.c: (GST_START_TEST):
17460         * check/gst/gstsystemclock.c: (GST_START_TEST),
17461         (gst_systemclock_suite):
17462         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
17463         * check/gst/gstvalue.c: (GST_START_TEST):
17464         * check/pipelines/cleanup.c: (GST_START_TEST):
17465         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
17466         * check/states/sinks.c: (GST_START_TEST):
17467         * check/gstcheck.c: (gst_check_init):
17468         * check/gstcheck.h:
17469           add debugging category
17470           use GST_START_TEST now, so we add a debug line
17471
17472 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17473
17474         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
17475           add test for state change message on a bin
17476         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
17477           add another test
17478         * gst/gstbin.c: (gst_bin_init):
17479         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
17480         * gst/gstelement.c: (gst_element_post_message),
17481         (gst_element_set_state):
17482         * gst/gstelementfactory.c: (gst_element_factory_create):
17483         * gst/gstmessage.c: (gst_message_new):
17484         * gst/gstscheduler.c:
17485           various debugging additions and cleanups
17486
17487 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17488
17489         * check/Makefile.am:
17490         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
17491         (main):
17492           adding tests for elements
17493         * gst/gstelement.c: (gst_element_dispose):
17494
17495 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17496
17497         * gst/registries/gstlibxmlregistry.c: (load_feature):
17498           plug more leaks.  A simple gst_init() now is leakfree, yay.
17499
17500 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17501
17502         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
17503         (gst_xml_registry_load):
17504           plug another memleak
17505
17506 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17507
17508         * configure.ac:
17509           use GST_SET_ERROR_CFLAGS
17510         * docs/faq/cvs.xml:
17511           change to ERROR_CFLAGS
17512
17513 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17514
17515         * configure.ac:
17516           make GST_ERROR_CFLAGS overridable and re-enable Werror
17517         * docs/faq/cvs.xml:
17518           add a note about error CFLAGS
17519         * docs/gst/tmpl/gstfakesrc.sgml:
17520         * gst/elements/gstfakesrc.c:
17521           comment out some unused code
17522         * gst/gst.c: (split_and_iterate):
17523         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
17524         (load_feature):
17525           plug some memleaks
17526
17527 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
17528
17529         * common/Makefile.am:
17530         * common/gtk-doc.mak:
17531         * docs/gst/Makefile.am:
17532           factor out gtk-doc.mak
17533
17534 2005-07-07  Wim Taymans  <wim@fluendo.com>
17535
17536         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
17537         (gst_thread_scheduler_dispose):
17538         Unlock the STREAM_LOCK completely.
17539
17540 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
17541
17542         * check/Makefile.am:
17543         * check/elements/.cvsignore:
17544         * check/elements/gstfakesrc.c: (chain_func), (event_func),
17545         (START_TEST), (fakesrc_suite), (main):
17546         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17547         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
17548         (gst_fakesrc_create), (gst_fakesrc_start):
17549         * gst/elements/gstfakesrc.h:
17550           adding a first element test
17551
17552 2005-07-07  Andy Wingo  <wingo@pobox.com>
17553
17554         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
17555         debug message.
17556
17557 2005-07-07  Wim Taymans  <wim@fluendo.com>
17558
17559         * gst/gstquery.c:
17560         * gst/gstquery.h:
17561         Remove old types
17562
17563 2005-07-07  Wim Taymans  <wim@fluendo.com>
17564
17565         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
17566         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
17567         Allow subclasses to implement their own negotiation.
17568
17569 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
17570
17571         * docs/design/part-gstbin.txt:
17572         * docs/design/part-gstpipeline.txt:
17573           Update design notes to reflect the movement of
17574           responsibility for bus handling from GstPipeline to
17575           GstBin
17576
17577 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
17578
17579         * configure.ac:
17580           Remove unnecessary queue2/3/4 examples.
17581
17582 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
17583
17584         * examples/Makefile.am:
17585         * examples/helloworld/helloworld.c: (event_loop), (main):
17586         * examples/queue/queue.c: (event_loop), (main):
17587         * examples/queue2/queue2.c: (main):
17588           Update a couple of the examples to work again.
17589
17590         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
17591         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
17592          Spelling corrections and extra debug.
17593         
17594         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
17595         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
17596         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
17597         * gst/gstbin.h:
17598         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
17599         (gst_pipeline_change_state):
17600         * gst/gstpipeline.h:
17601           Move the bus handler for children to the GstBin, and create a
17602           separate bus for receiving messages from children to the one the
17603           bus sends 'upwards' on.
17604
17605 2005-07-06  Wim Taymans  <wim@fluendo.com>
17606
17607         * gst/base/README:
17608         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
17609         (gst_base_sink_handle_object), (gst_base_sink_loop),
17610         (gst_base_sink_change_state):
17611         * gst/base/gstbasesink.h:
17612         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17613         (gst_base_src_init), (gst_base_src_setcaps),
17614         (gst_base_src_getcaps), (gst_base_src_loop),
17615         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
17616         (gst_base_src_start), (gst_base_src_change_state):
17617         * gst/base/gstbasesrc.h:
17618         Make basesrc negotiate.
17619         Handle the case where preroll fails in basesink.
17620         Update README.
17621
17622 2005-07-06  Wim Taymans  <wim@fluendo.com>
17623
17624         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
17625         Implement the fixate function.
17626         Clean up acceptcaps.
17627
17628 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17629
17630         * docs/pwg/building-filterfactory.xml:
17631         * docs/pwg/pwg.xml:
17632           Remove never-written filter-factory chapter; I'll add the various
17633           base classes to part 4 ("other element types") later on.
17634
17635 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17636
17637         * docs/pwg/advanced-negotiation.xml:
17638         * docs/pwg/building-boiler.xml:
17639         * docs/pwg/building-pads.xml:
17640         * docs/pwg/pwg.xml:
17641         * examples/pwg/Makefile.am:
17642           Add a chapter on caps negotiation, simplify the original code
17643           samples a bit w.r.t. caps negotiation, add link to the advanced
17644           section. Add a bunch of examples showing different use cases of
17645           different types of caps negotiation. Upstream renegotiation isn't
17646           fully documented yet since nobody knows how that works.
17647
17648 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17649
17650         * check/gst/gstpad.c:
17651         * check/gstcheck.c:
17652         * gst/gstpad.c: (gst_pad_get_internal_links_default):
17653           if pad has no parent, return NULL as list of internal links
17654
17655 2005-07-05  Andy Wingo  <wingo@pobox.com>
17656
17657         * gst/elements/gstfilesrc.c:
17658         * gst/elements/gstfakesrc.c: 
17659         * gst/base/gstpushsrc.c:
17660         * gst/base/gstbasesrc.h: 
17661         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
17662         
17663 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
17664
17665         * Makefile.am:
17666           better report generation target (lcov needs a patch)
17667
17668 2005-07-05  Andy Wingo  <wingo@pobox.com>
17669
17670         * gst/elements, testsuite: Null if we got it...
17671
17672 2005-07-05  Wim Taymans  <wim@fluendo.com>
17673
17674         * configure.ac:
17675         * libs/gst/dataprotocol/Makefile.am:
17676         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
17677         * libs/gst/dataprotocol/dataprotocol.h:
17678         * pkgconfig/Makefile.am:
17679         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
17680         * pkgconfig/gstreamer-dataprotocol.pc.in:
17681         Ported dataprotol to 0.9. 
17682         Added pkgconfig files.
17683
17684 2005-07-05  Andy Wingo  <wingo@pobox.com>
17685
17686         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
17687         Default to returning TRUE for the case when tranform_caps returns
17688         a fixed caps, like for identity or volume.
17689
17690         * check/gst/gstbus.c (pound_bus_with_messages): 
17691         * check/gst/gstmessage.c (START_TEST): 
17692         * check/pipelines/simple_launch_lines.c (got_handoff): Application
17693         message API change.
17694
17695         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
17696         logic weaks here: always run transform_caps, trying passthrough
17697         operation only if the original caps intersects with the transform.
17698
17699         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
17700         source and sink caps.
17701
17702         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
17703         Intersect the peer caps with the pad template before going into
17704         transform_caps.
17705         (gst_base_transform_transform_caps): More debugging.
17706
17707         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
17708         src argument.
17709
17710 2005-07-04  Edward Hervey  <edward@fluendo.com>
17711
17712         * gst/gstutils.c:
17713         * gst/gstutils.h:
17714         (gst_pad_add_*_probe): now returns the signal id for better wrapping
17715         in bindings.
17716
17717 2005-07-04  Andy Wingo  <wingo@pobox.com>
17718
17719         * check/gst/gstpad.c: Only set explicit caps on pads.
17720
17721 2005-07-01  Andy Wingo  <wingo@pobox.com>
17722
17723         * tests/network-clock.scm: Commentary update.
17724
17725         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
17726         Didn't really make sense, not implementable with basetransform,
17727         etc.
17728         (gst_identity_transform): Unref inbuf via make_writable. Feeble
17729         attempt at implementing the sync property, needs an unlock method.
17730
17731         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
17732         New func, by default returns the same caps (the identity
17733         transformation).
17734         (gst_base_transform_getcaps): Uses transform_caps to return
17735         something sensible.
17736         (gst_base_transform_setcaps): Complicated logic to get caps on
17737         both pads, even if they are different, and to call set_caps once
17738         for every time both pads get their caps set.
17739         (gst_base_transform_handle_buffer): Give the ref to the transform
17740         function. Allows in-place modification of the buffer.
17741
17742         * gst/base/gstbasetransform.h (transform_caps): New class method.
17743         Given caps on one side, what can I do on the other.
17744         (set_caps): Take two caps, one for each side of the element.
17745
17746         * gst/gstpad.h:
17747         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
17748         caps in place. This is safe because we can check the mutability of
17749         the caps, and a good idea because fixate functions are just called
17750         as a matter of last resort. (Not actually implemented.)
17751         (gst_pad_set_caps): If the caps we're setting is actually the same
17752         as the existing pad caps, just update the pointer without calling
17753         setcaps. Assert that caps is either NULL or fixed, as per the
17754         docs.
17755
17756         * gst/gstghostpad.c: Update for fixate changes.
17757
17758 2005-07-02  Andy Wingo  <wingo@pobox.com>
17759
17760         * gst/gstcaps.c:
17761         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
17762         two refcounts makes it immutable, which is enough. Doc more.
17763
17764 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
17765
17766         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
17767           Put the mini_object into GValue as a mini_object,
17768           not a gpointer, since that's how we declared
17769           the signal.
17770
17771 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17772
17773         * examples/pwg/Makefile.am:
17774           Fix buildbot again.
17775
17776 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17777
17778         * docs/pwg/building-testapp.xml:
17779           Add extra check.
17780         * examples/pwg/Makefile.am:
17781           Fix buildbot.
17782
17783 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17784
17785         * configure.ac:
17786         * examples/Makefile.am:
17787         * examples/pwg/Makefile.am:
17788         * examples/pwg/extract.pl:
17789           Enable building the PWG examples.
17790         * docs/pwg/advanced-interfaces.xml:
17791           Add URI interface stub.
17792         * docs/pwg/advanced-types.xml:
17793         * docs/pwg/other-autoplugger.xml:
17794         * docs/pwg/appendix-porting.xml:
17795         * docs/pwg/pwg.xml:
17796           Add porting guide (mostly stubs), remove autoplugging (see ADM).
17797         * docs/pwg/building-boiler.xml:
17798         * docs/pwg/building-chainfn.xml:
17799         * docs/pwg/building-pads.xml:
17800         * docs/pwg/building-props.xml:
17801         * docs/pwg/building-state.xml:
17802         * docs/pwg/building-testapp.xml:
17803           Update the building-*.xml parts for 0.9 changes. All examples
17804           code blocks compile in examples/pwg/*.
17805
17806 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17807
17808         * docs/manual/advanced-autoplugging.xml:
17809         * docs/manual/appendix-checklist.xml:
17810         * docs/manual/appendix-integration.xml:
17811         * docs/manual/highlevel-components.xml:
17812           Fix playbin/decodebin examples, update docs a bit, mention bus
17813           instead of signals in various places, mention kmplayer and
17814           kaffeine since they have a working GStreamer backend in the KDE
17815           section.
17816
17817 2005-06-30  Wim Taymans  <wim@fluendo.com>
17818
17819         * CHANGES-0.9:
17820         * docs/design/draft-ghostpads.txt:
17821         * docs/design/draft-push-pull.txt:
17822         * docs/design/draft-query.txt:
17823         * docs/design/part-TODO.txt:
17824         * docs/design/part-query.txt:
17825         Added CHANGES-0.9 doc, updated status of other docs.
17826         
17827         * gst/gstquery.h:
17828         Remove "hmm" macro
17829
17830 2005-06-30  Wim Taymans  <wim@fluendo.com>
17831
17832         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
17833         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
17834         (gst_base_sink_change_state):
17835         * gst/base/gstbasesink.h:
17836         Some tweaks, only EOS and a buffer complete a preroll.
17837
17838 2005-06-30  Andy Wingo  <wingo@pobox.com>
17839
17840         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
17841         activate_push down to the internal pad as well.
17842
17843 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
17844
17845         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17846
17847         * gst/gsttaginterface.c:
17848           Some documentation fixes (#307394 and #307397).
17849
17850 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
17851
17852         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17853
17854         * gst/gstvalue.c: (gst_value_intersect_list):
17855           Fix memleak (#309125).
17856
17857 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17858
17859         * docs/manual/advanced-dataaccess.xml:
17860           Fix fakesrc example to compile; doesn't work, bug somewhere...?
17861         * docs/manual/basics-pads.xml:
17862           Add reference for filtered caps to above chapter.
17863
17864 2005-06-30  Wim Taymans  <wim@fluendo.com>
17865
17866         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
17867         (gst_bin_change_state):
17868         Probes are gone.
17869         Lame attempt at making the state change function a bit
17870         more readable.
17871
17872 2005-06-30  Wim Taymans  <wim@fluendo.com>
17873
17874         * docs/design/part-clocks.txt:
17875         * docs/design/part-element-sink.txt:
17876         * docs/design/part-events.txt:
17877         * docs/design/part-preroll.txt:
17878         * docs/design/part-states.txt:
17879         Some more tweeks and additions to the docs.
17880
17881 2005-06-30  Wim Taymans  <wim@fluendo.com>
17882
17883         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17884         (default_have_data), (gst_pad_class_init), (gst_pad_init),
17885         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
17886         (gst_pad_check_pull_range), (gst_pad_get_range),
17887         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
17888         * gst/gstpad.h:
17889         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
17890         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17891         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17892         (gst_pad_remove_buffer_probe):
17893         Removed atomic operations, use existing LOCK.
17894         Move exception handling out of main code path.
17895
17896 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17897
17898         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17899         (silly_return_true_function), (gst_pad_class_init),
17900         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
17901         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
17902         (gst_pad_send_event):
17903           Fix accumulator, add default value by using _emitv() instead
17904           of _emit() for signal emission.
17905
17906 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17907
17908         * docs/manual/advanced-dataaccess.xml:
17909         * examples/manual/Makefile.am:
17910           Add probe example.
17911         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
17912           Make work (??).
17913
17914 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
17915
17916         * gst/elements/gstfilesink.c: (gst_filesink_render):
17917           Simplify code so that we don't have to handle short
17918           writes and return GST_FLOW_ERROR if an error occured.
17919
17920 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17921
17922         * docs/gst/gstreamer-docs.sgml:
17923           Remove probes more.
17924
17925 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17926
17927         * docs/gst/gstreamer-sections.txt:
17928         * docs/gst/tmpl/gstpad.sgml:
17929         * docs/gst/tmpl/gstprobe.sgml:
17930         * gst/Makefile.am:
17931         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17932         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
17933         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17934         (gst_pad_push_event), (gst_pad_send_event):
17935         * gst/gstpad.h:
17936         * gst/gstutils.c: (gst_pad_add_data_probe),
17937         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17938         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17939         (gst_pad_remove_buffer_probe):
17940         * gst/gstutils.h:
17941           Remove old probes, add new g-signal-based probes and some utility
17942           functions.
17943
17944 2005-06-29  Edward Hervey  <edward@fluendo.com>
17945
17946         * gst/gstelementfactory.c:
17947         * gst/gstutils.h:
17948         * gst/gstutils.c:
17949         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
17950         the definition to the header file.
17951
17952 2005-06-29  Andy Wingo  <wingo@pobox.com>
17953
17954         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
17955         plugins from the source directory.
17956
17957 2005-06-29  Wim Taymans  <wim@fluendo.com>
17958
17959         * docs/gst/tmpl/gstbuffer.sgml:
17960         * docs/gst/tmpl/gstclock.sgml:
17961         Some fixings for blantently wrong text.
17962
17963 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17964
17965         * check/Makefile.am:
17966         * gst/gst.c: (add_path_func), (init_pre):
17967         * gst/gstregistry.c: (gst_registry_add_path):
17968           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
17969           only scan the GST_PLUGIN_PATH locations, and not add
17970           system locations
17971
17972 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17973
17974         * docs/gst/gstreamer-sections.txt:
17975         * docs/gst/tmpl/gstbasesrc.sgml:
17976         * gst/gstelement.c:
17977         * gst/gstelement.h:
17978         * gst/gstevent.c:
17979         * gst/gstutils.c:
17980           doc fixes
17981
17982 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17983
17984         * docs/manual/advanced-autoplugging.xml:
17985           Fix autoplugging example.
17986
17987 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17988
17989         * docs/manual/advanced-autoplugging.xml:
17990         * docs/manual/mime-world.fig:
17991           Try to get autoplugging working, fix type detection. Fix text
17992           in hello-world image.
17993
17994 2005-06-29  Wim Taymans  <wim@fluendo.com>
17995
17996         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17997         (gst_base_sink_change_state):
17998         Small debug line.
17999
18000         * gst/gstclock.h:
18001         map SIGNAL and BROADCAST to the right function.
18002
18003         * gst/gstobject.h:
18004         Remove redundant braces.
18005
18006         * gst/gstpad.c: (gst_pad_set_caps):
18007         Don't call setcaps function when reseting caps to NULL.
18008
18009         * gst/gstsystemclock.c: (gst_system_clock_dispose),
18010         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
18011         (gst_system_clock_id_unschedule):
18012         Use BROADCAST as this is what we do.
18013
18014 2005-06-29  Wim Taymans  <wim@fluendo.com>
18015
18016         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18017         We are actually prerolling before commiting the state
18018         change. 
18019
18020 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18021
18022         * docs/manual/advanced-clocks.xml:
18023         * docs/manual/advanced-interfaces.xml:
18024         * docs/manual/advanced-metadata.xml:
18025         * docs/manual/advanced-position.xml:
18026         * docs/manual/advanced-schedulers.xml:
18027         * docs/manual/advanced-threads.xml:
18028         * docs/manual/appendix-porting.xml:
18029         * docs/manual/basics-bins.xml:
18030         * docs/manual/basics-bus.xml:
18031         * docs/manual/basics-elements.xml:
18032         * docs/manual/basics-helloworld.xml:
18033         * docs/manual/basics-pads.xml:
18034         * docs/manual/highlevel-components.xml:
18035         * docs/manual/manual.xml:
18036         * docs/manual/thread.fig:
18037           Update (until threads/scheduling) Application Development Manual;
18038           remove GstThread, add GstBus, add simple porting checklist, add
18039           documentation for tag writing, clocks, make all examples until this
18040           part compile and run.
18041         * examples/manual/Makefile.am:
18042           Update from changes to Application Development Manual; add bus
18043           example, remove thread example.
18044
18045 2005-06-28  Wim Taymans  <wim@fluendo.com>
18046
18047         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
18048         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
18049         (gst_bus_source_dispatch):
18050         Add debugging messages.
18051         Make internal methods static.
18052         Handle the case where the bus is flushed in the handler.
18053         
18054         * gst/gstelement.c: (gst_element_get_bus):
18055         Fix refcount in _get_bus();
18056
18057         * gst/gstpipeline.c: (gst_pipeline_change_state),
18058         (gst_pipeline_get_clock_func):
18059         Clock refcounting fixes.
18060         Handle the case where preroll timed out more gracefully.
18061         
18062         * gst/gstsystemclock.c: (gst_system_clock_dispose):
18063         Clean up the internal thread in dispose. This is needed
18064         for subclasses that actually get disposed.
18065         
18066         * gst/schedulers/threadscheduler.c:
18067         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
18068         (gst_thread_scheduler_dispose):
18069         Free thread pool in dispose.
18070
18071 2005-06-28  Andy Wingo  <wingo@pobox.com>
18072
18073         * tests/network-clock-utils.scm (debug, print-event): New utils.
18074
18075         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
18076         (*packet-loss*): Unified loss probability.
18077         (network-time): Report out-of-band events.
18078
18079         * tests/plot-data: Add support for out-of-band events. Hack it
18080         into this script instead of passing it down the pipe; should fix
18081         this later.
18082
18083 2005-06-28  Wim Taymans  <wim@fluendo.com>
18084
18085         * docs/gst/gstreamer.types:
18086         * docs/gst/tmpl/gstbasesrc.sgml:
18087         * docs/gst/tmpl/gstpad.sgml:
18088         Docs fixes.
18089
18090 2005-06-28  Wim Taymans  <wim@fluendo.com>
18091
18092         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
18093         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
18094         (gst_proxy_pad_do_fixatecaps):
18095         Correctly proxy the check_pull_range function.
18096
18097 2005-06-28  Andy Wingo  <wingo@pobox.com>
18098
18099         * tests/network-clock.scm: Removed need for slib.
18100         
18101 2005-06-28  Wim Taymans  <wim@fluendo.com>
18102
18103         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
18104         (gst_basesink_preroll_queue_flush):
18105         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
18106         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
18107         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
18108         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
18109         (gst_proxy_pad_set_property):
18110         * gst/gstpad.c:
18111         * gst/gstpad.h:
18112         * gst/gstqueue.c: (gst_queue_init):
18113         The deprecated pad loop function is removed now.
18114
18115 2005-06-28  Andy Wingo  <wingo@pobox.com>
18116
18117         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
18118         New parameters, simulate network packet loss.
18119
18120         * tests/network-clock-utils.scm: Initialize the RNG.
18121
18122 2005-06-28  Wim Taymans  <wim@fluendo.com>
18123
18124         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
18125         (gst_basesink_event), (gst_basesink_deactivate):
18126         Flushing the preroll queue always needs to unlock the waiters.
18127
18128 2005-06-28  Edward Hervey  <edward@fluendo.com>
18129
18130         * gst/gstpipeline.c: (gst_pipeline_send_event): 
18131         Wheen a seek was successful on a pipeline, set the stream_time to the
18132         seek offset in order to have a synchronized stream_time.
18133
18134 2005-06-28  Wim Taymans  <wim@fluendo.com>
18135
18136         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
18137         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
18138         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
18139         (gst_proxy_pad_do_fixatecaps):
18140         Call wrapper function instead of just calling the function
18141         pointers. This takes care of any locking and whatmore.
18142
18143 2005-06-28  Wim Taymans  <wim@fluendo.com>
18144
18145         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
18146         (gst_pad_pull_range):
18147         * gst/gstpad.h:
18148         CONNECTED -> LINKED.
18149
18150 2005-06-28  Andy Wingo  <wingo@pobox.com>
18151
18152         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
18153         source-munging commit!!!
18154
18155         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
18156         (gst_object_sink): Take gpointer arguments, not GstObject --
18157         avoids casts. Like GLib.
18158
18159         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
18160         activate.
18161
18162 2005-06-27  Andy Wingo  <wingo@pobox.com>
18163
18164         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
18165         remaining buffer.
18166
18167         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
18168         returns a sorted copy of the trace list.
18169         (gst_alloc_trace_print_live): New API, only prints traces with
18170         live objects. Sort the list.
18171         (gst_alloc_trace_print_all): Sort the list.
18172         (gst_alloc_trace_print): Align columns.
18173
18174         * gst/elements/gstttypefindelement.c:
18175         * gst/elements/gsttee.c:
18176         * gst/base/gstbasesrc.c:
18177         * gst/base/gstbasesink.c:
18178         * gst/base/gstbasetransform.c:
18179         * gst/gstqueue.c: Adapt for pad activation changes.
18180
18181         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
18182         sched.
18183         (gst_pipeline_dispose): Drop ref on sched.
18184
18185         * gst/gstpad.c (gst_pad_init): Set the default activate func.
18186         (gst_pad_activate_default): Push mode by default.
18187         (pre_activate_switch, post_activate_switch): New stubs, things to
18188         do before and after switching activation modes on pads.
18189         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
18190         the pad's activate function to choose which mode to activate.
18191         Shortcut on deactivation and call the right function directly.
18192         (gst_pad_activate_pull): New API, (de)activates a pad in pull
18193         mode.
18194         (gst_pad_activate_push): New API, same for push mode.
18195         (gst_pad_set_activate_function) 
18196         (gst_pad_set_activatepull_function) 
18197         (gst_pad_set_activatepush_function): Setters for new API.
18198
18199         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
18200         Trace all miniobjects.
18201         (gst_mini_object_make_writable): Unref the arg if we copy, like
18202         gst_caps_make_writable.
18203
18204         * gst/gstmessage.c (_gst_message_initialize): No trace init.
18205
18206         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
18207         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
18208         Adapt for new pad API.
18209
18210         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
18211
18212         * gst/gstelement.h:
18213         * gst/gstelement.c (gst_element_iterate_src_pads) 
18214         (gst_element_iterate_sink_pads): New API functions.
18215         
18216         * gst/gstelement.c (iterator_fold_with_resync): New utility,
18217         should fold into gstiterator.c in some form.
18218         (gst_element_pads_activate): Simplified via use of fold and
18219         delegation of decisions to gstpad->activate.
18220
18221         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
18222         help in debugging.
18223
18224         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
18225         class once in init, like gstmessage. Didn't run into this issue
18226         but it seems correct. Don't initialize a trace, gstminiobject does
18227         that.
18228
18229         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
18230         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
18231         to the bus.
18232         (assert_live_count): New util function, uses alloc traces to check
18233         cleanup.
18234
18235         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
18236         To be modified when unlink drops the internal pad.
18237
18238 2005-06-27  Wim Taymans  <wim@fluendo.com>
18239
18240         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
18241         (gst_bin_change_state):
18242         Cleanup the get_state() function a little, make sure it
18243         iterates the same set of elements.
18244         Added stub iterate_state_order().
18245
18246 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18247
18248         * docs/gst/gstreamer-docs.sgml:
18249         * docs/gst/gstreamer-sections.txt:
18250         * docs/gst/gstreamer.types:
18251         * docs/gst/tmpl/gstbasesink.sgml:
18252         * docs/gst/tmpl/gstbasesrc.sgml:
18253         * docs/gst/tmpl/gstbasetransform.sgml:
18254         * docs/gst/tmpl/gstelement.sgml:
18255         * docs/gst/tmpl/gstiterator.sgml:
18256         * gst/base/gstbasesrc.c:
18257         * gst/base/gstbasesrc.h:
18258         * gst/base/gstbasetransform.h:
18259         * gst/gstelement.c:
18260         * gst/gstiterator.h:
18261           adding basetransform and iterator docs
18262
18263 2005-06-27  Andy Wingo  <wingo@pobox.com>
18264
18265         * docs/design/part-activation.txt: Notes on how activation should
18266         work -- not quite implemented yet.
18267
18268 2005-06-25  Wim Taymans  <wim@fluendo.com>
18269
18270         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
18271         At least get the chain function correct, needs more
18272         fixing.
18273
18274 2005-06-25  Wim Taymans  <wim@fluendo.com>
18275
18276         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18277         (gst_basesink_handle_object), (gst_basesink_event),
18278         (gst_basesink_do_sync), (gst_basesink_handle_event),
18279         (gst_basesink_change_state):
18280         * gst/gsttask.h:
18281         Right, two problems here: ghostpads don't take locks and
18282         glib _rec_mutex_lock_full() with depth==0 still locks.
18283         Catch illegal locking and g_warn them.
18284
18285 2005-06-25  Wim Taymans  <wim@fluendo.com>
18286
18287         * check/states/sinks.c: (START_TEST), (gst_object_suite):
18288         Have to check for completion now...
18289
18290 2005-06-25  Wim Taymans  <wim@fluendo.com>
18291
18292         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18293         (gst_basesink_handle_object), (gst_basesink_event),
18294         (gst_basesink_do_sync), (gst_basesink_handle_event),
18295         (gst_basesink_change_state):
18296         * gst/gstpad.h:
18297         Unlock STREAM_LOCK whatever the recursion was.
18298
18299 2005-06-25  Wim Taymans  <wim@fluendo.com>
18300
18301         * gst/base/gstbasesink.c: (gst_basesink_set_property),
18302         (gst_basesink_preroll_queue_empty),
18303         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
18304         (gst_basesink_event), (gst_basesink_do_sync),
18305         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
18306         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
18307         (gst_basesink_change_state):
18308         Reworked the base sink, handle event and buffer serialisation
18309         correctly and removed possible deadlock.
18310         Handle EOS correctly.
18311
18312 2005-06-25  Wim Taymans  <wim@fluendo.com>
18313
18314         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
18315         (gst_pipeline_change_state):
18316         * tools/gst-launch.c: (check_intr), (event_loop), (main):
18317         Allow elements to post EOS in the state change function.
18318         Fix up -launch, make it exit the poll loop when the
18319         pipeline actually changed state.
18320         Fix up warning parsing in -launch.
18321
18322 2005-06-25  Wim Taymans  <wim@fluendo.com>
18323
18324         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
18325         (gst_tee_sink_activate):
18326         Core takes STREAM_LOCK for us now.
18327
18328 2005-06-25  Wim Taymans  <wim@fluendo.com>
18329
18330         * gst/gstelement.c: (gst_element_get_state_func),
18331         (gst_element_set_state):
18332         * gst/gstelement.h:
18333         * gst/gstmessage.c: (gst_message_parse_error),
18334         (gst_message_parse_warning):
18335         Keep track of current target state while performing a state
18336         change so that subclasses can do something interesting.
18337         Fix parsing of warning/error messages when GError is NULL.
18338
18339 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18340
18341         * docs/gst/Makefile.am:
18342         * docs/gst/gstreamer-docs.sgml:
18343         * docs/gst/gstreamer-sections.txt:
18344         * docs/gst/gstreamer.types:
18345         * docs/gst/tmpl/gstbasesink.sgml:
18346         * docs/gst/tmpl/gstbasesrc.sgml:
18347         * docs/gst/tmpl/gstbin.sgml:
18348         * docs/gst/tmpl/gstcompat.sgml:
18349         * docs/gst/tmpl/gstfakesink.sgml:
18350         * docs/gst/tmpl/gstfakesrc.sgml:
18351         * docs/gst/tmpl/gstfilesink.sgml:
18352         * docs/gst/tmpl/gstfilesrc.sgml:
18353         * docs/gst/tmpl/gstindex.sgml:
18354         * docs/manual/appendix-quotes.xml:
18355         * gst/base/gstbasesrc.h:
18356         * gst/elements/gstfakesrc.h:
18357         * gst/gstmessage.h:
18358           start pulling in base classes and elements in our docs
18359
18360 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
18361
18362         * docs/gst/Makefile.am:
18363         * docs/libs/Makefile.am:
18364           fixed make distcheck with gtk-doc 1.3
18365
18366 2005-06-23  Wim Taymans  <wim@fluendo.com>
18367
18368         * gst/gstelement.c: (gst_element_get_state_func),
18369         (gst_element_set_state), (gst_element_change_state):
18370         When the state did not change, also report NO_PREROLL
18371         when it matters.
18372
18373 2005-06-23  Wim Taymans  <wim@fluendo.com>
18374
18375         * gst/gstpad.c: (gst_pad_event_default):
18376         * gst/gstqueue.c: (gst_queue_loop):
18377         No unsafe task pausing please.
18378
18379 2005-06-23  Wim Taymans  <wim@fluendo.com>
18380
18381         * gst/schedulers/threadscheduler.c:
18382         (gst_thread_scheduler_task_start),
18383         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
18384         Ref the task before pushing it on the threadpool. This
18385         makes sure that we have a ref when the threadfunction is
18386         actually called.
18387
18388 2005-06-23  Andy Wingo  <wingo@pobox.com>
18389
18390         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
18391         offset is greater than the file's size.
18392
18393         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
18394         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
18395         * gst/gstobject.c (gst_object_class_init): Make the class lock
18396         recursive. Wim won't let me drop deep_notify. Decodebin works
18397         again, whoopdy doo.
18398
18399         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
18400         internal pad, and hacks accordingly. Doesn't do it on the target
18401         pad because we change its caps. Probably catches all cases of
18402         interest tho.
18403         (gst_ghost_pad_set_property): Connect to notify::caps as
18404         appropritate.
18405
18406         * tests/network-clock.scm (plot-simulation): Pipe data to the
18407         elite python skript.
18408
18409         * tests/network-clock-utils.scm (define-parameter): New macro,
18410         defines a parameter that can be set via the command line.
18411         (set-parameter!, parse-parameter-arguments): Command line args
18412         parser.
18413
18414         * tests/plot-data: Simple matplotlib-based plotter, takes input on
18415         stdin.
18416
18417 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
18418
18419         * gst/elements/gsttypefindelement.c:
18420         (gst_type_find_element_handle_event):
18421           Don't restart typefinding on a discont.
18422         * gst/gstelement.c: (gst_element_set_state):
18423           Debug spelling fix.
18424         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
18425           Allow changing mode of an active pad.
18426           Debug output fixes.
18427         * gst/registries/gstlibxmlregistry.c: (load_feature):
18428           Don't cast a static pad template to a normal pad template.
18429
18430 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18431
18432         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
18433         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
18434           remove gst_strtoll completely, since it didn't actually do
18435           anything more than what g_ascii_strtoull already does.
18436           check for range errors when deserializing
18437           do a cast for the unsigned cases; but further fixing needs
18438           a decision on what the interpretation of "(int)" and
18439           deserialization should be for values that fall outside the
18440           type's boundaries (ie, refuse, or interpret as casting)
18441
18442 2005-06-23  Wim Taymans  <wim@fluendo.com>
18443
18444         * check/Makefile.am:
18445         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
18446         * docs/design/part-live-source.txt:
18447         * docs/design/part-states.txt:
18448         * gst/base/gstbasesrc.c: (gst_basesrc_init),
18449         (gst_basesrc_set_live), (gst_basesrc_is_live),
18450         (gst_basesrc_get_range), (gst_basesrc_activate),
18451         (gst_basesrc_change_state):
18452         * gst/base/gstbasesrc.h:
18453         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18454         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
18455         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
18456         * gst/gstelement.c: (gst_element_get_state_func),
18457         (gst_element_set_state):
18458         * gst/gstelement.h:
18459         * gst/gsttypes.h:
18460         * tools/gst-launch.c: (event_loop), (main):
18461         Added support for live sources and other elements that
18462         cannot do preroll.
18463         Updated design docs, added live-source design doc.
18464         Implemented live source functionality in basesrc
18465         Fix error condition in _bin_get_state()
18466         Implement live source handling in -launch.
18467         Added check for live sources.
18468         Fixed case in GstBin where elements were changed state
18469         multiple times.
18470
18471
18472 2005-06-23  Andy Wingo  <wingo@pobox.com>
18473
18474         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
18475         borken refcounting.
18476
18477         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
18478         gst_caps_replace takes care of this for us.
18479
18480         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
18481         gst_pad_set_caps on the target, not just its setcaps() function.
18482
18483         * tests/network-clock.scm: 
18484         * tests/network-clock-utils.scm: A network clock simulator.
18485         Something of an algorithmic testbed before doing something in C.
18486
18487 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18488
18489         * check/Makefile.am:
18490         * check/gst/capslist.h:
18491           copy over from 0.8, and add two with bitmasks specified with
18492           (int) 0xFF...
18493         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
18494           add test to parse everything from capslist.h
18495         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
18496         (main):
18497           add test for structure deserialization
18498         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
18499           add tests for deserialization of strings to int types
18500         * gst/gststructure.c: (gst_structure_nth_field_name):
18501         * gst/gststructure.h:
18502           add a way to get the name of a field referenced by index
18503         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
18504           instead of checking if the resulting long long lies between
18505           min and max, we check if the long long would fit into
18506           a number of bytes for the final type.
18507           This fixes cases where a string represents 2^32 - 1, which
18508           when cast to int would be the (valid) -1, but is bigger than
18509           G_MAXINT
18510
18511 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18512
18513         * gst/parse/grammar.y:
18514           add a log line for type deserialization
18515
18516 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18517
18518         * check/gst/gstvalue.c: (START_TEST):
18519         * gst/gstvalue.c: (gst_value_deserialize):
18520           return long long, not int, so gint64 deserialization actually
18521           works.  Is there any flag that makes the compiler check this ?
18522           Fixes #308559
18523
18524 2005-06-22  Wim Taymans  <wim@fluendo.com>
18525
18526         * gst/gstbuffer.h:
18527         Added convenience macros for setting buffers in GValue.
18528
18529 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
18530
18531         * check/gst/.cvsignore:
18532         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
18533           add a test deserializing int64, and comment part out because
18534           it fails, yay !
18535
18536 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
18537
18538         * check/Makefile.am:
18539         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
18540         * testsuite/Makefile.am:
18541         * testsuite/caps/Makefile.am:
18542         * testsuite/caps/value_serialize.c:
18543         * testsuite/test_gst_init.c:
18544           move a value_serialize test over
18545
18546 2005-06-20  Wim Taymans  <wim@fluendo.com>
18547
18548         * gst/gstpad.c:
18549         Small doc updates.
18550         
18551         * gst/gstvalue.c: (gst_value_compare_buffer),
18552         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
18553         (gst_value_compare_flags), (gst_value_serialize_flags),
18554         (gst_value_deserialize_flags), (_gst_value_initialize):
18555         Fix serialisation of buffers, they are not boxed types anymore
18556
18557 2005-06-20  Wim Taymans  <wim@fluendo.com>
18558
18559         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
18560         Testcase to show error in buffer-on-caps serialisation.
18561
18562 2005-06-20  Andy Wingo  <wingo@pobox.com>
18563
18564         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
18565         will be adding to later.
18566
18567         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
18568         if its socks fill with rocks.
18569         (gst_system_clock_obtain): Set the name on object construction.
18570         Avoid double-checked locking.
18571
18572 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
18573
18574         * gst/gsturi.c: (gst_element_make_from_uri):
18575           Fix potential endless loop.
18576
18577 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
18578
18579         * check/Makefile.am:
18580           add gsttag
18581         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
18582         (main):
18583           move over from testsuite dir and clean up
18584         * configure.ac:
18585         * gst/gsttag.c:
18586         * testsuite/Makefile.am:
18587         * testsuite/tags/.cvsignore:
18588         * testsuite/tags/Makefile.am:
18589         * testsuite/tags/merge.c:
18590           remove testsuite/tags
18591
18592 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
18593
18594         * docs/gst/gstreamer-sections.txt:
18595         * docs/gst/tmpl/gstenumtypes.sgml:
18596         * win32/gstenumtypes.c:
18597           clean up documentation build a little
18598
18599 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
18600
18601         * check/gstcheck.h:
18602           add macros for checking refcounts on objects and caps
18603         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
18604           add some more unit tests
18605         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18606         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
18607           fix leaked refcounts (I hope :)) so unittest works
18608         * gst/gstpad.h:
18609           whitespace removal
18610
18611 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
18612
18613         * configure.ac: back to HEAD
18614
18615 === release 0.9.1 ===
18616
18617 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
18618
18619         * NEWS:
18620         * RELEASE:
18621           updated
18622
18623 2005-06-17  Andy Wingo  <wingo@pobox.com>
18624
18625         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
18626         assert; it's always possible that the pad gets deactivated in
18627         between the checks in gstpad.c and the implementation. Rely on
18628         finish_preroll() to return a FLUSHING or similar instead of on the
18629         assert.
18630         
18631         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
18632         clock and post an EOS message if we come out of finish_preroll in
18633         the playing state.
18634
18635 2005-06-16  David Schleef  <ds@schleef.org>
18636
18637         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
18638         (gst_capsfilter_set_property): Allow NULL as possible value
18639         for filter_caps property, indicating GST_CAPS_ANY.
18640
18641 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18642
18643         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
18644           fix debug output
18645         * gst/schedulers/Makefile.am:
18646           use libgst prefix
18647         * gstreamer.spec.in:
18648           fix spec for it
18649
18650 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18651
18652         * gstreamer.spec.in:
18653           clean up
18654
18655 2005-06-08  Andy Wingo  <wingo@pobox.com>
18656
18657         * gst/gstutils.c: RPAD fixes all around.
18658         (gst_element_link_pads): Refcounting fixes.
18659
18660         * tools/gst-inspect.c:
18661         * tools/gst-xmlinspect.c:
18662         * parse/grammar.y:
18663         * gst/base/gsttypefindhelper.c:
18664         * gst/base/gstbasesink.c:
18665         * gst/gstqueue.c: RPAD fixes.
18666
18667         * gst/gstghostpad.h:
18668         * gst/gstghostpad.c: New ghost pad implementation as full proxy
18669         pads. The tricky thing is they provide both source and sink
18670         interfaces, since they proxy the internal pad for the external
18671         pad, and vice versa. Implement with lower-level ProxyPad objects,
18672         with the interior proxy pad as a child of the exterior ghost pad.
18673         Should write a doc on this.
18674         
18675         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
18676         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
18677         gst_object API.
18678         
18679         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
18680         pads are real pads. No ghost pads in this file. Not documenting
18681         the myriad s/RPAD/PAD/ and REALIZE fixes.
18682         (gst_pad_class_init): Add properties for "direction" and
18683         "template". Both are construct-only, so they can't change during
18684         the life of the pad. Fixes properly deriving from GstPad.
18685         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
18686         derived objects, just set properties when creating the objects via
18687         g_object_new.
18688         (gst_pad_get_parent): Implement as a function, return NULL if the
18689         parent is not an element.
18690         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
18691         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
18692         
18693         * gst/gstobject.c (gst_object_class_init): Make name a construct
18694         property. Don't set it in the object init.
18695
18696         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
18697         with UNKNOWN direction.
18698         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
18699         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
18700         (gst_element_remove_pad): Remove ghost-pad special cases.
18701         (gst_element_pads_activate): Remove rpad cruft.
18702
18703         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
18704         catch the pad's-parent-not-an-element case.
18705
18706         * gst/gst.h: Include gstghostpad.h.
18707
18708         * gst/gst.c (init_post): No more real, ghost pads.
18709
18710         * gst/Makefile.am: Add gstghostpad.[ch].
18711
18712         * check/Makefile.am:
18713         * check/gst/gstbin.c:
18714         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
18715         into a bin creates ghost pads, and that the refcounts are right.
18716         Partly moved from gstbin.c.
18717
18718 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18719
18720         * check/gst-libs/.cvsignore:
18721         * check/gst/.cvsignore:
18722         * check/pipelines/.cvsignore:
18723           ignore more
18724         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
18725         (START_TEST), (cleanup_suite), (main):
18726           add some tests related to cleanup after running pipelines
18727
18728 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18729
18730         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
18731           add a testsuite for GstBuffer
18732
18733 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18734
18735         * gst/gstminiobject.h:
18736           add defines for accessing the refcount
18737
18738 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
18739
18740         * Makefile.am: added support for html unit test coverage reports
18741
18742 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
18743
18744         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
18745           Free existing caps if the capsfilter changes. Add a FIXME about
18746           setting those caps on the pads.
18747
18748         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
18749           Before adding a ghost pad to a parent bin, check that there isn't
18750           already one for the element on the bin. Prevents infinite recursion
18751           when using decodebin in parse pipelines. Andy says he'll rewrite the
18752           way this works anyway, so ignore the hack.
18753
18754 2005-06-02  Andy Wingo  <wingo@pobox.com>
18755
18756         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
18757         file size, pass it on to the type find helper.
18758
18759         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
18760         segment_start and segment_end properly according to the seek
18761         method. Segment_end is still a bit flaky because offset can be
18762         negative for CUR and END cases, but it takes -1 as an "unset"
18763         value.
18764
18765 2005-06-02  Wim Taymans  <wim@fluendo.com>
18766
18767         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
18768         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
18769         (gst_basesink_activate):
18770         * gst/base/gstbasesink.h:
18771         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18772         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
18773         (gst_pad_query), (gst_pad_start_task):
18774         * gst/gstpad.h:
18775         * gst/gstqueue.c: (gst_queue_bufferalloc),
18776         (gst_queue_handle_sink_event), (gst_queue_chain):
18777         Bufferalloc: return GstFlowReturn to more accuratly report
18778         why allocation failed.
18779
18780 2005-06-02  Wim Taymans  <wim@fluendo.com>
18781
18782         * gst/gstpipeline.c: (gst_pipeline_send_event):
18783         Take snapshot of state without blocking.
18784
18785 2005-06-02  Wim Taymans  <wim@fluendo.com>
18786
18787         * docs/design/part-TODO.txt:
18788         * docs/design/part-caps.txt:
18789         * docs/design/part-clocks.txt:
18790         * docs/design/part-negotiation.txt:
18791         * docs/design/part-preroll.txt:
18792         Small doc updates 
18793
18794 2005-05-30  Wim Taymans  <wim@fluendo.com>
18795
18796         * gst/elements/gstidentity.c: (gst_identity_event),
18797         (gst_identity_transform), (gst_identity_get_property):
18798         Protect last_message property as it is accessed from
18799         multiple threads.
18800
18801 2005-05-30  Wim Taymans  <wim@fluendo.com>
18802
18803         * gst/gstelement.c: (gst_element_init),
18804         (gst_element_pads_activate), (gst_element_change_state):
18805         Slicker pad activation code.
18806
18807 2005-05-30  Wim Taymans  <wim@fluendo.com>
18808
18809         * gst/Makefile.am:
18810         * gst/gstelement.h:
18811         * gst/gstelementfactory.h:
18812         * gst/gsttypes.h:
18813         Move elementfactory methods to separate .h file.
18814
18815 2005-05-30  Wim Taymans  <wim@fluendo.com>
18816
18817         * docs/design/part-overview.txt:
18818         * gst/gstsystemclock.h:
18819         Small typo fixes, doc updates.
18820
18821 2005-05-30  Wim Taymans  <wim@fluendo.com>
18822
18823         * gst/gst.c: (gst_init_get_popt_table), (init_post),
18824         (init_popt_callback):
18825         Remove cpu-opt flag.
18826
18827 2005-05-30  Wim Taymans  <wim@fluendo.com>
18828
18829         * gst/gstbuffer.c: (gst_subbuffer_finalize),
18830         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
18831         * gst/gstbuffer.h:
18832         Avoid typechecking in places where not needed.
18833         Added accessor for malloc_data.
18834
18835 2005-05-30  Wim Taymans  <wim@fluendo.com>
18836
18837         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
18838         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
18839         (gst_pad_configure_sink), (gst_pad_configure_src),
18840         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
18841         (gst_pad_start_task):
18842         Propagate errors from _set_caps() in configure_src/sink
18843         functions instead of returning TRUE.
18844         FLUSH events can travel up and downstream
18845
18846
18847 2005-05-30  Wim Taymans  <wim@fluendo.com>
18848
18849         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
18850         (gst_basesink_activate):
18851         Handle EOS in preroll.
18852
18853 2005-05-30  Wim Taymans  <wim@fluendo.com>
18854
18855         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18856         (gst_queue_loop), (gst_queue_handle_src_event):
18857         Remove old pieces of code
18858         Flushing the queue in an upstream event is a very bad idea.
18859
18860 2005-05-26  Andy Wingo  <wingo@pobox.com>
18861
18862         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
18863         gst_value_set_mini_object so as to add a ref on the object (which
18864         will be removed when the value is unset).
18865
18866         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
18867         arg type in ::handoff.
18868
18869         * gst/gstelement.c (gst_element_change_state): Also deactivate
18870         pads in READY->NULL, just in case the element didn't make it to
18871         PAUSED. Wingo tested, Wim approved.
18872
18873 2005-05-26  Wim Taymans  <wim@fluendo.com>
18874
18875         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18876         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
18877         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
18878         A flushing pad cannot be used to alloc_buffer from.
18879
18880 2005-05-26  Wim Taymans  <wim@fluendo.com>
18881
18882         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
18883         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
18884         (gst_bus_source_dispatch), (gst_bus_source_finalize),
18885         (gst_bus_create_watch), (gst_bus_add_watch_full):
18886         * gst/gstbus.h:
18887         Implement a real GSource and use g_main_context_wakeup() to
18888         signal new messages instead of the socketpair.
18889
18890 2005-05-25  Wim Taymans  <wim@fluendo.com>
18891
18892         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
18893         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
18894         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18895         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
18896         (gst_pad_send_event), (gst_pad_start_task):
18897         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
18898         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18899         (gst_queue_sink_activate), (gst_queue_src_activate),
18900         (gst_queue_change_state):
18901         * gst/gstqueue.h:
18902         Fix state changes for non sinks. We now change sinks, then elements
18903         with unconnected srcpads, then the rest.
18904         More efficient queue unlocking in flush and state changes.
18905         Set the pad activate mode even if it does not have an activate
18906         function.
18907
18908 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18909
18910         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
18911           Don't go in pull mode for non-seekable sources.
18912         * gst/elements/gsttypefindelement.h:
18913         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18914         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
18915         (free_entry), (stop_typefinding),
18916         (gst_type_find_element_handle_event), (find_peek),
18917         (gst_type_find_element_chain), (do_pull_typefind),
18918         (gst_type_find_element_change_state):
18919           Allow typefinding (w/o seeking) in push-mode, simplified version
18920           of what was in 0.8.
18921         * gst/gstutils.c: (gst_buffer_join):
18922         * gst/gstutils.h:
18923           gst_buffer_join() from 0.8.
18924
18925 2005-05-25  Wim Taymans  <wim@fluendo.com>
18926
18927         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18928         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
18929         (gst_pad_send_event), (gst_pad_start_task):
18930         Disable attempt at mode switching until it is figured out.
18931
18932 2005-05-25  Wim Taymans  <wim@fluendo.com>
18933
18934         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
18935         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
18936         (gst_basesink_finish_preroll), (gst_basesink_chain),
18937         (gst_basesink_loop), (gst_basesink_activate),
18938         (gst_basesink_change_state):
18939         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
18940         (gst_basesrc_get_range), (gst_basesrc_loop),
18941         (gst_basesrc_activate):
18942         * gst/elements/gsttee.c: (gst_tee_sink_activate):
18943         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
18944         (gst_real_pad_init), (gst_real_pad_set_property),
18945         (gst_real_pad_get_property), (gst_pad_set_active),
18946         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
18947         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
18948         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
18949         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
18950         (gst_pad_event_default_dispatch), (gst_pad_event_default),
18951         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
18952         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
18953         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
18954         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
18955         (gst_pad_stop_task):
18956         * gst/gstpad.h:
18957         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18958         (gst_queue_loop), (gst_queue_src_activate):
18959         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
18960         (gst_task_get_state):
18961         * gst/gsttask.h:
18962         * gst/schedulers/threadscheduler.c:
18963         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
18964         Implement gst_pad_pause/start/stop_task(), take STREAM lock
18965         in task function.
18966         Remove ACTIVE pad flag, use FLUSHING everywhere
18967         Added _pad_chain(), _pad_get_range() to call chain/getrange 
18968         functions.
18969         Add locks around IS_FLUSHING when reading.
18970         Take STREAM lock in chain(), get_range() functions so plugins
18971         don't need to take it anymore.
18972         
18973
18974
18975 2005-05-25  Wim Taymans  <wim@fluendo.com>
18976
18977         * tools/gst-launch.c: (event_loop):
18978         Unref message after using its contents instead of
18979         before.
18980
18981 2005-05-24  Wim Taymans  <wim@fluendo.com>
18982
18983         * docs/design/draft-ghostpads.txt:
18984         * docs/design/draft-push-pull.txt:
18985         * docs/design/draft-query.txt:
18986         * docs/design/part-overview.txt:
18987         Docs updates, added general overview doc.
18988
18989 2005-05-21  David Schleef  <ds@schleef.org>
18990
18991         * docs/gst/tmpl/old/GstBin.sgml:
18992         * docs/gst/tmpl/old/GstBuffer.sgml:
18993         * docs/gst/tmpl/old/GstCaps.sgml:
18994         * docs/gst/tmpl/old/GstClock.sgml:
18995         * docs/gst/tmpl/old/GstCompat.sgml:
18996         * docs/gst/tmpl/old/GstData.sgml:
18997         * docs/gst/tmpl/old/GstElement.sgml:
18998         * docs/gst/tmpl/old/GstEvent.sgml:
18999         * docs/gst/tmpl/old/GstIndex.sgml:
19000         * docs/gst/tmpl/old/GstStructure.sgml:
19001         * docs/gst/tmpl/old/GstTag.sgml:
19002         * docs/gst/tmpl/old/cothreads.sgml:
19003         * docs/gst/tmpl/old/cothreads_compat.sgml:
19004         * docs/gst/tmpl/old/gettext.sgml:
19005         * docs/gst/tmpl/old/gobject2gtk.sgml:
19006         * docs/gst/tmpl/old/grammar.tab.sgml:
19007         * docs/gst/tmpl/old/gst-i18n-app.sgml:
19008         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
19009         * docs/gst/tmpl/old/gst_private.sgml:
19010         * docs/gst/tmpl/old/gstaggregator.sgml:
19011         * docs/gst/tmpl/old/gstarch.sgml:
19012         * docs/gst/tmpl/old/gstatomic_impl.sgml:
19013         * docs/gst/tmpl/old/gstbufferstore.sgml:
19014         * docs/gst/tmpl/old/gstdata_private.sgml:
19015         * docs/gst/tmpl/old/gstdisksink.sgml:
19016         * docs/gst/tmpl/old/gstdisksrc.sgml:
19017         * docs/gst/tmpl/old/gstelementfactory.sgml:
19018         * docs/gst/tmpl/old/gstextratypes.sgml:
19019         * docs/gst/tmpl/old/gstfakesink.sgml:
19020         * docs/gst/tmpl/old/gstfakesrc.sgml:
19021         * docs/gst/tmpl/old/gstfdsink.sgml:
19022         * docs/gst/tmpl/old/gstfdsrc.sgml:
19023         * docs/gst/tmpl/old/gstfilesink.sgml:
19024         * docs/gst/tmpl/old/gstfilesrc.sgml:
19025         * docs/gst/tmpl/old/gsthttpsrc.sgml:
19026         * docs/gst/tmpl/old/gstidentity.sgml:
19027         * docs/gst/tmpl/old/gstindexfactory.sgml:
19028         * docs/gst/tmpl/old/gstmarshal.sgml:
19029         * docs/gst/tmpl/old/gstmd5sink.sgml:
19030         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
19031         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
19032         * docs/gst/tmpl/old/gstpadtemplate.sgml:
19033         * docs/gst/tmpl/old/gstpipefilter.sgml:
19034         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
19035         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
19036         * docs/gst/tmpl/old/gstshaper.sgml:
19037         * docs/gst/tmpl/old/gstspider.sgml:
19038         * docs/gst/tmpl/old/gstspideridentity.sgml:
19039         * docs/gst/tmpl/old/gststatistics.sgml:
19040         * docs/gst/tmpl/old/gsttee.sgml:
19041         * docs/gst/tmpl/old/gsttimecache.sgml:
19042         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
19043         * docs/gst/tmpl/old/gstxmlregistry.sgml:
19044         * docs/gst/tmpl/old/gthread-cothreads.sgml:
19045         * docs/gst/tmpl/old/types.sgml:
19046           I didn't intend to add these or check them in.
19047
19048 2005-05-19  David Schleef  <ds@schleef.org>
19049
19050         * configure.ac: Use -no-common everywhere.  In a sane world, it
19051           would be the default in libtool, because without it, you can't
19052           build DLLs on Windows.
19053         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
19054         * docs/gst/gstreamer-sections.txt:
19055         * docs/gst/tmpl/gstcpu.sgml:
19056         * docs/gst/tmpl/gstdata.sgml:
19057         * docs/gst/tmpl/gstthread.sgml:
19058
19059 2005-05-19  David Schleef  <ds@schleef.org>
19060
19061         * gst/gstminiobject.c: (gst_value_set_mini_object),
19062         (gst_value_take_mini_object), (gst_value_get_mini_object):
19063         * gst/gstminiobject.h: Add GValue set/get functions.
19064
19065 2005-05-19  Wim Taymans  <wim@fluendo.com>
19066
19067         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
19068         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
19069         (gst_subbuffer_init), (gst_buffer_is_span_fast):
19070         * gst/gstbuffer.h:
19071         * gst/gstbus.c: (gst_bus_post):
19072         * gst/gstelement.c: (gst_element_get_random_pad):
19073         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
19074         Make subbufer unref the parent in finalize.
19075         some more debugging info.
19076
19077
19078 2005-05-19  Wim Taymans  <wim@fluendo.com>
19079
19080         * gst/base/gstbasesink.c: (gst_basesink_class_init),
19081         (gst_basesink_init), (gst_basesink_finalize),
19082         (gst_basesink_activate), (gst_basesink_change_state):
19083         Don't free preroll queue too early.
19084
19085 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19086
19087         * gst/Makefile.am:
19088         * gst/ROADMAP:
19089           Hi, I'm outdated. Please shoot me.
19090
19091 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19092
19093         * gst/gstpipeline.c: (gst_pipeline_send_event):
19094           Do not access variables after they have been deleted.
19095
19096 2005-05-19  Wim Taymans  <wim@fluendo.com>
19097
19098         * tools/gst-inspect.c: (print_plugin_features):
19099         A plugin feature does unfortunatly not use the
19100         object name yet...
19101
19102 2005-05-18  Wim Taymans  <wim@fluendo.com>
19103
19104         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
19105         Port _span() functions to new subbuffers.
19106
19107 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19108
19109         * gst/gstbin.c: (gst_bin_add_func):
19110           Fix clock settery in bins when adding kids after the clock has
19111           been selected.
19112
19113 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19114
19115         * gst/elements/gstidentity.c: (gst_identity_class_init):
19116           Workaround until signals support GstMiniObject.
19117
19118 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
19119
19120         * gst/gstbuffer.c:
19121         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
19122
19123 2005-05-18  Wim Taymans  <wim@fluendo.com>
19124
19125         * gst/base/Makefile.am:
19126         * gst/base/gstadapter.c: (gst_adapter_base_init),
19127         (gst_adapter_class_init), (gst_adapter_init),
19128         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
19129         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
19130         (gst_adapter_flush), (gst_adapter_available),
19131         (gst_adapter_available_fast):
19132         * gst/base/gstadapter.h:
19133         Ported and added adapter to the base classes.
19134
19135 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19136
19137         * gst/gst.c:
19138         * gst/gstmessage.c:
19139           Make sure the class is reffed/unreffed once before threads can be
19140           used.  Fixes #304551.
19141
19142 2005-05-17  Wim Taymans  <wim@fluendo.com>
19143
19144         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
19145         (gst_basesink_chain_unlocked), (gst_basesink_activate):
19146         * gst/gstminiobject.c: (gst_mini_object_get_type),
19147         (gst_mini_object_free):
19148         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
19149         (gst_pad_push), (gst_pad_push_event):
19150         * gst/gstqueue.c: (gst_queue_change_state):
19151         Don't queue buffers in basesink when we are flushing.
19152         Unref buffer when flushing in basesink.
19153         Flush queue when going to READY
19154         Unref buffer when _push() returns an error.
19155         Don't free MiniObject instance when refcount is incremented
19156         in _finalize() so that we can recover objects.
19157
19158 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
19159
19160         * docs/manual/advanced-schedulers.xml:
19161         * docs/manual/appendix-checklist.xml:
19162         * docs/pwg/advanced-clock.xml:
19163         * docs/pwg/advanced-interfaces.xml:
19164         * docs/pwg/advanced-request.xml:
19165         * docs/pwg/advanced-types.xml:
19166         * docs/pwg/intro-preface.xml:
19167         * examples/plugins/example.c: (gst_example_get_type),
19168         (gst_example_class_init), (gst_example_chain),
19169         (gst_example_set_property), (gst_example_get_property),
19170         (gst_example_change_state), (plugin_init):
19171         * examples/plugins/example.h:
19172           small doc fixes
19173
19174 2005-05-17  Wim Taymans  <wim@fluendo.com>
19175
19176         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
19177         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
19178         * gst/gstqueue.c: (gst_queue_change_state):
19179         Clear queue when going to READY.
19180         Remove IN_SETCAPS flag too.
19181
19182 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
19183
19184         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
19185           Remove implicit cast from gboolean to GstElementStateReturn;
19186           make sure we still return failure in paused => ready case if
19187           the parent class fails to change state and our own stop 
19188           vfunc succeeds.
19189
19190 2005-05-17  Wim Taymans  <wim@fluendo.com>
19191
19192         * tools/gst-launch.c: (event_loop):
19193         Message was unreffed too soon.
19194
19195 2005-05-16  Andy Wingo  <wingo@pobox.com>
19196
19197         * gst/gstbin.c (sink_iterator_filter): Err... um...
19198
19199         * check/gst/gstbin.c (test_ghost_pads): New test for the
19200         ghosting-if-elements-not-in-same-bin behavior.
19201
19202 2005-05-16  David Schleef  <ds@schleef.org>
19203
19204         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
19205         accessing refcount directly.
19206
19207 2005-05-15  David Schleef  <ds@schleef.org>
19208
19209         * check/Makefile.am: remove GstData checks
19210         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
19211         * gst/Makefile.am: add miniobject, remove data
19212         * gst/gst.h: add miniobject, remove data
19213         * gst/gstdata.c: remove
19214         * gst/gstdata.h: remove
19215         * gst/gstdata_private.h: remove
19216         * gst/gsttypes.h: remove GstEvent and GstMessage
19217         * gst/gstelement.c: (gst_element_post_message): fix for API changes
19218         * gst/gstmarshal.list: change BOXED -> OBJECT
19219
19220         Implement GstMiniObject.
19221         * gst/gstminiobject.c:
19222         * gst/gstminiobject.h:
19223
19224         Modify to be subclasses of GstMiniObject.
19225         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
19226         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
19227         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
19228         (gst_subbuffer_get_type), (gst_subbuffer_init),
19229         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
19230         (gst_buffer_span):
19231         * gst/gstbuffer.h:
19232         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
19233         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
19234         (_gst_event_copy), (gst_event_new):
19235         * gst/gstevent.h:
19236         * gst/gstmessage.c: (_gst_message_initialize),
19237         (gst_message_get_type), (gst_message_class_init),
19238         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
19239         (gst_message_new), (gst_message_new_error),
19240         (gst_message_new_warning), (gst_message_new_tag),
19241         (gst_message_new_state_changed), (gst_message_new_application):
19242         * gst/gstmessage.h:
19243         * gst/gstprobe.c: (gst_probe_perform),
19244         (gst_probe_dispatcher_dispatch):
19245         * gst/gstprobe.h:
19246         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
19247         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
19248         (_gst_query_copy), (gst_query_new):
19249
19250         Update elements for GstData -> GstMiniObject changes
19251         * gst/gstquery.h:
19252         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
19253         (gst_queue_chain), (gst_queue_loop):
19254         * gst/elements/gstbufferstore.c:
19255         (gst_buffer_store_add_buffer_func),
19256         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
19257         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
19258         (gst_fakesink_render):
19259         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
19260         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
19261         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
19262         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
19263         (gst_filesrc_create_read):
19264         * gst/elements/gstidentity.c: (gst_identity_class_init):
19265         * gst/elements/gsttypefindelement.c:
19266         (gst_type_find_element_src_event), (free_entry_buffers),
19267         (gst_type_find_element_handle_event):
19268         * libs/gst/dataprotocol/dataprotocol.c:
19269         (gst_dp_header_from_buffer):
19270         * libs/gst/dataprotocol/dataprotocol.h:
19271         * libs/gst/dataprotocol/dp-private.h:
19272
19273 2005-05-15  David Schleef  <ds@schleef.org>
19274
19275         * gst/elements/gstelements.c: Don't include headers that were
19276         just removed.
19277
19278 2005-05-15  David Schleef  <ds@schleef.org>
19279
19280         * gst/elements/Makefile.am: Remove some elements that don't
19281         need to be in the core (or even exist at all).
19282         * gst/elements/gstaggregator.c:
19283         * gst/elements/gstaggregator.h:
19284         * gst/elements/gstmd5sink.c:
19285         * gst/elements/gstmd5sink.h:
19286         * gst/elements/gstmultifilesrc.c:
19287         * gst/elements/gstmultifilesrc.h:
19288         * gst/elements/gstpipefilter.c:
19289         * gst/elements/gstpipefilter.h:
19290         * gst/elements/gstshaper.c:
19291         * gst/elements/gstshaper.h:
19292         * gst/elements/gststatistics.c:
19293         * gst/elements/gststatistics.h:
19294         * po/POTFILES.in: Remove above files.
19295
19296 2005-05-14  Andy Wingo  <wingo@pobox.com>
19297
19298         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
19299         so as to get the refs right.
19300         (sink_iterator_filter): New function, wraps bin_element_is_sink,
19301         unreffing objects that don't pass the filter.
19302
19303         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
19304         gst_element_set_bus.
19305         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
19306         normal cases, this will destroy the bus.
19307
19308         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
19309         object.
19310
19311         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
19312         has no sinks.
19313
19314 2005-05-13  Andy Wingo  <wingo@pobox.com>
19315
19316         * gst/gstutils.c (gst_element_link_pads): Instead of calling
19317         gst_pad_link, call pad_link_maybe_ghosting,
19318         (pad_link_maybe_ghosting): Links pads, making sure that the
19319         elements being linked are in the same bin.
19320         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
19321         Helpers for pad_link_maybe_ghosting.
19322
19323 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
19324
19325         * configure.ac:
19326           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
19327
19328 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
19329
19330         * docs/design/part-element-source.txt:
19331           Mention GstPushSrc
19332
19333 2005-05-12  Wim Taymans  <wim@fluendo.com>
19334
19335         * gst/base/gstbasesink.c: (gst_basesink_init),
19336         (gst_basesink_activate):
19337         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
19338         (gst_basesrc_is_seekable):
19339         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
19340         (bin_element_is_sink), (gst_bin_change_state):
19341         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
19342         * gst/gstelement.h:
19343         Identify sinks by their flag to avoid overly complicated
19344         checks (fow now).
19345         Do state changes even for elements not reachable from the
19346         sinks.
19347         BaseSink is a sink now :)
19348         Some more debugging info in the basesrc.
19349
19350
19351 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19352
19353         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
19354           Implement _query on a bin, similar to _send_event.
19355
19356 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
19357
19358         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
19359           Discont event offset format should be GST_FORMAT_BYTES,
19360           not GST_FORMAT_TIME.
19361
19362 2005-05-12  Wim Taymans  <wim@fluendo.com>
19363
19364         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
19365         Same fix as Ronald's but without the signal. 
19366
19367 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19368
19369         * gst/gstutils.c: (gst_element_query_position):
19370           No, an element is not a pad.
19371
19372 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19373
19374         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
19375         (gst_bin_get_state):
19376           If a child is removed from a bin while we remove the child from
19377           the bin and while we're retrieving its state, signal this to the
19378           get_state function so we abort the wait (instead of waiting for
19379           a timeout) and can immediately re-iterate over all other elements.
19380
19381 2005-05-12  Wim Taymans  <wim@fluendo.com>
19382
19383         * gst/base/Makefile.am:
19384         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
19385         (gst_basesrc_start):
19386         * gst/base/gstbasesrc.h:
19387         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
19388         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
19389         (gst_pushsrc_init), (gst_pushsrc_create):
19390         * gst/base/gstpushsrc.h:
19391         Added is_seekable to BaseSrc
19392         Added simple PushSrc.
19393
19394 2005-05-11  Wim Taymans  <wim@fluendo.com>
19395
19396         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
19397         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
19398         (gst_element_link_pads), (gst_element_query_position),
19399         (gst_element_query_convert), (intersect_caps_func),
19400         (gst_pad_query_position), (gst_pad_query_convert):
19401         Fix refcounting in utils function.
19402         No point in trying to activate a pad when it's added, it could
19403         be added from the state change function and then we deadlock, the
19404         element has to decide what to do.
19405
19406 2005-05-10  Andy Wingo  <wingo@pobox.com>
19407
19408         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
19409         *all* the arguments.
19410
19411         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
19412         stream lock if it's a FLUSH_DONE; normal flushes don't get the
19413         lock (according to the docs -- if this is wrong change the docs).
19414
19415         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
19416         flush messages in the NULL state.
19417
19418         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
19419         message immediately and return.
19420         (gst_bus_set_flushing): New function. If a bus is flushing, it
19421         flushes out any queued messages and immediately unrefs new
19422         messages. This is so when an element goes to NULL, all of the
19423         unhandled messages coming from it can be freed, and their
19424         references to the element dropped. In other words: message source
19425         ref considered harmful :P
19426
19427         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
19428         we're finished with it.
19429
19430         * gst/gstmessage.c (gst_message_new_state_changed): 
19431
19432 2005-05-10  Wim Taymans  <wim@fluendo.com>
19433
19434         * gst/gstvalue.c: (gst_value_compare_flags),
19435         (gst_value_serialize_flags), (gst_value_deserialize_flags),
19436         (_gst_value_initialize):
19437         Added flags serialize/deserialize/compare code.
19438
19439 2005-05-09  Andy Wingo  <wingo@pobox.com>
19440
19441         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
19442         Intersect the peer's caps with our caps.
19443
19444 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19445
19446         * gst/base/gsttypefindhelper.c: (helper_find_peek):
19447         * gst/elements/gsttypefindelement.c: (find_peek):
19448           Handle negative offsets better. Fixes decodebin.
19449
19450 2005-05-09  Wim Taymans  <wim@fluendo.com>
19451
19452         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
19453         (gst_base_transform_event):
19454         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
19455         Implement accept_caps.
19456         Fix silly lock/unlock mismatch in base class.
19457
19458 2005-05-09  Wim Taymans  <wim@fluendo.com>
19459
19460         * docs/design/draft-push-pull.txt:
19461         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
19462         * gst/elements/gstfilesink.c: (gst_filesink_init),
19463         (gst_filesink_query):
19464         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
19465         (gst_type_find_handle_src_query), (find_element_get_length):
19466         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
19467         * gst/gstelement.h:
19468         * gst/gstmessage.c:
19469         * gst/gstmessage.h:
19470         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
19471         (gst_real_pad_get_caps_unlocked),
19472         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
19473         (gst_pad_event_default_dispatch), (gst_pad_event_default),
19474         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
19475         (gst_real_pad_dispose), (gst_real_pad_finalize),
19476         (gst_pad_load_and_link), (gst_pad_save_thyself),
19477         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
19478         (gst_pad_check_pull_range), (gst_pad_pull_range),
19479         (gst_pad_template_get_type), (gst_pad_template_class_init),
19480         (gst_pad_template_init), (gst_pad_template_dispose),
19481         (name_is_valid), (gst_static_pad_template_get),
19482         (gst_pad_template_new), (gst_static_pad_template_get_caps),
19483         (gst_pad_template_get_caps), (gst_pad_set_element_private),
19484         (gst_pad_get_element_private), (gst_pad_start_task),
19485         (gst_pad_pause_task), (gst_pad_stop_task),
19486         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
19487         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
19488         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
19489         (gst_ghost_pad_new):
19490         * gst/gstpad.h:
19491         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
19492         (gst_query_new_position), (gst_query_set_position),
19493         (gst_query_parse_position), (gst_query_new_convert),
19494         (gst_query_set_convert), (gst_query_parse_convert):
19495         * gst/gstquery.h:
19496         * gst/gstqueryutils.c:
19497         * gst/gstqueryutils.h:
19498         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
19499         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
19500         (gst_queue_handle_src_query):
19501         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
19502         (gst_element_query_position), (gst_element_query_convert),
19503         (intersect_caps_func), (gst_pad_query_position),
19504         (gst_pad_query_convert):
19505         * gst/gstutils.h:
19506         * tools/gst-inspect.c: (print_pad_info):
19507         * tools/gst-xmlinspect.c: (print_element_info):
19508         Remove old query functions. Ported old code.
19509         Added position/convert helper functions to gstutils.
19510         Reordered gstpad.c code, grouping relevant things.
19511         Remove gst_message_new(), always need to speficy a specific
19512         message.
19513
19514
19515 2005-05-09  Andy Wingo  <wingo@pobox.com>
19516
19517         * gst/gstiterator.h: Add some includes.
19518
19519         * gst/gstqueryutils.h: Include more headers.
19520
19521         * gst/gstpad.h:
19522         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
19523         some uses of gst_pad_query.
19524
19525         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
19526         NULL out parameters.
19527         (gst_query_new_position): New proc, allocates a new position
19528         query.
19529
19530         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
19531         gstqueryutils.c to the build.
19532
19533         * gst/gststructure.c (gst_structure_set_valist): Implement with
19534         the generic G_VALUE_COLLECT.
19535         
19536 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
19537
19538         * gst/Makefile.am: (gst_headers):
19539         Added gstqueryutils.h to the list of headers to install, that was
19540         a 'nachty' move wingo :)
19541
19542 2005-05-06  Andy Wingo  <wingo@pobox.com>
19543
19544         * gst/gstquery.h
19545         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
19546         GstData, init a memchunk.
19547         (standard_definitions): Add a few query types, deprecate a few.
19548         (gst_query_get_type): New proc.
19549         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
19550         implementation.
19551         (gst_query_new_application, gst_query_get_structure): New public
19552         procs.
19553
19554         * docs/design/draft-query.txt: Removed LINKS from the query types,
19555         because all the rest can be dispatched to other pads -- seemed
19556         ugly to have a query that couldn't be dispatched. internal_links
19557         is fine as a pad method.
19558
19559         * gst/gstpad.h: Add query2 as a pad method, add the new functions
19560         in gstpad.c, but maintain binary compatibility for the moment.
19561         Will fix before 0.9 is out.
19562
19563         * gst/gstqueryutils.c: 
19564         * gst/gstqueryutils.h: New files, implement 3 methods for each
19565         query type: parse_query, parse_response, and set. Probably need an
19566         allocator as well.
19567
19568         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
19569
19570         * gst/elements/gstfilesink.c (gst_filesink_query2):
19571         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
19572         query_types, and formats methods.
19573
19574         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
19575         (gst_pad_set_query2_function): New functions.
19576         (gst_real_pad_init): Set query2_default as the default query2
19577         function. Basically just dispatches to internally linked pads.
19578
19579         Needs review!
19580         
19581         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
19582         without using the atomic operations. Only one thread can possibly
19583         be accessing the data at this point. Changed so as to avoid
19584         gst_atomic operations.
19585
19586 2005-05-06  Wim Taymans  <wim@fluendo.com>
19587
19588         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
19589         Also set caps if we use the fallback buffer alloc.
19590
19591 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
19592
19593         * docs/gst/Makefile.am:
19594         * docs/gst/gstreamer-docs.sgml:
19595         * docs/gst/gstreamer-sections.txt:
19596         * docs/gst/tmpl/gstatomic.sgml:
19597         * docs/gst/tmpl/gstmemchunk.sgml:
19598         * testsuite/elements/struct_i386.h:
19599         * win32/GStreamer.vcproj:
19600         * win32/Makefile:
19601           Purge GstAtomic stuff from docs and win32 makefiles as well
19602
19603 2005-05-06  Wim Taymans  <wim@fluendo.com>
19604
19605         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
19606         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
19607         * gst/gstpad.c: (gst_pad_peer_get_caps):
19608         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
19609         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
19610         (gst_queue_src_activate), (gst_queue_change_state):
19611         * gst/gstqueue.h:
19612         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
19613         (intersect_caps_func):
19614         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
19615         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
19616         Some fixes for the peer_get_caps() change.
19617
19618 2005-05-06  Wim Taymans  <wim@fluendo.com>
19619
19620         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
19621         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
19622         (gst_basesink_activate):
19623         Actually do something with error codes returned from the push
19624         functions.
19625
19626 2005-05-06  Wim Taymans  <wim@fluendo.com>
19627
19628         * docs/design/part-element-sink.txt:
19629         * docs/design/part-element-source.txt:
19630         * gst/base/gstbasesink.c: (gst_basesink_class_init),
19631         (gst_basesink_event), (gst_basesink_activate):
19632         * gst/base/gstbasesink.h:
19633         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
19634         (gst_basesrc_activate):
19635         * gst/base/gstbasesrc.h:
19636         * gst/gstelement.c: (gst_element_pads_activate):
19637         Some more documentation.
19638         Fixed scheduling decision in _pads_activate().
19639
19640 2005-05-05  Andy Wingo  <wingo@pobox.com>
19641
19642         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
19643         the test suite.
19644
19645 2005-05-05  Wim Taymans  <wim@fluendo.com>
19646
19647         * gst/base/Makefile.am:
19648         * gst/base/gstbasesink.h:
19649         * gst/base/gstbasesrc.c: (gst_basesrc_init),
19650         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
19651         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
19652         (gst_collectpads_class_init), (gst_collectpads_init),
19653         (gst_collectpads_finalize), (gst_collectpads_new),
19654         (gst_collectpads_set_function), (gst_collectpads_add_pad),
19655         (find_pad), (gst_collectpads_remove_pad),
19656         (gst_collectpads_is_active), (gst_collectpads_collect),
19657         (gst_collectpads_collect_range), (gst_collectpads_start),
19658         (gst_collectpads_stop), (gst_collectpads_peek),
19659         (gst_collectpads_pop), (gst_collectpads_available),
19660         (gst_collectpads_read), (gst_collectpads_flush),
19661         (gst_collectpads_chain):
19662         * gst/base/gstcollectpads.h:
19663         * gst/elements/Makefile.am:
19664         * gst/elements/gstelements.c:
19665         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
19666         (gst_fakesink_get_times), (gst_fakesink_event),
19667         (gst_fakesink_preroll), (gst_fakesink_render):
19668         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
19669         (gst_filesink_init), (gst_filesink_set_location),
19670         (gst_filesink_open_file), (gst_filesink_close_file),
19671         (gst_filesink_pad_query), (gst_filesink_event),
19672         (gst_filesink_render), (gst_filesink_change_state):
19673         * gst/elements/gstfilesink.h:
19674         Added object to help in making collect pad based elements.
19675         Ported filesink.
19676         Make event function in sink baseclass return gboolean.
19677
19678 2005-05-05  Wim Taymans  <wim@fluendo.com>
19679
19680         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
19681         (gst_bin_get_by_name):
19682         * gst/gstbuffer.h:
19683         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
19684         (gst_clock_finalize):
19685         * gst/gstdata.c: (gst_data_replace):
19686         * gst/gstdata.h:
19687         * gst/gstelement.c: (gst_element_request_pad),
19688         (gst_element_pads_activate):
19689         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
19690         (gst_object_unref):
19691         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19692         (gst_pad_set_checkgetrange_function),
19693         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
19694         (gst_pad_check_pull_range), (gst_pad_pull_range),
19695         (gst_static_pad_template_get_caps), (gst_pad_start_task),
19696         (gst_pad_pause_task), (gst_pad_stop_task):
19697         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
19698         (gst_element_request_pad), (gst_pad_proxy_getcaps):
19699         Fix name lookup in GstBin.
19700         Added _data_replace() function and _buffer_replace()
19701         Use finalize method to clean up clock.
19702         Fix refcounting on request pads.
19703         Fix pad schedule mode error.
19704         Some more object refcounting debug info,
19705
19706
19707 2005-05-04  Andy Wingo <wingo@pobox.com>
19708
19709         * check/Makefile.am:
19710         * docs/gst/tmpl/gstatomic.sgml:
19711         * docs/gst/tmpl/gstplugin.sgml:
19712         * gst/base/gstbasesink.c: (gst_basesink_activate):
19713         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
19714         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
19715         (gst_basesrc_query), (gst_basesrc_set_property),
19716         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
19717         (gst_basesrc_activate):
19718         * gst/base/gstbasesrc.h:
19719         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
19720         (gst_base_transform_src_activate):
19721         * gst/elements/gstelements.c:
19722         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19723         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
19724         * gst/elements/gsttee.c: (gst_tee_sink_activate):
19725         * gst/elements/gsttypefindelement.c: (find_element_get_length),
19726         (gst_type_find_element_checkgetrange),
19727         (gst_type_find_element_activate):
19728         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
19729         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
19730         (gst_caps_load_thyself):
19731         * gst/gstelement.c: (gst_element_pads_activate),
19732         (gst_element_save_thyself), (gst_element_restore_thyself):
19733         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
19734         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
19735         * gst/gstpad.h:
19736         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
19737         (gst_xml_parse_file), (gst_xml_parse_memory),
19738         (gst_xml_get_element), (gst_xml_make_element):
19739         * gst/indexers/gstfileindex.c: (gst_file_index_load),
19740         (_file_index_id_save_xml), (gst_file_index_commit):
19741         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
19742         (read_enum), (load_pad_template), (load_feature), (load_plugin),
19743         (load_paths):
19744         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
19745         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
19746         * tools/gst-complete.c: (main):
19747         * tools/gst-compprep.c: (main):
19748         * tools/gst-inspect.c: (print_element_properties_info):
19749         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
19750         * tools/gst-xmlinspect.c: (print_element_properties):
19751         GCC 4 fixen.
19752         
19753 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19754
19755         * gst/gstplugin.c: (gst_plugin_check_module),
19756         (gst_plugin_check_file), (gst_plugin_load_file):
19757             apply patch from #172526 to make register work on MacOSX
19758
19759 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19760
19761         * docs/gst/tmpl/gstconfig.sgml:
19762         * gst/gstconfig.h.in:
19763           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
19764         * testsuite/debug/printf_extension.c: (main):
19765           Do not use GST_PTR_FORMAT on pointers to types with
19766           sizeof < sizeof(gpointer).  Fixes test on 64-bit
19767         * testsuite/elements/property.h:
19768           use correct printf format
19769
19770 2005-05-02  Wim Taymans  <wim@fluendo.com>
19771
19772         * docs/design/draft-push-pull.txt:
19773         * docs/design/draft-query.txt:
19774         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
19775         (gst_basesrc_start):
19776         Added draft for new query API.
19777         Added draft for better selecting scheduling methods.
19778         Make basesrc ignore length if the subclass does not support
19779         it.
19780
19781 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19782
19783         * gst/Makefile.am:
19784           possible fixes for automake-1.5 - _LIBADD is reserved
19785
19786 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19787
19788         * docs/faq/Makefile.am:
19789         * docs/manual/Makefile.am:
19790         * docs/manuals.mak:
19791         * docs/pwg/Makefile.am:
19792         * gst/Makefile.am:
19793           possible fixes for automake-1.5
19794
19795 2005-04-28  Wim Taymans  <wim@fluendo.com>
19796
19797         * gst/base/gstbasesink.c: (gst_basesink_base_init),
19798         (gst_basesink_pad_getcaps), (gst_basesink_init),
19799         (gst_basesink_do_sync):
19800         * gst/gstclock.c: (gst_clock_entry_new):
19801         * gst/gstevent.c: (gst_event_discont_get_value):
19802         * gst/gstpipeline.c: (pipeline_bus_handler),
19803         (gst_pipeline_change_state):
19804         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
19805         Better debugging of clocking info.
19806         Allow NULL values when getting discont values.
19807
19808 2005-04-27  Wim Taymans  <wim@fluendo.com>
19809
19810         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19811         * check/gst/gstpad.c: (gst_pad_suite):
19812         Increase timeout for checks.
19813
19814 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19815
19816         * check/Makefile.am:
19817           fix the broken rule for cleanup.  Apparently this rule is
19818           only needed on FC2, so maybe this warrants further autotool
19819           inspection.
19820
19821 2005-04-26  Wim Taymans  <wim@fluendo.com>
19822
19823         * gst/gsttrashstack.h:
19824         Ooohh. a nasty one! After having a failed pop() from the stack,
19825         it's possible that the stack is empty. In that case, don't
19826         follow the NULL pointer.
19827
19828 2005-04-25  Wim Taymans  <wim@fluendo.com>
19829
19830         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19831         (gst_pad_set_checkgetrange_function),
19832         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
19833         (gst_pad_check_pull_range), (gst_pad_pull_range),
19834         (gst_static_pad_template_get_caps), (gst_pad_start_task),
19835         (gst_pad_pause_task), (gst_pad_stop_task):
19836         * gst/gstplugin.c: (gst_plugin_load):
19837         * gst/gstplugin.h:
19838         Remove gst_library_load as it does more harm than good with
19839         the new g_module flags.
19840         Revert bogus caps template check in pad linking, pad caps
19841         are important when linking not the template, which is more
19842         general than the current caps.
19843
19844 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19845
19846         * gst/autoplug/.cvsignore:
19847         * gst/autoplug/Makefile.am:
19848         * gst/autoplug/gstsearchfuncs.c:
19849         * gst/autoplug/gstsearchfuncs.h:
19850         * gst/autoplug/gstspider.c:
19851         * gst/autoplug/gstspider.h:
19852         * gst/autoplug/gstspideridentity.c:
19853         * gst/autoplug/gstspideridentity.h:
19854         * gst/autoplug/spidertest.c:
19855           Die, spider, die.
19856
19857 2005-04-25  Wim Taymans  <wim@fluendo.com>
19858
19859         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19860         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
19861         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
19862         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
19863         * gst/gstpad.h:
19864         Added stubs for unimplemented functions. 
19865
19866 2005-04-24  David Schleef  <ds@schleef.org>
19867
19868         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
19869         please fix.
19870
19871 2005-04-24  David Schleef  <ds@schleef.org>
19872
19873         Convert everything from GstAtomicInt to g_atomic_int_*, and
19874         remove gstatomic.
19875         * gst/Makefile.am:
19876         * gst/gstatomic.c:
19877         * gst/gstatomic.h:
19878         * gst/gstatomic_impl.h:
19879         * gst/gstbuffer.c:
19880         * gst/gstcaps.c:
19881         * gst/gstcaps.h:
19882         * gst/gstclock.c:
19883         * gst/gstclock.h:
19884         * gst/gstdata.c:
19885         * gst/gstdata.h:
19886         * gst/gstdata_private.h:
19887         * gst/gstevent.c:
19888         * gst/gstinfo.c:
19889         * gst/gstinfo.h:
19890         * gst/gstmessage.c:
19891         * gst/gstobject.c:
19892         * gst/gstobject.h:
19893         * gst/gststructure.c:
19894         * gst/gststructure.h:
19895         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
19896         * gst/gstutils.h:
19897
19898 2005-04-24  David Schleef  <ds@schleef.org>
19899
19900         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
19901         make the regressions tests work.  Remove some code that is no
19902         longer true.
19903         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
19904         Disable warning for pads without templates.
19905
19906 2005-04-24  David Schleef  <ds@schleef.org>
19907
19908         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
19909         functions that handle filtered links.
19910         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
19911         removed functions.
19912         * gst/gstutils.c: Fix/remove utility functions that handle
19913         filtered caps.
19914         * gst/gstutils.h:
19915         * gst/gstvalue.c: Add serialization/deserialization of caps
19916         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
19917         requires fixing so that the filter caps notation creates
19918         a capsfilter element and sets the filter_caps property.  I
19919         think everyone probably wants to keep the shorthand notation.
19920         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
19921         * docs/gst/tmpl/gstpad.sgml:
19922
19923         * gst/elements/gstelements.c: Register capsfilter element.
19924         * gst/Makefile.am: fix spacing
19925         * docs/random/ds/0.9-suggested-changes: random
19926
19927 2005-04-23  David Schleef  <ds@schleef.org>
19928
19929         * gst/elements/Makefile.am:
19930         * gst/elements/gstcapsfilter.c: New element that acts like an
19931         identity, but filters caps.  Will eventually replace filtered
19932         caps in pad linking.
19933         * gst/gstutils.c: (gst_element_create_all_pads): New function
19934         to create all the ALWAYS pads that are registered with an
19935         element class.  This functionality should eventually be
19936         merged in with GstElement initialization.
19937         * gst/gstutils.h:
19938         * testsuite/trigger/README: part of trigger test code that should
19939         have been checked in a long time ago.
19940
19941 2005-04-23  David Schleef  <ds@schleef.org>
19942
19943         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
19944         needed with new versions of libtool (nobody will confirm this),
19945         and hard to carry around.
19946         * gst/autoplug/Makefile.am:
19947         * gst/base/Makefile.am:
19948         * gst/elements/Makefile.am:
19949         * gst/indexers/Makefile.am:
19950         * gst/schedulers/Makefile.am:
19951         * libs/gst/bytestream/Makefile.am:
19952         * libs/gst/control/Makefile.am:
19953         * libs/gst/dataprotocol/Makefile.am:
19954         * libs/gst/getbits/Makefile.am:
19955
19956 2005-04-21  Wim Taymans  <wim@fluendo.com>
19957
19958         * docs/design/draft-push-pull.txt:
19959         * docs/design/part-MT-refcounting.txt:
19960         * docs/design/part-TODO.txt:
19961         * docs/design/part-caps.txt:
19962         * docs/design/part-events.txt:
19963         * docs/design/part-gstbus.txt:
19964         * docs/design/part-gstpipeline.txt:
19965         * docs/design/part-messages.txt:
19966         * docs/design/part-push-pull.txt:
19967         * docs/design/part-query.txt:
19968         Some more docs.
19969
19970 2005-04-21  Wim Taymans  <wim@fluendo.com>
19971
19972         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
19973         (gst_message_new), (gst_message_new_error),
19974         (gst_message_new_warning), (gst_message_new_tag),
19975         (gst_message_new_state_changed), (gst_message_new_application),
19976         (gst_message_get_structure):
19977         * gst/gstmessage.h:
19978         * gst/gststructure.c: (gst_structure_set_parent_refcount),
19979         (gst_structure_copy_conditional):
19980         Use parent refcount in GstMessage to ensure GstStructure
19981         consistency.
19982         Cleaned up headers a bit.
19983         
19984
19985 2005-04-20  Wim Taymans  <wim@fluendo.com>
19986
19987         * gst/base/gstbasesink.c: (gst_basesink_base_init),
19988         (gst_basesink_pad_getcaps), (gst_basesink_init),
19989         (gst_basesink_chain_unlocked):
19990         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
19991         (gst_type_find_helper):
19992         * gst/elements/gsttypefindelement.c:
19993         (gst_type_find_element_have_type), (gst_type_find_element_init),
19994         (stop_typefinding), (gst_type_find_element_handle_event),
19995         (find_suggest), (gst_type_find_element_chain),
19996         (gst_type_find_element_checkgetrange),
19997         (gst_type_find_element_getrange), (do_typefind),
19998         (gst_type_find_element_activate):
19999         * gst/gstbuffer.c: (_gst_buffer_sub_free),
20000         (gst_buffer_default_free), (gst_buffer_default_copy),
20001         (gst_buffer_set_caps):
20002         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
20003         (gst_caps_replace):
20004         * gst/gstmessage.c: (gst_message_new),
20005         (gst_message_new_state_changed):
20006         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
20007         (gst_pad_set_checkgetrange_function),
20008         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
20009         (gst_pad_set_caps), (gst_pad_check_pull_range),
20010         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
20011         * gst/gstpad.h:
20012         * gst/gsttypefind.c: (gst_type_find_register):
20013         Make gst_caps_replace() work like other _replace() functions.
20014         Use _caps_replace() where possible.
20015         Make sure _message_new() initialises its field.
20016         Add gst_static_pad_template_get_caps()
20017
20018
20019 2005-04-18  Andy Wingo  <wingo@pobox.com>
20020
20021         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
20022         on the peer, not the pad. I think that was a typo. Pass an extra
20023         arg to see if random access is possible. Activate the pads as
20024         PULL_RANGE if possible.
20025
20026         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
20027
20028         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
20029         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
20030         to PROP_....
20031
20032 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20033
20034         * docs/faq/using.xml:
20035           Add note on gstreamer-properties (#154996).
20036
20037 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20038
20039         * docs/random/bbb/optional-properties:
20040           Some analysis on optional properties.
20041
20042 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20043
20044         * docs/gst/tmpl/gstelementfactory.sgml:
20045         * gst/gstelement.h:
20046         * gst/gstelementfactory.c: (gst_element_factory_init),
20047         (gst_element_factory_cleanup), (gst_element_register),
20048         (__gst_element_factory_add_static_pad_template),
20049         (gst_element_factory_get_static_pad_templates),
20050         (gst_element_factory_can_src_caps),
20051         (gst_element_factory_can_sink_caps):
20052         * gst/registries/Makefile.am:
20053         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
20054         (gst_xml_registry_class_init), (gst_xml_registry_init),
20055         (gst_xml_registry_new), (gst_xml_registry_set_property),
20056         (gst_xml_registry_get_property), (get_time), (make_dir),
20057         (gst_xml_registry_get_perms_func),
20058         (plugin_times_older_than_recurse), (plugin_times_older_than),
20059         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
20060         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
20061         (add_to_char_array), (read_string), (read_uint), (read_enum),
20062         (load_pad_template), (load_feature), (load_plugin), (load_paths),
20063         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
20064         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
20065         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
20066         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
20067         (gst_xml_registry_rebuild):
20068         * gst/registries/gstlibxmlregistry.h:
20069         * tools/gst-compprep.c: (main):
20070         * tools/gst-inspect.c: (print_pad_templates_info):
20071         * tools/gst-xmlinspect.c: (print_element_info):
20072           Use libxml2 for registry parsing, use staticpadtemplates in
20073           elementfactories. Makes gst_init() +/- 10x faster.
20074
20075 2005-04-12  Wim Taymans  <wim@fluendo.com>
20076
20077         * gst/base/Makefile.am:
20078         * gst/base/gstbasesink.c: (gst_basesink_base_init),
20079         (gst_basesink_pad_getcaps), (gst_basesink_init),
20080         (gst_basesink_event), (gst_basesink_change_state):
20081         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
20082         (gst_basesrc_init), (gst_basesrc_query),
20083         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
20084         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
20085         (gst_basesrc_check_get_range), (gst_basesrc_loop),
20086         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
20087         (gst_basesrc_stop), (gst_basesrc_activate),
20088         (gst_basesrc_change_state):
20089         * gst/base/gsttypefindhelper.c: (helper_find_peek),
20090         (helper_find_suggest), (gst_type_find_helper):
20091         * gst/base/gsttypefindhelper.h:
20092         * gst/elements/Makefile.am:
20093         * gst/elements/gstelements.c:
20094         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
20095         (gst_fakesink_get_times), (gst_fakesink_event),
20096         (gst_fakesink_preroll), (gst_fakesink_render):
20097         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20098         (gst_fakesrc_init), (gst_fakesrc_event_handler),
20099         (gst_fakesrc_get_property), (gst_fakesrc_create),
20100         (gst_fakesrc_start), (gst_fakesrc_stop):
20101         * gst/elements/gstfakesrc.h:
20102         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
20103         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
20104         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
20105         (gst_filesrc_create_read), (gst_filesrc_create),
20106         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
20107         (gst_filesrc_start):
20108         * gst/elements/gsttypefindelement.c:
20109         (gst_type_find_element_have_type), (gst_type_find_element_init),
20110         (start_typefinding), (stop_typefinding), (push_buffer_store),
20111         (gst_type_find_element_handle_event),
20112         (gst_type_find_element_chain),
20113         (gst_type_find_element_checkgetrange),
20114         (gst_type_find_element_getrange), (do_typefind),
20115         (gst_type_find_element_activate),
20116         (gst_type_find_element_change_state):
20117         * gst/elements/gsttypefindelement.h:
20118         * gst/gstpipeline.c: (pipeline_bus_handler):
20119         Added typefind helper.
20120         Small preroll fix in the base sink.
20121         Disable typefind code in basesrc.
20122         Crude port of typefindelement.
20123         Fakesrc cleanups.
20124
20125
20126 2005-04-11  Wim Taymans  <wim@fluendo.com>
20127
20128         * check/gst/gstbus.c: (gstbus_suite):
20129         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
20130         * check/gstcheck.h:
20131           Fix up the timeout so that the test does not fail.
20132
20133 2005-04-06  Wim Taymans  <wim@fluendo.com>
20134
20135         * gst/base/README:
20136         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
20137         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
20138         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
20139         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
20140         (gst_basesrc_check_get_range), (gst_basesrc_loop),
20141         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
20142         (gst_basesrc_stop), (gst_basesrc_activate),
20143         (gst_basesrc_change_state), (basesrc_find_peek),
20144         (basesrc_find_suggest), (gst_basesrc_type_find):
20145         * gst/base/gstbasesrc.h:
20146         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
20147         (gst_filesrc_class_init), (gst_filesrc_init),
20148         (gst_filesrc_finalize), (gst_filesrc_set_location),
20149         (gst_filesrc_set_property), (gst_filesrc_get_property),
20150         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
20151         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
20152         (gst_filesrc_create_read), (gst_filesrc_create),
20153         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
20154         * gst/elements/gstfilesrc.h:
20155         * gst/gstelement.c: (gst_element_get_state_func),
20156         (gst_element_lost_state), (gst_element_pads_activate):
20157         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
20158         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
20159         (gst_pad_pull_range):
20160         * gst/gstpad.h:
20161         More work on the generic source base class, implement seeking,
20162         query.
20163         Make filesrc extend the base source class.
20164         Added gst_pad_set_checkgetrange_function to GstPad.
20165
20166 2005-04-06  Andy Wingo  <wingo@pobox.com>
20167
20168         * pkgconfig/gstreamer-base.pc.in:
20169         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
20170
20171         * pkgconfig/Makefile.am:
20172         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
20173
20174 2005-04-04  Wim Taymans  <wim@fluendo.com>
20175
20176         * gst/base/Makefile.am:
20177         * gst/base/README:
20178         * gst/base/gstbasesink.c: (gst_basesink_base_init),
20179         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
20180         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
20181         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
20182         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
20183         (gst_basesrc_base_init), (gst_basesrc_class_init),
20184         (gst_basesrc_init), (gst_basesrc_get_formats),
20185         (gst_basesrc_get_query_types), (gst_basesrc_query),
20186         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
20187         (gst_basesrc_set_property), (gst_basesrc_get_property),
20188         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
20189         (gst_basesrc_loop), (gst_basesrc_activate),
20190         (gst_basesrc_change_state):
20191         * gst/base/gstbasesrc.h:
20192         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
20193         (gst_fakesrc_class_init), (gst_fakesrc_init),
20194         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
20195         (gst_fakesrc_get_property), (gst_fakesrc_create):
20196         * gst/elements/gstfakesrc.h:
20197         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
20198         (gst_filesrc_open_file), (gst_filesrc_loop),
20199         (gst_filesrc_activate), (filesrc_find_peek),
20200         (gst_filesrc_type_find):
20201         Made base source class, make fakesrc extend it.
20202         Add comments to basesink class.
20203         Some filesrc cleanup.
20204
20205 2005-03-31  David Schleef  <ds@schleef.org>
20206
20207         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
20208         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
20209         expected to link against libgstreamer.
20210         * gst/base/Makefile.am: link against libgstreamer
20211         * gst/elements/Makefile.am: same
20212
20213 2005-03-31  Andy Wingo  <wingo@pobox.com>
20214
20215         * tests/instantiate/Makefile.am:
20216         * tests/instantiate/caps.c: Add test to test speed of caps copy
20217         and free.
20218
20219         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
20220         GMemChunk to be fair.
20221
20222         * gst/gsttrashstack.h: Remove warning about using the fallback
20223         trash stack implementation, it's still faster than malloc.
20224
20225 2005-03-30  Andy Wingo  <wingo@pobox.com>
20226
20227         * tests/complexity.c: Add a copyright.
20228
20229 2005-03-31  Wim Taymans  <wim@fluendo.com>
20230
20231         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
20232         (gst_base_transform_class_init), (gst_base_transform_init),
20233         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20234         (gst_base_transform_get_property),
20235         (gst_base_transform_sink_activate),
20236         (gst_base_transform_src_activate),
20237         (gst_base_transform_change_state):
20238         * gst/base/gstbasetransform.h:
20239         * gst/elements/gstidentity.c: (gst_identity_class_init),
20240         (gst_identity_event), (gst_identity_check_perfect),
20241         (gst_identity_transform), (gst_identity_start),
20242         (gst_identity_stop):
20243         Added start/stop methods to transform base class so subclasses 
20244         don't need to deal with state changes even.
20245
20246 2005-03-31  Wim Taymans  <wim@fluendo.com>
20247
20248         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
20249         (gst_event_new_discontinuous), (gst_event_discont_get_value):
20250         * gst/gstevent.h:
20251         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
20252         (gst_pad_pull_range):
20253         Added rate to the discont event to prepare for variable speed
20254         and reverse playback.
20255
20256 2005-03-29  David Schleef  <ds@schleef.org>
20257
20258         * configure.ac:
20259         * testsuite/trigger/Makefile.am:
20260         * testsuite/trigger/trigger.c: A little example program to show
20261         how trigger-based elements can work.
20262
20263 2005-03-29  Wim Taymans  <wim@fluendo.com>
20264
20265         * gst/base/Makefile.am:
20266         * gst/base/README:
20267         * gst/base/gstbasesink.c: (gst_basesink_get_type),
20268         (gst_basesink_base_init), (gst_basesink_class_init),
20269         (gst_basesink_pad_getcaps), (gst_basesink_init),
20270         (gst_basesink_activate), (gst_basesink_change_state):
20271         * gst/base/gstbasesink.h:
20272         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
20273         (gst_base_transform_base_init), (gst_base_transform_finalize),
20274         (gst_base_transform_class_init), (gst_base_transform_init),
20275         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
20276         (gst_base_transform_event), (gst_base_transform_getrange),
20277         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
20278         (gst_base_transform_set_property),
20279         (gst_base_transform_get_property),
20280         (gst_base_transform_sink_activate),
20281         (gst_base_transform_src_activate),
20282         (gst_base_transform_change_state):
20283         * gst/base/gstbasetransform.h:
20284         * gst/elements/gstidentity.c: (gst_identity_finalize),
20285         (gst_identity_class_init), (gst_identity_init),
20286         (gst_identity_event), (gst_identity_check_perfect),
20287         (gst_identity_transform), (gst_identity_set_property),
20288         (gst_identity_get_property), (gst_identity_change_state):
20289         * gst/elements/gstidentity.h:
20290         * gst/gstelement.c: (gst_element_get_state_func),
20291         (gst_element_lost_state), (gst_element_pads_activate):
20292         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
20293         (gst_pad_check_pull_range), (gst_pad_pull_range):
20294         * gst/gstpad.h:
20295         Simplify pad activation.
20296         Added function to check if pull_range can be performed.
20297         Error out when pulling inactive or flushing pads.
20298         Removed const from refcounted types as it does not make sense.
20299         Simplify pad templates in basesink
20300         Added base class for simple 1-to-1 transforms.
20301         Make identity subclass the base transform.
20302
20303 2005-03-29  Andy Wingo  <wingo@pobox.com>
20304
20305         * docs/libs/gstreamer-libs-overrides.txt: 
20306         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
20307         really don't understand what's going on, but like whatever. I want
20308         green buildbot!
20309
20310         * docs/gst/Makefile.am:
20311         * docs/libs/Makefile.am: Dist the overrides files.
20312
20313         * check/Makefile.am (clean-local): Remove .libs directories.
20314
20315         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
20316         elements to EXTRA_DIST, so po/ files are happy.
20317
20318         * po/POTFILES.in: Er, remove it here.
20319
20320         * po/POTFILES: Remove gstspider.c.
20321
20322         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
20323
20324         * docs/libs/gstreamer-libs-docs.sgml: 
20325         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
20326         bytestream.
20327
20328         * tests/complexity.c (main): Set the length of the preroll queue
20329         on the sinks to prevent a lockup.
20330
20331         * libs/gst/dataprotocol/Makefile.am: 
20332         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
20333         the same as the one in check/gst-libs/gdp.c.
20334
20335         * po/, docs/gst/: Commit automatic changes to docs and po files.
20336
20337         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
20338         the versioned libgstbase.
20339
20340         * check/Makefile.am: Depend on an unversioned gst-register, seems
20341         to make autoconf happier.
20342
20343         * gst/base/Makefile.am: Make libgstbase a versioned lib.
20344
20345 2005-03-28  Wim Taymans  <wim@fluendo.com>
20346
20347         * configure.ac:
20348         * docs/design/part-gstelement.txt:
20349         * docs/design/part-negotiation.txt:
20350         * docs/design/part-preroll.txt:
20351         * docs/design/part-scheduling.txt:
20352         * docs/design/part-states.txt:
20353         * gst/Makefile.am:
20354         * gst/base/Makefile.am:
20355         * gst/base/README:
20356         * gst/base/gstbasesink.c: (gst_basesink_get_template),
20357         (gst_basesink_base_init), (gst_basesink_class_init),
20358         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
20359         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
20360         (gst_basesink_set_pad_functions),
20361         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
20362         (gst_basesink_set_property), (gst_basesink_get_property),
20363         (gst_base_sink_get_template), (gst_base_sink_get_caps),
20364         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
20365         (gst_basesink_preroll_queue_push),
20366         (gst_basesink_preroll_queue_empty),
20367         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
20368         (gst_basesink_event), (gst_basesink_get_times),
20369         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
20370         (gst_basesink_chain_unlocked), (gst_basesink_chain),
20371         (gst_basesink_loop), (gst_basesink_activate),
20372         (gst_basesink_change_state):
20373         * gst/base/gstbasesink.h:
20374         * gst/elements/Makefile.am:
20375         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
20376         (gst_fakesink_class_init), (gst_fakesink_init),
20377         (gst_fakesink_set_property), (gst_fakesink_get_property),
20378         (gst_fakesink_get_times), (gst_fakesink_event),
20379         (gst_fakesink_preroll), (gst_fakesink_render),
20380         (gst_fakesink_change_state):
20381         * gst/elements/gstfakesink.h:
20382         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
20383         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
20384         * gst/gstelement.c: (gst_element_add_pad),
20385         (gst_element_get_state_func), (gst_element_abort_state),
20386         (gst_element_commit_state), (gst_element_lost_state),
20387         (gst_element_set_state), (gst_element_pads_activate):
20388         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
20389         * gst/gstpipeline.c: (gst_pipeline_send_event),
20390         (gst_pipeline_change_state):
20391         Added state change code.
20392         Added/updated docs.
20393         Added sink base class, make fakesink extend the base class.
20394         Small cleanups in GstPipeline.
20395
20396 2005-03-26  David Schleef  <ds@schleef.org>
20397
20398         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
20399         is broken and should be implemented in a different library.
20400         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
20401         * gst/gst.h: remove gstcpu.h
20402         * gst/gstcpu.c: remove
20403         * gst/gstcpu.h: remove
20404         * gst/Makefile.am.future: Remove this file.  It's ancient.
20405
20406 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20407
20408         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
20409         (gst_bin_send_event):
20410           Add default event/set_manager handlers. The set_manager handler
20411           takes care that the manager is distributed over kids that were
20412           already in the bin before the manager was set. The event handler
20413           is a utility virtual function that sends the event over all sinks,
20414           so that gst_element_send_event (bin, event); has the expected
20415           behaviour.
20416         * gst/gstpad.c: (gst_pad_event_default):
20417           Re-install default event handling for discontinuities, so that
20418           seeking works without requiring hacks in applications or extra
20419           code in sinks.
20420         * gst/gstpipeline.c: (gst_pipeline_class_init),
20421         (gst_pipeline_send_event):
20422           Half hack, half utility: set a pipeline to PAUSED for seek events,
20423           since that is the only way we can guarantee a/v sync. Means that
20424           you can do gst_element_seek (pipeline, method, pos); on a pipeline
20425           and it "just works".
20426
20427 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20428
20429         * gst/gstpipeline.c: (gst_pipeline_use_clock):
20430           Lock/unlock mismatch.
20431
20432 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20433
20434         * docs/faq/gst-uninstalled:
20435           add gst-plugins-base
20436         * docs/gst/Makefile.am:
20437           don't error out until docs are fixed
20438         * docs/gst/gstreamer.types:
20439           remove thread
20440
20441 2005-03-22  Wim Taymans  <wim@fluendo.com>
20442
20443         * check/Makefile.am:
20444         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
20445         * gst/gststructure.c: (gst_structure_set_valist),
20446         (gst_structure_copy_conditional):
20447         Activated more tests.
20448         Added message test.
20449         Added G_TYPE_POINTER to GstStructure.
20450         
20451
20452 2005-03-22  Wim Taymans  <wim@fluendo.com>
20453
20454         * docs/design/part-TODO.txt:
20455         * docs/design/part-events.txt:
20456         * docs/design/part-gstbin.txt:
20457         * docs/design/part-gstbus.txt:
20458         * docs/design/part-gstpipeline.txt:
20459         * docs/design/part-messages.txt:
20460         * gst/gstbus.c:
20461         * gst/gstmessage.c:
20462         Docs updates
20463
20464 2005-03-21  Wim Taymans  <wim@fluendo.com>
20465
20466         * gst/gstbus.c: (gst_bus_post):
20467         Fix copy-and-paste error.
20468
20469 2005-03-21  Wim Taymans  <wim@fluendo.com>
20470
20471         * check/Makefile.am:
20472         * gst/Makefile.am:
20473         * gst/elements/Makefile.am:
20474         * gst/elements/gstelements.c:
20475         * gst/elements/gstfakesink.c: (gst_fakesink_init),
20476         (gst_fakesink_event), (gst_fakesink_chain):
20477         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20478         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
20479         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
20480         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
20481         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
20482         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
20483         (gst_fakesrc_loop), (gst_fakesrc_activate),
20484         (gst_fakesrc_change_state):
20485         * gst/elements/gstfakesrc.h:
20486         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
20487         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
20488         (gst_filesrc_open_file), (gst_filesrc_loop),
20489         (gst_filesrc_activate), (gst_filesrc_change_state),
20490         (filesrc_find_peek), (filesrc_find_suggest),
20491         (gst_filesrc_type_find):
20492         * gst/elements/gstidentity.c: (gst_identity_finalize),
20493         (gst_identity_class_init), (gst_identity_init),
20494         (gst_identity_proxy_getcaps), (identity_queue_push),
20495         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
20496         (gst_identity_getrange), (gst_identity_chain),
20497         (gst_identity_sink_loop), (gst_identity_src_loop),
20498         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
20499         (gst_identity_set_property), (gst_identity_get_property),
20500         (gst_identity_change_state):
20501         * gst/elements/gstidentity.h:
20502         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
20503         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
20504         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
20505         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
20506         (gst_tee_sink_activate):
20507         * gst/elements/gsttee.h:
20508         * gst/gst.c: (gst_register_core_elements), (init_post):
20509         * gst/gst.h:
20510         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
20511         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
20512         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
20513         (gst_bin_change_state):
20514         * gst/gstbin.h:
20515         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
20516         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
20517         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
20518         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
20519         (gst_bus_set_sync_handler), (gst_bus_create_watch),
20520         (bus_watch_callback), (bus_watch_destroy),
20521         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
20522         (poll_timeout), (gst_bus_poll):
20523         * gst/gstbus.h:
20524         * gst/gstcaps.h:
20525         * gst/gstdata.h:
20526         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
20527         (gst_element_post_message), (gst_element_message_full),
20528         (gst_element_get_state_func), (gst_element_get_state),
20529         (gst_element_abort_state), (gst_element_commit_state),
20530         (gst_element_lost_state), (gst_element_set_state),
20531         (gst_element_pads_activate), (gst_element_change_state),
20532         (gst_element_dispose), (gst_element_set_manager_func),
20533         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
20534         (gst_element_set_manager), (gst_element_get_manager),
20535         (gst_element_set_bus), (gst_element_get_bus),
20536         (gst_element_set_scheduler), (gst_element_get_scheduler):
20537         * gst/gstelement.h:
20538         * gst/gstevent.c: (gst_event_new_segment_seek),
20539         (gst_event_new_flush):
20540         * gst/gstevent.h:
20541         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
20542         (_gst_message_free), (gst_message_get_type), (gst_message_new),
20543         (gst_message_new_eos), (gst_message_new_error),
20544         (gst_message_new_warning), (gst_message_new_tag),
20545         (gst_message_new_state_changed), (gst_message_new_application),
20546         (gst_message_get_structure), (gst_message_parse_tag),
20547         (gst_message_parse_state_changed), (gst_message_parse_error),
20548         (gst_message_parse_warning):
20549         * gst/gstmessage.h:
20550         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
20551         (gst_real_pad_set_property), (gst_pad_set_active),
20552         (gst_pad_is_active), (gst_pad_set_blocked_async),
20553         (gst_pad_set_blocked), (gst_pad_is_blocked),
20554         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
20555         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
20556         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
20557         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
20558         (gst_pad_link_filtered), (gst_pad_relink_filtered),
20559         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
20560         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
20561         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
20562         (gst_pad_set_caps), (gst_pad_configure_sink),
20563         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
20564         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
20565         (gst_real_pad_dispose), (gst_real_pad_finalize),
20566         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
20567         (gst_pad_event_default_dispatch), (gst_pad_event_default),
20568         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
20569         * gst/gstpad.h:
20570         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
20571         (pipeline_bus_handler), (gst_pipeline_change_state),
20572         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
20573         * gst/gstpipeline.h:
20574         * gst/gstprobe.h:
20575         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
20576         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
20577         (gst_queue_link_src), (gst_queue_bufferalloc),
20578         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
20579         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
20580         (gst_queue_loop), (gst_queue_handle_src_event),
20581         (gst_queue_handle_src_query), (gst_queue_src_activate),
20582         (gst_queue_change_state):
20583         * gst/gstqueue.h:
20584         * gst/gstscheduler.c: (gst_scheduler_init),
20585         (gst_scheduler_dispose), (gst_scheduler_create_task),
20586         (gst_scheduler_factory_create):
20587         * gst/gstscheduler.h:
20588         * gst/gststructure.c: (gst_structure_get_type),
20589         (gst_structure_copy_conditional):
20590         * gst/gststructure.h:
20591         * gst/gsttaginterface.h:
20592         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
20593         (gst_task_init), (gst_task_dispose), (gst_task_create),
20594         (gst_task_get_state), (gst_task_start), (gst_task_stop),
20595         (gst_task_pause):
20596         * gst/gsttask.h:
20597         * gst/gstthread.c:
20598         * gst/gstthread.h:
20599         * gst/gsttypes.h:
20600         * gst/schedulers/Makefile.am:
20601         * gst/schedulers/cothreads_compat.h:
20602         * gst/schedulers/entryscheduler.c:
20603         * gst/schedulers/faircothreads.c:
20604         * gst/schedulers/faircothreads.h:
20605         * gst/schedulers/fairscheduler.c:
20606         * gst/schedulers/gstbasicscheduler.c:
20607         * gst/schedulers/gstoptimalscheduler.c:
20608         * gst/schedulers/gthread-cothreads.h:
20609         * gst/schedulers/threadscheduler.c:
20610         (gst_thread_scheduler_task_get_type),
20611         (gst_thread_scheduler_task_class_init),
20612         (gst_thread_scheduler_task_init),
20613         (gst_thread_scheduler_task_start),
20614         (gst_thread_scheduler_task_stop),
20615         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
20616         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
20617         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
20618         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
20619         (plugin_init):
20620         * libs/gst/Makefile.am:
20621         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
20622         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
20623         (gst_file_pad_parent_set):
20624         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20625         (gst_dp_event_from_packet):
20626         * tests/complexity.c: (main):
20627         * tests/mass_elements.c: (main):
20628         * testsuite/states/locked.c: (message_received), (main):
20629         * testsuite/states/parent.c: (main):
20630         * tools/gst-inspect.c: (print_element_flag_info),
20631         (print_implementation_info), (print_pad_info):
20632         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
20633         (main):
20634         * tools/gst-md5sum.c: (event_loop), (main):
20635         * tools/gst-typefind.c: (main):
20636         * tools/gst-xmlinspect.c: (print_element_info):
20637         Next big merge.
20638         Added GstBus for mainloop integration.
20639         Added GstMessage for sending notifications on the bus.
20640         Added GstTask as an abstraction for pipeline entry points.
20641         Removed GstThread.
20642         Removed Schedulers.
20643         Simplified GstQueue for multithreaded core.
20644         Made _link threadsafe, removed old capsnego.
20645         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
20646         Added pad blocking functions.
20647         Reworked scheduling functions in GstPad to prepare for
20648         scheduling updates soon.
20649         Moved events out of data stream.
20650         Simplified GstEvent types.
20651         Added return values to push/pull.
20652         Removed clocking from GstElement.
20653         Added prototypes for state change function for next merge.
20654         Removed iterate from bins and state change management.
20655         Fixed some elements, disabled others for now.
20656         Fixed -inspect and -launch.
20657         Added check for GstBus.
20658
20659 2005-03-10  Wim Taymans  <wim@fluendo.com>
20660
20661         * docs/design/part-MT-refcounting.txt:
20662         * docs/design/part-clocks.txt:
20663         * docs/design/part-gstelement.txt:
20664         * docs/design/part-gstobject.txt:
20665         * docs/design/part-standards.txt:
20666         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
20667         (gst_bin_remove_func), (gst_bin_remove):
20668         * gst/gstbin.h:
20669         * gst/gstbuffer.c:
20670         * gst/gstcaps.h:
20671         * testsuite/clock/clock1.c: (main):
20672         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
20673         (main):
20674         * testsuite/dlopen/loadgst.c: (do_test):
20675         * testsuite/refcounting/bin.c: (add_remove_test1),
20676         (add_remove_test2), (main):
20677         * testsuite/refcounting/element.c: (main):
20678         * testsuite/refcounting/element_pad.c: (main):
20679         * testsuite/refcounting/pad.c: (main):
20680         * tools/gst-launch.c: (sigint_handler_sighandler):
20681         * tools/gst-typefind.c: (main):
20682         Doc updates.
20683         Added doc about clock.
20684         removed gst_bin_iterate_recurse_up(), marked methods
20685         for removal.
20686         Fix more testsuites.
20687
20688 2005-03-09  Wim Taymans  <wim@fluendo.com>
20689
20690         * gst/gstpad.c: (gst_pad_get_direction),
20691         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
20692         (gst_pad_collect_valist):
20693         * testsuite/bins/interface.c: (main):
20694         * testsuite/caps/audioscale.c: (test_caps):
20695         * testsuite/caps/caps.c: (test1), (test2), (test3):
20696         * testsuite/caps/deserialize.c: (main):
20697         * testsuite/caps/enumcaps.c: (main):
20698         * testsuite/caps/filtercaps.c: (main):
20699         * testsuite/caps/intersect2.c: (main):
20700         * testsuite/caps/random.c: (main):
20701         * testsuite/caps/renegotiate.c: (my_fixate), (main):
20702         * testsuite/caps/sets.c: (check_caps):
20703         * testsuite/caps/simplify.c: (check_caps), (main):
20704         * testsuite/caps/subtract.c: (check_caps):
20705         Fix _pad_get_direction wrt ghostpads.
20706         Fix caps testsuite.
20707
20708 2005-03-09  Wim Taymans  <wim@fluendo.com>
20709
20710         * check/Makefile.am:
20711         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
20712         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
20713         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
20714         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
20715         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
20716         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
20717         (gst_bin_remove), (gst_bin_iterate_recurse_up),
20718         (bin_element_is_sink), (gst_bin_iterate_sinks),
20719         (gst_bin_iterate_all_by_interface):
20720         * gst/gstbin.h:
20721         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
20722         (gst_element_change_state), (gst_element_dispose),
20723         (gst_element_finalize), (gst_element_set_loop_function):
20724         * gst/gstelement.h:
20725         * gst/gstiterator.c: (find_custom_fold_func):
20726         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
20727         (gst_pad_collectv), (gst_pad_collect_valist),
20728         (gst_pad_template_new):
20729         * gst/gstpipeline.c: (gst_pipeline_class_init),
20730         (gst_pipeline_dispose), (gst_pipeline_set_property),
20731         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
20732         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
20733         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
20734         * gst/gstutils.h:
20735         * gst/schedulers/entryscheduler.c:
20736         * gst/schedulers/gstbasicscheduler.c:
20737         (gst_basic_scheduler_cothreaded_chain),
20738         (gst_basic_scheduler_chain_add_element):
20739         * testsuite/bins/interface.c: (main):
20740         Added GstBin test.
20741         Added GstSystemClock test.
20742         Implemented clock distribution code in GstBin.
20743         Implemented iterate sinks method for future use.
20744         Rearranged gstelement.h
20745         Fix GstIterator comparison bug.
20746         Moved some code to GstPipeline, mostly clocking related.
20747
20748 2005-03-09  Wim Taymans  <wim@fluendo.com>
20749
20750         * configure.ac:
20751         * gst/gst_private.h:
20752         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
20753         (gst_bin_remove_func), (gst_bin_remove),
20754         (gst_bin_get_by_name_recurse_up):
20755         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
20756         (gst_clock_id_compare_func), (gst_clock_id_wait),
20757         (gst_clock_id_wait_async), (gst_clock_init),
20758         (gst_clock_adjust_unlocked), (gst_clock_get_time):
20759         * gst/gstelement.h:
20760         * gst/gstinfo.c: (_gst_debug_init):
20761         * gst/gstobject.h:
20762         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
20763         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
20764         * gst/gstpad.h:
20765         Bump version number, we're now 0.9.0
20766         Add future debugging category.
20767         Fix NULL _unref() in _get_by_name_recurse_up
20768         Rearrange gstpad.h.
20769         Update some docs.
20770
20771 2005-03-08  Wim Taymans  <wim@fluendo.com>
20772
20773         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
20774         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
20775         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
20776         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
20777         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
20778         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
20779         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
20780         * gst/elements/gstidentity.c: (gst_identity_class_init):
20781         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
20782         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
20783         * gst/elements/gstshaper.c: (gst_shaper_class_init):
20784         * gst/elements/gststatistics.c: (gst_statistics_class_init):
20785         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
20786         (gst_tee_link):
20787         * gst/gstelement.c: (gst_element_class_init),
20788         (gst_element_base_class_init), (gst_element_init),
20789         (gst_element_get_random_pad), (gst_element_wait_state_change),
20790         (gst_element_change_state), (gst_element_dispose),
20791         (gst_element_finalize), (gst_element_set_loop_function):
20792         * gst/gstelement.h:
20793         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
20794         * gst/gstthread.c: (gst_thread_class_init),
20795         (gst_thread_release_children_locks), (gst_thread_change_state):
20796         * gst/schedulers/gstbasicscheduler.c:
20797         (gst_basic_scheduler_loopfunc_wrapper),
20798         (gst_basic_scheduler_chain_wrapper),
20799         (gst_basic_scheduler_src_wrapper),
20800         (gst_basic_scheduler_remove_element):
20801         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
20802         Remove threadsafe properties. Fix elements because GObject
20803         complains when installing a property before declaring a
20804         set/get_property handler.
20805         Rearrange gstelement.h file, use STATE macros for state locks.
20806         Free mutexes in the finalize method instead of dispose.
20807
20808 2005-03-08  Wim Taymans  <wim@fluendo.com>
20809
20810         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
20811         * gst/gstthread.c: (gst_thread_release_children_locks):
20812         Added parentage check.
20813         Fix build og GstThread again.
20814
20815 2005-03-08  Wim Taymans  <wim@fluendo.com>
20816
20817         * docs/design/part-MT-refcounting.txt:
20818         * docs/design/part-conventions.txt:
20819         * docs/design/part-gstobject.txt:
20820         * docs/design/part-relations.txt:
20821         * docs/design/part-standards.txt:
20822         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
20823         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
20824         (gst_bin_get_by_name), (gst_bin_get_by_interface),
20825         (gst_bin_iterate_all_by_interface):
20826         * gst/gstbuffer.h:
20827         * gst/gstclock.h:
20828         * gst/gstelement.c: (gst_element_class_init),
20829         (gst_element_change_state), (gst_element_set_loop_function):
20830         * gst/gstelement.h:
20831         * gst/gstiterator.c:
20832         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
20833         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
20834         (gst_object_dispatch_properties_changed), (gst_object_set_name),
20835         (gst_object_set_parent), (gst_object_unparent),
20836         (gst_object_check_uniqueness):
20837         * gst/gstobject.h:
20838         Docs updates, clean up some headers.
20839
20840 2005-03-07  Wim Taymans  <wim@fluendo.com>
20841
20842         * check/.cvsignore:
20843         * check/Makefile.am:
20844         * check/gst-libs/.cvsignore:
20845         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
20846         * check/gst/.cvsignore:
20847         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
20848         (START_TEST), (gstbus_suite), (main):
20849         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
20850         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
20851         (gst_data_suite), (main):
20852         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
20853         (add_fold_func), (gstiterator_suite), (main):
20854         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
20855         (thread_name_object), (thread_name_object_default),
20856         (gst_object_name_compare), (gst_object_suite), (main):
20857         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
20858         (gst_pad_suite), (main):
20859         * check/gstcheck.c: (gst_check_log_message_func),
20860         (gst_check_log_critical_func), (gst_check_init):
20861         * check/gstcheck.h:
20862         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20863         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
20864         Added checks.
20865
20866 2005-03-07  Wim Taymans  <wim@fluendo.com>
20867
20868         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
20869         (gst_list_iterator_next), (gst_list_iterator_resync),
20870         (gst_list_iterator_free), (gst_iterator_new_list),
20871         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
20872         (gst_iterator_free), (gst_iterator_push), (filter_next),
20873         (filter_resync), (filter_uninit), (filter_free),
20874         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
20875         (gst_iterator_foreach), (find_custom_fold_func),
20876         (gst_iterator_find_custom):
20877         * gst/gstiterator.h:
20878         Added missing files.
20879
20880 2005-03-07  Wim Taymans  <wim@fluendo.com>
20881
20882         * Makefile.am:
20883         * configure.ac:
20884         * docs/design/part-MT-refcounting.txt:
20885         * docs/design/part-conventions.txt:
20886         * docs/design/part-gstobject.txt:
20887         * docs/design/part-relations.txt:
20888         * examples/mixer/mixer.c: (main):
20889         * examples/thread/thread.c: (eos), (main):
20890         * gst/Makefile.am:
20891         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
20892         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
20893         (gst_spider_plug_from_srcpad):
20894         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
20895         (gst_spider_identity_change_state),
20896         (gst_spider_identity_sink_loop_type_finding):
20897         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
20898         * gst/elements/gstidentity.c: (gst_identity_init):
20899         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
20900         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
20901         * gst/elements/gsttypefindelement.c: (free_entry):
20902         * gst/gst.c:
20903         * gst/gst.h:
20904         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
20905         (gst_bin_set_clock_func), (gst_bin_auto_clock),
20906         (gst_bin_set_index), (gst_bin_set_element_sched),
20907         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
20908         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
20909         (gst_bin_iterate_elements), (iterate_child_recurse),
20910         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
20911         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
20912         (compare_interface), (gst_bin_get_by_interface),
20913         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
20914         * gst/gstbin.h:
20915         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
20916         (gst_buffer_default_free), (gst_buffer_default_copy),
20917         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
20918         (gst_buffer_create_sub):
20919         * gst/gstbuffer.h:
20920         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
20921         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
20922         (gst_caps_unref), (gst_static_caps_get),
20923         (gst_caps_remove_and_get_structure), (gst_caps_append),
20924         (gst_caps_append_structure), (gst_caps_remove_structure),
20925         (gst_caps_copy_nth), (gst_caps_set_simple),
20926         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
20927         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
20928         (gst_caps_structure_intersect_field), (gst_caps_intersect),
20929         (gst_caps_structure_subtract_field), (gst_caps_subtract),
20930         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
20931         (gst_caps_structure_figure_out_union),
20932         (gst_caps_switch_structures), (gst_caps_do_simplify),
20933         (gst_caps_replace), (gst_caps_from_string),
20934         (gst_caps_copy_conditional):
20935         * gst/gstcaps.h:
20936         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
20937         (_gst_clock_id_free), (gst_clock_id_unref),
20938         (gst_clock_id_compare_func), (gst_clock_id_wait),
20939         (gst_clock_id_wait_async), (gst_clock_class_init),
20940         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
20941         (gst_clock_get_time), (gst_clock_set_time_adjust),
20942         (gst_clock_set_property), (gst_clock_get_property):
20943         * gst/gstclock.h:
20944         * gst/gstcompat.h:
20945         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
20946         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
20947         * gst/gstdata.h:
20948         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
20949         (gst_element_requires_clock), (gst_element_provides_clock),
20950         (gst_element_set_clock), (gst_element_clock_wait),
20951         (gst_element_wait), (gst_element_set_time_delay),
20952         (gst_element_is_indexable), (gst_element_add_pad),
20953         (gst_element_add_ghost_pad), (gst_element_remove_pad),
20954         (pad_compare_name), (gst_element_get_static_pad),
20955         (gst_element_request_pad), (gst_element_get_request_pad),
20956         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
20957         (gst_element_class_get_pad_template_list),
20958         (gst_element_class_get_pad_template), (gst_element_error_func),
20959         (gst_element_get_random_pad), (gst_element_get_event_masks),
20960         (gst_element_send_event), (gst_element_seek),
20961         (gst_element_get_query_types), (gst_element_query),
20962         (gst_element_get_formats), (gst_element_convert),
20963         (gst_element_is_locked_state), (gst_element_set_locked_state),
20964         (gst_element_sync_state_with_parent), (gst_element_change_state),
20965         (gst_element_finalize), (gst_element_yield),
20966         (gst_element_interrupt), (gst_element_set_scheduler),
20967         (gst_element_get_scheduler), (gst_element_set_loop_function):
20968         * gst/gstelement.h:
20969         * gst/gstevent.h:
20970         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
20971         (gst_format_get_by_nick), (gst_format_get_details),
20972         (gst_format_iterate_definitions):
20973         * gst/gstformat.h:
20974         * gst/gstindex.c: (gst_index_gtype_resolver):
20975         * gst/gstinfo.c:
20976         * gst/gstinfo.h:
20977         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
20978         (gst_mem_chunk_free):
20979         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
20980         (gst_object_ref), (gst_object_unref), (gst_object_sink),
20981         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
20982         (gst_object_dispatch_properties_changed),
20983         (gst_object_set_name_default), (gst_object_set_name),
20984         (gst_object_get_name), (gst_object_set_name_prefix),
20985         (gst_object_get_name_prefix), (gst_object_set_parent),
20986         (gst_object_get_parent), (gst_object_unparent),
20987         (gst_object_check_uniqueness), (gst_object_save_thyself),
20988         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
20989         (gst_object_set_property), (gst_object_get_property),
20990         (gst_object_get_path_string):
20991         * gst/gstobject.h:
20992         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20993         (gst_real_pad_init), (gst_real_pad_get_property),
20994         (gst_pad_custom_new), (gst_pad_get_direction),
20995         (gst_pad_set_active), (gst_pad_is_active),
20996         (gst_pad_set_event_function), (gst_pad_is_linked),
20997         (gst_pad_link_free), (gst_pad_link_intersect),
20998         (gst_pad_link_fixate), (gst_pad_set_caps),
20999         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
21000         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
21001         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
21002         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
21003         (gst_pad_get_caps), (gst_pad_peer_get_caps),
21004         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
21005         (gst_pad_realize), (gst_pad_get_allowed_caps),
21006         (gst_real_pad_dispose), (gst_real_pad_finalize),
21007         (gst_pad_collectv), (gst_pad_collect_valist),
21008         (gst_pad_template_dispose), (gst_pad_template_new),
21009         (gst_pad_get_internal_links):
21010         * gst/gstpad.h:
21011         * gst/gstpipeline.c: (gst_pipeline_dispose),
21012         (gst_pipeline_change_state):
21013         * gst/gstpipeline.h:
21014         * gst/gstplugin.c:
21015         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
21016         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
21017         * gst/gstpluginfeature.h:
21018         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
21019         * gst/gstquery.c: (_gst_query_type_initialize),
21020         (gst_query_type_register), (gst_query_type_get_by_nick),
21021         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
21022         * gst/gstquery.h:
21023         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
21024         * gst/gstscheduler.c: (gst_scheduler_add_element),
21025         (gst_scheduler_factory_create):
21026         * gst/gststructure.c: (gst_structure_set_parent_refcount),
21027         (gst_structure_free), (gst_structure_set_name),
21028         (gst_structure_id_set_value), (gst_structure_set_value),
21029         (gst_structure_set_valist), (gst_structure_remove_field),
21030         (gst_structure_remove_fields),
21031         (gst_structure_remove_fields_valist),
21032         (gst_structure_remove_all_fields), (gst_structure_foreach),
21033         (gst_structure_map_in_place),
21034         (gst_caps_structure_fixate_field_nearest_int),
21035         (gst_caps_structure_fixate_field_nearest_double):
21036         * gst/gststructure.h:
21037         * gst/gstsystemclock.c: (gst_system_clock_class_init),
21038         (gst_system_clock_init), (gst_system_clock_dispose),
21039         (gst_system_clock_async_thread),
21040         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
21041         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
21042         * gst/gstsystemclock.h:
21043         * gst/gsttag.c: (gst_tag_list_add_value_internal),
21044         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
21045         * gst/gsttaginterface.c:
21046         * gst/gstthread.c: (gst_thread_dispose),
21047         (gst_thread_release_children_locks), (gst_thread_change_state),
21048         (gst_thread_main_loop):
21049         * gst/gsttrashstack.h:
21050         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
21051         * gst/gsttypes.h:
21052         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21053         (gst_element_request_pad), (gst_element_get_pad_from_template),
21054         (gst_element_request_compatible_pad),
21055         (gst_element_get_compatible_pad_filtered),
21056         (gst_element_get_compatible_pad), (gst_element_state_get_name),
21057         (gst_element_link_pads_filtered), (gst_element_link_filtered),
21058         (gst_element_link_many), (gst_element_link),
21059         (gst_element_link_pads), (gst_element_unlink_pads),
21060         (gst_element_unlink_many), (gst_element_unlink),
21061         (gst_pad_can_link_filtered), (gst_pad_can_link),
21062         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
21063         (gst_object_default_error), (gst_bin_add_many),
21064         (gst_bin_remove_many), (gst_element_populate_std_props),
21065         (gst_element_class_install_std_props), (gst_buffer_merge),
21066         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
21067         (link_fold_func), (gst_pad_proxy_setcaps):
21068         * gst/gstutils.h:
21069         * gst/gstvalue.c: (gst_value_deserialize_string):
21070         * gst/parse/grammar.y:
21071         * gst/schedulers/gstbasicscheduler.c:
21072         (gst_basic_scheduler_cothreaded_chain),
21073         (gst_basic_scheduler_chain_recursive_add),
21074         (gst_basic_scheduler_pad_link):
21075         * gst/schedulers/gstoptimalscheduler.c:
21076         (get_group_schedule_function),
21077         (gst_opt_scheduler_state_transition),
21078         (gst_opt_scheduler_add_element), (element_get_reachables_func):
21079         * libs/gst/bytestream/bytestream.c:
21080         * libs/gst/dataprotocol/dataprotocol.c:
21081         (gst_dp_header_from_buffer):
21082         * po/nb.po:
21083         * po/ru.po:
21084         * tests/threadstate/threadstate2.c: (eos):
21085         * tools/gst-compprep.c: (main):
21086         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
21087         (print_pad_info), (print_children_info):
21088         * tools/gst-launch.c: (idle_func), (main):
21089         * tools/gst-md5sum.c: (idle_func), (main):
21090         * tools/gst-xmlinspect.c: (print_element_info):
21091         First THREADED backport attempt, focusing on adding locks and
21092         making sure the API is threadsafe. Needs more work. More docs
21093         follow this week.
21094
21095 2005-02-24  Andy Wingo  <wingo@pobox.com>
21096
21097         * tests/bench-complexity.scm:
21098         * tests/complexity.gnuplot: New files, good for running complexity
21099         benchmarks.
21100
21101         * tests/Makefile.am:
21102         * tests/complexity.c: New test, sets up N elements, at each level
21103         teeing into M streams per element. Eeeenteresting.
21104
21105         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
21106         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
21107         running bench-mass_elements.scm.
21108
21109         * tests/bench-mass_elements.scm: New script, runs mass_elements
21110         for various numbers of identities, outputting the results to a
21111         file. Requires guile 1.6. Just for testing.
21112
21113 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21114
21115         * gst/schedulers/fairscheduler.c:
21116           compile with debug disabled
21117
21118 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
21119
21120         * configure.ac:
21121           hunting season on 0.9 is now OPEN