gst/gsterror.*: Add two new error codes for encrypted content. Fixes #524659.
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
2
3         Based on patch by: Milosz Derezynski <internalerror gmail com>
4
5         * gst/gsterror.c: (_gst_stream_errors_init):
6         * gst/gsterror.h:
7           Add two new error codes for encrypted content. Fixes #524659.
8           API: GST_STREAM_ERROR_DECRYPT
9           API: GST_STREAM_ERROR_DECRYPT_NOKEY
10
11 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
12
13         * gst/gstquery.h:
14           Fix typo.
15
16         * win32/common/libgstreamer.def:
17           Add new functions.
18
19 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
20
21         * plugins/elements/gstidentity.c: (gst_identity_event),
22         (gst_identity_start):
23         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
24         event after processing some data. Fixes bug #526042.
25
26 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
27
28         * docs/gst/gstreamer-sections.txt:
29         * gst/gstquery.c: (gst_query_parse_latency),
30         (gst_query_set_buffering_percent),
31         (gst_query_parse_buffering_percent),
32         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
33         * gst/gstquery.h:
34         Rename _avail -> _range
35         API: gst_query_set_buffering_range
36         API: gst_query_parse_buffering_range
37
38 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
39
40         * docs/design/part-buffering.txt:
41         * gst/gstquark.c:
42         * gst/gstquark.h:
43         * gst/gstquery.c: (gst_query_parse_latency),
44         (gst_query_new_buffering), (gst_query_set_buffering_percent),
45         (gst_query_parse_buffering_percent):
46         * gst/gstquery.h:
47         Add busy field and quark for the buffering query so that the app can
48         only use the query to see if buffering is in progress.
49
50 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
51
52         * docs/gst/gstreamer-sections.txt:
53         * gst/gstmessage.c: (gst_message_set_buffering_stats),
54         (gst_message_parse_buffering_stats):
55         * gst/gstmessage.h:
56         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
57         (gst_query_parse_latency), (gst_query_new_buffering),
58         (gst_query_set_buffering_percent),
59         (gst_query_parse_buffering_percent),
60         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
61         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
62         * gst/gstquery.h:
63         Reorder the message docs and headers for clarity.
64         Add aditional buffering stats API for messages.
65         Add buffering query.
66         Convert some leftover queries to use GstQuark.
67         API: gst_message_set_buffering_stats
68         API: gst_message_parse_buffering_stats
69         API: GST_QUERY_BUFFERING
70         API: GstBufferingMode
71         API: gst_query_new_buffering
72         API: gst_query_set_buffering_percent
73         API: gst_query_parse_buffering_percent
74         API: gst_query_set_buffering_stats
75         API: gst_query_parse_buffering_stats
76
77 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
78
79         * gst/gstmessage.c: (gst_message_new_error),
80         (gst_message_new_warning), (gst_message_new_info),
81         (gst_message_new_buffering), (gst_message_new_state_changed),
82         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
83         (gst_message_new_new_clock), (gst_message_new_segment_start),
84         (gst_message_new_segment_done), (gst_message_new_duration),
85         (gst_message_new_async_start), (gst_message_parse_buffering),
86         (gst_message_parse_state_changed),
87         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
88         (gst_message_parse_new_clock), (gst_message_parse_error),
89         (gst_message_parse_warning), (gst_message_parse_info),
90         (gst_message_parse_segment_start),
91         (gst_message_parse_segment_done), (gst_message_parse_duration),
92         (gst_message_parse_async_start):
93         Use GstQuark for messages.
94
95 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
96
97         * gst/gstquark.c: (_priv_gst_quarks_initialize):
98         * gst/gstquark.h:
99         Add some more quarks needed for messages and queries.
100
101 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
102
103         * docs/design/part-buffering.txt:
104         Remove the "none" buffering mode, STREAM is a good default.
105         Move estimated-time to the avail query, that's when it will be needed.
106         Other small typo fixes and updates.
107
108 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
109
110         * gst/gstindex.c: (gst_index_resolver_get_type):
111           Don't put descriptions into the nick field of a GEnumValue: it's not
112           meant for that and some language bindings rely on the nick field to
113           construct constants and the like. Fixes #526705.
114
115 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
116
117         * NEWS:
118         * RELEASE:
119         * gstreamer.doap:
120           Merge other changes from 0.10.19 release branch.
121
122 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
123
124         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
125
126         * configure.ac:
127         Actually build dlls when cross-compiling with mingw32.
128         Fixes bug #526247.
129
130 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
131
132         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
133
134         * gst/gstpoll.c:
135         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
136
137 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
138
139         * docs/design/draft-latency.txt:
140         Fix typo.
141
142         * docs/design/part-buffering.txt:
143         Update design docs with more buffering ideas.
144
145 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
146
147         * configure.ac:
148           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
149
150 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
151
152         * configure.ac:
153           Revert part that belongs to the preset patch.
154
155 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
156
157         * configure.ac:
158           Add qoutes to the define. Fixes # 525961.
159
160 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
161
162         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
163         (gst_file_index_load), (gst_file_index_add_id),
164         (gst_file_index_get_assoc_entry):
165         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
166         (gst_mem_index_free_id), (gst_mem_index_add_id),
167         (gst_mem_index_index_format):
168         Use GSlice when possible.
169
170 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
171
172         * libs/gst/controller/gstinterpolationcontrolsource.c:
173         (gst_control_point_free),
174         (gst_interpolation_control_source_set_internal):
175         Use GSlice for allocating the control points.
176
177 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
178
179         * plugins/elements/gsttypefindelement.c:
180         (gst_type_find_element_class_init),
181         (gst_type_find_element_set_property),
182         (gst_type_find_element_get_property),
183         (gst_type_find_element_activate):
184         * plugins/elements/gsttypefindelement.h:
185         Cleanup properties.
186         Fix pad leak when peer query fails.
187         We can still typefind when the peer returns -1.
188         Add property to force caps and bypass typefinding. This will be used in
189         uridecodebin.
190         API::force-caps
191
192 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
193
194         * configure.ac:
195         Require GLib 2.12.
196
197         * gst/glib-compat-private.h:
198         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
199         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
200         Unconditionally use GSlice for allocation.
201
202         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
203         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
204         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
205         (gst_structure_free):
206         Use GSlice for allocation.
207
208 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
209
210         * gst/parse/Makefile.am:
211         * gst/parse/grammar.tab.pre.c:
212         * gst/parse/grammar.tab.pre.h:
213         * gst/parse/lex._gst_parse_yy.pre.c:
214         Require a new enough flex and bison and remove the parser hacks to use
215         a pre-regenerated version.
216
217 2008-04-01  Julien Moutte  <julien@fluendo.com>
218
219         patch by: Jason Zhao <E3423C@motorola.com>
220
221         * configure.ac: Add a configure switch to disable option parsing
222         in gst_init.
223         Fixes #522882.
224
225 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
226
227         * configure.ac:
228         * gst/gstregistry.c:
229           MacOS has plugins under .so or under .dylib. Add detection for MacOS
230           and handle this case.
231
232         * gst/gst.c:
233           Add a comment here describing, why we stat each plugin and not try to
234           be smart.
235
236 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
237
238         * libs/gst/base/gstbasetransform.c:
239         (gst_base_transform_prepare_output_buffer):
240         Also unset the GAP flag on buffers if we're working inplace but
241         the element is not GAP-aware.
242
243         Mark a comment as FIXME 0.11.
244
245 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
246
247         * gst/gst.c:
248           Fix type in log message and add one to ease seeing how long registry
249           cache verification takes.
250
251         * gst/gstregistry.c:
252           Only test plugin filenames against G_MODULE_SUFFIX.
253
254 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
255
256         * gst/gstdebugutils.c:
257           Improve handling ghost/proxy pads.
258
259 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
260
261         * docs/gst/gstreamer-sections.txt:
262         * gst/gstpad.c:
263         * gst/gstpad.h:
264           Expose macro to docs and fix link to it.
265
266 2008-03-27  Michael Smith <msmith@fluendo.com>
267
268         * libs/gst/dataprotocol/dataprotocol.c:
269         (gst_dp_packet_from_event_1_0):
270           When calculating GDP body CRC, use the correct pointer. 
271           Fixes part of #522401.
272
273 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
274
275         Patch by: Mark Nauwelaerts <manauw at skynet be>
276
277         * plugins/elements/gstidentity.c: (gst_identity_class_init),
278         (gst_identity_init), (gst_identity_prepare_output_buffer):
279         Identity is not always a passthrough element, it can modify the buffer
280         timestamps when it has a datarate and operates in single-segment mode.
281         We therefore make it an in_place filter with a custom buffer prepare
282         function that conditionally makes the input buffer metadata writable
283         when needed.  Fixes #523985.
284
285 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
286
287         Patch by: Mark Nauwelaerts <manauw at skynet be>
288
289         * gst/gstclock.h:
290         * libs/gst/base/gstbasesrc.h:
291         * libs/gst/base/gstbasetransform.c:
292         * libs/gst/check/gstcheck.c:
293         Small documentation fixes. Fixes #523978.
294
295 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
296
297         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
298         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
299         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
300
301 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
302
303         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
304         (single_queue_underrun_cb):
305         When trying to make room in the queue, bump the max allowed buffers
306         bigger than the current amount of buffers in the queue. this fixes some
307         nasty deadlocks in multiqueue when dynamically changing the limits of
308         the queue.
309
310 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
311
312         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
313
314         * gst/gstcaps.c: (gst_caps_set_simple),
315         (gst_caps_set_simple_valist), (gst_caps_intersect):
316         * gst/gstcaps.h:
317         Constify the field gchar * params in set_simple and friends.
318         Fixes #522326.
319
320 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
321
322         * gst/gstvalue.c: (gst_value_transform_object_string):
323         Transform a GstObject to a more meaningfull string that includes the
324         object type in addition to its name.
325
326 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
327
328         * ChangeLog:
329           ChangeLog surgery to add bugnumber to commit.
330
331 2008-03-23  Rene Stadler  <mail@renestadler.de>
332
333         * libs/gst/base/gstbasetransform.c:
334         (gst_base_transform_set_gap_aware): Fix confusing documentation.
335
336 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
337
338         * gst/gstregistrybinary.c: (gst_registry_binary_write):
339         Rename constant everywhere and don't forget one occurence.
340
341 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
342
343         * gst/gstregistrybinary.c: (gst_registry_binary_write):
344         Align memory to the pointer size even if the architecture allows
345         unaligned memory access. Unaligned memory access usually comes with
346         performance penality.
347
348 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
349
350         * gst/gstregistrybinary.c: (gst_registry_binary_write),
351         (gst_registry_binary_check_magic),
352         (gst_registry_binary_load_pad_template),
353         (gst_registry_binary_load_feature),
354         (gst_registry_binary_load_plugin):
355         Align memory to the pointer size instead of always 32 bit. Fixes
356         unaligned memory accesses on ia64 and friends.
357
358         * gst/gstregistrybinary.h:
359         Bump binary registry format version for this as it changes the
360         format on those architectures that don't have unaligned access
361         and 64 bit pointers.
362
363 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
364
365         * docs/pwg/advanced-dparams.xml:
366         * docs/pwg/building-props.xml:
367         * docs/pwg/other-source.xml:
368         * gst/glib-compat.h:
369         * gst/gstbin.c: (gst_bin_class_init):
370         * gst/gstclock.c: (gst_clock_class_init):
371         * gst/gstindex.c: (gst_index_class_init):
372         * gst/gstobject.c: (gst_object_class_init):
373         * gst/gstpad.c: (gst_pad_class_init):
374         * gst/gstpipeline.c: (gst_pipeline_class_init):
375         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
376         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
377         * libs/gst/base/gstbasetransform.c:
378         (gst_base_transform_class_init):
379         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
380         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
381         (_gst_check_fault_handler_sighandler),
382         (_gst_check_fault_handler_setup), (gst_check_init):
383         * libs/gst/controller/gstcontroller.c:
384         (_gst_controller_class_init):
385         * libs/gst/controller/gstlfocontrolsource.c:
386         (gst_lfo_control_source_class_init):
387         * libs/gst/net/gstnetclientclock.c:
388         (gst_net_client_clock_class_init):
389         * libs/gst/net/gstnettimeprovider.c:
390         (gst_net_time_provider_class_init):
391         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
392         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
393         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
394         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
395         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
396         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
397         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
398         * plugins/elements/gstidentity.c: (gst_identity_class_init):
399         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
400         * plugins/elements/gstqueue.c: (gst_queue_class_init):
401         * plugins/elements/gsttee.c: (gst_tee_class_init):
402         * plugins/elements/gsttypefindelement.c:
403         (gst_type_find_element_class_init):
404         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
405         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
406         use it everywhere for GParamSpecs that use static strings (i.e. all).
407         This gives us less memory usage, fewer allocations and thus less
408         memory defragmentation. Fixes bug #523806.
409
410 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
411
412         * gst/gstminiobject.c: (gst_value_dup_mini_object),
413         (gst_param_spec_mini_object):
414         * gst/gstminiobject.h:
415         * win32/common/libgstreamer.def:
416         * docs/gst/gstreamer-sections.txt:
417         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
418         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
419         GstParamSpecMiniObject into a public header for this.
420
421         This make GstMiniObject a bit more consistent with GObject and makes
422         it possible to extend the param specs.
423
424         gst_value_dup_mini_object is mainly useful for set_property methods.
425
426         Fixes bug #523798.
427
428         * tools/gst-inspect.c: (print_element_properties_info):
429         Print something useful for GstMiniObject properties and not just
430         "unknown type".
431
432 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
433
434         * docs/gst/gstreamer-sections.txt:
435         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
436         (gst_registry_binary_check_magic):
437         * gst/gstregistrybinary.h:
438         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
439         and add it to the (private part) of the docs to fix the build.
440
441 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
442
443         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
444         (gst_registry_binary_check_magic),
445         (gst_registry_binary_read_cache):
446         * gst/gstregistrybinary.h:
447         Don't use GST_MAJORMINOR for the binary registry version. Instead
448         hardcode a value that must be changed whenever the format changes
449         in an incompatible way.
450         Also don't GST_ERROR when there is a version mismatch, just
451         regenerate the registry silently.
452
453 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
454
455         * configure.ac:
456         Back to development - 0.10.18.1
457
458 === release 0.10.18 ===
459
460 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
461
462         * configure.ac:
463           releasing 0.10.18, "So far away"
464
465 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
466
467         * configure.ac:
468         * win32/common/config.h:
469         0.10.17.4 pre-release
470
471 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
472
473         Patch by: Ole André Vadla Ravnås
474             <ole dot andre dot ravnas at tandberg dot com>
475
476         * docs/gst/gstreamer-sections.txt:
477         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
478         (gst_poll_update_winsock_event_mask),
479         (gst_poll_prepare_winsock_active_sets),
480         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
481         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
482         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
483         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
484         (gst_poll_check_ctrl_commands), (gst_poll_wait):
485         * gst/gstpoll.h:
486         * win32/common/libgstreamer.def:
487         Add new function gst_poll_fd_ignored() for improved Windows
488         compatibility.
489         Various minor fixes and cleanups. See #520808.
490
491 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
492
493         * gst/gstindex.c: (gst_index_entry_free):
494         * gst/gstindex.h:
495           Don't free key strings which we don't own. Fixes crash in
496           gst_index_entry_free() (#522741).
497
498         * tests/check/Makefile.am:
499         * tests/check/gst/.cvsignore:
500         * tests/check/gst/gstindex.c: (test_index_entries),
501           (gst_index_suite), (gst_index):
502           Add unit test for the above.
503
504 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
505
506         * win32/common/libgstreamer.def:
507         Remove symbols that were removed recently. Fixes bug #521740.
508
509 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
510
511         * configure.ac:
512         * win32/common/config.h:
513         0.10.17.3 pre-release
514
515 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
516
517         Patch by: Ole André Vadla Ravnås
518             <ole dot andre dot ravnas at tandberg dot com>
519
520         * docs/gst/gstreamer-sections.txt:
521         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
522         (gst_poll_update_winsock_event_mask), (gst_poll_new),
523         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
524         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
525         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
526         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
527         (gst_poll_fd_can_write), (gst_poll_wait),
528         (gst_poll_set_controllable), (gst_poll_restart),
529         (gst_poll_set_flushing):
530         * gst/gstpoll.h:
531         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
532         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
533         (gst_net_time_provider_new):
534         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
535         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
536         * tests/benchmarks/gstpollstress.c: (main):
537         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
538         Remove GstPollMode from the API, it does not make sense to let the
539         application control this.
540         Add support for Win32.
541         Fix the testsuite. Fixes #520671.
542
543 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
544
545         Patch by: Ole André Vadla Ravnås
546             <ole dot andre dot ravnas at tandberg dot com>
547
548         * gst/gstregistrybinary.c:
549         Include io.h for write() and close() when building with MSVC. Fixes
550         bug #520877.
551
552 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
553
554         * configure.ac:
555         * gst/gst_private.h:
556         * gst/gstconfig.h.in:
557         * gst/gstregistry.h:
558         * gst/gstregistrybinary.c:
559         * win32/common/gstconfig.h:
560           Move registry backend API to private headers where we can. Add
561           fixme-0.11 comments for the others. Add stubs for the xml backend when
562           using the binary to ensure they functions exists (they should not be
563           used though). Fixes #520756.
564
565 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
566
567         * configure.ac:
568         * win32/common/config.h:
569         0.10.17.2 prelease
570
571 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
572
573         * gst/gstregistrybinary.c: (gst_registry_binary_write),
574         (gst_registry_binary_read_cache):
575         * gst/gstregistryxml.c: (gst_registry_save):
576         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
577         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
578         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
579         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
580         Switch to using portabl gsize/gssize instead of size_t/ssize_t
581         Fixes #520152
582
583 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
584
585         * gst/gstminiobject.c:
586         Import gst_private.h before any other header that might include other
587         glib headers. This fixes the build on windows using native compilers.
588
589 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
590
591         * win32/common/gstconfig.h:
592           Add here too, just for completeness.
593
594 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
595
596         * configure.ac:
597         * gst/gstconfig.h.in:
598         * gst/gstregistry.h:
599           Fix broken use of config.h-defined preprocessor directive in a public
600           header file. Add a corresponding define to gstconfig.h, since we can't
601           really remove those function declarations from the header file now
602           (or can we? and why are they there in the first place?).
603
604 2008-03-03  Andy Wingo  <wingo@pobox.com>
605
606         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
607         the new warning.
608
609         * gst/gststructure.c (gst_structure_from_string): Warn if
610         structure_from_string didn't consume the whole string, but the
611         caller did not provide an end pointer.
612
613 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
614
615         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
616
617         * gst/gstregistryxml.c: (read_string), (load_feature):
618           Strings allocated by libxml2 should be freed with xmlFree(), not
619           with g_free(). Fixes issues on windows in certain contexts (#519698).
620
621 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
622
623         * gst/gstinterface.c: (gst_element_implements_interface):
624           Don't crash if the element supports the interface queried, but does
625           not implement GstImplementsInterface. Fixes #519584.
626
627         * tests/check/Makefile.am:
628         * tests/check/gst/.cvsignore:
629         * tests/check/gst/gstinterface.c:
630           Add unit test for the above.
631
632 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
633
634         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
635         Small doc update.
636
637 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
638
639         * gst/gstsegment.c: (gst_segment_set_seek),
640         (gst_segment_to_stream_time):
641         Improve some comment.
642         Update variables where it makes more sense.
643
644 2008-02-29  Rene Stadler  <mail@renestadler.de>
645
646         * gst/gsturi.c: (gst_uri_handler_get_protocols):
647         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
648         URIHandlers implemented using language bindings.
649
650 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
651
652         * gst/gstelementfactory.h:
653         * tests/check/elements/fakesink.c:
654         * tests/check/elements/fakesrc.c: (setup_fakesrc):
655         * tests/check/elements/fdsrc.c: (setup_fdsrc):
656         * tests/check/elements/filesink.c: (setup_filesink):
657         * tests/check/elements/filesrc.c: (setup_filesrc):
658         * tests/check/elements/identity.c: (setup_identity):
659         * tests/check/elements/tee.c:
660         * tests/check/generic/sinks.c:
661         * tests/check/generic/states.c: (setup), (teardown):
662         * tests/check/gst/gst.c:
663         * tests/check/gst/gstabi.c:
664         * tests/check/gst/gstbin.c:
665         * tests/check/gst/gstbus.c: (pull_messages):
666         * tests/check/gst/gstcaps.c:
667         * tests/check/gst/gstelement.c:
668         * tests/check/gst/gstevent.c:
669         * tests/check/gst/gstghostpad.c:
670         * tests/check/gst/gstiterator.c:
671         * tests/check/gst/gstmessage.c:
672         * tests/check/gst/gstminiobject.c: (my_foo_init):
673         * tests/check/gst/gstobject.c: (thread_name_object),
674         (gst_object_suite):
675         * tests/check/gst/gstpad.c:
676         * tests/check/gst/gstplugin.c:
677         * tests/check/gst/gstpoll.c:
678         * tests/check/gst/gstquery.c:
679         * tests/check/gst/gstsegment.c:
680         * tests/check/gst/gststructure.c:
681         * tests/check/gst/gstsystemclock.c:
682         * tests/check/gst/gsttask.c:
683         * tests/check/gst/gstutils.c:
684         * tests/check/gst/gstvalue.c:
685         * tests/check/gst/struct_hppa.h:
686         * tests/check/gst/struct_i386.h:
687         * tests/check/gst/struct_ppc32.h:
688         * tests/check/gst/struct_ppc64.h:
689         * tests/check/gst/struct_x86_64.h:
690         * tests/check/libs/adapter.c: (create_and_fill_adapter):
691         * tests/check/libs/basesrc.c:
692         * tests/check/libs/controller.c: (GST_START_TEST):
693         * tests/check/libs/gdp.c:
694         * tests/check/libs/gstnetclientclock.c:
695         * tests/check/libs/gstnettimeprovider.c:
696         * tests/check/libs/libsabi.c:
697         * tests/check/libs/struct_hppa.h:
698         * tests/check/libs/struct_i386.h:
699         * tests/check/libs/struct_ppc32.h:
700         * tests/check/libs/struct_ppc64.h:
701         * tests/check/libs/struct_x86_64.h:
702         * tests/check/pipelines/cleanup.c:
703         * tests/check/pipelines/simple-launch-lines.c:
704         * tests/check/pipelines/stress.c:
705         And correct even more valid sparse warnings.
706
707         * win32/common/libgstreamer.def:
708         Add gst_poll_fd_init to the list of symbols.
709
710 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
711
712         * gst/gstconfig.h.in:
713         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
714         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
715         (gst_check_log_critical_func), (gst_check_drop_buffers),
716         (gst_check_element_push_buffer_list):
717         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
718         (gst_controller_get_type):
719         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
720         (gst_object_get_controller), (gst_object_get_control_source):
721         * libs/gst/controller/gstinterpolationcontrolsource.c:
722         (gst_interpolation_control_source_new):
723         * libs/gst/controller/gstlfocontrolsource.c:
724         (gst_lfo_control_source_new):
725         * libs/gst/dataprotocol/dataprotocol.c:
726         (gst_dp_event_from_packet_0_2):
727         * plugins/elements/gstfdsrc.c:
728         * plugins/elements/gstmultiqueue.c:
729         * plugins/elements/gsttee.c:
730         * plugins/elements/gsttypefindelement.c:
731         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
732         (gst_file_index_add_association):
733         * plugins/indexers/gstmemindex.c:
734         * tests/benchmarks/gstpollstress.c: (mess_some_more):
735         * tests/check/elements/queue.c: (setup_queue):
736         * tests/check/gst/gstpipeline.c:
737         * tests/check/libs/collectpads.c: (setup), (teardown),
738         (gst_collect_pads_suite):
739         * tests/examples/adapter/adapter_test.c:
740         * tests/examples/metadata/read-metadata.c: (make_pipeline):
741         * tests/examples/xml/createxml.c:
742         * tests/examples/xml/runxml.c:
743         * tools/gst-inspect.c:
744         * tools/gst-run.c:
745         Correct all relevant warnings found by the sparse semantic code
746         analyzer. This include marking several symbols static, using
747         NULL instead of 0 for pointers, not using variable sized arrays
748         on the stack, moving variable declarations to the beginning of
749         a block and using "foo (void)" instead of "foo ()" for declarations.
750
751 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
752
753         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
754         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
755         Don't reset GstPollFDs, this is not necessary at all.
756
757         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
758         (delayed_restart), (delayed_control):
759         Use GST_POLL_FD_INIT.
760
761 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
762
763         * gst/gstpoll.c: (gst_poll_fd_init):
764         * gst/gstpoll.h:
765         Added Since tags.
766
767         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
768         Use some more init macros.
769
770 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
771
772         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
773         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
774         Use init macros and functions.
775
776 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
777
778         * docs/gst/gstreamer-sections.txt:
779         * gst/gstpoll.c: (gst_poll_fd_init):
780         * gst/gstpoll.h:
781         Add INIT macro and _init method for initializing the GstPollFD.
782
783 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
784
785         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
786         (gst_fd_sink_update_fd):
787         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
788         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
789         (delayed_restart), (delayed_control):
790         Initialize some uninitialized variables as spotted by valgrind.
791
792 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
793
794         * tests/benchmarks/Makefile.am:
795         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
796         (main):
797         Add poll stress test.
798
799 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
800
801         Patch by: Peter Kjellerstedt <pkj at axis dot com>
802
803         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
804         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
805         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
806         * plugins/elements/gstfdsink.h:
807         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
808         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
809         (gst_fd_src_unlock_stop), (gst_fd_src_create),
810         (gst_fd_src_uri_set_uri):
811         * plugins/elements/gstfdsrc.h:
812         Port to GstPoll. See #505417.
813
814 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
815
816         * win32/common/libgstreamer.def:
817         Add new gst_poll_ symbols to win32 defs.
818
819 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
820
821         * docs/libs/gstreamer-libs-sections.txt:
822         * libs/gst/net/gstnetclientclock.c:
823         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
824         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
825         (gst_net_client_clock_thread), (gst_net_client_clock_start),
826         (gst_net_client_clock_stop), (gst_net_client_clock_new):
827         * libs/gst/net/gstnetclientclock.h:
828         * libs/gst/net/gstnettimeprovider.c:
829         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
830         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
831         (gst_net_time_provider_start), (gst_net_time_provider_stop),
832         (gst_net_time_provider_new):
833         * libs/gst/net/gstnettimeprovider.h:
834         Use a private stuct to not break ABI.
835
836 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
837
838         Patch by: Peter Kjellerstedt <pkj at axis dot com>
839
840         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
841         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
842         (gst_net_client_clock_thread), (gst_net_client_clock_start),
843         (gst_net_client_clock_stop), (gst_net_client_clock_new):
844         * libs/gst/net/gstnetclientclock.h:
845         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
846         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
847         (gst_net_time_provider_start), (gst_net_time_provider_stop),
848         (gst_net_time_provider_new):
849         * libs/gst/net/gstnettimeprovider.h:
850         Massive code removal and cleanups because of GstPoll.
851         Fixes #505417.
852
853 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
854
855         * configure.ac:
856         Add checks for poll, ppoll and pselect.
857
858         * docs/gst/gstreamer-docs.sgml:
859         * docs/gst/gstreamer-sections.txt:
860         Add docs for GstPoll.
861
862         * gst/Makefile.am:
863         * gst/gst.h:
864         * gst/gstpoll.c: (find_index), (selectable_fds),
865         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
866         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
867         (gst_poll_set_mode), (gst_poll_get_mode),
868         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
869         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
870         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
871         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
872         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
873         (gst_poll_fd_can_write), (gst_poll_wait),
874         (gst_poll_set_controllable), (gst_poll_restart),
875         (gst_poll_set_flushing):
876         * gst/gstpoll.h:
877         Add generic poll abstraction. We ideally don't want to have this in core
878         here but in glib intead...
879         This code will be used in various network elements and ultimately for
880         the nanosecond precision monotonic clock (that's why it's here in core).
881         It'll allow us to implement cancelable socket operations for windows too.
882
883         * tests/check/Makefile.am:
884         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
885         (delayed_stop), (delayed_restart), (delayed_flush),
886         (delayed_control), (gst_poll_suite):
887         Add GstPoll unit test.
888
889 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
890
891         * gst/gstfilter.c:
892           Improve documentation of gst_filter_run(). Fixes #518627.
893
894 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
895
896         * docs/README:
897           Add a few lines about the new 'check-inspected-versions' target.
898
899 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
900
901         * tests/check/gst/gstevent.c:
902           Add qos to the event test. Rename tcase/tsuite; is not only about
903           custom events.
904
905 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
906
907         * plugins/elements/gstqueue.c:
908           Ensure that buffer metadata is writeable, before modifying. Spotted by
909           Mike.
910
911 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
912
913         * plugins/elements/gstqueue.c:
914         * plugins/elements/gstqueue.h:
915           When dropping buffers in leaky modes, mark next buffers we sent as
916           DISCONT.
917
918 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
919
920         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
921           Also, if mmap() fails that would be a READ error, not OPEN_READ.
922
923 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
924
925         * plugins/elements/Makefile.am:
926         * plugins/elements/gstbufferstore.c:
927         * plugins/elements/gstbufferstore.h:
928         * plugins/elements/gsttypefindelement.h:
929           Remove GstBufferStore, no idea why we were still building it.
930           It's not used anywhere and superseded by GstAdapter.
931
932         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
933           (gst_file_src_create_mmap):
934         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
935           Printf format fixes for 64-bit integers.
936
937 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
938
939         * configure.ac:
940         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
941         We're not in 0.8 times anymore.
942
943 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
944
945         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
946         (gst_check_element_push_buffer_list):
947         * libs/gst/check/gstcheck.h:
948         Make the declaration in the header for
949         gst_check_element_push_buffer_list match the implementation.
950
951         Fix up spelling, grammar and wording of the documentation in a few
952         places, and add the Since keyword to new API functions.
953         Use g_list_delete_link instead of g_list_remove in
954         gst_check_drop_buffers, since it's immeasurably more efficient.
955
956         * tests/check/elements/fakesrc.c: (GST_START_TEST):
957         Use new gst_check_drop_buffers function where appropriate.
958
959         * win32/common/libgstbase.def:
960         * win32/common/libgstreamer.def:
961         Add new symbols gst_collect_pads_take_buffer, 
962         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
963         exports
964
965         Changelog surgery to add API keyword to new gst_check API.
966
967 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
968
969         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
970         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
971         Update pre-generated flex files with flex 2.3.34.
972
973 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
974
975         * gst/gstminiobject.c:
976           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
977           friendly to subclasses and not require them to know all internals
978           of their parent class.
979
980 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
981
982         * docs/libs/gstreamer-libs-sections.txt:
983         * libs/gst/base/gstcollectpads.c:
984         * libs/gst/base/gstcollectpads.h:
985           Add sub-buffer functions to collectpads. Fixes #516187.
986           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
987
988 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
989
990         * gst/gstbuffer.c:
991           Copy selected buffer-flags when creating subbuffers.
992           Fixes #516395.
993
994 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
995
996         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
997         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
998         * gst/gstmessage.c: (gst_message_class_init),
999         (gst_message_finalize):
1000         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
1001         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
1002         (gst_mmap_buffer_finalize):
1003         Properly chain up finalize functions to the parent class.
1004
1005 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
1006
1007         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
1008
1009         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
1010         (gst_index_set_resolver_full):
1011         * gst/gstindex.h:
1012         Add new function with option to dispose of user_data in resolver.
1013         Actually call the dispose function when finalizing the object and not
1014         just when changing the resolver/filter.
1015         API: GstIndex::gst_index_set_resolver_full()
1016
1017         * docs/gst/gstreamer-sections.txt:
1018         Add new function to docs. Fixes #515469.
1019
1020 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
1021
1022         * gst/gstindex.c: (gst_index_finalize):
1023         Chain up finalize to the parent class. Fixes leaking the GstObject
1024         name and other things.
1025
1026 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
1027
1028         * configure.ac:
1029         Make DISABLE_DEPRECATED defined *only* during CVS, not during
1030         pre-releases or releases.
1031
1032         * docs/faq/gst-uninstalled:
1033         Add gst-plugins-gl
1034
1035         * docs/random/release:
1036         Change one of the steps - we only upload core & base to Gnome FTP
1037
1038 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
1039
1040         * gst/gstconfig.h.in:
1041           Add 'id' for example.
1042
1043         * gst/gstpad.c:
1044         * gst/gstutils.c:
1045         * plugins/elements/gstfdsink.c:
1046           Link to signals. Doc and comment fixes.
1047
1048 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
1049
1050         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
1051         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
1052           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
1053           unused and unimplemented; finally, it is plugin features, not
1054           plugins, that have ranks.
1055           
1056 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
1057
1058         * gst/gstpluginfeature.h:
1059           Clarify GstRank range docs.
1060
1061 2008-02-05  David Schleef  <ds@schleef.org>
1062
1063         * gst/gst.c: Add a separate gst_deinitialized that prevents
1064           gst_init() from being called after gst_deinit().  Fixes #509559
1065
1066 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
1067
1068         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
1069         (gst_bin_class_init):
1070         * gst/gstelement.c: (gst_element_base_class_init),
1071         (gst_element_class_add_pad_template):
1072         * gst/gstpadtemplate.c: (gst_pad_template_init):
1073         * gst/gstpipeline.c: (gst_pipeline_get_type),
1074         (gst_pipeline_base_init), (gst_pipeline_class_init):
1075         * libs/gst/base/gstbasesink.c:
1076         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
1077         (gst_base_src_base_init), (gst_base_src_class_init):
1078         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
1079         (gst_capsfilter_class_init):
1080         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
1081         (gst_fake_sink_class_init):
1082         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
1083         (gst_fake_src_class_init):
1084         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
1085         (gst_fd_sink_class_init):
1086         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
1087         (gst_fd_src_class_init):
1088         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
1089         (gst_file_sink_class_init):
1090         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
1091         (gst_file_src_class_init):
1092         * plugins/elements/gstidentity.c: (gst_identity_base_init),
1093         (gst_identity_class_init):
1094         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
1095         (gst_multi_queue_class_init):
1096         * plugins/elements/gstqueue.c: (gst_queue_base_init),
1097         (gst_queue_class_init):
1098         * plugins/elements/gsttee.c: (gst_tee_base_init),
1099         (gst_tee_class_init):
1100         * plugins/elements/gsttypefindelement.c:
1101         (gst_type_find_element_base_init),
1102         (gst_type_find_element_class_init):
1103         * tests/check/gst/gstelement.c: (gst_element_suite):
1104         Revert previous changes to the behaviour of GstPadTemplates, etc
1105         and the possiblity to call them in class_init as it breaks too
1106         many elements. Reopens bug #491501.
1107
1108         Should be applied again for 0.11, thus added a few FIXME 0.11 at
1109         several places.
1110
1111 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
1112
1113         * tools/gst-launch.c:
1114         Dump one graph per pipeline state-change and state change name
1115         (if GST_DEBUG_DUMP_DOT_DIR is set).
1116
1117 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
1118
1119         * gst/gstpad.c:
1120         * tests/check/gst/gstpad.c:
1121         Be sure that we have a new copy of the caps and not
1122         reffed caps from a template
1123
1124 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
1125
1126         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
1127         * gst/gstpipeline.c: (gst_pipeline_get_type),
1128         (gst_pipeline_class_init):
1129         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
1130         (gst_base_sink_class_init):
1131         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
1132         (gst_base_src_class_init):
1133         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
1134         (gst_base_transform_class_init):
1135         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1136         (gst_collect_pads_class_init):
1137         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
1138         * libs/gst/net/gstnettimeprovider.c:
1139         (gst_net_time_provider_base_init),
1140         (gst_net_time_provider_class_init):
1141         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
1142         (gst_capsfilter_class_init):
1143         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
1144         (gst_fake_sink_class_init):
1145         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
1146         (gst_fake_src_class_init):
1147         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
1148         (gst_fd_sink_class_init):
1149         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
1150         (gst_fd_src_class_init):
1151         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
1152         (gst_file_sink_class_init):
1153         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
1154         (gst_file_src_class_init):
1155         * plugins/elements/gstidentity.c: (gst_identity_base_init),
1156         (gst_identity_class_init):
1157         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
1158         (gst_multi_queue_class_init):
1159         * plugins/elements/gstqueue.c: (gst_queue_base_init),
1160         (gst_queue_class_init):
1161         * plugins/elements/gsttee.c: (gst_tee_base_init),
1162         (gst_tee_class_init):
1163         * plugins/elements/gsttypefindelement.c:
1164         (gst_type_find_element_base_init),
1165         (gst_type_find_element_class_init):
1166         Don't use base_init where not absolutely necessary. For example it's
1167         not necessary anymore for adding pad templates or setting element
1168         details.
1169
1170         Leave empty base_init functions in several places as GST_BOILERPLATE
1171         still defines and uses them.
1172
1173 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
1174
1175         * gst/gstelement.c: (gst_element_base_class_init),
1176         (gst_element_class_add_pad_template):
1177         * gst/gstpadtemplate.c:
1178         Make it possible (and recommended) to set element details and add
1179         pad templates in the class_init functions by copying the details/pad
1180         templates in GstElement's base_init.
1181
1182         Also make it possible to replace existing pad templates by adding
1183         a new one with the same name. This was done in a hackish fashion
1184         in same elements before already.
1185
1186         Don't reference pad templates that are added a second time. A
1187         new pad template has a refcount of one and is not floating anymore
1188         and to be owned by the element's class. Make this more explicit by
1189         mentioning it in the docs of gst_element_class_add_pad_template().
1190
1191         These changes are backwards compatible. Fixes bug #491501.
1192
1193         * tests/check/gst/gstelement.c:
1194         Add unit test for setting element details, adding pad templates and
1195         replacing them in a subclass.
1196
1197 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
1198
1199         * tools/gst-inspect.c: (print_interfaces),
1200         (print_element_properties_info), (print_pad_info),
1201         (print_signal_info), (print_element_info):
1202         Fix a few memory leaks.
1203
1204 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
1205
1206         * docs/libs/gstreamer-libs-sections.txt:
1207         * libs/gst/check/gstcheck.c:
1208         * libs/gst/check/gstcheck.h:
1209         Add more functions for unit testing: gst_check_drop_buffers,
1210         gst_check_caps_equal, gst_check_element_push_buffer_list,
1211         gst_check_element_push_buffer
1212         API: gst_check_drop_buffers
1213         API: gst_check_caps_equal
1214         API: gst_check_element_push_buffer_list
1215         API: gst_check_element_push_buffer
1216
1217 2008-02-01  Julien Moutte  <julien@fluendo.com>
1218
1219         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
1220         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
1221         (gst_index_finalize), (gst_index_entry_free),
1222         (gst_index_add_association): Fix memory leaks.
1223         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
1224         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
1225         (gst_mem_index_free_format), (gst_mem_index_free_id),
1226         (gst_mem_index_finalize): Fix memory leaks.
1227         * win32/common/config.h: Updated to CVS HEAD.
1228
1229 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
1230
1231         * docs/README:
1232           Some more details about how the plugin docs works.
1233
1234         * docs/plugins/gstreamer-plugins-sections.txt:
1235           Whitespace cleanup.
1236
1237 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
1238
1239         * gst/parse/grammar.tab.pre.c:
1240         * gst/parse/grammar.tab.pre.h:
1241         * gst/parse/grammar.y:
1242         * gst/parse/lex._gst_parse_yy.pre.c:
1243           Add delayed set-property. This allows to set properties on dynamicaly
1244           created objects (pads in videomxer). Fixes #509391.
1245
1246 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
1247
1248         * gst/gstutils.c:
1249         Check if caps are not NULL (fix bug #510194)
1250
1251 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1252
1253         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
1254         (gst_base_sink_get_position_paused):
1255         Add fixme regarding EOS in pull mode.
1256         Fix position reporting in PAUSED for negative rates.
1257
1258 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1259
1260         * gst/gstminiobject.c: (gst_mini_object_replace):
1261         When replacing a miniobject, do a quick equality check first so that we
1262         can avoid a ref/unref pair.
1263
1264 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1265
1266         * docs/design/part-synchronisation.txt:
1267         Update some docs.
1268
1269         * docs/plugins/Makefile.am:
1270         * docs/plugins/gstreamer-plugins-docs.sgml:
1271         * docs/plugins/gstreamer-plugins-sections.txt:
1272         * plugins/elements/gstmultiqueue.c:
1273         Add multiqueue to the docs.
1274
1275 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
1276
1277         * configure.ac:
1278           Back to CVS
1279
1280 === release 0.10.17 ===
1281
1282 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
1283
1284         * configure.ac:
1285           releasing 0.10.17, "Due Negligence"
1286
1287 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
1288
1289         * gst/gstutils.c:
1290         Revert caps != NULL check temporarily for 0.10.17 release.
1291
1292 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
1293
1294         * gst/gstutils.c:
1295         Check if caps are not NULL (fix bug #510194)
1296
1297 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
1298
1299         * gst/gstutils.c:
1300         Fix compilation on systems that have posix timers but no
1301         monotonic clock.
1302         Fixes: #512715
1303         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
1304         dot net>
1305
1306 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
1307
1308         * tools/gst-inspect.c:
1309         Revert previous commit in preparation for an impromptu 0.10.17 release
1310
1311 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
1312
1313         * tools/gst-inspect.c: (print_interfaces),
1314         (print_element_properties_info), (print_pad_info),
1315         (print_signal_info), (print_element_info):
1316         Fix a few memory leaks.
1317
1318 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
1319
1320         * configure.ac:
1321         Back to CVS
1322
1323 === release 0.10.16 ===
1324
1325 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
1326
1327         * configure.ac:
1328           releasing 0.10.16, "Special Dispensation"
1329
1330 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
1331
1332         * configure.ac:
1333           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
1334           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
1335           not fail when trying to crosscompile on OpenEmbedded (#511750).
1336
1337 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
1338
1339         * docs/manuals.mak:
1340         Use $(MAKE) instead of make to fix the build if GNU make is
1341         called different. Fixes bug #510747.
1342
1343 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
1344
1345         * gst/gstplugin.c: (_gst_plugin_initialize):
1346           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
1347           again, which I broke two commits ago when changing the API
1348           of gst_plugin_register_static(): the g_list_foreach() in
1349           _gst_plugin_register_static still assumed the old function
1350           signature and would therefore fail (re-fixes #510187).
1351
1352         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
1353           (_gst_plugin_register_static), (gst_plugin_register_static):
1354           Revert the (technically correct) change to call g_thread_init() from
1355           the pre-main() constructor. This will break programs which call
1356           g_thread_init() without an if (!g_thread_supported()) guard in their
1357           main function. We could just blame it on GLib or the application, but
1358           it's probably best to just avoid this altogether and simply not use
1359           any GLib functions here and use plain old malloc() with a simple
1360           array to store the plugins to register later when gst_init() is
1361           finally called (re-fixes #510187).
1362
1363         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
1364           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
1365           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
1366           (GST_START_TEST), (gst_plugin_suite):
1367           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
1368           works.
1369
1370 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
1371
1372         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
1373           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
1374           This makes gtk-doc complain, but results in slightly better
1375           compiler errors. The old _gst_plugin_register_static() is
1376           still guarded, so there'll be a compiler warning about that
1377           instead. Fixes #510187 too.
1378
1379 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
1380
1381         * gst/gst.c: (init_post):
1382         * gst/gstplugin.c: (_gst_plugin_register_static),
1383           (gst_plugin_register_static), (_gst_plugin_initialize):
1384         * gst/gstplugin.h: (GstPluginFilter):
1385           Change API of gst_plugin_register_static() to not take
1386           a GstPluginDesc, but rather just take all the arguments
1387           in a GstPluginDesc directly. This is more intuitive and
1388           avoids certain mistakes when porting code from
1389           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
1390           Fixes #510187.
1391
1392         * tests/check/gst/gstplugin.c:
1393           Fix up for changed API.
1394
1395 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
1396
1397         * docs/faq/legal.xml:
1398           Update FAQ, Totem actually has an exception these days.
1399
1400 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
1401
1402         * win32/common/libgstreamer.def:
1403         Add new API declarations
1404
1405 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
1406
1407         * gst/gstminiobject.c:
1408           Spelling fixes for the API docs.
1409
1410 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
1411
1412         * libs/gst/base/gstbasetransform.c:
1413           Fix long property description for QoS.
1414
1415 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
1416
1417         * gst/gst.c:
1418         _gst_trace_on is already provided by gsttrace.h, no need to declare
1419         it ourselves.
1420
1421         * docs/libs/gstreamer-libs-sections.txt:
1422         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
1423         and remove strange tcase_add_test which is outputting a warning.
1424
1425         * libs/gst/check/gstcheck.c:
1426         * libs/gst/check/gstcheck.h:
1427         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
1428         and define them in gstcheck.c instead of having every .c file whcih
1429         includes gstcheck.h be defining its own copy and relying on symbol
1430         interposing to marry them all, which doesn't work on Solaris.
1431
1432         * tests/check/elements/identity.c: (GST_START_TEST):
1433         Don't define 'buffers' locally, it comes from libgstcheck.
1434
1435         * tests/check/generic/sinks.c: (send_buffer):
1436         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
1437
1438         * tests/check/gst/gststructure.c: (GST_START_TEST):
1439         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
1440         * tests/check/gst/gstutils.c: (GST_START_TEST):
1441         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1442         Add a bunch of casts to make various constants fit the types
1443         they're being assigned to.
1444
1445 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
1446
1447         * gst/gstchildproxy.c:
1448           Improve docs and add some ideas for making this more general-purpose.
1449
1450 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
1451
1452         * gst/gst_private.h: (GST_CAT_TYPES):
1453           Add GST_CAT_TYPES, for consistency, and so that the other
1454           debug categories don't make fun of it. Spotted by Saur on IRC.
1455
1456 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
1457
1458         * gst/parse/Makefile.am:
1459           Move types.h from EXTRA_DIST to noinst_HEADERS.
1460
1461 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
1462
1463         * autogen.sh:
1464           Add -Wno-portability to the automake parameters to stop warnings
1465           about GNU make extensions being used. We require GNU make in almost
1466           every Makefile anyway.
1467
1468         * configure.ac:
1469           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
1470           at the same time is required for per target flags.
1471
1472 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1473
1474         * gst/gstmacros.h:
1475           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
1476           __GNUC__ is defined before using it.
1477
1478 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1479
1480         * docs/gst/gstreamer-sections.txt:
1481         * gst/gst.c: (init_post):
1482         * gst/gstplugin.c: (_gst_plugin_register_static),
1483           (gst_plugin_register_static), (_gst_plugin_initialize),
1484           (gst_plugin_register_func):
1485         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
1486           API: add gst_plugin_register_static() and deprecate
1487           GST_PLUGIN_DEFINE_STATIC, since it's not portable
1488           (#498924).
1489           Also, in _gst_plugin_register_static(), make sure to call
1490           g_thread_init() before calling GLib functions such as
1491           g_list_append() if we're not initialised yet, since that
1492           may lead to random crashes with older GSlice/GLib versions.
1493
1494         * tests/check/gst/gstplugin.c:
1495           Adapt unit test to above changes.
1496
1497 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1498
1499         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
1500         * gst/gstcaps.c: (gst_caps_to_string):
1501         * gst/gststructure.c: (GST_ASCII_IS_STRING),
1502           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
1503           Yet another gratuitous GString micro-optimisation: add a (private)
1504           function that serialises a structure appending to an existing
1505           GString, so that when we serialise caps we don't need to alloc+free
1506           a throwaway GString for each structure (each of which also entailing
1507           multiple reallocs on the way); also use g_string_sized_new() in
1508           various places with an approximate string length to avoid reallocs
1509           within GString. See #500143.
1510
1511 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1512
1513         * gst/gststructure.c: (gst_structure_id_set_value):
1514           Always check UTF-8 conformance of structure strings and not only
1515           if the debugging system is enabled; reasoning: the behaviour of
1516           the actual code shouldn't really change depending on whether the
1517           debugging system is enabled or not (#508291).
1518
1519 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
1520
1521         * Makefile.am:
1522           Remove old coverage target in favour of "make lcov".
1523
1524 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1525
1526         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1527         (gst_base_src_loop):
1528         The start segment for reverse playback goes from start to last_stop.
1529
1530 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1531
1532         Patch by: Peter Kjellerstedt <pkj axis com>
1533
1534         * gst/gstclock.h:
1535         Cast the results from the timeval/spec_to_time macros to what the
1536         docs say it casts to, a GstClockTime. fixes #508175.
1537
1538 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1539
1540         * gst/gstbuffer.c:
1541         Update some comments.
1542
1543         * tools/gst-inspect.c: (print_element_properties_info):
1544         Improve printing of flags.
1545
1546 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
1547
1548         * libs/gst/base/gstbasetransform.c:
1549           (gst_base_transform_transform_size):
1550           Print element name with g_warning() if there's a problem
1551           with the unit size.
1552
1553 2008-01-07  David Schleef  <ds@schleef.org>
1554
1555         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
1556
1557         * libs/gst/controller/gstcontroller.h:
1558         * libs/gst/controller/gstcontrolsource.h:
1559         * libs/gst/controller/gstinterpolationcontrolsource.h:
1560         * libs/gst/controller/gstlfocontrolsource.h:
1561         * libs/gst/dataprotocol/dataprotocol.h:
1562           Fix empty prototypes.  Fixes bug #507957.
1563
1564 2008-01-07  David Schleef  <ds@schleef.org>
1565
1566         * docs/faq/dependencies.xml: Fix typo.
1567
1568 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1569
1570         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
1571         (gst_base_src_loop):
1572         Don't update the last_stop position in do_seek, that's the position we
1573         did a seek to.
1574         Read backwards when we have a negative rate.
1575
1576         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
1577         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
1578         (filesrc_suite):
1579         Add check for reverse reading.
1580
1581 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
1582
1583         Patch by: Alexis Ballier <aballier at gentoo org>
1584
1585         * tests/check/gst/gstabi.c:
1586         * tests/check/gst/struct_ppc64.h:
1587         * tests/check/libs/libsabi.c:
1588         * tests/check/libs/struct_ppc64.h:
1589           Decide which header to include based on the userland ABI target
1590           and not the kernel/cpu. Fix up structure sizes of ppc64 header
1591           for 64-bit userland (#503590).  Might need something similar for
1592           x86 too.
1593
1594 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1595
1596         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
1597           Log the reason why fopen fails in addition to the fact that it failed.
1598           
1599 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
1600
1601         * gst/parse/parse.l:
1602         Use "%option never-interactive" to prevent useless calls to isatty()
1603         on every input when parsing. Also use "%option noinput" to not define
1604         the static input/yyinput functions which we don't use anyway. This
1605         removes a compiler warning with gcc 4.3 and saves some bytes in the
1606         library.
1607         
1608         * gst/parse/lex._gst_parse_yy.pre.c:
1609         Regenerated for the above change.
1610
1611 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1612
1613         * gst/gstpad.c: (fixate_value):
1614         Don't crash when trying to fixate and empty list.
1615         Fixes #506643.
1616
1617 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
1618
1619         * docs/faq/gst-uninstalled:
1620         Clarify the comments to make the usage of this script and what it
1621         does easier to understand.
1622
1623 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
1624
1625         * tools/gst-plot-timeline.py:
1626         Add more options to gst-plot-timeline
1627
1628 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1629
1630         * docs/design/part-synchronisation.txt:
1631         Some more info on how the stream_time in GstBaseSink is done.
1632
1633 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
1634
1635         * tests/check/generic/sinks.c: (gst_sinks_suite):
1636           Put back the tcase_set_timeout(), apparently it's needed after
1637           all; fix it up in a way that makes things work with valgrind too.
1638
1639 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
1640
1641         * gst/gstdebugutils.c:
1642           Add warning when failed to open file for writing.
1643
1644 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
1645
1646         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
1647
1648         * gst/gstvalue.c: (gst_value_is_fixed):
1649           Optimisation: bail out of the loop as early as possible (#500143).
1650
1651 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
1652
1653         * gst/gstcaps.c: (gst_caps_to_string):
1654         * gst/gstinfo.c: (gst_debug_construct_term_color):
1655         * gst/gstparse.c: (gst_parse_launchv):
1656         * gst/gstutils.c: (gst_util_dump_mem):
1657         * gst/gstvalue.c: (gst_value_serialize_any_list),
1658           (gst_value_transform_any_list_string):
1659           Bunch of gratuitous nano-optimisations.
1660
1661 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
1662
1663         * tests/check/generic/sinks.c: (async_done_func),
1664           (async_done_eos_func):
1665           Fix leak in unit test (bus sync handler must unref the message
1666           if it returns GST_BUS_DROP). Don't fiddle with the default test
1667           timeout, this is smaller than the current preconfigured value
1668           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
1669           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
1670
1671 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1672
1673         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
1674
1675         * configure.ac:
1676         Check for stdio_ext.h for the filesink changes.
1677
1678         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
1679         (gst_file_sink_class_init), (gst_file_sink_init),
1680         (gst_file_sink_dispose), (gst_file_sink_set_property),
1681         (gst_file_sink_get_property), (gst_file_sink_open_file),
1682         (gst_file_sink_close_file):
1683         * plugins/elements/gstfilesink.h:
1684         Add two properties to control the buffering mode and size.
1685         API: GstFileSink::buffer-mode
1686         API: GstFileSink::buffer-size
1687         Fixes #500150.
1688
1689 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1690
1691         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
1692         Add some more docs to explain why a FIXME was wrongly added. 
1693
1694 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
1695
1696         * gst/gstobject.c:
1697           Fix typo in the gst_object_{ref,unref} documentation.
1698
1699 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
1700
1701         * tests/check/libs/controller.c:
1702         * tests/check/libs/typefindhelper.c:
1703         * tests/check/pipelines/parse-launch.c:
1704           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
1705           going to be deprecated (see #498924).
1706
1707 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
1708
1709         * gst/gsttypefind.c: (gst_type_find_register):
1710           Make gst_type_find_register work for static typefind functions,
1711           ie. allow passing plugin == NULL (prerequisite for #498924).
1712
1713         * gst/gstelementfactory.c: (gst_element_register):
1714           Small docs addition.
1715
1716 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1717
1718         * gst/gstpad.c: (gst_pad_dispose):
1719         Really unlink the peer pad instead of setting the peer pointer to NULL
1720         when we dispose the pad.
1721         This correctly calls the unlink functions and makes sure that the peer
1722         does not have a handle to invalid memory. See #504671.
1723
1724         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1725         Add testsuite for above case.
1726
1727 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
1728
1729         Patch by: Peter Kjellerstedt <pkj axis com>
1730
1731         * libs/gst/check/gstcheck.h:
1732           Fix detection of the check version we're compiling against (would
1733           otherwise break if check goes v0.10.0); correctly report the
1734           name of the failed test again in case of failure, instead of
1735           just 'tf' (fixes #504499).
1736
1737 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1738
1739         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
1740         (gst_base_src_get_range), (gst_base_src_pad_get_range),
1741         (gst_base_src_loop), (gst_base_src_set_flushing),
1742         (gst_base_src_change_state):
1743         Allow sending EOS to the source to make it send out an EOS event from
1744         the streaming thread.
1745         Update docs and deprecate the old NULL/READY shutdown method.
1746
1747         * tests/check/libs/basesrc.c: (GST_START_TEST),
1748         (gst_basesrc_suite):
1749         Add unit test for controlled shutdown.
1750
1751 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1752
1753         * docs/design/part-synchronisation.txt:
1754         Small updates.
1755
1756         * gst/gstsegment.c: (gst_segment_set_seek),
1757         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
1758         (gst_segment_to_running_time):
1759         The seek format can be different from the segment format when the start
1760         and stop values are not to be updated, when we only do a rate change for
1761         example.
1762
1763         * tests/check/gst/gstsegment.c: (GST_START_TEST),
1764         (gst_segment_suite):
1765         Add a testcase for the rate-only seeks, checking that the format is
1766         correctly ignored when start and stop are not updated.
1767
1768 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
1769
1770         Patch by: Matthias Bolte <photon at mail dot upb dot de>
1771
1772         * win32/vs8/grammar.vcproj:
1773         * win32/vs8/libgstcontroller.vcproj:
1774         * win32/vs8/libgstreamer.vcproj:
1775         Fix compilation with VS8 and include some missing files.
1776
1777 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
1778
1779         * gst/gsttaglist.c:
1780           Small docs addition: mention that the strings returned by
1781           gst_tag_list_get_string*() are in UTF-8 encoding.
1782
1783 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
1784
1785         * Makefile.am:
1786           The check-exports stuff moved to common/win32.mak, so include that.
1787
1788 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
1789
1790         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1791         (gst_base_src_perform_seek), (gst_base_src_get_range),
1792         (gst_base_src_set_playing), (gst_base_src_change_state):
1793         Make _wait_playing() not check any variables so that we can call this
1794         function from subclasses. Move the checks elsewhere similar to
1795         _wait_preroll() in basesink.
1796         Add some debugging.
1797         Only signal the LIVE cond when we are going back to PLAYING.
1798
1799 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
1800
1801         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1802           Use g_remove() and g_rename(). Check result of g_rename(), and
1803           don't leak the open file descriptor if we error out when writing.
1804
1805         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
1806           Must check the return value of close() after writing out the new
1807           registry file.  Sometimes write problems such as out-of-diskspace
1808           are only reported when the file is closed and not already during
1809           the write.  This may have caused partial/broken registry files in
1810           some rare circumstances. Should fix #503675.
1811
1812 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
1813
1814         * docs/gst/.cvsignore:
1815         * docs/libs/.cvsignore:
1816         * docs/plugins/.cvsignore:
1817         Ignore files generated by new common/* modifications
1818
1819 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
1820
1821         * win32/common/libgstbase.def:
1822           Yes, you can also have a <TAB> if you want.
1823
1824 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
1825
1826         * win32/common/libgstbase.def:
1827           Add new basetransform API to win export file.
1828
1829 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
1830
1831         * tests/check/gst/gstbin.c:
1832           Adjust the test to the refcount change two days ago.
1833
1834 2007-12-14  David Schleef  <ds@schleef.org>
1835
1836         * docs/faq/getting.xml: Fix typo.
1837
1838 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
1839
1840         * docs/libs/gstreamer-libs-sections.txt:
1841         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
1842           (gst_base_transform_prepare_output_buffer),
1843           (gst_base_transform_set_gap_aware):
1844         * libs/gst/base/gstbasetransform.h:
1845           API: Add gst_base_transform_set_gap_aware() to control whether
1846           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
1847           get buffers with this flag at all. Fixes #503231.
1848
1849 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
1850
1851         * libs/gst/base/gstbasesink.c:
1852         * libs/gst/base/gstbasesrc.c:
1853         * libs/gst/base/gstbasetransform.c:
1854           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
1855           thread. Correct log message in gstbasesrc.c.
1856
1857 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
1858
1859         * gst/gstutils.c: (element_find_unconnected_pad):
1860           Fix possible compiler warning (#503417).
1861
1862 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
1863
1864         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
1865           Don't use GST_CAT_EVENT here for logging, it makes no sense.
1866
1867 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
1868
1869         * tools/gst-inspect.c: (print_element_properties_info):
1870           Add support for GstFraction properties.
1871
1872 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
1873
1874         * Makefile.am:
1875           Add check-exports target and run it as part of 'make check'
1876           (see #499140 and #493983).
1877
1878         * gst/gst_private.h:
1879         * gst/gstelementfactory.h:
1880         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
1881         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
1882           (_priv_gst_in_valgrind):
1883         * gst/gstinfo.h: (GstLogFunction):
1884         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
1885           (gst_type_find_register):
1886         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
1887           (gst_type_find_factory_get_type):
1888         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
1889           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
1890           (gst_controller_new_valist), (gst_controller_new_list),
1891           (_gst_controller_dispose), (_gst_controller_class_init):
1892         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
1893         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
1894           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
1895           (gst_object_get_controller), (gst_object_set_controller),
1896           (gst_object_suggest_next_sync), (gst_object_sync_values),
1897           (gst_object_set_control_source), (gst_object_get_control_source),
1898           (gst_object_get_value_arrays), (gst_object_get_value_array),
1899           (gst_object_get_control_rate), (gst_object_set_control_rate):
1900         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
1901         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
1902           Make some functions that should be static static; rename some
1903           private symbols so that they don't get exported; add some FIXME
1904           comments so we can move accidentally exported functions into
1905           our private section in 0.11.
1906
1907         * win32/common/libgstreamer.def:
1908           Add gst_utils_get_timestamp().
1909
1910 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
1911
1912         * gst/gstvalue.c:
1913         * gst/gstvalue.h:
1914           Add more missing "Since:" tags to docs.
1915
1916 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
1917
1918         * gst/gstutils.c:
1919           Add mising "Since:" to docs.
1920
1921 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
1922
1923         * gst/gstplugin.c:
1924           Include "glib-compat-private.h" to fix the build on system with
1925           glib < 2.10. Fixes #503131.
1926
1927 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
1928
1929         * gst/gstutils.c:
1930         * gst/gstutils.h:
1931           Actually its not PURE as it gets the time from elsewhere.
1932
1933 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
1934
1935         * docs/gst/gstreamer-sections.txt:
1936         * gst/gstclock.h:
1937         * gst/gstdebugutils.c:
1938         * gst/gstinfo.c:
1939         * gst/gstutils.c:
1940         * gst/gstutils.h:
1941         * libs/gst/base/gstbasesink.c:
1942         * tools/gst-launch.c:
1943           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
1944           uses as we don't have HAVE_POSIX_TIMERS in public headers.
1945           Thanks Tim for spotting.
1946           API: gst_util_get_timestamp
1947
1948 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
1949
1950         * configure.ac:
1951           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
1952
1953 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
1954
1955         * gst/gststructure.c: (gst_structure_validate_name),
1956           (gst_structure_new_valist), (gst_structure_parse_value),
1957           (gst_structure_from_string):
1958           Don't crash in _from_string() if the structure name is not valid
1959           (fixes #501560).  Allow structure names to start with a number
1960           again (this apparently broke the ubuntu codec installer).
1961
1962         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
1963           (GST_START_TEST):
1964           Add unit test for the crash; update unit tests for new behaviour.
1965
1966 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
1967
1968         * gst/gstutils.c:
1969         Clarify gst_element_get_compatible_pad() documentation.
1970         Fixes #500919.
1971
1972 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
1973
1974         * tests/check/Makefile.am:
1975           Don't forget to dist {gst,libs}/struct_hppa.h.
1976
1977 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
1978
1979         * libs/gst/base/gstbasesink.c:
1980           Use new API to get elapsed time.
1981
1982 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
1983
1984         * gst/gstdebugutils.c:
1985         * gst/gstinfo.c:
1986           Fix wrong order of args in GST_CLOCK_DIFF() usage.
1987
1988         * tools/gst-launch.c:
1989           Use new API to get elapsed time.
1990
1991 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
1992
1993         * docs/gst/gstreamer-sections.txt:
1994         * gst/gstclock.h:
1995         * gst/gstdebugutils.c:
1996         * gst/gstinfo.c:
1997           Rename new API + ChangeLog surgery to remove old name from last entry..
1998
1999 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
2000
2001         * docs/gst/gstreamer-sections.txt:
2002         * gst/gstclock.h:
2003         * gst/gstdebugutils.c:
2004         * gst/gstinfo.c:
2005           Now hide the different clock stuff behind a macro.
2006
2007 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
2008
2009         * configure.ac:
2010         * gst/gstdebugutils.c:
2011         * gst/gstinfo.c:
2012           Apply the posix-timer check from #361155. Conditionally use the posix
2013           timer for logging. This gives better timestamp precission, less
2014           overhead and no ntp jitter.
2015
2016 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
2017
2018         * gst/gstminiobject.c: (gst_mini_object_get_type),
2019         (gst_mini_object_class_init), (gst_mini_object_copy_default),
2020         (gst_mini_object_finalize), (gst_mini_object_copy),
2021         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
2022         (gst_mini_object_replace), (param_mini_object_validate),
2023         (gst_param_spec_mini_object_get_type):
2024         Some cleanup and checking against invalid function parameters.
2025
2026 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
2027
2028         * docs/gst/gstreamer-sections.txt:
2029         * gst/gstclock.h:
2030         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2031         (gst_systemclock_suite):
2032         Start merging in the easy bits of #361155, the monotonic clock patch.
2033         This one adds a few handy macros with docs and a testsuite.
2034
2035 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
2036
2037         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
2038         Be a bit smarter when seeking, like, don't try to do a seek when it's
2039         not needed. This avoids errors when the file is not seekable.
2040         Fixes #499771.
2041
2042 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
2043
2044         * docs/gst/gstreamer-docs.sgml:
2045         * docs/gst/gstreamer-sections.txt:
2046         * docs/gst/gstreamer.types.in:
2047         * gst/Makefile.am:
2048         * gst/gst.h:
2049         * gst/gstpreset.c:
2050         * gst/gstpreset.h:
2051         * plugins/elements/gstqueue.c:
2052           Due to popular request remove preset interface again. :-(.
2053
2054 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
2055
2056         * tools/gst-inspect.c:
2057           Print 'default value' for enums and flags too.
2058
2059 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
2060
2061         * docs/random/ensonic/profiling.txt:
2062           More ideas.
2063
2064         * gst/gstbin.c:
2065           Fix typo and give better log output.
2066
2067         * gst/gstdebugutils.c:
2068         * gst/gstdebugutils.h:
2069           More ideas, make graphs a bit smaller and fix param name in macro.
2070
2071 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
2072
2073         * gst/gstpreset.c:
2074           Try harder to use the return value from fgets().
2075
2076 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
2077
2078         * gst/gstpreset.c:
2079           For theses two fgets we handle the error below.
2080
2081 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
2082
2083         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
2084         Only send upstream events upstream. Fixes #498746.
2085
2086 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
2087
2088         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
2089
2090         * plugins/elements/gstidentity.c: (gst_identity_class_init),
2091         (gst_identity_init), (gst_identity_transform_ip),
2092         (gst_identity_set_property), (gst_identity_get_property):
2093         * plugins/elements/gstidentity.h:
2094         Add property to disable handoff signal emission. Fixes #498694.
2095         API: GstIdentity::signal-handoffs
2096
2097 2007-11-21  Julien Moutte  <julien@fluendo.com>
2098
2099         * docs/faq/gst-uninstalled: Yet another missing library for the
2100         uninstalled script (fft)
2101
2102 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
2103
2104         * docs/faq/developing.xml:
2105         Add a question about how to submit new translations.
2106
2107         * docs/random/release:
2108         Update the contact email address for the Translation Project
2109
2110         * plugins/elements/gstfdsrc.c:
2111         The parent_class for fdsrc is pushsrc, not GstElement.
2112
2113 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
2114
2115         * gst/gstpreset.c:
2116           Plug a leak and fix saving.
2117
2118 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
2119
2120         * docs/gst/gstreamer-sections.txt:
2121         Add new gst_preset__get_property_names() function to the docs
2122         to fix the build.
2123
2124 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
2125
2126         * gst/gstpreset.c:
2127         * gst/gstpreset.h:
2128           Change _get_preset_names API to return a strv with copies. Add
2129           _get_property_names to allow implementations to filter and provide
2130           good default implementation.
2131
2132 2007-11-20  Julien MOUTTE  <julien@moutte.net>
2133
2134         * docs/faq/gst-uninstalled: Add another library to the uninstalled
2135         script (sdp).
2136
2137 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
2138
2139         * gst/gstpreset.c:
2140           More cleanups, docs, and TODOs from comments that now slowly come in.
2141
2142 2007-11-19  Julien MOUTTE  <julien@moutte.net>
2143
2144         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
2145         search path.
2146
2147 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
2148
2149         * gst/gstpreset.c:
2150           Fix bogus warning and make the property type specific code more
2151           similar.
2152
2153 2007-11-19  Julien MOUTTE  <julien@moutte.net>
2154
2155         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
2156         it build on OS X.
2157
2158 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
2159
2160         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2161         (gst_bin_add_func), (gst_bin_remove_func),
2162         (gst_bin_change_state_func), (gst_bin_continue_func):
2163         Change email, cleanups add some more debug and comments.
2164         Also set bus and clock on new elements when the pipeline was in error.
2165
2166 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
2167
2168         * gst/gstbin.c:
2169         * gst/gstdebugutils.c:
2170           Fix build with --disable-gst-debug. Fixes #497859.
2171           Spotted by Sameer Naik.
2172
2173 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
2174
2175         * gst/gstevent.c:
2176           Little documentation improvment.
2177
2178         * gst/gstpreset.c:
2179           More TODO cleanups. Remove c++ comments.
2180
2181         * libs/gst/controller/gstcontroller.c:
2182           Add TODO and use quark from static string.
2183
2184         * tests/check/gst/gstmessage.c:
2185         * tests/check/gst/gststructure.c:
2186           Use quark from static string.
2187
2188 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
2189
2190         * gst/gstpreset.c:
2191           Add some comments and TODOs.
2192
2193         * gst/gstpreset.h:
2194           Add padding for future changes.
2195
2196         * plugins/elements/gstqueue.c:
2197           Implement the iface.    
2198
2199 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
2200
2201         * docs/gst/gstreamer-docs.sgml:
2202         * docs/gst/gstreamer-sections.txt:
2203         * docs/gst/gstreamer.types.in:
2204         * gst/Makefile.am:
2205         * gst/gst.h:
2206         * gst/gstpreset.c:
2207         * gst/gstpreset.h:
2208           Add the preset interface (Fixes #396779). Do some doc cleanups along.
2209
2210 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
2211
2212         * configure.ac:
2213
2214         Back to CVS
2215
2216 === release 0.10.15 ===
2217
2218 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
2219
2220         * configure.ac:
2221           releasing 0.10.15, "October"
2222
2223 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
2224
2225         * win32/vs6/libgstreamer.dsp:
2226         Convert line endings back to DOS.
2227
2228 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
2229
2230         * docs/design/draft-tagreading.txt:
2231         * docs/random/ensonic/profiling.txt:
2232         Update fast tagreading draft and performance profiling ideas.
2233
2234 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
2235
2236         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
2237         Don't hold the object lock when unreffing a buffer because it could
2238         cause a deadlock when the finalize function wants to grab the object
2239         lock too. Fixes #495133.
2240
2241 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
2242
2243         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
2244         (gst_segment_to_stream_time), (gst_segment_to_running_time):
2245         Also accumulate time correctly when doing reverse playback. Fixes
2246         #488201,
2247         When converting to running and stream time, use default values for
2248         start/stop/time/accum when comparing different formats. Fixes #494245.
2249
2250         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2251         Do running/stream time in TIME format.
2252
2253         * tests/check/gst/gstsegment.c: (GST_START_TEST),
2254         (gst_segment_suite):
2255         2 new unit tests for segment accumulation.
2256
2257 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2258
2259         * gst/gst.c: (init_pre):
2260         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
2261           (_gst_debug_bin_to_dot_file):
2262           Move getenv() back into gst_init, so everyone can live happily
2263           ever after. Make sure the symbol isn't exported though.
2264
2265 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2266
2267         Patch by: Sebastien Moutte  <sebastien moutte net>
2268
2269         * win32/common/gstenumtypes.c:
2270         * win32/common/gstenumtypes.h:
2271           Update enum types.
2272
2273         * win32/vs6/libgstreamer.dsp:
2274           Update vs6 project files (#494343).
2275
2276 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
2277
2278         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
2279         (gst_base_src_perform_seek), (gst_base_src_default_event),
2280         (gst_base_src_set_flushing), (gst_base_src_activate_push),
2281         (gst_base_src_activate_pull):
2282         Unify flushing code, remove some old unlock code that is no longer used.
2283         Take the streaming lock when seeking to avoid races. Fixes #492729.
2284         Added some more comments.
2285
2286 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2287
2288         * gst/gst.c: (_gst_disable_segtrap):
2289           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
2290           we can use gst_segtrap_is_enabled() there now that we have that API.
2291           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
2292           to do the getenv here (and export the variable).
2293
2294         * gst/gstdebugutils.c: (debug_dump_element),
2295           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
2296           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
2297
2298         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
2299           (gst_debug_log_default):
2300           Rename _gst_info_start_time to priv_gst_info_start_time so it
2301           doesn't get exported (was never in any header).
2302
2303         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
2304           (gst_plugin_loading_mutex):
2305           Make static mutex gst_plugin_loading_mutex really static (was never
2306           in any header), and use gst_segtrap_is_enabled() instead of
2307           _gst_disable_segtrap.
2308
2309         * gst/gsttrace.c: (_gst_trace_default):
2310           Make local _gst_trace_default static (was never in any header).
2311
2312 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2313
2314         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
2315
2316         * win32/common/libgstbase.def:
2317         * win32/common/libgstcontroller.def:
2318         * win32/common/libgstdataprotocol.def:
2319         * win32/common/libgstnet.def:
2320         * win32/common/libgstreamer.def:
2321           Add more missing symbols, remove some duplicates, and sort
2322           as the 'sort' command sorts it (partially fixes #493983).
2323
2324 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
2325
2326         * gst/gstelement.c: (gst_element_set_state_func):
2327         Only change the state cookie if a different state was set on the
2328         element. See #492729.
2329
2330 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2331
2332         * gst/gstvalue.c:
2333           Remove unused and uninitialised type variables that were still
2334           exported for some reason (they were never in any header files
2335           though).
2336
2337 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
2338
2339         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2340         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
2341         (gst_base_sink_event), (gst_base_sink_get_position_last),
2342         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
2343         (gst_base_sink_change_state):
2344         Don't try to report a 0 position when we don't know, return -1 and FALSE
2345         instead. This mostly happens when we are prerolling.
2346         Make sure we can report the right position before we post the ASYNC_DONE
2347         message so that a message handler can query position without races.
2348
2349         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
2350         (async_done_handoff), (async_done_func), (send_buffer),
2351         (async_done_eos_func), (gst_sinks_suite):
2352         Add two tests for the above.
2353
2354 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
2355
2356         * MAINTAINERS:
2357         Update with new email address.
2358
2359         * docs/design/part-TODO.txt:
2360         Add some more info about future pad-block and negotiation changes.
2361
2362         * docs/design/part-buffering.txt:
2363         Add some ideas about buffering reporting.
2364
2365 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
2366
2367         * tests/check/gst/gstobject.c:
2368         Disable silly racy test that always fails on this combination of CPU
2369         and kernel.
2370
2371 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2372
2373         Patch by: Murray Cumming  <murrayc@murrayc.com>
2374
2375         * gst/gstobject.c:
2376           Corrected the registration of the parent-set and parent-unset
2377           signals: The parameter is a GstObject, not a GObject (#493134).
2378
2379 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2380
2381         * gst/gst_private.h:
2382         * gst/gstbuffer.h:
2383         * gst/gstevent.h:
2384         * gst/gstformat.h:
2385         * gst/gstmessage.h:
2386         * gst/gstplugin.h:
2387         * gst/gstquery.h:
2388         * gst/gsttaglist.h:
2389         * gst/gstvalue.h:
2390           Move declaration of private _gst_foo_initialize() functions into
2391           our private header file where they should have been all along.
2392
2393 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2394
2395         * docs/plugins/gstreamer-plugins-sections.txt:
2396         * gst/gstdebugutils.h:
2397         * gst/gstxml.h:
2398         * plugins/elements/gstqueue.c:
2399           gtk-doc fixes; trailing-comma-in-enum fix.
2400
2401 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2402
2403         * gst/gst.c: (gst_deinit):
2404           Clean up on deinit (not the external ones though, doesn't seem to be
2405           needed for some reason).
2406
2407 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
2408
2409         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
2410           Remove __declspec(dllimport) for MSVC that was copied over into core
2411           from a plugin, obviously without ever having been tested (note the
2412           single underscore in _declspec in the initial commit), and that doesn't
2413           really make sense.  See #492077.
2414
2415 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
2416
2417         * gst/gst.c: (init_post):
2418         * gst/gstevent.c: (_gst_event_initialize):
2419         * gst/gstquery.c: (_gst_query_initialize):
2420         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
2421           g_type_class_ref() other types as well, see #349410 and #64764.
2422
2423         * gst/gstbuffer.c: (_gst_buffer_initialize):
2424         * gst/gstmessage.c: (_gst_message_initialize):
2425           Simplify existing g_type_class_ref().
2426
2427 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
2428
2429         * gst/gstformat.c: (_gst_format_initialize):
2430           g_type_class_ref() our GstFormat type to make sure we avoid the
2431           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
2432           bug #64764. Should fix intermittent tee unit test failures (#474823).
2433
2434 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
2435
2436         * tests/check/elements/tee.c: (test_num_buffers):
2437           Simplify, simplify, simplify - or not.  Rewrite unit test
2438           not to use gst_parse_launch(); allow N sub-streams. Increasing
2439           the number of sub-streams seems to reproduce #474823 more easily.
2440
2441 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
2442
2443         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
2444
2445         * gst/gsttrace.c:
2446         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2447         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
2448         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
2449           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
2450           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
2451           so use _pipe() directly (#492077).
2452
2453         * win32/common/dirent.c: (_treaddir):
2454           Add a couple of casts to make it build without warnings with MSVC.
2455
2456         * win32/common/libgstreamer.def:
2457           Add some more symbols that need to be exported.
2458
2459 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
2460
2461         * tests/examples/metadata/read-metadata.c: (message_loop):
2462           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
2463           arriving in a second or third tag message are added to
2464           the tag list as well.
2465
2466 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
2467
2468         * libs/gst/base/gstbasesrc.c:
2469           Its "Since:" and not "@Since:". And remove an superflous cast.
2470
2471 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
2472
2473         * docs/libs/gstreamer-libs-sections.txt:
2474         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2475         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
2476         (gst_base_sink_get_property), (gst_base_sink_render_object),
2477         (gst_base_sink_preroll_object),
2478         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
2479         (gst_base_sink_change_state):
2480         * libs/gst/base/gstbasesink.h:
2481         Add a new last-buffer property that contains the last buffer used in
2482         basesink for preroll or rendering. useful for making snapshots.
2483         API: gst_base_sink_get_last_buffer()
2484         API: GstBaseSink::last-buffer
2485
2486 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
2487
2488         * docs/gst/running.xml:
2489         * gst/gst.c:
2490         * gst/gstdebugutils.c:
2491         * gst/gstdebugutils.h:
2492         * tools/gst-launch.c:
2493           Improve bin graph dumping, by using the envvar to specify a path.
2494           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
2495
2496 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
2497
2498         * plugins/elements/gsttypefindelement.c:
2499           (gst_type_find_element_handle_event),
2500           (gst_type_find_element_activate):
2501           Post special error message if we can't determine the type of a stream
2502           because it's empty.
2503
2504 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
2505
2506         * docs/gst/running.xml:
2507         * gst/gstdebugutils.c:
2508           Document new env-var. Add one log-line after dumpng a graph.
2509
2510 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
2511
2512         * configure.ac:
2513           Ugly hack to put the (recently removed and non-portable, apparently)
2514           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
2515           GNU ld, because without that 'make check' fails miserably on my debian
2516           stable box.  Someone with more knowledge of linker intricacies and
2517           portability issues than me fix this properly please.
2518
2519 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
2520
2521         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
2522         Reset last seen position after flushing so that we don't report the old
2523         position anymore.
2524
2525 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
2526
2527         * gst/gstelementfactory.c: (gst_element_register):
2528         * gst/gsturi.h:
2529         Patch from Alessandro Decina adding get_type_full and
2530         get_protocols_full private vfuncs to the URIHandler interface
2531         to allow bindings to support creating URI handlers. 
2532         Partially fixes: #339279
2533         API: GstURIHandlerInterface::get_type_full
2534         API: GstURIHandlerInterface::get_protocols_full
2535
2536 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
2537
2538         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2539         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
2540         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
2541         Make it so that pads are considered linked until a buffer is pushed
2542         and discovered otherwise. This avoids problems with decodebin2 hanging
2543         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
2544         case.
2545
2546         Make sure we lock the multiqueue when updating the max-size properties.
2547         
2548         Fix a crash on Solaris in a debug statement in get_request_pad that
2549         passes a NULL string to GST_DEBUG. 
2550
2551         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
2552         (run_output_order_test):
2553         Fix the test to allow the first buffer on not-linked pads to come out
2554         of sequence while multiqueue discovers that they are not-linked.
2555
2556 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
2557
2558         * configure.ac:
2559         * libs/gst/check/Makefile.am:
2560         Use a custom export symbol regex for libgstcheck, as it needs
2561         to export symbols that don't match the standard GStreamer gst_*
2562         pattern, and  --export-dynamic is not portable (only works on 
2563         GNU ld)
2564
2565         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2566         (gst_check_setup_sink_pad):
2567         Make sure to pass a message parameter to the fail_* macros.
2568
2569         * tests/check/gst/gstinfo.c: (GST_START_TEST):
2570         Fix some compiler warnings.
2571
2572 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
2573
2574         * tests/check/gst/gststructure.c: (test_to_string):
2575           Disable test that checks that white spaces are not allowed
2576           in structure names or field names, since we need to
2577           support that for now for backwards compatibility reasons.
2578
2579 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
2580
2581         * docs/gst/gstreamer-sections.txt:
2582         * gst/gsttaglist.c:
2583         * gst/gsttaglist.h:
2584           API: add GST_TAG_ARTIST_SORTNAME
2585           API: add GST_TAG_ALBUM_SORTNAME
2586           API: add GST_TAG_TITLE_SORTNAME
2587           Add tag variants for sorting (#414539).
2588
2589 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
2590
2591         * gst/gststructure.c:
2592           Also allow white space for names so we don't break
2593           backwards compatibility.
2594
2595 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
2596
2597         * docs/design/part-TODO.txt:
2598         * docs/design/part-segments.txt:
2599         * docs/design/part-streams.txt:
2600         Small updates.
2601
2602 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
2603
2604         * docs/gst/gstreamer-sections.txt:
2605          Fixed documentation from my previous commit (added new API add
2606          gst_value_set_structure(), add gst_value_get_structure() and
2607          GST_VALUE_HOLDS_STRUCTURE).
2608
2609 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
2610
2611         * gst/gstdebugutils.c:
2612           Reflow code to fix uninitialized variable warning.
2613
2614 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
2615
2616         * gst/gstcaps.c: (gst_caps_to_string),
2617         (gst_caps_from_string_inplace):
2618         * gst/gststructure.c: (gst_structure_get_abbrs),
2619         (gst_structure_to_string), (gst_structure_from_string):
2620         * gst/gstvalue.c: (gst_value_set_structure),
2621         (gst_value_get_structure), (gst_value_serialize_structure),
2622         (gst_value_deserialize_structure), (_gst_value_initialize):
2623         * gst/gstvalue.h:
2624         * tests/check/gst/gststructure.c: (GST_START_TEST),
2625         (gst_structure_suite):
2626         * tests/check/gst/gstvalue.c: (GST_START_TEST):
2627          Added GstStructure to gst_value_table and its related functions.
2628          Changed gst_structure_to_string to print ';' in the end.
2629          Changed gst_caps_to_string to not print ';' beteween its
2630          fields (structures) anymore and remove the lastes ';' from latest
2631          structure. Now it is possible to have nested structures.
2632          In addition, backward compatibilty is assured by accepting '\0' as
2633          end delimiter. Fixes: #487969.
2634          API: add gst_value_set_structure()
2635          API: add gst_value_get_structure()
2636          API: add GST_VALUE_HOLDS_STRUCTURE
2637
2638 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
2639
2640         * gst/gstbus.c:
2641           When no GSource callback has been set up, tell developer
2642           to use a function that actually exists.
2643
2644 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
2645
2646         * docs/gst/gstreamer-sections.txt:
2647         * gst/Makefile.am:
2648         * gst/gst.c:
2649         * gst/gst.h:
2650         * gst/gstdebugutils.c:
2651         * gst/gstdebugutils.h:
2652         * gst/gstinfo.c:
2653         * gst/gstinfo.h:
2654         * tools/gst-launch.c:
2655           Allow dumping pipelines as dot graphs. Fixes #456573.
2656
2657 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2658
2659         * gst/gststructure.c:
2660           Allow '+' as well, it can be part of media or mime types
2661           such as image/svg+xml.
2662
2663 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2664
2665         * docs/gst/gstreamer-sections.txt:
2666         * gst/gstbus.c:
2667         * gst/gstbus.h:
2668           API: add gst_bus_pop_filtered
2669           API: add gst_bus_timed_pop_filtered
2670           Two new functions for waiting for specific message types on the
2671           bus for a specified amount of time without iterating any main
2672           loops or main contexts.
2673
2674         * tests/check/gst/gstbus.c:
2675           Some tests for the new functions.
2676
2677 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2678
2679         * docs/libs/gstreamer-libs-sections.txt:
2680           Make gtk-doc ignore stuff it should ignore.
2681
2682 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2683
2684         * libs/gst/check/gstcheck.c:
2685         * libs/gst/check/gstcheck.h:
2686           Allow runtime selection of unit tests to run via the GST_CHECKS
2687           environment variable (test case function names, comma-separated).
2688
2689 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
2690
2691         * gst/gststructure.c:
2692         * tests/check/gst/gststructure.c:
2693           Revert serialisation change and constrain structure-names after
2694           consensus on irc. Update api documentation to reflect the change.
2695
2696 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
2697
2698         * gst/gststructure.c:
2699           Improve serialization and fix tests.
2700
2701         * tests/check/gst/gststructure.c:
2702           Add another test that covers why I actually did the previous structure
2703           change.
2704
2705 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
2706
2707         * tools/gst-inspect.c: (print_element_info):
2708         Don't crash when inspecting an element.
2709
2710 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2711
2712         * tests/check/gst/gststructure.c:
2713           Add unit test for escaping of structure name when serialising
2714           and deserialising to/from strings.
2715
2716 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
2717
2718         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2719         (gst_single_queue_new):
2720         * plugins/elements/gstqueue.c: (gst_queue_init),
2721         (gst_queue_push_one):
2722         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
2723         upstream is tricked into thinking it can suggest a format downstream
2724         while downstream does not support that format. The real problem is that
2725         core calls acceptcaps when pushing a buffer with new caps, for which we
2726         do a little workaround by setting the caps on the srcpad ourselves
2727         before pushing the buffer (until this is figured out). Fixes #486758.
2728
2729 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
2730
2731         * gst/gststructure.c:
2732         * gst/gstvalue.c:
2733           Add some more comments and debug output. Quote structure name to fix
2734           deserialisation of some strings.
2735
2736 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
2737
2738         * gst/gstbuffer.h:
2739           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
2740           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
2741
2742 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
2743
2744         * tools/gst-inspect.c:
2745           Save approx. 400 1 byte allocs when printing. Use API to acces element
2746           details.
2747
2748         * tools/gst-run.c:
2749           Avoid a strdup.
2750
2751         * tools/gst-xmlinspect.c:
2752           Use API to acces element details.
2753
2754 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
2755
2756         * gst/gstinfo.c:
2757           Fix some spelling errors.
2758
2759 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
2760
2761         * gst/gstbin.c: (bin_handle_async_done):
2762         Correctly set the next state if all of our async children commited their
2763         state. This makes sure we can actually cancel the state change in
2764         progress. Fixes a regression in Rhythmbox when seeking.
2765
2766 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2767
2768         * gst/gstbin.c:
2769           Don't shadow local variable.
2770
2771         * gst/gstinfo.c:
2772           Don't shadow global function name.
2773
2774 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2775
2776         * gst/gstelementfactory.c:
2777         * gst/gstpluginfeature.c:
2778         * gst/gstpluginfeature.h:
2779         * gst/gstregistrybinary.c:
2780         * gst/gstregistryxml.c:
2781         * gst/gsttypefind.c:
2782           Use already-interned string for the private GstPluginFeature
2783           plugin_name field.
2784
2785 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
2786
2787         * docs/libs/gstreamer-libs-sections.txt:
2788           Add new API to docs; fixes the build.
2789
2790 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
2791         
2792         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
2793
2794         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
2795         (gst_base_sink_event):
2796         * libs/gst/base/gstbasesink.h:
2797         Add function to wait for EOS, subclasses can use this to correctly wait
2798         for devices to drain before performing the EOS logic. Fixes #485343.
2799         API: gst_base_sink_wait_eos()
2800
2801 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
2802
2803         * gst/gstplugin.h:
2804           Cast description string constants in GST_PLUGIN_DEFINE macros
2805           to a (gchar*) to make C++ code using these macros compile
2806           without warning with g++-4.2 (see #462737).  Even if slightly
2807           ugly, this seems preferable to putting the description strings
2808           into the GLib quark table or making the structure member a
2809           const gchar * and doing casts in core code that allocs and
2810           frees these strings, or requiring a cast in the C++ code.
2811
2812 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
2813
2814         * gst/gstinfo.h:
2815           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
2816           to print the entire class/function signature into the log
2817           file for C++ code.  This only affects C++ code, for C code
2818           everything remains the same.
2819
2820 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
2821
2822         * gst/gstbin.c: (remove_from_queue):
2823         Work around a problem with pipelines containing (semi)loops until a
2824         proper, more complicated solution is ready. See #475455.
2825
2826 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
2827
2828         * gst/gstplugin.c:
2829         * gst/gstplugin.h:
2830         * gst/gstregistrybinary.c:
2831         * gst/gstregistryxml.c:
2832           Put more strings into the GLib quark table. No need to keep
2833           a hundred-something copies of identical version strings,
2834           license strings, package name strings and package origin
2835           strings around. 
2836
2837 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
2838
2839         * docs/manual/advanced-dataaccess.xml:
2840           Don't imply that it's okay to unconditionally change
2841           buffer data or buffer metadata in a pad probe callback,
2842           and a bunch of other comments. Fixes #430031.
2843
2844 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
2845
2846         * win32/common/gstenumtypes.c:
2847         * win32/common/gstenumtypes.h:
2848         * win32/common/gstversion.h:
2849           Update generated files.
2850
2851 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
2852
2853         * docs/manual/advanced-autoplugging.xml:
2854           Prefix section with broken code with a warning (see #342432).
2855
2856 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
2857
2858         * docs/manual/appendix-integration.xml:
2859         * docs/manual/basics-init.xml:
2860           Call g_thread_init() before g_option_context_new() to
2861           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
2862
2863 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
2864
2865         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2866         (gst_base_sink_queue_object_unlocked),
2867         (gst_base_sink_queue_object), (gst_base_sink_event),
2868         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
2869         When we received EOS and are waiting for when to post the EOS message,
2870         our state is prerolled and we should not return ASYNC.
2871         Reorganize some code paths to implement this behavior.
2872
2873         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
2874         (gst_sinks_suite):
2875         Add unit test to verify above EOS fix.
2876
2877 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
2878
2879         * plugins/elements/gsttypefindelement.c:
2880         (gst_type_find_element_have_type), (gst_type_find_element_init),
2881         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
2882         Move detecting the input caps of the sinkpad to the setcaps function.
2883         This allows us to update the output caps when we receive new input caps
2884         instead of always using the first detected caps.
2885
2886 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
2887
2888         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
2889         (gst_base_sink_get_position):
2890         Don't try to preroll non-async elements after a flush.
2891         Subtract latency form clock times when reporting position.
2892
2893 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
2894
2895         * gst/gstpad.c: (gst_pad_pause_task):
2896         * gst/gstutils.c:
2897         Small comment and documentation update.
2898
2899 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
2900
2901         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2902         (gst_base_src_set_live), (gst_base_src_is_live),
2903         (gst_base_src_query_latency), (gst_base_src_perform_seek),
2904         (gst_base_src_default_event), (gst_base_src_wait),
2905         (gst_base_src_do_sync), (gst_base_src_get_range),
2906         (gst_base_src_pad_get_range), (gst_base_src_loop),
2907         (gst_base_src_unlock), (gst_base_src_unlock_stop),
2908         (gst_base_src_set_flushing), (gst_base_src_set_playing),
2909         (gst_base_src_activate_push), (gst_base_src_activate_pull),
2910         (gst_base_src_change_state):
2911         Rework the locking of basesrc in a similar fashion to basesink. We
2912         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
2913         us to handle live sources and semi live ones much better.
2914         Simplify flushing.
2915         Fix unlocking when seeking, shutting down and pausing in live sources.
2916
2917 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
2918
2919         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
2920         Fix compilation again.
2921
2922 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2923
2924         * gst/gstelement.c:
2925           Use meaningful categories for the logs to clean the default one.
2926
2927 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2928
2929         * tests/check/pipelines/cleanup.c:
2930           Print message name and not just number.
2931
2932 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2933
2934         * docs/design/draft-tagreading.txt:
2935           Add some more thoughts.
2936
2937 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2938
2939         * tests/check/pipelines/simple-launch-lines.c:
2940           Print message name and not just number.
2941
2942 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2943
2944         * libs/gst/base/gsttypefindhelper.c:
2945           Speedup typefinding. This is work in progress (see #459862).
2946
2947 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2948
2949         * gst/gstplugin.c:
2950           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
2951           Spotted by Josep Torra Valles <josep@fluendo.com>.
2952
2953 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
2954
2955         * gst/gstclock.h:
2956           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
2957           field has moved to GstObject.
2958
2959 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
2960
2961         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
2962         (gst_base_src_get_range), (gst_base_src_change_state):
2963         Call unlock for live sources so that they can't get stuck in _create and
2964         produce a buffer before they are set back to PLAYING.
2965
2966 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
2967
2968         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
2969         (gst_queue_locked_dequeue):
2970         Comment the segment-related code... in the PROPER function.
2971         See #482147 and my commit from yesterday.
2972
2973 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
2974
2975         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
2976         Also initialize the counter that calculates the first timestamp on a
2977         buffer correctly for non-live sources.
2978
2979 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
2980
2981         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
2982         Disable code that's breaking the current-time-level reporting.
2983         See #482147
2984
2985 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
2986
2987         * docs/gst/gstreamer-sections.txt:
2988         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
2989         as they shouldn't show up. Fixes the docs build.
2990
2991 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
2992         
2993         * gst/gstinfo.h:
2994         Add an explicit variable importation needed on VS6 (only for MSC_VER)
2995         Define M_PI which is used in files which are including gstinfo.h. 
2996         VS6 includes doesn't define it.
2997         * win32/common/libgstbase.def:
2998         * win32/common/libgstcontroller.def:
2999         * win32/common/libgstreamer.def:
3000         Add new exported functions and variables.
3001         * win32/vs6/libgstcontroller.dsp:
3002         * win32/vs6/libgstreamer.dsp:
3003         Update the list of files to build.
3004         
3005 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
3006
3007         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
3008
3009         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
3010         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
3011         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
3012         Improve debugging. Fixes #480858.
3013
3014 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
3015
3016         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
3017
3018         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3019         First patch of code cleanups, use the macros and right arguments in the
3020         macros to signal and lock the queue. See #480858.
3021
3022 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
3023
3024         * gst/gstbus.c: (poll_func):
3025         Improve debugging when dealing with _poll().
3026
3027 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
3028
3029         * gst/gstregistryxml.c:
3030           Fix memory leak I introduced a few days ago.
3031
3032 2007-09-26  Michael Smith <msmith@fluendo.com>
3033
3034         * gst/gstbuffer.c: (gst_buffer_finalize):
3035           Make it once again possible to free GstBuffers in the default
3036           build.
3037           The poisoning scribbles on parts of the miniobject we need in
3038           order to free it.
3039           Fixes #480341
3040
3041 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3042
3043         * docs/gst/gstreamer-sections.txt:
3044         * gst/gsttaglist.c:
3045         * gst/gsttaglist.h:
3046         API: add GST_TAG_COMPOSER, fixes #459809.
3047
3048 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
3049
3050         * gst/gstplugin.c:
3051         * gst/gstplugin.h:
3052         Add the 3-clause BSD license and the MIT/X11 license to the license
3053         list. Fixes #479784.
3054
3055 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
3056
3057         * docs/faq/getting.xml:
3058           Add Q+A about different GStreamer versions (#364056).
3059
3060 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
3061
3062         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3063         (gst_base_sink_event), (gst_base_sink_change_state):
3064         Return correct gboolean from query function.
3065
3066 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
3067
3068         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3069         (gst_base_sink_event), (gst_base_sink_query),
3070         (gst_base_sink_change_state):
3071         Simplify latency query.
3072         When not synchronizing, we can report latency without querying the peer
3073         element.
3074
3075 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
3076
3077         * gst/gstobject.h:
3078         * gst/gstvalue.c:
3079         Fix small typos in the docs.
3080
3081 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
3082
3083         * docs/design/draft-latency.txt:
3084         * docs/design/draft-push-pull.txt:
3085         * docs/design/draft-tagreading.txt:
3086         * docs/design/part-MT-refcounting.txt:
3087         * docs/design/part-activation.txt:
3088         * docs/design/part-block.txt:
3089         * docs/design/part-element-source.txt:
3090         * docs/design/part-events.txt:
3091         * docs/design/part-gstbin.txt:
3092         * docs/design/part-gstelement.txt:
3093         * docs/design/part-gstobject.txt:
3094         * docs/design/part-gstpipeline.txt:
3095         * docs/design/part-messages.txt:
3096         * docs/design/part-preroll.txt:
3097         * docs/design/part-push-pull.txt:
3098         * docs/design/part-qos.txt:
3099         * docs/design/part-query.txt:
3100         * docs/design/part-scheduling.txt:
3101         * docs/design/part-seeking.txt:
3102         * docs/design/part-segments.txt:
3103         * docs/design/part-states.txt:
3104         Documentation updates and typo fixes.
3105
3106 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
3107
3108         * plugins/elements/gstfakesink.c:
3109           Add some debug text to error message to indicate that
3110           we errored out on request.
3111
3112         * tools/gst-launch.c:
3113           When the state change to PLAYING fails, check for an
3114           error message on the bus and print it.
3115
3116 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
3117
3118         translated by: Jorge González González <aloriel@gmail.com>
3119
3120         * po/LINGUAS:
3121         * po/es.po:
3122           Added Spanish translation.
3123
3124 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
3125
3126         * plugins/elements/gstqueue.c: (gst_queue_push_one):
3127         Fix printf arguments.
3128
3129 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
3130
3131         * tests/check/generic/states.c:
3132           Improved state change unit test.
3133
3134 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
3135
3136         * gst/gstbin.h:
3137           Move priv to the right place.
3138
3139         * gst/gstsystemclock.c:
3140           Add FIXME: and improve log.
3141
3142         * tests/check/Makefile.am:
3143         * tests/examples/manual/Makefile.am:
3144           Work with all types of registries.
3145
3146 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
3147
3148         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
3149         Don't unref the event after pushing it. Fixes #478401.
3150
3151 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
3152
3153         * .cvsignore:
3154         * tests/examples/manual/.cvsignore:
3155           Ignore registries in any format.
3156
3157 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
3158
3159         * gst/glib-compat-private.h:
3160           Add compatibility macro for g_intern_string() for
3161           GLib-2.8 (any reason we can't just bump the
3162           requirement to at least 2.10?)
3163
3164         * gst/gstpadtemplate.h:
3165         * gst/gstelementfactory.c:
3166         * gst/gstregistryxml.c:
3167         * gst/gstregistrybinary.c:
3168           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
3169           up the internal code accordingly.  This shouldn't be a problem, since
3170           there is no reason external code could ever assume the string in such
3171           a structure is dynamically allocated unless it did that itself;  the
3172           use of g_strdup() is private to element factories.  The new code also
3173           saves some memory by putting pad template name strings into the GLib
3174           quark table instead of allocating them dynamically.
3175           Declaring this field constant fixes warnings with g++-4.2 when using
3176           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
3177
3178 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
3179
3180         * gst/gstelementfactory.c:
3181           Release static caps. Fixes #475723.
3182
3183 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
3184
3185         * gst/gstinfo.c:
3186         * gst/gstinfo.h:
3187           Make some internal API take const gchar * instead of just
3188           gchar * to avoid compiler warnings with g++-4.2.2 when
3189           passing string constants (partially fixes #478092).
3190
3191 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
3192
3193         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
3194         A latency query fails when one of the sinks fail.
3195
3196         * gst/gstelement.c: (gst_element_set_base_time):
3197         Improve debugging.
3198
3199 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
3200
3201         * gst/gstbin.c: (gst_bin_continue_func):
3202         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
3203         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
3204         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
3205
3206         Fix minor compilation warnings shown with Forte.
3207
3208 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
3209
3210         * plugins/elements/gstqueue.c: (apply_buffer),
3211         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
3212         Measure queue level based on the diff between head and tail timestamps
3213         even when pushing the first buffer.
3214
3215 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
3216
3217         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3218         (gst_base_sink_event), (gst_base_sink_change_state):
3219         Sinks that don't preroll can always be queried for the latency.
3220         Don't post ASYNC start when we are not async.
3221
3222 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
3223
3224         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
3225         (gst_queue_handle_sink_event), (gst_queue_chain),
3226         (gst_queue_push_one), (gst_queue_handle_src_query),
3227         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
3228         * plugins/elements/gstqueue.h:
3229         When downstream returns UNEXPECTED from pushing a buffer, don't try to
3230         push more buffers but allow pushing of EOS and NEWSEGMENT.
3231         Add some more debug info here and there. Fixes #476514.
3232
3233 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
3234
3235         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3236         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
3237         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
3238         (gst_base_sink_set_flushing), (gst_base_sink_query),
3239         (gst_base_sink_change_state):
3240         Latency query is allowed after we are prerolled. Introduce a new flag
3241         for this and stop abusing other variables.
3242
3243 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
3244
3245         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
3246         Push OOB events downstream when we get them in send_event. This allows
3247         the application to insert events in the pipeline.
3248         Add some more comments.
3249
3250 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
3251
3252         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
3253         (do_bin_latency), (gst_bin_change_state_func):
3254         * gst/gstpipeline.c: (gst_pipeline_change_state):
3255         Move latency query from GstPipeline to GstBin so that we can also
3256         use it when async-handling is enabled on bins.
3257
3258 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
3259
3260         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3261         (gst_base_src_do_sync), (gst_base_src_change_state):
3262         Update docs.
3263         Clean up the timestamping and syncing code for pseudo live sources.
3264
3265 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
3266
3267         Patch by: Steve Fink  <sphink gmail com>
3268
3269         * docs/manual/appendix-checklist.xml:
3270           Mention less -R switch in the section about debug output (#474055).
3271
3272 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
3273
3274         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3275         Queue can latency to the pipeline up to the configured max size in time.
3276         Report this fact in the latency query.
3277
3278 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
3279
3280         Patch by: Sebastien Moutte <sebastien at moutte dot net>
3281
3282         * libs/gst/controller/gstinterpolation.c:
3283         * libs/gst/controller/gstlfocontrolsource.c:
3284         Use gst_guint64_to_gdouble() when converting from a uint64 or
3285         GstClockTime to double to fix the build on win32. Fixes #474371.
3286
3287 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
3288
3289         * gst/gstbuffer.c: (gst_buffer_finalize):
3290         Implement poisoning for GstBuffer if --enable-poisoning is specified.
3291         When finalizing a buffer the complete struct is filled with 0xff,
3292         thus making a use of the buffer after the final unref impossible.
3293
3294 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
3295
3296         * tests/check/libs/controller.c: (GST_START_TEST):
3297         Use fail_unless_equals_int(a, b) instead of
3298         fail_unless_equals (a == b) to get better output on failures.
3299
3300 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
3301
3302         * tests/check/gst/gsturi.c:
3303           Also check for the other file URI variant on win32.
3304
3305 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
3306
3307         * gst/gsturi.c: (gst_uri_get_location):
3308           If there's no hostname, we want to return 'c:/foo/bar.txt'
3309           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
3310
3311         * tests/check/gst/gsturi.c:
3312           Unit test for the above and a few more things.
3313
3314 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
3315
3316         * docs/design/part-live-source.txt:
3317         Add docs on how live sources should timestamp.
3318
3319         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
3320         Add some more debug info.
3321         For subclasses that are live and like to sync, add aditional startup
3322         latency to sync time and timestamps so that we timstamp according to the
3323         design doc.
3324
3325 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
3326
3327         * gst/gstbuffer.c:
3328           Also do a g_type_class_ref() for the subbuffer type in
3329           the init function.
3330
3331 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
3332
3333         * docs/gst/gstreamer-sections.txt:
3334         * gst/gstpad.c: (gst_pad_peer_query):
3335         * gst/gstpad.h:
3336         Add function to perform a query on the peer of a pad.
3337         API: gst_pad_peer_query()
3338
3339 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
3340
3341         * tests/check/gst/gstsystemclock.c:
3342           Cleanup the test a little (use gst-logging and not g_message). Improve
3343           test to check if a wait reached the target.
3344
3345 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
3346
3347         * docs/libs/gstreamer-libs-sections.txt:
3348           Add new API to docs and fix the build.
3349
3350 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
3351
3352         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3353         (gst_base_src_init), (gst_base_src_set_do_timestamp),
3354         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
3355         (gst_base_src_get_property), (gst_base_src_do_sync):
3356         * libs/gst/base/gstbasesrc.h:
3357         Add property to make the basesrc timestamp buffers based on the current
3358         running time.
3359         API: GstBaseSrc::do-timestamp
3360         API: gst_base_src_set_do_timestamp()
3361         API: gst_base_src_get_do_timestamp()
3362
3363 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
3364
3365         * docs/random/release:
3366           Really make sure translations are up-to-date before
3367           a release (#465010).
3368
3369 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
3370
3371         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3372         Always destroy the timer, also in error cases.
3373
3374 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
3375
3376         * docs/manual/highlevel-xml.xml:
3377         Fix XML example code. Fixes #472714.
3378
3379 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
3380
3381         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3382         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
3383         (gst_base_sink_query):
3384         Protect eos and have_preroll with the OBJECT lock so we don't need to
3385         take the PREROLL lock when querying the latency. Fixes #473846.
3386
3387 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
3388
3389         * gst/gstelement.c:
3390           Give some log-messages a category.
3391
3392 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
3393
3394         * gst/gststructure.c:
3395         (gst_structure_fixate_field_nearest_fraction):
3396         Fix fraction list fixation code. Take the fraction with the smallest
3397         difference with the target instead of the first one in the list.
3398
3399         * tests/check/gst/gststructure.c: (GST_START_TEST),
3400         (gst_structure_suite):
3401         Added test to verify correct fraction list fixation behaviour.
3402
3403 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
3404
3405         * win32/common/libgstreamer.def:
3406           Export gst_bus_add_signal_watch too.
3407
3408 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
3409
3410         * docs/libs/gstreamer-libs-sections.txt:
3411         Add new methods to docs.
3412
3413         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3414         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
3415         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
3416         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
3417         * libs/gst/base/gstbasesink.h:
3418         Add ts-offset property to fine-tune the synchronisation.
3419         API: GstBaseSink::ts-offset property
3420         API: gst_base_sink_set_ts_offset()
3421         API: gst_base_sink_get_ts_offset()
3422
3423 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
3424
3425         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3426         (gst_base_sink_init), (gst_base_sink_set_sync),
3427         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
3428         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
3429         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
3430         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
3431         (gst_base_sink_get_property), (gst_base_sink_change_state):
3432         * libs/gst/base/gstbasesink.h:
3433         Add async property to instruct the sink never to inform the parent about
3434         ASYNC state changes, update docs.
3435         Check argument with g_return_* for the public functions.
3436         API: GstBaseSink::async property
3437         API: gst_base_sink_set_async_enabled()
3438         API: gst_base_sink_is_async_enabled()
3439
3440 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
3441
3442         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
3443         Improve debugging.
3444
3445         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3446         (gst_base_src_default_query), (gst_base_src_wait),
3447         (gst_base_src_do_sync), (gst_base_src_change_state):
3448         Rearrange some code so that we can add support for measuring the 
3449         startup latency.
3450
3451 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
3452
3453         * docs/random/ensonic/dynlink.txt:
3454           More thoughs on this.
3455
3456         * plugins/elements/gstcapsfilter.c:
3457           Add bugzilla ticket number to FIXME comment.
3458
3459 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
3460
3461         * docs/design/part-TODO.txt:
3462         * docs/design/part-block.txt:
3463         Update some docs.
3464
3465 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
3466
3467         * gst/Makefile.am:
3468           Revert patch which uses $(gst_headers) instead of $^ because it
3469           breaks make dist.
3470
3471 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
3472
3473         * tests/check/gst/gstbin.c: (GST_START_TEST):
3474           Fix leaks in the new unit test.
3475
3476 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
3477
3478         * gst/gst.c:
3479           Don't use GST_INFO before the debug system is actually initialised
3480           (shouldn't do any harm, but won't print anything either, so we can
3481           just as well remove it).
3482
3483         * gst/gstinfo.h:
3484           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
3485           compilers that don't support variadic macros (such as MSVC), should
3486           check for debug_level <= __gst_debug_min as well, since that's the
3487           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
3488           inline helper functions. Should improve performance a bit, but also
3489           makes sure uses of GST_INFO et.al are ignored if the debugging
3490           system isn't initialised yet (instead of printing an assertion
3491           failure).
3492
3493 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
3494
3495         patch by: David Nečas <yeti@physics.muni.cz>
3496
3497         * gst/Makefile.am:
3498           Replace some non portable makefile constructs.
3499
3500 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
3501
3502         * common/gtk-doc-plugins.mak:
3503           Grrrrr. Don't remove the types file on make clean.
3504
3505 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
3506
3507         * tools/gst-launch.1.in:
3508         Add colorspace to example pipeline. Fixes #458274.
3509
3510 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
3511
3512         * docs/random/release:
3513           The release manager should run 'make download-po' before making a
3514           release to make sure translations are up-to-date.
3515
3516         * po/LINGUAS:
3517         * po/be.po:
3518         * po/pl.po:
3519         * po/rw.po:
3520           Add some new translations.
3521
3522 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
3523
3524         * tools/gst-launch.c: (event_loop), (main):
3525         Don´t try to do any state management when a live pipeline posts
3526         buffering messages.
3527         Also make the buffering string translatable.
3528
3529 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
3530
3531         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
3532         (bin_handle_async_start), (gst_bin_handle_message_func):
3533         Improve debugging.
3534         When adding elements, insert messages into the bus of the newly added
3535         element and make sure the element is the source of the message. This
3536         allows the parent bin to intercept the message and do the
3537         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
3538         messages to the app (which is not allowed).
3539         Update some docs.
3540
3541         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3542         Fix testsuite so that is does not work around messages that should not
3543         have been posted in the first place.
3544
3545 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
3546
3547         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
3548         (update_degree), (gst_bin_sort_iterator_next):
3549         Fix annoying bug in the sorted iterator where a sink that is not really
3550         a sink (when it has downstream links) screwed up the iterator.
3551
3552         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3553         Unit test to verify the fix.
3554
3555 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
3556
3557         * gst/gstmessage.h:
3558         Add some more docs for the messages.
3559
3560         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3561         (gst_base_sink_query):
3562         Add some more debugging.
3563
3564         * tools/gst-launch.c: (event_loop):
3565         When interrupting, don't try to set pipeline to PAUSED twice.
3566
3567 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
3568
3569         
3570         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
3571         (bin_handle_async_start), (gst_bin_handle_message_func):
3572         Move ASYNC_START message posting to where it belongs, similar to
3573         async_done. 
3574         Don't post ASYNC_START when we are in error. 
3575         Post ASYNC_START when we added an async element to a bin.
3576
3577 2007-08-14  Julien MOUTTE  <julien@moutte.net>
3578
3579         * gst/gstindex.c: (gst_index_add_association): Fix index entry
3580         generation from vargs. Fixes #466595.
3581
3582 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
3583
3584         * gst/gstbin.c: (gst_bin_element_set_state):
3585         Always change the state of a NO_PREROLL element even if it has ASYNC
3586         elements inside (in case of a bin).
3587
3588         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
3589         Unit test for this case.
3590
3591 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
3592
3593         * libs/gst/check/gstbufferstraw.c:
3594         * libs/gst/check/gstcheck.h:
3595         * libs/gst/controller/gstcontroller.c:
3596         * libs/gst/controller/gstcontrolsource.h:
3597         * libs/gst/controller/gstlfocontrolsource.h:
3598         * plugins/elements/gstcapsfilter.h:
3599         * plugins/elements/gstfdsink.h:
3600         * plugins/elements/gstfdsrc.h:
3601           Add more missing docs.
3602
3603 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
3604
3605         * gst/gststructure.c:
3606         Add Since tag to docs.
3607
3608 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
3609
3610         * docs/gst/gstreamer-sections.txt:
3611         * gst/gststructure.c: (gst_structure_get_uint):
3612         * gst/gststructure.h:
3613         Add function to get uint from a structure.
3614         API: gst_structure_get_uint()
3615
3616 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
3617
3618         * gst/gstcaps.c: (gst_caps_set_simple_valist),
3619         (gst_caps_intersect):
3620         Fix proper check for simple caps.
3621
3622 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
3623
3624         * docs/gst/Makefile.am:
3625         * docs/libs/Makefile.am:
3626           Remove cruft and do some cleanups.
3627
3628         * docs/gst/gstreamer-docs.sgml:
3629         * docs/libs/gstreamer-libs-docs.sgml:
3630           Prepare for comming gtkdoc features (rebase against online docs).
3631
3632 2007-08-10  Michael Smith <msmith@fluendo.com>
3633
3634         * docs/gst/gstreamer-sections.txt:
3635           Add gst_registry_add_path to docs.
3636
3637 2007-08-10  Michael Smith <msmith@fluendo.com>
3638
3639         * gst/gstregistry.h:
3640           Add gst_registry_add_path, which was missing from this header.
3641
3642 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
3643
3644         * libs/gst/controller/gstlfocontrolsource.c:
3645           Printf format fix.
3646
3647 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
3648
3649         * libs/gst/base/gstbasesink.c:
3650           Don't send an async_start message during downwards state change if 
3651           target state is less than READY
3652
3653 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3654
3655         translated by: Gabor Kelemen <kelemeng@gnome.hu>
3656
3657         * po/LINGUAS:
3658         * po/hu.po:
3659           Added Hungarian translation.
3660
3661 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3662
3663         * po/fi.po:
3664         * po/it.po:
3665         * po/nl.po:
3666         * po/sv.po:
3667         * po/uk.po:
3668           Updated translations.
3669
3670 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
3671
3672         * libs/gst/controller/Makefile.am:
3673         Dist gstlfocontrolsourceprivate.h
3674
3675 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
3676
3677         * docs/libs/gstreamer-libs.types:
3678         Don't register the enum type gst_lfo_waveform_get_type() in the
3679         .types file - only GObject derived types belong.
3680
3681 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
3682
3683         Patch by: <arenevier at fdn dot fr>
3684
3685         * gst/gstbuffer.h:
3686         Remove comma from last element in enum to avoid compile errors when
3687         using -pendantic. Fixes #464366.
3688
3689 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
3690
3691         * docs/design/part-TODO.txt:
3692         Add some more TODO items
3693
3694         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
3695         Improve debugging.
3696
3697         * gst/gstcaps.c: (gst_caps_intersect):
3698         Optimize trivial intersection case between identical caps pointers.
3699
3700         * gst/gstelement.c: (gst_element_continue_state),
3701         (gst_element_set_state_func):
3702         * gst/gstpad.c:
3703         Fix spelling and grammar mistakes.
3704
3705 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
3706
3707         * po/POTFILES.in:
3708         * po/POTFILES.skip:
3709           Update POTFILES. Fixes #461599.
3710
3711 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
3712
3713         * gst/gst.c:
3714         Fix confusing typo in debug output.
3715
3716 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
3717
3718         reviewed by: Stefan Kost <ensonic@users.sf.net>
3719
3720         * libs/gst/controller/Makefile.am:
3721         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
3722         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
3723         (gst_lfo_control_source_new),
3724         (gst_lfo_control_source_set_waveform),
3725         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
3726         (gst_lfo_control_source_finalize),
3727         (gst_lfo_control_source_dispose),
3728         (gst_lfo_control_source_set_property),
3729         (gst_lfo_control_source_get_property),
3730         (gst_lfo_control_source_class_init):
3731         * libs/gst/controller/gstlfocontrolsource.h:
3732         * libs/gst/controller/gstlfocontrolsourceprivate.h:
3733         API: Add GstLFOControlSource, a control source that gives values
3734         for specific timestamps based on several periodic waveforms.
3735         Fixes #459717.
3736
3737         * tests/check/libs/controller.c: (GST_START_TEST),
3738         (gst_controller_suite):
3739         * docs/libs/gstreamer-libs-docs.sgml:
3740         * docs/libs/gstreamer-libs-sections.txt:
3741         * docs/libs/gstreamer-libs.types:
3742         Add documentation and unit tests for GstLFOControlSource.
3743
3744 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
3745
3746         * configure.ac:
3747         Back to CVS
3748
3749 === release 0.10.14 ===
3750
3751 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
3752
3753         * configure.ac:
3754           releasing 0.10.14, "Breathing Vacuum"
3755
3756 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
3757
3758         * gst/gstelement.c: (gst_element_class_set_details_simple):
3759         * gst/gstelement.h:
3760           Make strings passed to gst_element_class_set_details_simple()
3761           constant, as they should be (#462752).
3762
3763 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
3764
3765         * gst/gstbin.c: (gst_bin_change_state_func),
3766         (bin_handle_async_done), (gst_bin_handle_message_func):
3767         Don't forget about the fact that some element went ASYNC even after a
3768         resync. This makes us post the ASYNC_DONE message correctly.
3769         Fixes #462558.
3770
3771 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
3772
3773         * gst/gstregistry.c: (gst_registry_add_feature):
3774         When replacing an existing feature in the registry, make sure to
3775         continue holding a reference until we've replaced the name string
3776         within our feature hash table. Make sure to use g_hash_table_replace
3777         instead of g_hash_table_insert to ensure the new name string is used
3778         as a key instead of the old one that we're about to free.
3779         Fixes: #462085
3780
3781 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
3782
3783         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3784         (gst_plugin_feature_set_name):
3785         Revert patch from #459466 until after the release and we can work
3786         out exactly what the problem is (if any).
3787
3788 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
3789
3790         * docs/gst/gstreamer-sections.txt:
3791         * gst/gsttaglist.c:
3792         * gst/gsttaglist.h:
3793           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
3794
3795 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
3796
3797         * docs/libs/Makefile.am:
3798         Include our build-prefix libs and includes before the generic ones to
3799         avoid linking against the installed libs when we want the build-tree
3800         ones.
3801
3802 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
3803
3804         Patch by: Steve Fink  <sphink gmail com>
3805
3806         * docs/pwg/building-testapp.xml:
3807           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
3808           if people try to build or install the example from the plugin
3809           template against a GStreamer from package using the configure
3810           defaults.
3811
3812 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
3813
3814         Patch by: Steve Fink  <sphink gmail com>
3815
3816         * tools/gst-inspect.1.in:
3817           Document --print-all and --print-plugin-auto-install-info command
3818           line options in man page.
3819
3820 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
3821
3822         * docs/gst/gstreamer-sections.txt:
3823         Add docs for new api function.
3824
3825 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
3826
3827         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
3828         * gst/gstelementfactory.h:
3829         API: gst_element_factory_has_interface()
3830         Added method to check if an element factory implements a named
3831         interface.
3832
3833 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
3834
3835         * configure.ac:
3836         * docs/gst/gstreamer.types.in:
3837           Another conditional doc check.
3838
3839         * gst/gstmessage.c:
3840         * gst/gstparamspecs.h:
3841         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3842         * gst/gstvalue.c:
3843         * gst/gstxml.h:
3844           API-doc fixes.
3845
3846 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
3847
3848         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
3849         (gst_registry_binary_load_feature),
3850         (gst_registry_binary_load_plugin),
3851         (gst_registry_binary_read_cache):
3852           Print error just once and with additional info.
3853
3854 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
3855
3856         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
3857         (helper_find_suggest), (helper_find_get_length),
3858         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
3859         (gst_type_find_helper_for_buffer):
3860           Cleanup the typefindhelper code and add private doc comments.
3861
3862 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
3863
3864         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3865         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
3866         Fix capsfilter for cases where the caps set on capsfilter will provide
3867         additional information.
3868         Fixes #449197
3869
3870 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
3871
3872         * gst/gsttypefindfactory.c:
3873           Fix docs that recommened wrong function to use.
3874
3875 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
3876
3877         * tools/gst-inspect.c: (print_plugin_features):
3878           Also give media-type for typefinders in element output.
3879
3880 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
3881
3882         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
3883         (gst_registry_remove_features_for_plugin_unlocked),
3884         (gst_registry_add_feature), (gst_registry_remove_feature),
3885         (gst_registry_lookup_feature_locked):
3886         * gst/gstregistry.h:
3887           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
3888           Fixes #459501.
3889
3890 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
3891
3892         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3893         (gst_plugin_feature_set_name):
3894           Avoid double memory usage for pluginfeature names. Fixes #459466.
3895
3896 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
3897
3898         * gst/gstpad.h:
3899           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
3900           driving the pipeline may need to explicitly check for NOT_LINKED as
3901           well, since IS_FATAL doesn't cover that.
3902
3903 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
3904
3905         * docs/pwg/advanced-types.xml:
3906           Fix typo and duplicate entry in video formats list.
3907
3908 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
3909
3910         * libs/gst/controller/gstinterpolation.c:
3911         Also round to the nearest int when using cubic interpolation.
3912
3913 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
3914
3915         * libs/gst/controller/gstinterpolation.c:
3916         When linearly interpolating integer types, round to the nearest int
3917         by adding 0.5. Don't do it for float/double types.
3918         Fixes the failing controller test on my machine, which is somehow
3919         rounding differently than on the buildbots.
3920
3921 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
3922
3923         * tools/gst-plot-timeline.py:
3924           Better log parsing (categories can have -). Adjust text vs. lines, so
3925           that they span the same y-range.        
3926
3927 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
3928
3929         * docs/random/ensonic/audiobaseclasses.txt:
3930         * docs/random/ensonic/dynlink.txt:
3931         * docs/random/ensonic/profiling.txt:
3932           Save my thoughts.
3933
3934         * docs/random/moving-plugins:
3935           Add note to use g_assert type macros.
3936
3937 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
3938
3939         * configure.ac:
3940         * libs/gst/check/Makefile.am:
3941           Add libm check as we use in for plugins.
3942
3943 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
3944
3945         * gst/gstbin.c: (gst_bin_continue_func):
3946         Check that the state_cookie hasn't changed since the continue_func
3947         was scheduled. Avoids problems where the state changes back to
3948         something it shouldn't be because it was changed in the meantime.
3949
3950 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
3951
3952         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
3953         (gst_registry_binary_save_string),
3954         (gst_registry_binary_save_pad_template),
3955         (gst_registry_binary_save_feature),
3956         (gst_registry_binary_save_plugin),
3957         (gst_registry_binary_load_feature),
3958         (gst_registry_binary_load_plugin),
3959         (gst_registry_binary_read_cache):
3960           Fix memory leak. Be less verbose in the log.
3961
3962 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
3963
3964         * tests/check/elements/.cvsignore:
3965         Add file to cvsignore as commanded.
3966
3967 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
3968
3969         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
3970         (mq_dummypad_event), (run_output_order_test):
3971         Use a GStaticMutex to protect all cases where libcheck
3972         fail_if/fail_unless macros might be called from multiple threads
3973         simultaneously to avoid errors like:
3974           "check_pack.c:107: :-1081725400:Bad message type arg"
3975
3976 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
3977
3978         * tests/check/pipelines/stress.c: (GST_START_TEST):
3979         Make sure we set the pipeline back to the NULL state before
3980         dropping our final reference.
3981
3982 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
3983
3984         * tests/check/elements/tee.c: (GST_START_TEST):
3985         Make the tee stress-test a little less stressful so it doesn't just
3986         time out on slow-machines, and remove a small race when it's starting 
3987         up by adding a get_state() call.
3988
3989 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
3990
3991         * gst/gst.c:
3992           Avoid reading registry twice on startup. Fixes #457322.
3993
3994 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
3995
3996         * pkgconfig/gstreamer-check-uninstalled.pc.in:
3997         * pkgconfig/gstreamer-check.pc.in:
3998         Substitute the CFLAGS for libcheck into our .pc file too so that
3999         dependent modules will pick it up properly if libcheck is installed
4000         into some other prefix.
4001
4002 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
4003
4004         * configure.ac:
4005         Revert the pkg-config check for libcheck, since it pulls in the
4006         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
4007         a proper solution, either from the check project, or something else.
4008
4009 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
4010
4011         * configure.ac:
4012           Use pkg-config to locate check.
4013
4014 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
4015
4016         * gst/gsttaglist.c:
4017           Fix doc syntax.
4018
4019         * gst/gstutils.c:
4020         * gst/gstutils.h:
4021           Add deprecation guards.
4022
4023         * libs/gst/base/gstcollectpads.h:
4024           Don't document object (this is implicitly private).
4025
4026 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
4027
4028         * gst/gststructure.c: (gst_structure_parse_value):
4029           When deserialising foo=bar without a type cast, check if it's a
4030           boolean before falling back to a string type, otherwise things like
4031           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
4032           because the filtercaps end up having a signed=(string)true field,
4033           which causes problems later when intersection caps.
4034
4035         * tests/check/gst/gststructure.c: (GST_START_TEST):
4036           Add a unit test for this.
4037
4038 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
4039
4040         Reviewed by: Stefan Kost <ensonic@users.sf.net>
4041
4042         * libs/gst/controller/Makefile.am:
4043         * libs/gst/controller/gstcontroller.c:
4044         (gst_controlled_property_add_interpolation_control_source),
4045         (gst_controlled_property_new), (gst_controlled_property_free),
4046         (gst_controller_find_controlled_property),
4047         (gst_controller_new_valist), (gst_controller_new_list),
4048         (gst_controller_new), (gst_controller_remove_properties_valist),
4049         (gst_controller_remove_properties_list),
4050         (gst_controller_remove_properties),
4051         (gst_controller_set_property_disabled),
4052         (gst_controller_set_disabled), (gst_controller_set_control_source),
4053         (gst_controller_get_control_source), (gst_controller_get),
4054         (gst_controller_sync_values), (gst_controller_get_value_array),
4055         (_gst_controller_dispose), (gst_controller_get_type),
4056         (gst_controlled_property_set_interpolation_mode),
4057         (gst_controller_set), (gst_controller_set_from_list),
4058         (gst_controller_unset), (gst_controller_unset_all),
4059         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
4060         * libs/gst/controller/gstcontroller.h:
4061         * libs/gst/controller/gstcontrollerprivate.h:
4062         * libs/gst/controller/gstcontrolsource.c:
4063         (gst_control_source_class_init), (gst_control_source_init),
4064         (gst_control_source_get_value),
4065         (gst_control_source_get_value_array), (gst_control_source_bind):
4066         * libs/gst/controller/gstcontrolsource.h:
4067         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
4068         (gst_object_get_control_source):
4069         * libs/gst/controller/gstinterpolation.c:
4070         (gst_interpolation_control_source_find_control_point_node),
4071         (gst_interpolation_control_source_get_first_value),
4072         (_interpolate_none_get), (interpolate_none_get),
4073         (interpolate_none_get_boolean_value_array),
4074         (interpolate_none_get_enum_value_array),
4075         (interpolate_none_get_string_value_array),
4076         (_interpolate_trigger_get), (interpolate_trigger_get),
4077         (interpolate_trigger_get_boolean_value_array),
4078         (interpolate_trigger_get_enum_value_array),
4079         (interpolate_trigger_get_string_value_array):
4080         * libs/gst/controller/gstinterpolationcontrolsource.c:
4081         (gst_control_point_free), (gst_interpolation_control_source_reset),
4082         (gst_interpolation_control_source_new),
4083         (gst_interpolation_control_source_set_interpolation_mode),
4084         (gst_interpolation_control_source_bind),
4085         (gst_control_point_compare), (gst_control_point_find),
4086         (gst_interpolation_control_source_set_internal),
4087         (gst_interpolation_control_source_set),
4088         (gst_interpolation_control_source_set_from_list),
4089         (gst_interpolation_control_source_unset),
4090         (gst_interpolation_control_source_unset_all),
4091         (gst_interpolation_control_source_get_all),
4092         (gst_interpolation_control_source_get_count),
4093         (gst_interpolation_control_source_init),
4094         (gst_interpolation_control_source_finalize),
4095         (gst_interpolation_control_source_dispose),
4096         (gst_interpolation_control_source_class_init):
4097         * libs/gst/controller/gstinterpolationcontrolsource.h:
4098         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
4099         API: Refactor GstController into the core controller which can take
4100         a GstControlSource for providing actual values for timestamps.
4101         Implement a interpolation control source and use this for backward
4102         compatibility, deprecate a bunch of functions that are now handled
4103         by GstControlSource or GstInterpolationControlSource.
4104         Make it possible to disable the controller completely or only for
4105         specific properties. Fixes #450711.
4106         * docs/libs/gstreamer-libs-docs.sgml:
4107         * docs/libs/gstreamer-libs-sections.txt:
4108         * docs/libs/gstreamer-libs.types:
4109         Add new functions and classes to the docs.
4110         * tests/check/libs/controller.c: (GST_START_TEST),
4111         (gst_controller_suite):
4112         * tests/examples/controller/audio-example.c: (main):
4113         Port unit test and example to the new API and add some new
4114         unit tests.
4115
4116 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
4117
4118         Patch by: Mark Nauwelaerts <manauw at skynet be>
4119
4120         * plugins/elements/gstmultiqueue.c:
4121         (gst_multi_queue_get_internal_links), (apply_buffer),
4122         (single_queue_overrun_cb), (gst_single_queue_new):
4123         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
4124         the pipeline layout can be tracked correctly. Fixes #453732.
4125
4126 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
4127
4128         * docs/gst/Makefile.am:
4129         * docs/libs/Makefile.am:
4130         * docs/plugins/Makefile.am:
4131           Simplify --extra-dir as gtkdoc scans recursively.
4132
4133 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
4134
4135         * tools/gst-launch.c: (main):
4136         When we got an error, there is no point in waiting for preroll when
4137         shutting down.
4138
4139 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
4140
4141         * plugins/elements/gsttee.c: (gst_tee_base_init),
4142         (gst_tee_request_new_pad), (gst_tee_release_pad),
4143         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
4144         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
4145         (gst_tee_chain):
4146         Be a lot smarter when deciding what srcpad to use for proxying
4147         the buffer_alloc. Also handle pad added/removed when doing so.
4148         Fixes #357959.
4149         Keep track of what pads we already pushed on in case we have pads
4150         added/removed while pushing. Fixes #374639 
4151
4152         * tests/check/Makefile.am:
4153         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
4154         (tee_suite):
4155         Added unit test for pad resync.
4156
4157 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4158
4159         * po/nl.po:
4160         * po/sv.po:
4161           Updated translations.
4162
4163 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4164
4165         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
4166
4167         * po/LINGUAS:
4168         * po/fi.po:
4169           Added new Finnish translation.
4170
4171 2007-06-28  Wim Taymans  <wim@fluendo.com>
4172
4173         * plugins/elements/gstmultiqueue.c: (apply_buffer),
4174         (single_queue_overrun_cb):
4175         When figuring out when a queue is filled, use our internal time estimate
4176         based on segments, just like check_full does.
4177
4178 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
4179
4180         * gst/gstminiobject.c: (gst_mini_object_get_type):
4181           Remove 3 do-nothing methods.
4182
4183 2007-06-27  Wim Taymans  <wim@fluendo.com>
4184
4185         Patch by: Tim Angus <tim at ngus dot net>
4186
4187         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
4188         (gst_capsfilter_set_property):
4189         Take a reference instead of a copy when setting "caps".
4190         Fix documentation to clarify this behaviour. Fixes #449414.
4191
4192 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
4193
4194         * gst/gstindexfactory.c: (gst_index_factory_get_type):
4195         * gst/gstplugin.c: (gst_plugin_init):
4196         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
4197         * gst/gstquery.c: (gst_query_get_type):
4198         * gst/gstregistry.c: (gst_registry_init):
4199         * gst/gsturi.c: (gst_uri_handler_base_init):
4200           Remove empty instance_init() functions to save relocs and lessen the
4201           noise. Remove some of the function prototypes that are doubled by
4202           G_DEFINE_TYPE.
4203           
4204 2007-06-27  Wim Taymans  <wim@fluendo.com>
4205
4206         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
4207
4208         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
4209         Add peer and direction in the XML serialisation of ghostpads.
4210         Fixes #449226.
4211
4212 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
4213
4214         * configure.ac:
4215           Preserve useful information, thanks Tim.
4216
4217 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
4218
4219         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
4220         (gst_single_queue_flush), (apply_segment), (apply_buffer),
4221         (gst_single_queue_push_one), (gst_multi_queue_loop),
4222         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
4223         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
4224         (compute_high_id), (gst_single_queue_new):
4225         * plugins/elements/gstmultiqueue.h:
4226         Take the multiqueue lock when updating the fill level so we don't get
4227         confused. 
4228
4229         After applying a buffer or event on the src pad segment, make sure to
4230         call gst_data_queue_limits_changed() to get the data queue to unblock
4231         and check the filled state again.
4232         
4233         Rework the not-linked pad handling so the logic is that not-linked 
4234         pads can push as fast as they like, but only so they never get 
4235         ahead of any linked pads.
4236
4237         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
4238         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
4239         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
4240
4241         Add a test to check that not-linked pads always stay behind
4242         linked pads.
4243
4244         Fixes: #430682
4245
4246 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
4247
4248         * docs/random/release:
4249           Some updates to the release procedure.
4250
4251 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
4252
4253         * gst/gstelementfactory.c: (__gst_element_details_clear):
4254           Microoptimization that saves stunning 80 bytes.
4255
4256 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
4257
4258         * docs/plugins/gstreamer-plugins.args:
4259         * docs/plugins/inspect/plugin-coreelements.xml:
4260         * docs/plugins/inspect/plugin-coreindexers.xml:
4261           Update docs with caps info.
4262
4263 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4264
4265         * po/it.po:
4266           Updated Italian translation.
4267
4268 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4269
4270         * ChangeLog:
4271         * po/vi.po:
4272           Update Vietnamese translations.
4273
4274 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
4275
4276         * libs/gst/base/gstbasesink.c:
4277           Remove unused signal enum.
4278
4279 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
4280
4281         * docs/gst/gstreamer-sections.txt:
4282         * gst/gstelement.c:
4283         * gst/gstutils.c: (gst_type_register_static_full):
4284         Beef up and include the docs for gst_type_register_static_full and
4285         gst_element_class_set_details_simple and add the API keyword
4286         in the ChangeLog.
4287
4288 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
4289
4290         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4291         (update_time_level), (gst_single_queue_push_one),
4292         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
4293         (single_queue_overrun_cb), (single_queue_underrun_cb),
4294         (single_queue_check_full):
4295         Fix setting max-* properties after adding queues.
4296         Use IS_FILLED for checking visible items.
4297         Signal overrun if multiple queues overrun.
4298         Add extra debug output.
4299         Patch by: Wim Taymans <wim@fluendo.com>
4300
4301 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
4302
4303         * gst/gstelement.c: (gst_element_class_set_details_simple):
4304         * gst/gstelement.h:
4305         * gst/gstutils.c: (gst_type_register_static_full):
4306         * gst/gstutils.h:
4307         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
4308         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
4309         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
4310         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
4311         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
4312         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
4313         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
4314         * plugins/elements/gstidentity.c: (gst_identity_base_init):
4315         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
4316         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4317         (apply_buffer), (gst_queue_chain):
4318         * plugins/elements/gsttee.c: (gst_tee_base_init):
4319         * plugins/elements/gsttypefindelement.c:
4320         (gst_type_find_element_base_init),
4321         (gst_type_find_element_class_init):
4322           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
4323           API: add gst_type_register_static_full
4324           API: add gst_element_class_set_details_simple
4325
4326 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
4327
4328         * docs/pwg/advanced-types.xml:
4329           Fix typo in iana.org URI.
4330
4331 2007-06-19  Andy Wingo  <wingo@pobox.com>
4332
4333         * tests/check/pipelines/simple-launch-lines.c
4334         (test_state_change_returns): Enable pull-mode tests now that
4335         basesink has been fixed.
4336
4337         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
4338         Changed from gst_base_sink_is_prerolled, reversing the sense of
4339         the return value. Returns FALSE also if the sink is in pull mode,
4340         in which case it needs no preroll.
4341         (gst_base_sink_query, gst_base_sink_change_state): Update for
4342         needs_preroll change.
4343         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
4344         chaining up, in which we return SUCCESS directly if we activated
4345         in pull mode instead of ASYNC. Involves countering an async_start
4346         message sent before chaining up; not sure if this is correct, in
4347         an ideal world we only send async-start when activating in push
4348         mode.
4349
4350         * tests/check/pipelines/simple-launch-lines.c
4351         (test_state_change_returns): New test, partially disabled until
4352         basesink is fixed.
4353
4354 2007-06-19  Wim Taymans  <wim@fluendo.com>
4355
4356         * plugins/elements/gstmultiqueue.c: (apply_buffer),
4357         (gst_multi_queue_sink_event):
4358         Fix event leak.
4359
4360 2007-06-19  Wim Taymans  <wim@fluendo.com>
4361
4362         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4363         (gst_bin_change_state_func), (bin_push_state_continue),
4364         (bin_handle_async_start), (bin_handle_async_done),
4365         (gst_bin_handle_message_func):
4366         Move the common code for posting state-change messages into
4367         one function.
4368         Broadcast the state signal after we posted the messages.
4369         Mark the bin as busy when it's doing a state-change.
4370         Make sure async-start/done messages don't interfere with the bin's
4371         state when it's busy.
4372         After the state change, let the bin check which elements completed the
4373         state change while it was busy so that it can update its state.
4374
4375 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
4376
4377         * docs/random/release:
4378         Add a note about updating the doap file to the release checklist
4379
4380 2007-06-18  Wim Taymans  <wim@fluendo.com>
4381
4382         * plugins/elements/gstmultiqueue.c: (apply_buffer),
4383         (gst_single_queue_push_one), (gst_multi_queue_chain),
4384         (gst_multi_queue_sink_event):
4385         Make sure we don't reference the buffer/event after we have given away
4386         ownership in the queue.
4387
4388 2007-06-18  Wim Taymans  <wim@fluendo.com>
4389
4390         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
4391         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
4392         Update queue state _after_ adding the item in the queue because else we
4393         could end up being full without the element added yet.
4394
4395 2007-06-18  Wim Taymans  <wim@fluendo.com>
4396
4397         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4398         (gst_bin_remove_func), (gst_bin_get_state_func),
4399         (gst_bin_element_set_state), (gst_bin_continue_func),
4400         (bin_push_state_continue), (bin_handle_async_start),
4401         (bin_handle_async_done), (gst_bin_handle_message_func):
4402         * gst/gstbin.h:
4403         Immediatly commit the toplevel bin state when receiving an async-done
4404         message. This enables us to avoid spawning a thread to commit the state
4405         in some common cases and it also avoids some races.
4406         Avoid spawning a state thread when adding/removing async elements to a
4407         toplevel bin. Instead we immediatly update the bin state.
4408         Get rid of iterating all the children when getting the state in the bin
4409         because it is now always up-to-date.
4410         Fix bug where locked elements would always return _SUCCESS even it they
4411         returned NO_PREROLL before being locked.
4412         Fix the order of the state_change, async-start/done messages that was
4413         sometimes incorrect.
4414         Mark the state_dirty field as deprecated, we don't need it anymore as we
4415         are always up-to-date.
4416
4417         * gst/gstelement.c: (gst_element_get_state_func),
4418         (gst_element_continue_state):
4419         Small debug inprovements.
4420         Return the previous element state return when nothing is pending instead
4421         of blindly returning SUCCESS.
4422
4423         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
4424         (gst_sinks_suite):
4425         Add a whole bunch of new testcases.
4426
4427 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4428
4429         * po/uk.po:
4430         * po/vi.po:
4431           Update translations.
4432
4433 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
4434
4435         * gst/gstpad.c:
4436         Fix typo in the docs.
4437
4438 2007-06-15  Wim Taymans  <wim@fluendo.com>
4439
4440         * docs/libs/gstreamer-libs-sections.txt:
4441         Add docs for new methods.
4442
4443 2007-06-15  Wim Taymans  <wim@fluendo.com>
4444
4445         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
4446         (gst_multi_queue_item_new):
4447         Don't use GSlice because we don't depend on >= 2.10 yet.
4448
4449 2007-06-15  Wim Taymans  <wim@fluendo.com>
4450
4451         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
4452         (update_time_level), (apply_segment), (apply_buffer),
4453         (gst_single_queue_push_one), (gst_multi_queue_item_new),
4454         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
4455         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
4456         (single_queue_underrun_cb), (single_queue_check_full):
4457         Remove debug printf.
4458
4459 2007-06-15  Wim Taymans  <wim@fluendo.com>
4460
4461         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
4462         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
4463         (gst_data_queue_set_flushing), (gst_data_queue_push),
4464         (gst_data_queue_pop), (gst_data_queue_drop_head),
4465         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
4466         * libs/gst/base/gstdataqueue.h:
4467         Various cleanups.
4468         Added methods to get the current levels and to inform the queue that the
4469         'full' limits changed.
4470
4471         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
4472         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
4473         (gst_single_queue_flush), (update_time_level), (apply_segment),
4474         (apply_buffer), (gst_single_queue_push_one),
4475         (gst_multi_queue_item_steal_object),
4476         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
4477         (gst_multi_queue_loop), (gst_multi_queue_chain),
4478         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
4479         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
4480         (gst_multi_queue_src_query), (single_queue_overrun_cb),
4481         (single_queue_underrun_cb), (single_queue_check_full),
4482         (gst_single_queue_new):
4483         Keep track of time in the queue by measuring the difference between
4484         running_time on input and output. This gives more accurate results and
4485         can compensate for segments correctly.
4486         Make a queue by default only 5 buffers deep. We will now increase the
4487         buffer size depending on the filledness of the other queues.
4488         Factor out commong flush code.
4489         Make sure we don't add additional refcounts to buffers when we can avoid
4490         it.
4491         Propagate GstFlowReturn differently.
4492         Use GSlice for intermediate GstMultiQueueItems.
4493         Keep track of EOS.
4494         Resize queues on over and underruns based on filled level of other
4495         queues.
4496         When checking if the queue is filled, prefer to measure in time if we
4497         can and fall back to bytes when no time is known.
4498
4499         * plugins/elements/gstqueue.c:
4500         Fix return value.
4501
4502 2007-06-15  Wim Taymans  <wim@fluendo.com>
4503
4504         * libs/gst/base/gstbasetransform.c:
4505         (gst_base_transform_sink_event):
4506         Work around the brokenness of the event vmethod in basetransform. Prefer
4507         to return TRUE when the subclass returned FALSE (meaning don't forward
4508         the event). 
4509
4510         * libs/gst/base/gstbasetransform.h:
4511         Clarify the docs.
4512
4513 2007-06-15  Wim Taymans  <wim@fluendo.com>
4514
4515         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
4516         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4517         (gst_base_src_default_query), (gst_base_src_get_range),
4518         (gst_base_src_start):
4519         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
4520         Improve debugging.
4521
4522 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
4523
4524         * docs/pwg/advanced-types.xml:
4525           Added more formats to caps table.
4526
4527 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
4528
4529         * tools/gst-launch.c: (main):
4530           Remove crufy code. GOption does not need this workaround.
4531
4532 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
4533
4534         * libs/gst/controller/gstcontroller.c:
4535         (gst_controlled_property_set_interpolation_mode):
4536           Fix wrong getter for enums in controller.
4537
4538 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
4539
4540         * libs/gst/check/gstcheck.c: (gst_check_init):
4541           Intercept criticals and warnings in the Gst-Phonon log domain, so
4542           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
4543           well.
4544         
4545 2007-06-14  Edward Hervey  <edward@fluendo.com>
4546
4547         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
4548         Since this file doesn't include "gst.h" it will not go through the
4549         macros that disable GST_LOG if debugging was disabled.
4550
4551 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
4552
4553         * libs/gst/check/Makefile.am:
4554         * libs/gst/check/gstcheck.h:
4555         * pkgconfig/gstreamer-check-uninstalled.pc.in:
4556         * pkgconfig/gstreamer-check.pc.in:
4557           Ugly 'fix' for the controller unit test on the p5 bot: in
4558           fail_unless_equals_float() check whether the values are 'almost
4559           equal' by allowing a small absolute error, which should be good
4560           enough for our use cases (normal numbers and values close to 0).
4561           Proper fixage left to floating point arithmetic aficionados.
4562
4563 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
4564
4565         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
4566         (gst_base_sink_render_object), (gst_base_sink_get_position):
4567           Add two breaks thats where missing.
4568
4569 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
4570
4571         * docs/libs/gstreamer-libs-sections.txt:
4572         * libs/gst/check/gstcheck.h:
4573           API: add fail_unless_equals_float() and assert_equals_float().
4574           Add documentation for some of the macros.
4575
4576         * tests/check/libs/controller.c: (GST_START_TEST):
4577           Use newly-added asserts.
4578
4579 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
4580
4581         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
4582           Show the caps change in the log to help spotting the case of not
4583           exactly matching caps.
4584
4585 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
4586
4587         * docs/pwg/building-boiler.xml:
4588           Fix typos, spotted by Thijs Vermeir (#447190).
4589
4590 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
4591
4592         * docs/plugins/tmpl/.cvsignore:
4593         Ignore file to keep the buildbots happy
4594
4595 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
4596
4597         * docs/plugins/Makefile.am:
4598         * docs/plugins/gstreamer-plugins-docs.sgml:
4599         * docs/plugins/gstreamer-plugins-sections.txt:
4600         Pull fdsink into the docs too.
4601
4602 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
4603
4604         * libs/gst/controller/gstinterpolation.c:
4605         Actually use the new functions with min/max checks for the trigger and
4606         none interpolation modes for get() and get_value_array() instead of
4607         just the latter.
4608
4609 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
4610
4611         * libs/gst/controller/gstcontroller.c:
4612         (gst_controlled_property_free):
4613         Unset the minimum and maximum GValues when freeing the corresponding
4614         GstControllerProperty struct.
4615
4616 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
4617
4618         * libs/gst/controller/gstcontroller.c:
4619         (gst_controlled_property_new):
4620         * libs/gst/controller/gstcontrollerprivate.h:
4621         * libs/gst/controller/gstinterpolation.c:
4622         (gst_controlled_property_find_control_point_node),
4623         (interpolate_none_get), (interpolate_none_get_enum_value_array),
4624         (interpolate_none_get_string_value_array),
4625         (interpolate_trigger_get),
4626         (interpolate_trigger_get_enum_value_array),
4627         (interpolate_trigger_get_string_value_array):
4628         Protect against values larger or smaller than the minimum or maximum
4629         allowed value for the property when using values that can be compared.
4630
4631         Optimize trigger interpolator a bit by taking the last requested value
4632         into account instead of always looping through the complete list.
4633
4634         Fix coding style a bit, everywhere else we use "return foo" instead
4635         of "return (foo)".
4636         
4637         * tests/check/libs/controller.c: (GST_START_TEST),
4638         (gst_controller_suite):
4639         Add unit test for the protection against too large or too small
4640         values.
4641
4642 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
4643
4644         * docs/random/slomo/controller.txt:
4645         Add some thoughts about the future of the controller.
4646
4647 2007-06-08  Wim Taymans  <wim@fluendo.com>
4648
4649         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4650         Don't overflow in retimestamping code.
4651
4652 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
4653
4654         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
4655         Use gst_util_guint64_to_gdouble for conversions.
4656         * win32/common/libgstreamer.def:
4657         Add new exported functions.
4658
4659 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
4660
4661         * gst/gstutils.c:
4662           Small docs addition.
4663
4664 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
4665
4666         * README:
4667           Remove that test line again.
4668
4669 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
4670
4671         * README:
4672           Test commit mail sending.
4673
4674 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
4675
4676         * configure.ac:
4677           Fix typo and test commit mail sending.
4678
4679 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
4680
4681         * tests/examples/controller/audio-example.c:
4682           Improve comment and test commit mail sending.
4683
4684 2007-06-07  Wim Taymans  <wim@fluendo.com>
4685
4686         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
4687         (gst_bin_remove_func), (gst_bin_element_set_state),
4688         (bin_handle_async_start), (bin_handle_async_done),
4689         (gst_bin_handle_message_func):
4690         Add helper function to find messages.
4691         Generate the async-done messages together with the state change
4692         messages.
4693         Small cleanups in handling toplevel bins.
4694
4695 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
4696
4697         * libs/gst/base/gstdataqueue.c:
4698         * libs/gst/base/gstdataqueue.h:
4699         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4700         (gst_multi_queue_item_new), (gst_multi_queue_chain),
4701         (gst_multi_queue_sink_event):
4702         * tests/check/elements/multiqueue.c: (multiqueue_suite):
4703           Fix multiqueue leaking buffers and events when downstream or the
4704           queue are flushing. Make refcounting assumptions explicit and
4705           document them (shouldn't break existing code that uses it other than
4706           maybe leak miniobjects, but that already happens anyway). Add unit
4707           test for the most common flushing case. Fixes #423700.
4708           
4709 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
4710
4711         * libs/gst/controller/gstcontroller.c:
4712         Clarify docs: The get_all, get_value_array(s) functions
4713         don't modify the GObject properties.
4714
4715 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
4716
4717         * libs/gst/controller/gstcontroller.c:
4718         (gst_controlled_property_set_interpolation_mode),
4719         (gst_controlled_property_prepend_default),
4720         (gst_controlled_property_new), (gst_controller_set_unlocked),
4721         (gst_controller_set), (gst_controller_set_from_list),
4722         (gst_controller_unset), (gst_controller_unset_all):
4723         * libs/gst/controller/gstcontrollerprivate.h:
4724         * libs/gst/controller/gstinterpolation.c:
4725         Factor out the 'set' logic into gst_controller_set_unlocked for the
4726         gst_controller_set and gst_controller_set_from_list functions.
4727
4728         To make life of the interpolators easier always add a control point
4729         at timestamp zero with the default value.
4730
4731         In the linear interpolator make things more obvious by better variable
4732         naming (slope).
4733
4734         Implement cubic interpolation mode (by using a natural cubic spline)
4735         and map the quadratic interpolation mode to this too (as quadratic
4736         doesn't make much sense, see discussion on the list).
4737
4738         * tests/check/libs/controller.c: (GST_START_TEST),
4739         (gst_controller_suite):
4740         Add unit test for the cubic interpolation mode and check everywhere
4741         if the interpolation mode could be set as expected.
4742
4743 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
4744
4745         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
4746           Don't use GLib-2.10 functions, we still depend on
4747           GLib-how-old-is-it-again-2.8.
4748
4749 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
4750
4751         * docs/gst/gstreamer-sections.txt:
4752         * gst/Makefile.am:
4753         * gst/gst.c:
4754         * gst/gst.h:
4755         * gst/gstparamspecs.c: (_gst_param_fraction_init),
4756         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
4757         (_gst_param_fraction_values_cmp),
4758         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
4759         * gst/gstparamspecs.h:
4760         * gst/gstvalue.c:
4761         * tests/check/Makefile.am:
4762         * tests/check/gst/.cvsignore:
4763         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
4764         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
4765         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
4766         (GST_START_TEST), (gst_param_spec_suite):
4767           API: add GstParamSpecFraction, so elements can have fraction
4768           properties without lots of painful string parsing (#444648).
4769
4770 2007-06-05  Wim Taymans  <wim@fluendo.com>
4771
4772         * gst/gstobject.c: (gst_object_class_init):
4773         Fix signal signature.
4774
4775         * gst/gstsegment.c:
4776         Add small clarification in the api docs.
4777
4778         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
4779         States are protected with object lock.
4780
4781 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
4782
4783         * AUTHORS:
4784         I should probably be listed as an author by now.
4785
4786         * docs/random/release:
4787         Update the release doc
4788
4789 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
4790
4791         * gst/gstvalue.c:
4792           Make docs for gst_value_compare() mention return enums that
4793           actually exist.
4794
4795 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
4796
4797         * configure.ac:
4798           Back to CVS
4799
4800 === release 0.10.13 ===
4801
4802 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
4803
4804         * configure.ac:
4805           releasing 0.10.13, "With or without you"
4806
4807 2007-05-25  Wim Taymans  <wim@fluendo.com>
4808
4809         * gst/gstbin.c: (bin_handle_async_done):
4810         Make sure that the child bin stops after completing the async state
4811         change so that the parent can continue the state change to PLAYING.
4812         Fixes #441159.
4813
4814 2007-05-25  Wim Taymans  <wim@fluendo.com>
4815
4816         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4817         (unref_data), (gst_collect_pads_remove_pad),
4818         (gst_collect_pads_check_pads):
4819         Use additional refcounting to avoid crashes when dynamically adding and
4820         removing pads. Fixes #420206.
4821
4822 2007-05-24  Wim Taymans  <wim@fluendo.com>
4823
4824         * tools/gst-launch.c: (event_loop):
4825         When buffering goes from a two digit to a single digit number, make sure
4826         to remove the old second digit by writing a blank over it.
4827
4828 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
4829
4830         * libs/gst/base/gstdataqueue.c:
4831           Eliminate tabs and trailing comma in enum list; fix some typos.
4832
4833 2007-05-24  Wim Taymans  <wim@fluendo.com>
4834
4835         * tests/check/gst/gstbin.c: (GST_START_TEST):
4836         Allow refcount of 3 and 4 because some state thread might still be busy
4837         with it.
4838
4839 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
4840
4841         * plugins/elements/Makefile.am:
4842         * plugins/elements/gstmultiqueue.h:
4843         * plugins/elements/gstqueue.h:
4844           These are not installed headers, no need for padding.
4845
4846 2007-05-24  Wim Taymans  <wim@fluendo.com>
4847
4848         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
4849         (gst_bin_continue_func):
4850         Enable latency for next release.
4851         Restore STATE_LOCK around recalc_state that was left out during the
4852         rewrite and could result in racy behaviour when _get_state and
4853         recalc_state are run concurrently. See #440463.
4854
4855 2007-05-23  Wim Taymans  <wim@fluendo.com>
4856
4857         * tests/check/gst/gstsystemclock.c: (store_callback),
4858         (GST_START_TEST):
4859         Improve test_async_order to also work when both timers are already
4860         expired when we get scheduled to check it.
4861
4862 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
4863
4864         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
4865         (gst_bin_set_property), (gst_bin_get_property),
4866         (gst_bin_remove_func), (gst_bin_handle_message_func):
4867         * gst/gstbin.h:
4868           'private' is a c++ keyword, let's not use that in header files,
4869           otherwise c++ compilers will throw a tantrum.
4870
4871 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
4872
4873         * plugins/elements/gstelements.c:
4874         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
4875         (gst_file_sink_get_current_offset):
4876         * plugins/indexers/gstindexers.c: (plugin_init):
4877           Use #ifdef for HAVE_XYZ for consistency.
4878
4879         * tests/check/Makefile.am:
4880         * tests/check/elements/.cvsignore:
4881         * tests/check/elements/filesink.c: (setup_filesink),
4882         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
4883           Add some unit tests for filesink.
4884
4885 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
4886
4887         Patch by: Mark Nauwelaerts <manauw at skynet be>
4888
4889         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4890         (gst_file_sink_query), (gst_file_sink_do_seek),
4891         (gst_file_sink_get_current_offset), (gst_file_sink_render):
4892         * plugins/elements/gstfilesink.h:
4893           Fix position reporting; rename data_written member to current_pos to
4894           reflect its real meaning (fixes #412648).
4895
4896 2007-05-22  Edward Hervey  <edward@fluendo.com>
4897
4898         * docs/gst/gstreamer-sections.txt:
4899         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4900         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
4901         (gst_bin_remove_func), (gst_bin_handle_message_func):
4902         * gst/gstbin.h:
4903         Add a property for bins that handle the state change of their childs.
4904         Fixes #435880
4905
4906 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
4907
4908         * libs/gst/controller/gstinterpolation.c:
4909         Use an array of the correct type when using _get_value_array with
4910         linear interpolation.
4911
4912 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
4913
4914         * gst/gstelement.c (gst_element_requires_clock,
4915           gst_element_provides_clock, gst_element_request_pad,
4916           gst_element_class_set_details, gst_element_class_set_details_simple,
4917           gst_element_default_send_event, gst_element_abort_state,
4918           gst_element_continue_state, gst_element_set_state,
4919           gst_element_set_state_func, iterator_activate_fold_with_resync):
4920         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
4921           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
4922           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
4923           gst_pad_get_range, gst_pad_pull_range):
4924         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
4925           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
4926           GstPadActivateModeFunction, GstPadChainFunction,
4927           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
4928           GstPadFixateCapsFunction, GstPadTemplate):
4929         * gst/gstpipeline.c (gst_pipeline_change_state,
4930           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
4931           gst_pipeline_set_clock, gst_pipeline_auto_clock,
4932           gst_pipeline_get_delay):
4933           Whitespace and docs fixes.
4934
4935 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
4936
4937         * libs/gst/controller/gstinterpolation.c:
4938         (interpolate_trigger_get_enum_value_array),
4939         (interpolate_trigger_get_string_value_array):
4940         Add support for retrieving value arrays when using the trigger
4941         interpolation mode. 
4942
4943 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
4944
4945         * libs/gst/controller/gstcontroller.c:
4946         (gst_controller_get_value_array):
4947         * libs/gst/controller/gstcontroller.h:
4948         Clarify the docs of gst_controller_get_value_array(): The array where
4949         the values should be written to must be allocated as there seems to be
4950         no way to get the size of a random GType. This doesn't change any
4951         behaviour. Also fix some typos all over the place and remove an unused,
4952         commented function that is not necessary as g_object_set() could be
4953         used instead.
4954         * tests/check/libs/controller.c: (GST_START_TEST),
4955         (gst_controller_suite):
4956         Add unit test for gst_controller_get_value_array().
4957
4958 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
4959
4960         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4961
4962         Disable part of the gst_buffer_try_new_and_alloc test, because
4963         it can happily succeed on 64-bit systems where there's more address
4964         space available.
4965
4966 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
4967
4968         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
4969         Add unit test for the improved caps checking from bug #421543.
4970
4971 2007-05-21  Wim Taymans  <wim@fluendo.com>
4972
4973         * docs/design/part-synchronisation.txt:
4974         Small addition.
4975
4976         * gst/gstbin.c: (gst_bin_query):
4977         * plugins/elements/gstqueue.c: (apply_segment):
4978         Improve debugging.
4979
4980         * gst/gstmessage.h:
4981         Improve docs.
4982
4983 2007-05-21  Wim Taymans  <wim@fluendo.com>
4984
4985         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
4986         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
4987         (gst_pad_configure_src):
4988         Added simple version of improved caps checking. It was previously
4989         assumed that a setcaps function would check the validity of the caps but
4990         people prefer us to check caps against the template automatically. 
4991         Fixes #421543.
4992
4993 2007-05-21  Wim Taymans  <wim@fluendo.com>
4994
4995         * libs/gst/base/gstbasetransform.h:
4996         Fix macro for locking/unlocking the transform lock.
4997
4998 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
4999
5000         * docs/plugins/tmpl/.cvsignore:
5001           Ignore more.
5002
5003 2007-05-18  Edward Hervey  <edward@fluendo.com>
5004
5005         * plugins/elements/gstqueue.c: (gst_queue_loop):
5006         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
5007         for the subtle art of warning a potentially blocking thread that it
5008         should check the source pad return value, and relay the information
5009         upstream.
5010
5011 2007-05-18  Edward Hervey  <edward@fluendo.com>
5012
5013         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
5014         Release the queue lock !
5015
5016 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
5017
5018         * docs/libs/gstreamer-libs-sections.txt:
5019         Add the two new controller functions to the appropiate places.
5020
5021 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
5022
5023         reviewed by: Stefan Kost <ensonic@users.sf.net>
5024
5025         * libs/gst/controller/gstcontroller.c:
5026         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
5027         (_gst_controller_get_property), (_gst_controller_set_property),
5028         (_gst_controller_init), (_gst_controller_class_init):
5029         * libs/gst/controller/gstcontroller.h:
5030         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
5031         (gst_object_get_control_rate), (gst_object_set_control_rate):
5032         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
5033         Add API that provides sync suggestion timestamps for elements that
5034         call gst_object_sync_values() from which those elements can subdivide
5035         their processing loop to get the best results for the controlled
5036         properties. For now it just suggests last_sync + control_rate as
5037         new timestamp but this will be improved in the future.
5038
5039         While doing that change the control-rate property to a GstClockTime
5040         from guint and change it's meaning from samples to nanoseconds as
5041         the GstController doesn't know anything about sampling rate. Strictly
5042         speaking this breaks ABI but as the control-rate property didn't do
5043         anything in the past and as such couldn't be used this should be no
5044         problem.        
5045
5046 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
5047
5048         reviewed by: Stefan Kost <ensonic@users.sf.net>
5049
5050         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
5051         (gst_controller_unset_all):
5052         * libs/gst/controller/gstcontrollerprivate.h:
5053         * libs/gst/controller/gstinterpolation.c:
5054         (gst_controlled_property_find_control_point_node):
5055         Save last synced value from the list to continue searching from there
5056         in future syncs. This speeds everything up a bit.
5057         
5058 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
5059
5060         reviewed by: Stefan Kost <ensonic@users.sf.net>
5061
5062         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
5063         (gst_control_point_find), (gst_controlled_property_new),
5064         (gst_control_point_free), (gst_controlled_property_free),
5065         (gst_controller_set), (gst_controller_set_from_list),
5066         (gst_controller_unset), (gst_controller_unset_all),
5067         (gst_controller_sync_values):
5068         * libs/gst/controller/gstcontroller.h:
5069         * libs/gst/controller/gstcontrollerprivate.h:
5070         * libs/gst/controller/gstinterpolation.c:
5071         (gst_controlled_property_find_control_point_node),
5072         (interpolate_none_get), (interpolate_trigger_get):
5073         Add a new private GstControlPoint struct which "inherits" from
5074         GstTimedValue to allow different interpolators to store internal
5075         values next to each control point. From the outside everything is
5076         still a GstControlPoint so we don't loose binary compatibility.
5077         Also fixup all the GValue handling to not leak GValues or list nodes.
5078         * tests/check/libs/controller.c: (GST_START_TEST):
5079         Free the list nodes and GValues in the controller_misc test.
5080
5081 2007-05-17  Edward Hervey  <edward@fluendo.com>
5082
5083         * gst/gstsegment.c:
5084         Small doc fix.
5085
5086 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
5087
5088         * gst/gstplugin.c: (gst_plugin_load_file):
5089           If we fail to load a plugin because of unresolved symbols or missing
5090           libraries and spew a warning to stderr, we may just as well mention
5091           which plugin it was that failed to load.
5092
5093 2007-05-13  David Schleef  <ds@schleef.org>
5094
5095         * docs/Makefile.am: the gtk-doc makefile snippet correctly
5096           handles the case when ENABLE_GTK_DOC is false, and installs
5097           the prebuilt documentation.  So gtk-doc subdirs are 
5098           unconditionally enabled.  Fixes: #349099.
5099
5100 2007-05-13  David Schleef  <ds@schleef.org>
5101
5102         * gst/gstutils.h: Reword some documentation.
5103
5104 2007-05-12  David Schleef  <ds@schleef.org>
5105
5106         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
5107           do anything with the passed "module" parameter, so remove it.
5108           Allows removal of additional vestigal code.
5109
5110 2007-05-12  David Schleef  <ds@schleef.org>
5111
5112         * gst/gstplugin.c:
5113           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
5114           Switch to using g_stat() because it's more portable.
5115
5116 2007-05-12  David Schleef  <ds@schleef.org>
5117
5118         * gst/gst.c:
5119           Add GST_DISABLE_OPTION_PARSING, in order to disable option
5120           parsing for embedded systems.
5121         * gst/gstelementfactory.c:
5122           Allow gst_element_register() to be called with plugin==NULL.
5123           Did nobody notice that static elements were broken?
5124
5125 2007-05-12  Wim Taymans  <wim@fluendo.com>
5126
5127         * tools/gst-launch.c: (event_loop):
5128         Give more interesting info when buffering starts and stops.
5129         Fix case where buffering starts but we fail to update the buffering flag
5130         because the target state is not PLAYING.
5131
5132 2007-05-12  Wim Taymans  <wim@fluendo.com>
5133
5134         * plugins/elements/gstqueue.c: (gst_queue_init),
5135         (gst_queue_finalize), (update_time_level), (apply_segment),
5136         (apply_buffer), (gst_queue_locked_flush),
5137         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
5138         (gst_queue_handle_sink_event), (gst_queue_chain),
5139         (gst_queue_push_one), (gst_queue_loop):
5140         * plugins/elements/gstqueue.h:
5141         Refactor an cleanup queue a bit.
5142         Do better time level calculations that also work when the srcpad is not
5143         yet running.
5144         Remove some unneeded debug lines.
5145
5146         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
5147         Added testcase for time level measurement.
5148         Try to make some stuff more racefree.
5149
5150 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
5151
5152         * gst/gsturi.c: (gst_element_make_from_uri):
5153           Don't leak plugin feature.
5154
5155         * tests/check/Makefile.am:
5156         * tests/check/gst/.cvsignore:
5157         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
5158           Add brain-dead unit test.
5159
5160 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
5161
5162         Patch by: Jeroen Wouters <woutersj at gmail com>
5163
5164         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
5165           Treat protocol strings in a case-insensitive way (#437563).
5166
5167 2007-05-11  Michael Smith <msmith@fluendo.com>
5168
5169         * gst/gstplugin.c: (gst_plugin_load_file):
5170         * gst/gstregistry.c: (gst_registry_scan_path_level):
5171           Don't print a g_warning for any failure to load a shared object.
5172           Instead, push this down into gstplugin.c, and warn _only_ if we
5173           failed to open the module (i.e. failure to link).
5174           Avoids warnings on normal, working, non-plugin .so files.
5175
5176 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
5177
5178         * gst/gstplugin.c (gst_plugin_load_file):
5179         * gst/gstregistry.c (GST_CAT_DEFAULT,
5180           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
5181           Print a g_warning if there was an error when loading a plugins during
5182           registry scan. The shuld help beginners starting with gst-plugin
5183           template.
5184
5185 2007-05-10  Wim Taymans  <wim@fluendo.com>
5186
5187         * plugins/elements/gstqueue.c: (gst_queue_class_init),
5188         (update_time_level), (gst_queue_locked_flush),
5189         (gst_queue_handle_sink_event), (gst_queue_chain),
5190         (gst_queue_push_one), (gst_queue_loop):
5191         * plugins/elements/gstqueue.h:
5192         Be smarter when calculating the current amount of data in the queue by
5193         measuring the difference between start and end timestamps (in running
5194         time) inside the queue. Fixes #432876.
5195         API: GstQueue::pushing to notify elements that we are pushing data again
5196         since the running signal is rather broken for this purpose.
5197
5198 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
5199
5200         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
5201           gst_queue_base_init, gst_queue_init):
5202           use GST_BOILERPLATE
5203
5204 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
5205
5206         * win32/common/libgstreamer.def:
5207         Add new exported functions.
5208         * win32/vs6/grammar.dsp:
5209         Use grammar pre-generated files.
5210
5211 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
5212
5213         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
5214
5215         * gst/Makefile.am:
5216         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
5217         * gst/gstparse.h:
5218         * gst/gstutils.c: (gst_parse_bin_from_description):
5219         * gst/gstutils.h:
5220           Maintain API and ABI when --disable-parse is used. Now that
5221           we have an appropriate error code, we can just return NULL and the
5222           appropriate error when gst_parse_launch() is used despite it having
5223           been disabled (#342564).
5224
5225         * tests/check/Makefile.am:
5226         * tests/check/pipelines/.cvsignore:
5227         * tests/check/pipelines/parse-disabled.c:
5228           Make sure these functions exist and return NULL plus a GError when
5229           --disable-parse is used.
5230
5231 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
5232
5233         * tests/benchmarks/complexity.c: (main):
5234         * tests/benchmarks/mass-elements.c: (main):
5235           Set a good example and don't leak messages.
5236
5237 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
5238
5239         * docs/gst/Makefile.am:
5240         * docs/libs/Makefile.am:
5241           Correct fixxrefs options.
5242
5243         * docs/plugins/Makefile.am:
5244         * docs/plugins/gstreamer-plugins-docs.sgml:
5245         * docs/plugins/gstreamer-plugins-sections.txt:
5246         * plugins/elements/Makefile.am:
5247         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
5248         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
5249           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
5250           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
5251           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
5252           _GstCapsFilterClass, trans_class):
5253         * plugins/elements/gstelements.c (name, rank, type, _elements):
5254         * plugins/elements/gstidentity.c
5255           (gst_identity_check_imperfect_timestamp,
5256           gst_identity_check_imperfect_offset):
5257           Document capsfilter and add doc-blurb to identity.
5258
5259 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
5260
5261         * libs/gst/controller/gstcontroller.c:
5262         (gst_controlled_property_set_interpolation_mode):
5263         * libs/gst/controller/gstinterpolation.c:
5264           Don't crash if someone tries to set an interpolation mode that
5265           is invalid or that isn't supported yet. Fixes #422295.
5266
5267         * tests/check/libs/controller.c: (GST_START_TEST),
5268         (gst_controller_suite):
5269           Add a test case for the above.
5270
5271 2007-05-03  Edward Hervey  <edward@fluendo.com>
5272
5273         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5274         Properly set the last_stop position on GstSegment. This will only happen
5275         if there is a buffer to push out.
5276
5277 2007-05-03  Wim Taymans  <wim@fluendo.com>
5278
5279         * libs/gst/base/gstbasetransform.c:
5280         (gst_base_transform_buffer_alloc):
5281         always_in_place does not mean that the sink and source caps are the
5282         same! Make sure we don't blindly proxy the buffer_alloc in this case.
5283
5284 2007-05-03  Wim Taymans  <wim@fluendo.com>
5285
5286         * docs/libs/gstreamer-libs-sections.txt:
5287         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5288         (gst_base_src_default_query), (gst_base_src_get_range):
5289         * libs/gst/base/gstbasesrc.h:
5290         API: gst_base_src_query_latency(). Added method so that subclasses can
5291         easily get the latency values of the base source class.
5292
5293 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
5294
5295         * tools/gst-inspect.c (print_implementation_info):
5296         Remove 0.8 cruft.
5297
5298 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
5299
5300         * tools/Makefile.am:
5301         * tools/gst-launch.1.in:
5302           Don't create a customised man page based on the host architecture,
5303           describe the default registry path generically. That way the man
5304           page is the same for all architectures and packagers have one
5305           multilib issue less to deal with. Fixes #434926.
5306
5307 2007-05-02  Wim Taymans  <wim@fluendo.com>
5308
5309         * gst/gstpad.c:
5310         Fix documentation as spotted by rg on IRC. 
5311
5312 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
5313
5314         * gst/gstutils.c:
5315           Improve docs for gst_element_{link,unlink}.
5316
5317 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
5318
5319         * docs/design/part-events.txt:
5320         * docs/design/part-overview.txt:
5321         * gst/gstevent.c:
5322         * gst/gsturi.c:
5323         * gst/gsturi.h:
5324         * libs/gst/base/gstbasesink.c:
5325           Typo fixes; minor docs addition.
5326
5327 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
5328
5329         * docs/gst/gstreamer-sections.txt:
5330         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
5331         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
5332         * gst/gsturi.h:
5333         API: Add gst_uri_protocol_is_supported(), which checks if a sink
5334         or src that supports a given URI protocol exists.
5335
5336 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
5337
5338         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
5339         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
5340         Set the location to NULL if "file://" is set as URI. Otherwise
5341         some random previous URI would still be set if "file://" is
5342         set on an already used filesink/filesrc.
5343
5344 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
5345
5346         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
5347         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
5348         Special case the "file://" URI as as this is used by some
5349         applications to test with gst_element_make_from_uri if there's
5350         an element that supports the URI protocol.
5351         Also move the g_path_is_absolute() check for the location part
5352         of the URI to also check this for "file://localhost/bla" URIs.
5353
5354 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
5355
5356         * docs/gst/gstreamer-sections.txt:
5357         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
5358         * gst/gstbuffer.h:
5359         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
5360         (gst_buffer_suite):
5361           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
5362
5363 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
5364
5365         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
5366         (gst_registry_binary_load_pad_template),
5367         (gst_registry_binary_load_plugin),
5368         (gst_registry_binary_read_cache):
5369         * gst/gstregistrybinary.h:
5370           Implement no-mmap alternative for registry reading. Do code cleanups.
5371           Add more comments about avoiding strdups for all text data. Comments
5372           welcome.
5373
5374 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
5375
5376         * gst/gstregistrybinary.h (GstBinaryPluginElement,
5377           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
5378           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
5379           Comment structs and reformat to fix the build (that stuff should go
5380           into a priv. header).
5381
5382 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
5383
5384         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
5385         (gst_registry_binary_load_feature):
5386         * gst/gstregistrybinary.h:
5387           Refactor so that we can implement multiple features. Add support for
5388           TypeFindFactory features.
5389
5390 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
5391
5392         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
5393
5394         * configure.ac:
5395           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
5396
5397 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
5398
5399         * gst/gstbin.c: (gst_bin_element_set_state),
5400         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
5401         (bin_handle_async_done), (gst_bin_handle_message_func):
5402           Fix build with --gst-disable-gst-debug
5403
5404 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
5405
5406         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
5407           Make sure streaming has finished before calling the ::stop() vfunc,
5408           since that vfunc might clear state which is being used in the
5409           streaming thread. This fixes a race that caused crashes in
5410           audioresample when shutting down a pipeline (#420106).
5411
5412 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
5413
5414         * docs/gst/gstreamer-sections.txt:
5415           That was one byte missing.
5416
5417 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
5418
5419         * configure.ac:
5420         * docs/gst/gstreamer-sections.txt:
5421         * gst/Makefile.am:
5422         * gst/gstconfig.h.in:
5423         * gst/gstobject.c: (gst_object_class_init),
5424         (gst_signal_object_class_init):
5425         * gst/gstobject.h:
5426           2nd attempt to have a xml-less build as a joined effort of #413123
5427           and #421480.
5428
5429 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
5430
5431         * docs/design/draft-tagreading.txt:
5432           Added open issues/thoughts to draft.
5433
5434 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
5435
5436         * gst/parse/grammar.tab.pre.c:
5437         * gst/parse/grammar.tab.pre.h:
5438         * gst/parse/lex._gst_parse_yy.pre.c:
5439         Update the prebuild parser sources.
5440
5441 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
5442
5443         * gst/parse/Makefile.am:
5444         And now fix the building of the flex sources. Now everything should
5445         work as expected.
5446
5447 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
5448
5449         * gst/parse/Makefile.am:
5450         Now hopefully fix the build failures by setting proper rule
5451         dependencies and moving instead of copying.
5452
5453 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
5454
5455         * tests/benchmarks/complexity.gnuplot:
5456         * tests/benchmarks/complexity.scm:
5457         * tests/benchmarks/mass-elements.gnuplot:
5458         * tests/benchmarks/mass-elements.scm:
5459           Total licensification.
5460
5461 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
5462
5463         * gst/parse/Makefile.am:
5464           Fix the build by correcting the rule that gave wrong files to flex.
5465
5466 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
5467
5468         * tests/benchmarks/complexity.c:
5469         * tests/benchmarks/mass-elements.c:
5470           Change licence to LGPL as granted by Benjamin and Andy.
5471
5472 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
5473
5474         * gst/parse/Makefile.am:
5475         Add correct grammar.tab.h dependency if compiling without new enough
5476         flex. Fixes #431150.
5477
5478 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
5479
5480         * gst/parse/Makefile.am:
5481         Fix typo and use outdated sources if the flex/bison sources are newer
5482         than the pregenerated ones but flex is too old. Print a warning in
5483         that case. This should fix the build on the build bot.
5484
5485 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
5486
5487         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
5488         * gst/parse/Makefile.am:
5489         * gst/parse/grammar.y:
5490         * gst/parse/parse.l:
5491         Make the parser reentrant and recursively callable. This requires flex
5492         >= 2.5.31, for older versions pregenerated sources are used as we
5493         can't bump the build dependency. Finally fixes #349180.
5494
5495         * gst/gstparse.c: (gst_parse_launch):
5496         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
5497         now anyway.
5498
5499         * docs/gst/Makefile.am:
5500         * docs/gst/Makefile.am:
5501         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
5502         (__gst_parse_strfree), (__gst_parse_link_new),
5503         (__gst_parse_link_free), (__gst_parse_chain_new),
5504         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
5505         (gst_parse_element_set), (gst_parse_free_link),
5506         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
5507         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
5508         (_gst_parse_launch):
5509         * gst/parse/grammar.tab.pre.h:
5510         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
5511         (yy_get_previous_state), (yy_try_NUL_trans), (input),
5512         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
5513         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
5514         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
5515         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
5516         (_gst_parse_yypop_buffer_state),
5517         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
5518         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
5519         (yy_fatal_error), (_gst_parse_yyget_extra),
5520         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
5521         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
5522         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
5523         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
5524         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
5525         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
5526         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
5527         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
5528         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
5529         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
5530         (_gst_parse_yyfree):
5531         If the installed flex version is too old use pre-generated parser
5532         sources. These pre-generated parser sources are always updated when
5533         the actual flex/bison sources change but require everybody who wants
5534         to change something in the parser to have flex >= 2.5.31 installed.
5535
5536 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
5537
5538         * common/m4/gst-gettext.m4:
5539         * gst/gst-i18n-lib.h:
5540           Make --disable-nls to work
5541
5542 2007-04-17  Wim Taymans  <wim@fluendo.com>
5543
5544         * gst/gstconfig.h.in:
5545         Revert previous change that broke the build.
5546
5547 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
5548
5549         * configure.ac:
5550         * gst/Makefile.am:
5551         * gst/gstconfig.h.in:
5552           Drop libxml2 dependency when building with 
5553           --enable-binary-registry --disable-loadsave
5554
5555 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
5556
5557         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
5558         (gst_registry_binary_read_cache):
5559         * gst/gstregistrybinary.h:
5560           Remove unnecessary <sys/mman.h> include which broke the win32 build
5561           with MingW; move includes from header file to .c file, even if the
5562           header file isn't installed; use g_strerror() where UTF-8 strings
5563           are expected, such as in GST_DEBUG messages.
5564
5565 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
5566
5567         * docs/libs/gstreamer-libs-sections.txt:
5568         Remove bogus addition for API I didn't end up keeping.
5569
5570         * libs/gst/base/gstbasesrc.h:
5571         Mention Since: 0.10.13 in the documentation.
5572
5573         Add the API keyword to the previous ChangeLog entry.
5574
5575 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
5576
5577         * docs/libs/gstreamer-libs-sections.txt:
5578         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5579         (gst_base_src_default_prepare_seek_segment),
5580         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
5581         * libs/gst/base/gstbasesrc.h:
5582         Allow basesrc derived classes to execute seeks in other formats
5583         by providing a prepare_seek_segment vmethod. Sub-classes can choose
5584         to prepare the GstSegment in any format that their perform_seek method
5585         will be able to understand. The default implementation provides the
5586         old behaviour of attempting to convert the seek offsets to the 
5587         configured native format.
5588
5589         API: basesrc::prepare_seek_segment vmethod.
5590
5591 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
5592
5593         * gst/gstelement.c: (gst_element_get_state_func):
5594         Don't output the same debug statement twice.
5595
5596         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
5597         (gst_adapter_peek), (gst_adapter_take_buffer):
5598         Optimise the case where we have buffers at the head of the queue that
5599         can be joined quickly (because they're contiguous sub-buffers) by
5600         merging them together rather than copying data out into new memory.
5601
5602         * gst/parse/grammar.y:
5603         * tests/check/pipelines/parse-launch.c:
5604         Fix a leak in an error path for parse_launch, and add a check 
5605         for it to the testsuite.
5606
5607 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
5608
5609         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
5610           Don't deadlock when releasing a pad - gst_pad_set_active may try
5611           and take the multiqueue lock too.
5612
5613 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
5614
5615         * gst/gsterror.c: (_gst_core_errors_init):
5616         * gst/gsterror.h:
5617           API: add GST_CORE_ERROR_DISABLED (#392804).
5618
5619 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5620
5621         * docs/faq/gst-uninstalled:
5622           don't get empty paths on the PATH variables
5623         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
5624           Don't format for the uncommon terminal width of 84 characters.
5625
5626 2007-04-06  Wim Taymans  <wim@fluendo.com>
5627
5628         * gst/gstpipeline.c: (reset_stream_time),
5629         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
5630         Only try to select a different pipeline clock when we went back to
5631         PAUSED and not when we merely got flushed.
5632
5633 2007-04-05  Michael Smith  <msmith@fluendo.com>
5634
5635         * tools/gst-launch.1.in:
5636           fractions are better supported in gstreamer than ractions, so
5637           suggest using those.
5638
5639 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5640
5641         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
5642
5643         * po/LINGUAS:
5644         * po/da.po:
5645           Added Danish translation.
5646
5647 2007-04-05  Wim Taymans  <wim@fluendo.com>
5648
5649         * libs/gst/base/gstbasesink.c:
5650         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
5651         Fix leak caused when refusing newsegment after EOS.
5652
5653         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5654         (gst_fake_sink_init), (gst_fake_sink_set_property),
5655         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
5656         (gst_fake_sink_render), (gst_fake_sink_change_state):
5657         * plugins/elements/gstfakesink.h:
5658         Add num-buffers property to make the element generate EOS after a
5659         configurable amount of buffers.
5660         API: fakesink::num-buffers property.
5661
5662         * tests/check/elements/fakesink.c: (GST_START_TEST),
5663         (fakesink_suite):
5664         Fix GstBus leak in test.
5665         Test for fakesink num-buffers.
5666
5667 2007-04-05  Wim Taymans  <wim@fluendo.com>
5668
5669         * libs/gst/base/gstbasesink.c:
5670         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5671         (gst_base_sink_change_state):
5672         Don't accept anything after an EOS, return UNEXPECTED instead.
5673
5674         * tests/check/elements/fakesink.c: (GST_START_TEST),
5675         (fakesink_suite):
5676         Unit test for new EOS behaviour.
5677
5678 2007-04-05  Wim Taymans  <wim@fluendo.com>
5679
5680         * gst/gstelement.c: (gst_element_get_request_pad):
5681         Make padtemplates also work when they don't contain %s or %d.
5682
5683 2007-04-05  Wim Taymans  <wim@fluendo.com>
5684
5685         * docs/gst/gstreamer-sections.txt:
5686         * gst/gstclock.c: (gst_clock_adjust_unlocked),
5687         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
5688         * gst/gstclock.h:
5689         Improve _adjust_unlocked() so that it overflows less.
5690         Add gst_clock_unadjust_unlocked to convert from external time to
5691         internal time based on calibration.
5692         Add some more debug.
5693         API: GstClock::gst_clock_unadjust_unlocked()
5694
5695 2007-04-03  Wim Taymans  <wim@fluendo.com>
5696
5697         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
5698
5699         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
5700         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
5701         when releasing sink pad. Fixes #425400.
5702
5703 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
5704
5705         * docs/random/ensonic/dynlink.txt:
5706           More work on proposal for new core api.
5707
5708         * docs/libs/gstreamer-libs-sections.txt:
5709         * libs/gst/base/gstbasetransform.h:
5710           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
5711           
5712         * libs/gst/controller/gstcontroller.c:
5713         (on_object_controlled_property_changed),
5714         (gst_controller_sync_values),
5715         (gst_controller_set_interpolation_mode):
5716         * libs/gst/controller/gstcontroller.h:
5717           Less verbose logging add docs for unimplemented parts and correctly
5718           return when using unavailable parts.
5719
5720 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
5721
5722         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
5723         Move all the debug to the CLOCK category, and associate it with
5724         the clock object.
5725
5726 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
5727
5728         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
5729         Make take_buffer a bit quicker by removing redundant checks
5730         caused by calling gst_adapter_take.
5731
5732 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
5733
5734         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
5735           Don't leak GCond.
5736
5737         * tests/check/Makefile.am:
5738         * tests/check/elements/.cvsignore:
5739         * tests/check/elements/multiqueue.c: (setup_multiqueue),
5740         (GST_START_TEST), (multiqueue_suite):
5741           Add some dead simple unit tests for the 'multiqueue' element
5742           (some bits don't work yet and are disabled for now).
5743
5744 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
5745
5746         * gst/gstelement.c: (gst_element_get_request_pad),
5747         (gst_element_class_get_request_pad_template):
5748           Make gst_element_get_request_pad() create request pads only for
5749           request pad templates and not for, say, sometimes pad templates.
5750
5751 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
5752
5753         * docs/design/draft-klass.txt:
5754           Add example that needs more thinking.
5755         
5756         * docs/design/draft-missing-plugins.txt:
5757           More thoughts about wrapper plugins.
5758         
5759         * docs/random/ensonic/embedded.txt:
5760         * docs/random/ensonic/profiling.txt:
5761           More design work.
5762
5763 2007-03-25  Wim Taymans  <wim@fluendo.com>
5764
5765         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
5766         (gst_base_src_loop):
5767         Only push the segment events in the PLAYING state for live sources.
5768
5769 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
5770
5771         * gst/gstpipeline.c: (gst_pipeline_change_state):
5772         Modify the clock distribution path in PAUSED->PLAYING so that we 
5773         never attempt to choose a new clock unless we're actually leaving
5774         the PAUSED state for the first time. This prevents choosing a
5775         different clock when the state_change gets called for a 2nd time due
5776         to some element doing an async state change.
5777
5778 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
5779
5780         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
5781         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
5782         (gst_pad_chain_unchecked), (gst_pad_push):
5783         Revert last commit. This needs some more thoughts.
5784
5785 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
5786
5787         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
5788         (gst_pad_chain_unchecked), (gst_pad_push):
5789         Check in set_caps if the caps are compatible with the pad and remove
5790         two functions that are redundant now. Fixes #421543.
5791
5792 2007-03-22  Wim Taymans  <wim@fluendo.com>
5793
5794         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5795         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
5796         Unref some more to make valgrind happy.
5797
5798 2007-03-22  Wim Taymans  <wim@fluendo.com>
5799
5800         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
5801         (gst_system_clock_id_wait_jitter),
5802         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
5803         Fix anoying regression that survived a few releases. When adding an
5804         async entry while blocking on a sync entry, the sync entry will unblock
5805         but still be busy, so it should continue to wait instead of returning
5806         _BUSY to the app.
5807         Add some comments here and there.
5808
5809         * tests/check/gst/gstsystemclock.c: (mixed_thread),
5810         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
5811         Add testcase for this.
5812
5813 2007-03-22  Wim Taymans  <wim@fluendo.com>
5814
5815         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5816         Handle errors from the clock sync better, only UNSCHEDULED indicates a
5817         WRONG_STATE and can silently pause the task. All other cases should
5818         error out.
5819
5820 2007-03-22  Wim Taymans  <wim@fluendo.com>
5821
5822         Patch by: Ville Syrjala <syrjala at sci dot fi>
5823
5824         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
5825         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
5826         Improve debugging.
5827
5828 2007-03-21  Michael Smith  <msmith@fluendo.com>
5829
5830         * docs/pwg/advanced-types.xml:
5831           Fix some errors in the typefinding docs pointed out on irc.
5832
5833 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
5834
5835         * libs/gst/base/gstbasesrc.c:
5836         Clarify FIXME comment in the face of having added unlock_stop()
5837
5838 2007-03-21  Wim Taymans  <wim@fluendo.com>
5839
5840         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
5841         Prepare for release where we warn against possible app breakage in the
5842         case of live pipelines along with an env var to enable/disable live
5843         preroll mode (GST_COMPAT=[no-]live-preroll).
5844
5845 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5846
5847         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
5848         So we should use correct constants for checking for None offset.
5849
5850 2007-03-20  Wim Taymans  <wim@fluendo.com>
5851
5852         * docs/design/part-block.txt:
5853         Mention the fact that the newly switched element should be set to at
5854         least PAUSED.
5855
5856 2007-03-20  Wim Taymans  <wim@fluendo.com>
5857
5858         * gst/gst.c:
5859         Fix compilation with registry disabled as spotted by Saur.
5860
5861 2007-03-20  Wim Taymans  <wim@fluendo.com>
5862
5863         Patch by: Olivier Crete <tester at tester dot ca>
5864
5865         * gst/gstelement.c: (gst_element_sync_state_with_parent):
5866         Look at the pending state too when syncing the element state to the
5867         parent. Fixes #420133.
5868
5869 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
5870
5871         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
5872         (gst_base_sink_change_state):
5873         * libs/gst/base/gstbasesink.h:
5874         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5875         (gst_base_src_default_event), (gst_base_src_unlock_stop),
5876         (gst_base_src_deactivate):
5877         * libs/gst/base/gstbasesrc.h:
5878         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
5879         for sub-classes to correctly clear any state they set trying to
5880         unlock, such as clearing out unlock commands from a command fd.
5881         API: basesrc::unlock_stop
5882         API: basesink::unlock_stop
5883
5884         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
5885         (gst_fd_sink_render), (gst_fd_sink_unlock),
5886         (gst_fd_sink_unlock_stop):
5887         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
5888         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
5889         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
5890
5891         Implement unlock_stop in fdsrc and fdsink.
5892         Implement seeking in fdsrc when a seekable fd is passed, as in
5893         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
5894
5895 2007-03-19  Wim Taymans  <wim@fluendo.com>
5896
5897         Patch by: Evan Nemerson <evan at coeus dash group dot com>
5898
5899         * gst/gstelement.c: (gst_element_class_init):
5900         Fix pad-added and pad-removed signal signatures so that the pad type is
5901         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
5902
5903 2007-03-19  Wim Taymans  <wim@fluendo.com>
5904
5905         * docs/gst/gstreamer-sections.txt:
5906         Add new element field and method.
5907
5908         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5909         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
5910         (gst_bin_recalc_state), (gst_bin_get_state_func),
5911         (gst_bin_element_set_state), (gst_bin_change_state_func),
5912         (gst_bin_continue_func), (bin_bus_handler),
5913         (bin_push_state_continue), (bin_handle_async_start),
5914         (bin_handle_async_done), (gst_bin_handle_message_func):
5915         Make async state changes a bit smarter by using new ASYNC_START and
5916         ASYNC_DONE messages. This reduces the number of times we run the state
5917         recalculation thread.
5918         Don't change state of element with a pending ASYNC_START message.
5919         Deprecate STATE_DIRTY messages.
5920         
5921         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
5922         (gst_element_get_state_func), (gst_element_continue_state),
5923         (gst_element_lost_state), (gst_element_set_state_func),
5924         (gst_element_change_state):
5925         * gst/gstelement.h:
5926         Keep the state that was last set by the app in a new element field.
5927         Don't allow state changes when handling an element event.
5928         Post ASYNC_START and ASYNC_DONE messages.
5929         Change lost_state so that we go to PAUSED and wait for the parent to set
5930         us to PLAYING again (so latency calculation can be performed)
5931         Export gst_element_change_state() method so that subclasses can use it.
5932         API: gst_element_change_state()
5933         API: GST_STATE_TARGET
5934
5935         * gst/gstpipeline.c: (gst_pipeline_class_init),
5936         (reset_stream_time), (gst_pipeline_change_state),
5937         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
5938         Using the new ASYNC_START message we can reset the base_time when
5939         needed. This can then be used to implement base_time redistribution in
5940         flushing seeks so that we can remove the explicit seek handling.
5941         Perform latency query and configuration when going to PLAYING.
5942
5943         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5944         (gst_base_sink_query), (gst_base_sink_change_state):
5945         Post new ASYNC_START/ASYNC_DONE messages.
5946
5947         * tests/check/generic/sinks.c: (GST_START_TEST):
5948         Fix test because the bin will not set the async element to PLAYING right
5949         away.
5950
5951         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
5952         Make the message check a little stronger.
5953         Handle ASYNC messages.
5954
5955         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
5956         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
5957         Expect ASYNC_DONE messages.
5958
5959 2007-03-19  Wim Taymans  <wim@fluendo.com>
5960
5961         * docs/gst/gstreamer-sections.txt:
5962         * gst/gstmessage.c: (gst_message_new_async_start),
5963         (gst_message_new_async_done), (gst_message_parse_info),
5964         (gst_message_parse_async_start):
5965         * gst/gstmessage.h:
5966         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
5967         support.
5968
5969 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
5970
5971         * tools/gst-inspect.c:
5972         (print_plugin_automatic_install_info_codecs):
5973           Now that we don't check for the 'Codec' keyword any longer in the
5974           klass, we shouldn't spew a warning if the klass isn't a decoder or
5975           encoder (since it might be a Source/Network, for example).
5976
5977 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
5978
5979         * tools/gst-inspect.c:
5980         (print_plugin_automatic_install_info_codecs):
5981           Don't require decoder/demuxer/depayloader elements or
5982           encoder/muxer/paylader elements to have 'Codec' as part of their
5983           factory class string when introspecting a plugin's capabilities.
5984           draft-klass.txt mentions that it might be removed in future, and
5985           flump3dec doesn't have it as part of its class string, so chances
5986           are others might also not have it.
5987
5988 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5989
5990         * po/af.po:
5991         * po/az.po:
5992         * po/bg.po:
5993         * po/ca.po:
5994         * po/cs.po:
5995         * po/de.po:
5996         * po/en_GB.po:
5997         * po/fr.po:
5998         * po/it.po:
5999         * po/nb.po:
6000         * po/nl.po:
6001         * po/ru.po:
6002         * po/sq.po:
6003         * po/sr.po:
6004         * po/sv.po:
6005         * po/tr.po:
6006         * po/uk.po:
6007         * po/vi.po:
6008         * po/zh_CN.po:
6009         * po/zh_TW.po:
6010           Update translations from translation project
6011
6012 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
6013
6014         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
6015         (gst_child_proxy_set_property):
6016           Invert precondition check to be alike the ones in the mimiced gobject
6017           api.
6018
6019 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
6020
6021         * docs/design/draft-tagreading.txt:
6022         * docs/random/ensonic/audiobaseclasses.txt:
6023           Do some Architect work.
6024
6025         * gst/gstobject.c: (gst_object_set_name):
6026           Add a WARNING.
6027
6028         * gst/gstpad.c:
6029           Add docs that point from gst_pad_get_range to gst_pad_pull_range
6030
6031 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
6032
6033         * gst/gstsystemclock.c: (gst_system_clock_init),
6034         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
6035         Defer starting the async system clock thread until the first async
6036         wait is scheduled. Fixes #414986.
6037
6038 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
6039
6040         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
6041         (gst_single_queue_free):
6042           Fix small leak (free GstSingleQueue structure too, not only contents).
6043
6044 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
6045
6046         * gst/gstbin.c:(gst_bin_add):
6047         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
6048         * win32/common/libgstbase.def:
6049         * win32/common/libgstreamer.def:
6050         Add new exported functions.
6051
6052 2007-03-09  Wim Taymans  <wim@fluendo.com>
6053
6054         * docs/plugins/gstreamer-plugins-sections.txt:
6055         Fix GstTee docs.
6056
6057 2007-03-09  Wim Taymans  <wim@fluendo.com>
6058
6059         * docs/gst/gstreamer-sections.txt:
6060         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
6061         * gst/gstbuffer.h:
6062         Add metadata copy functions. Fixes #393099.
6063         API: gst_buffer_copy_metadata()
6064
6065         * gst/gstutils.c: (gst_buffer_stamp):
6066         * libs/gst/base/gstbasetransform.c:
6067         (gst_base_transform_prepare_output_buffer):
6068         Use new metadata copy functions.
6069
6070 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6071
6072         * plugins/elements/gstidentity.c: (gst_identity_class_init),
6073         (gst_identity_init), (gst_identity_check_perfect),
6074         (gst_identity_check_imperfect_timestamp),
6075         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
6076         (gst_identity_set_property), (gst_identity_get_property):
6077         * plugins/elements/gstidentity.h:
6078         Separate out check-imperfect-timestamp and check-imperfect-offset.
6079         Put back check-perfect as it was to keep compatibility.
6080
6081 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
6082
6083         * gst/gstelement.c: (gst_element_dispose):
6084         There's no need to warn if VOID_PENDING is not NONE here, as
6085         long as the state is NULL it's ok, and that's checked immediately
6086         above.
6087
6088 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6089
6090         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6091         Fix check for perfect stream to ignore buffers with -1 
6092         offsets/offset ends when checking data contiguity.
6093
6094 2007-03-08  Wim Taymans  <wim@fluendo.com>
6095
6096         * tools/gst-launch.c: (event_loop):
6097         Print INFO messages.
6098
6099 2007-03-08  Wim Taymans  <wim@fluendo.com>
6100
6101         * libs/gst/base/gstbasetransform.c:
6102         (gst_base_transform_sink_eventfunc),
6103         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6104         (gst_base_transform_activate):
6105         * libs/gst/base/gstbasetransform.h:
6106         Add support for dropping buffers with custom GstFlowReturn.
6107         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
6108         buffers or dropped buffers.
6109
6110         * docs/libs/gstreamer-libs-sections.txt:
6111         docs for new custom return code.
6112
6113         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6114         Use drop support in base class to implement drop-probability.
6115
6116 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
6117
6118         * gst/gst.c: (load_plugin_func):
6119         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
6120         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6121         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
6122           Remove newlines at end of debug log strings.
6123
6124 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6125
6126         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6127         Only post bus message at max, once per buffer received.
6128
6129 2007-03-07  Wim Taymans  <wim@fluendo.com>
6130
6131         * docs/design/Makefile.am:
6132         * docs/design/part-synchronisation.txt:
6133         Add doc about synchronisation
6134
6135         * docs/design/draft-latency.txt:
6136         * docs/design/part-TODO.txt:
6137         * docs/design/part-clocks.txt:
6138         * docs/design/part-events.txt:
6139         * docs/design/part-gstbus.txt:
6140         * docs/design/part-gstpipeline.txt:
6141         * docs/design/part-live-source.txt:
6142         * docs/design/part-messages.txt:
6143         * docs/design/part-overview.txt:
6144         * docs/design/part-streams.txt:
6145         * docs/design/part-trickmodes.txt:
6146         Documentation updates.
6147
6148 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
6149
6150         * gstreamer.doap:
6151         Update the doap file.
6152
6153 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6154
6155         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6156         Rename non-perfect to imperfect for Mike and for the sanctity of the
6157         language.
6158         Also make sure bus message gets emitted for data-incontiguities.
6159
6160 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6161
6162         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
6163         (gst_identity_start):
6164         * plugins/elements/gstidentity.h:
6165         Emit bus message if check-perfect is true and we encounter a
6166         non-perfect stream between 2 consecutive buffers.
6167         Fixes #415394.
6168
6169 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
6170
6171         * configure.ac:
6172         Back to CVS
6173
6174 === release 0.10.12 ===
6175
6176 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
6177
6178         * configure.ac:
6179           releasing 0.10.12, "Inevitable Demise"
6180
6181 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
6182
6183         * configure.ac:
6184          Version 0.10.11.2 (0.10.12 pre-release)
6185          Bump libtool versioning.
6186
6187 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
6188
6189         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6190           Log flow-names and not numbers.
6191
6192 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
6193
6194         * configure.ac:
6195           Convert to new AG_GST style.
6196
6197 2007-02-28  Wim Taymans  <wim@fluendo.com>
6198
6199         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
6200         Don't unref query twice.
6201
6202 2007-02-28  Wim Taymans  <wim@fluendo.com>
6203
6204         * gst/gstvalue.c: (gst_value_transform_object_string),
6205         (_gst_value_initialize):
6206         Implement GstObject -> string transform so we print object names
6207         when serializing GValues containing GstObjects.
6208
6209 2007-02-28  Wim Taymans  <wim@fluendo.com>
6210
6211         * docs/gst/gstreamer-sections.txt:
6212         Add new stuff to docs.
6213
6214 2007-02-28  Wim Taymans  <wim@fluendo.com>
6215
6216         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6217         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
6218         (gst_base_sink_change_state):
6219         Improve latency query code.
6220         Don't leak latency events.
6221
6222         * tests/check/gst/gstbin.c: (GST_START_TEST):
6223         Improve debugging.
6224
6225 2007-02-28  Wim Taymans  <wim@fluendo.com>
6226
6227         * gst/gstelement.c: (gst_element_message_full),
6228         (gst_element_get_state_func):
6229         * gst/gstelement.h:
6230         Improve docs a little. Added Since: for new macro.
6231
6232         * gst/gstobject.c: (gst_object_sink):
6233         * gst/gstpipeline.c: (gst_pipeline_change_state),
6234         (gst_pipeline_set_new_stream_time):
6235         * gst/gstpipeline.h:
6236         Improve debugging and docs.
6237
6238         * gst/gstutils.c: (gst_element_state_change_return_get_name):
6239         Improve debugging.
6240
6241 2007-02-28  Wim Taymans  <wim@fluendo.com>
6242
6243         * gst/gstelement.c: (gst_element_message_full),
6244         (gst_element_set_locked_state), (gst_element_get_state_func),
6245         (gst_element_change_state):
6246         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
6247         Documentation updates.
6248         Small code cleanups.
6249
6250         * gst/gstmessage.c: (gst_message_new_info),
6251         (gst_message_parse_info):
6252         * gst/gstmessage.h:
6253         API: gst_message_new_info()
6254         API: gst_message_parse_info()
6255         Add INFO message create and parse code.
6256
6257 2007-02-28  Wim Taymans  <wim@fluendo.com>
6258
6259         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
6260         (bin_query_latency_done):
6261         Also report the live parameter of a latency query.
6262
6263 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
6264
6265         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
6266           Copy the current generic/states example from -base and adapt so
6267           we can use the exact same code everywhere.
6268           Check a STATES_IGNORE_ELEMENTS env var which can be used
6269           to ignore certain element factories for this test, which is
6270           what is being done in -base
6271         * tests/check/Makefile.am:
6272           Mention this environment variable.
6273
6274 2007-02-27  Wim Taymans  <wim@fluendo.com>
6275
6276         * docs/gst/gstreamer-sections.txt:
6277         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
6278         (gst_bus_timed_pop), (gst_bus_pop):
6279         * gst/gstbus.h:
6280         API: gst_bus_timed_pop()
6281         Implement gst_bus_timed_pop() to do a blocking timed wait for a
6282         message to arrive on the bus.
6283
6284         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
6285         (gst_bus_suite):
6286         Two unit tests for new _timed_pop() function.
6287
6288 2007-02-23  Wim Taymans  <wim@fluendo.com>
6289
6290         * gst/gstpipeline.c: (gst_pipeline_change_state),
6291         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
6292         Don't ref a NULL clock in _provide_clock_func().
6293         Don't allow an INVALID delay.
6294         Don't try to calculate base_time with an invalid start_time.
6295         Also distribute and notify a NULL clock when it was selected.
6296
6297         * tools/gst-launch.c: (event_loop):
6298         Don't crash when a NULL clock was selected in the pipeline.
6299
6300 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
6301
6302         * docs/design/Makefile.am:
6303         * docs/design/draft-missing-plugins.txt:
6304         * docs/random/draft-missing-plugins.txt:
6305           Some small updates: update plugin system identifier prefix
6306           ('gstreamer.net' to 'gstreamer'), mention our new install
6307           API in libgstbaseutils rather than libgimme-codec, add
6308           reference to the online docs.
6309
6310 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6311
6312         * win32/common/config.h:
6313           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
6314           use moap cl ci to only check in what is mentioned in the ChangeLog.
6315
6316 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6317
6318         * docs/gst/gstreamer-sections.txt:
6319         * gst/gstelement.h:
6320           Fix up documentation to link to the correct GstGError section.
6321           Add GST_ELEMENT_INFO macro since someone else added a Info message.
6322
6323 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6324
6325         * tools/gst-launch.c: (event_loop):
6326           Make sure that we actually show the important message part of a
6327           warning message.
6328           No need to check if the gerror is not NULL to free; first of all
6329           g_free accepts NULL; and second the default error handler would
6330           segfault if gerror was NULL.
6331
6332 2007-02-21  Wim Taymans  <wim@fluendo.com>
6333
6334         * docs/gst/gstreamer-sections.txt:
6335         Removed docs as well.
6336
6337 2007-02-21  Wim Taymans  <wim@fluendo.com>
6338
6339         * gst/gstmessage.c: (gst_message_parse_duration):
6340         * gst/gstmessage.h:
6341         Remove new messages for release.
6342
6343 2007-02-20  Wim Taymans  <wim@fluendo.com>
6344
6345         * docs/design/part-gstghostpad.txt:
6346         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
6347         (gst_ghost_pad_new_full):
6348         Make the ghostpad a parent of the internal pad again for better backward
6349         compatibility. Don't write code that relies on this however.
6350
6351         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
6352         (gst_pad_link_check_hierarchy):
6353         Require that parents should be GstElements in the hierarchy check.
6354
6355 2007-02-20  Wim Taymans  <wim@fluendo.com>
6356
6357         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
6358         (gst_bin_change_state_func), (bin_query_min_max_init),
6359         (bin_query_latency_fold), (bin_query_latency_done),
6360         (gst_bin_query):
6361         Improve debug info.
6362         Implement latency query.
6363
6364 2007-02-20  Wim Taymans  <wim@fluendo.com>
6365
6366         * docs/design/part-gstghostpad.txt:
6367         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
6368         (gst_ghost_pad_internal_do_activate_push),
6369         (gst_ghost_pad_internal_do_activate_pull),
6370         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6371         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
6372         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
6373         Do not set the internal pad as a parent anymore so we can avoid
6374         hierarchy linking errors when the ghostpad has no parent yet. This also
6375         fixes failed activation because of unlinked internal pads, which in
6376         turn fixes the impossible case where you have to activate a pad before
6377         you can add it to a running element.
6378         Also fix the docs.
6379
6380         * gst/gstpad.c: (pre_activate), (post_activate),
6381         (gst_pad_set_active), (gst_pad_activate_pull),
6382         (gst_pad_activate_push), (gst_pad_check_pull_range):
6383         Add some more debug info.
6384         Mark activation mode in pre_activate so that we don't try to activate in
6385         endless loops. Fixes #385084.
6386
6387 2007-02-19  Wim Taymans  <wim@fluendo.com>
6388
6389         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
6390         (gst_base_transform_check_get_range):
6391         Implement a checkgetrange function instead of relying on the default
6392         core behaviour that assumes we can operate in pull mode if we have a
6393         getrange function. First step at fixing #385084.
6394
6395 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
6396
6397         * gst/gstchildproxy.h:
6398         * libs/gst/base/gstbasesink.h:
6399         * libs/gst/base/gstbasesrc.h:
6400         * libs/gst/base/gstbasetransform.h:
6401         More docs coverage and some ChangeLog surgery (add missing names)
6402
6403 2007-02-15  Wim Taymans  <wim@fluendo.com>
6404
6405         * docs/design/part-TODO.txt:
6406         * docs/design/part-activation.txt:
6407         * docs/design/part-block.txt:
6408         * docs/design/part-buffering.txt:
6409         * docs/design/part-clocks.txt:
6410         * docs/design/part-element-source.txt:
6411         * docs/design/part-events.txt:
6412         * docs/design/part-gstbin.txt:
6413         * docs/design/part-gstbus.txt:
6414         * docs/design/part-gstpipeline.txt:
6415         * docs/design/part-live-source.txt:
6416         * docs/design/part-messages.txt:
6417         * docs/design/part-overview.txt:
6418         * docs/design/part-qos.txt:
6419         * docs/design/part-query.txt:
6420         * docs/design/part-states.txt:
6421         * docs/design/part-trickmodes.txt:
6422         Some doc updates. Start renaming from stream_time to running_time where
6423         it was used wrongly.
6424
6425 2007-02-15  Wim Taymans  <wim@fluendo.com>
6426
6427         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6428         Answer LATENCY query.
6429
6430 2007-02-15  Wim Taymans  <wim@fluendo.com>
6431
6432         * tests/check/gst/gstevent.c: (event_probe), (test_event),
6433         (GST_START_TEST):
6434         Improve debugging.
6435
6436 2007-02-15  Wim Taymans  <wim@fluendo.com>
6437
6438         * gst/gstpad.c: (gst_pad_get_internal_links_default),
6439         (gst_pad_dispatcher):
6440         Improve debugging of default pad dispatcher and query functions.
6441
6442 2007-02-15  Wim Taymans  <wim@fluendo.com>
6443
6444         * docs/gst/gstreamer-sections.txt:
6445         Remove old unused method.
6446
6447 2007-02-13  Wim Taymans  <wim@fluendo.com>
6448
6449         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6450         Fix check
6451
6452 2007-02-13  Wim Taymans  <wim@fluendo.com>
6453
6454         * docs/design/part-seeking.txt:
6455         Some small update.
6456
6457         * gst/gstsegment.c: (gst_segment_set_seek):
6458         Revert old bogus change that should make seeking work again.
6459
6460 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
6461
6462         * docs/random/ensonic/dynlink.txt:
6463         * docs/random/ensonic/interfaces.txt:
6464         * docs/random/ensonic/receipies.txt:
6465           Possible dynamic reconnection api, plus some type fixes the other two
6466           docs.
6467
6468 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
6469
6470         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6471         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6472         Also check for an absolute path following file:// in the filesrc
6473         element. Remove redundant check and call g_path_is_absolute() on the
6474         unescaped location.
6475
6476 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
6477
6478         * docs/design/draft-klass.txt:
6479           Add existing category analysis.
6480           
6481         * gst/gstcaps.c:
6482           Fix doc example, framerate is a fraction.
6483
6484 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
6485
6486         * configure.ac:
6487         * docs/gst/Makefile.am:
6488         * docs/gst/gstreamer-sections.txt:
6489         * docs/libs/Makefile.am:
6490           Erm, forgot a bunch of --extra-dir.
6491
6492 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
6493
6494         * configure.ac:
6495         * docs/gst/Makefile.am:
6496         * docs/libs/Makefile.am:
6497         * docs/plugins/Makefile.am:
6498           Add crossreferences to glib/gobject docs.
6499
6500 2007-02-12  Wim Taymans  <wim@fluendo.com>
6501
6502         * docs/design/draft-latency.txt:
6503         Small update.
6504
6505         * docs/libs/gstreamer-libs-sections.txt:
6506         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6507         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
6508         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
6509         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
6510         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
6511         (gst_base_sink_get_position), (gst_base_sink_query),
6512         (gst_base_sink_change_state):
6513         * libs/gst/base/gstbasesink.h:
6514         API: gst_base_sink_query_latency() to let subclasses query the upstream
6515         latency.
6516         API: gst_base_sink_get_latency() to let subclasses query the configured
6517         latency in the sink.
6518         Implement query and set latency.
6519         Update some docs.
6520         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
6521         don't continue preroll when we are flushing. Fixes #405284.
6522
6523         * tests/check/pipelines/stress.c: (change_state_timeout),
6524         (quit_timeout), (GST_START_TEST), (stress_suite):
6525         Test for #405284.
6526
6527 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
6528
6529         Patch by: René Stadler <mail at renestadler de>
6530
6531         * docs/gst/gstreamer-sections.txt:
6532         * gst/gsttaglist.c: (_gst_tag_initialize):
6533         * gst/gsttaglist.h:
6534           API: add GST_TAG_REFERENCE_LEVEL (#403597).
6535
6536 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
6537
6538         * docs/libs/Makefile.am:
6539           Fix path to core docs.
6540
6541         * gst/gstbin.c: (gst_bin_get_by_interface),
6542         (gst_bin_iterate_all_by_interface):
6543           Refix docs by also renaming 'interface' to 'iface' in implementation.
6544
6545         * docs/gst/gstreamer-sections.txt:
6546         * gst/gstcaps.c:
6547         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
6548         * gst/gstchildproxy.h:
6549         * gst/gstelementfactory.c:
6550         * gst/gstpadtemplate.h:
6551         * libs/gst/controller/gstcontroller.c:
6552         (gst_controlled_property_new):
6553           Document more.
6554
6555 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
6556
6557         * gst/gstbin.h:(gst_bin_get_by_interface),
6558         (gst_bin_iterate_all_by_interface):
6559         Replace interface parameter name by iface as interface is 
6560         a reserved keyword in Visual Studio for C++ projects so it removes
6561         a build error for application developpers using VS.
6562         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
6563         Fix a bug on Windows in uri format check. Now the prefix checked
6564         is file:// and next we check if the path after file:// is absolute.
6565         * win32/common/libgstbase.def:
6566         * win32/common/libgstdataprotocol.def:
6567         * win32/common/libgstgstreamer.def:
6568         Add new exported functions.
6569
6570 2007-02-09  Andy Wingo  <wingo@pobox.com>
6571
6572         * tests/check/pipelines/simple-launch-lines.c
6573         (simple_launch_lines_suite, test_tee): Disable tee test until I
6574         have time to fix it :-(
6575
6576         * tests/check/Makefile.am (noinst_HEADERS): 
6577         * tests/check/libs/libsabi.c: 
6578         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
6579         * tests/check/gst/gstabi.c: 
6580         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
6581
6582         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
6583         tests for push and pull tee behavior.
6584
6585         * plugins/elements/gsttee.h: 
6586         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
6587         mark as deprecated as well as unimplemented. It was a crack idea.
6588         Add support for tee operating in pull mode, off by default.
6589
6590         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
6591         normal-case logs down to LOG, raise errors to WARNING.
6592         (gst_registry_xml_read_cache): Don't log before calling a function
6593         that logs.
6594
6595         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
6596         exit (registry finalize).
6597         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
6598         DEBUG log when we emit signals that people don't even have the
6599         chance to connect to.
6600         (gst_registry_scan_path_level): Less logging in the normal case.
6601
6602 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
6603
6604         Patch by: Michal Benes <michal dot benes at itonis dot tv>
6605
6606         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6607         Correctly generate EOS for non-seekable files. We don't have a total
6608         length for them and would get an unexpected end of file if we only
6609         special-cased for regular files. (Fixes: #404569)
6610
6611 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
6612
6613         * tests/check/elements/filesrc.c: (GST_START_TEST),
6614         (filesrc_suite):
6615         Add unit test for the GstURIHandler interface in filesrc. This also
6616         tests the newly added file://localhost/foo/bar support.
6617
6618 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
6619
6620         * gst/gstelementfactory.h:
6621           The klass string is not a hierarchy. Add reference to the design doc
6622           for more information and common types.
6623
6624 2007-02-02  Wim Taymans  <wim@fluendo.com>
6625
6626         * gst/gstquery.c: (gst_query_new_latency):
6627         Remove old structure field.
6628
6629 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
6630
6631         * tools/gst-launch.1.in:
6632           Give example for network streaming (#351998)
6633
6634 2007-02-02  Wim Taymans  <wim@fluendo.com>
6635
6636         * docs/gst/gstreamer-sections.txt:
6637         Add docs for new methods.
6638
6639         * gst/gstevent.c: (gst_event_new_latency),
6640         (gst_event_parse_latency):
6641         * gst/gstevent.h:
6642         Add new LATENCY event to configure latency in a pipeline.
6643         API: gst_event_new_latency
6644         API: gst_event_parse_latency
6645
6646         * gst/gstmessage.c: (gst_message_new_buffering),
6647         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
6648         (gst_message_new_latency), (gst_message_parse_buffering),
6649         (gst_message_parse_lost_preroll):
6650         * gst/gstmessage.h:
6651         Added messages used in draft-latency.
6652         API: gst_message_new_lost_preroll
6653         API: gst_message_parse_lost_preroll
6654         API: gst_message_new_prerolled
6655         API: gst_message_new_latency
6656
6657         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
6658         (gst_query_parse_latency):
6659         * gst/gstquery.h:
6660         Implemented new latency query as in design doc.
6661         API: gst_query_new_latency
6662         API: gst_query_set_latency
6663         API: gst_query_parse_latency
6664
6665 2007-02-02  Wim Taymans  <wim@fluendo.com>
6666
6667         * docs/design/draft-latency.txt:
6668         Slight redesign to allow for dynamic latency adjustments.
6669
6670         * docs/design/part-negotiation.txt:
6671         Fix some typos.
6672
6673 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
6674
6675         reviewed by: Wim Taymans <wim@fluendo.com>
6676
6677         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6678         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6679         Allow file://localhost/foo/bar URLs and correctly fail for every other
6680         hostname that one sets. This was gnomevfssrc is linked for those if
6681         installed as it can handle it (#403172)
6682
6683 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
6684
6685         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6686
6687         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6688         (unref_data), (gst_collect_pads_add_pad_full):
6689         * libs/gst/base/gstcollectpads.h:
6690         Don't put the previously added destroy notify in the GstCollectData
6691         struct as all it's padding is already used and we don't want to break
6692         ABI. Instead put in the pad's GObject data for now. This should be
6693         cleaned up for 0.11 (#402393).
6694
6695 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
6696
6697         reviewed by: Wim Taymans <wim@fluendo.com>
6698
6699         * docs/libs/gstreamer-libs-sections.txt:
6700         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6701         (unref_data), (gst_collect_pads_add_pad),
6702         (gst_collect_pads_add_pad_full):
6703         * libs/gst/base/gstcollectpads.h:
6704         API: Add function to specify a destroy notification for custom
6705         GstCollectData when adding new pads in GstCollectPads (#402393).
6706
6707 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
6708
6709         * po/sv.po:
6710           Update Swedish translation (#378255).
6711
6712 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
6713
6714         * docs/design/draft-klass.txt:
6715           Fix the previous change, this is a list of categories and not a hierarchy.
6716
6717 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
6718
6719         * docs/design/draft-klass.txt:
6720           Add info about how to get a list of used classes.
6721
6722 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
6723
6724         * plugins/elements/gsttypefindelement.c:
6725         (gst_type_find_element_chain_do_typefinding),
6726         (gst_type_find_element_change_state):
6727           Don't leak found caps in chain function (no idea why that never
6728           showed up as a leak anywhere).
6729
6730 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
6731
6732         * gst/gstplugin.h:
6733           Fix and expand GstPluginDesc API docs.
6734
6735 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
6736
6737         * gst/gstcaps.c:
6738         * gst/gstelementfactory.c:
6739         * gst/gstpadtemplate.h:
6740           api doc fixes
6741
6742         * libs/gst/controller/gstcontroller.c:
6743         (gst_controlled_property_new):
6744         * tests/examples/controller/audio-example.c:
6745           comment fixes
6746
6747 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
6748
6749         * configure.ac:
6750           comment about refining the xml deps
6751
6752         * docs/manuals.mak:
6753           comments about moving away from jade for docs
6754         
6755         * gst/gst.c:
6756           recommit the ifdefs to use the binary registry
6757         
6758         * gst/gstbin.c: (gst_bin_change_state_func):
6759           this break is obsolete
6760
6761         * gst/gstelementfactory.h:
6762           better GST_ELEMENT_DETAILS docs, add comment about translation
6763
6764         * gst/gstinfo.h:
6765           remove eol slash
6766
6767         * gst/gstobject.c: (gst_signal_object_get_type):
6768           add G_UNLIKELY as usual
6769
6770         * gst/gstpad.c: (gst_pad_event_default):
6771           add fall trhu comment
6772
6773         * gst/gstregistrybinary.c: (gst_registry_binary_write),
6774         (gst_registry_binary_initialize_magic),
6775         (gst_registry_binary_save_string),
6776         (gst_registry_binary_save_pad_template),
6777         (gst_registry_binary_save_feature),
6778         (gst_registry_binary_save_plugin),
6779         (gst_registry_binary_write_cache),
6780         (gst_registry_binary_check_magic),
6781         (gst_registry_binary_load_pad_template),
6782         (gst_registry_binary_load_feature),
6783         (gst_registry_binary_load_plugin),
6784         (gst_registry_binary_read_cache):
6785           comment typo and formatting
6786
6787         * gst/gstutils.c: (gst_element_state_get_name),
6788         (gst_element_state_change_return_get_name):
6789           remove obsolete breaks
6790
6791         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6792           add FIXME 0.11 and remove cpp comment
6793
6794 2007-01-29  Edward Hervey  <edward@fluendo.com>
6795
6796         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6797         Fix print statement in an even more portable way.
6798
6799 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
6800
6801         * docs/gst/gstreamer-sections.txt:
6802         * gst/gstutils.h:
6803           API: add GST_ROUND_DOWN_* macros (#401781).
6804
6805 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
6806
6807         * docs/gst/gstreamer.types.in:
6808         * gst/gstregistry.c: (gst_registry_class_init):
6809           Document registry signals and make gtk-doc pick them up (#401381).
6810
6811 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
6812
6813         * docs/pwg/building-testapp.xml:
6814           Add some audioconverts and audioresample to the pipeline, and some
6815           more comments and error handling.
6816
6817 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
6818
6819         * docs/manual/manual.xml:
6820         * docs/pwg/pwg.xml:
6821           Fix typo (#400987).
6822
6823 2007-01-26  Wim Taymans  <wim@fluendo.com>
6824
6825         * gst/gstcaps.c: (gst_static_caps_get):
6826         Init caps flags too.
6827
6828 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
6829
6830         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
6831
6832         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6833         If not using mmap'ed files try to seek to the end instead of the
6834         start to determine whether we can seek at all. This fixes the case
6835         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
6836         seeks for everything afterwards fail. Fixes #400656
6837
6838 2007-01-25  Wim Taymans  <wim@fluendo.com>
6839
6840         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
6841         Add some refcount debugging.
6842         Make gst_static_caps_get threadsafe, which is needed when autoplugging
6843         in multiple streaming threads.
6844
6845 2007-01-25  Wim Taymans  <wim@fluendo.com>
6846
6847         Patch by: David Schleef <ds at schleef dot org>
6848
6849         * docs/libs/gstreamer-libs-sections.txt:
6850         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
6851         * libs/gst/base/gstadapter.h:
6852         API: gst_adapter_copy() that can reduce the amount of memcpy when
6853         getting data from the adapter. Fixes #388201.
6854
6855 2007-01-25  Edward Hervey  <edward@fluendo.com>
6856
6857         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6858         In print statements, "%x" is for guint. Fixes build on macosx.
6859
6860 2007-01-24  Edward Hervey  <edward@fluendo.com>
6861
6862         * plugins/elements/gstmultiqueue.c:
6863         (gst_multi_queue_loop):
6864         Small fix.
6865         (single_queue_overrun_cb), (single_queue_underrun_cb),
6866         (single_queue_check_full), (gst_single_queue_new):
6867         Implement single queue growth system.
6868         This uses the extra-size properties, and will grow single queues by
6869         that much if one goes full whereas there are others empty. This is
6870         called extra-mode in the code.
6871         When a single queue's levels go back below the initial max-size
6872         limits, it is no longer in extra-mode. This is to ensure we don't
6873         consume too much memory.
6874         Fixes #399875
6875
6876 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
6877
6878         * gst/gst.c: (gst_init_get_option_group):
6879           Make warning about late g_thread_init() calls a bit more explicit,
6880           so that it's more obvious to application developers what they need
6881           to do if a user files a bug against their application.
6882
6883 2007-01-22  Edward Hervey  <edward@fluendo.com>
6884
6885         * plugins/elements/gstmultiqueue.c:
6886         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
6887         Remove previous hack of unsetting the flushing flag for the source pad
6888         instead of activating it. Instead, fix the source pad activate function
6889         so that it no longer depends on having a parent set or not.
6890
6891 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
6892
6893         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
6894
6895         * docs/manual/basics-bus.xml:
6896           Fix example code, gst_element_unref() doesn't exist any longer.
6897
6898 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
6899
6900         Patch by: Mark Nauwelaerts <manauw at skynet be>
6901
6902         * gst/gstpad.c:
6903           Fix two docs typoes (#399094).
6904
6905 2007-01-19  Edward Hervey  <edward@fluendo.com>
6906
6907         * docs/faq/gst-uninstalled:
6908         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
6909         depending on libgstbaseutils can work in uninstalled environment.
6910
6911 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
6912
6913         * gst/gsttaglist.h:
6914         * gst/gsttagsetter.c:
6915         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
6916         statement for new tag.
6917
6918 2007-01-17  Edward Hervey  <edward@fluendo.com>
6919
6920         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
6921         When dynamically creating single queues, activate sinkpad before adding
6922         it.
6923         We should be doing the same thing for the source pad, but we can't
6924         since it would call a method which needs the parent to be set in order
6925         to work propertly. Instead of activating the source pad, we just unset
6926         the flushing flag, which is the minimal requirement for adding a pad
6927         to an element in a state greater than READY.
6928
6929 2007-01-17  Edward Hervey  <edward@fluendo.com>
6930
6931         * docs/faq/gst-uninstalled:
6932         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
6933         Mac OS X.
6934
6935 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
6936
6937         * tests/check/gst/gstabi.c:
6938         * tests/check/gst/struct_hppa.h:
6939         * tests/check/libs/libsabi.c:
6940         * tests/check/libs/struct_hppa.h:
6941           Add ABI structs for HPPA (see #393796).
6942
6943 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
6944
6945         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
6946           Actually write ABI structs to the file specified in the GST_ABI
6947           environment variable, as the message we print claims we would.
6948
6949 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
6950
6951         * tests/check/gst/gsttask.c:
6952           Fix header comment.
6953
6954 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
6955
6956         * gst/gsttaglist.c: (_gst_tag_initialize):
6957           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
6958           previous two entries.
6959
6960 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
6961
6962         * docs/gst/gstreamer-sections.txt:
6963         * gst/gsttaglist.c: (_gst_tag_initialize):
6964         * gst/gsttaglist.h:
6965           Add tag support for beat-per-minute.
6966
6967 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
6968
6969         * gst/gstregistrybinary.c: (gst_registry_binary_write),
6970         (gst_registry_binary_initialize_magic),
6971         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
6972         (gst_registry_binary_save_pad_template),
6973         (gst_registry_binary_save_feature),
6974         (gst_registry_binary_save_plugin),
6975         (gst_registry_binary_write_cache),
6976         (gst_registry_binary_check_magic),
6977         (gst_registry_binary_load_pad_template),
6978         (gst_registry_binary_load_feature),
6979         (gst_registry_binary_load_plugin),
6980         (gst_registry_binary_read_cache):
6981         * gst/gstregistrybinary.h:
6982           Use glib types, cleanup comments, impement interfaces and uri-types.
6983
6984 2007-01-13  Andy Wingo  <wingo@pobox.com>
6985
6986         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
6987         getrange() to return buffers with other caps, while we fix
6988         demuxers and typefind, or otherwise change part-negotiation.txt.
6989
6990 2007-01-12  Andy Wingo  <wingo@pobox.com>
6991
6992         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
6993         Factor start/stop into this private function instead of partially
6994         in activate functions and partially in the change_state function.
6995         Fixes setup before the element has changed from READY->PAUSED, as
6996         is the case in pull-mode pipelines.
6997         (gst_base_transform_sink_activate_push)
6998         (gst_base_transform_src_activate_pull): Refactor to use
6999         gst_base_transform_activate().
7000         (gst_base_transform_change_state): Removed, not needed any more.
7001
7002         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
7003         Truncate before fixating.
7004         
7005         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
7006         Don't set_caps() if the result of fixating is ANY, as it's not
7007         supported, and not necessary in the case of a link with no
7008         template caps on either side. Fixes tests/check/libs/basesrc in
7009         some pull-mode tests.
7010
7011         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
7012         (gst_base_transform_init, gst_base_transform_sink_activate_push)
7013         (gst_base_transform_src_activate_pull): 
7014         Track the activation mode.
7015         (gst_base_transform_setcaps): In pull mode, when activating the
7016         src pad, after activating the sink pad, activate the sink pad's
7017         peer, as discussed in part-negotiation.txt.
7018
7019         * libs/gst/base/gstbasesrc.h: 
7020         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
7021         vmethod, as in basesink.
7022
7023         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
7024
7025         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
7026         mode, first proxy the setcaps to the peer pad.
7027         (gst_base_sink_pad_fixate): Add a fixate function that calls the
7028         new fixate vmethod.
7029         (gst_base_sink_default_activate_pull): Rename from
7030         gst_base_sink_activate_pull.
7031         (gst_base_sink_negotiate_pull): New function, performs negotiation
7032         in pull mode before calling ::activate_pull().
7033         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
7034         vmethod instead of the default implementation. I have no idea how
7035         this worked before. Negotiate before calling activate_pull.
7036
7037         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
7038         sink pads in pull mode. In addition to being correct, fixes
7039         filesrc ! decodebin ! identity ! fakesink.
7040         (gst_pad_get_range, gst_pad_pull_range): Don't call
7041         gst_pad_set_caps() if the caps changes; instead error out with
7042         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
7043
7044 2007-01-12  Andy Wingo  <wingo@pobox.com>
7045
7046         * docs/design/part-negotiation.txt: Update with more policy.
7047
7048 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
7049
7050         * libs/gst/check/gstbufferstraw.h:
7051         * libs/gst/check/gstcheck.h:
7052           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
7053           belongs.
7054
7055 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
7056
7057         * tests/check/Makefile.am:
7058         * tests/check/gst/.cvsignore:
7059         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
7060         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
7061         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
7062         (GST_START_TEST), (gst_tag_setter_suite):
7063           Add minimal unit test for beforementioned GstTagSetter bug.
7064
7065 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
7066
7067         Patch by: René Stadler <mail at renestadler dot de>
7068
7069         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
7070           gst_tag_list_merge() returns a new list, so it's not the best idea
7071           to ingore its return value. Effectively meant that tags could only
7072           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
7073           Also add function guard to require a non-NULL taglist as input (has
7074           always been so due to gst_tag_list_copy(), just making it explicit).
7075
7076 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
7077
7078         * docs/random/draft-missing-plugins.txt:
7079           Some additions: mention new API that is supposed to be used at the
7080           various stages; short blob about new gst-inspect introspection
7081           option; mention potential future problem with plugins that have
7082           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
7083
7084 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
7085
7086         * tools/gst-inspect.c:
7087         (print_plugin_automatic_install_info_codecs),
7088         (print_plugin_automatic_install_info_protocols),
7089         (print_plugin_automatic_install_info), (main):
7090         Add --print-plugin-auto-install-info option to gst-inspect, so we can
7091         introspect plugin files and get machine-parsable output that corresponds
7092         to the last bit of the missing-plugin installer string (small gotcha:
7093         doesn't take into account ranks).
7094
7095 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
7096
7097         * configure.ac:
7098         * docs/gst/gstreamer-sections.txt:
7099         * gst/Makefile.am:
7100         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
7101         (gst_registry_lookup_locked):
7102         * gst/gstregistry.h:
7103         * gst/gstregistrybinary.c: (gst_registry_binary_write),
7104         (gst_registry_binary_initialize_magic),
7105         (gst_registry_binary_save_string),
7106         (gst_registry_binary_save_pad_template),
7107         (gst_registry_binary_save_feature),
7108         (gst_registry_binary_save_plugin),
7109         (gst_registry_binary_write_cache),
7110         (gst_registry_binary_check_magic),
7111         (gst_registry_binary_load_pad_template),
7112         (gst_registry_binary_load_feature),
7113         (gst_registry_binary_load_plugin),
7114         (gst_registry_binary_read_cache):
7115         * gst/gstregistrybinary.h:
7116         * gst/gstregistryxml.c: (load_feature),
7117         (gst_registry_xml_read_cache):
7118           commit binary registry (disabled by default, see #359653)
7119
7120 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
7121
7122         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
7123           Fix 'make check' too.
7124
7125 2007-01-10  Andy Wingo  <wingo@pobox.com>
7126
7127         * docs/design/part-negotiation.txt: Fix a typo, add a couple
7128         notes.
7129         
7130         * docs/design/part-negotiation.txt: Update with, um, one way that
7131         pull-mode negotiation might work?
7132
7133         * gst/gstpad.h: 
7134         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
7135         that the pad must be a src pad; makes sense to call it the other
7136         way in pull mode, and the logic is symmetric anyway.
7137
7138 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
7139
7140         * plugins/elements/gstfilesink.c:
7141           Include <stdio.h> for fseeko().
7142
7143 2007-01-10  Wim Taymans  <wim@fluendo.com>
7144
7145         * gst/gstevent.c:
7146         * gst/gstevent.h:
7147         Reserve LATENCY event.
7148
7149 2007-01-09  Wim Taymans  <wim@fluendo.com>
7150
7151         * docs/design/draft-latency.txt:
7152         Updates.
7153
7154 2007-01-09  Wim Taymans  <wim@fluendo.com>
7155
7156         * docs/design/draft-latency.txt:
7157         Updates.
7158
7159         * gst/gstelement.h:
7160         * gst/gststructure.c:
7161         * gst/gsttrace.c:
7162         Small typo fixes.
7163
7164 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
7165
7166         * tests/check/.cvsignore:
7167           Ignore test-registry.xml as well.
7168
7169 2007-01-09  Wim Taymans  <wim@fluendo.com>
7170
7171         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
7172         unref data at the end when we are done with the pad.
7173
7174 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
7175
7176         * docs/gst/gstreamer-sections.txt:
7177         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
7178         (init_post), (gst_deinit), (gst_update_registry):
7179         * gst/gst.h:
7180           API: add gst_update_registry() (#391296).
7181
7182         * tests/check/Makefile.am:
7183         * tests/check/gst/gstregistry.c:
7184         * tests/check/gst/.cvsignore:
7185           Simple unit test for the above.
7186
7187 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
7188
7189         * gst/gstregistry.c: (gst_registry_scan_path_level):
7190           Plugin extension on HP-UX is .sl, add that to the list of approved
7191           plugin extensions (see #393796).
7192
7193         * tests/check/gst/gstpad.c: (GST_START_TEST):
7194           ulong => gulong. Fixes compilation with HP-UX compiler.
7195
7196         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7197           Fix compilation if valgrind headers are not available.
7198
7199 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
7200
7201         * win32/common/libgstreamer.def: 
7202           Add new exported function.
7203         * win32/vs6/libgstbase.dsp: 
7204           Add gstdataqueue.c to the build.
7205         * win32/vs6/libgstcoreelements.dsp:
7206           Add gstmultiqueue.c to the build.
7207         
7208 2007-01-06  Andy Wingo  <wingo@pobox.com>
7209
7210         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
7211         activate_pull(), providing for a way to specialize the process of
7212         spawning a thread to pull on the sink pad. There is a default
7213         implementation.
7214
7215         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
7216         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
7217         (gst_base_sink_init): Renamed pad activation functions (inserting
7218         "_pad" in their names). Refactor to use the new activate_pull
7219         vmethod, as appropriate.
7220         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
7221         default activate_pull function to start a task pulling from the
7222         sink pad, as before.
7223
7224         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
7225         on the pads if necessary, as in push()/chain(). Update docs.
7226         Shouldn't affect existing pull() usage as it is currently only
7227         being used on buffers without caps.
7228
7229 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
7230
7231         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7232         (init_pre):
7233           Call g_thread_init() first thing in gst_init() / gst_check_init().
7234           When initialisation is done via gst_init_get_option_group() and
7235           GOption parsing, issue a warning if the GLib thread system has not
7236           been initialised yet by the time gst_init_get_option_group() is
7237           called, as it's quite likely other GLib functions such as
7238           g_option_context_new() have been called already then, and
7239           g_thread_init() must be called before any other GLib function. The
7240           application in question must be fixed in that case, since memory
7241           corruption might happen otherwise.
7242           We issue the warning because even if the GLib folks decide to work
7243           around the problem on their end in future, this is still an issue
7244           with all GLib versions >= 2.10.0, so we should warn until we depend
7245           on a GLib version we know to be safe.
7246           Update documentation as well.
7247           Closes bug #391278.
7248
7249 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
7250
7251         * tools/gst-inspect.c: (main):
7252         * tools/gst-launch.c: (main):
7253         * tools/gst-typefind.c: (main):
7254         * tools/gst-xmlinspect.c: (main):
7255           Call g_thread_init() really really early, before any other GLib
7256           function (see #342564 and recent discussion on gtk-devel-list).
7257
7258 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
7259
7260         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
7261
7262         * gst/gst_private.h:
7263         * gst/gstconfig.h.in:
7264         * gst/gstinfo.h:
7265           On win32, all the __declspec stuff for symbol exporting is
7266           apparently only needed with MSVC, but doesn't work with MingW.
7267           Fixes compilation with MingW and #391909.
7268
7269 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
7270
7271         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
7272           Change some GST_ERROR_OBJECT that aren't really errors to
7273           GST_WARNING_OBJECT in order to reduce terminal spam.
7274
7275 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
7276
7277         * tests/check/Makefile.am:
7278           disable test again, as there seem to be still race problems
7279
7280 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
7281
7282         * tests/check/Makefile.am:
7283         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7284         (GST_START_TEST), (queue_suite):
7285           enable queue test again, add tests for the leaky behaviour
7286
7287 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
7288
7289         * configure.ac:
7290         * tests/examples/Makefile.am:
7291           Compile adapter test/example only if the required headers are
7292           available (fixes #391915).
7293
7294 2007-01-01  David Schleef  <ds@schleef.org>
7295
7296         * gst/gstplugin.c:
7297           Restore the previous signal handler for SIGSEGV instead of
7298           setting to default, since we may have stolen it away from
7299           someone.  (i.e., Mono)
7300
7301 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
7302
7303         * docs/random/draft-missing-plugins.txt:
7304           Some small additions and clarifications.
7305
7306 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
7307
7308         * gst/gstregistryxml.c: (gst_registry_save_escaped):
7309           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
7310           since that can lead to random memory corruptions and crashes
7311           (may or may not be related to #383244, #386711, and #386711).
7312
7313 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
7314
7315         * tests/check/.cvsignore:
7316         * tests/check/Makefile.am:
7317           sync .cvsignome and CLEANFILES
7318
7319 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
7320
7321         * tests/check/Makefile.am:
7322           fix distcheck
7323
7324 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
7325
7326         * docs/design/part-states.txt:
7327           two tiny additional comments
7328         
7329         * gst/gststructure.c:
7330           doc fixing
7331
7332         * tests/check/Makefile.am:
7333         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7334         (GST_START_TEST):
7335           disable test for now, unless it gets fixed
7336
7337 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
7338
7339         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7340         (GST_START_TEST):
7341           fix race in underrun test
7342
7343 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
7344
7345         * tests/check/elements/.cvsignore:
7346           ignore more
7347
7348         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7349         (GST_START_TEST):
7350           try to narrow test failure
7351
7352 2006-12-21  David Schleef  <ds@schleef.org>
7353
7354         * plugins/elements/gstfakesrc.c:
7355           Use g_random_int_range(), since it produces better random
7356           numbers in a range than almost-correct floating point code.
7357
7358 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
7359
7360         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
7361         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7362         (gst_check_teardown_sink_pad):
7363           do not automatically (de)activate pads
7364
7365         * tests/check/Makefile.am:
7366         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7367         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
7368           add new, yet simple tests for queue
7369
7370         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
7371         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
7372         * tests/check/elements/filesrc.c: (cleanup_filesrc),
7373         (GST_START_TEST):
7374         * tests/check/elements/identity.c: (cleanup_identity):
7375           consistent pad (de)activation
7376
7377 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
7378
7379         Patch by: Sebastian Dröge  <slomo ubuntu com>
7380
7381         * libs/gst/base/gstcollectpads.c:
7382           Fix two doc typos (#387866).
7383
7384 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
7385
7386         * docs/manual/advanced-dparams.xml:
7387           Fix typo (g_object_control_properties() doesn't exist).
7388
7389 2006-12-19  Edward Hervey  <edward@fluendo.com>
7390
7391         * gst/gstsegment.c: (gst_segment_set_seek):
7392         Fine tune the cases where the segment start/stop values are really
7393         updated.
7394         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7395         Add tests for the return values of gst_segment_set_seek().
7396
7397 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
7398
7399         * gst/gst.c:
7400           Docs typo fix.
7401
7402         * plugins/elements/gstqueue.c: (gst_queue_class_init),
7403         (gst_queue_init):
7404           Fix incorrect documentation and flesh it out a bit more.
7405           Set default values for the max properties on the GParamSpec as well,
7406           so it shows up correctly in gst-inspect.
7407
7408 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
7409
7410         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
7411           Correct docs of queue, add more detail and crosslink it more.
7412
7413 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
7414
7415         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7416           Print additional debug info when the stream isn't perfectly
7417           timestamped; don't try to use invalid durations.
7418
7419 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
7420
7421         * docs/design/Makefile.am:
7422           Dist new design docs.
7423
7424 2006-12-16  Wim Taymans  <wim@fluendo.com>
7425
7426         Patch by: Sjoerd Simons <sjoerd at luon dot net>
7427
7428         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
7429         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
7430         (gst_collect_pads_stop), (gst_collect_pads_event),
7431         (gst_collect_pads_chain):
7432         * libs/gst/base/gstcollectpads.h:
7433         Add refcounting to the collectpads data so we can track when it's safe
7434         to free the data. Fixes #383382.
7435
7436 2006-12-15  Wim Taymans  <wim@fluendo.com>
7437
7438         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
7439         (gst_collect_pads_remove_pad):
7440         Automatically activate/deactivate pads when they are added to a
7441         started/stoped collectpads.
7442
7443 2006-12-15  Wim Taymans  <wim@fluendo.com>
7444
7445         * gst/gstelement.c: (gst_element_add_pad):
7446         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
7447         * gst/gstpad.c: (gst_pad_init):
7448         Set pads to FLUSHING when they are created. Check, warn and fix when a
7449         demuxer adds an inactive pad to itself when running. Fixes #339326.
7450
7451 2006-12-15  Wim Taymans  <wim@fluendo.com>
7452
7453         * gst/gstelement.c: (gst_element_class_init),
7454         (gst_element_default_send_event), (gst_element_send_event),
7455         (gst_element_default_query), (gst_element_query):
7456         Expose default element send_event and query handling as vmethods that
7457         subclasses can chain up to.
7458
7459 2006-12-15  Wim Taymans  <wim@fluendo.com>
7460
7461         * gst/gstelement.c: (gst_element_set_state_func):
7462         Small documentation fixes.
7463
7464 2006-12-15  Wim Taymans  <wim@fluendo.com>
7465
7466         * docs/design/draft-latency.txt:
7467         Checked in draft for handling latency in pipelines.
7468
7469 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7470
7471         * Makefile.am:
7472         * gstreamer.doap:
7473         * gstreamer.spec.in:
7474           adding .doap file
7475
7476 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
7477
7478         * gst/gst.c: (init_pre), (init_post):
7479           init_pre() and init_post() might be called via our GOptionGroup or
7480           from gst_init(), and we should skip both of them if we've already
7481           been initialised, otherwise we will init some things twice or add
7482           two default log functions.
7483
7484 2006-12-13  Edward Hervey  <edward@fluendo.com>
7485
7486         * docs/manual/basics-bus.xml:
7487         No, gst_main_loop does not exist. Its g_main_loop.
7488         Discovered by somebody who abused the copy-paste technique of coding :)
7489
7490 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
7491
7492         * gst/gstghostpad.c:
7493           Log ghostpad debug stuff to the GST_PADS category as well rather
7494           than just to the default category.
7495
7496 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
7497
7498         * configure.ac:
7499         * gst/gst.c: (init_pre):
7500           Add some basic system details such as OS and architecture
7501           to the debug output if possible, courtesy of uname().
7502
7503 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
7504
7505         * docs/gst/running.xml:
7506           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
7507           environment variables.
7508
7509 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
7510
7511         * tests/check/gst/gstbin.c: (GST_START_TEST):
7512         It is acceptable to have a refcount of 2 or 3 at this point in the
7513         test, because the pipeline might be just posting its state_change
7514         message. The next line then waits for that message to appear using
7515         bus_poll, so that should be fine too.
7516
7517 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
7518
7519         * gst/gst.c: (ensure_current_registry_forking):
7520         Ignore EINTR when reading from the child registry pipe.
7521         Explicitly ignore the return value from close, since it makes no
7522         difference.
7523
7524         * gst/gstminiobject.c: (gst_mini_object_ref),
7525         (gst_mini_object_unref):
7526         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
7527
7528         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
7529         When removing cached plugins, remove their features too, so they're
7530         not visible after they've disappeared.
7531
7532         * gst/gstutils.c: (prepare_link_maybe_ghosting):
7533         In the unlikely case that we are linking pads with no parents, don't
7534         crash trying to get the non-existent parent bin.
7535
7536         * gst/parse/grammar.y:
7537         Output debug in the PIPELINE category
7538
7539 2005-03-08  Wim Taymans  <wim@fluendo.com>
7540
7541         Patch by: René Stadler <mail at renestadler dot de>
7542
7543         * gst/gstclock.c: (gst_clock_new_periodic_id):
7544         Reject invalid clock times for interval of periodic ids.
7545         Fixes ##383506.
7546
7547 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
7548
7549         * gst/gstelementfactory.c: (gst_element_factory_create):
7550         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7551         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
7552         * tools/gst-inspect.c: (print_element_info):
7553         Fix refcounting of gst_plugin_feature_load to match the docs. 
7554         Fixes: #380129
7555
7556 2006-12-07  Wim Taymans  <wim@fluendo.com>
7557
7558         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
7559         (gst_base_sink_get_position):
7560         Improve debugging of events.
7561
7562 2006-12-07  Wim Taymans  <wim@fluendo.com>
7563
7564         Patch by: René Stadler <mail at renestadler dot de>
7565
7566         * gst/gstclock.c: (gst_clock_id_wait):
7567         Make period ids add the interval to the origial requested time instead
7568         of the possibly updated time which can be wrong when there are multiple
7569         waiters for the same id. Fixes #382592.
7570
7571         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
7572         (gst_system_clock_id_wait_jitter_unlocked),
7573         (gst_system_clock_id_wait_jitter):
7574         Fix restart in the async notify thread when an async entry is added to
7575         the front of the list. Fixes #381492. 
7576
7577         * tests/check/gst/gstsystemclock.c: (store_callback),
7578         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
7579         Added test for multiple async waits.
7580         Added test for async wait order.
7581
7582 2006-12-07  Wim Taymans  <wim@fluendo.com>
7583
7584         * gst/gstbin.c: (gst_bin_query):
7585         Add some more docs about the POSITION query.
7586
7587 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
7588
7589         * configure.ac:
7590         Bump version nano - back to CVS.
7591
7592 === release 0.10.11 ===
7593
7594 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
7595
7596         * configure.ac:
7597           releasing 0.10.11, "Love never runs on time"
7598
7599 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
7600
7601         * win32/common/libgstbase.def:
7602         * win32/common/libgstreamer.def:
7603         * win32/vs8/libgstbase.vcproj:
7604         * win32/vs8/libgstcoreelements.vcproj:
7605         * win32/vs8/libgstreamer.vcproj:
7606         Fix compilation on win32 under VS8
7607         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7608         Partially fixes #381175
7609
7610 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
7611
7612         * gst/gstvalue.c: (gst_value_compare_fraction):
7613         If someone is foolish enough to compare 2 fractions with denominator =
7614         0, return UNORDERED rather than aborting.
7615
7616 2006-11-28  Edward Hervey  <edward@fluendo.com>
7617
7618         * libs/gst/base/Makefile.am:
7619         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
7620         (gst_data_queue_base_init), (gst_data_queue_class_init),
7621         (gst_data_queue_init), (gst_data_queue_new),
7622         (gst_data_queue_cleanup), (gst_data_queue_finalize),
7623         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
7624         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
7625         (gst_data_queue_is_empty), (gst_data_queue_is_full),
7626         (gst_data_queue_set_flushing), (gst_data_queue_push),
7627         (gst_data_queue_pop), (gst_data_queue_drop_head),
7628         (gst_data_queue_set_property), (gst_data_queue_get_property):
7629         * libs/gst/base/gstdataqueue.h:
7630         New GstDataQueue object for threadsafe queueing. Most useful for
7631         elements that need some queueing functionnality.
7632         * docs/libs/gstreamer-libs-docs.sgml:
7633         * docs/libs/gstreamer-libs-sections.txt:
7634         Insert documentation for GstDataQueue
7635         * plugins/elements/Makefile.am:
7636         * plugins/elements/gstelements.c:
7637         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
7638         (gst_multi_queue_class_init), (gst_multi_queue_init),
7639         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7640         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
7641         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
7642         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7643         (gst_multi_queue_loop), (gst_multi_queue_chain),
7644         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7645         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
7646         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
7647         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
7648         (wake_up_next_non_linked), (compute_next_non_linked),
7649         (single_queue_overrun_cb), (single_queue_underrun_cb),
7650         (single_queue_check_full), (gst_single_queue_new):
7651         * plugins/elements/gstmultiqueue.h:
7652         New multiqueue element, using GstDataQueue. Used for queuing multiple
7653         streams.
7654         Closes #344639 and #347785
7655
7656 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
7657
7658         * docs/pwg/advanced-types.xml:
7659           add more missing type details
7660
7661         * tools/gst-run.c: (main):
7662           remove unused variable
7663
7664 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
7665
7666         * docs/libs/Makefile.am:
7667         * docs/libs/gstreamer-libs.types:
7668           add types of base classes to enable gobject specific stuff in the docs
7669
7670         * docs/random/ensonic/embedded.txt:
7671           more ideas about isolating platform specific things
7672
7673 2006-11-20  Wim Taymans  <wim@fluendo.com>
7674
7675         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
7676
7677         * libs/gst/check/gstcheck.h:
7678         Fix compilation and running against 0.9.4. Fixes #377332.
7679
7680 2006-11-20  Wim Taymans  <wim@fluendo.com>
7681
7682         * gst/gstsegment.c: (gst_segment_set_seek),
7683         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
7684         (gst_segment_to_running_time):
7685         Fix boundary checking in to_running_time() and to_stream_time().
7686         Fixes #377183.
7687
7688         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7689         stream and running time can now be calculated for the complete
7690         clipped segment.
7691
7692 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
7693
7694         * gst/gstpad.c: (gst_pad_push_event):
7695           Can't access event structure after giving away ownership of
7696           the event.
7697
7698 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
7699
7700         * docs/random/ensonic/embedded.txt:
7701         * docs/random/ensonic/profiling.txt:
7702         * docs/random/ensonic/receipies.txt:
7703           more thinking
7704
7705 2006-11-13  Wim Taymans  <wim@fluendo.com>
7706
7707         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7708
7709         * gst/gstpad.c:
7710         Fix documentation for gst_pad_dispatcher. Fixes #374475.
7711
7712 2006-11-13  Wim Taymans  <wim@fluendo.com>
7713
7714         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
7715
7716         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7717         Store new length in segment duration so we don't keep on calling the
7718         potentially expensize get_size() call. Fixes #370865.
7719
7720 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
7721
7722         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
7723
7724         * win32/common/libgstreamer.def:
7725           Add two missing symbols (#366492).
7726
7727 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
7728
7729         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
7730         (gst_adapter_take_buffer):
7731         Fix format string to use all its arguments.
7732         Remove useless >= check on a guint
7733
7734 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
7735
7736         * tests/examples/adapter/.cvsignore:
7737         Ignore build file as commanded by the build-bot
7738
7739 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
7740
7741         * tests/examples/adapter/Makefile.am:
7742         * tests/examples/adapter/adapter_test.c: (run_test_take),
7743         (run_test_take_buffer), (run_tests), (main):
7744
7745         Add new files from the previous commit
7746
7747 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
7748
7749         * Makefile.am:
7750         * configure.ac:
7751         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
7752         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
7753         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
7754         * libs/gst/base/gstadapter.h:
7755         * tests/check/libs/adapter.c: (create_and_fill_adapter),
7756         (GST_START_TEST), (gst_adapter_suite):
7757         * tests/examples/Makefile.am:
7758         Do some optimisation work in GstAdapter to avoid copies in more cases.
7759         It could still do slightly better by merging buffers when
7760         gst_buffer_is_span_fast is true, but is already faster. 
7761
7762         Also, avoid traversing a single-linked list to append each incoming 
7763         buffer inside the adapter.
7764
7765         Add simple test app that times the adapter behaviour in different
7766         situations, and extend the unit test to check that bytes enter and
7767         exit the adapter in their original order.
7768
7769 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
7770
7771         * docs/random/draft-missing-plugins.txt:
7772           Update: use element message instead of adding a new message
7773           type to the core; don't provide GStreamer API to initiate the
7774           plugin download, just provide API to compose the strings needed
7775           and let an external libgimmestuff handle the rest.
7776
7777 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
7778
7779         * tools/gst-inspect.c: (print_element_properties_info):
7780         Print a string instead of 'unknown type' for GValueArray properties
7781
7782 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
7783
7784         * docs/random/draft-missing-plugins.txt:
7785         More small fixes.
7786
7787 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
7788
7789         * tests/examples/typefind/typefind.c: (type_found), (main):
7790           Make typefind element example work again (#371894); add a
7791           license header.
7792
7793 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
7794
7795         * docs/random/draft-missing-plugins.txt:
7796           Commit initial draft about how to deal with missing plugins,
7797           needs work (API too).
7798
7799 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
7800
7801         * docs/pwg/advanced-types.xml:
7802           documents the new caps elements (see #363118)
7803
7804 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
7805
7806         * gst/gstplugin.c: (gst_plugin_load_file):
7807         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
7808         (gst_file_src_map_region), (gst_file_src_start):
7809         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
7810         (gst_file_index_commit):
7811           Use g_strerror() instead of strerror() - we want UTF-8.
7812
7813 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
7814
7815         Patch by: Peter Kjellerstedt <pkj at axis com>
7816
7817         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7818           Another printf fix (#371493).
7819
7820 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
7821
7822         * tests/check/gst/gsttag.c:
7823           relicence (okay with author=company)
7824
7825 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
7826
7827         * gst/gstpad.c: (gst_pad_event_default_dispatch),
7828         (gst_pad_push_event):
7829           Enhance debug and improve docs
7830         
7831         * gst/gsturi.c:
7832           Fix docs
7833
7834 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
7835
7836         * docs/random/ensonic/distributed.txt:
7837         * docs/random/ensonic/profiling.txt:
7838           more ideas
7839
7840 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
7841
7842         * docs/gst/gstreamer-sections.txt:
7843           add new API and fix the build
7844           
7845         * gst/gstbin.c: (gst_bin_recalc_state):
7846         * gst/gstelement.c: (gst_element_message_full),
7847         (gst_element_get_state_func), (gst_element_set_state_func):
7848           use new API and improve logging
7849         
7850         * gst/gstutils.c: (gst_element_state_change_return_get_name):
7851         * gst/gstutils.h:
7852           API: add function to get StateChangereturn names to improve logs 
7853
7854 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
7855
7856         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
7857           I'm considering shooting the next person to put strerror stuff
7858           in the translateable part of the message.
7859
7860 2006-11-03  Wim Taymans  <wim@fluendo.com>
7861
7862         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7863         Get the type and printf conversion specifiers right.
7864
7865 2006-11-03  Wim Taymans  <wim@fluendo.com>
7866
7867         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7868
7869         * gst/gstpad.c: (gst_pad_init), (pre_activate),
7870         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
7871         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
7872         Some small cleanups. Improve debugging.
7873         * gst/gstpad.h:
7874         Signal all waiting threads with a broadcast instead of just one.
7875         Fixes #369942.
7876
7877 2006-11-03  Wim Taymans  <wim@fluendo.com>
7878
7879         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
7880         (gst_fd_src_create):
7881         Add some debugging. 
7882         Only update fd when it's different from the old.
7883
7884 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
7885
7886         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
7887           Printf fixes for PPC/OSX, take two (#369366).
7888
7889 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
7890
7891         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
7892
7893         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
7894         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7895         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
7896           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
7897           don't cast to long long for portability reasons, but use
7898           GLib's types instead.
7899
7900 2006-10-30  Michael Smith  <msmith@fluendo.com>
7901
7902         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
7903           Get the arguments to lseek() the right way around.
7904           Fixes 367677.
7905
7906 2006-10-30  Wim Taymans  <wim@fluendo.com>
7907
7908         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
7909
7910         * gst/gstinfo.h:
7911         _declspec should be __declspec (two underscores, not one). Fixes 366572.
7912
7913 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
7914
7915         Patch by: Kjartan Maraas  <kmaraas at gnome org>
7916
7917         * docs/design/part-MT-refcounting.txt:
7918         * docs/random/wtay/capsnego2-docs:
7919         * gst/gstclock.c:
7920         * gst/gstxml.c:
7921           Typo fixes (#366212).
7922
7923 2006-10-28  Wim Taymans  <wim@fluendo.com>
7924
7925         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7926
7927         * gst/gst.c:
7928         * win32/common/libgstbase.def:
7929         * win32/common/libgstreamer.def:
7930         * win32/vs8/libgstbase.vcproj:
7931         * win32/vs8/libgstcontroller.vcproj:
7932         Add needed entries in .def files.
7933         Use HAVE_UNISTD_H.
7934         Rearrange def files in vs8 solutions. Fixes #366286.
7935
7936 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
7937
7938         * win32/common/gstconfig.h:
7939           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
7940           hand-made win32 gstconfig.h. Fixes #366321.
7941
7942 2006-10-27  Wim Taymans  <wim@fluendo.com>
7943
7944         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
7945         (gst_ghost_pad_new_full):
7946         Make acceptcaps return TRUE when we don't have a target, just like
7947         setcaps does.
7948
7949 2006-10-27  Wim Taymans  <wim@fluendo.com>
7950
7951         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7952         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
7953
7954 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
7955
7956         * gst/gststructure.c: (gst_structure_id_set_value):
7957           If someone tries to set a non-UTF8 string field on a structure,
7958           don't just print a warning, but also ignore the request and do
7959           not change/add that field to the structure.
7960
7961         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7962           Test for the above.
7963
7964 2006-10-25  David Schleef  <ds@schleef.org>
7965
7966         * gst/gstinfo.c:
7967           g_hash_table_insert() needs a cast to a non-const pointer duh.
7968
7969 2006-10-25  David Schleef  <ds@schleef.org>
7970
7971         * gst/gstinfo.c:
7972         * gst/gstinfo.h:
7973           Change name parameter of _gst_debug_register_funcptr to const
7974           to reflect the constness of its use in the function as well
7975           as to quiet a gcc warning.
7976
7977 2006-10-25  Edward Hervey  <edward@fluendo.com>
7978
7979         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7980         Don't push the buffer if it's empty.
7981         Closes #363095
7982
7983 2006-10-24  Wim Taymans  <wim@fluendo.com>
7984
7985         * gst/gstevent.h:
7986         Add small comment.
7987
7988         * libs/gst/base/gstbasetransform.c:
7989         (gst_base_transform_sink_eventfunc):
7990         Debug segment values *after* updating them as this is more
7991         interesting.
7992
7993 2006-10-23  Wim Taymans  <wim@fluendo.com>
7994
7995         * docs/design/part-events.txt:
7996         Update some docs.
7997
7998         * docs/design/part-block.txt:
7999         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
8000         (gst_pad_push_event):
8001         Revert BLOCKING patch, it tries to be smart without really having a
8002         clear idea what or how. So, now we discard all FLUSHING events again on
8003         a blocking pad. Should fix gnonlin again.
8004
8005 2006-10-23  Wim Taymans  <wim@fluendo.com>
8006
8007         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
8008
8009         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
8010         (gst_base_src_start), (gst_base_src_activate_push):
8011         Make sure size is always initialized. Fixes #364388.
8012
8013 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
8014
8015         * docs/random/ensonic/distributed.txt:
8016           add some ideas about doing distributed processing
8017
8018         * docs/random/ensonic/profiling.txt:
8019           get_rusage look promising
8020
8021 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
8022
8023         * docs/manual/basics-helloworld.xml:
8024           Add a cast in example to fix compile warning
8025
8026 2006-10-18  Wim Taymans  <wim@fluendo.com>
8027
8028         * gst/gstsegment.c: (gst_segment_set_last_stop),
8029         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
8030         Relax arg checking again, -1 is allowed.
8031
8032 2006-10-18  Wim Taymans  <wim@fluendo.com>
8033
8034         * gst/gstsegment.c: (gst_segment_set_last_stop),
8035         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
8036         _set_last_stop() must be with a value != -1
8037         A _TYPE_SET to -1 means seek to 0.
8038         Calc last_stop correctly for negative rates.
8039         Make sure we work with positive durations when updating a segment.
8040
8041 2006-10-18  Wim Taymans  <wim@fluendo.com>
8042
8043         * docs/design/part-live-source.txt:
8044         * gst/gstclock.h:
8045         Small docs fixes.
8046
8047 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
8048
8049         * gst/gstbuffer.h:
8050           Add an explicit cast to GstBuffer** to keep old code that added an
8051           explicit cast to GstMiniObject** for gst_mini_object_replace()
8052           compiling without warning.
8053
8054 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
8055
8056         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
8057           check for validity of dates
8058
8059 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
8060
8061         * docs/gst/gstreamer-sections.txt:
8062           Forgot this one, makes gtk-doc shut up.
8063
8064 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
8065
8066         Patch by: Peter Kjellerstedt <pkj at axis com>
8067
8068         * gst/gstobject.h:
8069           Don't define xmlNodePtr to gpointer if the core was built with
8070           --disable-loadsave and --disable-registry, this will break
8071           applications that want to use libxml2 but are buildling against a
8072           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
8073           instead so we don't have to mess with the libxml2 namespace
8074           (#361675).
8075
8076 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
8077
8078         * gst/gstbuffer.h:
8079           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
8080           type-punned pointer warnings.
8081
8082 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
8083
8084         * gst/gstelement.h:
8085           Add casts to the correct return type to state <=> state transition
8086           macros.
8087
8088 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
8089
8090         * docs/design/part-live-source.txt:
8091           describe howto handle latency
8092         
8093         * docs/random/ensonic/profiling.txt:
8094           more ideas
8095
8096         * tools/gst-plot-timeline.py:
8097           fix log parsing for solaris, remove unused function
8098
8099 2006-10-16  Wim Taymans  <wim@fluendo.com>
8100
8101         * docs/design/part-trickmodes.txt:
8102         * gst/gstevent.c:
8103         Update some docs regarding reverse playback.
8104
8105 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
8106
8107         Patch by: Marcus Granado  <mrc dot gran at gmail com>
8108
8109         * win32/vs8/grammar.vcproj:
8110           Error out with a warning if glib-genmarshal.exe is not in path,
8111           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
8112
8113 2006-10-13  Wim Taymans  <wim@fluendo.com>
8114
8115         * gst/gstsegment.c: (gst_segment_set_seek):
8116         When seeking to stop -1, set last_stop (current position) to the
8117         duration of the segment.
8118
8119 2006-10-13  Wim Taymans  <wim@fluendo.com>
8120
8121         * gst/gstelement.h:
8122         Clarify _NO_PREROLL a bit more.
8123
8124         * gst/gstevent.c:
8125         Fix docs.
8126
8127         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
8128         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
8129         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
8130         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
8131         due to wrong locking order. Fixes #361769.
8132         Remove some redundant/misplaced checks in pad_block.
8133
8134         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8135         For negative rates, count backwards from the duration.
8136
8137 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
8138
8139         * gst/gsterror.c: (_gst_library_errors_init):
8140           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
8141           up with something better).
8142
8143 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
8144
8145         * win32/vs6/libgstreamer.dsp:
8146         * win32/vs7/libgstreamer.vcproj:
8147         * win32/vs8/libgstreamer.vcproj:
8148           Don't reference glib-compat.c which is currently not used and not
8149           disted; add gstquark.c which was recently added. Fixes #361730.
8150
8151 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
8152
8153         * win32/common/libgstbase.def:
8154         * win32/common/libgstcontroller.def:
8155         * win32/common/libgstreamer.def:
8156           Add gst_caps_merge() and a bunch of other recently-added functions.
8157           Fixes #361732.
8158
8159 2006-10-11  Wim Taymans  <wim@fluendo.com>
8160
8161         * docs/plugins/gstreamer-plugins.args:
8162         * docs/plugins/inspect/plugin-coreelements.xml:
8163         * docs/plugins/inspect/plugin-coreindexers.xml:
8164         Update element args.
8165
8166         * gst/gstsystemclock.c:
8167         Small comment update.
8168
8169         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
8170         (gst_tee_request_new_pad), (gst_tee_release_pad),
8171         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
8172         (gst_tee_sink_activate_pull):
8173         * plugins/elements/gsttee.h:
8174         Some tee loving:
8175         Add default property defines.
8176         Implement release pad function.
8177         Give properties better blubs etc.
8178         Activate pads before adding them to a running tee.
8179         Do simple buffer_alloc on the first requested pad.
8180         Post error when activation fails.
8181
8182 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
8183
8184         * gst/gst.c: (ensure_current_registry_forking):
8185           Check return value of write() to make compiler happy.
8186
8187 2006-10-11  Wim Taymans  <wim@fluendo.com>
8188
8189         Patch by: Sjoerd Simons <sjoerd at luon dot net>
8190
8191         * plugins/elements/gstqueue.c: (gst_queue_chain):
8192         Recheck queue filledness after signalling the overrun when we're about
8193         to leak downstream because we released the lock when emitting the signal
8194         and the queue could be empty again. Fixes #352345.
8195
8196 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
8197
8198         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
8199           Fix refcounting here too, just like we did for _new_valist() a few
8200           days ago (#357180) (thanks to René Stadler). Also remove all those
8201           'Since: 0.9' from the gtk-doc blobs.
8202
8203         * tests/check/libs/controller.c: (controller_refcount_new_list),
8204         (gst_controller_suite):
8205           Unit test for the above.
8206
8207 2006-10-10  Wim Taymans  <wim@fluendo.com>
8208
8209         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
8210
8211         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8212         (gst_pad_save_thyself):
8213         Update some docs.
8214         Write pad direction in XML output. Fixes #345496.
8215
8216 2006-10-10  Wim Taymans  <wim@fluendo.com>
8217
8218         Patch by: René Stadler <mail at renestadler dot de>
8219
8220         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
8221         (gst_controller_new_list), (_gst_controller_dispose),
8222         (_gst_controller_finalize), (_gst_controller_class_init):
8223         Take ref to controlled object so that it cannot disappear. 
8224         Fixes #357432.
8225
8226 2006-10-10  Wim Taymans  <wim@fluendo.com>
8227
8228         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8229         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8230         (gst_check_teardown_sink_pad):
8231         Activate/deactivate pads in setup/teardown respectively.
8232
8233 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8234
8235         Patch by: Josep Torra Valles <josep@fluendo.com>
8236
8237         * gst/Makefile.am:
8238         Cast values when making gstenumtypes.h.  This pacifies Forte
8239         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
8240         in the enumeration.
8241
8242 2006-10-09  Wim Taymans  <wim@fluendo.com>
8243
8244         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
8245         Rename some more @cur to @start to fix docs. 
8246
8247         * gst/gstsegment.c: (gst_segment_set_seek):
8248         Fix typo.
8249         time and start must always stay in sync as defined in design doc.
8250
8251         * gst/gsttaglist.c: (gst_tag_list_is_empty):
8252         Rename param to fix docs.
8253
8254         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8255         Check that start and time are in sync.
8256
8257         * tests/check/pipelines/parse-launch.c:
8258         (gst_parse_test_element_change_state):
8259         Activate pad before adding to the element.
8260
8261 2006-10-09  Wim Taymans  <wim@fluendo.com>
8262
8263         * docs/design/part-qos.txt:
8264         Fix typo.
8265
8266         * gst/gstevent.c:
8267         * gst/gstevent.h:
8268         Update seek event docs regarding negative rates.
8269         Rename @cur to @start. 
8270
8271         * gst/gstsegment.c: (gst_segment_set_seek):
8272         * gst/gstsegment.h:
8273         Update set_seek docs regarding negative rates.
8274         Correctly update last_stop to @stop when dealing with negative
8275         rates.
8276         Rename @cur to @start. 
8277
8278         * tests/check/gst/gstpad.c: (GST_START_TEST):
8279         Activate pads before trying to use them.
8280
8281         * tests/check/gst/gstsegment.c: (GST_START_TEST),
8282         (gst_segment_suite):
8283         Add simple check for segments and negative rates.
8284
8285 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
8286
8287         * gst/gsttaglist.c: (gst_tag_list_is_empty):
8288         * gst/gsttaglist.h:
8289         * docs/gst/gstreamer-sections.txt:
8290           API: add gst_tag_list_is_empty() (#360467).
8291
8292         * tests/check/gst/gsttag.c: (GST_START_TEST):
8293           And a test case.
8294
8295 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8296
8297         * gst/gstmessage.h:
8298         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
8299         a value that doesn't fit on enumeration.
8300
8301 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8302
8303         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8304         Remove local debugging system and use Gstreamer's instead.
8305
8306 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8307
8308         Patch by: Josep Torra Valles <josep@fluendo.com>
8309
8310         * common/m4/gst-error.m4:
8311         Disable warning of statement not reached on Forte.
8312         * gst/gstmessage.h:
8313         Fix warning on Forte (value doesn't fit on enumeration).
8314         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
8315         Fix warning on Forte (value doesn't fit on enumeration).
8316         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8317         DEBUG macro says it takes minimum of 2 args and so Forte
8318         complains about the use with just 1 arg.
8319         * plugins/elements/gstfdsink.c:
8320         * plugins/elements/gstfdsrc.c:
8321         * plugins/elements/gstfilesink.c:
8322         * plugins/elements/gstfilesrc.c:
8323         Use correct return type for the uri handler implementations.
8324
8325         All these fix warnings in Forte.  Fixes bug #360860.
8326
8327 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
8328
8329         * gst/gstelement.h:
8330           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
8331           format string, so don't use G_GNUC_PRINTF for those versions.
8332
8333 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
8334
8335         * gst/gsttaglist.c: (gst_is_tag_list):
8336         * gst/gsttaglist.h:
8337           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
8338
8339         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8340           Small test for the above.
8341
8342 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
8343
8344         * gst/gsttaglist.h:
8345           Less tabs, more spaces.
8346
8347 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
8348
8349         * gst/gstinfo.h:
8350           Those two function declarations do actually belong there, revert
8351           commit from yesterday that turned them intro macros.
8352
8353 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8354
8355         Patch by: Josep Torra Valles <josep@fluendo.com>
8356
8357         * gst/gst.c: (gst_init_get_option_group):
8358         Fix empty declaration and type mismatch.
8359         * gst/gstbin.c: (gst_bin_change_state_func):
8360         Fix type mismatch.
8361         * gst/gstelement.c: (gst_element_continue_state),
8362         (gst_element_set_state_func), (gst_element_change_state),
8363         (gst_element_change_state_func):
8364         Fix type mismatches.
8365         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
8366         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
8367         Cast as appropriate.
8368         * gst/gstobject.c: (gst_class_signal_connect):
8369         Cast as appropriate.  The function pointer parameter really
8370         has the wrong type but would break API if we change it.
8371         * gst/gstquery.c:
8372         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
8373         order of including string.h.
8374         * gst/gstutils.c: (gst_element_state_get_name):
8375         Remove unreachable line.
8376         * gst/gstxml.c: (gst_xml_parse_doc):
8377         Fix type mismatch.
8378         All these caught by Forte.
8379
8380 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8381
8382         Patch by: Josep Torra Valles <josep@fluendo.com>
8383
8384         * common/m4/gst-error.m4:
8385         Fixed bug #360151.
8386         We need to disable warnings on Forte for empty declarations
8387         due to gst-indent adding ;s to lines that just use macros
8388         where the macro actually doesn't need a ; at end to end
8389         statement.
8390
8391 2006-10-06  Wim Taymans  <wim@fluendo.com>
8392
8393         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8394         (gst_file_sink_close_file), (gst_file_sink_event),
8395         (gst_file_sink_render):
8396         Add some FIXME for the NEWSEGMENT handling.
8397
8398 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8399
8400         * gst/parse/grammar.y:
8401         Remove static function gst_parse_element_lock as all it does
8402         is return.  Looks like cruft from 0.8.
8403
8404 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8405
8406         Patch by: Josep Torra Valles <josep@fluendo.com>
8407
8408         * common/m4/gst-error.m4:
8409         * configure.ac:
8410         * libs/gst/net/Makefile.am:
8411         Fix a compilation issue with Forte on Solaris.  inet_aton is in
8412         libresolv.
8413
8414 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
8415
8416         * gst/gstpad.c: (pre_activate):
8417         * gst/gstregistry.c: (gst_registry_scan_path_level):
8418         * gst/gstregistryxml.c: (load_plugin):
8419         * libs/gst/controller/gstcontroller.c:
8420         (gst_controlled_property_set_interpolation_mode):
8421         * libs/gst/dataprotocol/dataprotocol.c:
8422         (gst_dp_packet_from_event_1_0):
8423         * libs/gst/net/gstnetclientclock.c:
8424         (gst_net_client_clock_observe_times):
8425         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
8426           Printf fixes.
8427
8428 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
8429
8430         * configure.ac:
8431         * docs/gst/gstreamer-sections.txt:
8432         * gst/gstconfig.h.in:
8433         * gst/gstelement.h:
8434         * gst/gstinfo.h:
8435           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
8436           whether we can use G_GNUC_PRINTF in other header files and at
8437           least check the printf format/arguments of debug messages and
8438           GST_ELEMENT_ERROR messages when the printf extension is not
8439           being used.
8440           Replace more tabs with spaces in gstinfo.h and remove two spurious
8441           function declarations in GST_DISABLE_DEBUG part with macros.
8442
8443 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
8444
8445         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
8446           More docs for the sync-message signal (mention that it is not
8447           emitted by default); log message structures of messages posted on
8448           the bus as well.
8449
8450 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
8451
8452         * gst/gst.c: (ensure_current_registry_forking):
8453         Use a pipe pair to receive status results from the forked child, and
8454         ignore the result from waitpid. Fixes #355499
8455
8456 2006-10-02  Wim Taymans  <wim@fluendo.com>
8457
8458         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
8459         (gst_ghost_pad_suite):
8460         Fix leak in check.
8461
8462 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
8463
8464         * gst/gstpad.c:
8465           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
8466
8467 2006-10-02  Edward Hervey  <edward@fluendo.com>
8468
8469         * docs/design/part-block.txt:
8470         Further explain the use of flushing on blocked pads.
8471         * docs/gst/gstreamer-sections.txt:
8472         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
8473         (gst_pad_push_event):
8474         * gst/gstpad.h:
8475         Added new GstPadFlag : GST_PAD_BLOCKING.
8476         Adds the notion of pads really blocking, which enables to properly
8477         handle FLUSH_START/FLUSH_STOP events on blocked pads.
8478         Fixes #358999
8479         API: gst_pad_is_blocking()
8480         API: GST_PAD_IS_BLOCKING() macro
8481         API: GST_PAD_BLOCKING GstPadFlag
8482         
8483 2006-10-02  Wim Taymans  <wim@fluendo.com>
8484
8485         Patch by: mrcgran <mrc.gran at gmail dot com>
8486
8487         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
8488         Filter the proxied caps against the padtemplate if we have one.
8489
8490         * gst/gstquery.c: (gst_query_new_segment):
8491         Add include for gstinfo.h so that compilation with
8492         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
8493
8494 2006-10-02  Wim Taymans  <wim@fluendo.com>
8495
8496         Patch by: Alessandro Decina  <alessandro at nnva org>
8497
8498         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
8499         (gst_file_sink_set_location), (gst_file_sink_open_file),
8500         (gst_file_sink_close_file), (gst_file_sink_event),
8501         (gst_file_sink_render):
8502         Set file to NULL when closing filesink so that we can set a new filename
8503         in READY. Fixes #358613.
8504
8505 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
8506
8507         Patch by: Alessandro Decina  <alessandro at nnva org>
8508
8509         * gst/gstevent.c: (_gst_event_copy):
8510           Fix gst_mini_object_make_writable() and gst_event_copy() for events
8511           with event structures by setting the parent refcount address of the
8512           copied structure to the address of the refcount member of the newly
8513           copied event rather than the address of the refcount member of the
8514           original event. Fixes #358737.
8515
8516         * tests/check/gst/gstevent.c: (GST_START_TEST):
8517           Unit test for the above.
8518
8519 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
8520
8521         * docs/design/Makefile.am:
8522           Dist some more files.
8523
8524 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
8525
8526         * tests/check/libs/controller.c: (GST_START_TEST),
8527         (gst_controller_suite):
8528           Add test for the previous fix; add some more tests
8529           for correct refcounting behaviour; fix a few leaks
8530           in test cases; call gst_controller_init() at start
8531           of all tests.
8532
8533 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
8534
8535         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
8536         (gst_controller_set_from_list):
8537           Don't g_return_val_if_fail() on timed values with invalid timestamps
8538           inside a critical section without unlocking the mutex. Spotted by
8539           René Stadler. (#357617)
8540           Also, fix up refcounting properly: when returning an existing
8541           controller, we should increase the reference only once and not
8542           once per property and when trying to control a property again
8543           we should also increase the refcount.
8544
8545 2006-09-29  Wim Taymans  <wim@fluendo.com>
8546
8547         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8548         * libs/gst/net/gstnettimeprovider.c:
8549         (gst_net_time_provider_thread):
8550         Stop reading commands when EOF as well.
8551
8552         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
8553         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
8554         * plugins/elements/gstidentity.c: (gst_identity_class_init):
8555         Unify description of the dump property.
8556
8557 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
8558
8559         * tests/examples/manual/.cvsignore:
8560         OK, so it's actually cvsignore that needs changing. Stop laughing.
8561
8562 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
8563
8564         * tests/examples/manual/Makefile.am:
8565         Gah, declare vars *before* using them
8566
8567 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
8568
8569         * gst/gst.c: (init_pre), (scan_and_update_registry),
8570         (ensure_current_registry_nonforking),
8571         (ensure_current_registry_forking), (ensure_current_registry),
8572         (init_post), (gst_debug_help), (gst_deinit):
8573         * gst/gst_private.h:
8574         * gst/gstregistry.c: (gst_registry_finalize),
8575         (gst_registry_remove_features_for_plugin_unlocked),
8576         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8577         (gst_registry_scan_path),
8578         (_priv_gst_registry_remove_cache_plugins),
8579         (_priv_gst_registry_cleanup):
8580         * gst/gstregistry.h:
8581         Re-commit the registry changes, along with an extra fix:
8582           When a cached plugin is encountered at a different file path,
8583           update the stored path in the registry cache so that the parent
8584           process knows where it actually is now when it re-reads the registry
8585           cache. Fixes the thing that broke distcheck with the previous commit.
8586
8587         * tests/check/Makefile.am:
8588         Clean up files named 'core' too when running make clean.
8589
8590         * tests/examples/manual/Makefile.am:
8591         Set up a registry path for running these tests, and clean it properly
8592         for distcheck.
8593
8594 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
8595
8596         * configure.ac:
8597         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
8598         want gmodule-no-export-2.0.pc instead so that we don't drag in
8599         --export-dynamic on every project that links to GStreamer.
8600
8601         Also, make our export regex only match the start of symbols, rather 
8602         than any symbol that contains '_gst' somewhere.
8603
8604         * libs/gst/check/Makefile.am:
8605         The libgstcheck we build does however need export-dynamic, as it
8606         produces some symbols that don't match our _gst... style regex.
8607         Fixes: #318031
8608
8609 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
8610
8611         * gst/gst.c: (init_pre), (scan_and_update_registry),
8612         (ensure_current_registry_nonforking),
8613         (ensure_current_registry_forking), (ensure_current_registry),
8614         (init_post), (gst_debug_help), (gst_deinit):
8615         * gst/gst_private.h:
8616         * gst/gstregistry.c: (gst_registry_finalize),
8617         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8618         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
8619         (_gst_registry_cleanup):
8620         * gst/gstregistry.h:
8621           Revert previous change until I figure out why it breaks distcheck.
8622
8623 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
8624
8625         * gst/gst.c: (init_pre), (scan_and_update_registry),
8626         (ensure_current_registry_nonforking),
8627         (ensure_current_registry_forking), (ensure_current_registry),
8628         (init_post), (gst_debug_help), (gst_deinit):
8629
8630           Make init_pre and init_post take the full complement of GOptionFunc
8631           args so they can return useful GErrors. Make the registry updating
8632           functions do so.
8633
8634           Call _priv_gst_registry_remove_cache_plugins after scanning files to
8635           ensure that the registry we're about to write out doesn't contain
8636           stale information about old-deleted plugin files.
8637
8638           Make _priv_gst_registry_remove_cache_plugins return a boolean so
8639           that deletion of plugin files is considered a registry change.
8640
8641         * gst/gst_private.h:
8642         * gst/gstregistry.c: (gst_registry_finalize),
8643         (gst_registry_remove_features_for_plugin_unlocked),
8644         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8645         (gst_registry_scan_path),
8646         (_priv_gst_registry_remove_cache_plugins),
8647         (_priv_gst_registry_cleanup):
8648         * gst/gstregistry.h:
8649         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
8650         by adding _priv prefix, so that they won't appear in the global
8651         symbol table. They still do atm though because of #318031. Move the
8652         prototypes to gst_private.h
8653
8654         When removing a plugin, remove all features for that plugin too. 
8655         Fixes #340878.
8656
8657 2006-09-27  Wim Taymans  <wim@fluendo.com>
8658
8659         * docs/random/moving-plugins:
8660         Make it clear that the "compiled-in descriptions" really mean
8661         the element details.
8662
8663         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8664         (gst_base_sink_wait_preroll):
8665         Update docs.
8666
8667         * docs/libs/gstreamer-libs-sections.txt:
8668         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
8669         (gst_base_src_get_range), (gst_base_src_activate_push):
8670         * libs/gst/base/gstbasesrc.h:
8671         Added function to block while waiting for PLAYING, this function
8672         is used by live sources that block on the clock.
8673         API: gst_base_src_wait_playing()
8674
8675 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
8676
8677         Patch by: Peter Kjellerstedt <pkj at axis com>
8678
8679         * Makefile.am:
8680           gst-element-check.m4 is generated and should therefore be
8681           copied from the build dir rather than the source dir (#357593).
8682           'make distcheck' hasn't noticed this because we were disting
8683           the file as well, so stop doing that.
8684
8685 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
8686
8687         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8688           Add some tests for gst_caps_intersect().
8689
8690         * tools/gst-launch.c: (event_loop):
8691           Print all buffering percentages we get, even the 100% one.
8692
8693 2006-09-26  Wim Taymans  <wim@fluendo.com>
8694
8695         * tools/gst-inspect.c: (print_element_properties_info),
8696         (print_signal_info):
8697         Fix printing of flags to match the look of enums.
8698
8699 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
8700
8701         * gst/gstelementfactory.c:
8702           Fix typo in docs blurb.
8703
8704 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
8705
8706         * gst/gsturi.c: (search_by_entry):
8707           Don't assert/crash here if a uri handler doesn't return any
8708           supported protocols. The list of protocols could be generated
8709           dynamically at runtime or at plugin registration, and an error
8710           in the underlying library shouldn't be fatal (#353301).
8711
8712 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
8713
8714         * gst/gstinfo.c:
8715           Fix warning if HAVE_PRINTF_EXTENSION is undefined
8716           (spotted by Peter Kjellerstedt).
8717
8718 2006-09-23  Wim Taymans  <wim@fluendo.com>
8719
8720         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
8721
8722         * libs/gst/base/gstbasesrc.c:
8723         (gst_base_src_default_check_get_range), (gst_base_src_start),
8724         (gst_base_src_activate_push), (gst_base_src_activate_pull),
8725         (gst_base_src_change_state):
8726         Match _start/_stop calls in the activate functions. Remove redundant
8727         _stop call from the state change function. Fixes #356910.
8728         Turn failure DEBUG into ERROR. 
8729
8730 2006-09-22  Wim Taymans  <wim@fluendo.com>
8731
8732         * docs/design/part-buffering.txt:
8733         * gst/gstmessage.c: (gst_message_new_buffering),
8734         (gst_message_parse_buffering):
8735         Update docs about buffering.
8736
8737         * docs/design/part-trickmodes.txt:
8738         Fix typo.
8739
8740 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
8741
8742         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
8743         (gst_controller_new_list):
8744           Ref instances when returning them again (fixes #357180)
8745
8746 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
8747
8748         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
8749           Don't forget to release proxy lock when there's an error.
8750
8751 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
8752
8753         * gst/gstcaps.h:
8754           Add extra initialisers for Caps things, to fix some plugin warnings
8755           when using -Wextra
8756
8757 2006-09-18  Wim Taymans  <wim@fluendo.com>
8758
8759         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8760           Also set template on the internal pad so that a getcaps from the 
8761           target pad returns the template caps.
8762
8763 2006-09-18  Wim Taymans  <wim@fluendo.com>
8764
8765         * gst/gstelement.c: (gst_element_post_message),
8766         (gst_element_dispose):
8767         Use _DEBUG_OBJECT some more.
8768
8769         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8770         Avoid typechecks.
8771
8772         * tools/gst-launch.c: (main):
8773         If the toplevel element is not a GstPipeline, it must be put in a
8774         pipeline so that a bus and clock is selected.
8775
8776 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
8777
8778         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8779           JITTER, RATE, and LATENCY query should be handled by the
8780           default case and not by the CONVERT query code.
8781
8782 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
8783
8784         * gst/gstformat.c: (gst_format_register):
8785           Fix locking order (must take lock before using n_values).
8786
8787         * gst/gstvalue.c: (gst_value_serialize_enum),
8788         (gst_value_deserialize_enum_iter_cmp),
8789         (gst_value_deserialize_enum):
8790           Fix serialisation/deserialisation of custom registered GstFormats.
8791
8792         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8793           Unit test for custom format serialisation/deserialisation.
8794
8795 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
8796
8797         * docs/pwg/building-boiler.xml:
8798         * plugins/elements/gstcapsfilter.c:
8799         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
8800         section.
8801
8802 2006-09-16  Edward Hervey  <edward@fluendo.com>
8803
8804         * libs/gst/base/gstbasetransform.c:
8805         (gst_base_transform_buffer_alloc):
8806         Check if requested caps are the same as the sinks caps IF
8807         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
8808         is FALSE.
8809         This fixes the renegotiation issues stated in #352827.
8810
8811 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8812
8813         * configure.ac:
8814         * docs/manual/advanced-autoplugging.xml:
8815         * tests/examples/Makefile.am:
8816         * tests/examples/manual/.cvsignore:
8817         * tests/examples/manual/Makefile.am:
8818         * tests/examples/manual/extract.pl:
8819           Extract the manual examples again like we used to do.
8820           Fix one of them.
8821
8822 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8823
8824         * win32/common/config.h:
8825           update for version
8826
8827 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
8828
8829         * gst/gsterror.c:
8830           Documents how to receive errors.
8831
8832 2006-09-15  Wim Taymans  <wim@fluendo.com>
8833
8834         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
8835         (event_loop), (main):
8836         Added some comments here and there.
8837         Post an application message when an interrupt is caught instead of doing
8838         an uncontrolled state change.
8839         Clean up the event loop.
8840         Handle buffering messages, pause/resume the pipeline.
8841         Make shutdown because of an interrupt more reliable.
8842
8843 2006-09-15  Wim Taymans  <wim@fluendo.com>
8844
8845         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8846         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
8847         (gst_base_sink_preroll_object):
8848         Make sure that our internal state is correct when we commit our state
8849         asynchronously. This solves a race where a state change to PLAYING
8850         could cause the sink to remain blocked in preroll in some situations.
8851
8852 2006-09-15  Wim Taymans  <wim@fluendo.com>
8853
8854         * tools/gst-inspect.c: (print_element_properties_info),
8855         (print_signal_info):
8856         List flags as hex so it's easier to deal with.
8857
8858 2006-09-15  Wim Taymans  <wim@fluendo.com>
8859
8860         * docs/libs/gstreamer-libs-sections.txt:
8861         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
8862         (gst_base_sink_do_sync):
8863         * libs/gst/base/gstbasesink.h:
8864         Expose logic to wait for preroll so that subclasses such as audiosink
8865         can also use this method.
8866         API: gst_base_sink_wait_preroll()
8867
8868 2006-09-15  Wim Taymans  <wim@fluendo.com>
8869
8870         * gst/gstobject.c: (gst_object_set_parent):
8871         * gst/gstpipeline.c: (do_pipeline_seek):
8872         Small cleanups in docs and code.
8873
8874         * gst/gstsegment.c: (gst_segment_clip):
8875         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8876         if stop == start and start is in the segment, no clipping should be
8877         done. Also add a test for this.
8878
8879 2006-09-15  Wim Taymans  <wim@fluendo.com>
8880
8881         * docs/design/part-buffering.txt:
8882         * docs/gst/gstreamer-sections.txt:
8883         * gst/gstmessage.c: (gst_message_new_buffering),
8884         (gst_message_parse_buffering):
8885         * gst/gstmessage.h:
8886         Added methods to create and parse BUFFERING messages.
8887         Added preliminary docs about buffering.
8888         API: gst_message_new_buffering
8889         API: gst_message_parse_buffering
8890
8891 2006-09-06  Wim Taymans  <wim@fluendo.com>
8892
8893         * gst/gstbin.c:
8894         Update documentation.
8895
8896         * gst/gstelement.c: (gst_element_class_init),
8897         (gst_element_release_request_pad), (gst_element_set_clock),
8898         (gst_element_get_index), (gst_element_add_pad),
8899         (gst_element_remove_pad), (gst_element_get_random_pad),
8900         (gst_element_send_event), (gst_element_get_query_types),
8901         (gst_element_query), (gst_element_post_message),
8902         (gst_element_message_full), (gst_element_continue_state),
8903         (gst_element_lost_state), (gst_element_save_thyself),
8904         (gst_element_restore_thyself):
8905         Documentation updates.
8906         Rename last bit of the new-pad -> pad-added signal rename.
8907         Fix the case where an element query would only work if the source
8908         pad was linked.
8909         Avoid some useless type checking in message handling.
8910
8911         * gst/gstevent.c:
8912         * gst/gstevent.h:
8913         * gst/gstutils.c:
8914         Documentation updates.
8915
8916 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8917
8918         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
8919           add an INFO line for when we actually update the fd
8920
8921 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8922
8923         * configure.ac:
8924           back to TRUNK
8925
8926 === release 0.10.10 ===
8927
8928 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
8929
8930         * configure.ac:
8931           releasing 0.10.10, "Pais"
8932
8933 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
8934
8935         * docs/manual/advanced-position.xml:
8936           Fix typo in sample code.
8937
8938 2006-09-05  Wim Taymans  <wim@fluendo.com>
8939
8940         * libs/gst/net/gstnetclientclock.c: (inet_aton),
8941         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8942         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
8943         * libs/gst/net/gstnetclientclock.h:
8944         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
8945         * libs/gst/net/gstnettimepacket.h:
8946         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
8947         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
8948         (gst_net_time_provider_thread), (gst_net_time_provider_new):
8949         * libs/gst/net/gstnettimeprovider.h:
8950         Make stuff compile on windows. Fixes #345295.
8951
8952 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
8953
8954         * gst/gst.c: (ensure_current_registry_forking):
8955           Print better details when child was terminated by signal.
8956
8957 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
8958
8959         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
8960           Print a warning rather than g_assert() if a plugin feature
8961           is a URI handler but returns no protocols (#353976).
8962
8963 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
8964
8965         * docs/random/moving-plugins:
8966         Fix two typos.         
8967
8968 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
8969
8970         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
8971           Fix locking order, handle NULL function values properly.
8972
8973         * gst/gstinfo.h:
8974           Fix docs.
8975
8976         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
8977           Initialise variable before using it and fix debug statement to
8978           print the address of the function rather than the address of the
8979           variable on the stack holding the address of the function.
8980
8981 2006-09-01  Wim Taymans  <wim@fluendo.com>
8982
8983         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
8984         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
8985         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
8986         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
8987         (gst_ghost_pad_parent_unset),
8988         (gst_ghost_pad_internal_do_activate_push),
8989         (gst_ghost_pad_internal_do_activate_pull),
8990         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8991         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8992         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8993         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
8994         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
8995         (gst_ghost_pad_new_no_target_from_template),
8996         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8997         More cleanups.
8998         Avoid needless typechecking in macros.
8999         Since the internal pad is always present and never changes, there is
9000         no need to locking or ref when retrieving it.
9001         Improve debugging a bit.
9002         Handle link errors when setting the target. Fixes #341029.
9003
9004 2006-09-01  Wim Taymans  <wim@fluendo.com>
9005
9006         * docs/libs/gstreamer-libs-sections.txt:
9007         * docs/plugins/gstreamer-plugins-sections.txt:
9008         Fix docs some more.
9009
9010         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9011         (gst_collect_pads_event):
9012         * libs/gst/base/gstcollectpads.h:
9013         Documentation updates.
9014         Free queued buffer when removing a pad.
9015
9016 2006-08-31  Michael Smith  <msmith@fluendo.com>
9017
9018         * gst/gstutils.c: (gst_element_link_pads),
9019         (gst_element_link_pads_filtered):
9020           Ensure that we set a capsfilter to NULL if we failed to link it
9021           when doing filtered linking, to avoid criticals.
9022
9023           No need to check for unreffing srcpad, which is explicly NULLed
9024           above (a trivial code cleanup).
9025
9026 2006-08-31  Wim Taymans  <wim@fluendo.com>
9027
9028         * docs/design/part-gstghostpad.txt:
9029         Update ascii art in documentation.
9030
9031         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
9032         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
9033         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
9034         (gst_ghost_pad_internal_do_activate_push),
9035         (gst_ghost_pad_internal_do_activate_pull),
9036         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9037         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
9038         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
9039         (gst_ghost_pad_set_target):
9040         Small cleanups and leak fixes.
9041         Remove some checks now that the internal pad is never NULL.
9042         Fix the case where linking pads without a target would create nasty
9043         criticals. Fixes #341029.
9044         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
9045         value of _set_target().
9046
9047         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9048         (gst_ghost_pad_suite):
9049         Some more tests for creating and linking untargeted ghostpads.
9050
9051 2006-08-31  Edward Hervey  <edward@fluendo.com>
9052
9053         * docs/gst/gstreamer-sections.txt:
9054         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
9055         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
9056         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
9057         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
9058         (gst_ghost_pad_new_from_template),
9059         (gst_ghost_pad_new_no_target_from_template):
9060         * gst/gstghostpad.h:
9061         Refactored *_new() functions.
9062         Templates are now used as a g_object_new() parameter.
9063         Use template in _do_getcaps() if we don't have a target.
9064         Small documentation cleanups.
9065         Added two new constructors:
9066         gst_ghost_pad_new_from_template()
9067         gst_ghost_pad_new_no_target_from_template()
9068         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9069         (gst_ghost_pad_suite):
9070         Added tests for new ghostpad instanciation functions.
9071
9072         API additions: gst_ghost_pad_new_from_template,
9073         gst_ghost_pad_new_no_target_from_template
9074
9075 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
9076
9077         * docs/random/ensonic/profiling.txt:
9078           Ideas about qos profiling.
9079
9080 2006-08-29  Wim Taymans  <wim@fluendo.com>
9081
9082         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
9083         Code cleanups.
9084         Fix memleak.
9085
9086 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
9087
9088         * gst/gstxml.c:
9089           Improve and detypofy docs.
9090
9091         * tests/check/Makefile.am:
9092         * tests/check/gst/.cvsignore:
9093         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
9094           Add a basic test suite for GstXML.
9095
9096 2006-08-29  Wim Taymans  <wim@fluendo.com>
9097
9098         * gst/gstelement.c: (activate_pads), (clear_caps),
9099         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
9100         Clear the pad caps when the element shut down all of the pads and
9101         is not streaming data that could modify the caps. 
9102         Fixes #352958.
9103
9104 2006-08-28  Michael Smith  <msmith@fluendo.com>
9105
9106         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9107           Revert previous change; I misunderstood single-segment mode.
9108
9109 2006-08-28  Michael Smith  <msmith@fluendo.com>
9110
9111         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9112           Unset DISCONT on buffers when using single-segment mode.
9113
9114 2006-08-28  Wim Taymans  <wim@fluendo.com>
9115
9116         * gst/gstcaps.c: (gst_caps_merge_structure):
9117         * gst/gstcaps.h:
9118         Fix docs and indentation again.
9119
9120         * tests/check/gst/gstquery.c: (GST_START_TEST):
9121         Fix leak in tests and add some more tests.
9122
9123 2006-08-28  Edward Hervey  <edward@fluendo.com>
9124
9125         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9126         Inform GstSegment of the last stop position in order for the current
9127         segment to have a proper duration if it doesn't have a specific stop
9128         position from which a duration could be calculated.
9129         This bug was noticeable when a non-flushing, non-update new segment was
9130         followed by another segment (all buffers from the new segment were being
9131         dropped).
9132
9133 2006-08-28  Wim Taymans  <wim@fluendo.com>
9134
9135         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9136         Small comment update.
9137
9138         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9139         (gst_identity_transform_ip):
9140         Drop-probability is broken, mention this in the code with a 
9141         FIXME and also in the property description.
9142         Make silent also be silent about the drop messages.
9143
9144 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
9145
9146         * docs/manual/appendix-win32.xml:
9147           Remove mention of popt, we don't depend on that any
9148           longer (#353136). Add some comments pointing out that
9149           this section is slightly outdated.
9150
9151 2006-08-28  Wim Taymans  <wim@fluendo.com>
9152
9153         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
9154
9155         * gst/gstquery.c: (gst_query_new_segment):
9156         * tests/check/gst/gstquery.c: (GST_START_TEST):
9157         Initialize variables when creating a new segment query.
9158         Fixes #353121.
9159
9160 2006-08-28  Wim Taymans  <wim@fluendo.com>
9161
9162         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
9163
9164         * gst/gstelement.c: (gst_element_get_bus):
9165         * tests/check/gst/gstelement.c: (GST_START_TEST):
9166         Check for NULL before _reffing the bus. Fixes #353122.
9167
9168 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
9169
9170         * docs/manual/basics-bus.xml:
9171           Docs update: fix wrong callback return value explanation; add
9172           some lines about the implicit relationship between main loop
9173           and main context; remove duplicate main loop variable declaration.
9174
9175 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
9176
9177         * tests/check/gst/gstcaps.c: (GST_START_TEST):
9178           Don't leak caps in unit test; add a few more simple
9179           checks. 
9180
9181 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
9182
9183         * docs/gst/gstreamer-sections.txt:
9184         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
9185         (gst_caps_structure_is_subset), (gst_caps_merge),
9186         (gst_caps_merge_structure):
9187         * gst/gstcaps.h:
9188         * libs/gst/base/gstbasetransform.c:
9189         (gst_base_transform_transform_caps):
9190         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
9191           implement caps merging (fixes #352580)
9192
9193 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
9194
9195         * tools/Makefile.am:
9196         * tools/gst-plot-timeline.py:
9197           add debug-log plotting developer tool (#340674)
9198
9199 2006-08-23  Wim Taymans  <wim@fluendo.com>
9200
9201         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
9202         (gst_pad_stop_task):
9203         Improve debugging for task functions.
9204
9205         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
9206         (gst_task_start), (gst_task_pause), (gst_task_join):
9207         Make sure that the task function started and finished after a 
9208         join(). 
9209         Don't try to push the task function on the threadpool multiple
9210         times.
9211         Improve the g_warning message with some useful suggestions
9212         about how to fix the problem. 
9213
9214 2006-08-23  Wim Taymans  <wim@fluendo.com>
9215
9216         * gst/gstutils.c: (gst_pad_proxy_getcaps):
9217         Handle RESYNC correctly in _proxy_getcaps.
9218
9219 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
9220
9221         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
9222         (gst_xml_parse_memory), (gst_xml_get_element):
9223           Chain up to parent class in dispose function and also
9224           unref the elements in the toplevel_elements GList.
9225           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
9226           Always return a reference in gst_xml_get_element() rather
9227           than only sometimes.
9228
9229         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
9230           Don't leak GstXml object.
9231
9232 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
9233
9234         * docs/gst/gstreamer-sections.txt:
9235         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
9236         (gst_caps_merge):
9237         * gst/gstcaps.h:
9238         * libs/gst/base/gstbasetransform.c:
9239         (gst_base_transform_transform_caps):
9240           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
9241           in a better way
9242
9243 2006-08-21  Edward Hervey  <edward@fluendo.com>
9244
9245         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
9246         Implement GObject::dispose virtual method in GstXML so we can free the
9247         top_elements GList.
9248
9249 2006-08-21  Wim Taymans  <wim@fluendo.com>
9250
9251         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
9252         (gst_buffer_create_sub):
9253         Copy duration/offset_end/caps when creating a subbuffer of the
9254         complete parent.
9255         Make the subbuffer read-only when we make the metadata writable for
9256         now. Fixes #351768.
9257
9258         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9259         Added check for metadata copy when creating subbuffers.
9260
9261 2006-08-21  Edward Hervey  <edward@fluendo.com>
9262
9263         * libs/gst/base/gstbasetransform.c:
9264         (gst_base_transform_buffer_alloc):
9265         Only call downstream buffer_alloc if transform element is passthrough
9266         or always_in_place. Closes #350449.
9267
9268 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
9269
9270         * ChangeLog:
9271           ChangeLog surgery to add comments to previous changes
9272
9273 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
9274
9275         * gst/gst.c:
9276           Add comments
9277
9278         * gst/gstpad.c: (gst_pad_set_active):
9279           Be more verbose in the log
9280
9281         * libs/gst/base/gstbasetransform.c:
9282         (gst_base_transform_transform_caps):
9283           Simplify caps to get rid of duplicates, fixes #345444
9284
9285 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
9286
9287         * gst/gstvalue.c:
9288         * gst/gstvalue.h:
9289           Use these optimizations only internally.
9290
9291 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
9292
9293         * gst/gstvalue.c: (gst_value_compare_list),
9294         (gst_value_compare_fraction_range),
9295         (gst_value_intersect_fraction_fraction_range),
9296         (gst_value_intersect_fraction_range_fraction_range),
9297         (gst_value_subtract_fraction_fraction_range),
9298         (gst_value_subtract_fraction_range_fraction_range),
9299         (gst_value_get_compare_func), (gst_value_compare),
9300         (gst_value_compare_with_func):
9301         * gst/gstvalue.h:
9302           Saves the expensive lookup of the compare function in many cases
9303          (#345444)
9304
9305 2006-08-18  Edward Hervey  <edward@fluendo.com>
9306
9307         * tests/check/gst/gstinfo.c: (gst_info_suite):
9308         Disable test that require gstdebug if it wasn't built in core.
9309
9310 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
9311
9312         * docs/random/ensonic/logging.txt:
9313           update ideas
9314           
9315         * gst/gstinfo.c: (gst_debug_log_default):
9316           reorder fields, save some columns, add optional color codes for log
9317           levels
9318
9319 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
9320
9321         * docs/random/ensonic/logging.txt:
9322           add ideas about making the logs a bit more useful
9323
9324 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
9325
9326         * docs/pwg/advanced-events.xml:
9327         * docs/pwg/titlepage.xml:
9328           Update for 0.10 API (#340627). Add myself
9329           to authors list.
9330
9331 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
9332
9333         * docs/libs/gstreamer-libs-docs.sgml:
9334         * docs/libs/gstreamer-libs-sections.txt:
9335         * libs/gst/check/gstbufferstraw.c:
9336           Make gstcheck stuff show up in docs (still needs to
9337           be documented properly though).
9338
9339 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
9340
9341         * docs/gst/gstreamer-sections.txt:
9342         * gst/Makefile.am:
9343         * gst/gst.c: (init_post):
9344         * gst/gst_private.h:
9345         * gst/gstquark.c: (_priv_gst_quarks_initialize):
9346         * gst/gstquark.h:
9347         * gst/gstquery.c: (gst_query_new_position),
9348         (gst_query_set_position), (gst_query_parse_position),
9349         (gst_query_new_duration), (gst_query_set_duration),
9350         (gst_query_parse_duration), (gst_query_new_convert),
9351         (gst_query_set_convert), (gst_query_parse_convert),
9352         (gst_query_new_segment), (gst_query_set_segment),
9353         (gst_query_parse_segment), (gst_query_new_seeking),
9354         (gst_query_set_seeking), (gst_query_parse_seeking):
9355         Add internal helpers for pre-registering quarks from static strings
9356         and using the quark values directly instead of looking them up when
9357         creating and parsing queries. Can be used for event construction too.
9358         Closes #350432.
9359
9360 2006-08-16  Wim Taymans  <wim@fluendo.com>
9361
9362         * gst/gstbin.c:
9363         Fix bogus docs.
9364
9365 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
9366
9367         * gst/gstutils.c: (gst_util_set_value_from_string):
9368           Fix memleak (#351502).
9369
9370         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9371           Add unit test for most of gst_util_set_value_from_string()
9372           (not that one would want to encourage use of this function).
9373
9374 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
9375
9376         * libs/gst/check/gstcheck.h:
9377           Use const gchar * variables in fail_unless_equals_string
9378           macro to avoid compiler warnings (and don't use tabs for
9379           indenting).
9380
9381 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
9382
9383         * tools/gst-launch.c: (print_tag):
9384           More space on the left for the tag names, to cater
9385           for the 'extended comment' tag (not touching the
9386           string for the first line since it's translated).
9387
9388 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
9389
9390         * libs/gst/check/gstcheck.h:
9391           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
9392           print something when they fail.
9393
9394 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
9395
9396         * docs/gst/gstreamer-sections.txt:
9397         * gst/gsttaglist.c: (_gst_tag_initialize):
9398         * gst/gsttaglist.h:
9399           API: add GST_TAG_EXTENDED_COMMENT (#350935).
9400           Also change merge function for GST_TAG_COMMENT to
9401           use_first.
9402
9403 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
9404
9405         * gst/gstinfo.c: (gst_debug_print_object):
9406           Make GST_PTR_FORMAT print messages as well.
9407
9408         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
9409         (GST_START_TEST), (gst_info_suite):
9410           More tests.
9411
9412 2006-08-14  Edward Hervey  <edward@fluendo.com>
9413
9414         * gst/gstelementfactory.c: (gst_element_register):
9415         If the GstElementClass doesn't have a GstElementDetails with all fields
9416         filled up correctly (longname, description AND author), then error out
9417         nicely instead of crashing.
9418
9419 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
9420
9421         * gst/gststructure.c:
9422           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
9423
9424         * gst/gstvalue.h:
9425           Expand on the difference between arrays and lists as we use them.
9426           
9427 2006-08-14  Wim Taymans  <wim@fluendo.com>
9428
9429         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
9430         If the parent state change function failed, don't assume we can safely
9431         stop the source, this will be done when the pads are deactivated.
9432
9433 2006-08-14  Wim Taymans  <wim@fluendo.com>
9434
9435         * gst/gstbuffer.c:
9436         * gst/gsttask.c: (gst_task_join):
9437         Small doc updates.
9438
9439         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9440         (gst_pad_stop_task):
9441         When pad (de)activation failed for some reason, restore the old
9442         activation mode and set the pad to flushing instead of assuming the
9443         pad is deactivated.
9444         If the _task_join() failed, reinstall the task on the pad so that it can
9445         be stopped later and return an error.
9446
9447 2006-08-11  Andy Wingo  <wingo@pobox.com>
9448
9449         * configure.ac:
9450         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
9451         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
9452         is only for users of API that don't want to see deprecated
9453         functions in the headers; people that want to compile out
9454         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
9455         CFLAGS. Fixes the build of multifdsink, or will soon..
9456
9457 2006-08-11  Wim Taymans  <wim@fluendo.com>
9458
9459         * docs/gst/gstreamer-sections.txt:
9460         Add GstClockClass vmethod docs.
9461
9462         * gst/gstcaps.h:
9463         Mark #endif with comment for associated #if
9464
9465         * gst/gstclock.c: (gst_clock_id_wait):
9466         * gst/gstclock.h:
9467         Add vmethod wait_jitter to avoid an unneeded _get_time() for
9468         most clock implementations.
9469         Document vmethods.
9470         Flesh out docs about resolution methods.
9471         API: GstClockClass::wait_jitter
9472
9473         * gst/gstsystemclock.c: (gst_system_clock_class_init),
9474         (gst_system_clock_async_thread),
9475         (gst_system_clock_id_wait_jitter_unlocked),
9476         (gst_system_clock_id_wait_jitter):
9477         Use base class wait_jitter variant for improved performance
9478         due to less clock polling.
9479
9480 2006-08-11  Edward Hervey  <edward@fluendo.com>
9481
9482         * gst/gst.c: (gst_init_check), (init_post):
9483         Set gst as being initialized before scanning/updating the registry,
9484         since there might be my python plugin loader that calls gst_init() and
9485         we don't want to loop back in.
9486         Closes #350879
9487
9488 2006-08-11  Wim Taymans  <wim@fluendo.com>
9489
9490         * docs/design/part-qos.txt:
9491         Bring docs in line with the code. Mostly the sign of the jitter was
9492         wrong in the docs. Fixes #349943.
9493
9494         * gst/gstclock.c:
9495         Fix the docs for the jitter.
9496
9497         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
9498         (gst_event_parse_tag), (gst_event_new_buffer_size),
9499         (gst_event_parse_buffer_size), (gst_event_parse_qos),
9500         (gst_event_new_seek), (gst_event_parse_seek),
9501         (gst_event_new_navigation):
9502         Make sure the GstStructure has no parent when creating custom
9503         events.
9504         Add some more argument checking so that we avoid 0.0 rates.
9505         Flesh out the docs for the QoS event some more.
9506
9507 2006-08-11  Wim Taymans  <wim@fluendo.com>
9508
9509         * docs/gst/gstreamer-sections.txt:
9510         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9511         (ensure_current_registry_forking), (ensure_current_registry),
9512         (parse_one_option), (parse_goption_arg), (gst_deinit),
9513         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
9514         * gst/gst.h:
9515         Doc updates.
9516         Added API and command line option to disable registry forking in
9517         addition to the environment variable.
9518         Constify some static arrays.
9519         Added some more debug.
9520         Don't deinit twice.
9521         API: gst_registry_fork_is_enabled()
9522         API: gst_registry_fork_set_enabled()
9523         API: --gst-disable-registry-fork command line option
9524         Fixes #348918.
9525
9526 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
9527
9528         * gst/gst.c: (gst_init):
9529           Fix typo in error message.
9530
9531 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
9532
9533         * libs/gst/controller/gstcontroller.h:
9534           fix ABI size-correction
9535
9536         * tests/check/libs/gdp.c: (gst_dp_suite):
9537           make tests that use deprecated API conditional
9538
9539 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
9540
9541         * docs/libs/gstreamer-libs-sections.txt:
9542         * libs/gst/controller/gstcontroller.c:
9543         (_gst_controller_get_property), (_gst_controller_set_property),
9544         (_gst_controller_init), (_gst_controller_class_init):
9545         * libs/gst/controller/gstcontroller.h:
9546         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
9547         (gst_object_set_control_rate):
9548           API: add gst_object_{s,g}et_control_rate(), add private data section,
9549           fix docs
9550
9551         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
9552         * libs/gst/dataprotocol/dataprotocol.h:
9553           add deprecation guards to make gtk-doc happy and allow disabling cruft
9554
9555 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
9556
9557         * tests/check/Makefile.am:
9558         * tests/check/gst/.cvsignore:
9559           Let's enable the new unit test as well.
9560
9561 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
9562
9563         * configure.ac:
9564         * docs/gst/gstreamer-sections.txt:
9565         * gst/gstconfig.h.in:
9566         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
9567         (_gst_info_printf_extension_ptr),
9568         (_gst_info_printf_extension_segment):
9569           API: add GST_SEGMENT_FORMAT, which is a printf extension we
9570           register that lets us easily dump GstSegments into debug
9571           logs (#350419).
9572
9573         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
9574         (info_segment_format_printf_extension), (gst_info_suite):
9575           Add simple unit test that logs a bunch of different segments (not
9576           valgrinded at the moment because of leaks in
9577           gst_debug_add_log_function).
9578
9579 2006-08-09  Edward Hervey  <edward@fluendo.com>
9580
9581         * libs/gst/base/gstbasetransform.c:
9582         (gst_base_transform_buffer_alloc):
9583         Even if we can't figure out the proper format to request downstream,
9584         call buffer_alloc() downstream with the input parameters without setting
9585         the caps on the srcpad. This will force negotiation in the chain
9586         function.
9587         Closes #350449
9588
9589 2006-08-08  Edward Hervey  <edward@fluendo.com>
9590
9591         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
9592         Unlinking from a pad without a target is now a perfectly valid case
9593         which should NOT raise an assertion.
9594         This case would happen if a linked ghostpad its target set to NULL after
9595         it was previously linked.
9596
9597 2006-08-08  Edward Hervey  <edward@fluendo.com>
9598
9599         * tests/check/libs/gdp.c:
9600         Also comment out the test (see below).
9601
9602 2006-08-08  Edward Hervey  <edward@fluendo.com>
9603
9604         * tests/check/libs/gdp.c: (gst_dp_suite):
9605         Use the architecture information from config.h and not gcc macros
9606         in order to properly disable a test that fails on PPC64.
9607
9608 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
9609
9610         * gst/gstelement.c: (gst_element_remove_pad):
9611           Don't crash printing the warning if the pad has no parent.
9612
9613 2006-08-02  Wim Taymans  <wim@fluendo.com>
9614
9615         * libs/gst/dataprotocol/dataprotocol.c:
9616         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
9617         (gst_dp_crc), (gst_dp_header_payload_length),
9618         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
9619         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
9620         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
9621         (gst_dp_event_from_packet), (gst_dp_validate_header),
9622         (gst_dp_validate_payload):
9623         Make debug category static
9624         Constify the crc table.
9625         Do some more arg checking in public functions.
9626         Fix some docs and do some small cleanups.
9627
9628         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
9629         Add some more checks to see if GDP deals with bogus input.
9630
9631 2006-07-31  Wim Taymans  <wim@fluendo.com>
9632
9633         * gst/gstvalue.c: (gst_value_compare_list):
9634         Fix GstValueList comparison code. Fixes #347293.
9635
9636         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9637         Check to test GstValueList comparison.
9638
9639 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
9640
9641         * gst/gstelementfactory.c: (gst_element_factory_create):
9642         Remove unnecessary ref/unref pair
9643
9644         * gst/parse/grammar.y:
9645         Make sure to free the parse buffer on all code paths.
9646         Move a g_free up to the error handler where it's easier to see.
9647
9648         * tests/check/gst/gstevent.c: (test_event):
9649         Extending timeout for downstream travelling events to 10 seconds to
9650         hopefully avoid intermittent failure on the buildbots.
9651
9652         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
9653         Don't manually set the state of the src element - it will happen as a
9654         natural consequence of the pipeline changing state, and that way it
9655         will do it in the right order too.
9656
9657 2006-07-31  Wim Taymans  <wim@fluendo.com>
9658
9659         * libs/gst/base/gstbasetransform.c:
9660         (gst_base_transform_buffer_alloc):
9661         Use OBJECT_LOCK and refcounting to get the pad caps in the
9662         buffer_alloc function because the caps could change while we are
9663         busy with them. Fixes #349105
9664
9665 2006-07-31  Wim Taymans  <wim@fluendo.com>
9666
9667         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
9668         Protect _PAD_CAPS with OBJECT_LOCK.
9669
9670 2006-07-31  Wim Taymans  <wim@fluendo.com>
9671
9672         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
9673         (gst_pad_get_property), (gst_pad_activate_pull),
9674         (gst_pad_activate_push), (gst_pad_set_blocked_async),
9675         (gst_pad_set_activate_function),
9676         (gst_pad_set_activatepull_function),
9677         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
9678         (gst_pad_set_getrange_function),
9679         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
9680         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9681         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
9682         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
9683         (gst_pad_set_acceptcaps_function),
9684         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9685         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
9686         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
9687         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
9688         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
9689         (gst_pad_configure_sink), (gst_pad_configure_src),
9690         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
9691         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
9692         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
9693         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
9694         (gst_pad_send_event):
9695         Use _DEBUG_OBJECT when it makes sense.
9696         Protect GST_PAD_CAPS with the OBJECT_LOCK.
9697         Small cleanups and code reflows.
9698         Avoid caps refcounting in _accept_caps.
9699         Refactor alloc_buffer so that the code performed on the peer is in a
9700         separate function. Also if the pad does not implement a buffer alloc
9701         function, we should still check if the pad is flushing before falling
9702         back to the default allocator.
9703
9704 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
9705
9706         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9707         Make all uses of identity and fakesink have silent=true to avoid
9708         serialising every passing data structure, which is breaking tests
9709         on FC4 for some unknown reason.
9710
9711 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
9712
9713         * gst/parse/Makefile.am:
9714         * gst/parse/grammar.y:
9715         * gst/parse/parse.l:
9716           Reverted previous patch as it required to bump the flex dependency to
9717           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
9718
9719 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
9720
9721         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
9722
9723         * gst/parse/Makefile.am:
9724         * gst/parse/grammar.y:
9725         * gst/parse/parse.l:
9726           push & pop the state of the lexer for reentrant use case
9727           Fixes #349180
9728
9729 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
9730
9731         * libs/gst/base/gstbasesrc.h:
9732           Note in the docs that the ::newsegment vfunc is not actually used by
9733           GstBaseSrc.
9734
9735 2006-07-28  Wim Taymans  <wim@fluendo.com>
9736
9737         * libs/gst/base/gstcollectpads.c:
9738         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
9739         (gst_collect_pads_clear), (gst_collect_pads_flush),
9740         (gst_collect_pads_event), (gst_collect_pads_chain):
9741         When flushing a pad, also clear the queued buffer so that we don't
9742         accidentally use it when we shouldn't.
9743         Fix leaks by inreffing incomming buffer.
9744         Flush out queued buffers in case of errors.
9745         Fixes #347452.
9746
9747 2006-07-28  Wim Taymans  <wim@fluendo.com>
9748
9749         * docs/random/phonon-gst:
9750         Random notes about a Phonon backend.
9751
9752 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
9753
9754         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9755         Extra debug output
9756         * tests/check/libs/gdp.c: (gst_dp_suite):
9757         Take a whack at fixing the ppc compile using a different define to
9758         disable the broken test.
9759
9760         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9761         Remove excess g_print()
9762
9763 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
9764
9765         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
9766         Oops, meant to uncomment this line too to dampen the noise a bit.
9767
9768 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
9769
9770         * gst/parse/grammar.y:
9771         * gst/parse/parse.l:
9772         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
9773         (GST_START_TEST), (parse_suite):
9774         Fix some of the leaks exposed by extending the parse-launch testsuite,
9775         and move the 3 I can't figure out into a separate test that won't run
9776         the pipelines unless the appropriate line is uncommented.
9777
9778 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
9779
9780         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9781           Requesting 0 bytes before the end of the file should result in
9782           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
9783           unit test.
9784
9785 2006-07-27  Wim Taymans  <wim@fluendo.com>
9786
9787         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
9788         Fix useless assert, a uint is always positive.
9789
9790         * gst/gststructure.c: (gst_structure_nth_field_name),
9791         (gst_structure_foreach), (gst_structure_map_in_place):
9792         Check input arguments for public functions to avoid obvious crashes.
9793
9794         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
9795         * plugins/elements/gstfakesink.h:
9796         Do less useless typechecking.
9797
9798 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
9799
9800         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9801           Do not use mmap() by default since there are a number of error
9802           conditions that we would like to handle in a non-fatal way that
9803           will result in a SIGBUS if we use mmap(). Examples: external
9804           devices (USB harddrive, portable music player) being unplugged
9805           while in use; file on mounted CD/DVD that can't be read because
9806           the medium is partly damaged. Fixes #348455 and #348475.
9807
9808 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
9809
9810         * gst/gstquery.h:
9811         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
9812         rates are a gdouble
9813
9814 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
9815
9816         * gst/gstregistry.c:
9817           Move big documentation comment into class section header, so that it
9818           appears in the API docs.
9819
9820 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
9821
9822         * docs/gst/gstreamer-sections.txt:
9823         Oops. Commit the docs additions too for new API.
9824         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
9825
9826 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
9827
9828         * gst/gststructure.c: (gst_structure_id_set),
9829         (gst_structure_id_set_valist):
9830         * gst/gststructure.h:
9831         Add API for setting values into structures without performing
9832         a quark lookup, if the appropriate quark is already known.
9833
9834         API: gst_structure_id_set
9835         API: gst_structure_id_set_valist
9836
9837         * gst/parse/grammar.y:
9838         * gst/parse/parse.l:
9839         Remove some dead code shown by the coverage information.
9840         Don't throw a critical g_warning when encountering a syntax error,
9841         just warn and let the normal error path handle it.
9842
9843         * plugins/elements/gstelements.c:
9844         Bump the rank of filesink up to PRIMARY so that it is preferred over
9845         gnomevfssink for file:// sink uri's
9846
9847         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
9848         (GST_START_TEST), (run_delayed_test),
9849         (gst_parse_test_element_base_init),
9850         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
9851         (gst_parse_test_element_change_state),
9852         (gst_register_parse_element), (parse_suite):
9853         Beef up the tests for parse syntax to check that more error cases
9854         fail as they are supposed to. Increases the test coverage a bit.
9855
9856 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
9857
9858         * docs/manual/basics-elements.xml:
9859           Fix gst_element_link() example.
9860
9861         * gst/gstutils.c:
9862           Mention in API docs that one should usually gst_bin_add()
9863           elements to a bin or pipeline before doing the linking.
9864           
9865 2006-07-26  Wim Taymans  <wim@fluendo.com>
9866
9867         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
9868         (gst_subbuffer_get_type), (gst_buffer_create_sub):
9869         Avoid function call for known types by keeping the buffer and
9870         subbuffer GType global.
9871
9872         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9873         Random silly optimisations in read() path.
9874
9875 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
9876
9877         * tools/gst-launch.c: (main):
9878           If the top-level of the parse is a normal bin, it doesn't do the
9879           right logic to run as a top-level element, so place it inside a
9880           pipeline.
9881
9882 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
9883
9884         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
9885           Remove superfluous g_object_notify() calls, GObject does
9886           that for us automatically.
9887
9888 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
9889
9890         * gst/gstinfo.h:
9891           on Win32, use dllspec to export the debug category symbols
9892
9893 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
9894
9895         * gst/gsttaglist.c: (_gst_tag_initialize):
9896           Allow more than one GST_TAG_IMAGE per taglist.
9897
9898 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9899
9900         * gst/gstminiobject.c:
9901           update docs
9902         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
9903         (gst_fd_src_create):
9904           log recurring events at LOG level
9905           add more debug for when the fd gets set
9906
9907 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
9908
9909         * gst/gstparse.c: (gst_parse_launch):
9910           Also remove reentrance checks if flex is MT safe (#348179)
9911          Fix my empty ChangeLog entry below
9912
9913 2006-07-21  Andy Wingo  <wingo@pobox.com>
9914
9915         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
9916
9917         * libs/gst/check/Makefile.am
9918         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
9919         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
9920         * libs/gst/check/gstbufferstraw.h:
9921         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
9922         functions, thus proving I am still a GStreamer haxor. OK I wrote
9923         them a long time ago, but anyways.
9924
9925 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
9926
9927         * configure.ac:
9928         * gst/gstparse.c: (gst_parse_launch):
9929           Check for flex version and omit mutex if we have a MT save flex
9930           (fixes #348179)
9931
9932 2006-07-21  Wim Taymans  <wim@fluendo.com>
9933
9934         * gst/gstparse.c: (gst_parse_launch):
9935         Protect recursive calls to _parse with a recursive mutex
9936         and busy flag.
9937
9938 2006-07-21  Wim Taymans  <wim@fluendo.com>
9939
9940         * tests/check/gst/gstpad.c: (GST_START_TEST):
9941         Fix leak in test.
9942
9943 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
9944
9945         * gst/gstparse.c: (gst_parse_launch):
9946           Do not hang on recursive usage of gst_parse_launch()
9947
9948 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
9949
9950         * gst/gsttaglist.c:
9951           Add some more docs, comments and FIXME 0.11s here and there
9952           and also fix some typos.
9953
9954 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
9955
9956         * gst/gstsegment.h:
9957           Convert tabs to spaces for better readability. 
9958
9959 2006-07-20  Edward Hervey  <edward@fluendo.com>
9960
9961         * tests/check/libs/gdp.c: (gst_dp_suite):
9962         the test_buffer test fails at line 140 on ppc64 at the following
9963         check:
9964         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
9965                 GST_BUFFER_FLAG_IN_CAPS),
9966                 "GST_BUFFER_IN_CAPS flag should have been copied !");
9967         See bug #348114 for more details.
9968
9969 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
9970
9971         * docs/pwg/advanced-scheduling.xml:
9972         * gst/gstpad.c:
9973           Fix typos (#348000).
9974
9975 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
9976
9977         * docs/pwg/intro-basics.xml:
9978           Fix wrong links (#347927).
9979
9980 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
9981
9982         * gst/gstregistry.h:
9983         * gst/gstregistryxml.c: (load_feature),
9984         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
9985         * win32/common/config.h:
9986           make --disable-index work (#342564)
9987
9988 2006-07-18  Wim Taymans  <wim@fluendo.com>
9989
9990         Patch by: Peter Kjellerstedt <pkj at axis dot com>
9991
9992         * gst/Makefile.am:
9993         * gst/gsttrace.h:
9994         The attached patch adds two missing defines to gsttrace.h when tracing
9995         is disabled.  It also corrects one existing define.
9996         Fixes #347756.
9997
9998 2006-07-17  Wim Taymans  <wim@fluendo.com>
9999
10000         * docs/gst/gstreamer-sections.txt:
10001         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
10002         * gst/gst.h:
10003         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
10004         Add two functions to check and change the SIGSEGV behaviour
10005         when loading plugins.
10006         Don't mess with the SIGSEGV handler when we were told not to.
10007         Fixes #347794.
10008         API: gst_segtrap_is_enabled
10009         API: gst_segtrap_set_enabled
10010
10011 2006-07-14  Wim Taymans  <wim@fluendo.com>
10012
10013         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
10014         * tests/check/elements/filesrc.c: (GST_START_TEST):
10015         Revert fix for regression in #347408 after release.
10016
10017 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
10018
10019         Patch by: Antoine Tremblay <hexa00 at gmail com>
10020
10021         * gst/gstutils.c: (gst_element_unlink):
10022           Free iterator when done (#347311).
10023
10024         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10025           And add a test case for this.
10026
10027 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
10028
10029         * configure.ac:
10030         Bump nano back to CVS
10031
10032 === release 0.10.9 ===
10033
10034 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
10035
10036         * configure.ac:
10037           releasing 0.10.9, "On the road again"
10038
10039 2006-07-13  Wim Taymans  <wim@fluendo.com>
10040
10041         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
10042         * tests/check/elements/filesrc.c: (GST_START_TEST):
10043         Revert pull-0 fix for release. Disable check. Fixes #347408.
10044
10045 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10046
10047         * libs/gst/dataprotocol/dataprotocol.c:
10048         (gst_dp_event_from_packet_1_0):
10049           Fixes #347337: failure to deserialize event packets with
10050           empty payload (only event type)
10051
10052 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10053
10054         * gst/Makefile.am:
10055           do not install a .c file in the header directory
10056
10057 2006-07-13  Edward Hervey  <edward@fluendo.com>
10058
10059         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
10060         GhostPad no longer implicitely use the padtemplates of the targets.
10061         Fixes #347384
10062
10063 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
10064
10065         * gst/gstvalue.c: (gst_value_compare_list),
10066         (gst_value_compare_array), (_gst_value_initialize):
10067         * tests/check/gst/gstvalue.c: (GST_START_TEST):
10068         Make GstValueArray comparison be order dependent as designed.
10069         Add checks for value lists and value array comparisons.
10070         Fixes #347221
10071
10072 2006-07-11  Edward Hervey  <edward@fluendo.com>
10073
10074         * gst/gstbin.c: (activate_pads),
10075         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
10076         (gst_bin_change_state_func):
10077         (de)activate src pads before calling state_change on the childs.
10078         This is to avoid the case where a src ghostpad is blocked (holding the
10079         stream lock), which would block the deactivation of the ghostpad's
10080         target pad.
10081         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
10082         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
10083         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
10084         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
10085         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
10086         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10087         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10088         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
10089         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
10090         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10091         (gst_ghost_pad_class_init),
10092         (gst_ghost_pad_internal_do_activate_push),
10093         (gst_ghost_pad_internal_do_activate_pull),
10094         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10095         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10096         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
10097         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
10098         GhostPads now create their internal GstProxyPad at creation (and not
10099         when they're linked, as it was being done previously).
10100         The internal and target pads are linked straight away.
10101         The data will also travel through the other pad in order to make
10102         pad blocking and probes non-hackish (the probe/block now really happens
10103         on the GhostPad and not on the target).
10104         * gst/gstpad.c: (gst_pad_set_blocked_async),
10105         (gst_pad_link_prepare), (gst_pad_push_event):
10106         Remove previous ghostpad cruft.
10107         * gst/gstutils.c: (gst_pad_add_data_probe),
10108         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10109         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10110         (gst_pad_remove_buffer_probe):
10111         Remove previous ghost pad cruft.
10112         Added more detailed debug statements.
10113         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10114         Fix the testsuite for refcounting changes.
10115         The comments about who has references were correct, but the refcount
10116         being checked wasn't the same (!?!).
10117
10118         Fixes #341029
10119
10120 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
10121
10122         * docs/gst/gstreamer-sections.txt:
10123         * gst/gstconfig.h.in:
10124         More docs for configuration options, add docs to gtk-doc.
10125
10126 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
10127
10128         * gst/Makefile.am:
10129         * gst/gstconfig.h.in:
10130         * win32/common/config.h:
10131         Fix build when disabling tracing (fixes #344016). Also start to document
10132         the defines that disable the sub-systems.
10133
10134 2006-07-10  Edward Hervey  <edward@fluendo.com>
10135
10136         * gst/gst.c: (ensure_current_registry_forking):
10137         let's make valgrind happy...
10138
10139 2006-07-09  Wim Taymans  <wim@fluendo.com>
10140
10141         * gst/gstelement.c: (activate_pads),
10142         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10143         Better pad activation code: Reset the collect value too on resync.
10144         Add some comments.
10145
10146 2006-07-09  Wim Taymans  <wim@fluendo.com>
10147
10148         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
10149         (gst_pad_activate_push):
10150         Use some more macros where it makes sense.
10151         Allow pad mode switching instead of asserting. When a pad
10152         is activated in one mode and we activate it in another, 
10153         deactivate it first before activating it in a different mode.
10154         Fixes #329198.
10155
10156 2006-07-08  Andy Wingo  <wingo@pobox.com>
10157
10158         * tools/gst-launch.c (main): Handle err == NULL.
10159
10160         * gst/gst.c (init_post, ensure_current_registry)
10161         (ensure_current_registry_forking)
10162         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
10163         factoring out the registry scanning into separate functions. Don't
10164         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
10165         Better environment var name/interface suggestions accepted.
10166
10167 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
10168
10169         * gst/gstobject.c: (gst_object_set_name_default),
10170         (gst_object_set_name):
10171           Random micro-optimisation: don't use a hash table
10172           with strings as keys and the usual strdup/strcmp
10173           involved, but rather just use the GQuark of the
10174           type name as key, since it needs to be looked up
10175           anyway to get the type name string.
10176
10177         * tests/check/gst/gstobject.c: (GST_START_TEST):
10178           Fix various leaks.
10179
10180 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
10181
10182         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
10183         (gst_bin_iterate_all_by_interface):
10184           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
10185           GTypes are gulongs and thus the top 4 bytes might be cut
10186           off on some platforms when doing GPOINTER_TO_INT, leading
10187           to invalid GTypes and bad things happening (see RH bug #179654).
10188           Also add a check to make sure the type passed in is really
10189           an interface type.
10190
10191 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
10192
10193         * .cvsignore:
10194           Ignore more.
10195
10196 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
10197
10198         * Makefile.am:
10199         * configure.ac:
10200         * gst-element-check.m4:
10201         * gst-element-check.m4.in:
10202           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
10203           instead of the unversioned gst-inspect (#324176, #168659).
10204
10205 2006-07-06  Wim Taymans  <wim@fluendo.com>
10206
10207         * gst/gstmessage.h:
10208         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
10209         warnings.
10210
10211 2006-07-06  Wim Taymans  <wim@fluendo.com>
10212
10213         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10214         (gst_base_src_wait), (gst_base_src_update_length),
10215         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
10216         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
10217         (gst_base_src_loop), (gst_base_src_start),
10218         (gst_base_src_activate_pull):
10219         Update docs.
10220         blocksize == 0 now means the default blocksize when working in push
10221         based mode.
10222         Remove some pointless asserts in _wait function.
10223         Fix offset/length calculations and EOS handling. We can now pull 0
10224         bytes as well, which is allowed.
10225         use _check_get_range() to decide if we can operate in _pull based
10226         mode.
10227         Fix refcounting leak when check_get_range function was not 
10228         implemented.
10229         API GstBaseSrc::blocksize range can be 0 too now (default)
10230
10231         * tests/check/elements/filesrc.c: (GST_START_TEST),
10232         (filesrc_suite):
10233         Added check to test _get_range() behaviour.
10234
10235 2006-07-06  Wim Taymans  <wim@fluendo.com>
10236
10237         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
10238         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
10239         (gst_pad_pull_range):
10240         * gst/gstpad.h:
10241         Lots of comments and docs added to the pad functions.
10242         Flesh out the expected behaviour of the get_range() functions.
10243
10244 2006-07-06  Wim Taymans  <wim@fluendo.com>
10245
10246         * gst/gstbus.h:
10247         * gst/gstclock.h:
10248         * gst/gstevent.h:
10249         * gst/gstiterator.h:
10250         * gst/gstpad.h:
10251         * gst/gstplugin.h:
10252         * gst/gsttask.h:
10253         Remove comma at end of enumerator list. 
10254
10255 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
10256
10257         * win32/common/libgstbase.def:
10258         * win32/common/libgstdataprotocol.def:
10259         * win32/common/libsgtreamer.def:
10260         Add new exported functions.
10261
10262 2006-07-05  Wim Taymans  <wim@fluendo.com>
10263
10264         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
10265         Add some more docs here and there.
10266
10267 2006-07-05  Wim Taymans  <wim@fluendo.com>
10268
10269         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
10270         (gst_base_sink_loop), (gst_base_sink_get_position):
10271         When operating in pull mode update the offset so that we
10272         read sequentially.
10273
10274 2006-07-05  Wim Taymans  <wim@fluendo.com>
10275
10276         * gst/gstregistryxml.c: (read_string):
10277         Avoid strdup. (will happen in libxml, but hey!)
10278
10279         * gst/gsturi.c:
10280         Add some more docs.
10281
10282 2006-07-05  Wim Taymans  <wim@fluendo.com>
10283
10284         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
10285         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
10286         (gst_buffer_suite):
10287         No point in checking if the size of the subbuffer > 0, the
10288         code handles it correclty as demonstrated by unit test.
10289         Also add a unit test for the zero sized _new_and_alloc and
10290         _copy. Fixes #346663.
10291
10292 2006-07-05  Wim Taymans  <wim@fluendo.com>
10293
10294         * libs/gst/base/gstbasetransform.c:
10295         (gst_base_transform_prepare_output_buffer),
10296         (gst_base_transform_buffer_alloc),
10297         (gst_base_transform_handle_buffer):
10298         Make sure the buffer we pass to transform_ip has a refcount of
10299         1 and thus is writable. Fixes #343196
10300
10301 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
10302
10303         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
10304         (gst_file_src_init), (gst_file_src_set_property),
10305         (gst_file_src_get_property), (gst_file_src_map_region):
10306         * plugins/elements/gstfilesrc.h:
10307         Add "sequential" property, off by default, to use madvise and hint
10308         to the kernel that sequential access is desired.
10309         Touch all retrieved pages by default to ensure they are pulled
10310         into memory. (Closes #345720)
10311
10312 2006-07-03  Wim Taymans  <wim@fluendo.com>
10313
10314         * docs/design/part-block.txt:
10315         * docs/design/part-dynamic.txt:
10316         Small docs updates.
10317
10318 2006-07-03  Wim Taymans  <wim@fluendo.com>
10319
10320         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
10321         (gst_caps_unref), (gst_static_caps_get),
10322         (gst_caps_append_structure):
10323         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
10324         Use GSlice when the glib we build against is >= 2.10
10325
10326 2006-07-03  Wim Taymans  <wim@fluendo.com>
10327
10328         * gst/gstelement.c: (gst_element_pads_activate):
10329         Small cleanup in pad activation code.
10330
10331 2006-07-03  Wim Taymans  <wim@fluendo.com>
10332
10333         Patch by: Peter Kjellerstedt <pkj at axis dot com>
10334
10335         * gst/gst-i18n-app.h:
10336         * gst/gst-i18n-lib.h:
10337         * tools/gst-inspect.c: (print_signal_info):
10338         The attached patch will make the inclusion of gettext.h unconditional in
10339         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
10340         libintl.h in tools/gst-inspect.c.
10341         This allows use of --disable-nls again and fixes #344642.
10342
10343 2006-07-03  Edward Hervey  <edward@fluendo.com>
10344
10345         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
10346         Implement pad blocking on events according to part-block.txt.
10347         More comments on behaviour.
10348         * tests/check/gst/gstevent.c: (test_event):
10349         Send event to peer pad of blocked pad (else it will block).
10350
10351 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10352
10353         * libs/gst/check/gstcheck.c: (gst_check_message_error),
10354         (gst_check_run_suite):
10355           if we get the wrong message, give us the types as string
10356         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10357           Fix a translatable
10358         * tests/check/elements/filesrc.c: (GST_START_TEST):
10359           add a test for trying to open a non-existing file
10360
10361 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10362
10363         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
10364           add a test for adding self
10365
10366 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10367
10368         * libs/gst/check/gstcheck.h:
10369           add some assert_ as alias for fail_unless_*
10370         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
10371           increase test coverage
10372
10373 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10374
10375         * Makefile.am:
10376           include lcov.mak for lcov coverage generation
10377         * tools/Makefile.am:
10378           add to CLEANFILES
10379
10380 2006-07-02  Edward Hervey  <edward@fluendo.com>
10381
10382         * tests/check/elements/.cvsignore:
10383         moaping
10384
10385 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10386
10387         * configure.ac:
10388           don't set CFLAGS and friends for gcov, done from GST_GCOV now
10389         * tests/check/Makefile.am:
10390           clean up gcov files
10391
10392 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10393
10394         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
10395           remove gst_caps_simplify; it was not declared and not used
10396           and deprecated in 0.8
10397
10398 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10399
10400         * docs/faq/gst-uninstalled:
10401           don't put empty paths on PYTHONPATH
10402         * docs/gst/gstreamer-sections.txt:
10403           remove some symbols that are not there
10404
10405 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10406
10407         * gst/gstcaps.c: (gst_caps_compare_structures):
10408           whitespace fixes
10409         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10410         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10411           add more tests
10412
10413 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10414
10415         * libs/gst/dataprotocol/Makefile.am:
10416           build dataprotocol test by linking to the lib, instead of
10417           compiling the source, so we get coverage
10418         * tests/check/Makefile.am:
10419         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
10420         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
10421           add a test for filesrc
10422
10423 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10424
10425         * tests/check/gst/gststructure.c: (GST_START_TEST),
10426         (gst_structure_suite):
10427           Push coverage from 59.04% to 70.00%
10428
10429 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10430
10431         * tests/check/Makefile.am:
10432           gst-inspect every element; this makes sure that we also get
10433           coverage on element's get/set functions
10434
10435 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10436
10437         * configure.ac:
10438           set CFLAGS and friends to -O0 if gcov is being used
10439           add GCOV LIBS
10440         * gst/Makefile.am:
10441         * libs/gst/base/Makefile.am:
10442         * libs/gst/check/Makefile.am:
10443         * libs/gst/controller/Makefile.am:
10444         * libs/gst/dataprotocol/Makefile.am:
10445         * libs/gst/net/Makefile.am:
10446         * plugins/elements/Makefile.am:
10447         * plugins/indexers/Makefile.am:
10448           add makefile rules to generate gcov data and clean up
10449         * tests/check/Makefile.am:
10450           add a coverage target that generates an html overview
10451           of coverage data
10452
10453 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10454
10455         * tests/check/elements/fakesink.c:
10456         * tests/check/elements/fakesrc.c:
10457         * tests/check/elements/fdsrc.c:
10458         * tests/check/elements/identity.c:
10459         * tests/check/generic/sinks.c: (gst_sinks_suite):
10460         * tests/check/generic/states.c:
10461         * tests/check/gst/gst.c:
10462         * tests/check/gst/gstabi.c:
10463         * tests/check/gst/gstbin.c:
10464         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
10465         * tests/check/gst/gstbus.c: (gst_bus_suite):
10466         * tests/check/gst/gstcaps.c: (GST_START_TEST):
10467         * tests/check/gst/gstelement.c:
10468         * tests/check/gst/gstevent.c: (gst_event_suite):
10469         * tests/check/gst/gstghostpad.c:
10470         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
10471         * tests/check/gst/gstmessage.c: (gst_message_suite):
10472         * tests/check/gst/gstminiobject.c:
10473         * tests/check/gst/gstobject.c:
10474         * tests/check/gst/gstpad.c:
10475         * tests/check/gst/gstpipeline.c:
10476         * tests/check/gst/gstplugin.c:
10477         * tests/check/gst/gstquery.c: (gst_query_suite):
10478         * tests/check/gst/gstsegment.c: (gst_segment_suite):
10479         * tests/check/gst/gststructure.c:
10480         * tests/check/gst/gstsystemclock.c:
10481         * tests/check/gst/gsttag.c:
10482         * tests/check/gst/gsttask.c: (gst_task_suite):
10483         * tests/check/gst/gstutils.c:
10484         * tests/check/gst/gstvalue.c:
10485         * tests/check/libs/adapter.c:
10486         * tests/check/libs/basesrc.c:
10487         * tests/check/libs/collectpads.c:
10488         * tests/check/libs/controller.c:
10489         * tests/check/libs/gdp.c: (gst_dp_suite):
10490         * tests/check/libs/gstnetclientclock.c:
10491         * tests/check/libs/gstnettimeprovider.c:
10492         * tests/check/libs/libsabi.c: (libsabi_suite):
10493         * tests/check/libs/typefindhelper.c:
10494         * tests/check/pipelines/cleanup.c:
10495         * tests/check/pipelines/parse-launch.c:
10496         * tests/check/pipelines/simple-launch-lines.c:
10497         * tests/check/pipelines/stress.c: (stress_suite):
10498           use the new macro
10499
10500 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10501
10502         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
10503         * libs/gst/check/gstcheck.h:
10504           create a macro and function so that the simple unit test
10505           case can be just one macro to create main()
10506
10507 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
10508
10509         * gst/gstbin.c: (gst_bin_restore_thyself):
10510         * gst/gstxml.c: (gst_xml_make_element):
10511           Fix deserialisation from XML. Set parent manually
10512           instead of using gst_bin_add(), since gst_bin_add()
10513           will unlink all pads of the element being added.
10514           Fixes #341667.
10515
10516 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
10517
10518         Patch by: Peter Kjellerstedt <pkj at axis com>
10519
10520         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
10521           Fix missing g_strdup() and double free when using the
10522           --gst-plugin-load command line option (#346097).
10523
10524 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
10525
10526         * gst/gstinfo.c:
10527           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
10528
10529         * libs/gst/net/gstnetclientclock.c:
10530         * libs/gst/net/gstnettimeprovider.c:
10531           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
10532
10533 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
10534
10535         * docs/manual/advanced-dataaccess.xml:
10536           Fix buffer probe example compilation in
10537           ADM (#345708).
10538         
10539 2006-06-22  Edward Hervey  <edward@fluendo.com>
10540
10541         * gst/gstelement.c: (gst_element_pads_activate):
10542         We need to deactivate src pads first and then sink pads.
10543         The reason is the src pads might be blocking while holding the streaming
10544         lock, so we need to deactivate them first so that deactivating the sink
10545         pads doesn't block (since it will require the streaming lock).
10546
10547 2006-06-22  Wim Taymans  <wim@fluendo.com>
10548
10549         * libs/gst/base/gstbasetransform.c:
10550         (gst_base_transform_buffer_alloc):
10551         Forgot to remove two unneeded unrefs.
10552         Simplify a check _is_equal allready checks the obvious case.
10553
10554 2006-06-22  Wim Taymans  <wim@fluendo.com>
10555
10556         * docs/design/part-block.txt:
10557         Some docs about what pad_block should do.
10558
10559 2006-06-22  Wim Taymans  <wim@fluendo.com>
10560
10561         * gst/gstcaps.c: (gst_caps_replace):
10562         Fix crasher when passed NULL. Doc clarification.
10563         Optimize for the trivial case.
10564
10565         * gst/gstpipeline.c: (gst_pipeline_change_state):
10566         Small cleanups.
10567
10568         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10569         Small documentation cleanup.
10570
10571         * libs/gst/base/gstbasetransform.c:
10572         (gst_base_transform_buffer_alloc):
10573         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
10574         is what we need and it avoids a whole lot of redundant 
10575         refcount operations.
10576
10577 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
10578
10579         Patch by: Philip Jägenstedt  <philip at lysator liu se>
10580
10581         * docs/manual/advanced-dataaccess.xml:
10582           Fix 'Embedding static elements' section to use
10583           GST_PLUGIN_DEFINE_STATIC (#345607).
10584
10585 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
10586
10587         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
10588           Attempt to 'fix' spuriously failing test case: it seems like the
10589           timeout of half a second is simply too small when the system is under
10590           load otherwise, and the timeout doesn't really seem to serve any
10591           particular purpose here. Give the pipeline a few seconds to preroll
10592           first, and then give it another half a second to go from PAUSED to
10593           PLAYING and marshal the message into the main thread.
10594
10595 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
10596
10597         * tools/gst-feedback-m.m:
10598           Don't only use unversioned tools, try versioned tools as well
10599           (#345086).
10600
10601 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
10602
10603         * gst/gstbus.c: (gst_bus_class_init):
10604           Fix some typos, make docs more explicit.
10605
10606 2006-06-20  Wim Taymans  <wim@fluendo.com>
10607
10608         * tests/check/gst/gstghostpad.c: (block_callback),
10609         (GST_START_TEST), (gst_ghost_pad_suite):
10610         Added some more ghostpad tests, mainly blocking
10611         and probes.
10612
10613 2006-06-16  Wim Taymans  <wim@fluendo.com>
10614
10615         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10616         (gst_file_sink_close_file), (gst_file_sink_do_seek),
10617         (gst_file_sink_event), (gst_file_sink_render):
10618         * plugins/elements/gstfilesink.h:
10619         Check if we can seek in the file instead of assuming
10620         we always can. Post an error when we are asked to seek in a
10621         non-seekable file (like a fifo). Fixes #343312.
10622         Some cleanups.
10623
10624 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
10625
10626         * tools/gst-launch.1.in:
10627           Un-garble (fourcc) bit in filtered caps section.
10628
10629 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
10630
10631         * docs/manual/advanced-autoplugging.xml:
10632         * docs/manual/basics-helloworld.xml:
10633         * docs/manual/highlevel-components.xml:
10634           Don't leak bus reference in sample code.
10635
10636 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
10637
10638         * autogen.sh:
10639           Add default for new --enable-plugin-docs switch.
10640
10641         * configure.ac:
10642           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
10643           Fixes #344039.
10644
10645         * docs/Makefile.am:
10646           Use new ENABLE_PLUGIN_DOCS conditional.
10647
10648 2006-06-14  Wim Taymans  <wim@fluendo.com>
10649
10650         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
10651         Make it clear with a FIXME and a real define what the #if 0
10652         previously disabled.
10653
10654 2006-06-14  Wim Taymans  <wim@fluendo.com>
10655
10656         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10657         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
10658         * libs/gst/base/gstbasetransform.c:
10659         (gst_base_transform_sink_eventfunc):
10660         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10661         Don't randomly and silently reset a segment when the format 
10662         changes as this is a bug somewhere upstream. Fixes #330379.
10663
10664 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
10665
10666         Patch by: Wouter Paesen  <wouter at kangaroot net>
10667
10668         * libs/gst/controller/gstcontroller.c:
10669         (gst_controlled_property_new):
10670           Fix controlling of float properties (#344849).
10671
10672         * tests/check/libs/controller.c:
10673         (gst_test_mono_source_get_property),
10674         (gst_test_mono_source_set_property),
10675         (gst_test_mono_source_class_init), (GST_START_TEST):
10676           While we're at it, add some float stuff to unit test.
10677
10678 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10679
10680         * docs/README:
10681         * docs/images/gdp-header.svg:
10682           add a gdp image
10683         * docs/libs/Makefile.am:
10684         * docs/libs/gdp-header.png:
10685         * libs/gst/dataprotocol/dataprotocol.c:
10686           add it to the API docs
10687         * docs/manual/intro-motivation.xml:
10688           fix typo
10689
10690 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
10691
10692         * gst/gst.c: (scan_and_update_registry), (init_post):
10693           If the fork()'ed child process can't write the updated registry cache
10694           file to disk for some reason, make it exit with a failure exit code,
10695           so that the parent can then re-scan the plugins itself and update the
10696           registry structures in memory and work with that (rather than failing
10697           when creating elements because seemingly no plugins are available).
10698           Refactor registry scanning code into separate function for this and
10699           also separate fork() and non-fork() code paths. Fixes #344748.
10700
10701 2006-06-13  Wim Taymans  <wim@fluendo.com>
10702
10703         * docs/manual/advanced-dataaccess.xml:
10704         Fix wrong PluginDesc. Fixes #344755.
10705
10706 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
10707
10708         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
10709           Fix silly bug that prevented us from creating
10710           ~/.gstreamer-0.10 and writing the registry in one
10711           go (the first call to g_mkstemp() would overwrite the
10712           placeholder in the template string, so the second call
10713           to g_mkstemp() after creating the missing directory
10714           would then error out with 'invalid argument').
10715
10716 2006-06-13  Edward Hervey  <edward@fluendo.com>
10717
10718         * gst/gst.c: (init_post):
10719         Free string.
10720
10721 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10722
10723         * gst/glib-compat-private.h:
10724         * gst/glib-compat.c:
10725         * gst/glib-compat.h:
10726         * gst/gstvalue.c: (gst_value_serialize_flags):
10727           remove GLib 2.6 compatibility code
10728
10729 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
10730
10731         * gst/parse/Makefile.am:
10732           Fix build with 'make -j N' even more (#340016).
10733
10734 2006-06-12  Wim Taymans  <wim@fluendo.com>
10735
10736         * docs/gst/gstreamer-sections.txt:
10737         Fix docs.
10738
10739 2006-06-12  Wim Taymans  <wim@fluendo.com>
10740
10741         * gst/gstsegment.c: (gst_segment_set_duration),
10742         (gst_segment_set_last_stop), (gst_segment_set_seek),
10743         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
10744         (gst_segment_to_running_time), (gst_segment_clip):
10745         Use G_UNLIKELY to help the compiler a bit.
10746
10747 2006-06-12  Wim Taymans  <wim@fluendo.com>
10748
10749         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10750
10751         * gst/gstevent.c: (gst_event_get_type):
10752         * gst/gstmessage.c:
10753         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
10754         (gst_pad_push):
10755         constify quark registration strings. Fixes #344115
10756         Avoid unneeded type checking is _pad_push() by internally
10757         calling gst_pad_chain_unchecked().
10758
10759 2006-06-12  Wim Taymans  <wim@fluendo.com>
10760
10761         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
10762         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
10763         (gst_subbuffer_finalize), (gst_buffer_create_sub),
10764         (gst_buffer_is_span_fast), (gst_buffer_span):
10765         Init _type for consistency.
10766         Use _FLAGS macro to avoid type check.
10767         Avoid unneeded type checks in subbufer code.
10768
10769 2006-06-12  Wim Taymans  <wim@fluendo.com>
10770
10771         * gst/gst.c: (gst_debug_help):
10772         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
10773         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
10774         (gst_plugin_feature_list_free):
10775         * gst/gstregistry.c: (gst_registry_add_plugin),
10776         (gst_registry_add_feature), (gst_registry_plugin_filter),
10777         (gst_registry_feature_filter), (gst_registry_find_plugin),
10778         (gst_registry_find_feature), (gst_registry_get_plugin_list),
10779         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
10780         * gst/gstregistryxml.c: (load_feature),
10781         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
10782         * gst/gstminiobject.c: (gst_mini_object_unref),
10783         (gst_mini_object_replace), (gst_value_mini_object_free),
10784         (gst_value_mini_object_copy):
10785         Use _CAST macros to avoid unneeded type checking.
10786         Added some more G_UNLIKELY.
10787
10788 2006-06-12  Wim Taymans  <wim@fluendo.com>
10789
10790         * gst/gstbuffer.h:
10791         Avoid unneeded type checking.
10792         API: GST_BUFFER_IS_DISCONT
10793
10794         * gst/gstminiobject.h:
10795         Avoid type check in flag accessor.
10796
10797         * gst/gstelementfactory.h:
10798         * gst/gstplugin.h:
10799         * gst/gstpluginfeature.h:
10800         Add _CAST macros.
10801         API: GST_ELEMENT_FACTORY_CAST
10802         API: GST_PLUGIN_CAST
10803         API: GST_PLUGIN_FEATURE_CAST
10804
10805 2006-06-12  Wim Taymans  <wim@fluendo.com>
10806
10807         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
10808         (gst_object_unref):
10809         Add G_UNLIKELY in type registration.
10810         Avoid type check in _ref/_unref since that is also
10811         done in glib.
10812
10813 2006-06-12  Wim Taymans  <wim@fluendo.com>
10814
10815         * gst/gsterror.c: (gst_g_error_get_type):
10816         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
10817         (gst_static_pad_template_get_type):
10818         * gst/gsttaglist.c: (gst_tag_list_get_type):
10819         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
10820         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
10821         * gst/gsturi.c: (gst_uri_handler_get_type):
10822         * gst/gstvalue.c: (gst_date_get_type):
10823         * gst/gstxml.c: (gst_xml_get_type):
10824         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
10825         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
10826         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
10827         Add G_UNLIKELY in type registration.
10828
10829 2006-06-12  Wim Taymans  <wim@fluendo.com>
10830
10831         * tools/gst-inspect.c: (print_signal_info):
10832         Properly print enum values.
10833
10834 2006-06-12  Wim Taymans  <wim@fluendo.com>
10835
10836         * gst/gstinfo.c: (gst_debug_set_active),
10837         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
10838         * gst/gstinfo.h:
10839         Add some G_[UN]LIKELY.
10840         Maintain __gst_debug_min to avoid formatting the arguments of
10841         debug messages that will be dropped anyway to avoid a lot of 
10842         overhead from the debugging system.
10843
10844 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
10845
10846         * po/POTFILES.in:
10847         * po/POTFILES.skip:
10848           add missing files containing translatable strings, tell intltool about
10849           one exception
10850
10851 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
10852
10853         * tests/check/libs/.cvsignore:
10854         add test-binary to ignore list
10855
10856 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
10857
10858         * docs/libs/gstreamer-libs-docs.sgml:
10859         reorder (put dp into a chapter) and indent
10860
10861 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10862
10863         * configure.ac:
10864           back to HEAD
10865
10866 === release 0.10.8 ===
10867
10868 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
10869
10870         * configure.ac:
10871           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
10872
10873 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10874
10875         * gst/gst.c: (init_post):
10876           move pid declaration to declaration block
10877
10878 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10879
10880         * gst/gst.c: (init_post):
10881           use _exit() instead of exit() in our forked child; this ensures
10882           that none of the registered exit handlers from whatever is using
10883           GStreamer get executed.  This fixes gnome-mixer-applet failing
10884           to load, because ORBit would shut down.
10885           Spotted by: Edward Hervey  <edward@fluendo.com>
10886           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
10887           Fixes #344474
10888
10889 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10890
10891         * configure.ac:
10892           back to TRUNK
10893
10894 === release 0.10.7 ===
10895
10896 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
10897
10898         * configure.ac:
10899           releasing 0.10.7, "Soepeke, ik zie ou"
10900
10901 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
10902
10903         * configure.ac:
10904         * po/af.po:
10905         * po/az.po:
10906         * po/bg.po:
10907         * po/ca.po:
10908         * po/cs.po:
10909         * po/de.po:
10910         * po/en_GB.po:
10911         * po/fr.po:
10912         * po/it.po:
10913         * po/nb.po:
10914         * po/nl.po:
10915         * po/ru.po:
10916         * po/sq.po:
10917         * po/sr.po:
10918         * po/sv.po:
10919         * po/tr.po:
10920         * po/uk.po:
10921         * po/vi.po:
10922         * po/zh_CN.po:
10923         * po/zh_TW.po:
10924         * win32/common/config.h:
10925           0.10.6.2 prerelease
10926
10927 2006-06-07  Wim Taymans  <wim@fluendo.com>
10928
10929         * gst/gstindex.c: (gst_index_gtype_resolver):
10930         * tools/gst-xmlinspect.c: (print_plugin_info):
10931         Fix leak spotted by coverity checker. Fixes #343827
10932         Fix another other leak found by paolo borelli.
10933
10934 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10935
10936         * libs/gst/dataprotocol/dataprotocol.c:
10937         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
10938         (gst_dp_version_get_type), (gst_dp_init),
10939         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
10940         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
10941         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
10942         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
10943         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
10944         (gst_dp_packetizer_free):
10945         * libs/gst/dataprotocol/dataprotocol.h:
10946           API: add a GstDPPacketizer object, and create/free functions
10947           API: add GstDPVersion enum
10948           Add 1.0 event function that uses the string serialization
10949           Serialize more useful buffer flags
10950           Fixes #343988
10951
10952 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10953
10954         * tests/check/Makefile.am:
10955         * tests/check/gst/gstabi.c:
10956         * tests/check/gst/struct_ppc64.h:
10957         * tests/check/libs/libsabi.c:
10958         * tests/check/libs/struct_ppc64.h:
10959           add ppc64 structure sizes
10960
10961 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10962
10963         * tests/check/Makefile.am:
10964         * tests/check/gst/gstabi.c:
10965         * tests/check/gst/struct_x86_64.h:
10966         * tests/check/libs/libsabi.c:
10967         * tests/check/libs/struct_x86_64.h:
10968           generate and add structure size lists for x86_64
10969
10970 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10971
10972         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10973         * libs/gst/check/gstcheck.h:
10974           factor out the method from tests that checks size of structures,
10975           and add code to generate the header containing these sizes
10976         * tests/check/gst/gstabi.c: (GST_START_TEST):
10977         * tests/check/gst/struct_i386.h:
10978         * tests/check/libs/libsabi.c: (GST_START_TEST):
10979         * tests/check/libs/struct_i386.h:
10980           use it
10981
10982 2006-06-06  Michael Smith  <msmith@fluendo.com>
10983
10984         * gst/gstsegment.h:
10985           Don't use c++-style comments, fixes #343929
10986
10987 2006-06-05  Edward Hervey  <edward@fluendo.com>
10988
10989         * gst/gst.c:
10990         plugin_paths is not used if we build without registry support.
10991
10992         * gst/gstsegment.c: (gst_segment_copy): 
10993         _copy() was always returning NULL...
10994
10995 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10996
10997         * libs/gst/dataprotocol/dataprotocol.c:
10998         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
10999         (gst_dp_packet_from_event):
11000           factor out CRC code
11001
11002 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11003
11004         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
11005           make sure we unset caps
11006
11007 2006-06-02  Michael Smith  <msmith@fluendo.com>
11008
11009         * libs/gst/check/gstcheck.c: (gst_check_init),
11010         (gst_check_chain_func):
11011         * libs/gst/check/gstcheck.h:
11012           Add a cond/mutex to the check support lib, signal this whenever we
11013           add to the buffers list. This will allow tests to not busy-wait on
11014           the buffer-list.
11015
11016 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11017
11018         * libs/gst/dataprotocol/dataprotocol.c:
11019         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11020         (gst_dp_packet_from_event):
11021           factor out some common header init code
11022
11023 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11024
11025         * docs/libs/gstreamer-libs-sections.txt:
11026         * docs/libs/tmpl/gstdataprotocol.sgml:
11027         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
11028         * libs/gst/dataprotocol/dataprotocol.h:
11029           API: make gst_dp_crc() public
11030
11031 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
11032
11033         * plugins/indexers/gstindexers.c: (plugin_init):
11034         conditionally register fileindexer (fixes #343598)
11035
11036 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
11037
11038         * gst/gsttagsetter.h:
11039         Can't cast ifaces to a class
11040
11041         * libs/gst/net/gstnetclientclock.h:
11042         * libs/gst/net/gstnettimeprovider.h:
11043         * plugins/elements/gstfakesink.h:
11044         * plugins/elements/gstfakesrc.h:
11045         * plugins/elements/gstfdsink.h:
11046         * plugins/elements/gstfdsrc.h:
11047         * plugins/elements/gstfilesink.h:
11048         * plugins/elements/gstfilesrc.h:
11049         * plugins/elements/gstidentity.h:
11050         * plugins/elements/gstqueue.h:
11051         * plugins/elements/gsttee.h:
11052         * plugins/indexers/gstfileindex.c:
11053         * plugins/indexers/gstmemindex.c:
11054         * tests/old/examples/plugins/example.h:
11055         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
11056
11057 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11058
11059         * libs/gst/dataprotocol/dataprotocol.c:
11060         (gst_dp_header_from_buffer):
11061           make sure we zero the whole ABI-compatible area
11062
11063 2006-06-01  Wim Taymans  <wim@fluendo.com>
11064
11065         Patch by: Alessandro Decina <alessandro at nnva dot org>
11066
11067         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
11068         Make sure the EOS flag is cleared from pads after a flush
11069         or stop. Fixes #343538.
11070
11071         * tests/check/libs/collectpads.c: (GST_START_TEST),
11072         (gst_collect_pads_suite):
11073         Added test for collectpads reusage after EOS.
11074
11075 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
11076
11077         * gst/gst.c:
11078          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
11079         * win32/common/libgstbase.def:
11080          export gst_collect_pads_set_flushing
11081         * win32/common/libgstreamer.def:
11082          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
11083          gst_value_fraction_multiply
11084         * win32/vs6/gst_inspect.dsp:
11085          add a link to intl.lib
11086
11087 2006-05-30  Wim Taymans  <wim@fluendo.com>
11088
11089         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
11090         (gst_collect_pads_chain):
11091         Handle the case where a pad is removed from the collection
11092         that could cause the other pads to become collectable.
11093
11094 2006-05-30  Wim Taymans  <wim@fluendo.com>
11095
11096         * gst/gstelement.c:
11097         Clarify the use of _release_request_pad() and
11098         _get_request_pad() a bit better.
11099
11100         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
11101         (gst_adapter_take_buffer):
11102         Fix some doc and comment typos.
11103
11104 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11105
11106         * docs/gst/gstreamer-sections.txt:
11107         * docs/libs/gstreamer-libs-sections.txt:
11108           add declared symbols
11109
11110 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
11111
11112         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11113         Add debug that can be enabled using a #define at the top of the file,
11114         for dumping stats about how late/early we were when waking up from
11115         waiting on the clock.
11116
11117 2006-05-30  Wim Taymans  <wim@fluendo.com>
11118
11119         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
11120         When rebuilding the pad list, don't leak the previous list.
11121
11122 2006-05-30  Wim Taymans  <wim@fluendo.com>
11123
11124         Patch by: Lutz Mueller <lutz at topfrose dot de>
11125
11126         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11127         (gst_base_src_get_query_types), (gst_base_src_update_length):
11128         Publish supported query types.
11129         Update last_stop field in get_range mode so the position
11130         query works. Fixes #342321.
11131
11132 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
11133
11134         * docs/gst/gstreamer-sections.txt:
11135         * gst/gsttaglist.c: (_gst_tag_initialize):
11136         * gst/gsttaglist.h:
11137           API: add GST_TAG_PREVIEW_IMAGE (#343341).
11138
11139 2006-05-30  Wim Taymans  <wim@fluendo.com>
11140
11141         Patch by: Alessandro Decina <alessandro at nnva dot org>
11142
11143         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
11144         Unlock mutex when removing an unknown pad.
11145         Fixes #343334.
11146
11147         * tests/check/Makefile.am:
11148         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
11149         (push_event), (setup), (teardown), (GST_START_TEST),
11150         (gst_collect_pads_suite), (main):
11151         Added collecpads check, disabled for now as check crashes for
11152         some reason.
11153
11154 2006-05-29  Wim Taymans  <wim@fluendo.com>
11155
11156         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
11157         Don't leak pads lists.
11158
11159 2006-05-29  Wim Taymans  <wim@fluendo.com>
11160
11161         * docs/libs/gstreamer-libs-sections.txt:
11162         * libs/gst/base/gstcollectpads.c:
11163         (gst_collect_pads_set_flushing_unlocked),
11164         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
11165         (gst_collect_pads_stop):
11166         * libs/gst/base/gstcollectpads.h:
11167         API: gst_collect_pads_set_flushing()
11168         Added api to set the pads to flushing, useful for seeking
11169         code in elements using collectpads.
11170         Clear segment when receiving a flush.
11171
11172 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
11173
11174         * gst/gst.c: (add_path_func), (init_post):
11175           Don't scan registry paths passed via --gst-plugin-path immediately
11176           (will crash, because absolutely nothing is set up and no types are
11177           registered etc.); do this later in init_post(). Fixes #343057.
11178
11179 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
11180
11181         * gst/gst.c: (init_post):
11182           if we have fork, fork while reading/rebuilding the registry
11183           so the parent doesn't take the hit of having all plugins loaded
11184           in memory.  Fixes #342777.
11185         * configure.ac:
11186           Check if we have fork()
11187         * win32/common/config.h.in:
11188           no fork() on win32
11189
11190 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
11191
11192         * plugins/elements/gstelements.c:
11193         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11194         (gst_file_src_init), (gst_file_src_set_property),
11195         (gst_file_src_get_property), (gst_file_src_start):
11196         * plugins/elements/gstfilesrc.h:
11197           API: GstFileSrc::use-mmap
11198
11199         Add a use-mmap property to enable easier testing of all code paths.
11200         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
11201         in the absence of gnomevfssrc. (Closes #340501)
11202
11203 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11204
11205         * tools/gst-inspect.c:
11206         Add missing include, removes warning of ngettext not being defined on
11207         some arches.
11208
11209 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
11210
11211         * gst/gstvalue.c: (gst_value_deserialize_fraction):
11212         Handle NULL input and output pointers silently as a failed conversion,
11213         rather than g_warnings.
11214
11215 2006-05-25  Wim Taymans  <wim@fluendo.com>
11216
11217         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
11218         Initialize variable before using. Fixes #342820.
11219
11220 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
11221
11222         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
11223           Fix off-by-one bug that would only allow peeks of N-1 bytes
11224           from the start even if the buffer to typefind on contains
11225           in fact N bytes of data (makes vorbis typefinding from a
11226           vorbis identification header buffer work).
11227
11228         * tests/check/Makefile.am:
11229         * tests/check/libs/.cvsignore:
11230         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
11231         (gst_typefindhelper_suite), (main), (foobar_typefind),
11232         (plugin_init):
11233           Add very basic unit test for gst_type_find_helper_for_buffer()
11234           that checks for the problem fixed above.
11235
11236 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11237
11238         * tools/gst-inspect.c: (print_interfaces),
11239         (print_element_properties_info), (print_element_list), (main):
11240           add more translatable strings
11241
11242 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
11243
11244         Patch by: Julien Moutte  <julien at moutte net>
11245
11246         * docs/gst/gstreamer-sections.txt:
11247           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
11248           
11249         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
11250         (gst_fake_sink_preroll):
11251         * plugins/elements/gstfakesink.h:
11252           API: Add new GstFakeSink::preroll-handoff signal (#337100).
11253
11254 2006-05-23  Wim Taymans  <wim@fluendo.com>
11255
11256         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
11257         * gst/gstpad.h:
11258         Added _CUSTOM error and success GstFlowReturn that can be
11259         used be elements internally. 
11260         Added macro to check for SUCCESS flowreturns.
11261         API: GST_FLOW_CUSTOM_SUCCESS
11262         API: GST_FLOW_CUSTOM_ERROR
11263         API: GST_FLOW_IS_SUCCESS
11264
11265         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
11266         Added check for GstFlowReturn sanity.
11267
11268 2006-05-23  Wim Taymans  <wim@fluendo.com>
11269
11270         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11271
11272         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
11273         (gst_collect_pads_event):
11274         clear/reset segment info in FLUSH_STOP.
11275         Fixes #336929.
11276
11277 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
11278
11279         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
11280         (gst_collect_pads_check_collected):
11281         Flush queued buffer on _stop(), fixes playing again (#342454)
11282
11283 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11284
11285         * tests/check/gst/gststructure.c: (GST_START_TEST),
11286         (gst_structure_suite):
11287           add a test for a complete structure
11288
11289 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
11290
11291         * docs/faq/developing.xml:
11292         * docs/faq/faq.xml:
11293         * docs/faq/troubleshooting.xml:
11294         * docs/faq/using.xml:
11295           Some minor FAQ updates that won't change the fact that
11296           our FAQ is badly structured, full of information hardly
11297           anyone new to GStreamer needs to know and lacking lots
11298           of information people constantly ask for.
11299           
11300 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
11301
11302         * gst/gstpad.c: (gst_pad_set_caps):
11303           Short-circuit gst_pad_set_caps if setting the existing
11304           caps pointer again, and avoid printing debug and 
11305           reffing/unreffing the caps.
11306
11307         * plugins/elements/gstqueue.c: (gst_queue_push_one):
11308           There's actually no need to set the caps before pushing -
11309           the acceptcaps method will handle it anyway.
11310
11311 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
11312
11313         * docs/gst/gstreamer-sections.txt:
11314         * win32/common/libgstreamer.def:
11315         * gst/gstutils.c: (gst_element_seek_simple):
11316         * gst/gstutils.h:
11317           API: add gst_element_seek_simple() (#342238).
11318
11319 2006-05-18  Edward Hervey  <edward@fluendo.com>
11320
11321         * gst/gsttypefind.c: (gst_type_find_get_type):
11322         * gst/gsttypefind.h:
11323         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
11324         registered for GstTypeFind pointers. This allows wrapping the structure
11325         in bindings (i.e. gst-python).
11326
11327 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
11328
11329         * gst/gsttagsetter.c:
11330           Docs additions and fixes (see #339918).
11331
11332 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
11333
11334         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11335         The caps intersection algorithm can produce multiple copies of the
11336         caps. Until that is fixed, we need to simplify the result to be
11337         sure whether the allowed caps are fixed or not.
11338
11339         * plugins/elements/gstqueue.c: (gst_queue_init),
11340         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
11341         (gst_queue_push_one):
11342         Proxied buffer alloc should not set the caps on the source pad.
11343         When pushing buffers, we always accept the caps change that triggers.
11344         This prevents negotiation errors caused by caps changing mid-stream 
11345         and then being refused on our source pad (because upstream is now
11346         refusing those caps).
11347
11348 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
11349
11350         * tests/examples/helloworld/helloworld.c: (main):
11351           Must plug audioconvert and audioresample between decoder
11352           and audio sink.
11353
11354 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
11355
11356         * gst/gstregistryxml.c: (read_string), (load_pad_template),
11357         (load_feature), (load_plugin):
11358         Allow empty strings for some of the plugin fields so we don't 
11359         drop valid plugin entries that were written out correctly
11360         (Fixes #341479)
11361
11362 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
11363         
11364         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
11365           Use g_remove and g_rename instead of remove and rename that don't 
11366           handle utf8 characters. rename was failing for users who had specific
11367           characters in their name then the registry was built at each 
11368           gstreamer init.
11369         * win32/vs6/gst_inspect.dsp:
11370         * win32/vs6/gst_launch.dsp:
11371         * win32/vs6/libgstbase.dsp:
11372         * win32/vs6/libgstcoreelements.dsp:
11373         * win32/vs6/libgstreamer.dsp:
11374           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
11375           build of libgstreamer and clean unused libraries in projects link 
11376           settings.
11377
11378 2006-05-17  Edward Hervey  <edward@fluendo.com>
11379
11380         * plugins/elements/gstqueue.c: (gst_queue_push_one):
11381         The queue is not responsible for pushing an EOS when receiving a fatal
11382         flow error. It's up to the real element driving the pipeline to do that.
11383
11384 2006-05-16  Edward Hervey  <edward@fluendo.com>
11385
11386         * plugins/elements/gstqueue.c: (gst_queue_push_one):
11387         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
11388         buffer returned a fatal error. It should just send an EOS and stop
11389         its task.
11390         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
11391         when pushing buffers on the queue and will be able to handle the event.
11392
11393 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
11394
11395         * docs/manual/basics-bins.xml:
11396         * docs/manual/basics-init.xml:
11397           Fix typos and minor errors in sample code (#341856).
11398
11399 2006-05-16  Wim Taymans  <wim@fluendo.com>
11400
11401         * docs/design/part-qos.txt:
11402         Fix indexes in formulas to make more sense.
11403
11404 2006-05-15  Wim Taymans  <wim@fluendo.com>
11405
11406         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11407         Don't report POSITION based on clock time if sync is
11408         disabled in a sink.
11409
11410 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
11411
11412         * gst/gstobject.h:
11413           Add cast to make compiler happy - refcount variable was a gint
11414           in GstObject but is a guint in GObject and g_atomic_int_get()
11415           wants a gint *.
11416
11417 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11418
11419         * gst/parse/Makefile.am:
11420           chain commands using &&, which also makes parallel make work
11421
11422 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
11423
11424         * docs/gst/gstreamer-sections.txt:
11425         * gst/gstevent.c:
11426         * gst/gstevent.h:
11427         * gst/gstmessage.h:
11428           Minor docs fixes.
11429
11430 === release 0.10.6 ===
11431
11432 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
11433
11434         * configure.ac:
11435           releasing 0.10.6, "Take the cannoli"
11436
11437 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11438
11439         * tools/gst-launch.c: (print_tag):
11440           Fix use of uninitialized variable in the hypothetical
11441           case that some broken plugin creates a GST_TAG_IMAGE
11442           tag containing a NULL buffer (#341667).
11443
11444 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
11445
11446         * tools/gst-launch.c: (print_tag):
11447           Print something more intelligible for image tags when
11448           using the -t switch (#341556).
11449
11450 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11451
11452         * Makefile.am:
11453           updates for win32
11454         * configure.ac:
11455           define GST_MAJORMINOR so we have it available in win32/common/config.h
11456           Possibly remove it from our Makefile.am files later
11457         * win32/common/config.h:
11458         * win32/common/config.h.in:
11459           added GST_MAJORMINOR
11460         * win32/common/gstenumtypes.c: (register_gst_resource_error):
11461         * win32/common/gstversion.h:
11462           updated
11463
11464 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
11465
11466         * win32/MANIFEST:
11467           Update win32 files listing.
11468         * win32/common/gstversion.h:
11469           Add GST_MAJORMINOR definition.
11470         * win32/common/libgstreamer.def:
11471           Add new exported functions.
11472           
11473 2006-05-12  Michael Smith  <msmith@fluendo.com>
11474
11475         * gst/gstplugin.c: (gst_plugin_load_file):
11476           If an so file has no plugin entry point, unload the module.
11477
11478 2006-05-11  Wim Taymans  <wim@fluendo.com>
11479
11480         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
11481         (gst_queue_set_property):
11482         Don't forget to signal the _chain or _loop function 
11483         when the queue size or thresholds change since that might
11484         cause them to make progres again.
11485
11486 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
11487
11488         * gst/gstclock.c: (gst_clock_class_init):
11489         * gst/gstindex.c: (gst_index_class_init):
11490         * gst/gstobject.c: (gst_object_class_init):
11491         * gst/gstpad.c: (gst_pad_class_init):
11492         * gst/gstpipeline.c: (gst_pipeline_class_init):
11493         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11494         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
11495         * libs/gst/base/gstbasetransform.c:
11496         (gst_base_transform_class_init):
11497         * libs/gst/net/gstnetclientclock.c:
11498         (gst_net_client_clock_class_init):
11499         * libs/gst/net/gstnettimeprovider.c:
11500         (gst_net_time_provider_class_init):
11501         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
11502         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
11503         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
11504         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
11505         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
11506         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11507         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11508         * plugins/elements/gstidentity.c: (gst_identity_class_init):
11509         * plugins/elements/gsttee.c: (gst_tee_class_init):
11510         * tests/old/examples/plugins/example.c: (gst_example_class_init):
11511         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
11512           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
11513
11514 2006-05-11  Wim Taymans  <wim@fluendo.com>
11515
11516         * gst/gstbuffer.c: (_gst_buffer_initialize):
11517         Register subbufer along with the buffer type so that
11518         it does not accidentally gets registered from N
11519         different streaming threads in a non threadsafe way.
11520
11521 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
11522
11523         * gst/gstbuffer.h:
11524         * gst/gstevent.h:
11525         * gst/gstmessage.h:
11526           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
11527           gst_event_ref() and gst_message_ref() functions again
11528           (ugly hack, please do fix if there's a better way besides
11529           overrides.txt, which doesn't seem to work).
11530
11531 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11532
11533         * libs/gst/check/gstcheck.h:
11534           add an assert for setting state to avoid lots of repetitive code
11535           in the future
11536
11537 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11538
11539         * gst/gstvalue.c: (gst_value_serialize_flags):
11540           fix a leak if no flags are set
11541         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11542           fix leak in tests
11543
11544 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
11545
11546         * docs/manual/basics-pads.xml:
11547           Expand a bit on caps and filtered links and update
11548           examples that were still using the no longer existing
11549           gst_pad_link_filtered() (#338206).
11550
11551 2006-05-10  Wim Taymans  <wim@fluendo.com>
11552
11553         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11554         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11555         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
11556         (gst_collect_pads_stop):
11557         * libs/gst/base/gstcollectpads.h:
11558         No need to call _stop in _finalize.
11559         Iterate the main pad list in _finalize.
11560         Added some more debug.
11561         Free lists and data in the right order.
11562         Also free data whem doing _remove_pad when stopped for
11563         backward compatibility protect ::started with PAD_LOCK as
11564         well.
11565
11566 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11567
11568         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
11569         (gst_structure_parse_value):
11570           add some comments
11571           rename a method so that it actually says what it does better
11572
11573 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11574
11575         * gst/gstevent.c: (_gst_event_initialize):
11576         * gst/gstformat.c: (_gst_format_initialize):
11577           make sure some essential types used by events are registered
11578           as part of gst_init()
11579         * gst/gstvalue.c: (gst_value_serialize_flags):
11580           if no flags are set, serialize them to a value that represents NONE
11581           so that deserializing them works
11582         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11583           add tests for serialization and deserialization of flags
11584
11585 2006-05-10  Wim Taymans  <wim@fluendo.com>
11586
11587         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
11588         (gst_collect_pads_collect_range), (gst_collect_pads_available),
11589         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
11590         (gst_collect_pads_event), (gst_collect_pads_chain):
11591         Update docs.
11592         Better debug info.
11593         Catch and return errors from the collect function
11594         Refuse data on eos pads.
11595
11596 2006-05-10  Edward Hervey  <edward@fluendo.com>
11597
11598         * gst/gstinterface.h:
11599         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
11600         GInterface type checking.
11601         They were previously using non-defined macros.
11602
11603 2006-05-09  Wim Taymans  <wim@fluendo.com>
11604
11605         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
11606         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
11607         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
11608         (gst_collect_pads_start), (gst_collect_pads_stop),
11609         (gst_collect_pads_peek), (gst_collect_pads_pop),
11610         (gst_collect_pads_available), (gst_collect_pads_read),
11611         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
11612         (gst_collect_pads_is_collected), (gst_collect_pads_event),
11613         (gst_collect_pads_chain):
11614         * libs/gst/base/gstcollectpads.h:
11615         Clean up the mess that is collectpads, add comments and
11616         FIXMEs where needed.
11617         Maintain a separate pad list so we can add pads while
11618         collecting the other ones. For this we need a new separate 
11619         lock (see comics).
11620         Fix memory leak in finalize.
11621         Refactor some weird code to set/unset pad flushing flags, mark
11622         with comments.
11623         Don't crash in _available, _read, _flush when we're EOS.
11624
11625         * tests/check/libs/.cvsignore:
11626         Ignore adapter check binary.
11627
11628 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11629
11630         * gst/gstindex.c: (gst_index_resolver_get_type):
11631         * plugins/elements/gstfakesink.c:
11632         (gst_fake_sink_state_error_get_type):
11633         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11634         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
11635         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11636           Const-ify GEnumValue arrays.
11637
11638 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11639
11640         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11641           Add test case for flags + gst_buffer_make_metadata_writable().
11642
11643 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11644
11645         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
11646           gst_buffer_make_metadata_writable() should maintain the
11647           buffer flags (those that make sense at least) (see #340859).
11648
11649 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11650
11651         * tools/gst-inspect.c:
11652         * tools/gst-launch.c:
11653         * tools/gst-typefind.c:
11654         * tools/gst-xmlinspect.c:
11655         * tools/tools.h:
11656           Fix up includes: need to include stdlib.h in tools.h for exit().
11657
11658 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11659
11660         * gst/gsttaglist.c: (_gst_tag_initialize):
11661         * gst/gsttaglist.h:
11662           API: add GST_TAG_IMAGE tag (#340721).
11663
11664 2006-05-08  Wim Taymans  <wim@fluendo.com>
11665
11666         * gst/gstquery.c:
11667         Added some docs for the segment query.
11668
11669 2006-05-08  Wim Taymans  <wim@fluendo.com>
11670
11671         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11672         (gst_base_src_loop), (gst_base_src_change_state):
11673         Always push non-flushing serialized events in the streaming 
11674         thread.
11675
11676 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11677
11678         * gst/gsterror.c: (_gst_stream_errors_init):
11679           Add a missing error string.
11680
11681 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
11682
11683         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
11684         Add applied_rate to the debug
11685
11686         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
11687         Copy applied_rate into the outgoing NEWSEGMENT event
11688
11689 2006-05-08  Wim Taymans  <wim@fluendo.com>
11690
11691         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
11692
11693         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
11694         (gst_base_sink_change_state):
11695         call ::unlock before taking the PREROLL_LOCK so we can safely
11696         handle elements that lock in ::render.
11697         Fixes #340174.
11698
11699 2006-05-08  Edward Hervey  <edward@fluendo.com>
11700
11701         * autogen.sh: (CONFIGURE_DEF_OPT): 
11702         Darwin's libtoolize is in fact called glibtoolize.
11703         Adding glibtoolize to the list of accepted names for libtoolize.
11704
11705 2006-05-08  Wim Taymans  <wim@fluendo.com>
11706
11707         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11708         Unify error handling, don't post an error message
11709         when a push() returns EOS but perform our normal EOS
11710         handling code. Fixes #340772.
11711
11712 2006-05-08  Wim Taymans  <wim@fluendo.com>
11713
11714         * docs/design/part-overview.txt:
11715         Make upsteam/downstream concepts more clear.
11716         Give an example of serialized/non-serialized events.
11717
11718         * docs/design/part-events.txt:
11719         * docs/design/part-streams.txt:
11720         Mention applied_rate.
11721
11722         * docs/design/part-trickmodes.txt:
11723         Mention applied rate, flesh out some more use cases.
11724
11725         * gst/gstevent.c: (gst_event_new_new_segment),
11726         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
11727         (gst_event_parse_new_segment_full), (gst_event_new_tag),
11728         (gst_event_parse_tag), (gst_event_new_buffer_size),
11729         (gst_event_parse_buffer_size), (gst_event_new_qos),
11730         (gst_event_parse_qos), (gst_event_parse_seek),
11731         (gst_event_new_navigation):
11732         * gst/gstevent.h:
11733         Add applied_rate field to NEWSEGMENT event.
11734         API: gst_event_new_new_segment_full()
11735         API: gst_event_parse_new_segment_full()
11736
11737         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
11738         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
11739         (gst_segment_to_stream_time), (gst_segment_to_running_time):
11740         * gst/gstsegment.h:
11741         Add applied_rate to GstSegment structure.
11742         Make calculation of stream_time and running_time more correct
11743         wrt rate/applied_rate.
11744         Add some more docs.
11745         API: GstSegment::applied_rate field
11746         API: gst_segment_set_newsegment_full();
11747
11748         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11749         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
11750         * libs/gst/base/gstbasetransform.c:
11751         (gst_base_transform_sink_eventfunc),
11752         (gst_base_transform_handle_buffer):
11753         Parse and use applied_rate in the GstSegment field.
11754
11755         * tests/check/gst/gstevent.c: (GST_START_TEST):
11756         Add check for applied_rate field.
11757
11758         * tests/check/gst/gstsegment.c: (GST_START_TEST),
11759         (gstsegments_suite):
11760         Add more checks for various GstSegment operations.
11761
11762 2006-05-08  Wim Taymans  <wim@fluendo.com>
11763
11764         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
11765         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
11766         (gst_base_sink_get_position), (gst_base_sink_change_state):
11767         Store the sync time of the buffer end position separatly in a
11768         new variable eos_rtime so we can properly sync the EOS event.
11769         Fixes #340697.
11770         Fix the docs for gst_base_sink_set_qos_enabled().
11771         Don't set segment start to invalid value when we receive a 
11772         non TIME newsegment.
11773         get closer to handling position reporting for negative rates 
11774         correctly.
11775
11776 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
11777
11778         * gst/gstcaps.c:
11779         Docs about how to print caps for debug purposes.
11780
11781         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
11782         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
11783
11784 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
11785
11786         * gst/gstelement.c:
11787           use full enum names and preprend a '%' in docs strings to make recent 
11788           gtk-doc turn that into a link
11789
11790 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
11791
11792         * docs/manual/basics-bins.xml:
11793         * docs/manual/basics-bus.xml:
11794         * docs/manual/basics-pads.xml:
11795           Some typo fixes, some additions, some clarifications. 
11796
11797 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
11798
11799         * tools/gst-inspect.c: (main):
11800         * tools/gst-launch.c: (main):
11801         * tools/gst-run.c: (main):
11802         * tools/gst-typefind.c: (main):
11803         * tools/gst-xmlinspect.c: (main):
11804           Use the string passed to g_option_context_new() for
11805           what it's intended for - the program name is already
11806           printed elsewhere.
11807
11808 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
11809
11810         * tools/Makefile.am:
11811         * tools/gst-inspect.c: (main):
11812         * tools/gst-launch.c: (main):
11813         * tools/gst-xmlinspect.c: (main):
11814         * tools/tools.h:
11815           Add back --version command line option (#340460).
11816
11817         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
11818           Add --version option and use GOption for argument parsing; refactor a
11819           bit; accept directories as arguments and recurse into them; lastly,
11820           print a decent error message when things go wrong.
11821
11822 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
11823
11824         * docs/manual/basics-bins.xml:
11825         Don't mention GstThread (#340611)
11826         * docs/manual/basics-elements.xml:
11827         Update link to GObject tutorial (#340607)
11828         
11829 2006-05-05  Wim Taymans  <wim@fluendo.com>
11830
11831         * gst/gstbuffer.h:
11832         * gst/gstminiobject.c:
11833         Add note about refcounting and miniobject/buffer writeability
11834         to docs. Fixes #340604
11835
11836         * gst/gstelementfactory.h:
11837         Added some explanation about @klass.
11838
11839 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
11840
11841         * docs/manual/intro-motivation.xml:
11842         * docs/manual/manual.xml:
11843         Avoid CORBA & Bonobo references (#340598)
11844
11845 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
11846
11847         * docs/manual/basics-bus.xml:
11848         * docs/manual/basics-pads.xml:
11849         Fix up some inaccuracies and omissions (#340609)
11850         
11851 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
11852
11853         * gst/gstghostpad.c:
11854           Small typo in docs (#340625)
11855
11856 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
11857
11858         * gst/parse/Makefile.am:
11859           Make 'make -j' proof (see #340698).
11860
11861 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
11862
11863         * configure.ac:
11864           Require GLib-2.8 here as well.
11865
11866 2006-05-05  Wim Taymans  <wim@fluendo.com>
11867
11868         * gst/glib-compat.c:
11869         * gst/gst.c: (init_pre):
11870         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11871         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
11872         (gst_object_dispatch_properties_changed):
11873         * gst/gstobject.h:
11874         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
11875         * gst/gststructure.c: (gst_structure_set_valist):
11876         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
11877         Remove pre glib2.8 compatibility, fixes #340508
11878
11879 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
11880
11881         * gst/gsttaglist.h:
11882           Mention type of tags in doc blurbs.
11883
11884 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
11885
11886         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
11887         (gst_pad_configure_src), (gst_pad_push):
11888         Restore acceptcaps checking behaviour now that good plugins have
11889         been released.
11890
11891 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
11892
11893         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
11894
11895         * gst/gst.c:
11896         * gst/gstbus.c:
11897         * gst/gstclock.c:
11898         * gst/gstevent.c:
11899         * gst/gstformat.c:
11900         * gst/gstmessage.c:
11901         * gst/gstparse.c:
11902         * gst/gstquery.c:
11903         * gst/gstutils.c:
11904         * gst/parse/Makefile.am:
11905         * libs/gst/base/gstadapter.c:
11906         * libs/gst/base/gstbasesrc.c:
11907         * libs/gst/base/gstpushsrc.c:
11908         * libs/gst/base/gsttypefindhelper.c:
11909         * plugins/elements/gstfakesrc.c:
11910         * plugins/elements/gstidentity.c:
11911           Make sure gstprivate.h and/or config.h are
11912           always included first, otherwise some of our
11913           defines (like _FILE_OFFSET_BITS) might be
11914           redefined in the system headers. Fixes build
11915           on opensolaris (#340016).
11916
11917 2006-05-04  Wim Taymans  <wim@fluendo.com>
11918
11919         * docs/libs/gstreamer-libs-sections.txt:
11920         API: addition: gst_adapter_take_buffer()
11921         
11922         * libs/gst/base/gstadapter.c: (gst_adapter_push),
11923         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
11924         (gst_adapter_available_fast):
11925         * libs/gst/base/gstadapter.h:
11926         Prepare for optimizing the hell out of this hugely inefficient
11927         piece of code. 
11928         Added gst_adapter_take_buffer() so we can at least start thinking
11929         about subbuffering and merging.
11930         Added some comments.
11931
11932         * tests/check/Makefile.am:
11933         * tests/check/libs/adapter.c: (GST_START_TEST),
11934         (gst_adapter_suite), (main):
11935         Added GstAdapter check.
11936
11937 2006-05-04  Wim Taymans  <wim@fluendo.com>
11938
11939         * docs/design/part-overview.txt:
11940         Fix some typos, add blurb about buffer flags.
11941
11942 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11943
11944         * docs/libs/gstreamer-libs-sections.txt:
11945           make sure GstBaseTransformClass shows up in the docs
11946         * libs/gst/base/gstbasetransform.c:
11947         * libs/gst/base/gstbasetransform.h:
11948           move docs so gtk-doc picks it up now
11949
11950 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
11951
11952         * docs/libs/gstreamer-libs-sections.txt:
11953           add missing symbols to docs
11954
11955 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
11956
11957         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11958           back out the newsegment handling change, see #340060 for ongoing
11959           discussion
11960
11961 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
11962
11963         * tools/gst-run.c: (get_candidates), (main):
11964           Fix wrong g_file_test() usage (see glib docs for why it doesn't
11965           work); fix typo in error message. Fixes #340079.
11966
11967 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11968
11969         * common/Makefile.am:
11970         * docs/Makefile.am:
11971         * docs/faq/Makefile.am:
11972         * docs/gst/Makefile.am:
11973         * docs/libs/Makefile.am:
11974         * docs/manual/Makefile.am:
11975         * docs/plugins/Makefile.am:
11976         * docs/pwg/Makefile.am:
11977         * docs/slides/Makefile.am:
11978         * docs/upload.mak:
11979         * common/upload.mak:
11980           move upload.mak to common
11981
11982 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11983
11984         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11985           add more asserts on refcounts
11986           do more cleanup at end of tests
11987           fix test leaks showing in FC5
11988
11989 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
11990
11991         * plugins/elements/gsttypefindelement.c:
11992         (gst_type_find_element_handle_event):
11993         reverted wrong change and reflowed code to avoid others falling into
11994         this trap
11995
11996 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11997
11998         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11999           fix changelog entry about last collectpads change,
12000           add notes about proper fix
12001
12002 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
12003
12004         * gst/gst.c:
12005         * gst/gstregistry.c: (gst_registry_scan_path_level),
12006         (gst_registry_scan_path):
12007         * gst/gstregistry.h:
12008           only write out registry if it has changed, fixes #338339
12009
12010 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
12011
12012         * gst/gstbin.c:
12013         * gst/gstpipeline.c:
12014         * plugins/elements/gstcapsfilter.c:
12015         * plugins/elements/gstfakesink.c:
12016         * plugins/elements/gstfakesrc.c:
12017         * plugins/elements/gstfdsink.c:
12018         * plugins/elements/gstfdsrc.c:
12019         * plugins/elements/gstfilesink.c:
12020         * plugins/elements/gstfilesrc.c:
12021         * plugins/elements/gstidentity.c:
12022         * plugins/elements/gstqueue.c:
12023         * plugins/elements/gsttee.c:
12024         * plugins/elements/gsttypefindelement.c:
12025         (gst_type_find_element_handle_event):
12026           make GstElementDetails const
12027
12028 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
12029
12030         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
12031         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12032         (gst_collect_pads_is_collected), (gst_collect_pads_event):
12033           more detailed debug and formatting cleanup,
12034           forward newsegments to src-pad (so that e.g. adder not eats them)
12035
12036 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
12037
12038         * gst/gstutils.c: (gst_element_link_pads):
12039           cleanup double code
12040
12041 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
12042
12043         * libs/gst/controller/gstcontroller.c:
12044         (gst_controller_sync_values):
12045           some little tuning
12046         * tests/check/libs/controller.c: (GST_START_TEST),
12047         (gst_controller_suite):
12048           a new test for live value handling
12049
12050 2006-04-28  Wim Taymans  <wim@fluendo.com>
12051
12052         * gst/gstutils.c: (push_and_ref):
12053         Added some more docs.
12054         Fix refcount issue whith gst_element_found_tags() helper 
12055         function. Fixes #338335
12056
12057         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12058         Added testsuite for gst_element_found_tags().
12059
12060 2006-04-28  Michael Smith  <msmith@fluendo.com>
12061
12062         * gst/gstvalue.c: (gst_value_serialize_flags):
12063           Avoid NULL dereference when trying to serialize flags containing
12064           invalid values.
12065
12066 2006-04-28  Michael Smith  <msmith@fluendo.com>
12067
12068         * plugins/elements/gsttypefindelement.c:
12069         (gst_type_find_element_handle_event):
12070           If we get EOS before any data is accumulated, don't use
12071           uninitialised local variables.
12072
12073 2006-04-28  Michael Smith  <msmith@fluendo.com>
12074
12075         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12076         (gst_dp_event_from_packet):
12077           Fixes in reading/writing events over GDP (not currently used?) - 
12078           dereferencing NULL events for unknown/invalid event types, memory
12079           leak, and change g_warning to GST_WARNING.
12080
12081 2006-04-28  Wim Taymans  <wim@fluendo.com>
12082
12083         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
12084         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
12085         (gst_base_sink_get_position), (gst_base_sink_change_state):
12086         When frame dropping is enabled, we should not ignore frames
12087         without a duration.
12088         Update some documentation.
12089
12090 2006-04-28  Wim Taymans  <wim@fluendo.com>
12091
12092         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
12093         (gst_base_src_send_event), (gst_base_src_change_state):
12094         Documentation updates.
12095
12096 2006-04-28  Wim Taymans  <wim@fluendo.com>
12097
12098         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
12099         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
12100         handle EAGAIN, EINTR and short writes correctly. Also clean
12101         up some error cases, avoid a deadlock on bad file descriptors and
12102         use GST_DEBUG_OBJECT.
12103         Fixes #339843
12104
12105 2006-04-28  Wim Taymans  <wim@fluendo.com>
12106
12107         * gst/gstvalue.c: (gst_value_serialize_buffer),
12108         (gst_value_deserialize_buffer):
12109         Don't try to serialize a GValue with a NULL buffer. 
12110         Fixes #339821.
12111
12112         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12113         Added check for serialisation of NULL buffers.
12114
12115 2006-04-28  Wim Taymans  <wim@fluendo.com>
12116
12117         * gst/gstminiobject.c: (gst_value_take_mini_object):
12118         Taking a NULL miniobject is valid, fix the case where
12119         we try to unref the NULL miniobject.
12120
12121 2006-04-28  Wim Taymans  <wim@fluendo.com>
12122
12123         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12124
12125         * gst/gstbin.c: (gst_bin_handle_message_func):
12126         Update docs.
12127         Don't leak bin refcount when a state recalc is
12128         in progress and we delay another one #339808.
12129
12130 2006-04-28  Wim Taymans  <wim@fluendo.com>
12131
12132         * docs/design/part-TODO.txt:
12133         Mention QoS as an ongoing work item.
12134
12135         * docs/design/part-buffering.txt:
12136         New doc about buffering that needs to be fleshed out
12137         at some point.
12138
12139         * docs/design/part-qos.txt:
12140         More QoS policy for decoders/demuxers/transforms
12141
12142         * docs/design/part-trickmodes.txt:
12143         Small update.
12144
12145 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12146
12147         * configure.ac:
12148           back to HEAD
12149
12150 === release 0.10.5 ===
12151
12152 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
12153
12154         * configure.ac:
12155           releasing 0.10.5, "Fogo"
12156
12157 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12158
12159         patch by: Wim Taymans
12160
12161         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
12162         (gst_pad_configure_src), (gst_pad_push):
12163         * gst/gstpipeline.c: (gst_pipeline_init):
12164           Fix internal data flow errors.  Fixes #338711.
12165
12166 2006-04-12  Wim Taymans  <wim@fluendo.com>
12167
12168         * tests/check/gst/gstelement.c: (GST_START_TEST):
12169         Don't leak the factory.
12170
12171 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12172
12173         * configure.ac:
12174         * win32/common/config.h:
12175           prerelease
12176
12177 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
12178
12179         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
12180         (gst_controller_unset_all):
12181           Free allocated GstTimedValues when freeing list nodes.
12182           Should fix leaks 'make check-valgrind' complains about.
12183
12184         * win32/common/libgstcontroller.def:
12185           Add gst_controller_unset_all.
12186
12187 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
12188
12189         * docs/libs/gstreamer-libs-sections.txt:
12190         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
12191         (gst_controller_unset_all):
12192         * libs/gst/controller/gstcontroller.h:
12193         API: Added new method gst_controller_unset_all()
12194         fixed gst_controller_unset()
12195         * tests/check/libs/controller.c: (GST_START_TEST),
12196         (gst_controller_suite):
12197         Added two testcases for new and fixed method
12198
12199 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
12200
12201         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12202           MSG_DONTWAIT is not defined on Cygwin, so work
12203           around that (fixes #317048).
12204           
12205 2006-04-11  Wim Taymans  <wim@fluendo.com>
12206
12207         * gst/gstelementfactory.c: (gst_element_register),
12208         (gst_element_factory_create), (gst_element_factory_make):
12209         Some cleanups.
12210         Fixed a FIXME.
12211         Updated docs (Fixes #131079)
12212
12213         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12214         Small cleanups.
12215
12216         * tests/check/gst/gstelement.c: (GST_START_TEST),
12217         (gst_element_suite):
12218         Added testcase for elementfactory class field.
12219
12220 2006-04-10  Wim Taymans  <wim@fluendo.com>
12221
12222         * gst/gstsegment.c:
12223         Added some more docs.
12224
12225         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
12226         (gst_base_sink_reset_qos):
12227         Calculate more accurate rate values.
12228
12229 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
12230
12231         * gst/gst_private.h:
12232           add a new #ifdef to use __declspec(dllimport) only for
12233           other modules and not for gstreamer core
12234         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
12235           use gst_guint64_to_gdouble for conversion
12236         * win32/common/libgstreamer.def:
12237           add new exported functions
12238         * win32/vs6/gst_inspect.dsp:
12239         * win32/vs6/gst_launch.dsp:
12240         * win32/vs6/libgstbase.dsp:
12241         * win32/vs6/libgstcontroller.dsp:
12242         * win32/vs6/libgstcoreelements.dsp:
12243         * win32/vs6/libgstdataprotocol.dsp:
12244         * win32/vs6/libgstnet.dsp:
12245           update project files
12246
12247 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
12248
12249         * gst/gstbuffer.c: (gst_subbuffer_class_init):
12250         * gst/gstclock.c: (gst_clock_class_init):
12251         * gst/gstelement.c: (gst_element_class_init):
12252         * gst/gstindex.c: (gst_index_class_init):
12253         * gst/gstindexfactory.c: (gst_index_factory_class_init):
12254         * gst/gstobject.c: (gst_object_class_init),
12255         (gst_signal_object_class_init):
12256         * gst/gstpad.c: (gst_pad_class_init):
12257         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
12258         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
12259         * gst/gstregistry.c: (gst_registry_class_init):
12260         * gst/gstsystemclock.c: (gst_system_clock_class_init):
12261         * gst/gsttask.c: (gst_task_class_init):
12262         * gst/gstxml.c: (gst_xml_class_init):
12263         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12264         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12265         (gst_base_src_loop):
12266         * libs/gst/controller/gstcontroller.c:/
12267         (_gst_controller_class_init):
12268         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
12269         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
12270         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
12271         * tests/old/examples/plugins/example.c: (gst_example_class_init):
12272         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
12273         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
12274
12275 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
12276
12277         * gst/gstpad.c: (gst_pad_link):
12278           Must set peer pads before calling the link function, otherwise
12279           a task started from a link function might get a flow-not-linked
12280           result when trying to push because the other thread where the
12281           linking happens hasn't had a chance to set the peers yet. This
12282           might happen for example when a queue gets linked to a downstream
12283           element, as queue starts a streaming task when its source pad
12284           gets linked. Happens in real life when playing back flac/musepack
12285           files in playbin (#332390).
12286           
12287 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
12288
12289         * gst/gstindex.h:
12290         * gst/gstxml.h:
12291         * libs/gst/base/gstadapter.h:
12292         * libs/gst/base/gstbasesink.h:
12293         * libs/gst/base/gstbasesrc.h:
12294         * libs/gst/base/gstbasetransform.h:
12295         * libs/gst/base/gstcollectpads.h:
12296         * libs/gst/base/gstpushsrc.h:
12297         Fix broken GObject macros
12298
12299 2006-04-07  Wim Taymans  <wim@fluendo.com>
12300
12301         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12302         Initialize start and stop times, thanks valgrind.
12303
12304 2006-04-07  Wim Taymans  <wim@fluendo.com>
12305
12306         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12307         Be a bit nicer to badly behaving upstream elements that expect
12308         us to deal with non TIME segments and timestamps (such as fakesrc
12309         in the testsuite).
12310
12311 2006-04-07  Wim Taymans  <wim@fluendo.com>
12312
12313         * gst/gstbus.c:
12314         Small documentation clarification about the signal watch.
12315
12316         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
12317         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
12318         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
12319         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
12320         (gst_base_sink_get_position_last),
12321         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
12322         Convert and store timestamps in stream time and running time, the
12323         raw timestamps are not useful, also document this better.
12324         Use different window sizes for good and bad QoS observations so
12325         we react to badness a little quicker.
12326         Keep track of the amount of rendered and dropped buffers.
12327         Send QoS timestamps in running time.
12328
12329         * libs/gst/base/gstbasetransform.c:
12330         (gst_base_transform_sink_eventfunc),
12331         (gst_base_transform_handle_buffer):
12332         Compare QoS timestamps against running time.
12333
12334 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
12335
12336         * gst/gstpad.c:
12337           Typo fixes in docs.
12338
12339 2006-04-06  Michael Smith  <msmith@fluendo.com>
12340
12341         * gst/gstpad.c: (gst_pad_set_property):
12342           Use g_value_get_object() instead of g_value_dup_gst_object(),
12343           to avoid double-reffing the pad template (which we then sink,
12344           so this worked previously if (and only if) the pad template
12345           was floating.
12346
12347         * gst/gstpadtemplate.c: (gst_pad_template_init),
12348         (gst_pad_template_pad_created):
12349           Never return floating references to pad templates, create
12350           them as initially-sunken.
12351
12352           Document an extra function (and make this stop sinking our
12353           pad template, since that is now guaranteed to do nothing,
12354           since we created it sunken).
12355
12356         * gst/gstghostpad.c:
12357           Fix docs typo.
12358
12359 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
12360
12361         * gst/gstinfo.c: (__gst_in_valgrind):
12362           Add some newlines.
12363
12364         * plugins/elements/gsttypefindelement.c:
12365         (gst_type_find_element_chain):
12366           Don't leak buffer caps.
12367
12368 2006-04-06  Michael Smith  <msmith@fluendo.com>
12369
12370         * gst/parse/grammar.y:
12371           Fix a leak in parse-launch for any source-or-sink named element 
12372           references used.
12373
12374         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
12375           Unref the pipeline if it exists after we've failed parsing.
12376
12377 2006-04-05  Michael Smith  <msmith@fluendo.com>
12378
12379         * gst/gstpipeline.c: (gst_pipeline_init):
12380           When we create a pipeline bus, initially create it in flushing mode.
12381           Fixes leaks in at least one test, and makes a new pipeline work the
12382           same as one that has gone to READY and then back to NULL.
12383
12384         * gst/gstelement.c:
12385           Typo fix in docs.
12386
12387 2006-04-05  Michael Smith  <msmith@fluendo.com>
12388
12389         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12390           Unref a pad we reffed.
12391         * tests/check/gst/gstutils.c: (GST_START_TEST):
12392           Unref bins
12393
12394 2006-04-05  Michael Smith  <msmith@fluendo.com>
12395
12396         * gst/gstquery.c: (gst_query_set_formats),
12397         (gst_query_set_formatsv):
12398           Fix leaking GValues in queries, as shown by valgrind/testsuite.
12399
12400 2006-04-05  Michael Smith  <msmith@fluendo.com>
12401
12402         * tests/check/generic/sinks.c: (GST_START_TEST):
12403           Fix a variety of memleaks in sinks check, which are only sometimes 
12404           shown by running the tests under valgrind (weird?).
12405
12406 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
12407
12408         * docs/version.entities.in:
12409           Fix the substituted entity name after thomas' changes on the
12410           weekend.
12411
12412 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12413
12414         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
12415         VALGRIND_PRINTF
12416         
12417 2006-04-05  Andy Wingo  <wingo@pobox.com>
12418
12419         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
12420
12421         * libs/gst/base/gstbasetransform.c
12422         (gst_base_transform_sink_eventfunc): When resetting our segment on
12423         FLUSH_STOP, also update the flag saying we haven't seen a
12424         newsegment.
12425
12426 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
12427
12428         Patch by: Paolo Borelli  <pborelli at katamail dot com>
12429
12430         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
12431         (gst_plugin_check_license):
12432           minor clean-ups: G_DEFINE_TYPE already takes care of the
12433           parent_class stuff, no need to do it twice. Mark array of
12434           license strings as constant. (#337103)
12435           
12436 2006-04-04  Michael Smith  <msmith@fluendo.com>
12437
12438         * tools/gst-inspect.c: (print_element_list):
12439           Free the right plugin list; fixes a memory leak.
12440
12441 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
12442
12443         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
12444
12445         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
12446           Don't error out on empty buffers (#336945).
12447           
12448 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
12449
12450         * docs/libs/gstreamer-libs-sections.txt:
12451         * gst/gsttaglist.c:
12452         * libs/gst/base/gstbasesink.c:
12453         * libs/gst/base/gstbasesink.h:
12454         * libs/gst/base/gstbasesrc.c:
12455         * libs/gst/base/gstbasesrc.h:
12456           Documentation updates. Make BaseSink and BaseSrc docs contain the
12457           class structure so that people can actually see the prototypes for
12458           virtual functions they're supposed to be overriding.
12459
12460 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
12461
12462         * plugins/elements/gsttypefindelement.c:
12463         (gst_type_find_element_chain):
12464           More debug info; when skipping typefinding, send cached
12465           events in all cases.
12466
12467 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12468
12469         * configure.ac:
12470           use new AS_VERSION and AS_NANO macros
12471         * gst/gst-i18n-lib.h:
12472         * gst/gst.c:
12473         * gst/gsterror.c:
12474         * gst/gstversion.h.in:
12475         * win32/common/config.h:
12476         * win32/common/config.h.in:
12477           update accordingly
12478
12479 2006-03-31  Michael Smith  <msmith@fluendo.com>
12480
12481         * plugins/elements/gsttypefindelement.c:
12482         (gst_type_find_element_chain):
12483           Do not typefind content if the buffers already have caps.
12484           Neccesary for icydemux (#333657), and the right thing to do anyway.
12485
12486 2006-03-30  Wim Taymans  <wim@fluendo.com>
12487
12488         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12489         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
12490         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
12491         (gst_base_sink_record_qos_observation),
12492         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
12493         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
12494         (gst_base_sink_change_state):
12495         More QoS measurements as described in the design doc.
12496         Get rid of ringbuffer with observations, running average is
12497         more simple and equally good.
12498         Calculates valid proportion now.
12499         Added beginning of flood measurement.
12500
12501 2006-03-29  Wim Taymans  <wim@fluendo.com>
12502
12503         * docs/design/part-qos.txt:
12504         * gst/gstclock.c:
12505         Small documentation updates and additions.
12506
12507 2006-03-29  Wim Taymans  <wim@fluendo.com>
12508
12509         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
12510         (gst_base_src_send_event), (gst_base_src_loop),
12511         (gst_base_src_change_state):
12512         Perform the EOS logic when we reach the segment stop position.
12513         Fix compilation on gcc4.1
12514
12515 2006-03-29  Wim Taymans  <wim@fluendo.com>
12516
12517         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
12518
12519         * plugins/elements/gstqueue.c: (gst_queue_init),
12520         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12521         (gst_queue_set_property):
12522         * plugins/elements/gstqueue.h:
12523         In queue, when EOS is received, if minimum threshold > max_size -
12524         current_level, there is chance that queue blocks forever in conditional
12525         item del wait. This is because the queue is not emptied completely due
12526         to minimum threshold.  Here is another approach. Instead of setting
12527         cur_levels to max in EOS, just zero all minimum threshold levels. This
12528         should make sure that queue gives out all data. When going to READY
12529         (stop) state, just reset the original minimum threshold levels.
12530         Fixes #336336.
12531
12532 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
12533
12534         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
12535         (gst_type_find_element_handle_event),
12536         (gst_type_find_element_send_cached_events),
12537         (gst_type_find_element_change_state):
12538         * plugins/elements/gsttypefindelement.h:
12539           When typefinding is done in push mode, we should cache
12540           events we receive during typefinding instead of just
12541           dropping them (e.g. newsegment, custom events from
12542           dvdreadsrc etc.) and then send them out once we've
12543           determined the type of the stream (and decodebin
12544           has had a chance to plug in a decoder/demuxer).
12545           
12546 2006-03-27  Wim Taymans  <wim@fluendo.com>
12547
12548         * docs/design/part-qos.txt:
12549         First QoS ideas.
12550
12551 2006-03-27  Wim Taymans  <wim@fluendo.com>
12552
12553         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
12554
12555         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
12556         (gst_base_src_send_event), (gst_base_src_change_state):
12557         Handle element seek correctly when we are streaming.
12558         Fixes #326998.
12559
12560 2006-03-24  Michael Smith  <msmith@fluendo.com>
12561
12562         * docs/faq/gst-uninstalled:
12563           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
12564           allow you to correctly run intalled applications built against old 
12565           core, using plugins that require updated core (e.g. running
12566           installed totem against a full uninstalled gstreamer stack)
12567
12568 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
12569
12570         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12571         more debug details
12572
12573 2006-03-24  Wim Taymans  <wim@fluendo.com>
12574
12575         * docs/gst/gstreamer-sections.txt:
12576         Rearrange the order of the methods so that related methods
12577         are grouped together in sections.
12578
12579 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
12580
12581         * gst/gstelement.c:
12582           Little clarification in the docs
12583
12584 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
12585
12586         * docs/README:
12587         formatting fix
12588         * plugins/elements/gstidentity.c:
12589         * plugins/elements/gstqueue.c:
12590         * plugins/elements/gsttee.c:
12591         * plugins/elements/gsttypefindelement.c:
12592         GST_ELEMENT_DETAILS formatting
12593
12594 2006-03-24  Wim Taymans  <wim@fluendo.com>
12595
12596         * libs/gst/base/gstbasesink.h:
12597         Only add fields, not insert or we break ABI.
12598
12599 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
12600
12601         * win32/common/libgstbase.def:
12602         * win32/common/libgstreamer.def:
12603           Update, add recently added functions.
12604
12605 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
12606
12607         * docs/gst/gstreamer-sections.txt:
12608         * gst/gstutils.c: (gst_pad_query_peer_position),
12609         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
12610         * gst/gstutils.h:
12611           API: add some new utility functions:
12612            - gst_pad_query_peer_position()
12613            - gst_pad_query_peer_duration()
12614            - gst_pad_query_peer_convert()
12615           
12616 2006-03-23  Wim Taymans  <wim@fluendo.com>
12617
12618         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12619         (gst_base_sink_init), (gst_base_sink_finalize),
12620         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
12621         (gst_base_sink_set_property), (gst_base_sink_get_property),
12622         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
12623         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
12624         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
12625         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
12626         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
12627         (gst_base_sink_preroll_object), (gst_base_sink_event),
12628         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
12629         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
12630         (gst_base_sink_query), (gst_base_sink_change_state):
12631         Decouple max-lateness and the fact that QoS messages are generated
12632         with a new property (qos).
12633         added API: GstBaseSink::async_play()
12634         Add vmethod so subclasses can be notified of ASYNC playing
12635         state changes.
12636         Collect timestamp start and stop to report better current
12637         position in EOS/PLAYING/PAUSED/READY/NULL.
12638         Refactor QoS/frame dropping and other measurements.
12639         API: GstBaseSrc::qos
12640         Fixes #326311
12641
12642         * libs/gst/base/gstbasesink.h:
12643         Added Private struct.
12644         API: gst_base_sink_set_qos_enabled()
12645         API: gst_base_sink_is_qos_enabled()
12646
12647 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
12648
12649         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
12650           If compiling against GLib-2.8 or newer, try to read the
12651           registry file using GMappedFile first before falling back
12652           to fopen() + fread() (#332151).
12653
12654 2006-03-22  Wim Taymans  <wim@fluendo.com>
12655
12656         * gst/gstinfo.c: (gst_debug_set_active),
12657         (gst_debug_category_set_threshold):
12658         Disable debugging unless explicitly activated.
12659         Fixes #335480.
12660
12661 2006-03-22  Wim Taymans  <wim@fluendo.com>
12662
12663         * gst/gstelement.c: (gst_element_set_locked_state),
12664         (gst_element_dispose):
12665         Cleanup the error case.
12666
12667         * gst/gstobject.c: (gst_object_dispose):
12668         print a critical when some object was disposed with
12669         a parent, also revive the object since it might
12670         crash the parent.
12671
12672 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
12673
12674         * tools/gst-launch.1.in:
12675           Fix another typo.
12676
12677 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
12678
12679         * configure.ac:
12680         * tests/check/Makefile.am:
12681           disable some tests when we don't have a registry
12682         * tests/check/gst/gstutils.c: (gst_utils_suite):
12683           don't build the part that needs parsing
12684
12685 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
12686
12687         * gst/Makefile.am
12688         * tests/examples/Makefile.am:
12689           fix --disable-parse build
12690
12691 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12692
12693         * tools/gst-feedback.1.in:
12694           Fix typo: s/feeback/feedback/ (#133494).
12695
12696 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12697
12698         * tools/Makefile.am:
12699         * tools/gst-launch.1.in:
12700           Add FILES section and correct entry about GST_REGISTRY_PATH
12701           environment variable (#133495; #133494).
12702
12703 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12704
12705         * tools/Makefile.am:
12706         * tools/gst-md5sum.1.in:
12707         * tools/gst-md5sum.c:
12708           Remove gst-md5sum and man page (the md5sink element
12709           required was removed ages ago)
12710
12711 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12712
12713         * gst/gststructure.c: (gst_structure_id_set_value):
12714           Make sure that string fields in structures/taglists
12715           contain valid UTF-8 - we don't want to pass rubbish to
12716           applications because of a buggy plugin (cp. #334167).
12717
12718 2006-03-21  Edward Hervey  <edward@fluendo.com>
12719
12720         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12721         (gst_bin_handle_message_func):
12722         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
12723         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
12724         (gst_element_set_bus_func):
12725         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
12726         * gst/gstminiobject.c: (gst_value_set_mini_object),
12727         (gst_value_take_mini_object):
12728         * gst/gstpad.c: (gst_pad_set_pad_template):
12729         * gst/gstpipeline.c: (gst_pipeline_dispose),
12730         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
12731         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
12732         (gst_collect_pads_chain):
12733         * libs/gst/net/gstnettimeprovider.c:
12734         (gst_net_time_provider_set_property):
12735         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
12736         It's in fact all issues with gst_*object_replace().
12737
12738 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12739
12740         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
12741         
12742         * pkgconfig/gstreamer-check-uninstalled.pc.in:
12743         * pkgconfig/gstreamer-check.pc.in:
12744           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
12745
12746 2006-03-21  Edward Hervey  <edward@fluendo.com>
12747
12748         * gst/gstbuffer.h:
12749         * gst/gstevent.h:
12750         * gst/gstmessage.h:
12751         gst_[buffer|event|message]_ref() macros are replaced by a static
12752         inline functions because gcc-4.1 will about if the return value
12753         isn't used.
12754         * tests/check/gst/gstevent.c: (event_probe):
12755         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
12756
12757 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
12758
12759         * gst/gstutils.h:
12760         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
12761         the type' case. (Closes: #335195 for now). In the future, when we
12762         depend on GLib 2.10, we could also intern the type name using
12763         g_intern_static_string()
12764
12765 2006-03-20  Wim Taymans  <wim@fluendo.com>
12766
12767         * gst/gstbin.c: (gst_bin_handle_message_func),
12768         (bin_query_max_init), (bin_query_position_fold),
12769         (bin_query_position_done), (gst_bin_query):
12770         Position query should also take max of all streams.
12771
12772 2006-03-20  Wim Taymans  <wim@fluendo.com>
12773
12774         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12775         (gst_fake_src_finalize):
12776         Fix leaks in fakesrc.
12777
12778         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
12779         Fix leaks in the testcase.
12780
12781 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
12782
12783         * gst/gst_private.h:
12784           add win32 specific import decoration(__declspec(dllimport)) 
12785           for all extern GstDebugCategory * variables
12786         * win32/common/libgstbase.def:
12787         * win32/common/libgstcontroller.def:
12788         * win32/common/libgstreamer.def:
12789           Add some exports, remove empty lines
12790         * win32/common/libgstdataprotocol.def:
12791         * win32/common/libgstdataprotocol.dsp:
12792         * win32/common/libgstnet.def:
12793         * win32/common/libgstnet.dsp:
12794           new project files and exportation files added
12795         
12796 2006-03-19  Wim Taymans  <wim@fluendo.com>
12797
12798         * tests/check/libs/basesrc.c: (eos_event_counter):
12799         Use proper return value for probe.
12800
12801 2006-03-17  Wim Taymans  <wim@fluendo.com>
12802
12803         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
12804         (gst_pad_push):
12805         Don't leak buffers, caps and pads on negotiation errors.
12806
12807 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
12808
12809         * docs/faq/cvs.xml:
12810         * docs/faq/dependencies.xml:
12811         * docs/faq/developing.xml:
12812         * docs/faq/faq.xml:
12813         * docs/faq/general.xml:
12814         * docs/faq/getting.xml:
12815         * docs/faq/legal.xml:
12816         * docs/faq/troubleshooting.xml:
12817         * docs/faq/using.xml:
12818         Faq review and update.
12819
12820 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
12821
12822         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
12823         (gst_pad_push):
12824         Don't pound the cpu to pieces by checking get_caps when accept_caps
12825         is called with the same caps as the pad already has.
12826         Use GST_DEBUG_OBJECT when outputting caps change information.
12827
12828 2006-03-15  Wim Taymans  <wim@fluendo.com>
12829
12830         * gst/gstclock.c: (gst_clock_class_init):
12831         Fix docs.
12832
12833 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
12834
12835         * gst/gstbuffer.h:
12836         Documentation fix.
12837
12838         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
12839         (gst_pad_accept_caps), (gst_pad_configure_sink),
12840         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
12841         Make the default acceptcaps behaviour be to check the requested 
12842         caps against the gst_pad_get_caps output. 
12843
12844         Ensure that gst_pad_accept_caps is used to check caps when a pad
12845         doesn't have a setcaps function, so that pads automatically refuse 
12846         caps that they don't allow in their pad template. (Fixes #332986)
12847
12848         When a buffer with attached caps is pushed, ensure that the source 
12849         pad receives those caps even if the element didn't call
12850         gst_pad_set_caps first.
12851
12852 2006-03-15  Wim Taymans  <wim@fluendo.com>
12853
12854         * libs/gst/base/gstadapter.c:
12855         Add some docs.
12856
12857 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
12858
12859         * win32/common/libgstbase.def:
12860         * win32/common/libgstcontroller.def:
12861         * win32/common/libgstreamer.def:
12862           Add a whole bunch of missing functions (#334434).
12863
12864 2006-03-14  Wim Taymans  <wim@fluendo.com>
12865
12866         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12867         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
12868         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
12869         Better debug info when we receive a segment event.
12870         Reorganize a bit so we can pass the get_times() results around.
12871         Use the segment format when calculating the running time.
12872         Don't do QoS is sync is disabled or we have no clock or the
12873         element does not want us to sync to the clock.
12874         Don't drop buffers if QoS is disabled for now.
12875
12876 2006-03-14  Wim Taymans  <wim@fluendo.com>
12877
12878         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
12879         Marked the stats property as unimplemented so people don't get
12880         wild ideas.
12881         Add debug message when regression goes wrong.
12882         Added some more docs.
12883
12884 2006-03-14  Wim Taymans  <wim@fluendo.com>
12885
12886         * gst/gstsegment.c: (gst_segment_to_stream_time):
12887         Return correct return type in case of errors.
12888
12889 2006-03-14  Wim Taymans  <wim@fluendo.com>
12890
12891         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
12892           Don't segfault on invalid formats.
12893
12894 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
12895
12896         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12897           Can't use gst_segment_to_running_time() when the segment
12898           is not in GST_TIME_FORMAT (like with filesink, for example).
12899           Stops flac encoding pipelines from spewing critical warnings
12900           at EOS (#331248).
12901           
12902 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
12903
12904         * gst/gstpipeline.c: (gst_pipeline_class_init):
12905           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
12906
12907         * plugins/elements/gsttypefindelement.c:
12908         (gst_type_find_element_handle_event):
12909           Don't try to typefind empty streams.
12910
12911 2006-03-14  Wim Taymans  <wim@fluendo.com>
12912
12913         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
12914         (gst_base_sink_do_qos):
12915         Separate QoS calculation.
12916         Only drop buffers when lateness is bigger than the 
12917         duration of the buffer.
12918
12919 2006-03-13  Wim Taymans  <wim@fluendo.com>
12920
12921         * gst/gstpipeline.c: (gst_pipeline_set_property),
12922         (gst_pipeline_get_property), (do_pipeline_seek),
12923         (gst_pipeline_change_state), (gst_pipeline_set_delay),
12924         (gst_pipeline_get_delay):
12925         Don't deadlock when reading properties.
12926
12927 2006-03-13  Wim Taymans  <wim@fluendo.com>
12928
12929         * libs/gst/base/gstbasetransform.c:
12930         (gst_base_transform_class_init), (gst_base_transform_init),
12931         (gst_base_transform_sink_event),
12932         (gst_base_transform_sink_eventfunc),
12933         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
12934         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
12935         (gst_base_transform_set_property),
12936         (gst_base_transform_get_property),
12937         (gst_base_transform_change_state), (gst_base_transform_update_qos),
12938         (gst_base_transform_set_qos_enabled),
12939         (gst_base_transform_is_qos_enabled):
12940         * libs/gst/base/gstbasetransform.h:
12941         Make basetransform virtual method for src events too.
12942         Handle QOS in basetransform.
12943         API: gst_base_transform_update_qos()
12944         API: gst_base_transform_set_qos_enabled()
12945         API: gst_base_transform_is_qos_enabled()
12946
12947 2006-03-13  Wim Taymans  <wim@fluendo.com>
12948
12949         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12950         (gst_base_sink_do_sync):
12951         Small cleanups.
12952         Use QOS debug category.
12953
12954 2006-03-13  Wim Taymans  <wim@fluendo.com>
12955
12956         * plugins/elements/gstqueue.c:
12957         Very small doc update.
12958
12959 2006-03-13  Wim Taymans  <wim@fluendo.com>
12960
12961         * gst/gst_private.h:
12962         * gst/gstinfo.c: (_gst_debug_init):
12963         Added QOS debug category
12964
12965 2006-03-13  Wim Taymans  <wim@fluendo.com>
12966
12967         * docs/gst/gstreamer-sections.txt:
12968         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
12969         * gst/gstbin.h:
12970         * gst/gstbus.c: (gst_bus_class_init):
12971         * gst/gstbus.h:
12972         * gst/gstclock.c:
12973         * gst/gstelement.c: (gst_element_set_locked_state):
12974         * gst/gstsegment.c:
12975         Documentation updates.
12976
12977         * gst/gstpipeline.c: (gst_pipeline_get_type),
12978         (gst_pipeline_class_init), (gst_pipeline_init),
12979         (gst_pipeline_dispose), (gst_pipeline_set_property),
12980         (gst_pipeline_get_property), (do_pipeline_seek),
12981         (gst_pipeline_send_event), (gst_pipeline_change_state),
12982         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
12983         (gst_pipeline_get_delay):
12984         * gst/gstpipeline.h:
12985         Added methods for setting the delay.
12986         API: gst_pipeline_set_delay()
12987         API: gst_pipeline_get_delay()
12988         Add pipeline debug category
12989         Various cleanups.
12990         Updated docs.
12991         Don't reset stream time when seek failed.
12992
12993 2006-03-13  Wim Taymans  <wim@fluendo.com>
12994
12995         * docs/design/draft-klass.txt:
12996         * docs/design/part-clocks.txt:
12997         * docs/design/part-events.txt:
12998         * docs/design/part-gstbin.txt:
12999         * docs/design/part-gstpipeline.txt:
13000         * docs/design/part-messages.txt:
13001         * docs/design/part-negotiation.txt:
13002         * docs/design/part-overview.txt:
13003         * docs/design/part-preroll.txt:
13004         * docs/design/part-seeking.txt:
13005         * docs/design/part-states.txt:
13006         * docs/design/part-streams.txt:
13007         Documentation updates.
13008
13009 2006-03-12  Julien MOUTTE  <julien@moutte.net>
13010
13011         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
13012         us to leak strings...
13013
13014 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13015
13016         * libs/gst/net/gstnettimeprovider.c:
13017           fix docs
13018         * win32/common/config.h:
13019           update
13020
13021 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
13022
13023         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
13024
13025         * configure.ac:
13026           Don't check for libgnomeui (leftover from old examples
13027           that aren't built or disted any longer) (#334303).
13028           
13029 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
13030
13031         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
13032         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
13033           Emit RESOURCE_NO_SPACE_LEFT error here as well when
13034           there's no space left on the device.
13035
13036 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
13037
13038         * gst/gstclock.h:
13039           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
13040           to cast the input to GstClockTime before comparing with
13041           another GstClockTime value.
13042
13043 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13044
13045         * configure.ac:
13046           back to trunk
13047
13048 === release 0.10.4 ===
13049
13050 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
13051
13052         * configure.ac:
13053           releasing 0.10.4, "Light"
13054
13055 2006-03-10  Michael Smith  <msmith@fluendo.com>
13056
13057         * libs/gst/dataprotocol/dataprotocol.c:
13058           Fix docs for dataprocotol to not get the return types completely
13059           wrong for a few functions.
13060
13061 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
13062
13063         * docs/gst/gstreamer-sections.txt:
13064         * gst/gstpipeline.c: (gst_pipeline_class_init),
13065         (gst_pipeline_init), (gst_pipeline_set_property),
13066         (gst_pipeline_get_property), (gst_pipeline_change_state),
13067         (gst_pipeline_set_auto_flush_bus),
13068         (gst_pipeline_get_auto_flush_bus):
13069         * gst/gstpipeline.h:
13070           Add new API: gst_pipeline_set_auto_flush_bus() and
13071           gst_pipeline_get_auto_flush_bus() to disable automatic
13072           flushing of the pipeline's GstBus when going from READY
13073           to NULL state (#332045).
13074
13075 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
13076
13077         * docs/gst/gstreamer-sections.txt:
13078         * gst/gsturi.c: (gst_uri_has_protocol):
13079         * gst/gsturi.h:
13080            Add new API: gst_uri_has_protocol() (#333779).
13081
13082 2006-03-09  Wim Taymans  <wim@fluendo.com>
13083
13084         * gst/gstclock.c: (gst_clock_entry_new),
13085         (gst_clock_id_compare_func), (gst_clock_id_wait),
13086         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
13087         (gst_clock_init), (gst_clock_get_internal_time),
13088         (gst_clock_set_master), (do_linear_regression),
13089         (gst_clock_add_observation), (gst_clock_set_property):
13090         * gst/gstclock.h:
13091         Review docs.
13092         Small cleanups.
13093         Fix a possible segfault when the window-size is made smaller.
13094         Calculate jitter before performing the clock wait. Ideally
13095         the clock implementation should calculate jitter but we need
13096         API breakage for that.
13097
13098         * gst/gstsystemclock.c: (gst_system_clock_init):
13099         Docs review.
13100         
13101         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13102         Remove leftover else
13103
13104         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
13105         (gst_systemclock_suite):
13106         Added check to test GST_CLOCK_DIFF.
13107
13108 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
13109
13110         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
13111         (gst_type_find_helper_get_range):
13112           If we are provided with the size, we should implement
13113           GstTypeFind::get_length, so that typefind functions who
13114           want to can actually peek at the middle of a file.
13115
13116 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
13117
13118         * docs/manual/advanced-dataaccess.xml:
13119           Add some very very basic error checking.
13120
13121         * docs/pwg/appendix-checklist.xml:
13122           Some updates to the list of things to check when writing an element.
13123
13124 2006-03-08  Wim Taymans  <wim@fluendo.com>
13125
13126         * docs/design/part-element-transform.txt:
13127         Added some docs about the design of tranform elements.
13128
13129         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13130         (gst_base_src_loop), (gst_base_src_change_state):
13131         Mark buffers with the DISCONT flag.
13132
13133 2006-03-08  Michael Smith  <msmith@fluendo.com>
13134
13135         * gst/gstregistry.h:
13136         * gst/gstregistryxml.c: (gst_registry_save),
13137         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
13138         (gst_registry_xml_save_pad_template),
13139         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
13140         (gst_registry_xml_write_cache):
13141           Rewrite registry-saving to avoid race conditions and check for
13142           failed writes.
13143
13144 2006-03-08  Wim Taymans  <wim@fluendo.com>
13145
13146         * libs/gst/base/gstbasetransform.c:
13147         (gst_base_transform_transform_caps),
13148         (gst_base_transform_transform_size),
13149         (gst_base_transform_prepare_output_buffer),
13150         (gst_base_transform_get_unit_size),
13151         (gst_base_transform_buffer_alloc),
13152         (gst_base_transform_handle_buffer),
13153         (gst_base_transform_change_state):
13154         Cleanups, separate normal flow from errors, add sensible
13155         DEBUG lines.
13156         Don't try to renegotiate when allocating an output buffer.
13157         Also copy DISCONT buffer flag when copying a buffer.
13158         Reset the transform after we finish streaming, not during.
13159
13160 2006-03-08  Wim Taymans  <wim@fluendo.com>
13161
13162         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13163         Use last buffer timestamp in qos message.
13164
13165 2006-03-07  Wim Taymans  <wim@fluendo.com>
13166
13167         Patch by: Christophe Fergeau
13168
13169         * docs/pwg/advanced-tagging.xml:
13170         * docs/pwg/building-pads.xml:
13171           fixes #333416
13172
13173 2006-03-07  Wim Taymans  <wim@fluendo.com>
13174
13175         * docs/libs/gstreamer-libs-sections.txt:
13176         Added basesink new methods.
13177
13178         * gst/gstevent.c:
13179         * gst/gstevent.h:
13180         Docs updates. Flesh out the QoS docs.
13181
13182         * libs/gst/base/gstadapter.c:
13183         Small doc clarification about ownership and flushing.
13184
13185         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
13186         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
13187         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
13188         (gst_base_sink_get_property), (gst_base_sink_do_sync):
13189         * libs/gst/base/gstbasesink.h:
13190         API additions: 
13191         Added new methods to allow subclass to control max-lateness 
13192         and sync.
13193         Generate very basic QoS events based on last sync observation.
13194         Updated docs, fix typo, added some QoS blurb.
13195
13196         * libs/gst/base/gstbasesrc.c:
13197         Remove obsolete _get_state() calls from docs.
13198
13199 2006-03-07  Wim Taymans  <wim@fluendo.com>
13200
13201         * docs/libs/gstreamer-libs-sections.txt:
13202         * libs/gst/base/gstbasetransform.h:
13203         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
13204         Fix docs for GstBaseSrc.
13205
13206 2006-03-07  Wim Taymans  <wim@fluendo.com>
13207
13208         * docs/gst/gstreamer-sections.txt:
13209         * gst/gstbuffer.h:
13210         * gst/gstvalue.c:
13211         * libs/gst/base/gstbasetransform.h:
13212         Small documentation fixes.
13213
13214 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
13215
13216         * gst/gstvalue.c:
13217           Document thread-unsafety of gst_value_register_foo_func()
13218           when used at the same time as gst_value_foo() (#322628).
13219
13220 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
13221
13222         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
13223         (gst_push_src_check_get_range):
13224           Push sources don't support pull mode by default.
13225
13226 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
13227
13228         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13229         (gst_base_src_init), (gst_base_src_pad_check_get_range),
13230         (gst_base_src_default_check_get_range):
13231         * libs/gst/base/gstbasesrc.h:
13232           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
13233           provide default implementation, and rename
13234           gst_base_src_check_get_range() to
13235           gst_base_src_pad_check_get_range() for clarity.
13236
13237 2006-03-06  Wim Taymans  <wim@fluendo.com>
13238
13239         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13240         Make property overridable.
13241
13242 2006-03-06  Wim Taymans  <wim@fluendo.com>
13243
13244         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
13245         (gst_base_sink_init), (gst_base_sink_set_property),
13246         (gst_base_sink_get_property), (gst_base_sink_do_sync):
13247         * libs/gst/base/gstbasesink.h:
13248         API addition: Make max-lateness a property.
13249
13250 2006-03-06  Wim Taymans  <wim@fluendo.com>
13251
13252         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
13253         (gst_base_sink_do_sync), (gst_base_sink_render_object):
13254         Don't ever draw a frame that is >10ms late.
13255
13256 2006-03-06  Michael Smith  <msmith@fluendo.com>
13257
13258         * gst/gstmessage.c: (_gst_message_copy):
13259           When copying a message, set the parent_refcount of the enclosed
13260           structure to point at the copy, not the original message.
13261
13262 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
13263
13264         Patch by: Christophe Fergeau
13265
13266         * gst/gstutils.h:
13267           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
13268           usable in c++ code (#333417)
13269
13270 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13271
13272         * gst/gstclock.h:
13273           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
13274
13275 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
13276
13277         * libs/gst/base/gstbasetransform.c:
13278         (gst_base_transform_transform_caps):
13279           Make sure caps are writable before passing them to
13280           gst_caps_append().
13281
13282 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
13283
13284         * gst/gsterror.h:
13285           Fix some minor docs errors.
13286
13287 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
13288
13289           Patch by: Ross Burton <ross at burtonini dot com>
13290
13291         * gst/gsterror.c: (_gst_resource_errors_init):
13292         * gst/gsterror.h:
13293           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
13294
13295 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
13296
13297         * gst/gst.c:
13298         Add a check and output a g_warning when GStreamer is built
13299         against GLib 2.6 but running against 2.8 or higher, and vice 
13300         versa. (Closes: #323542)
13301
13302 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
13303
13304         * gst/parse/parse.l:
13305           Commit patch for parse_launch syntax from #331255. Removes 
13306           support for quoted strings and mimetypes when writing filtered 
13307           caps. See the bug report for more details - I'm pretty sure this
13308           obscure feature is not in use by _anyone_ anywhere.
13309
13310           With this simple change, the size of the gstreamer.so here 
13311           drops from 2193KB to 1565KB.
13312
13313 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
13314
13315         * plugins/elements/gsttypefindelement.h:
13316         * plugins/elements/gsttypefindelement.c:
13317         (gst_type_find_element_src_event), (start_typefinding),
13318         (stop_typefinding), (gst_type_find_element_handle_event),
13319         (gst_type_find_element_chain),
13320         (gst_type_find_element_chain_do_typefinding):
13321           Use gst_type_find_helper_for_buffer() for chain-based
13322           typefinding.
13323
13324 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
13325
13326         * plugins/elements/gsttypefindelement.c:
13327         (gst_type_find_element_class_init),
13328         (gst_type_find_element_set_property),
13329         (gst_type_find_element_get_property):
13330           Deprecate "maximum" property (not only was it only taken into
13331           account for typefinding in push-mode anyway, it also was never
13332           actually possible to set it in the first place because the
13333           property was registered with the numeric property ID for the
13334           "minimum" property). Register "maximum" property correctly,
13335           for the sake of future copy'n'pasters. Remove some cruft
13336           from property get/set functions.
13337
13338 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
13339
13340         * plugins/elements/gsttypefindelement.c:
13341         (gst_type_find_element_activate):
13342           Use gst_type_find_helper_get_range() here, so we
13343           can honour the "minimum" property and also emit
13344           the signal with the correct probability of the found caps.
13345
13346 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
13347
13348         * docs/libs/gstreamer-libs-sections.txt:
13349         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
13350         (helper_find_suggest), (gst_type_find_helper_get_range),
13351         (gst_type_find_helper):
13352         * libs/gst/base/gsttypefindhelper.h:
13353           New API: gst_type_find_helper_get_range() (#333042).
13354
13355 2006-03-02  Michael Smith  <msmith@fluendo.com>
13356
13357         * gst/gstregistryxml.c: (load_feature):
13358           Asserting on a failure to read part of the registry is Not Cool.
13359           Just log a warning and return NULL (which is already handled)
13360
13361 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
13362
13363         * win32/common/libgstbase.def:
13364           added export of gst_type_find_helper_for_buffer
13365         * win32/common/libgstbase.def:
13366           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
13367           gst_ghost_pad_get_target
13368
13369 2006-02-28  Wim Taymans  <wim@fluendo.com>
13370
13371         * docs/design/draft-klass.txt:
13372         We use Filter now.
13373         Added Connector to mark elements that are only used to
13374         allow pipeline connections.
13375         Moved Debug to extra feature since most of them are 
13376         functionally something else.
13377
13378 2006-02-28  Wim Taymans  <wim@fluendo.com>
13379
13380         * docs/design/draft-klass.txt:
13381         Some updates and clarifications.
13382
13383 2006-02-28  Wim Taymans  <wim@fluendo.com>
13384
13385         * docs/design/draft-klass.txt:
13386         Proposal for klass field values.
13387
13388         * docs/design/part-streams.txt:
13389         Start of a doc describing stream anatomy.
13390
13391 2006-02-28  Wim Taymans  <wim@fluendo.com>
13392
13393         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
13394         Help the compiler a bit with type registration.
13395         Use existing forward cod path instead of duplicating it when 
13396         handling a message.
13397         
13398         * gst/gstbus.c: (gst_bus_get_type):
13399         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
13400         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
13401         * gst/gstclock.c: (gst_clock_get_type):
13402         * gst/gstelement.c: (gst_element_get_type),
13403         * gst/gstelementfactory.c: (gst_element_factory_get_type):
13404         * gst/gstindexfactory.c: (gst_index_factory_get_type):
13405         * gst/gstminiobject.c: (gst_mini_object_get_type):
13406         * gst/gstpad.c: (gst_pad_get_type):
13407         * gst/gstsegment.c: (gst_segment_get_type):
13408         * gst/gststructure.c: (gst_structure_get_type):
13409         * gst/gstsystemclock.c: (gst_system_clock_get_type):
13410         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
13411         * gst/gstvalue.c:
13412         Help compiler with type registration.
13413
13414         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
13415         Small doc update.
13416
13417 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
13418
13419         * plugins/elements/gsttypefindelement.c:
13420         (gst_type_find_element_handle_event):
13421           When we get an EOS event and have not found a type yet
13422           (most likely because we had not yet accumulated
13423           TYPE_FIND_MIN_SIZE of data yet), try to determine the
13424           type given the data we have so far. Fixes typefinding
13425           for very short streams again, most notably quicktime
13426           redirections as used on Apple's trailer site (#331701).
13427
13428 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
13429
13430         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
13431         (gst_type_find_helper):
13432           Try typefinding factories with the highest rank first.
13433
13434 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
13435
13436         * docs/libs/gstreamer-libs-docs.sgml:
13437         * docs/libs/gstreamer-libs-sections.txt:
13438         * libs/gst/base/gsttypefindhelper.c:
13439           Add section for typefind helper and add documentation
13440           for the old and the new function.
13441
13442 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
13443
13444         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
13445         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
13446         (gst_type_find_helper_for_buffer):
13447         * libs/gst/base/gsttypefindhelper.h:
13448           New API: gst_type_find_helper_for_buffer() (#332723).
13449           
13450 2006-02-27  Michael Smith  <msmith@fluendo.com>
13451
13452         Patch by: Loïc Minier
13453
13454         * configure.ac:
13455         * docs/Makefile.am:
13456         * docs/slides/Makefile.am:
13457           prevent CVS directories getting disted.
13458
13459 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
13460
13461         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
13462           Use the REFCOUNTING category for caps refcounting.
13463           
13464 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
13465
13466         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
13467           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
13468
13469 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
13470
13471         * plugins/elements/gsttypefindelement.c:
13472         (gst_type_find_element_activate):
13473           Use gst_pad_check_pull_range() before _activate_pull()
13474           to avoid unnecessary open/close (see #331690).
13475
13476 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
13477
13478         * gst/gstutils.c:
13479           Docs enhancement: make it crystal clear what the
13480           gst_pad_add_*_probe() callbacks should look like.
13481
13482 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
13483
13484         * libs/gst/base/gstbasesrc.c:
13485           Document how applications can stop recording from
13486           live sources (see #330996).
13487
13488 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
13489
13490         * tests/check/Makefile.am:
13491         * tests/check/libs/basesrc.c: (eos_event_counter),
13492         (basesrc_eos_events_pull), (basesrc_eos_events_push),
13493         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
13494         (gst_basesrc_suite), (main):
13495           ... and add some tests for the base source EOS stuff.
13496
13497 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
13498
13499         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
13500           Test case originally showed the problem fixed below,
13501           but was then amended. Add checks back at the place
13502           where they used to be.
13503
13504 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
13505
13506         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13507         (gst_base_src_init), (gst_base_src_loop),
13508         (gst_base_src_activate_push), (gst_base_src_activate_pull),
13509         (gst_base_src_change_state):
13510         * libs/gst/base/gstbasesrc.h:
13511           Don't unconditionally send EOS when going from PAUSED to
13512           READY state, esp. make sure we don't send two EOS events
13513           in some cases (e.g. one when reaching EOS and one when
13514           going from PAUSED to READY). Also, we don't want to send
13515           EOS events when operating in pull mode. However, we do
13516           want to send an EOS event when shutting down a live
13517           source explicitly, for example (fixes #330996).
13518           
13519 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
13520
13521         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13522           Update src->read_position after a seek when not using mmap.
13523           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
13524
13525 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
13526
13527         * gst/Makefile.am:
13528         * gst/gstparse.h:
13529         * gst/gstutils.c:
13530         * gst/gstutils.h:
13531         Make things work with --disable-parse as they do with 
13532         --disable-load-save - the symbols involved disappear, but the
13533         header is still installed and GST_DISABLE_PARSE is included via
13534         gstconfig.h
13535
13536 2006-02-20  Julien MOUTTE  <julien@moutte.net>
13537
13538         * libs/gst/base/gstbasetransform.c:
13539         (gst_base_transform_change_state): Fix a stupid bug. I was 
13540         sure I compiled that.
13541
13542 2006-02-20  Julien MOUTTE  <julien@moutte.net>
13543
13544         * gst/gstpad.c: (gst_pad_set_blocked_async):
13545         * gst/gstutils.c: (gst_pad_add_data_probe),
13546         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13547         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13548         (gst_pad_remove_buffer_probe): Make those function act on the
13549         ghostpad target when it's a ghostpad. (Closes #331727)
13550
13551 2006-02-20  Julien MOUTTE  <julien@moutte.net>
13552
13553         * libs/gst/base/gstbasetransform.c:
13554         (gst_base_transform_change_state): Make basetransform reusable.
13555         (Closes #331898)
13556
13557 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
13558
13559         * docs/random/release:
13560         Move the current documentation of how to do a release to the top
13561         of the file.
13562
13563         * gst/gstbin.c: (gst_bin_class_init),
13564         (gst_bin_handle_message_func):
13565         Allow multiple state-recalculation threads. (Closes #328873)
13566
13567 2006-02-19  Julien MOUTTE  <julien@moutte.net>
13568
13569         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
13570         * gst/gstpad.c: (gst_pad_set_event_function),
13571         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13572         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
13573         2 strings. You can't use the STR_NULL macro on that.
13574
13575 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
13576
13577         * gst/gstpad.c: (gst_pad_set_event_function),
13578         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13579         (gst_pad_set_getcaps_function)
13580         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
13581           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
13582           So now, we can use --gst-debug-level=5 on Windows
13583         * win32/common/libgstcontroller.def:
13584           Added export of gst_controller_init
13585         * win32/vs6/libgstcontroller.dsp:
13586           Fixed Release post build configuration
13587
13588 2006-02-17  Wim Taymans  <wim@fluendo.com>
13589
13590         * tests/check/gst/gstquery.c: (GST_START_TEST):
13591         Added another check.
13592
13593 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
13594
13595         * plugins/elements/gsttypefindelement.c: (find_peek):
13596           We can do peeks at non-zero offsets, as long as they
13597           fall within the buffer we have.
13598
13599 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
13600
13601         * tests/check/Makefile.am:
13602         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
13603         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
13604         (parse_suite), (main):
13605           Add testsuite for parse launch syntax
13606
13607 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
13608
13609         * plugins/elements/gsttypefindelement.c:
13610         (gst_type_find_element_chain):
13611           When typefinding is unsuccessful in the chain function, don't
13612           error out immediately. Only error out with NO_CAPS_FOUND if
13613           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
13614           otherwise simply wait for more data so we can try typefinding
13615           again with more data later. Also, don't attempt to typefind
13616           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
13617           this should improve typefinding from network sources where the
13618           size of the first buffer can be somewhat random.
13619
13620 2006-02-14  Wim Taymans  <wim@fluendo.com>
13621
13622         * docs/gst/gstreamer-sections.txt:
13623         * gst/gstpadtemplate.c:
13624         * gst/gstpadtemplate.h:
13625         Fix padtemplate docs, fixes #328805.
13626
13627 2006-02-14  Wim Taymans  <wim@fluendo.com>
13628
13629         * tools/gst-launch.c: (main):
13630         NO_PREROLL is not an ERROR so don't send confusing messages
13631         to the user.
13632
13633 2006-02-14  Wim Taymans  <wim@fluendo.com>
13634
13635         Patch by: Torsten Schoenfeld
13636
13637         * gst/gstregistry.c: (gst_registry_get_default),
13638         (_gst_registry_cleanup):
13639         Protect default registry with lock and ref/sink it.
13640         Fixes #324818
13641
13642 2006-02-14  Wim Taymans  <wim@fluendo.com>
13643
13644         * gst/gstbuffer.c:
13645         * gst/gstquery.c: (gst_query_list_add_format),
13646         (gst_query_set_formatsv), (gst_query_parse_formats_length),
13647         (gst_query_parse_formats_nth):
13648         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13649         Docs fixes.
13650
13651 2006-02-14  Wim Taymans  <wim@fluendo.com>
13652
13653         * docs/gst/gstreamer-sections.txt:
13654         Reworked query docs.
13655
13656         * gst/gstquery.c: (gst_query_new_formats),
13657         (gst_query_list_add_format), (gst_query_set_formats),
13658         (gst_query_set_formatsv), (gst_query_parse_formats_length),
13659         (gst_query_parse_formats_nth):
13660         * gst/gstquery.h:
13661         Flesh out formats query, added some new methods.
13662         Fix part of #324398.
13663
13664         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
13665         Added query creation tests.
13666
13667 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
13668
13669         * gst/gstpad.c: (fixate_value):
13670         Add a default fixation for fraction lists.
13671
13672 2006-02-13  Wim Taymans  <wim@fluendo.com>
13673
13674         * gst/gsttask.c: (gst_task_init), (gst_task_func),
13675         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
13676         (gst_task_join):
13677         * gst/gsttask.h:
13678         Detect and warn for obvious deadlocks. fixes #320340
13679         Fix error case where lock was not released.
13680
13681         * tests/check/Makefile.am:
13682         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
13683         (task_func), (gst_element_suite), (main):
13684         Add task check.
13685
13686 2006-02-13  Wim Taymans  <wim@fluendo.com>
13687
13688         * docs/gst/gstreamer-sections.txt:
13689         * gst/gstbus.c:
13690         Add new functions to docs.
13691
13692 2006-02-13  Wim Taymans  <wim@fluendo.com>
13693
13694         * docs/design/part-TODO.txt:
13695         Updated TODO list, basesrc supports seeking to non-bytes
13696         formats.
13697
13698         * docs/design/part-element-sink.txt:
13699         Update docs.
13700
13701         * gst/gstbin.c: (bin_replace_message),
13702         (gst_bin_handle_message_func):
13703         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
13704         * gst/gstevent.c: (gst_event_finalize):
13705         * gst/gstpad.c: (gst_pad_event_default_dispatch),
13706         (gst_pad_send_event):
13707         Use shiny new _TYPE_NAME macros.
13708
13709         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
13710         Move debug statement up.
13711
13712         * gst/gstelement.c: (gst_element_set_locked_state):
13713         Add some debugging.
13714
13715 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
13716
13717         * docs/gst/gstreamer-sections.txt:
13718         * gst/gstmessage.h:
13719         * gst/gstquery.h:
13720           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
13721           macros (#330906). Also, document the already existing
13722           GST_QUERY_TYPE macro.
13723
13724 2006-02-13  Wim Taymans  <wim@fluendo.com>
13725
13726         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
13727         (event_probe), (GST_START_TEST):
13728         Only events up to the pipeline EOS are counted, there are
13729         some more when going to NULL currently which we don't care
13730         about for now.
13731
13732 2006-02-13  Wim Taymans  <wim@fluendo.com>
13733
13734         * gst/gstpad.c: (gst_pad_send_event):
13735         Correctly check flushing and emit probes. fixes #330125
13736
13737 2006-02-10  Andy Wingo  <wingo@pobox.com>
13738
13739         * gst/gstbus.c (gst_bus_class_init): Declare our private data
13740         structure.
13741         (gst_bus_init): Cache the location of the private data in the
13742         instance structure.
13743         (gst_bus_enable_sync_message_emission) 
13744         (gst_bus_disable_sync_message_emission): Implement new public
13745         functions.
13746         (gst_bus_post): Emit the sync-message signal if the user asked for
13747         it. Fixes #330684.
13748
13749         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
13750         location of the bus-private structure.
13751         (gst_bus_enable_sync_message_emission)
13752         (gst_bus_disable_sync_message_emission): API addition
13753
13754 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
13755
13756         Patch by: Vincent Torri
13757
13758         * docs/pwg/building-boiler.xml:
13759         PWG patch from #326800
13760
13761 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
13762
13763         * configure.ac:
13764         * docs/Makefile.am:
13765         * docs/design/Makefile.am:
13766           Dist design docs.
13767
13768 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
13769
13770         * configure.ac:
13771           back to CVS
13772
13773 === release 0.10.3 ===
13774
13775 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
13776
13777         * configure.ac:
13778           releasing 0.10.3, "Like a virgin"
13779
13780 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
13781
13782         * configure.ac:
13783           2nd prerelease of 0.10.3
13784           Bump libtool versioning.
13785
13786 2006-02-07  Andy Wingo  <wingo@pobox.com>
13787
13788         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
13789         update last_stop if we're in TIME format and the timestamp is
13790         valid.
13791
13792         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
13793         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
13794         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
13795         If we get a new newsegment with a different format, adapt
13796         accordingly.
13797
13798         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
13799         of 0. Not a problem, really.
13800
13801         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
13802         warn if sync=true.
13803
13804 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
13805
13806         * configure.ac:
13807           Prelease of 0.10.3
13808
13809 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
13810
13811         * win32/vs7:
13812           project files updated to the default vs7 configuration
13813         * win32/common/libgstbase.def:
13814         * win32/common/libgstreamer.def:
13815           added new symbols,
13816           removed empty lines,
13817           sorted all exported symbols alphabetically
13818         * win32/common/dirent.c:
13819         * win32/common/dirent.h:
13820         * win32/common/gchar.h:
13821           use windows line end.
13822           
13823 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
13824
13825         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13826           Send EOS event when stopping.
13827
13828 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
13829
13830         * docs/README:
13831           Tell folks what to do if the plugin-foobar.xml file
13832           hasn't been generated for a newly-added plugin.
13833
13834 2006-02-05  Julien MOUTTE  <julien@moutte.net>
13835
13836         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13837         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13838         (gst_collect_pads_start), (gst_collect_pads_stop),
13839         (gst_collect_pads_event): Collectpads now holds a reference
13840         to the GstPad that was added. Indeed we don't want to look
13841         at pads that might just go away with no warning...
13842
13843 2006-02-05  Julien MOUTTE  <julien@moutte.net>
13844
13845         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
13846         (gst_collect_pads_start), (gst_collect_pads_stop),
13847         (gst_collect_pads_event), (gst_collect_pads_chain):
13848         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
13849         Mark Nauwelaerts's patch on bug #328491.
13850
13851 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
13852
13853         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
13854         (gst_utils_suite):
13855           Add some simple tests for gst_parse_bin_from_description() and
13856           gst_bin_find_unconnected_pad() (#329069).
13857
13858 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
13859
13860         * tools/gst-launch.c: (event_loop), (main):
13861           Catch errors during preroll (#320084).
13862
13863 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
13864
13865         * plugins/elements/gsttypefindelement.c:
13866         (gst_type_find_element_activate):
13867           Post TYPE_NOT_FOUND error message when typefinding
13868           is unsuccessful in the activate function as well.
13869
13870 2006-02-02  Wim Taymans  <wim@fluendo.com>
13871
13872         * docs/design/part-element-sink.txt:
13873         Updated doc.
13874
13875 2006-02-02  Wim Taymans  <wim@fluendo.com>
13876
13877         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
13878         (gst_base_sink_render_object),
13879         (gst_base_sink_queue_object_unlocked):
13880         Only keep track of prerollable items when we are 
13881         prerolling.
13882         Before rendering after preroll, always check if we
13883         have queued items.
13884         Added some more debugging.
13885
13886 2006-02-02  Wim Taymans  <wim@fluendo.com>
13887
13888         * gst/gstelement.c: (gst_element_continue_state),
13889         (gst_element_set_state_func), (gst_element_change_state):
13890         Fixed #326576, been running this for quite some time with
13891         no regressions at all.
13892
13893 2006-02-02  Wim Taymans  <wim@fluendo.com>
13894
13895         * common/gst.supp:
13896         Added more suppressions
13897
13898 2006-02-02  Wim Taymans  <wim@fluendo.com>
13899
13900         * docs/design/part-element-sink.txt:
13901         Updated document.
13902
13903         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13904         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
13905         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
13906         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
13907         (gst_base_sink_do_sync), (gst_base_sink_render_object),
13908         (gst_base_sink_preroll_object),
13909         (gst_base_sink_queue_object_unlocked),
13910         (gst_base_sink_queue_object), (gst_base_sink_event),
13911         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
13912         (gst_base_sink_loop), (gst_base_sink_activate_pull),
13913         (gst_base_sink_get_position), (gst_base_sink_change_state):
13914         * libs/gst/base/gstbasesink.h:
13915         Totally refactored matching the design doc.
13916         Use two segments, one to clip incomming buffers and another to
13917         perform sync.
13918         Handle queueing correctly, bypass the queue when playing.
13919         Make EOS cancelable.
13920         Handle errors correctly when operating in pull based mode.
13921
13922         * tests/check/elements/fakesink.c: (GST_START_TEST),
13923         (fakesink_suite):
13924         Added new check for sinks.
13925
13926 2006-02-02  Wim Taymans  <wim@fluendo.com>
13927
13928         * gst/gstsegment.c: (gst_segment_clip):
13929         No reason to refuse to clip when start == -1
13930
13931 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
13932
13933         * docs/README:
13934         * docs/manual/intro-basics.xml:
13935         * docs/manual/intro-preface.xml:
13936         * docs/manual/manual.xml:
13937         * docs/pwg/advanced-dparams.xml:
13938         * docs/pwg/intro-basics.xml:
13939         * docs/pwg/intro-preface.xml:
13940         * docs/pwg/pwg.xml:
13941           describe dparams (controller) for plugins
13942           unify docs a little more
13943
13944 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
13945
13946         * docs/gst/gstreamer-sections.txt:
13947         * gst/gstutils.c: (element_find_unconnected_pad),
13948         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
13949         * gst/gstutils.h:
13950           Add new API: gst_parse_bin_from_description() and
13951           gst_bin_find_unconnected_pad() (#329069).
13952
13953 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
13954
13955         * docs/manual/README:
13956           uncover a nasty detail of the docs build
13957
13958 2006-01-31  Wim Taymans  <wim@fluendo.com>
13959
13960         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
13961         Don't cache duration messages if we're not going to use or
13962         free them.
13963
13964 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
13965
13966         * docs/manual/advanced-dparams.xml:
13967         * docs/pwg/advanced-dparams.xml:
13968           more dparam docs
13969         * gst/gstindex.c:
13970           fix docs
13971         * libs/gst/controller/lib.c: (gst_controller_init):
13972           init just once
13973
13974 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
13975
13976         * gst/gstelement.c: (gst_element_message_full):
13977           also show file/line/func if no additional debug was given
13978
13979 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
13980         
13981         * win32/vs7/grammar.vcproj:
13982           activate copy of autogenerated files for Release mode
13983
13984 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
13985         
13986         * win32/common/libgstreamer.def:
13987           export gst_value_compare
13988
13989 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
13990
13991         * plugins/elements/Makefile.am:
13992         * plugins/elements/gstelements.c:
13993         * plugins/elements/gstfdsink.c: (_do_init),
13994         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
13995         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
13996         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
13997         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
13998         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
13999         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
14000         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
14001         * plugins/elements/gstfdsink.h:
14002         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
14003
14004 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
14005
14006         * docs/manual/advanced-dparams.xml:
14007           describe controller
14008         * docs/manual/advanced-position.xml:
14009         * docs/manual/basics-init.xml:
14010         * docs/manual/manual.xml:
14011         * docs/manual/titlepage.xml:
14012         * docs/pwg/pwg.xml:
14013         * docs/pwg/titlepage.xml:
14014           cleanup xml (more to come)
14015         * libs/gst/controller/gstcontroller.c:
14016           fix typo
14017
14018 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
14019         
14020         * win32/vs6/grammar.dsp:
14021           add autogen of gstmarshal.c,h for Release mode
14022                 
14023 2006-01-30  Wim Taymans  <wim@fluendo.com>
14024
14025         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14026         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
14027         (gst_base_sink_handle_object), (gst_base_sink_event),
14028         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
14029         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14030         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
14031         (gst_base_sink_deactivate), (gst_base_sink_activate),
14032         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
14033         (gst_base_sink_query), (gst_base_sink_change_state):
14034         Basesink cleanups, remove some old code.
14035         Handle the case where a subclass can preroll in the render
14036         method (mostly audiosinks).
14037         Handle more events.
14038         Remove some locks around variables that are now protected
14039         with the PREROLL_LOCK (clock_id, flushing, ..).
14040         Optimize position query some more, do correct locking.
14041         Remove old code to push queue in state change, this is not
14042         needed anymore since preroll blocks on all prerollable items 
14043         now.
14044         Almost implemented as described in design doc.
14045
14046 2006-01-30  Wim Taymans  <wim@fluendo.com>
14047
14048         * tests/check/gst/gstbin.c: (GST_START_TEST):
14049         Wait for refcount to settle down before checking.
14050
14051 2006-01-30  Wim Taymans  <wim@fluendo.com>
14052
14053         * docs/design/part-element-sink.txt:
14054         Pseudo code overview of desired sink behaviour regarding
14055         preroll.
14056
14057 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
14058         * win32/vs6/grammar.dsp:
14059           fix some bugs in Release mode for autogenerated files
14060                 
14061 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
14062         * win32/common/libgstbase.def:
14063         * win32/common/libgstreamer.def:
14064           export some new symbols: gst_base_src_set_format,
14065           gst_iterator_next, gst_structure_set_valist
14066
14067 2006-01-29  Julien MOUTTE  <julien@moutte.net>
14068
14069         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
14070         Set pad functions unconditionally. Fixes #329105.
14071
14072 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
14073         * win32/vs8:
14074           add vs8 project files created by Sergey Scobich
14075
14076 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
14077
14078         * gst/gstutils.c: (gst_element_unlink_pads):
14079         Don't leak pad references.
14080
14081         * tests/check/elements/fakesink.c: (GST_START_TEST):
14082         * tests/check/generic/sinks.c: (GST_START_TEST):
14083         * tests/check/generic/states.c: (GST_START_TEST):
14084         * tests/check/gst/gstbin.c: (GST_START_TEST):
14085         * tests/check/gst/gstcaps.c: (GST_START_TEST):
14086         * tests/check/gst/gstelement.c: (GST_START_TEST):
14087         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14088         * tests/check/gst/gstiterator.c: (GST_START_TEST):
14089         * tests/check/gst/gstvalue.c: (GST_START_TEST):
14090         Fix a bunch of leaks. Make generic/sinks.c
14091         use a bit less cpu by slowing the buffer rate
14092         between fakesrc and fakesink.
14093         
14094 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
14095         * gst/gstcaps.c:
14096         * gst/gstelement.c: (gst_element_send_event):
14097         * gst/gstevent.c:
14098         * gst/gstinfo.c:
14099         * gst/gstiterator.c:
14100         * gst/gstiterator.h:
14101         * gst/gstpad.c: (gst_pad_send_event):
14102         * gst/gststructure.c:
14103         * gst/gsturi.c:
14104         * gst/gstutils.c:
14105         * gst/gstvalue.c:
14106         * libs/gst/base/gstadapter.c:
14107           doc fixes, to link to function, just write gst_cool_function(), don't
14108           prefix with '#'
14109
14110 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
14111
14112         * plugins/elements/gsttee.c: (gst_tee_do_push),
14113         (gst_tee_handle_buffer):
14114         Always prefer an actual return value from a src
14115         pad in place of NOT_LINKED. This means we return
14116         WRONG_STATE when all src pads are WRONG_STATE
14117         instead of NOT_LINKED.
14118
14119         Lock when replacing the last message to prevent
14120         racing with the get_property method.
14121
14122         Add debug output
14123
14124 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
14125
14126         * tests/check/Makefile.am:
14127         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
14128         (main):
14129         Add a very simple check that should have caught the memleak I fixed
14130         last night (if not for the slice allocator hiding it)
14131
14132 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
14133
14134         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14135         (gst_bin_remove_func), (gst_bin_handle_message_func),
14136         (bin_query_duration_fold), (bin_query_generic_fold):
14137         Clean up references to the clock provider when disposed or when
14138         handling a clock-lost message from it.
14139
14140         Unref sinks when performing a query via gst_iterator_fold, as the
14141         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
14142
14143         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
14144         (gst_clock_set_master):
14145         Drop our reference to the master clock, if any, when we are disposed.
14146
14147         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
14148         Chain up in dispose. 
14149
14150 2006-01-26  Wim Taymans  <wim@fluendo.com>
14151
14152         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
14153         Add some debugging.
14154
14155 2006-01-26  Julien MOUTTE  <julien@moutte.net>
14156
14157         * plugins/elements/gsttee.c: (gst_tee_do_push),
14158         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
14159         handles pad being NOT_LINKED or in WRONG_STATE.
14160
14161 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
14162
14163         * win32/MANIFEST:
14164           more updating
14165
14166 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
14167
14168         * win32/MANIFEST:
14169           remove obsolete entry
14170
14171 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
14172
14173         * docs/gst/gstreamer-sections.txt:
14174         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
14175         (gst_bin_iterate_sources), (gst_bin_send_event):
14176         * gst/gstbin.h:
14177         * gst/gstelement.c: (gst_element_send_event):
14178         * gst/gstevent.c:
14179         * gst/gstpad.c: (gst_pad_send_event):
14180           added code for downstream events, reviewed docs in gstevent.c
14181
14182 2006-01-25  Julien MOUTTE  <julien@moutte.net>
14183
14184         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14185         We only query position using the clock in the playing state.
14186         Query peer in the other cases.
14187         * win32/common/config.h: Updates.
14188
14189 2006-01-24  Wim Taymans  <wim@fluendo.com>
14190
14191         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14192         A clock entry that is scheduled for the exact time of the
14193         clock is still in time.
14194
14195         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14196         (gst_base_sink_do_sync):
14197         Add some more debug info.
14198
14199 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
14200
14201         * win32/vs7:
14202           Add new vs7 project files and solution.
14203
14204 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
14205
14206         * win32/vs7:
14207           all files removed as they were out-dated.
14208
14209 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14210
14211         * docs/random/release:
14212           update notes
14213         * gst/gstbin.c: (gst_bin_init):
14214         * gst/gstbus.c: (gst_bus_new):
14215         * gst/gstbus.h:
14216         * gst/gstpipeline.c: (gst_pipeline_init):
14217           use gst_bus_new(), improve logging, fix docs
14218         * win32/common/config.h:
14219           update for cvs build
14220
14221 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14222
14223         * autogen.sh:
14224           up required version of automake to 1.7
14225
14226 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
14227
14228         * win32/common/libgstreamer.def:
14229           export gst_buffer_is_metadata_writable
14230
14231 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
14232
14233         * docs/gst/gstreamer-sections.txt:
14234         * gst/gstevent.h:
14235           Add gst_event_replace() (#327001)
14236
14237 2006-01-20  Wim Taymans  <wim@fluendo.com>
14238
14239         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
14240         Make it actually compile too..
14241
14242 2006-01-20  Wim Taymans  <wim@fluendo.com>
14243
14244         * gst/gstcaps.c:
14245         Clarify behaviour of _is_equal() when passing NULL parameters.
14246
14247         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
14248         (gst_pad_set_caps):
14249         Cleanups. Don't unref NULL caps.
14250         When setting the same caps, protect caps of the pad with
14251         proper lock.
14252         Use full functionality of _is_equal() when comparing caps.
14253
14254 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
14255
14256         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14257         Don't loop infinitely if there are no buffers to present. Partially
14258         fixes #327197, but collectpads is just broken for reusing elements
14259         to do multiple encodes atm.
14260
14261 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
14262
14263         * tools/gst-inspect.c: (print_element_features):
14264         * tools/gst-xmlinspect.c: (main):
14265         URL_HANDLER is not a plugin feature we can search for in
14266         the registry.
14267
14268 2006-01-19  Edward Hervey  <edward@fluendo.com>
14269
14270         * gst/gstelement.c: (gst_element_pads_activate): 
14271         When activating, do src pads first, then sink pads.
14272         When de-activating, do sink pads first, then src pads.
14273
14274 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
14275
14276         * docs/gst/gstreamer-sections.txt:
14277         Add gst_index_add_associationv to the docs
14278
14279 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
14280
14281         * gst/gstevent.c:
14282           Fix docs typo
14283
14284         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
14285         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
14286           Do some refactoring. Doesn't actually change functionality,
14287           but makes landing the DRAIN event easier later.
14288
14289 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
14290
14291         * docs/pwg/advanced-scheduling.xml:
14292           Update from 0.9.x to 0.10 API and make example a bit
14293           clearer.
14294
14295 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
14296
14297         * docs/gst/gstreamer-sections.txt:
14298         Add gst_buffer_(is|make)_metadata_writable methods.
14299
14300 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
14301
14302         * docs/design/part-sparsestreams.txt:
14303         Update sparse streams doc, hopefully for greater clarity
14304
14305 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
14306
14307         * docs/design/part-events.txt:
14308         Remove mention of FILLER events.
14309         Add DRAIN event.
14310
14311         * docs/design/part-sparsestreams.txt:
14312         Write some things about using NEWSEGMENT to keep sparse streams
14313         flowing.
14314
14315 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
14316
14317         * gst/gstbin.c: (gst_bin_dispose):
14318           Guard gst_object_unref call against a NULL object (dispose
14319           can theoretically be called multiple times).
14320           
14321 2006-01-18  Wim Taymans  <wim@fluendo.com>
14322
14323         * gst/gstbin.c: (gst_bin_element_set_state):
14324         * gst/gstclock.c: (gst_clock_id_wait):
14325         Added some more debug info.
14326
14327         * libs/gst/base/gstadapter.c:
14328         Added more docs.
14329
14330         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14331         (gst_base_sink_do_sync), (gst_base_sink_chain):
14332         Added some comments.
14333
14334 2006-01-18  Wim Taymans  <wim@fluendo.com>
14335
14336         * tests/check/Makefile.am:
14337         * tests/check/elements/fakesink.c: (chain_async_buffer),
14338         (chain_async), (chain_async_return), (GST_START_TEST),
14339         (fakesink_suite), (main):
14340         Added fakesink test that checks prerolling and clipping
14341         behaviour.
14342
14343         * tests/check/gst/gstutils.c: (GST_START_TEST):
14344         Make check run faster so that buildbots don't timeout.
14345
14346 2006-01-18  Wim Taymans  <wim@fluendo.com>
14347
14348         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14349         (gst_base_sink_do_sync):
14350         Some cleanups.
14351         When the sink finishes blocking on the preroll buffer, it can
14352         immediatly render it instead of rendering when the next buffer
14353         arrives.
14354
14355 2006-01-18  Wim Taymans  <wim@fluendo.com>
14356
14357         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
14358         (gst_base_sink_get_property), (gst_base_sink_do_sync),
14359         (gst_base_sink_chain):
14360         Small cleanups.
14361         GST_ELEMENT_CLOCK and sync are protected with LOCK.
14362         Don't store _last_stop if the buffer is dropped.
14363
14364 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
14365
14366         * plugins/elements/gsttypefindelement.c:
14367         (gst_type_find_element_class_init):
14368           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
14369           object method handler that sets the caps on the pad and we want
14370           that to happen before we emit the signal (fixes e.g. feeding a
14371           plain text file to decodebin).
14372
14373 2006-01-18  Christian Schaller  <Christian@fluendo.com>
14374
14375         * gst/gstplugin.c: Add MPL and Proprietary as license options
14376
14377 2006-01-18  Andy Wingo  <wingo@pobox.com>
14378
14379         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
14380         symbol was exported before, it appears this was just an oversight.
14381         Fixes #168703.
14382         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
14383
14384         * gst/gstindex.c (gst_index_add_associationv): Changed int in
14385         prototype to gint. OK since this prototype was not in the header.
14386
14387 2006-01-17  Andy Wingo  <wingo@pobox.com>
14388
14389         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
14390         registry while we remove plugins.
14391
14392         * tools/gst-inspect.c (print_element_info): Don't unref the
14393         factory arg, that should be the responsibility of whatever code
14394         received the ref. Fixes a double-free when called from
14395         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
14396         (main): Unref the factory if we have one.
14397         (print_element_list): No change -- relies on the
14398         plugin_feature_list_free to free the list of features.
14399
14400 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
14401
14402         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
14403         (gst_buffer_make_metadata_writable):
14404         * gst/gstbuffer.h:
14405         * libs/gst/base/gstbasetransform.c:
14406         (gst_base_transform_prepare_output_buf):
14407         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14408         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14409           Replace gst_buffer_(make|is)_metadata_writable patch now
14410           that the release is out.
14411
14412 2006-01-17  Andy Wingo  <wingo@pobox.com>
14413
14414         * gst/gstregistry.c: Reflow design comment. Update so as to speak
14415         in the present tense without reference to versions.
14416
14417         * gst/gstregistry.c (gst_registry_add_plugin)
14418         (gst_registry_remove_plugin, gst_registry_remove_feature)
14419         (gst_registry_find_feature, gst_registry_get_feature_list)
14420         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
14421         (gst_registry_lookup, gst_registry_scan_path)
14422         (_gst_registry_remove_cache_plugins)
14423         (gst_registry_get_feature_list_by_plugin): Add argument
14424         validation.
14425
14426 === release 0.10.2 ===
14427
14428 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
14429
14430         * configure.ac:
14431           releasing 0.10.2, "If man is five"
14432
14433 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
14434
14435         * gst/gstbuffer.c:
14436         * gst/gstbuffer.h:
14437         * libs/gst/base/gstbasetransform.c:
14438         (gst_base_transform_prepare_output_buf):
14439         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14440         * tests/check/gst/gstbuffer.c: (gst_test_suite):
14441           Back out patch until after the release.
14442
14443 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
14444
14445         * gst/gstminiobject.c:
14446           Spelling fix in docs.
14447         * ChangeLog - remove conflict indicator
14448
14449 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
14450
14451         Reviewed By: Andy Wingo
14452
14453         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
14454         (gst_buffer_make_metadata_writable):
14455         * gst/gstbuffer.h:
14456           Add gst_buffer_(is|make)_metadata_writable as analogues of
14457           gst_buffer_(is|make)_writable.
14458
14459         * libs/gst/base/gstbasetransform.c:
14460         (gst_base_transform_prepare_output_buf):
14461         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14462           Use name gst_buffer_(is|make)_metadata_writable functions.
14463
14464         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14465           Test gst_buffer_(is|make)_metadata_writable
14466         
14467           (Closes: #324162)
14468
14469 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
14470
14471         * docs/manual/Makefile.am:
14472           don't do parallel make
14473         * configure.ac:
14474           AC_SUBST HOST_CPU
14475         * win32/common/config.h.in:
14476           add generations for HOST_CPU and GST_MAJORMINOR
14477         * win32/common/config.h:
14478           commit generated result
14479
14480 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
14481
14482         * docs/manual/appendix-integration.xml:
14483           Update GNOME integration section to use gst_init_get_option_group()
14484           instead of the old popt stuff (#322911). Also, GNOME applications
14485           should  now use gconf*sink and gconf*src instead of the old gconf
14486           helper lib we had.
14487
14488 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
14489
14490
14491         * docs/gst/gstreamer-docs.sgml:
14492         * docs/gst/gstreamer-sections.txt:
14493         * docs/libs/gstreamer-libs-sections.txt:
14494           add new API entries to the docs
14495         * libs/gst/controller/Makefile.am:
14496         * libs/gst/controller/gstcontroller.c:
14497         * libs/gst/controller/gstcontroller.h:
14498         * libs/gst/controller/gstcontrollerprivate.h:
14499         * libs/gst/controller/gsthelper.c:
14500         * libs/gst/controller/gstinterpolation.c:
14501           move private structs to private header
14502         * po/README:
14503           gstreamer-0.7 -> gstreamer-0.10
14504         * tests/check/libs/struct_i386.h:
14505           remove private structs
14506
14507 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14508
14509         * plugins/indexers/Makefile.am:
14510           Fixes as part of #317048
14511
14512 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14513
14514         * plugins/indexers/Makefile.am:
14515           fix #316086 - compilation when mmap is missing
14516
14517 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
14518
14519         * libs/gst/base/gstbasesink.c:
14520           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
14521           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
14522         * win32/common/config.h:
14523           added some defines GST_MAJORMINOR and HOST_CPU
14524         * win32/common/libgstbase.def:
14525         * win32/common/libgstreamer.def:
14526           added some exported functions.
14527
14528 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
14529
14530         * libs/gst/controller/gstcontroller.c:
14531         (gst_controlled_property_set_interpolation_mode),
14532         (gst_controlled_property_new):
14533         * libs/gst/controller/gstcontroller.h:
14534         * libs/gst/controller/gstinterpolation.c:
14535         (interpolate_none_get_string_value_array):
14536           make G_TYPE_STRING controlable
14537
14538 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
14539
14540         * tools/README:
14541         * tools/gst-feedback.1.in:
14542         * tools/gst-inspect.1.in:
14543         * tools/gst-launch.1.in:
14544         * tools/gst-md5sum.1.in:
14545         * tools/gst-typefind.1.in:
14546         * tools/gst-xmlinspect.1.in:
14547         * tools/gst-xmllaunch.1.in:
14548           cleanup man-pages, remove reference to gst-register, document env-vars
14549
14550 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
14551
14552         * gst/gstbuffer.c: (gst_buffer_span):
14553           gst_buffer_span should copy the timestamp of the first buffer
14554           if they were both originally overlapping subbuffers of the 
14555           same parent, using the same logic as the 'slow copy' case.
14556
14557 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
14558
14559         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
14560           Need to awaken ALL the pads when we pop a buffer, otherwise
14561           collectpads only works when there is 2 input streams.
14562
14563 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
14564
14565         * docs/random/ensonic/media-device-daemon.txt:
14566           more ideas (dbus)
14567         * gst/gstbuffer.c:
14568           fix doc example, add clarification
14569         * tools/gst-launch.1.in:
14570           add initial info about GST_PLUGIN_PATH, needs more work
14571
14572 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
14573
14574         * docs/manual/basics-bins.xml:
14575         * docs/manual/basics-elements.xml:
14576         * docs/manual/intro-basics.xml:
14577           Some more minor docs additions and updates.
14578
14579 2006-01-11  Wim Taymans  <wim@fluendo.com>
14580
14581         * docs/manual/basics-bins.xml:
14582         * docs/manual/basics-elements.xml:
14583         Some small fixes as pointed out by Ser-ver on IRC.
14584
14585 2006-01-10  Edward Hervey  <edward@fluendo.com>
14586
14587         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
14588         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
14589         the single-segment mode.
14590
14591 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
14592
14593         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14594
14595         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
14596         (gst_base_src_perform_seek), (gst_base_src_send_event),
14597         (gst_base_src_set_property), (gst_base_src_get_property),
14598         (gst_base_src_loop), (gst_base_src_start),
14599         (gst_base_src_activate_push):
14600         * libs/gst/base/gstbasesrc.h:
14601           Name (private) union; makes Sun's Forte compiler happy (#324900).
14602
14603 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
14604
14605         * README:
14606           gst-register is gone.
14607
14608 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14609
14610         * gst/gstvalue.c: (_gst_value_initialize):
14611           make the G_TYPE_DATE instantiation work if debug is disabled
14612
14613 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
14614
14615         * gst/gstmessage.c: (gst_message_parse_tag),
14616         (gst_message_parse_error), (gst_message_parse_warning):
14617           Don't crash when return location for error/warning debug
14618           string is NULL; add fact that return locations can be
14619           NULL to docs where appropriate.
14620
14621 2006-01-05  Wim Taymans  <wim@fluendo.com>
14622
14623         * gst/gstplugin.c: (gst_plugin_load_file):
14624         Replace strdup by g_strdup.
14625
14626 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14627
14628         * docs/pwg/advanced-types.xml:
14629           fix doc borkage
14630
14631 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14632
14633         submitted by: Abel Cheung
14634
14635         * po/LINGUAS:
14636         * po/zh_TW.po:
14637           Added Chinese (traditional) translation
14638
14639 2006-01-04  Wim Taymans  <wim@fluendo.com>
14640
14641         * docs/manual/basics-pads.xml:
14642         * docs/plugins/Makefile.am:
14643         * docs/plugins/gstreamer-plugins-docs.sgml:
14644         * docs/plugins/gstreamer-plugins-sections.txt:
14645         * docs/pwg/advanced-clock.xml:
14646         * docs/pwg/advanced-scheduling.xml:
14647         * docs/pwg/advanced-types.xml:
14648         * plugins/elements/gstfdsink.c:
14649         * plugins/elements/gstfdsrc.c:
14650         * plugins/elements/gstfdsrc.h:
14651         * plugins/elements/gstidentity.c: (gst_identity_class_init):
14652         * plugins/elements/gstidentity.h:
14653         * plugins/elements/gstqueue.h:
14654         * plugins/elements/gsttee.c:
14655         * plugins/elements/gsttee.h:
14656         * plugins/elements/gsttypefindelement.c:
14657         (gst_type_find_element_class_init):
14658         * plugins/elements/gsttypefindelement.h:
14659         Small updates to various docs.
14660         Added core plugins to docs.
14661
14662 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14663
14664         * common/gst.supp:
14665           add a suppression for liboil's uninitialized variable
14666
14667 2006-01-02  James Livingston  <jrl at ids dot org dot au>
14668
14669         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14670
14671         * gst/gstutils.h:
14672           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
14673           macro, so that gcc doesn't complain if the -Wmissing-prototypes
14674           compiler switch is being used (#325429).
14675
14676 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
14677
14678         * gst/gstbin.c: (gst_bin_query):
14679           Disable duration query caching in bins until it gets
14680           fixed (see #324807).
14681
14682 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
14683
14684         * tools/gst-inspect.c: (print_element_properties_info):
14685           Handle properties of POINTER and BOXED type.
14686
14687 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
14688
14689         * gst/gst.c: (init_post):
14690           Init tags stuff and some other things before loading
14691           any static plugins (there may be other static plugins
14692           than just the GStreamer ones, and they may want to
14693           register their own tags or formats or whatever, and
14694           preferably without segfaulting).
14695
14696         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
14697           Print at least a warning in the debug logs if we drop a
14698           query just because we don't know how to adjust the value
14699           in the particular format.
14700
14701 2005-12-24  David Schleef  <ds@schleef.org>
14702
14703         * tools/gstreamer-completion:
14704           Replacement for gst-complete written in sh and sed.  Only
14705           completes names of features, but that's 90% of what I want
14706           it for.  Properties are not available in registry.xml.  (Maybe
14707           they should be...)
14708
14709 === release 0.10.1 ===
14710
14711 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
14712
14713         * configure.ac:
14714           releasing 0.10.1, "Nollaig chridheil"
14715
14716 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
14717
14718         * docs/faq/cvs.xml:
14719           Add missing quote, should be make ERROR_CFLAGS="".
14720
14721 2005-12-20  Wim Taymans  <wim@fluendo.com>
14722
14723         * docs/design/part-trickmodes.txt:
14724         More documentation on trickmodes.
14725
14726 2005-12-20  Edward Hervey  <edward@fluendo.com>
14727
14728         * gst/gstcaps.c: (gst_static_caps_get_type):
14729         * gst/gstcaps.h:
14730           API addition: GST_TYPE_STATIC_CAPS
14731         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
14732         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
14733         * gst/gstpadtemplate.h:
14734           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
14735         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
14736         bindings.
14737
14738 2005-12-18  Wim Taymans  <wim@fluendo.com>
14739
14740         * libs/gst/base/gstadapter.c:
14741         * libs/gst/base/gstadapter.h:
14742         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14743         (gst_base_sink_get_position):
14744         * libs/gst/base/gstbasesink.h:
14745         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14746         (gst_base_src_default_query), (gst_base_src_default_do_seek),
14747         (gst_base_src_do_seek), (gst_base_src_perform_seek),
14748         (gst_base_src_send_event), (gst_base_src_update_length),
14749         (gst_base_src_get_range), (gst_base_src_loop),
14750         (gst_base_src_start):
14751         * libs/gst/base/gstbasesrc.h:
14752         * libs/gst/base/gstbasetransform.h:
14753         * libs/gst/base/gstcollectpads.h:
14754         * libs/gst/base/gstpushsrc.c:
14755         * libs/gst/base/gstpushsrc.h:
14756         * libs/gst/dataprotocol/dataprotocol.c:
14757         * libs/gst/dataprotocol/dataprotocol.h:
14758         * libs/gst/net/gstnetclientclock.h:
14759         * libs/gst/net/gstnettimeprovider.h:
14760         Documentation updates.
14761
14762 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
14763
14764         * docs/manual/basics-helloworld.xml:
14765           Remove superfluous closing bracket in helloworld example.
14766
14767 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
14768
14769         * tools/gst-launch.1.in:
14770           Update gst-launch man page; add a section with useful
14771           environment variables. Fixes #323882.
14772
14773 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
14774
14775         * gst/gst.c:
14776         * gst/gst_private.h:
14777           change some char* into char[]
14778
14779 2005-12-16  Wim Taymans  <wim@fluendo.com>
14780
14781         * gst/gstregistryxml.c: (load_feature):
14782         Cleanups.
14783         Don't use g_object_unref on GstObjects so that we avoid
14784         leaks on unsafe glibs.
14785
14786 2005-12-16  Wim Taymans  <wim@fluendo.com>
14787
14788         * gst/gstbin.c: (gst_bin_recalc_state):
14789         Small doc updates.
14790
14791 2005-12-16  Wim Taymans  <wim@fluendo.com>
14792
14793         * common/check.mak:
14794         Added make forever target for check.
14795
14796 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14797
14798         * gst/gst.c: (init_post):
14799           make the registry cache file HOST_CPU-dependent
14800
14801 2005-12-16  Andy Wingo  <wingo@pobox.com>
14802
14803         * plugins/elements/gstbufferstore.c
14804         (gst_buffer_store_cleared_func): Pay attention to g_list_append
14805         return value.
14806
14807         * tests/check/gst/gstobject.c
14808         (test_fake_object_name_threaded_unique): Pay attention to
14809         g_list_sort return value.
14810
14811 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
14812
14813         * tools/gst-feedback-m.m:
14814           Update for 0.9/0.10 (fixes #323870).
14815
14816 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
14817
14818         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
14819           Fix lcopy for mini objects, the mini object needs to be ref'ed.
14820           
14821         * tests/check/gst/gstminiobject.c: (my_foo_init),
14822         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
14823         (test_value_collection), (gst_mini_object_suite):
14824           Add test to ensure refcounts end up as expected when passing
14825           GstMiniObjects through g_object_get() and g_object_set().
14826
14827 2005-12-14  Julien MOUTTE  <julien@moutte.net>
14828
14829         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14830         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
14831         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
14832         of collectpads. This version removes a lot of races without
14833         touching API/ABI. Yay !
14834
14835 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
14836
14837         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
14838           Don't allow activation of a srcpad in pull_range if it has no
14839           getrange function.
14840           Change some debug statements to be a little clearer
14841
14842         * plugins/elements/gsttypefindelement.c:
14843         (gst_type_find_handle_src_query):
14844           Check that we have a peer before executing queries thereupon.
14845
14846         * tests/examples/metadata/read-metadata.c: (message_loop):
14847           Use gst_bus_pop instead of gst_bus_poll when we just want it to
14848           immediately return us any available message with 0 timeout.
14849
14850 2005-12-12  Michael Smith  <msmith@fluendo.com>
14851
14852         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
14853           Don't unref factories after calling them.
14854         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
14855         * plugins/elements/gsttypefindelement.c:
14856         (gst_type_find_element_chain):
14857           Free lists of factories after using them. Fixing typefinding memory
14858           leaks.
14859
14860 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14861
14862         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14863         (gst_plugin_feature_load):
14864           more meaningful debug output
14865         * configure.ac:
14866         * tests/Makefile.am:
14867         * tests/old/examples/Makefile.am:
14868           make make distcheck happy again
14869
14870 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
14871
14872         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14873           Catch the special case where we are operating chain-based,
14874           but the downstream peer pad has no chain function. Emit a
14875           custom error message in this case instead of letting the
14876           core generate one implying that this is some sort of core
14877           bug. It's not, it just means that whatever got plugged
14878           into the pipeline downstream when we announced the type
14879           can only operate pull-based, while our source can only
14880           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
14881           Error string has not been marked for translation yet, as
14882           it probably needs some more work first.
14883
14884         (gst_type_find_element_get_best_possibility):
14885           Add helper function to find the best of all available
14886           found possibilities that qualify given the min. threshold.
14887
14888         (gst_type_find_element_handle_event):
14889           Fix the case where we get an EOS while still in TYPEFIND
14890           mode (we want to chose the best of all possible types,
14891           not just the first type that happens to be in our unsorted
14892           list of possible types).
14893
14894         (gst_type_find_element_chain):
14895           Make sure we return GST_FLOW_ERROR when we errored out
14896           in stop_typefinding(); also, don't just find the best of
14897           all found type entries and then use the last examined
14898           type entry, but actually use the best entry.
14899
14900 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
14901
14902         * tests/examples/typefind/typefind.c: (type_found):
14903         * tests/examples/xml/runxml.c: (xml_loaded):
14904           More gcc4 fixes and a mem leak fix.
14905
14906 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14907
14908         * tests/examples/xml/createxml.c: (object_saved):
14909           gcc 4 fixes
14910
14911 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14912
14913         * tests/Makefile.am:
14914           enable the examples even more
14915
14916 2005-12-12  Andy Wingo  <wingo@pobox.com>
14917
14918         * libs/gst/net/gstnettimeprovider.c
14919         (gst_net_time_provider_class_init, gst_net_time_provider_init)
14920         (gst_net_time_provider_set_property)
14921         (gst_net_time_provider_get_property):
14922         API addition: Export "active" as a GObject property.
14923         (gst_net_time_provider_thread): Only respond to time queries if
14924         the time provider is active.
14925
14926         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
14927         NetTimeProvider, preserving binary compat.
14928
14929 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14930
14931         * tests/examples/controller/audio-example.c: (main):
14932         * tests/examples/launch/Makefile.am:
14933           convert comments again
14934
14935 2005-12-12  Wim Taymans  <wim@fluendo.com>
14936
14937         * libs/gst/base/gstpushsrc.c:
14938         Fix typo.
14939
14940 2005-12-12  Wim Taymans  <wim@fluendo.com>
14941
14942         * docs/libs/gstreamer-libs-sections.txt:
14943         Added new symbol to docs.
14944
14945         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14946         (gst_base_src_init), (gst_base_src_set_format),
14947         (gst_base_src_default_query), (gst_base_src_query),
14948         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
14949         (gst_base_src_perform_seek), (gst_base_src_send_event),
14950         (gst_base_src_default_event), (gst_base_src_event_handler),
14951         (gst_base_src_set_property), (gst_base_src_get_property),
14952         (gst_base_src_wait), (gst_base_src_do_sync),
14953         (gst_base_src_update_length), (gst_base_src_get_range),
14954         (gst_base_src_check_get_range), (gst_base_src_loop),
14955         (gst_base_src_default_negotiate), (gst_base_src_start),
14956         (gst_base_src_activate_push), (gst_base_src_activate_pull),
14957         (gst_base_src_change_state):
14958         * libs/gst/base/gstbasesrc.h:
14959         Implement seeking to other formats than _BYTES.
14960         Implement more seeking methods correctly.
14961         Doc updates.
14962         Added query vmethod.
14963         Added do_seek vmethod to make life easier for subclasses
14964         when seeking.
14965         API addition: gst_base_src_set_format()
14966
14967 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14968
14969         * tests/examples/Makefile.am:
14970           added that too
14971
14972 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14973
14974         * configure.ac:
14975         * docs/random/ensonic/media-device-daemon.txt:
14976         * tests/examples/controller/.cvsignore:
14977         * tests/examples/controller/Makefile.am:
14978         * tests/examples/controller/audio-example.c: (main):
14979         * tests/examples/helloworld/.cvsignore:
14980         * tests/examples/helloworld/Makefile.am:
14981         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
14982         * tests/examples/launch/.cvsignore:
14983         * tests/examples/launch/Makefile.am:
14984         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
14985         * tests/examples/metadata/.cvsignore:
14986         * tests/examples/metadata/Makefile.am:
14987         * tests/examples/metadata/read-metadata.c: (message_loop),
14988         (make_pipeline), (print_tag), (main):
14989         * tests/examples/queue/.cvsignore:
14990         * tests/examples/queue/Makefile.am:
14991         * tests/examples/queue/queue.c: (event_loop), (main):
14992         * tests/examples/typefind/.cvsignore:
14993         * tests/examples/typefind/Makefile.am:
14994         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
14995         (main):
14996         * tests/examples/xml/.cvsignore:
14997         * tests/examples/xml/Makefile.am:
14998         * tests/examples/xml/createxml.c: (object_saved), (main):
14999         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
15000         * tests/old/examples/Makefile.am:
15001         * tests/old/examples/TODO:
15002         * tests/old/examples/controller/.cvsignore:
15003         * tests/old/examples/controller/Makefile.am:
15004         * tests/old/examples/controller/audio-example.c:
15005         * tests/old/examples/helloworld/.cvsignore:
15006         * tests/old/examples/helloworld/Makefile.am:
15007         * tests/old/examples/helloworld/helloworld.c:
15008         * tests/old/examples/launch/.cvsignore:
15009         * tests/old/examples/launch/Makefile.am:
15010         * tests/old/examples/launch/mp3parselaunch.c:
15011         * tests/old/examples/launch/mp3play:
15012         * tests/old/examples/manual/Makefile.am:
15013         * tests/old/examples/metadata/Makefile.am:
15014         * tests/old/examples/metadata/read-metadata.c:
15015         * tests/old/examples/queue/.cvsignore:
15016         * tests/old/examples/queue/Makefile.am:
15017         * tests/old/examples/queue/queue.c:
15018         * tests/old/examples/typefind/.cvsignore:
15019         * tests/old/examples/typefind/Makefile.am:
15020         * tests/old/examples/typefind/typefind.c:
15021         * tests/old/examples/xml/.cvsignore:
15022         * tests/old/examples/xml/Makefile.am:
15023         * tests/old/examples/xml/createxml.c:
15024         * tests/old/examples/xml/runxml.c:
15025           applied some simple fixing to some examples
15026           re-enabled the working examples
15027
15028 2005-12-12  Wim Taymans  <wim@fluendo.com>
15029
15030         * gst/gstsegment.c: (gst_segment_init),
15031         (gst_segment_set_last_stop), (gst_segment_set_seek),
15032         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
15033         (gst_segment_to_running_time):
15034         Added more documentation.
15035         Make sure the last_pos value is updated properly.
15036         Make sure to_stream_time and to_running_time don't
15037         operate on wrong values.
15038
15039         * tests/check/gst/gstsegment.c: (GST_START_TEST):
15040         Update check.
15041
15042 2005-12-12  Michael Smith  <msmith@fluendo.com>
15043
15044         * plugins/elements/gsttypefindelement.c: (free_entry),
15045         (gst_type_find_element_chain):
15046           Now that we're not leaking factories, make sure we keep references
15047           to them while we need them.
15048
15049 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15050
15051         * tests/check/gst/struct_i386.h:
15052           ifdef out the XML structs
15053
15054 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15055
15056         * gst/gstvalue.c: (gst_value_transform_double_fraction):
15057           floor is not needed, F is always positive; this obviates the
15058           need for adding -lm when building without libxml
15059
15060 2005-12-12  Wim Taymans  <wim@fluendo.com>
15061
15062         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15063         Take current playback rate into account when reporting
15064         the position.
15065
15066 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
15067
15068         * docs/manual/mime-world.fig:
15069           Let's try this again, this time with a file that is
15070           actually in XFig format.
15071
15072 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
15073
15074         * docs/manual/mime-world.fig:
15075           Add audioconvert element to diagram so that it
15076           matches the text and the code (fixes #319526).
15077
15078 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
15079
15080         * docs/pwg/building-chainfn.xml:
15081         * docs/pwg/building-pads.xml:
15082         * docs/pwg/building-state.xml:
15083         * docs/pwg/other-source.xml:
15084           Update state change stuff for 0.10 (fixes #322969).
15085
15086 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
15087
15088         * docs/manual/advanced-dataaccess.xml:
15089         * docs/manual/appendix-checklist.xml:
15090         * docs/manual/appendix-programs.xml:
15091         * docs/manual/basics-pads.xml:
15092         * docs/manual/highlevel-components.xml:
15093         * docs/manual/manual.xml:
15094           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
15095           add converters in front of pipelines; remove curly
15096           brackets for threads stuff, they no longer exist; use
15097           GST_TYPE_FRACTION for framerates; update some pieces of
15098           code to 0.10, but there's plenty more to do.
15099
15100         * docs/manual/appendix-porting.xml:
15101           Expand on asynchroneous state changes; s/0.9/0.10/;
15102           mention disappearance of gst_init_get_popt_table()
15103           (fixes #322916).
15104
15105 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
15106
15107         * docs/faq/using.xml:
15108           Spider no longer exists, and neither does gst-launch-ext.
15109           Update examples to use decodebin and playbin and put
15110           converters in front of sinks (fixes #323726).
15111
15112 2005-12-09  Michael Smith  <msmith@fluendo.com>
15113
15114         * plugins/elements/gsttypefindelement.c: (find_peek),
15115         (gst_type_find_element_chain):
15116           Fix leaking element factories in typefinding.
15117           Fix problem where we forgot about a probable type on non-seekable
15118           files, and thus later mis-typefound it.
15119
15120 2005-12-09  Michael Smith  <msmith@fluendo.com>
15121
15122         * common/m4/gst-makecontext.m4:
15123         * common/m4/gst-mcsc.m4:
15124         * configure.ac:
15125         * win32/common/config.h:
15126         * win32/common/config.h.in:
15127           Remove makecontext stuff; not used in 0.10 and causes problems on
15128           HPUX according to bug #322441
15129
15130 2005-12-07  Wim Taymans  <wim@fluendo.com>
15131
15132         * tests/check/Makefile.am:
15133         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
15134         (main):
15135         * tests/check/libs/struct_i386.h:
15136         Added ABI check for libs
15137
15138 2005-12-07  Wim Taymans  <wim@fluendo.com>
15139
15140         * tests/check/Makefile.am:
15141         And add the struct_i386.h to dist.
15142
15143 2005-12-07  Wim Taymans  <wim@fluendo.com>
15144
15145         * tests/check/Makefile.am:
15146         * tests/check/gst/.cvsignore:
15147         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
15148         (main):
15149         * tests/check/gst/struct_i386.h:
15150         Added check for ABI compatibility.
15151
15152 2005-12-07  Wim Taymans  <wim@fluendo.com>
15153
15154         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
15155         (gst_fake_src_get_times), (gst_fake_src_create):
15156         Fix broken sync option, fixes #323259
15157
15158 2005-12-07  Wim Taymans  <wim@fluendo.com>
15159
15160         * gst/gstbuffer.c:
15161         Small docs update.
15162
15163         * gst/gstcaps.c: (gst_caps_is_equal):
15164         Don't assert on NULL <--> X. Fixes #323260
15165
15166         * gst/gstminiobject.c: (gst_mini_object_replace):
15167         If we're doing atomic operations, we might just as well use
15168         the proper way to get an atomic pointer.
15169
15170         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15171         Clean up debugging.
15172
15173 2005-12-07  Michael Smith  <msmith@fluendo.com>
15174
15175         * gst/parse/grammar.y:
15176           Remove handling of { } for threads.
15177
15178 2005-12-06  David Schleef  <ds@schleef.org>
15179
15180         * libs/gst/base/gstbasetransform.c: speling fix.
15181
15182 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
15183
15184         * docs/libs/tmpl/gstdataprotocol.sgml:
15185         * docs/random/omega/testing/gstobject.c:
15186         * gst/gst.c:
15187         * gst/gstclock.c:
15188         * gst/gstelement.c:
15189         * gst/gstelementfactory.c:
15190         * gst/gsterror.c:
15191         * gst/gstevent.c:
15192         * gst/gstghostpad.c:
15193         * gst/gstinfo.c:
15194         * gst/gstpadtemplate.c:
15195         * gst/gstregistryxml.c:
15196         * gst/gsttaglist.c:
15197         * gst/gsttagsetter.c:
15198         * gst/gsttypefind.c:
15199         * gst/gstvalue.c:
15200         * libs/gst/base/gstbasesrc.c:
15201         * libs/gst/net/gstnetclientclock.c:
15202         * libs/gst/net/gstnettimeprovider.c:
15203         * plugins/elements/gstfakesrc.c:
15204         * plugins/elements/gstfdsrc.c:
15205         * plugins/elements/gstfilesrc.c:
15206         * plugins/elements/gstidentity.c:
15207         * plugins/elements/gstqueue.c:
15208         * plugins/elements/gsttypefindelement.c:
15209         * plugins/indexers/gstfileindex.c:
15210         * plugins/indexers/gstmemindex.c:
15211         * tests/check/gst/gsttag.c:
15212         * tests/old/examples/cutter/cutter.c:
15213         * tests/old/examples/mixer/mixer.c:
15214         * tests/old/examples/xml/runxml.c: (main):
15215         * tests/old/testsuite/caps/normalisation.c:
15216         * tests/old/testsuite/debug/global.c:
15217         * tests/old/testsuite/parse/parse1.c:
15218         * tools/gst-xmlinspect.c:
15219         * win32/common/dirent.c:
15220           expand tabs
15221
15222 === release 0.10.0 ===
15223
15224 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15225
15226         * configure.ac:
15227           releasing 0.10.0, "Maroilles"
15228
15229 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15230
15231         submitted by: Funda Wang <fundawang@linux.net.cn>
15232
15233         * po/LINGUAS:
15234         * po/zh_CN.po:
15235           added Chinese (Traditional) translation
15236
15237 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15238
15239         * docs/gst/gstreamer-sections.txt:
15240         * docs/libs/tmpl/gstdataprotocol.sgml:
15241         * docs/random/thomasvs/TODO:
15242         * gst/gstutils.c:
15243         * gst/gstutils.h:
15244           fix docs
15245
15246 2005-12-05  Andy Wingo  <wingo@pobox.com>
15247
15248         patch by: Wim Taymans <wim@fluendo.com>
15249
15250         * libs/gst/base/gstbasetransform.c
15251         (gst_base_transform_prepare_output_buf)
15252         (gst_base_transform_buffer_alloc):
15253         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
15254         alloc_buffer_and_set_caps.
15255
15256         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
15257         set_caps on the source pad.
15258         (gst_pad_alloc_buffer_and_set_caps): New function, does what
15259         alloc_buffer used to do. Fixes #322874.
15260
15261         * docs/gst/gstreamer-sections.txt: 
15262         * docs/design/part-negotiation.txt: 
15263         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
15264         changes.
15265
15266 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15267
15268         patch by: Sebastien Moutte
15269
15270         * win32/MANIFEST:
15271         * win32/common/config.h.in:
15272         * win32/vs6/libgstcontroller.dsp:
15273           win32 build fixes
15274
15275 2005-12-05  Wim Taymans  <wim@fluendo.com>
15276
15277         * gst/gstcaps.c: (gst_caps_is_equal):
15278         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
15279         (gst_fake_src_create):
15280         Back out previous code changes, leave doc updates, file bugs 
15281         instead. 
15282
15283 2005-12-05  Wim Taymans  <wim@fluendo.com>
15284
15285         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
15286         (gst_fake_src_get_times), (gst_fake_src_create):
15287         * plugins/elements/gstfakesrc.h:
15288         Fix broken sync code.
15289
15290 2005-12-05  Wim Taymans  <wim@fluendo.com>
15291
15292         * gst/gstcaps.c: (gst_caps_is_equal):
15293         Comparing NULL against !NULL yields different caps, not a
15294         failure.
15295
15296 2005-12-05  Wim Taymans  <wim@fluendo.com>
15297
15298         * gst/gstpipeline.c:
15299         Fix small typo in docs.
15300
15301 2005-12-05  Andy Wingo  <wingo@pobox.com>
15302
15303         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
15304
15305         * gst/gst.c (init_post): remove hard-coded 0.9 location for
15306         registries/plugins with a MAJORMINOR one.
15307         (plugin_desc): Rename library from gstcoreleements to
15308         staticelements. Fixes #323222.
15309
15310 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
15311
15312         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
15313           Change debug category to 'collectpads' from 'collect_pads'
15314           (fixes #323250).
15315
15316 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
15317
15318         patch by: Sebastien Moutte
15319
15320         * libs/gst/controller/gstinterpolation.c:
15321           use convert function for uint64/double
15322         * win32/vs6/libgstcontroller.dsp:
15323           link to GLib
15324
15325 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
15326
15327         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
15328         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
15329         * gst/gstutils.h:
15330         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15331           add tests that seem to show that the guint64/gdouble conversions
15332           are correct.
15333
15334 2005-12-02  Wim Taymans  <wim@fluendo.com>
15335
15336         * gst/gstregistry.c: (gst_registry_add_path):
15337         * gst/gstregistry.h:
15338         * gst/gstregistryxml.c:
15339         Fix docs again.
15340
15341 2005-12-02  Wim Taymans  <wim@fluendo.com>
15342
15343         * gst/gstutils.c: (gst_util_uint64_scale_int64),
15344         (gst_util_uint64_scale_int):
15345         Small cleanup.
15346
15347         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15348         Add debug log line.
15349
15350         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
15351         Add FIXME.
15352
15353 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
15354
15355         * win32/MANIFEST:
15356         * win32/common/config.h:
15357         * win32/vs6/gstreamer.dsw:
15358         * win32/vs6/libgstcoreelements.dsp:
15359         * win32/vs6/libgstelements.dsp:
15360           renamed core elements plugin
15361
15362 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
15363
15364         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
15365         (get_candidates):
15366           do piece-wise major/minor comparison so 0.9 < 0.10
15367           also allow .exe extensions for tools
15368
15369 2005-12-02  Michael Smith  <msmith@fluendo.com>
15370
15371         * gst/gst.c:
15372           Escape a % to make gtkdoc happier; bug 322958.
15373
15374 === release 0.9.7 ===
15375
15376 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15377
15378         * configure.ac:
15379           releasing 0.9.7, "My Dog Has No Nose"
15380
15381 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15382
15383         * common/gst-xmlinspect.py:
15384         * configure.ac:
15385         * docs/libs/tmpl/gstdataprotocol.sgml:
15386         * docs/random/release:
15387         * po/af.po:
15388         * po/az.po:
15389         * po/bg.po:
15390         * po/ca.po:
15391         * po/cs.po:
15392         * po/de.po:
15393         * po/en_GB.po:
15394         * po/fr.po:
15395         * po/it.po:
15396         * po/nb.po:
15397         * po/nl.po:
15398         * po/ru.po:
15399         * po/sq.po:
15400         * po/sr.po:
15401         * po/sv.po:
15402         * po/tr.po:
15403         * po/uk.po:
15404         * po/vi.po:
15405         * win32/common/config.h:
15406         * win32/common/config.h.in:
15407         * win32/vs6/gst_inspect.dsp:
15408         * win32/vs6/gst_launch.dsp:
15409         * win32/vs6/libgstbase.dsp:
15410         * win32/vs6/libgstelements.dsp:
15411         * win32/vs6/libgstreamer.dsp:
15412         * win32/vs7/GStreamer.vcproj:
15413         * win32/vs7/gst-inspect.vcproj:
15414         * win32/vs7/gst-launch.vcproj:
15415         * win32/vs7/libgstbase.vcproj:
15416           bump GST_MAJORMINOR to 0.10
15417           reset libtool version
15418
15419 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15420
15421         * po/LINGUAS:
15422         * po/bg.po:
15423           Added Bulgarian translation by (Alexander Shopov)
15424
15425 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15426
15427         * tests/check/gst/gstplugin.c:
15428           fix test
15429
15430 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15431
15432         * common/gst-xmlinspect.py:
15433         * common/gtk-doc-plugins.mak:
15434         * configure.ac:
15435         * docs/Makefile.am:
15436         * docs/gst/Makefile.am:
15437         * docs/gst/gstreamer-docs.sgml:
15438         * docs/gst/gstreamer-sections.txt:
15439         * docs/gst/gstreamer.types:
15440         * docs/gst/gstreamer.types.in:
15441         * docs/plugins/Makefile.am:
15442         * docs/plugins/gstreamer-plugins-docs.sgml:
15443         * docs/plugins/gstreamer-plugins-sections.txt:
15444         * docs/plugins/gstreamer-plugins.types:
15445         * docs/plugins/inspect.stamp:
15446         * docs/plugins/inspect/plugin-coreelements.xml:
15447         * docs/plugins/inspect/plugin-coreindexers.xml:
15448         * docs/plugins/scanobj-build.stamp:
15449         * gstreamer.spec.in:
15450         * plugins/elements/Makefile.am:
15451         * plugins/elements/gstelements.c:
15452         * plugins/elements/gstfakesink.c:
15453         * plugins/elements/gstfakesrc.c:
15454         * plugins/elements/gstfilesink.c:
15455         * plugins/elements/gstfilesrc.c:
15456         * plugins/elements/gstqueue.c:
15457         * plugins/indexers/Makefile.am:
15458         * plugins/indexers/gstindexers.c:
15459           document core plugins in a separate document just like all the
15460           others
15461           rename these plugins to something starting with core
15462
15463 2005-12-01  Andy Wingo  <wingo@pobox.com>
15464
15465         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
15466         padding here before, but it missed the commit.
15467
15468 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15469
15470         * libs/gst/controller/gstinterpolation.c:
15471           whitespace prices have crashed, we should feel free to use some now
15472           use gst_guint64_to_gdouble
15473
15474 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15475
15476         * libs/gst/controller/gstcontroller.c:
15477         * libs/gst/controller/gsthelper.c:
15478         * libs/gst/controller/gstinterpolation.c:
15479         * libs/gst/controller/lib.c:
15480           wrap config.h include
15481
15482 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15483
15484         * docs/gst/gstreamer-sections.txt:
15485           update docs
15486
15487 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15488
15489         * plugins/elements/gstelements.c:
15490         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
15491         (gst_fd_sink__class_init), (gst_fd_sink__init),
15492         (gst_fd_sink__chain), (gst_fd_sink__set_property),
15493         (gst_fd_sink__get_property):
15494         * plugins/elements/gstfdsink.h:
15495         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
15496         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
15497         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
15498         (gst_fd_src_unlock), (gst_fd_src_set_property),
15499         (gst_fd_src_get_property), (gst_fd_src_create),
15500         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
15501         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
15502         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
15503         (gst_fd_src_uri_handler_init):
15504         * plugins/elements/gstfdsrc.h:
15505         * plugins/elements/gstqueue.c: (gst_queue_get_type):
15506           more anal cleanup
15507
15508 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15509
15510         * docs/gst/Makefile.am:
15511         * docs/gst/gstreamer.types.in:
15512         * gst/Makefile.am:
15513           fix the docs build
15514
15515 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15516
15517         * configure.ac:
15518         * gst/Makefile.am:
15519         * gst/gst.c:
15520         * gst/gstplugin.h:
15521         * gst/gstregistry.h:
15522         * tests/benchmarks/complexity.c:
15523         * tests/benchmarks/mass-elements.c:
15524         * tests/check/Makefile.am:
15525         * tools/Makefile.am:
15526         * tools/gst-inspect.c:
15527         * tools/gst-xmlinspect.c:
15528           various fixes to make
15529           --disable-nls --disable-registry --disable-loadsave
15530           --disable-parse --disable-gst-debug
15531           work and get the core .so down to 360444 bytes after stripping
15532
15533 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15534
15535         * Makefile.am:
15536         * configure.ac:
15537           descend into tests
15538         * docs/random/thomasvs/TODO:
15539         * tests/Makefile.am:
15540         * tests/README:
15541           add a README
15542
15543 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15544
15545         * win32/GStreamer.vcproj:
15546         * win32/MANIFEST:
15547         * win32/Makefile:
15548         * win32/Makefile.inspect:
15549         * win32/Makefile.launch:
15550         * win32/Makefile.register:
15551         * win32/README.txt:
15552         * win32/gst-inspect.vcproj:
15553         * win32/gst-launch.vcproj:
15554         * win32/gst-register.vcproj:
15555         * win32/gstelements.vcproj:
15556         * win32/gstgetbits.def:
15557         * win32/gstgetbits.vcproj:
15558         * win32/gstreamer-dbg.def:
15559         * win32/gstreamer.def:
15560         * win32/libgstbase.def:
15561         * win32/libgstbase.vcproj:
15562         * win32/link_oldruntime.c:
15563         * win32/mman.c:
15564         * win32/mman.h:
15565         * win32/mman.inl:
15566         * win32/msvc71.sln:
15567           move even more stuff, win32/ is nice and clean now
15568
15569 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15570
15571         * libs/gst/control/.cvsignore:
15572         * win32/MANIFEST:
15573         * win32/config.h:
15574         * win32/dirent.c:
15575         * win32/dirent.h:
15576         * win32/gstbytestream.def:
15577         * win32/gstbytestream.vcproj:
15578         * win32/gstconfig.h:
15579         * win32/gstenumtypes.c:
15580         * win32/gstenumtypes.h:
15581         * win32/gstoptimalscheduler.vcproj:
15582         * win32/gstversion.h:
15583         * win32/gtchar.h:
15584         * win32/testsuite/bins.vcproj:
15585         * win32/testsuite/bytestream.vcproj:
15586         * win32/testsuite/caps.vcproj:
15587         * win32/testsuite/cleanup.vcproj:
15588         * win32/testsuite/clock.vcproj:
15589         * win32/testsuite/debug.vcproj:
15590         * win32/testsuite/dlopen.vcproj:
15591         * win32/testsuite/dynparams.vcproj:
15592         * win32/testsuite/elements.vcproj:
15593         * win32/testsuite/ghostpads.vcproj:
15594         * win32/testsuite/indexers.vcproj:
15595         * win32/testsuite/negotiation.vcproj:
15596         * win32/testsuite/parse.vcproj:
15597         * win32/testsuite/plugin.vcproj:
15598         * win32/testsuite/refcounting.vcproj:
15599         * win32/testsuite/schedulers.vcproj:
15600         * win32/testsuite/states.vcproj:
15601         * win32/testsuite/tags.vcproj:
15602         * win32/testsuite/threads.vcproj:
15603           remove old win32 stuff that isn't maintained and should be
15604           reorganized
15605
15606 2005-11-30  Andy Wingo  <wingo@pobox.com>
15607
15608         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
15609         loading the gst.interfaces python module bork.
15610
15611         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
15612         available since GLib 2.2. Fixes #318031.
15613
15614 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15615
15616         * Makefile.am:
15617         * check/.cvsignore:
15618         * check/Makefile.am:
15619         * check/elements/.cvsignore:
15620         * check/elements/fakesrc.c:
15621         * check/elements/fdsrc.c:
15622         * check/elements/identity.c:
15623         * check/generic/.cvsignore:
15624         * check/generic/states.c:
15625         * check/gst-libs/.cvsignore:
15626         * check/gst-libs/controller.c:
15627         * check/gst-libs/gdp.c:
15628         * check/gst/.cvsignore:
15629         * check/gst/capslist.h:
15630         * check/gst/gst.c:
15631         * check/gst/gstbin.c:
15632         * check/gst/gstbuffer.c:
15633         * check/gst/gstbus.c:
15634         * check/gst/gstcaps.c:
15635         * check/gst/gstelement.c:
15636         * check/gst/gstevent.c:
15637         * check/gst/gstghostpad.c:
15638         * check/gst/gstiterator.c:
15639         * check/gst/gstmessage.c:
15640         * check/gst/gstminiobject.c:
15641         * check/gst/gstobject.c:
15642         * check/gst/gstpad.c:
15643         * check/gst/gstpipeline.c:
15644         * check/gst/gstplugin.c:
15645         * check/gst/gstsegment.c:
15646         * check/gst/gststructure.c:
15647         * check/gst/gstsystemclock.c:
15648         * check/gst/gsttag.c:
15649         * check/gst/gstutils.c:
15650         * check/gst/gstvalue.c:
15651         * check/net/.cvsignore:
15652         * check/net/gstnetclientclock.c:
15653         * check/net/gstnettimeprovider.c:
15654         * check/pipelines/.cvsignore:
15655         * check/pipelines/cleanup.c:
15656         * check/pipelines/simple_launch_lines.c:
15657         * check/pipelines/stress.c:
15658         * check/states/.cvsignore:
15659         * check/states/sinks.c:
15660         * configure.ac:
15661         * examples/Makefile.am:
15662         * examples/appreader/.cvsignore:
15663         * examples/appreader/Makefile.am:
15664         * examples/appreader/appreader.c:
15665         * examples/controller/.cvsignore:
15666         * examples/controller/Makefile.am:
15667         * examples/controller/audio-example.c:
15668         * examples/cutter/.cvsignore:
15669         * examples/cutter/Makefile.am:
15670         * examples/cutter/cutter.c:
15671         * examples/cutter/cutter.h:
15672         * examples/events/Makefile.am:
15673         * examples/events/seek.c:
15674         * examples/helloworld/.cvsignore:
15675         * examples/helloworld/Makefile.am:
15676         * examples/helloworld/helloworld.c:
15677         * examples/helloworld2/.cvsignore:
15678         * examples/helloworld2/Makefile.am:
15679         * examples/helloworld2/helloworld2.c:
15680         * examples/launch/.cvsignore:
15681         * examples/launch/Makefile.am:
15682         * examples/launch/mp3parselaunch.c:
15683         * examples/launch/mp3play:
15684         * examples/manual/.cvsignore:
15685         * examples/manual/Makefile.am:
15686         * examples/manual/extract.pl:
15687         * examples/metadata/Makefile.am:
15688         * examples/metadata/read-metadata.c:
15689         * examples/mixer/.cvsignore:
15690         * examples/mixer/Makefile.am:
15691         * examples/mixer/mixer.c:
15692         * examples/mixer/mixer.h:
15693         * examples/pingpong/.cvsignore:
15694         * examples/pingpong/Makefile.am:
15695         * examples/pingpong/pingpong.c:
15696         * examples/plugins/.cvsignore:
15697         * examples/plugins/Makefile.am:
15698         * examples/plugins/example.c:
15699         * examples/plugins/example.h:
15700         * examples/pwg/.cvsignore:
15701         * examples/pwg/Makefile.am:
15702         * examples/pwg/extract.pl:
15703         * examples/queue/.cvsignore:
15704         * examples/queue/Makefile.am:
15705         * examples/queue/queue.c:
15706         * examples/queue2/.cvsignore:
15707         * examples/queue2/Makefile.am:
15708         * examples/queue2/queue2.c:
15709         * examples/queue3/.cvsignore:
15710         * examples/queue3/Makefile.am:
15711         * examples/queue3/queue3.c:
15712         * examples/queue4/.cvsignore:
15713         * examples/queue4/Makefile.am:
15714         * examples/queue4/queue4.c:
15715         * examples/retag/.cvsignore:
15716         * examples/retag/Makefile.am:
15717         * examples/retag/retag.c:
15718         * examples/retag/transcode.c:
15719         * examples/thread/.cvsignore:
15720         * examples/thread/Makefile.am:
15721         * examples/thread/thread.c:
15722         * examples/typefind/.cvsignore:
15723         * examples/typefind/Makefile.am:
15724         * examples/typefind/typefind.c:
15725         * examples/xml/.cvsignore:
15726         * examples/xml/Makefile.am:
15727         * examples/xml/createxml.c:
15728         * examples/xml/runxml.c:
15729         * tests/Makefile.am:
15730         * tests/check/Makefile.am:
15731         * testsuite/.cvsignore:
15732         * testsuite/Makefile.am:
15733         * testsuite/Rules:
15734         * testsuite/caps/.cvsignore:
15735         * testsuite/caps/Makefile.am:
15736         * testsuite/caps/app_fixate.c:
15737         * testsuite/caps/audioscale.c:
15738         * testsuite/caps/caps.c:
15739         * testsuite/caps/caps.h:
15740         * testsuite/caps/caps_strings:
15741         * testsuite/caps/compatibility.c:
15742         * testsuite/caps/deserialize.c:
15743         * testsuite/caps/enumcaps.c:
15744         * testsuite/caps/eratosthenes.c:
15745         * testsuite/caps/filtercaps.c:
15746         * testsuite/caps/fixed.c:
15747         * testsuite/caps/fraction-convert.c:
15748         * testsuite/caps/fraction-multiply-and-zero.c:
15749         * testsuite/caps/intersect2.c:
15750         * testsuite/caps/intersection.c:
15751         * testsuite/caps/normalisation.c:
15752         * testsuite/caps/random.c:
15753         * testsuite/caps/renegotiate.c:
15754         * testsuite/caps/sets.c:
15755         * testsuite/caps/simplify.c:
15756         * testsuite/caps/string-conversions.c:
15757         * testsuite/caps/structure.c:
15758         * testsuite/caps/subtract.c:
15759         * testsuite/caps/union.c:
15760         * testsuite/debug/.cvsignore:
15761         * testsuite/debug/Makefile.am:
15762         * testsuite/debug/category.c:
15763         * testsuite/debug/commandline.c:
15764         * testsuite/debug/global.c:
15765         * testsuite/debug/output.c:
15766         * testsuite/debug/printf_extension.c:
15767         * testsuite/dlopen/.cvsignore:
15768         * testsuite/dlopen/Makefile.am:
15769         * testsuite/dlopen/dlopen_gst.c:
15770         * testsuite/dlopen/loadgst.c:
15771         * testsuite/elements/.cvsignore:
15772         * testsuite/elements/Makefile.am:
15773         * testsuite/elements/gst-inspect-check.in:
15774         * testsuite/elements/struct_i386.h:
15775         * testsuite/elements/struct_size.c:
15776         * testsuite/indexers/.cvsignore:
15777         * testsuite/indexers/Makefile.am:
15778         * testsuite/indexers/cache1.c:
15779         * testsuite/indexers/indexdump.c:
15780         * testsuite/parse/.cvsignore:
15781         * testsuite/parse/Makefile.am:
15782         * testsuite/parse/parse1.c:
15783         * testsuite/parse/parse2.c:
15784         * testsuite/plugin/.cvsignore:
15785         * testsuite/plugin/Makefile.am:
15786         * testsuite/plugin/README:
15787         * testsuite/plugin/dynamic.c:
15788         * testsuite/plugin/linked.c:
15789         * testsuite/plugin/loading.c:
15790         * testsuite/plugin/registry.c:
15791         * testsuite/plugin/static.c:
15792         * testsuite/plugin/static2.c:
15793         * testsuite/plugin/testplugin.c:
15794         * testsuite/plugin/testplugin2.c:
15795         * testsuite/plugin/testplugin2_s.c:
15796         * testsuite/plugin/testplugin_s.c:
15797         * testsuite/refcounting/.cvsignore:
15798         * testsuite/refcounting/Makefile.am:
15799         * testsuite/refcounting/bin.c:
15800         * testsuite/refcounting/element.c:
15801         * testsuite/refcounting/element_pad.c:
15802         * testsuite/refcounting/mainloop.c:
15803         * testsuite/refcounting/mem.c:
15804         * testsuite/refcounting/mem.h:
15805         * testsuite/refcounting/object.c:
15806         * testsuite/refcounting/pad.c:
15807         * testsuite/refcounting/sched.c:
15808         * testsuite/refcounting/thread.c:
15809         * testsuite/states/.cvsignore:
15810         * testsuite/states/Makefile.am:
15811         * testsuite/states/bin.c:
15812         * testsuite/states/locked.c:
15813         * testsuite/states/parent.c:
15814         * testsuite/threads/.cvsignore:
15815         * testsuite/threads/159566.c:
15816         * testsuite/threads/159852.c:
15817         * testsuite/threads/Makefile.am:
15818         * testsuite/threads/queue.c:
15819         * testsuite/threads/signals.c:
15820         * testsuite/threads/staticrec.c:
15821         * testsuite/threads/thread.c:
15822         * testsuite/threads/threadb.c:
15823         * testsuite/threads/threadc.c:
15824         * testsuite/threads/threadd.c:
15825         * testsuite/threads/threade.c:
15826         * testsuite/threads/threadf.c:
15827         * testsuite/threads/threadg.c:
15828         * testsuite/threads/threadh.c:
15829         * testsuite/threads/threadi.c:
15830           move all of these under tests
15831
15832 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15833
15834         * configure.ac:
15835         * tests/Makefile.am:
15836           fix distcheck
15837
15838 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15839
15840         * docs/gst/gstreamer-sections.txt:
15841         * tests/sched/.cvsignore:
15842         * tests/sched/Makefile.am:
15843         * tests/sched/cases/(fs-fs).xml:
15844         * tests/sched/cases/(fs-i-fs).xml:
15845         * tests/sched/cases/(fs-i-i-fs).xml:
15846         * tests/sched/cases/(fs-i-q[i-fs]).xml:
15847         * tests/sched/dynamic-pipeline.c:
15848         * tests/sched/interrupt1.c:
15849         * tests/sched/interrupt2.c:
15850         * tests/sched/interrupt3.c:
15851         * tests/sched/runtestcases:
15852         * tests/sched/runxml.c:
15853         * tests/sched/sched-stress.c:
15854         * tests/sched/sort.c:
15855         * tests/sched/testcases:
15856         * tests/sched/testcases1.tc:
15857         * tests/seeking/.cvsignore:
15858         * tests/seeking/Makefile.am:
15859         * tests/seeking/seeking1.c:
15860         * tests/threadstate/.cvsignore:
15861         * tests/threadstate/Makefile.am:
15862         * tests/threadstate/test1.c:
15863         * tests/threadstate/test2.c:
15864         * tests/threadstate/threadstate1.c:
15865         * tests/threadstate/threadstate2.c:
15866         * tests/threadstate/threadstate3.c:
15867         * tests/threadstate/threadstate4.c:
15868         * tests/threadstate/threadstate5.c:
15869           remove obsolete tests
15870         * configure.ac:
15871         * tests/bench-complexity.scm:
15872         * tests/bench-mass_elements.scm:
15873         * tests/complexity.c:
15874         * tests/complexity.gnuplot:
15875         * tests/instantiate/.cvsignore:
15876         * tests/instantiate/Makefile.am:
15877         * tests/instantiate/caps.c:
15878         * tests/mass_elements.c:
15879         * tests/network-clock-utils.scm:
15880         * tests/network-clock.scm:
15881         * tests/plot-data:
15882         First pass at cleaning up tests/ dir before moving the rest
15883         Combined with CVS surgery
15884
15885 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15886
15887         * po/POTFILES.in:
15888           queue has moved, update
15889
15890 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15891
15892         * docs/gst/gstreamer-sections.txt:
15893           remove double entries from the docs
15894         * gst/gst_private.h:
15895         * gst/gstinfo.c: (_gst_debug_init):
15896           remove the THREAD debug category
15897         * gst/Makefile.am:
15898         * gst/gstqueue.c:
15899         * gst/gstqueue.h:
15900         * docs/gst/gstreamer.types:
15901         * plugins/elements/gstqueue.c: (gst_queue_get_type),
15902         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
15903           completely move queue and fix up debugging categories
15904
15905 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15906
15907         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
15908           make initialization portable, using LL is not
15909
15910 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15911
15912         * win32/common/gstconfig.h:
15913           add large padding
15914
15915 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15916
15917         * win32/common/libgstreamer.def:
15918           rename symbols; sort base section
15919
15920 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15921
15922         * gst/gstclock.c: (do_linear_regression):
15923           remove crack non-portable handrolled DEBUG macro
15924
15925 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15926
15927         * docs/random/release:
15928           update notes
15929         * win32/common/gstenumtypes.c: (register_gst_object_flags),
15930         (gst_object_flags_get_type), (register_gst_bin_flags),
15931         (gst_bin_flags_get_type), (register_gst_buffer_flag),
15932         (gst_buffer_flag_get_type), (register_gst_bus_flags),
15933         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
15934         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
15935         (gst_caps_flags_get_type), (register_gst_clock_return),
15936         (gst_clock_return_get_type), (register_gst_clock_entry_type),
15937         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
15938         (gst_clock_flags_get_type), (register_gst_state),
15939         (gst_state_get_type), (register_gst_state_change_return),
15940         (gst_state_change_return_get_type), (register_gst_state_change),
15941         (gst_state_change_get_type), (register_gst_element_flags),
15942         (gst_element_flags_get_type), (register_gst_core_error),
15943         (gst_core_error_get_type), (register_gst_library_error),
15944         (gst_library_error_get_type), (register_gst_resource_error),
15945         (gst_resource_error_get_type), (register_gst_stream_error),
15946         (gst_stream_error_get_type), (register_gst_event_type_flags),
15947         (gst_event_type_flags_get_type), (register_gst_event_type),
15948         (gst_event_type_get_type), (register_gst_seek_type),
15949         (gst_seek_type_get_type), (register_gst_seek_flags),
15950         (gst_seek_flags_get_type), (register_gst_format),
15951         (gst_format_get_type), (register_gst_index_certainty),
15952         (gst_index_certainty_get_type), (register_gst_index_entry_type),
15953         (gst_index_entry_type_get_type),
15954         (register_gst_index_lookup_method),
15955         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
15956         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
15957         (gst_index_resolver_method_get_type), (register_gst_index_flags),
15958         (gst_index_flags_get_type), (register_gst_debug_level),
15959         (gst_debug_level_get_type), (register_gst_debug_color_flags),
15960         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
15961         (gst_iterator_result_get_type), (register_gst_iterator_item),
15962         (gst_iterator_item_get_type), (register_gst_message_type),
15963         (gst_message_type_get_type), (register_gst_mini_object_flags),
15964         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
15965         (gst_pad_link_return_get_type), (register_gst_flow_return),
15966         (gst_flow_return_get_type), (register_gst_activate_mode),
15967         (gst_activate_mode_get_type), (register_gst_pad_direction),
15968         (gst_pad_direction_get_type), (register_gst_pad_flags),
15969         (gst_pad_flags_get_type), (register_gst_pad_presence),
15970         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
15971         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
15972         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
15973         (gst_plugin_error_get_type), (register_gst_plugin_flags),
15974         (gst_plugin_flags_get_type), (register_gst_rank),
15975         (gst_rank_get_type), (register_gst_query_type),
15976         (gst_query_type_get_type), (register_gst_tag_merge_mode),
15977         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
15978         (gst_tag_flag_get_type), (register_gst_task_state),
15979         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
15980         (gst_alloc_trace_flags_get_type),
15981         (register_gst_type_find_probability),
15982         (gst_type_find_probability_get_type), (register_gst_uri_type),
15983         (gst_uri_type_get_type), (register_gst_parse_error),
15984         (gst_parse_error_get_type):
15985         * win32/common/gstenumtypes.h:
15986         * win32/common/gstversion.h:
15987           update visual studio generated files
15988
15989 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15990
15991         * win32/vs6/libgstbase.dsp:
15992         * win32/vs6/libgstelements.dsp:
15993           update project files for new locations
15994
15995 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15996
15997         * Makefile.am:
15998           remove some files
15999         * README:
16000           reinstate and update
16001         * DEVEL:
16002         * REQUIREMENTS:
16003           removed
16004         * LICENSE:
16005         * docs/random/LICENSE:
16006           moved to random
16007
16008 2005-11-30  Edward Hervey  <edward@fluendo.com>
16009
16010         * gst/gsttypefind.c: (gst_type_find_register):
16011         * gst/gsttypefind.h:
16012         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
16013         (gst_type_find_factory_dispose):
16014         * gst/gsttypefindfactory.h:
16015         Fix memory leak in GstTypeFindFactory.
16016
16017 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16018
16019         * gst/gst.c:
16020         * plugins/elements/Makefile.am:
16021         * plugins/elements/gstelements.c:
16022         * plugins/elements/gstqueue.c:
16023           move queue from core to the elements plugin
16024
16025 2005-11-29  Andy Wingo  <wingo@pobox.com>
16026
16027         * libs/gst/base/gstbasetransform.h: 
16028         * libs/gst/base/gstbasesrc.h: 
16029         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
16030
16031         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
16032         of pointers by which to pad very extensible base classes (like the
16033         ones in libs/gst/base).
16034
16035 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16036
16037         * docs/gst/gstreamer-docs.sgml:
16038         * docs/gst/gstreamer-sections.txt:
16039         * docs/libs/gstreamer-libs-docs.sgml:
16040         * docs/libs/gstreamer-libs-sections.txt:
16041           moving documentation from core to lib
16042
16043 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16044
16045         * check/Makefile.am:
16046         * configure.ac:
16047         * docs/gst/Makefile.am:
16048         * gst/Makefile.am:
16049         * gst/base/.cvsignore:
16050         * gst/base/Makefile.am:
16051         * gst/base/README:
16052         * gst/base/gstadapter.c:
16053         * gst/base/gstadapter.h:
16054         * gst/base/gstbasesink.c:
16055         * gst/base/gstbasesink.h:
16056         * gst/base/gstbasesrc.c:
16057         * gst/base/gstbasesrc.h:
16058         * gst/base/gstbasetransform.c:
16059         * gst/base/gstbasetransform.h:
16060         * gst/base/gstcollectpads.c:
16061         * gst/base/gstcollectpads.h:
16062         * gst/base/gstpushsrc.c:
16063         * gst/base/gstpushsrc.h:
16064         * gst/base/gsttypefindhelper.c:
16065         * gst/base/gsttypefindhelper.h:
16066         * gst/check/Makefile.am:
16067         * gst/check/gstcheck.c:
16068         * gst/check/gstcheck.h:
16069         * gst/net/Makefile.am:
16070         * gst/net/gstnet.h:
16071         * gst/net/gstnetclientclock.c:
16072         * gst/net/gstnetclientclock.h:
16073         * gst/net/gstnettimepacket.c:
16074         * gst/net/gstnettimepacket.h:
16075         * gst/net/gstnettimeprovider.c:
16076         * gst/net/gstnettimeprovider.h:
16077         * libs/gst/Makefile.am:
16078         * libs/gst/base/Makefile.am:
16079         * libs/gst/base/gstbasetransform.c:
16080         * libs/gst/check/Makefile.am:
16081         * plugins/elements/Makefile.am:
16082         * po/POTFILES.in:
16083           CVS surgery + support to move base, check, and net out of gst
16084           and into libs/gst
16085
16086 2005-11-29  Andy Wingo  <wingo@pobox.com>
16087
16088         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
16089
16090         * gst/gststructure.h (struct _GstStructure): Only one pointer of
16091         padding.
16092
16093         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
16094
16095         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
16096
16097         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
16098
16099         * gst/gstobject.h: (struct _GstObject): Only one pointer of
16100         padding; reduces object size by about 30%. We don't expect
16101         anything else to go into gstobject.
16102
16103         * gst/gstminiobject.h (struct _GstMiniObject)
16104         (struct _GstMiniObjectClass): Only one pointer of padding; the
16105         payload is only a pointer and two ints anyway. For the class there
16106         are only two methods as well.
16107         
16108         * gst/gstelement.h (struct _GstElementClass): Removed
16109         the state_changed signal callback, it is not used.
16110
16111 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16112
16113         * docs/gst/gstreamer.types:
16114           fix includes, though they are a little dinky
16115
16116 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16117
16118         * check/Makefile.am:
16119           look in the right place for elements, a lot more chance of
16120           success
16121         * gst/Makefile.am:
16122           remove indexers and elements subdirs
16123         * plugins/Makefile.am:
16124           make indexers conditional
16125
16126 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16127
16128         * Makefile.am:
16129         * configure.ac:
16130         * plugins/elements/Makefile.am:
16131         * plugins/elements/gstcapsfilter.c:
16132         * plugins/elements/gstfilesink.c:
16133         * plugins/elements/gstfilesrc.c:
16134         * plugins/elements/gstidentity.c:
16135         * plugins/indexers/Makefile.am:
16136           do CVS surgery and related build fixery to move elements
16137           and indexers in a new gstreamer/plugins directory, out of the
16138           gst/ directory
16139
16140 2005-11-29  Andy Wingo  <wingo@pobox.com>
16141
16142         * check/Makefile.am:
16143         * pkgconfig/gstreamer-net-uninstalled.pc.in:
16144         * pkgconfig/gstreamer-net.pc.in:
16145         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
16146         #322257.
16147
16148 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16149
16150         * tools/Makefile.am:
16151         * tools/gst-complete.1.in:
16152         * tools/gst-complete.c:
16153         * tools/gst-compprep.1.in:
16154         * tools/gst-compprep.c:
16155           removing -compprep and -complete
16156
16157 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16158
16159         * gst/gstevent.c: (gst_event_new_new_segment),
16160         (gst_event_parse_new_segment):
16161         * gst/gstevent.h:
16162           fix #320529 - clean up new_segment API and structure.
16163           Let's hope everyone was using the methods, and not the structure.
16164
16165 2005-11-29  Edward Hervey  <edward@fluendo.com>
16166
16167         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16168         (gst_base_sink_event), (gst_base_sink_do_sync),
16169         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
16170         Properly handle non GST_FORMAT_TIME segment
16171         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
16172         Properly handle non GST_FORMAT_TIME segment
16173         * gst/gstsegment.c:
16174         This function is valid if the accumulator is 0 and the format
16175         is different from the requested format.
16176         
16177 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
16178
16179         * docs/gst/gstreamer-sections.txt:
16180         Add gst_query_new_seeking and gst_query_parse_seeking to the
16181         docs.
16182
16183 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
16184
16185         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
16186           Treat a pad alloc with new caps the same as if we were not
16187           negotiated, in order to allow a changing upstream output
16188           to produce a new format of data.
16189
16190 2005-11-29  Edward Hervey  <edward@fluendo.com>
16191
16192         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16193         (gst_base_transform_event), (gst_base_transform_eventfunc):
16194         The event virtual method is now properly implemented, with a default
16195         handler
16196         Sub classes should call the parent_class event method. They should
16197         return FALSE if they had a problem handling the given event, or don't
16198         want GstBaseTransform to send that even downstream
16199         * gst/elements/gstidentity.c: (gst_identity_class_init),
16200         (gst_identity_init), (gst_identity_event),
16201         (gst_identity_transform_ip), (gst_identity_set_property),
16202         (gst_identity_get_property):
16203         * gst/elements/gstidentity.h:
16204         Added the single-segment boolean property.
16205         If set to TRUE, it will output a single segment of data, starting from
16206         0, will eat up all incoming newsegment, and modify the timestamp of the
16207         buffers accordingly
16208
16209 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
16210
16211         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
16212           Don't ref NULL target pad (#322751). Improve docs.
16213
16214 2005-11-29  Michael Smith  <msmith@fluendo.com>
16215
16216         * gst/gstregistryxml.c: (load_plugin):
16217           Don't crash if we failed to load a feature from a plugin. 
16218
16219 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16220
16221         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
16222         (GST_START_TEST):
16223           use more check API and less GLib API
16224
16225 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16226
16227         * Makefile.am:
16228           don't run checks if we don't have check
16229         * common/check.mak:
16230           remove the registry when running make torture
16231         * docs/gst/gstreamer-sections.txt:
16232           remove second multiply
16233         * gst/gstqueue.c: (gst_queue_loop):
16234           fix a compile warning when disabling debug
16235
16236 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
16237
16238         * gst/gstinfo.h:
16239         Hey! Let's print the pad name if the pointer != NULL instead
16240         of when it == NULL :-)
16241
16242 2005-11-28  Wim Taymans  <wim@fluendo.com>
16243
16244         * check/gst/gstutils.c: (GST_START_TEST):
16245         Updated check, add some scaling accuracy checking code.
16246
16247         * gst/gstutils.c: (gst_util_div128_64),
16248         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
16249         (gst_util_uint64_scale_int):
16250         Fix 6 times faster division code. Optimize for common 
16251         1/1 and less common X/1 cases.
16252
16253 2005-11-28  Wim Taymans  <wim@fluendo.com>
16254
16255         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16256         More checks.
16257
16258         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
16259         (do_linear_regression), (gst_clock_add_observation):
16260         Cleanups.
16261         Release lock when the clock cannot be slaved.
16262         Catch the case where the regression returned an invalid denominator.
16263
16264         * gst/gstutils.c: (gst_util_div128_64_iterate),
16265         (gst_util_div128_64), (gst_util_uint64_scale_int64),
16266         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
16267         Add protentially more performant non-iterative 128/64 divide function
16268         that unfortunatly does not work yet.
16269         Shortcut the trivial 0/X = 0 case.
16270         Remove the warnings on overflow.
16271
16272 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16273
16274         * gst/gstplugin.c: (gst_plugin_register_func):
16275           everything causing a plugin not to load should be at least a WARNING
16276
16277 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
16278
16279         * docs/random/ensonic/dparams.txt:
16280           some TODOs for the next dev cycle
16281         * libs/gst/controller/gstcontroller.c:
16282         (gst_controlled_property_set_interpolation_mode),
16283         (gst_controlled_property_new):
16284         * libs/gst/controller/gstcontroller.h:
16285           use base type to assign acccessor functions
16286
16287 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
16288
16289         * check/Makefile.am:
16290         Oops, that should have been top_srcdir
16291
16292 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
16293
16294         * check/Makefile.am:
16295         * check/elements/fdsrc.c: (GST_START_TEST):
16296         Use a cmdline define to specify the location of a file to use for
16297         testing, to avoid breaking distcheck.
16298
16299 2005-11-28  Andy Wingo  <wingo@pobox.com>
16300
16301         * gst/gstpad.c (fixate_value): Use array functions for arrays.
16302
16303 2005-11-28  Edward Hervey  <edward@fluendo.com>
16304
16305         * tools/gst-launch.c: (main):
16306         Clarify the output strings, makes it easier to translate.
16307         Fixes #322626
16308
16309 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16310
16311         * gst/Makefile.am:
16312           don't try and build net if we don't even have <sys/socket.h>
16313
16314 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
16315
16316         * check/Makefile.am:
16317         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
16318         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
16319           Add tests for fdsrc seekability
16320
16321         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
16322         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
16323         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
16324         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
16325         * gst/elements/gstfdsrc.h:
16326           fdsrc should not be a 'live' source.
16327           Implement seeking on seekable fd's.
16328
16329         * gst/gstquery.c: (gst_query_new_seeking),
16330         (gst_query_parse_seeking):
16331         * gst/gstquery.h:
16332           Implement SEEKING query functions: 
16333             *_new_seeking and *_parse_seeking
16334
16335 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
16336
16337         * gst/gstelement.c: (gst_element_dispose):
16338           don't loop forever
16339
16340         * gst/gstiterator.c:
16341         * gst/gststructure.c:
16342           doc fixes
16343
16344         * libs/gst/controller/gstcontroller.c:
16345         (gst_controlled_property_set_interpolation_mode):
16346         * libs/gst/controller/gstcontroller.h:
16347         * libs/gst/controller/gstinterpolation.c:
16348         (interpolate_none_get_enum_value_array):
16349           support controlling enums
16350
16351 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
16352
16353         * gst/gstvalue.c:
16354           Improve documentation for gst_value_union().
16355
16356         * gst/gstvalue.h:
16357           Change return value for union, intersect and subtract functions
16358           from gint to gboolean.
16359
16360 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
16361
16362         * gst/gstvalue.c: (gst_value_serialize_any_list),
16363         (gst_value_transform_any_list_string),
16364         (gst_value_deserialize_list), (gst_value_deserialize_array),
16365         (gst_value_set_int_range), (gst_value_deserialize_int_range),
16366         (gst_value_set_double_range), (gst_value_deserialize_double_range),
16367         (gst_value_set_fraction_range_full),
16368         (gst_value_deserialize_fraction_range),
16369         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
16370         (gst_value_deserialize_boolean),
16371         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
16372         (gst_value_serialize_float), (gst_value_deserialize_float),
16373         (gst_string_wrap), (gst_value_deserialize_string),
16374         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
16375         (gst_value_union_int_range_int_range),
16376         (gst_value_intersect_int_range_int_range),
16377         (gst_value_intersect_double_range_double_range),
16378         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
16379         (gst_value_subtract_int_range_int_range),
16380         (gst_value_subtract_double_double_range),
16381         (gst_value_subtract_double_range_double_range),
16382         (gst_value_deserialize_fraction):
16383         * gst/gstvalue.h:
16384           Use gint, gdouble and gchar in our API instead of int, double and
16385           char (and make usage in gstvalue.c more consistent).
16386
16387 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
16388
16389         * check/Makefile.am:
16390         * libs/gst/controller/Makefile.am:
16391         * libs/gst/dataprotocol/Makefile.am:
16392           fix up Makefile.am and remove GST_ENABLE_NEW
16393
16394 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
16395
16396         * configure.ac:
16397         * gst/Makefile.am:
16398         * gst/base/Makefile.am:
16399         * gst/check/Makefile.am:
16400         * gst/elements/Makefile.am:
16401         * gst/net/Makefile.am:
16402           update LDFLAGS use some more
16403
16404 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
16405
16406         * common/m4/gst-doc.m4:
16407           Fixes #312589
16408
16409 2005-11-26  Edward Hervey  <edward@fluendo.com>
16410
16411         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16412         This shouldn't issue a g_warning since it returns NULL if it
16413         couldn't find the plugin, and all functions using this behave
16414         properly on a NULL return. Switching to a GST_WARNING.
16415
16416 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
16417
16418         * gst/gstbin.c: (gst_bin_handle_message_func):
16419         Don't leak clock messages.
16420
16421 2005-11-25  Wim Taymans  <wim@fluendo.com>
16422
16423         * gst/gstutils.c: (gst_util_uint64_scale_int64),
16424         (gst_util_uint64_scale_int):
16425         Optimisations, remove unneeded vars.
16426
16427 2005-11-25  Wim Taymans  <wim@fluendo.com>
16428
16429         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16430         Added more checks for the high precision uint64 cases.
16431
16432         * gst/gstutils.c: (gst_util_uint64_scale_int64),
16433         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
16434         Implement high precision (guint64 * guint64) / guint64.
16435
16436 2005-11-24  Wim Taymans  <wim@fluendo.com>
16437
16438         * gst/base/gstbasesrc.c: (gst_base_src_query):
16439         Fix wrong percentage query.
16440
16441         * gst/gstutils.c: (gst_util_uint64_scale),
16442         (gst_util_uint64_scale_int):
16443         Add some more common cases that can be handled 
16444         efficiently to _scale.
16445
16446 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16447
16448         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
16449         (gst_mini_object_suite):
16450           don't use check calls from threads; check probably isn't
16451           threadsafe and using a lock to make it threadsafe would
16452           defeat the purpose of this check
16453         * gst/check/gstcheck.c:
16454         * gst/check/gstcheck.h:
16455           use GST_DEBUG some more
16456
16457 2005-11-24  Wim Taymans  <wim@fluendo.com>
16458
16459         * gst/gstutils.c: (gst_util_uint64_scale),
16460         (gst_util_uint64_scale_int):
16461         Chain trivial case to _scale_int.
16462
16463 2005-11-24  Wim Taymans  <wim@fluendo.com>
16464
16465         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16466         Added test for scaling.
16467
16468         * gst/gstclock.h:
16469         Small doc fix.
16470
16471         * gst/gstutils.c: (gst_util_uint64_scale_int):
16472         Implemented high precision scaling code.
16473
16474 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
16475
16476         * gst/gstinfo.h:
16477           do not crash on pad==NULL
16478
16479 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16480
16481         Patch by: Stefan Kost
16482
16483         * common/gtk-doc.mak:
16484         * docs/gst/Makefile.am:
16485         * docs/libs/Makefile.am:
16486           Fix distcheck issues for the libraries docs build
16487           Closes #319599.
16488
16489 2005-11-24  Michael Smith <msmith@fluendo.com>
16490
16491         * docs/manual/basics-helloworld.xml:
16492           Fix bug #315027: memory leak in example code in docs.
16493
16494 2005-11-24  Michael Smith <msmith@fluendo.com>
16495
16496         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16497           Unlock the PREROLL_LOCK in a failure case.
16498
16499 2005-11-24  Wim Taymans  <wim@fluendo.com>
16500
16501         * docs/gst/gstreamer-sections.txt:
16502         * gst/base/gstadapter.h:
16503         * gst/base/gstbasesink.h:
16504         * gst/base/gstbasesrc.h:
16505         * gst/base/gstbasetransform.h:
16506         * gst/base/gstpushsrc.h:
16507         * gst/elements/gstfakesink.h:
16508         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
16509         * gst/elements/gstfakesrc.h:
16510         * gst/elements/gstfilesink.h:
16511         * gst/elements/gstfilesrc.h:
16512         * gst/gst.c:
16513         * gst/gstbin.c:
16514         * gst/gstbuffer.c: (_gst_buffer_copy):
16515         * gst/gstbus.h:
16516         * gst/gstcaps.c:
16517         * gst/gstchildproxy.c:
16518         * gst/gstclock.c:
16519         * gst/gstelement.c:
16520         * gst/gstelementfactory.c:
16521         * gst/gstelementfactory.h:
16522         * gst/gstevent.c:
16523         * gst/gstghostpad.h:
16524         * gst/gstindex.h:
16525         * gst/gstinterface.h:
16526         * gst/gstminiobject.c:
16527         * gst/gstminiobject.h:
16528         * gst/gstpad.c:
16529         * gst/gstpad.h:
16530         * gst/gstpadtemplate.h:
16531         * gst/gstpipeline.h:
16532         * gst/gstpluginfeature.h:
16533         * gst/gstquery.h:
16534         * gst/gstqueue.h:
16535         * gst/gsttaglist.c:
16536         * gst/gsttaglist.h:
16537         * gst/gsttagsetter.c:
16538         * gst/gsttagsetter.h:
16539         * gst/gsttrace.c:
16540         * gst/gsttrace.h:
16541         * gst/gsttypefind.h:
16542         * gst/gsturi.h:
16543         * gst/gstvalue.c:
16544         * gst/net/gstnetclientclock.c:
16545         * gst/net/gstnetclientclock.h:
16546         * gst/net/gstnettimepacket.c:
16547         * gst/net/gstnettimeprovider.c:
16548         * gst/net/gstnettimeprovider.h:
16549         Doc fixes.
16550
16551 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16552
16553         * configure.ac: back to HEAD
16554
16555 === release 0.9.6 ===
16556
16557 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
16558
16559         * configure.ac:
16560           releasing 0.9.6, "Always On Time"
16561
16562 2005-11-23  Wim Taymans  <wim@fluendo.com>
16563
16564         * docs/gst/gstreamer-sections.txt:
16565         * gst/glib-compat.c:
16566         * gst/gsttagsetter.c:
16567         * gst/gstvalue.c:
16568         * gst/net/gstnetclientclock.c:
16569         * gst/net/gstnettimepacket.h:
16570         Doc updates.
16571
16572 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16573
16574         * docs/faq/using.xml:
16575         * docs/libs/tmpl/gstcontrol.sgml:
16576         * docs/manual/advanced-dparams.xml:
16577         * docs/manual/appendix-checklist.xml:
16578         * docs/manual/basics-elements.xml:
16579         * docs/pwg/other-source.xml:
16580         * docs/random/moving-plugins:
16581         * gst/gstpad.c:
16582         * tools/gst-launch.1.in:
16583           remove mentions of sinesrc
16584
16585 2005-11-23  Michael Smith <msmith@fluendo.com>
16586
16587         * docs/gst/gstreamer-sections.txt:
16588           Update for new API and API changes.
16589         * gst/gstobject.h:
16590           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
16591         * gst/gstvalue.c:
16592           Documentation typo fix.
16593         * gst/net/gstnettimepacket.c:
16594           Documentation fixes for arguments.
16595
16596 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
16597
16598         * gst/gststructure.c: (gst_structure_get_fraction),
16599         (gst_structure_parse_value),
16600         (gst_structure_fixate_field_nearest_fraction):
16601         * gst/gststructure.h:
16602         * gst/gstutils.c: (gst_util_uint64_scale_int):
16603         * gst/gstutils.h:
16604         * scripts/update-funcnames:
16605         API Changes. 
16606         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
16607         Make gst_structure_fixate_field_nearest_fraction take a numerator
16608         and denominator argument instead of a GValue
16609         add gst_structure_get_fraction helper function.
16610
16611 2005-11-23  Wim Taymans  <wim@fluendo.com>
16612
16613         * docs/design/part-TODO.txt:
16614         Update TODO.
16615
16616         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
16617         * gst/net/gstnetclientclock.h:
16618         Use parent fields for timeout and window_size.
16619
16620 2005-11-23  Andy Wingo  <wingo@pobox.com>
16621
16622         * check/net/gstnetclientclock.c (test_functioning): Adjust to
16623         rate_num/rate_denom change.
16624
16625         * gst/net/gstnetclientclock.c
16626         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
16627         OBJECT_LOCK. Don't call add_observation with the lock.
16628
16629         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
16630         fraction.
16631         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
16632         rate fraction.
16633         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
16634         deal with rate as a fraction whose numerator and denominator are
16635         GstClockTime values.
16636         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
16637         master; the other fields are protected by the SLAVE_LOCK.
16638         (do_linear_regression): Note that this must be called with the
16639         SLAVE_LOCK.
16640         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
16641         OBJECT_LOCK. Call set_calibration instead of touching the
16642         variables directly.
16643         (gst_clock_set_property, gst_clock_get_property): Protect
16644         master/slave parameters with the SLAVE_LOCK.
16645
16646         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
16647         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
16648         note that all of the instance variables that add_observation and
16649         the set_master functions use are protected by that lock and not
16650         the OBJECT_LOCK.
16651         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
16652
16653         * gst/gstclock.c (gst_clock_add_observation): No longer requires
16654         the caller to take the object lock.
16655
16656 2005-11-23  Wim Taymans  <wim@fluendo.com>
16657
16658         * gst/gsterror.c: (_gst_core_errors_init):
16659         * gst/gsterror.h:
16660         Add error for clock stuff.
16661
16662         * gst/gstpipeline.c: (gst_pipeline_change_state),
16663         (gst_pipeline_set_clock):
16664         Post clock error when clock cannot be used in a pipeline.
16665
16666 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
16667
16668         * docs/gst/gstreamer-sections.txt:
16669           make two symbols from gstinfo private for the docs
16670         * gst/base/gstcollectpads.h:
16671         * gst/gstutils.c:
16672           fix doc typos, update docs
16673
16674 2005-11-22  Wim Taymans  <wim@fluendo.com>
16675
16676         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16677         (gst_base_sink_wait), (gst_base_sink_do_sync),
16678         (gst_base_sink_handle_event):
16679         * gst/base/gstbasesink.h:
16680         No need to store the clock, the parent element class already
16681         has it.
16682
16683         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
16684         Updates for clock_set returning a gboolean
16685
16686         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
16687         (gst_clock_id_wait_async), (gst_clock_class_init),
16688         (gst_clock_init), (gst_clock_finalize),
16689         (gst_clock_get_internal_time), (gst_clock_get_time),
16690         (gst_clock_slave_callback), (gst_clock_set_master),
16691         (gst_clock_get_master), (do_linear_regression),
16692         (gst_clock_add_observation), (gst_clock_set_property),
16693         (gst_clock_get_property):
16694         * gst/gstclock.h:
16695         Implement master/slave. When setting a clock as a slave, a
16696         periodic timeout is scheduled to sample master and slave times.
16697         Then the slave clock is recalibrated to match offset and rate
16698         of the master clock.
16699         Update logging a bit.
16700         Add flag so that a clock can state that is cannot be slaved to
16701         another clock.
16702
16703         * gst/gstelement.c: (gst_element_set_clock):
16704         * gst/gstelement.h:
16705         The set clock returns a gboolean for when an element cannot
16706         deal with the selected clock in the pipeline. 
16707
16708         * gst/gstpipeline.c: (gst_pipeline_change_state),
16709         (gst_pipeline_set_clock):
16710         * gst/gstpipeline.h:
16711         Handle the case where the selected clock cannot be set on
16712         the pipeline.
16713
16714         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
16715         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
16716         (gst_net_client_clock_set_property),
16717         (gst_net_client_clock_get_property),
16718         (gst_net_client_clock_observe_times):
16719         * gst/net/gstnetclientclock.h:
16720         Use regression code in GstClock parent, remove duplicated
16721         functionality.
16722
16723 2005-11-22  Michael Smith <msmith@fluendo.com>
16724
16725         * gst/gstutils.c: (gst_util_clock_time_scale):
16726         * gst/gstutils.h:
16727         * docs/gst/gstreamer-sections.txt:
16728           Rename method to have extra underscore.
16729
16730 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
16731
16732         * gst/elements/Makefile.am:
16733         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
16734         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
16735         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
16736         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
16737         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
16738         * gst/elements/gstfakesrc.h:
16739         * gst/gstqueue.c: (queue_leaky_get_type):
16740           correctly fix GEnumValues so that nick is the short lowercase
16741           dashed tag
16742         * tools/gst-inspect.c: (print_element_properties_info):
16743           also show the nick, since it's useful to use from parse_launch
16744           syntax
16745           Fixes #322139
16746
16747 2005-11-22  Michael Smith <msmith@fluendo.com>
16748
16749         * gst/gstutils.c: (gst_util_clocktime_scale):
16750         * gst/gstutils.h:
16751         * docs/gst/gstreamer-sections.txt:
16752           Add util method for scaling a clocktime by a fraction. Useful 
16753           implementation is left as an exercise for the reader.
16754
16755 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16756
16757         * gst/gstvalue.c: (gst_value_collect_fraction_range):
16758         If needed, allocate storage in the destination value during
16759         collection.
16760
16761 2005-11-22  Edward Hervey  <edward@fluendo.com>
16762
16763         * docs/gst/gstreamer-sections.txt:
16764         * gst/Makefile.am:
16765         * gst/gst.h:
16766         * gst/gsturitype.c:
16767         * gst/gsturitype.h:
16768         * gst/gstutils.c: (gst_util_set_object_arg):
16769         * tools/gst-compprep.c: (main):
16770         * tools/gst-inspect.c: (print_element_properties_info):
16771         Removed GstURI, closes bug #321061
16772
16773 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16774
16775         * check/gst/gststructure.c: (GST_START_TEST):
16776         * gst/gststructure.c: (gst_structure_parse_value):
16777           Oops, broke automatic string type parsing.
16778           Add a test to catch it in future.
16779
16780 2005-11-22  Andy Wingo  <wingo@pobox.com>
16781
16782         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
16783         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
16784         Actually rename the function implementations. Grr.
16785
16786 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16787
16788         * check/gst/capslist.h:
16789           Comment test cases
16790         * check/gst/gststructure.c: (GST_START_TEST),
16791         (gst_structure_suite):
16792           Test automatic value type detection in gst_structure_from_string.
16793         * gst/gststructure.c: (gst_structure_parse_value):
16794           Add fraction as a type we try and guess automatically in
16795           caps/structure strings.
16796
16797 2005-11-22  Andy Wingo  <wingo@pobox.com>
16798
16799         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
16800
16801         * gst/gsttagsetter.h:
16802         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
16803         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
16804         (gst_tag_setter_add_tag_valist)
16805         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
16806         _add_values, _add_valist, and _add_valist_values. Since this is an
16807         interface the function suffixes should be more explicit so
16808         language binding don't end up with element.add_valist ->
16809         gst_tag_setter_add_valist, for example. Fixes #322069.
16810
16811 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16812
16813         * check/gst/gstcaps.c: (GST_START_TEST):
16814           Extend caps string tests to check that a caps to string
16815           conversion is reversible and produces the same caps.
16816
16817         * gst/gststructure.c: (gst_structure_value_get_generic_type):
16818           Output "fraction" as the generic type fraction range, so caps
16819           serialisation and deserialisation works.
16820         * check/gst/capslist.h:
16821         * gst/gstvalue.c: (gst_value_deserialize_fraction):
16822           Support 'MIN' and 'MAX' for deserialising fractions.
16823
16824 2005-11-22  Andy Wingo  <wingo@pobox.com>
16825
16826         * gst/gstevent.h (gst_event_new_new_segment)
16827         (gst_event_parse_new_segment, gst_event_new_buffer_size)
16828         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
16829         Renamed from *_newsegment, *_buffersize, *_notarget.
16830
16831         * scripts/update-funcnames: New script, performs the changes
16832         listed above.
16833
16834 2005-11-22  Wim Taymans  <wim@fluendo.com>
16835
16836         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16837         Make sure the GstFlowReturn is returned.
16838
16839         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
16840         (gst_bus_add_signal_watch):
16841         * gst/gstbus.h:
16842         add gst_bus_add_signal_watch_full.
16843
16844         * gst/gstplugin.c: (gst_plugin_load_file):
16845         Small style cleanup.
16846
16847 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16848
16849         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
16850           Block the fakesrc srcpad when we send an event, to avoid
16851           contention on the stream_lock causing random test failures.
16852
16853 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16854
16855         * check/gst/gstvalue.c: (GST_START_TEST):
16856         * gst/gstvalue.c: (gst_value_fraction_subtract):
16857           Fix subtraction.
16858
16859 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
16860
16861         * gst/gst.h:
16862           include "gstchildproxy.h"
16863         * gst/gstchildproxy.h:
16864         * libs/gst/controller/gstcontroller.h:
16865           use G_GNUC_NULL_TERMINATED
16866
16867 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16868
16869         * check/gst/capslist.h:
16870         * check/gst/gstcaps.c: (GST_START_TEST):
16871         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16872         * gst/gststructure.c: (gst_structure_parse_range),
16873         (gst_structure_fixate_field_nearest_fraction):
16874         * gst/gststructure.h:
16875         * gst/gstvalue.c: (gst_value_init_fraction_range),
16876         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
16877         (gst_value_collect_fraction_range),
16878         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
16879         (gst_value_set_fraction_range_full),
16880         (gst_value_get_fraction_range_min),
16881         (gst_value_get_fraction_range_max),
16882         (gst_value_serialize_fraction_range),
16883         (gst_value_transform_fraction_range_string),
16884         (gst_value_compare_fraction_range),
16885         (gst_value_deserialize_fraction_range),
16886         (gst_value_intersect_fraction_fraction_range),
16887         (gst_value_intersect_fraction_range_fraction_range),
16888         (gst_value_subtract_fraction_fraction_range),
16889         (gst_value_subtract_fraction_range_fraction),
16890         (gst_value_subtract_fraction_range_fraction_range),
16891         (gst_value_collect_fraction), (gst_value_fraction_multiply),
16892         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
16893         (gst_value_transform_string_fraction), (_gst_value_initialize):
16894         * gst/gstvalue.h:
16895           Implement fraction ranges and extend GstFraction to support
16896           arithmetic subtraction, as well as deserialization from integer
16897           strings such as "100"
16898           Add a testsuite as for int and double range set operations
16899
16900 2005-11-21  Andy Wingo  <wingo@pobox.com>
16901
16902         * gst/gsttaglist.h: 
16903         * gst/gstcaps.h: 
16904         * gst/gststructure.h: Add glib-compat.h.
16905
16906 2005-11-21  Wim Taymans  <wim@fluendo.com>
16907
16908         * gst/gstbin.c: (gst_bin_change_state_func):
16909         Fix for #321595
16910
16911 2005-11-21  Wim Taymans  <wim@fluendo.com>
16912
16913         * gst/gstsegment.h:
16914         And add a nice define too.
16915
16916 2005-11-21  Wim Taymans  <wim@fluendo.com>
16917
16918         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
16919         (gst_segment_new), (gst_segment_free), (gst_segment_init),
16920         (gst_segment_set_duration), (gst_segment_set_last_stop),
16921         (gst_segment_set_seek), (gst_segment_set_newsegment),
16922         (gst_segment_to_stream_time), (gst_segment_to_running_time),
16923         (gst_segment_clip):
16924         * gst/gstsegment.h:
16925         Make binding friendly.
16926
16927 2005-11-21  Andy Wingo  <wingo@pobox.com>
16928
16929         * gst/gsttagsetter.h: 
16930         * gst/gsttaglist.h: 
16931         * gst/gststructure.h: 
16932         * gst/gstcaps.h: 
16933         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
16934         #319940.
16935
16936         * gst/gsterror.c (_gst_core_errors_init):
16937         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
16938         category.
16939
16940         * gst/Makefile.am (gst_headers): Add glib-compat.h.
16941         (noinst_HEADERS): noinst the -private.
16942
16943 2005-11-21  Michael Smith <msmith@fluendo.com>
16944
16945         * gst/gstplugin.h:
16946         * gst/gstregistry.h:
16947           Remove unimplemented declarations for which we can see no sensible
16948           use.
16949
16950 2005-11-21  Andy Wingo  <wingo@pobox.com>
16951
16952         * gst/gst.h: Include glib-compat.h.
16953
16954         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
16955
16956         * gst/glib-compat.c: Include the public and the private header.
16957
16958         * gst/glib-compat-private.h: Copied here from glib-compat.h.
16959
16960         * gst/gstvalue.c: 
16961         * gst/gstpad.c: 
16962         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
16963
16964         * check/gst/gstevent.c (create_custom_events): Check that
16965         FLUSH_STOP is serialized.
16966
16967         * check/elements/identity.c (event_func): 
16968         * check/elements/fakesrc.c (event_func): No stream lock, the core
16969         takes it.
16970
16971         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
16972         stream lock taking, yay.
16973
16974         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
16975         ensure that core takes the stream lock.
16976
16977         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
16978         lock name change.
16979
16980         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
16981         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
16982         it already. For the flush start we do take it though so we get the
16983         right preroll state change messages.
16984
16985         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
16986         the stream lock here, the core does it for us.
16987
16988         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
16989         GST_STREAM_GET_LOCK.
16990         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
16991         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
16992         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
16993         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
16994         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
16995         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
16996
16997         * gst/gstpad.c: Update for stream lock name change.
16998
16999         * gst/base/gstbasesink.c: Update for preroll lock name change.
17000
17001 2005-11-21  Wim Taymans  <wim@fluendo.com>
17002
17003         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
17004         (gst_clock_get_master):
17005         * gst/gstclock.h:
17006         * gst/gstsystemclock.c: (gst_system_clock_init):
17007         Convert Clock flags to object flags.
17008         Added methods to manage master/slave clocks.
17009
17010 2005-11-21  Wim Taymans  <wim@fluendo.com>
17011
17012         * check/gst/gstsegment.c: (GST_START_TEST):
17013         * docs/design/part-TODO.txt:
17014         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17015         (gst_base_sink_event), (gst_base_sink_do_sync),
17016         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17017         (gst_base_sink_query), (gst_base_sink_change_state):
17018         * gst/base/gstbasesink.h:
17019         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
17020         (gst_base_src_default_newsegment),
17021         (gst_base_src_configure_segment), (gst_base_src_do_seek),
17022         (gst_base_src_get_range), (gst_base_src_loop),
17023         (gst_base_src_change_state):
17024         * gst/base/gstbasesrc.h:
17025         * gst/base/gstbasetransform.c:
17026         (gst_base_transform_prepare_output_buf),
17027         (gst_base_transform_event), (gst_base_transform_change_state):
17028         * gst/base/gstbasetransform.h:
17029         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17030         (gst_collect_pads_event):
17031         * gst/base/gstcollectpads.h:
17032         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
17033         (gst_fake_src_create):
17034         * gst/elements/gstfakesrc.h:
17035         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17036         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
17037         (gst_segment_set_last_stop), (gst_segment_set_seek),
17038         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
17039         (gst_segment_to_running_time), (gst_segment_clip):
17040         * gst/gstsegment.h:
17041         More segment updates, replace code in plugins with segment
17042         helper functions.
17043
17044 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
17045
17046         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
17047         Don't ignore sscanf results
17048
17049 2005-11-21  Andy Wingo  <wingo@pobox.com>
17050
17051         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
17052
17053         * *.h:
17054         * *.c: Ran scripts/update-macros. Oh yes.
17055
17056         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
17057         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
17058         GST_GET_LOCK, etc.
17059
17060         * scripts/update-macros: New script. Run it on your files to
17061         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
17062         well.
17063
17064 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
17065
17066         * docs/gst/Makefile.am:
17067         * docs/gst/gstreamer-docs.sgml:
17068         * docs/gst/gstreamer-sections.txt:
17069         * docs/gst/gstreamer.types:
17070         * gst/gstinfo.h:
17071           more docs fixes, add new api to the docs
17072
17073 2005-11-21  Andy Wingo  <wingo@pobox.com>
17074
17075         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
17076         state_broadcast call.
17077
17078         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
17079
17080 2005-11-21  Julien MOUTTE  <julien@moutte.net>
17081
17082         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
17083         function calls for arrays.
17084
17085 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
17086
17087         * docs/random/ensonic/media-device-daemon.txt:
17088           wild idea, can this be done?
17089         * docs/gst/gstreamer-sections.txt:
17090         * gst/gsterror.h:
17091         * gst/gstfilter.c:
17092         * gst/gstfilter.h:
17093         * gst/gstplugin.h:
17094         * gst/gstpluginfeature.c:
17095         * gst/gsttrace.c:
17096         * gst/gstvalue.c:
17097         * gst/gstvalue.h:
17098           doc fixes and additions
17099
17100 2005-11-21  Andy Wingo  <wingo@pobox.com>
17101
17102         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
17103         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
17104         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
17105         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
17106         private to the basesrc implementation.
17107
17108         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
17109         behalf of event function if necessary. It should no longer be
17110         necessary to take the stream lock in pad's event functions. Fixes
17111         #320299.
17112
17113 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
17114         * docs/gst/gstreamer-sections.txt:
17115         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
17116         (gst_structure_fixate_field_nearest_double),
17117         (gst_structure_fixate_field_boolean):
17118         * gst/gststructure.h:
17119         * win32/common/libgstreamer.def:
17120         * win32/gstreamer.def:
17121
17122         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
17123         (#322027)
17124
17125 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
17126
17127         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
17128         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
17129         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
17130         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
17131         (gst_fdsrc_uri_handler_init):
17132         * gst/elements/gstfdsrc.h:
17133           Port fd:// URI handler from 0.8 to fdsrc
17134
17135 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
17136
17137         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
17138         (gst_value_serialize_fourcc):
17139         * gst/gstvalue.h:
17140           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
17141           consistent with our other format defines (#320324).
17142
17143 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
17144
17145         * gst/gstvalue.c: (gst_value_is_fixed):
17146           Revert previous commit. Value lists are by definition
17147           not fixed, as they are a list of possible values.
17148
17149 2005-11-21  Andy Wingo  <wingo@pobox.com>
17150
17151         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
17152         during the stable series if we need it. Fixes #319178.
17153
17154         * gst/gstevent.c (gst_event_new_filler): Removed.
17155
17156         * check/gst/gstevent.c: Update comment about filler events.
17157
17158 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
17159
17160         * gst/gstvalue.c: (gst_value_is_fixed):
17161           Should handle both value arrays and value lists.
17162
17163 2005-11-21  Andy Wingo  <wingo@pobox.com>
17164
17165         patch by: Alessandro Dessina <alessandro nnva org>
17166
17167         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
17168         functions to access arrays. Fixes #321962.
17169
17170 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
17171
17172         * docs/gst/gstreamer.types:
17173           gst_collectpads_get_type => gst_collect_pads_get_type.
17174           
17175         * gst/base/gstbasetransform.c:
17176           Remove unused SIGNAL_HANDOFF enum.
17177
17178 2005-11-21  Andy Wingo  <wingo@pobox.com>
17179
17180         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
17181         the event type (upstream, downstream, serialized). Renamed
17182         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
17183         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
17184         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
17185
17186         * gst/gstevent.c: Update for new CUSTOM event names.
17187
17188         * check/gst/gstevent.c: Update check for new CUSTOM event names.
17189
17190         * gst/gstevent.h:
17191         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
17192         bug #319392.
17193
17194 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
17195
17196         * docs/gst/gstreamer-sections.txt:
17197         * win32/common/libgstbase.def:
17198         * win32/libgstbase.def:
17199         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
17200         (gst_collect_pads_class_init), (gst_collect_pads_init),
17201         (gst_collect_pads_finalize), (gst_collect_pads_new),
17202         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
17203         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
17204         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
17205         (gst_collect_pads_start), (gst_collect_pads_stop),
17206         (gst_collect_pads_peek), (gst_collect_pads_pop),
17207         (gst_collect_pads_available), (gst_collect_pads_read),
17208         (gst_collect_pads_flush), (gst_collect_pads_event),
17209         (gst_collect_pads_chain):
17210         * gst/base/gstcollectpads.h:
17211           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
17212           unimplemented functions as unimplemented. Add padding to
17213           GstCollectData. (#320766, #320423)
17214
17215 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
17216
17217         * gst/gstmessage.c:
17218           Improve docs for DURATION message (usage of duration parameter)
17219           (#320113)
17220
17221 2005-11-20  Wim Taymans  <wim@fluendo.com>
17222
17223         * check/Makefile.am:
17224         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
17225         (main):
17226         * gst/Makefile.am:
17227         * gst/gst.h:
17228         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
17229         (gst_segment_set_seek), (gst_segment_set_newsegment),
17230         (gst_segment_to_stream_time), (gst_segment_to_running_time),
17231         (gst_segment_clip):
17232         * gst/gstsegment.h:
17233         Added segment helper structure and methods. Not fully implemented
17234         yet.
17235         Added segment check.
17236
17237 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
17238
17239         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17240           Add a deserialisation test for fractions
17241         * examples/metadata/read-metadata.c: (message_loop),
17242         (make_pipeline), (main):
17243           Fix up metadata reading sample.
17244         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17245           Debug format fix
17246         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
17247           Don't try and fixate empty caps
17248         * gst/gst_private.h:
17249           Wrap in G_BEGIN_DECLS/G_END_DECLS
17250         * gst/gstvalue.c: (gst_value_collect_fraction),
17251         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
17252         (gst_value_transform_string_fraction),
17253         (gst_value_compare_fraction):
17254           Add some extra guards to ensure that we don't end up 
17255           with an invalid denominator of 0 in a gstfraction and
17256           that fractions always get reduced.
17257
17258 2005-11-20  Wim Taymans  <wim@fluendo.com>
17259
17260         * docs/gst/gstreamer-sections.txt:
17261         * gst/gstbuffer.h:
17262         * gst/gstelement.c:
17263         * gst/gstformat.c:
17264         * gst/gstformat.h:
17265         * gst/gstindex.h:
17266         * gst/gstquery.c:
17267         * gst/gstquery.h:
17268         * gst/gstvalue.c:
17269         Doc fixes.
17270
17271 2005-11-20  Wim Taymans  <wim@fluendo.com>
17272
17273         * docs/design/part-TODO.txt:
17274         * gst/gstcaps.h:
17275         Make a proper enum of the flag.
17276
17277 2005-11-19  Wim Taymans  <wim@fluendo.com>
17278
17279         * docs/design/part-TODO.txt:
17280         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
17281         (gst_format_to_quark), (gst_format_register):
17282         * gst/gstformat.h:
17283         * gst/gstquery.c: (_gst_query_initialize),
17284         (gst_query_type_get_name), (gst_query_type_to_quark),
17285         (gst_query_type_register):
17286         * gst/gstquery.h:
17287         Add type to quark and type to string conversions.
17288
17289 2005-11-19  Andy Wingo  <wingo@pobox.com>
17290
17291         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
17292         #320097.
17293
17294 2005-11-19  Wim Taymans  <wim@fluendo.com>
17295
17296         * docs/design/part-TODO.txt:
17297         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
17298         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
17299         (gst_bin_handle_message_func):
17300         * gst/gstbin.h:
17301         Make message handling overridable.
17302
17303 2005-11-19  Andy Wingo  <wingo@pobox.com>
17304
17305         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
17306
17307         * gst/gstclock.h:
17308         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
17309         be a GstClockTime.
17310         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
17311         is a GstClockTime. Fixes #321710.
17312
17313         * gst/gstclock.h (GstClock): Remove offset property. Add
17314         internal_calibration and external_calibration. Fix padding. Pad
17315         also by GstClockTime so we don't run into problems.
17316
17317         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
17318         (gst_clock_get_rate_offset): Remove.
17319         (gst_clock_set_time_adjust): Remove. Fixes #321712.
17320
17321         * gst/gstutils.h:
17322         * gst/gstutils.c (g_static_rec_cond_wait)
17323         (g_static_rec_cond_timed_wait): Removed, no longer needed.
17324
17325         * gst/gstbin.c: Remove terrible continue_state prototype.
17326
17327         * gst/gstelement.h (gst_element_continue_state): Make public.
17328
17329         * gst/gstelement.h:
17330         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
17331         by continue_state. Fixes #319389.
17332
17333         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
17334         Really fixes #168438. However I don't see anywhere where the
17335         filter function is called... stupid GStreamer...
17336         
17337         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
17338         don't have a dispose function, so it won't get called when the
17339         object is unreffed, but oh well!
17340
17341         * gst/gstindex.c (gst_index_set_filter_full): New API function,
17342         allows a destroy function to be set so user_data can be freed.
17343         Fixes #168438.
17344         (gst_index_set_filter): Call gst_index_set_filter_full.
17345
17346         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
17347
17348         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
17349         string should produce an error, given the lack of a way to
17350         represent NULL strings. Fixes #165650.
17351         
17352         * gst/gstvalue.h: 
17353         * gst/gstvalue.c (gst_value_array_append_value) 
17354         (gst_value_array_prepend_value, gst_value_array_get_size) 
17355         (gst_value_array_get_value): New API, copied from
17356         gst_value_list_*, only operates on arrays.
17357         (gst_value_list_append_value, gst_value_list_prepend_value) 
17358         (gst_value_list_concat, gst_value_list_get_size) 
17359         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
17360
17361         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
17362         init_list, because it works on both.
17363         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
17364         (gst_value_copy_list_or_array): Renamed from copy_list.
17365         (gst_value_free_list_or_array): Renamed from free_list.
17366         (gst_value_collect_list_or_array): Renamed from collect_list.
17367         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
17368         (gst_value_list_or_array_peek_pointer): Renamed from
17369         list_peek_pointer.
17370         (_gst_value_array_value_table, _gst_value_list_value_table):
17371         Update value table functions.
17372         (gst_value_compare_list_or_array): Renamed from compare_list.
17373
17374         * gsttaglist.h: Whoops, foreach function returns void. Also fix
17375         some constness.
17376
17377         * gst/gsttaglist.c:
17378         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
17379         GstTagList*. Fixes #143472.
17380
17381         * gst/gststructure.h: Clarify what the foreach/map functions can
17382         or can't do to their arguments.
17383
17384 2005-11-18  Wim Taymans  <wim@fluendo.com>
17385
17386         * gst/gstclock.c: (gst_clock_set_calibration),
17387         (gst_clock_get_calibration):
17388         Doc and API fixes.
17389         Calibration can be set with internal time equal to current
17390         internal time too.
17391
17392 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17393
17394         * gst/gsterror.c:
17395         * gst/gsterror.h:
17396           document
17397
17398 2005-11-18  Andy Wingo  <wingo@pobox.com>
17399
17400         * configure.ac: 
17401         * pkgconfig/gstreamer-net.pc.in:
17402         * pkgconfig/gstreamer-net-uninstalled.pc.in:
17403         * pkgconfig/Makefile.am: Add net pkgconfig files.
17404
17405 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
17406
17407         * gst/gstcaps.c:
17408         * gst/gstghostpad.c:
17409         * gst/gsttrace.c:
17410         * gst/gstvalue.c:
17411         * gst/gstvalue.h:
17412           docs fixes
17413
17414 2005-11-18  Andy Wingo  <wingo@pobox.com>
17415
17416         * gst/net/gstnetclientclock.c: Turn off debugging.
17417
17418         * check/net/gstnetclientclock.c (test_functioning): Assert that the
17419         times connverge somewhat. Can't make a real test.
17420
17421         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
17422         integer arithmetic. Return the minimum of the domain, which can be
17423         set as "internal" for gst_clock_set_calibration.
17424         (gst_net_client_clock_observe_times): Call _set_calibration.
17425         (gst_net_client_clock_new): Call _set_calibration instead of
17426         rate_offset.
17427
17428         * check/net/gstnetclientclock.c (test_functioning): Use the right
17429         adjustment api.
17430
17431         * gst/gstclock.h:
17432         * gst/gstclock.c (gst_clock_get_calibration) 
17433         (gst_clock_set_calibration): New functions, obsolete the ones I
17434         added yesterday. Doh. Precision issues mean we have to extrapolate
17435         from a point in the more recent past than 1970.
17436         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
17437         obsolete.
17438         (gst_clock_adjust_unlocked): Use the right calibration data.
17439
17440 2005-11-18  Edward Hervey  <edward@fluendo.com>
17441
17442         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
17443         Also reset the ->current_* values in READY->PAUSED
17444
17445 2005-11-18  Andy Wingo  <wingo@pobox.com>
17446
17447         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
17448         Whoops, check the right fd. Also add some debugging.
17449         (gst_net_client_clock_observe_times): Adjust for int64 offset.
17450         (do_linear_regression): Add a crapload of debugging. Subtract off
17451         the minimum values from the input series to discard unneeded bits.
17452         Use only int arithmetic. There is still double arithmetic when
17453         calculating the intercept that needs fixing. Return boolean to
17454         indicate success; FALSE would mean the domain or range is too
17455         great. Still needs fixes.
17456
17457 2005-11-18  Wim Taymans  <wim@fluendo.com>
17458
17459         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
17460         For the current position in stream time, we need to subtract
17461         accumulated time.
17462         
17463         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
17464         Release lock before calling the callback function of async
17465         entries.
17466
17467 2005-11-18  Andy Wingo  <wingo@pobox.com>
17468
17469         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
17470         Port goes all the way to MAXUINT16.
17471
17472         * gst/net/gstnettimeprovider.c: Make the port range the same as
17473         for the kernel: 0 assigns, otherwise ports are less than
17474         MAXUINT16.
17475
17476         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
17477         port change.
17478
17479         * check/net/gstnetclientclock.c (test_functioning): Add the start
17480         of another test. 
17481
17482 2005-11-18  Wim Taymans  <wim@fluendo.com>
17483
17484         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17485         (gst_bin_remove_func), (bin_bus_handler):
17486         * gst/gstbin.h:
17487         Removing a clock provider from a bin, triggers a clock lost message
17488         so that a new clock will be selected.
17489         Adding a clock to a bin triggers a clock provider message.
17490         Make sure we reselect a clock when we received a clock lost message.
17491         Keep a reference to the element that provided the clock.
17492
17493 2005-11-18  Andy Wingo  <wingo@pobox.com>
17494
17495         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
17496         the clock initially so it produces values around the base time.
17497         (gst_net_client_clock_class_init): Typo fix.
17498         (gst_net_client_clock_thread): Add note on when the socket gets
17499         closed.
17500
17501 2005-11-17  Wim Taymans  <wim@fluendo.com>
17502
17503         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
17504         Free remote and local time arrays.
17505
17506 2005-11-17  Wim Taymans  <wim@fluendo.com>
17507
17508         * gst/net/gstnetclientclock.c: (do_linear_regression),
17509         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
17510         Fix compilation, uninitialized vars and a forgotten continue.
17511
17512 2005-11-17  Andy Wingo  <wingo@pobox.com>
17513
17514         * check/Makefile.am (check_PROGRAMS): 
17515         * check/net/gstnetclientclock.c: Add a most minimal test for the
17516         net client clock. More to come later.
17517
17518         * gst/net/gstnet.h: 
17519         * gst/net/Makefile.am: Add netclientclock.
17520
17521         * gst/net/gstnetclientclock.h:
17522         * gst/net/gstnetclientclock.c: New files, implement an untested
17523         GstClock that takes its time from a network time provider.
17524         Implements the algorithm in network-clock.scm.
17525
17526         * tests/network-clock.scm (*window-size*): Rename from
17527         *queue-length*.
17528         * tests/network-clock.scm (network-time): 
17529         * tests/network-clock-utils.scm (q-push): Update callers.
17530
17531 2005-11-17  Wim Taymans  <wim@fluendo.com>
17532
17533         * gst/gstbin.c: (gst_bin_provide_clock_func),
17534         (gst_bin_sort_iterator_new):
17535         And unref the child too..
17536
17537 2005-11-17  Wim Taymans  <wim@fluendo.com>
17538
17539         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17540         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
17541         Refactor the sort iterator so it can be used while holding the
17542         LOCK too.
17543         Make clock selection select a clock closest to the source.
17544
17545 2005-11-17  Michael Smith <msmith@fluendo.com>
17546
17547         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
17548         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
17549         * gst/gstclock.h:
17550           Anonymous structs are a gcc (and some other compilers) extension, so
17551           don't use them. Since this is only for ABI-compatibility, and our
17552           API/ABI freeze is over in a few days, this whole thing will only
17553           last a few days, so don't bother trying to think up a meaningful
17554           name for the struct.
17555
17556 2005-11-17  Andy Wingo  <wingo@pobox.com>
17557
17558         * gst/gstclock.h (GstClock): Add rate and offset properties,
17559         preserving ABI stability. Add rate/offset accessors. Will file bug
17560         for the freeze break.
17561
17562         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
17563         and offset, trying to keep precision and avoiding
17564         underflow/overflow.
17565         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
17566         functions. Make gst_clock_set_time_adjust obsolete.
17567         (gst_clock_set_time_adjust): Note that this function is obsolete.
17568         Will file bug soon.
17569
17570         * gst/base/gstbasetransform.h: Make the ABI-stability hack
17571         greppable by using GST_PADDING-1+1.
17572
17573 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
17574
17575         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17576
17577         * gst/gstmessage.c: (gst_message_parse_clock_lost):
17578           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
17579
17580         * gst/gstpadtemplate.h:
17581         * gst/gstpluginfeature.h:
17582           Don't use c++ style comments in headers (#321638).
17583
17584 2005-11-16  Andy Wingo  <wingo@pobox.com>
17585
17586         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
17587         buffer.
17588
17589         * check/net/gstnettimeprovider.c: Check to see that the time
17590         provider actually provides times. Works, yo!
17591
17592 2005-11-16  Wim Taymans  <wim@fluendo.com>
17593
17594         * check/Makefile.am:
17595         Enable more tests.
17596
17597         * check/elements/fakesrc.c: (GST_START_TEST):
17598         Set element to NULL before disposing it.
17599
17600 2005-11-16  Andy Wingo  <wingo@pobox.com>
17601
17602         * gst/net/Makefile.am:
17603         * gst/net/gstnet.h:
17604         * gst/net/gstnettimeprovider.c: 
17605         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
17606         provider, include it from gstnet.h, and add it to the build.
17607
17608         * gst/net/gstnettimepacket.h: 
17609         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
17610         sending and receiving.
17611
17612 2005-11-16  Wim Taymans  <wim@fluendo.com>
17613
17614         * check/Makefile.am:
17615         Enable valgrind check.
17616
17617         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
17618         (gst_fake_src_alloc_buffer):
17619         Fix memleak.
17620
17621 2005-11-16  Wim Taymans  <wim@fluendo.com>
17622
17623         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
17624         Call parent finalize too.
17625
17626 2005-11-16  Wim Taymans  <wim@fluendo.com>
17627
17628         * check/Makefile.am:
17629         Enable valgrind check that should work fine now.
17630
17631         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17632         * gst/gstqueue.c: (gst_queue_init):
17633         Fix memleaks in pad allocation.
17634
17635 2005-11-16  Andy Wingo  <wingo@pobox.com>
17636
17637         * gst/net/Makefile.am:
17638         * gst/net/gstnet.h: New part of core to hold network elements and
17639         objects. Put in core because it exposes API that applications want
17640         to use. The library is named libgstnet-tempname right now because
17641         of the existing libgstnet in gst-plugins-base. Solution is
17642         probably to rename the one in plugins-base; will file a bug for
17643         the freeze break.
17644
17645         * gst/net/gstnettimeprovider.c: 
17646         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
17647         get_time call over the network.
17648
17649         * configure.ac: 
17650         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
17651
17652         * check/Makefile.am:
17653         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
17654         get additions shortly.
17655
17656 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17657
17658         * gst/gstpad.c: (gst_pad_new_from_static_template):
17659         * gst/gstpad.h:
17660           add gst_pad_new_from_static_template functions
17661         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
17662         (gst_check_setup_sink_pad):
17663         * gst/elements/gsttee.c: (gst_tee_init):
17664           and use them
17665
17666 2005-11-16  Wim Taymans  <wim@fluendo.com>
17667
17668         * gst/gstpad.c: (gst_pad_pause_task):
17669         Removed warning, it's not really an error either.
17670
17671 2005-11-16  Wim Taymans  <wim@fluendo.com>
17672
17673         * gst/base/gstbasetransform.c:
17674         (gst_base_transform_prepare_output_buf),
17675         (gst_base_transform_event):
17676         Check if the caps are NULL, this can happen if the element
17677         is shutting down and the pad caps are set to NULL.
17678
17679 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17680
17681         * gst/elements/gsttee.c: (gst_tee_init):
17682           fix pad template leak in tee
17683
17684 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17685
17686         * gst/glib-compat.c: (g_value_dup_gst_object):
17687         * gst/glib-compat.h:
17688         * gst/gstpad.c: (gst_pad_set_property):
17689           use gst_object_ref when setting the pad template; this will
17690           trigger the pad template leaks on GLib 2.6 and the slaves
17691
17692 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17693
17694         * gst/glib-compat.c: (gst_flags_get_first_value):
17695         * gst/glib-compat.h:
17696         * gst/gstregistryxml.c:
17697           remove functions copied from GLib 2.6
17698
17699 2005-11-16  Michael Smith <msmith@fluendo.com>
17700
17701         * gst/Makefile.am:
17702           Don't link against VALGRIND_LIBS. That was always the wrong thing to
17703           do, but only breaks with newer valgrind versions. We're not a
17704           valgrind tool, we have no link-time dependencies on libcoregrind.
17705
17706 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17707
17708         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
17709           some debug changes
17710         * gst/gstmessage.h:
17711           typo fixes
17712
17713 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17714
17715         * gst/base/gstbasesrc.c: (gst_base_src_init):
17716         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17717         * gst/gstqueue.c: (gst_queue_init):
17718         * gst/gstregistryxml.c: (load_feature):
17719           Revert all these unrefs, they don't even pass make check !
17720
17721 2005-11-15  Johan Dahlin  <johan@gnome.org>
17722
17723         * gst/base/gstbasesrc.c: (gst_base_src_init):
17724         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17725         * gst/gstqueue.c: (gst_queue_init): 
17726         Free pad templates, fixes a couple of leaks.
17727
17728 2005-11-15  Daniel Fischer  <dan at f3c dot com>
17729
17730         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17731
17732         * gst/gstpad.c: (gst_pad_get_property):
17733           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
17734           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
17735           (#321452)
17736
17737 2005-11-15  Wim Taymans  <wim@fluendo.com>
17738
17739         * gst/gstevent.c:
17740         Small doc update.
17741
17742 2005-11-15  Andy Wingo  <wingo@pobox.com>
17743
17744         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
17745
17746         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
17747         using GST_CLOCK_TIME_NONE to disable base time management.
17748         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
17749         time if it was NONE before.
17750         (gst_pipeline_change_state): Only munge the base time if
17751         stream_time != GST_CLOCK_TIME_NONE.
17752
17753         * check/gst/gstpipeline.c (test_base_time): Punt around the
17754         problem of the probe not being called, because that's not the
17755         issue I'm looking at. Add a check that setting stream_time to NONE
17756         disables base time management.
17757         
17758 2005-11-15  Wim Taymans  <wim@fluendo.com>
17759
17760         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
17761         segment_stop == -1 at startup.
17762
17763         * gst/base/gstbasetransform.c: (gst_base_transform_event),
17764         (gst_base_transform_change_state):
17765         Init segment values at start.
17766
17767 2005-11-15  Wim Taymans  <wim@fluendo.com>
17768
17769         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17770         0 segment values are 0 in any format.
17771
17772         * gst/base/gstbasetransform.c: (gst_base_transform_event):
17773         * gst/base/gstbasetransform.h:
17774         Parse newsegment correctly in basetransform
17775
17776         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17777         Sync to clock using updated segment values.
17778
17779 2005-11-15  Andy Wingo  <wingo@pobox.com>
17780
17781         * check/gst/gstpipeline.c (test_base_time): Add check that the
17782         base time and stream time are reset correctly.
17783
17784 2005-11-15  Wim Taymans  <wim@fluendo.com>
17785
17786         * docs/design/part-TODO.txt:
17787         Some more TODO items.
17788
17789 2005-11-15  Andy Wingo  <wingo@pobox.com>
17790
17791         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
17792         error if the user selected "no clock" as the clocking method.
17793
17794         * check/gst/gstpipeline.c (test_base_time): New test for buffer
17795         timestamps with live capture.
17796
17797         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
17798         is 0 but we are a live source, timestamp the buffers using the
17799         element's clock.
17800
17801 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
17802
17803         * docs/gst/gstreamer-sections.txt:
17804         * gst/gsterror.c:
17805         * gst/gstghostpad.c:
17806         * gst/gstobject.h:
17807         * gst/gstxml.c:
17808           more section docs
17809
17810 2005-11-14  Wim Taymans  <wim@fluendo.com>
17811
17812         * common/gst.supp:
17813           add suppressions from Wim's Debian machine
17814
17815 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
17816
17817         * common/gst.supp:
17818           add suppressions from Andy's AMD64 Ubuntu machine
17819
17820 2005-11-14  Andy Wingo  <wingo@pobox.com>
17821
17822         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
17823         STATE_LOCK not necessary. Fixes #311489.
17824
17825         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
17826         #305291.
17827
17828         * gst/gstindex.c (gst_index_add_object): Note in the docs that
17829         this function is not implemented.
17830
17831 2005-11-14  Julien MOUTTE  <julien@moutte.net>
17832
17833         * gst/base/gstbasetransform.c:
17834         (gst_base_transform_prepare_output_buf):
17835         Ref the source pad caps while we need them.
17836         Fixes (#321386)
17837
17838 2005-11-11  Wim Taymans  <wim@fluendo.com>
17839
17840         * docs/gst/gstreamer-sections.txt:
17841         Added some docs for GstCollectData.
17842
17843         * gst/base/gstadapter.c:
17844         Some small code example fix.
17845
17846         * gst/base/gstcollectpads.c:
17847         * gst/base/gstcollectpads.h:
17848         Document some more.
17849
17850 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17851
17852         * configure.ac: back to HEAD
17853
17854 === release 0.9.5 ===
17855
17856 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
17857
17858         * configure.ac:
17859           releasing 0.9.5, "Bike Lunch Day"
17860
17861 2005-11-11  Wim Taymans  <wim@fluendo.com>
17862
17863         * gst/gstbuffer.c: (_gst_buffer_copy):
17864         Copy more flags.
17865
17866         * gst/gstcaps.c: (gst_caps_is_equal):
17867         Fix some docs.
17868         Make _is_equal fast in the trivial cases.
17869
17870         * gst/gstminiobject.c:
17871         * gst/gstminiobject.h:
17872         More docs. Spifify .h file.
17873
17874         * gst/gstutils.c:
17875         Small doc update.
17876
17877 2005-11-11  Wim Taymans  <wim@fluendo.com>
17878
17879         * gst/base/gstbasetransform.c:
17880         (gst_base_transform_prepare_output_buf),
17881         (gst_base_transform_handle_buffer):
17882         Small cleanups.
17883         If we're processing a buffer and need to allocate an output
17884         buffer, we cannot accept a format change. If we did get a 
17885         format change, we have to alloc a buffer ourselves of the 
17886         right size.
17887
17888 2005-11-11  Wim Taymans  <wim@fluendo.com>
17889
17890         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
17891         While checking the flag for reentrancy in the gstcaps function
17892         is nice to detect recursive invocations, it also makes it 
17893         impossible to call getcaps from multiple threads, which must be
17894         possible. So, checking for recursive calls has to go.
17895
17896 2005-11-11  Michael Smith <msmith@fluendo.com>
17897
17898         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17899           Don't sync on buffers that fall partially outside our current
17900           segment. Prevents an assertion failure/abort playing some files.
17901
17902 2005-11-10  Andy Wingo  <wingo@pobox.com>
17903
17904         * check/gst/gstbin.c (test_message_state_changed_children): Style
17905         fix..
17906
17907         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
17908         gst_bus_poll with the signal watch. Ensures that poll and a signal
17909         watch see the same messages.
17910
17911         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
17912         a poll and a watch at the same time get the same messages.
17913
17914 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17915
17916         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
17917         * gst/gstcaps.c: (gst_caps_intersect):
17918           Don't call gst_caps_do_simplify - it doesn't respect order of caps
17919           and it's not needed.
17920
17921 2005-11-10  Wim Taymans  <wim@fluendo.com>
17922
17923         * docs/design/part-TODO.txt:
17924         Updated todo.
17925
17926 2005-11-10  Wim Taymans  <wim@fluendo.com>
17927
17928         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17929         * gst/base/gstbasesrc.c: (gst_base_src_wait),
17930         (gst_base_src_do_sync), (gst_base_src_get_range):
17931         Implement clock sync in base class.
17932
17933 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17934
17935         patch by: Tim-Philipp Müller <tim at centricular dot net>
17936
17937         * gst/gststructure.c: (gst_structure_parse_field),
17938         (gst_structure_from_string):
17939           Forward-port a 0.8 patch to handle escaped spaces in structure string,
17940           so that gst_parse_launch() can deal with spaces in filtered link
17941           caps (fixes #164479)
17942         * check/gst/capslist.h:
17943         * check/gst/gststructure.c: (GST_START_TEST):
17944           add unit tests for this change
17945
17946 2005-11-10  Wim Taymans  <wim@fluendo.com>
17947
17948         * docs/gst/gstreamer-sections.txt:
17949         * gst/gstelement.c:
17950         * gst/gstelement.h:
17951         Fix docs, move some STATE macros to private.
17952
17953 2005-11-10  Wim Taymans  <wim@fluendo.com>
17954
17955         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
17956         Added check for bug #317341
17957
17958         * gst/gstbuffer.c:
17959         * gst/gstbuffer.h:
17960         Some more spiffifying.
17961
17962         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
17963         Call peer linkfunction if we are a source pad. Totally fixes
17964         #317341
17965
17966         * gst/gstpad.c:
17967         Update docs, source pads should call the peer linkfunction
17968         so they can atomically perform the pad link.
17969
17970 2005-11-09  Wim Taymans  <wim@fluendo.com>
17971
17972         * gst/gstbuffer.c:
17973         * gst/gstbuffer.h:
17974         Uber-spiffy-spiffify some more.
17975
17976 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
17977
17978         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
17979         * gst/elements/gstfilesink.c: (gst_file_sink_init):
17980         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17981         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
17982         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
17983         * gst/gstpad.c: (gst_pad_init):
17984           Use GST_DEBUG_FUNCPTR() more extensively.
17985
17986 2005-11-09  Wim Taymans  <wim@fluendo.com>
17987
17988         * gst/gstobject.c: (gst_object_class_init):
17989         * gst/gstobject.h:
17990         Documentation fixes.
17991
17992 2005-11-09  Edward Hervey  <edward@fluendo.com>
17993
17994         * gst/gsttypefindfactory.c:
17995         Fix docs.
17996         
17997 2005-11-09  Edward Hervey  <edward@fluendo.com>
17998
17999         * gst/base/gsttypefindhelper.c:
18000         * gst/gsttypefind.c:
18001         * gst/gsttypefind.h:
18002         Fix docs.
18003
18004 2005-11-09  Wim Taymans  <wim@fluendo.com>
18005
18006         * gst/gstiterator.c:
18007         Fix revision data.
18008
18009         * gst/gsttask.c:
18010         * gst/gsttask.h:
18011         Fix docs.
18012
18013 2005-11-09  Wim Taymans  <wim@fluendo.com>
18014
18015         * gst/gstevent.h:
18016         * gst/gsturi.h:
18017         Fix docs.
18018
18019 2005-11-09  Wim Taymans  <wim@fluendo.com>
18020
18021         * docs/gst/gstreamer-sections.txt:
18022         Moved the message async delivery private lock and cond
18023         to the private section.
18024
18025         * gst/gstmessage.c:
18026         * gst/gstmessage.h:
18027         Fixed docs.
18028
18029 2005-11-09  Edward Hervey  <edward@fluendo.com>
18030
18031         * docs/gst/gstreamer-sections.txt:
18032         * gst/gsturi.c:
18033         * gst/gsturi.h:
18034         Document GstURIHandler
18035
18036 2005-11-09  Wim Taymans  <wim@fluendo.com>
18037
18038         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
18039         (gst_iterator_find_custom):
18040         * gst/gstiterator.h:
18041         Fix iterator docs.
18042
18043 2005-11-09  Wim Taymans  <wim@fluendo.com>
18044
18045         * gst/gstbin.h:
18046         Document another field.
18047
18048         * gst/gststructure.c:
18049         * gst/gststructure.h:
18050         Document.
18051
18052 2005-11-09  Wim Taymans  <wim@fluendo.com>
18053
18054         * gst/gstbin.h:
18055         Documented structs.
18056
18057 2005-11-09  Wim Taymans  <wim@fluendo.com>
18058
18059         * docs/gst/gstreamer-sections.txt:
18060         Added some new macros.
18061
18062         * gst/gstclock.c:
18063         * gst/gstclock.h:
18064         * gst/gstobject.h:
18065         Docs updates.
18066
18067 2005-11-09  Wim Taymans  <wim@fluendo.com>
18068
18069         * docs/design/part-TODO.txt:
18070         Some more items for the TODO
18071
18072         * gst/gstcaps.c:
18073         * gst/gstcaps.h:
18074         Document GstCaps.
18075
18076 2005-11-09  Andy Wingo  <wingo@pobox.com>
18077
18078         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
18079         to work on something else now tho...
18080
18081         * gst/base/gstadapter.c: More adapter docs.
18082
18083         * gst/elements/gstfilesink.c (gst_file_sink_start) 
18084         (gst_file_sink_stop): New functions, replace the state change
18085         handler.
18086         (gst_file_sink_class_init): Hook up the start and stop functions.
18087         (gst_file_sink_base_init): Don't set the state change handler any
18088         more. It was a bit ugly too, being set from here...
18089         (gst_file_sink_get_property, gst_file_sink_set_property):
18090         Cleanups...
18091         (gst_file_sink_set_location): More robust check that doesn't call
18092         GST_STATE. Ugggggg.
18093
18094 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
18095
18096         * gst/base/gstbasetransform.c: (gst_base_transform_event):
18097           Hold STREAM_LOCK while pushing newsegment or tag events as well.
18098
18099 2005-11-08  Wim Taymans  <wim@fluendo.com>
18100
18101         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
18102         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
18103         (gst_base_sink_chain), (gst_base_sink_change_state):
18104         * gst/base/gstbasesink.h:
18105         * gst/base/gstbasesrc.h:
18106         * gst/gstelement.h:
18107         * gst/gstevent.h:
18108         Avoid excessive typechecking in macros.
18109
18110         * gst/gstminiobject.c: (gst_mini_object_get_type),
18111         (gst_mini_object_init), (gst_mini_object_new),
18112         (gst_mini_object_free):
18113         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
18114         (gst_object_finalize):
18115         Remove cruft code, optimize alloc_trace.
18116
18117 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18118
18119         * docs/faq/gst-uninstalled:
18120           fix up PS1 for systems that try to reset it
18121
18122 2005-11-07  Wim Taymans  <wim@fluendo.com>
18123
18124         * gst/base/gstbasesrc.c: (gst_base_src_init),
18125         (gst_base_src_get_range):
18126         Set the segment_end to -1 initially. Fixed typefind.
18127
18128 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
18129
18130         * gst/base/gstadapter.c:
18131           Debug category should be 'adapter', not 'GstAdapter'.
18132           
18133         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
18134         (gst_collectpads_class_init), (gst_collectpads_init),
18135         (gst_collectpads_peek), (gst_collectpads_pop),
18136         (gst_collectpads_event), (gst_collectpads_chain):
18137           Add debug category and some debugging output. Use boilerplate
18138           macros. Remove some extraneous words from docs.
18139
18140 2005-11-05  Andy Wingo  <wingo@pobox.com>
18141
18142         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
18143         macro.
18144
18145 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
18146
18147         * docs/gst/gstreamer-sections.txt:
18148         * gst/gstcaps.h:
18149         * gst/gstinfo.c:
18150         * gst/gstminiobject.h:
18151         * gst/gstobject.h:
18152         * gst/gstutils.h:
18153           more docs added
18154
18155 2005-11-04  Wim Taymans  <wim@fluendo.com>
18156
18157         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18158         Small update to stop at the configured segment_end
18159         position.
18160
18161 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
18162
18163         * gst/gstregistry.c:
18164         * gst/gstregistry.h:
18165           added missing docs
18166
18167 2005-11-04  Edward Hervey  <edward@fluendo.com>
18168
18169         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18170         Check if we are doing a segment seek and have arrived at the
18171         end of that segment.
18172
18173 2005-11-04  Wim Taymans  <wim@fluendo.com>
18174
18175         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
18176         Don't leak a mutex unlock in case of an error.
18177
18178         * gst/gstbus.h:
18179         Doc fixes.
18180
18181 2005-11-04  Wim Taymans  <wim@fluendo.com>
18182
18183         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
18184         (gst_bus_post):
18185         Get the context to wake up only once.
18186
18187 2005-11-03  Wim Taymans  <wim@fluendo.com>
18188
18189         * check/states/sinks.c: (GST_START_TEST):
18190         Uncomment fixed check.
18191
18192         * docs/design/part-TODO.txt:
18193         Updated TODO.
18194
18195         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18196         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
18197         (gst_base_sink_get_position):
18198         If we are going to PLAYING, post the right pending state
18199         when we post the intermediate paused message.
18200
18201         * gst/gstelement.c: (gst_element_continue_state),
18202         (gst_element_set_state_func), (gst_element_change_state):
18203         Don't post state changes that were between the same state
18204         and were not ASYNC.
18205
18206 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
18207
18208         * docs/gst/gstreamer-sections.txt:
18209         * gst/gstcaps.h:
18210         * gst/gstinfo.c:
18211         * gst/gstminiobject.h:
18212         * gst/gstobject.h:
18213         * gst/gstutils.h:
18214           more docs and doc style fixes
18215
18216 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
18217
18218         * docs/gst/gstreamer-sections.txt:
18219         * gst/gstelement.c:
18220         * gst/gstminiobject.c:
18221         doc fixes
18222
18223 2005-11-03  Andy Wingo  <wingo@pobox.com>
18224
18225         * check/states/sinks.c (test_livesrc_sink): Add checks that the
18226         state-changed messages actually have the right order and the right
18227         values.
18228
18229 2005-11-03  Wim Taymans  <wim@fluendo.com>
18230
18231         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
18232         Added some more checks. Specifically the case where NO_PREROLL
18233         elements are in the pipeline.
18234
18235         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18236         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
18237         (gst_base_sink_get_position):
18238         Post READY->PAUSED state change messages too.
18239         Fix bug where VOID was posted as pending state...
18240
18241         * gst/gstbin.c: (gst_bin_recalc_state):
18242         use _element_continue_state() to continue the state change.
18243
18244         * gst/gstelement.c: (gst_element_continue_state),
18245         (gst_element_commit_state), (gst_element_set_state_func),
18246         (gst_element_change_state), (gst_element_change_state_func):
18247         Lots of state change cleanups, assign the STATE_RETURN in
18248         a new continue_state() function that also propagates the
18249         last return value from a state change to the app.
18250         Update some debug statements with proper category.
18251
18252 2005-11-03  Wim Taymans  <wim@fluendo.com>
18253
18254         * docs/design/part-events.txt:
18255         * docs/design/part-gstpipeline.txt:
18256         * docs/design/part-messages.txt:
18257         * docs/design/part-overview.txt:
18258         * docs/design/part-seeking.txt:
18259         * docs/design/part-states.txt:
18260         * docs/design/part-trickmodes.txt:
18261         * docs/manual/advanced-position.xml:
18262         Small docs updates.
18263
18264         * gst/gstobject.h:
18265         People think !! is ugly, this looks better.
18266
18267         * gst/gstpad.c: (gst_pad_set_blocked_async):
18268         Remove !! since it's fixed elsewhere now.
18269
18270 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
18271
18272         * gst/gstminiobject.h:
18273         * gst/gstobject.h:
18274           Add !! to _FLAG_IS_SET macros to make the result boolean.
18275
18276 2005-11-03  Edward Hervey  <edward@fluendo.com>
18277
18278         * gst/gstpad.c: (gst_pad_set_blocked_async):
18279         comparing a flag and a gboolean rarely returns coherent results...
18280         Added two characters (!!) to make that work correctly.
18281         
18282 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
18283
18284         * gst/gstbus.c: (gst_bus_class_init):
18285           Fix some typos.
18286           
18287         * gst/gstqueue.c: (gst_queue_loop):
18288           Don't assume a miniobject that isn't a buffer is an
18289           event (it could be that there is a refcounting
18290           problem somewhere and the pointer is stale and
18291           refers to an already destroyed miniobject).
18292
18293 2005-11-03  Julien MOUTTE  <julien@moutte.net>
18294
18295         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
18296
18297 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
18298
18299         * docs/manual/advanced-position.xml:
18300           Update seek example and explanations to current 0.9 API.
18301
18302         * gst/elements/gsttypefindelement.c:
18303         (gst_type_find_element_activate):
18304           Remove FIXME comment now that the found caps
18305           are unreffed.
18306
18307 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18308
18309         * gst/gstregistryxml.c: (load_feature):
18310           Add another GST_STR_NULL instance
18311
18312 2005-11-02  Edward Hervey  <edward@fluendo.com>
18313
18314         * gst/gstpad.c: (handle_pad_block):
18315         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
18316         
18317 2005-11-02  Wim Taymans  <wim@fluendo.com>
18318
18319         * gst/gstbin.c:
18320         Fix typo in docs.
18321
18322         * gst/gstelement.c: (gst_element_commit_state):
18323         Remove unused value.
18324
18325         * gst/gstiterator.c:
18326         Mention that the returned element is reffed in the docs.
18327
18328 2005-11-02  Wim Taymans  <wim@fluendo.com>
18329
18330         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
18331         (gst_pad_push), (gst_pad_push_event):
18332         Unlock blocked pads when they are flushed.
18333
18334 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18335
18336         * docs/README:
18337         * docs/gst/gstreamer-sections.txt:
18338         * gst/gstbin.c:
18339           doc updates
18340         * gst/gstregistry.c: (gst_registry_scan_path_level):
18341           fix for a nasty little missed situation where an installed plug-in
18342           which was in the cache did not get overridden by an uninstalled one
18343           which was earlier in the plugin path because the newly created plugin
18344           for the uninstalled one (not in the registry) didn't get its
18345           ->registered set to TRUE
18346
18347 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
18348
18349         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
18350         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
18351         (gst_collectpads_is_active), (gst_collectpads_collect),
18352         (gst_collectpads_collect_range), (gst_collectpads_start),
18353         (gst_collectpads_stop), (gst_collectpads_peek),
18354         (gst_collectpads_pop), (gst_collectpads_available),
18355         (gst_collectpads_read), (gst_collectpads_flush):
18356           Guard public API with assertions.
18357         
18358         * gst/gstpad.c:
18359           Fix docs for gst_pad_set_link_function().
18360
18361 2005-11-02  Johan Dahlin  <johan@gnome.org>
18362
18363         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
18364         Unref found_caps after we used it.
18365
18366 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
18367
18368         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
18369           Don't try to ref NULL.
18370
18371 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18372
18373         * win32/common/config.h.in:
18374           provide a GST_FUNCTION that just gives a string for now
18375
18376 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18377
18378         * win32/common/gstenumtypes.c: (register_gst_object_flags),
18379         (gst_object_flags_get_type), (register_gst_bin_flags),
18380         (gst_bin_flags_get_type), (register_gst_buffer_flag),
18381         (gst_buffer_flag_get_type), (register_gst_bus_flags),
18382         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
18383         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
18384         (gst_clock_return_get_type), (register_gst_clock_entry_type),
18385         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
18386         (gst_clock_flags_get_type), (register_gst_state),
18387         (gst_state_get_type), (register_gst_state_change_return),
18388         (gst_state_change_return_get_type), (register_gst_state_change),
18389         (gst_state_change_get_type), (register_gst_element_flags),
18390         (gst_element_flags_get_type), (register_gst_core_error),
18391         (gst_core_error_get_type), (register_gst_library_error),
18392         (gst_library_error_get_type), (register_gst_resource_error),
18393         (gst_resource_error_get_type), (register_gst_stream_error),
18394         (gst_stream_error_get_type), (register_gst_event_type),
18395         (gst_event_type_get_type), (register_gst_seek_type),
18396         (gst_seek_type_get_type), (register_gst_seek_flags),
18397         (gst_seek_flags_get_type), (register_gst_format),
18398         (gst_format_get_type), (register_gst_index_certainty),
18399         (gst_index_certainty_get_type), (register_gst_index_entry_type),
18400         (gst_index_entry_type_get_type),
18401         (register_gst_index_lookup_method),
18402         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
18403         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
18404         (gst_index_resolver_method_get_type), (register_gst_index_flags),
18405         (gst_index_flags_get_type), (register_gst_debug_level),
18406         (gst_debug_level_get_type), (register_gst_debug_color_flags),
18407         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
18408         (gst_iterator_result_get_type), (register_gst_iterator_item),
18409         (gst_iterator_item_get_type), (register_gst_message_type),
18410         (gst_message_type_get_type), (register_gst_mini_object_flags),
18411         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
18412         (gst_pad_link_return_get_type), (register_gst_flow_return),
18413         (gst_flow_return_get_type), (register_gst_activate_mode),
18414         (gst_activate_mode_get_type), (register_gst_pad_direction),
18415         (gst_pad_direction_get_type), (register_gst_pad_flags),
18416         (gst_pad_flags_get_type), (register_gst_pad_presence),
18417         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
18418         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
18419         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
18420         (gst_plugin_error_get_type), (register_gst_plugin_flags),
18421         (gst_plugin_flags_get_type), (register_gst_rank),
18422         (gst_rank_get_type), (register_gst_query_type),
18423         (gst_query_type_get_type), (register_gst_tag_merge_mode),
18424         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
18425         (gst_tag_flag_get_type), (register_gst_task_state),
18426         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
18427         (gst_alloc_trace_flags_get_type),
18428         (register_gst_type_find_probability),
18429         (gst_type_find_probability_get_type), (register_gst_uri_type),
18430         (gst_uri_type_get_type), (register_gst_parse_error),
18431         (gst_parse_error_get_type):
18432         * win32/common/gstversion.h:
18433           update win32 copies
18434
18435 2005-11-01  Luca Ognibene  <luogni@tin.it>
18436
18437         * gst/gst.c:
18438           fix docs. popt is dead, long live GOption.
18439
18440 2005-10-31  Wim Taymans  <wim@fluendo.com>
18441
18442         * gst/gstbuffer.h:
18443         Small doc fix.
18444
18445 2005-10-31  Andy Wingo  <wingo@pobox.com>
18446
18447         * Boo!
18448
18449         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
18450
18451         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
18452         need to serialize property notifications on GLib 2.8. GLib 2.6 has
18453         the possibility of deadlocks here if code calling notify() or
18454         set() has a lock that can be taken in another notify handler (ABBA
18455         with class lock and e.g. python GIL state lock).
18456
18457 2005-10-28  Julien MOUTTE  <julien@moutte.net>
18458
18459         * gst/gstbus.c: Doc updates.
18460
18461 2005-10-28  Wim Taymans  <wim@fluendo.com>
18462
18463         * docs/design/part-TODO.txt:
18464         * gst/gstiterator.c:
18465         * gst/gstsystemclock.c:
18466         * gst/gstsystemclock.h:
18467         Doc updates.
18468
18469 2005-10-28  Edward Hervey  <edward@fluendo.com>
18470
18471         * docs/gst/gstreamer-docs.sgml:
18472         * docs/gst/gstreamer-sections.txt:
18473         the GstURIType documentation page is private, it only defines GstURIType
18474         which should be defined in the GstURIHandler page
18475         
18476 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18477
18478         * gst/gstbin.c: (gst_bin_class_init):
18479         * gst/gstbin.h:
18480         * gst/gstutils.c:
18481         Documentation updates.
18482
18483 2005-10-28  Wim Taymans  <wim@fluendo.com>
18484
18485         * docs/gst/gstreamer-sections.txt:
18486         * gst/gstclock.c:
18487         * gst/gstclock.h:
18488         Documented the clocks.
18489
18490 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
18491
18492         * docs/gst/gstreamer-sections.txt:
18493           move some macros to private sections
18494         * gst/gstminiobject.c:
18495         * gst/gstminiobject.h:
18496           add descriptions provided by ds and some more
18497         * gst/gstpad.h:
18498           mark macro as to be removed
18499
18500 2005-10-28  Wim Taymans  <wim@fluendo.com>
18501
18502         * docs/design/part-TODO.txt:
18503         Add an item to TODO.
18504
18505         * gst/gstiterator.c: (gst_iterator_fold),
18506         (gst_iterator_find_custom):
18507         * gst/gstiterator.h:
18508         Add iterator docs.
18509
18510 2005-10-28  Wim Taymans  <wim@fluendo.com>
18511
18512         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18513         (gst_base_transform_init):
18514         Don't leak class.
18515
18516         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
18517         An EOS event marks the queue as completely filled.
18518
18519 2005-10-27  Wim Taymans  <wim@fluendo.com>
18520
18521         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18522         (gst_base_sink_do_sync), (gst_base_sink_get_position):
18523         Some more debugging.
18524
18525         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
18526         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
18527         (gst_base_transform_event), (gst_base_transform_getrange),
18528         (gst_base_transform_chain):
18529         * gst/base/gstbasetransform.h:
18530         Fix debugging,
18531         Protect transform and concurrent buffer alloc with a new lock.
18532         Try not to break ABI/API.
18533
18534 2005-10-27  Wim Taymans  <wim@fluendo.com>
18535
18536         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18537         (gst_base_src_init), (gst_base_src_query),
18538         (gst_base_src_default_newsegment),
18539         (gst_base_src_configure_segment), (gst_base_src_do_seek),
18540         (gst_base_src_send_event), (gst_base_src_event_handler),
18541         (gst_base_src_pad_get_range), (gst_base_src_loop),
18542         (gst_base_src_unlock), (gst_base_src_default_negotiate),
18543         (gst_base_src_start), (gst_base_src_deactivate),
18544         (gst_base_src_activate_push), (gst_base_src_change_state):
18545         Move some stuff around and cleanup things.
18546
18547 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
18548
18549         * gst/base/gstbasesrc.c: (gst_base_src_query):
18550           Add missing break statements.
18551
18552 2005-10-27  Wim Taymans  <wim@fluendo.com>
18553
18554         * check/gst/gstbin.c: (GST_START_TEST):
18555         An extra refcount is taken in basesrc.
18556
18557         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18558         (gst_base_src_get_range), (gst_base_src_pad_get_range),
18559         (gst_base_src_loop):
18560         Small cleanups, check for flushing after being unlocked from the 
18561         LIVE_LOCK. take refcounts correctly (not yet everywhere).
18562         Don't send out EOS when going to READY.
18563
18564 2005-10-27  Wim Taymans  <wim@fluendo.com>
18565
18566         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18567         (gst_base_sink_get_position):
18568         Some more debug.
18569
18570         * gst/gstbin.c: (message_check), (bin_replace_message),
18571         (bin_remove_messages), (is_eos), (gst_bin_add_func),
18572         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18573         (bin_query_duration_init), (bin_query_duration_fold),
18574         (bin_query_duration_done), (bin_query_generic_fold),
18575         (gst_bin_query):
18576         * tools/gst-launch.c: (main):
18577         Remove old option.
18578
18579 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
18580
18581         * examples/controller/audio-example.c: (main):
18582         * examples/queue/queue.c: (event_loop):
18583         * gst/base/gstbasetransform.h:
18584         * gst/gstelement.c: (gst_element_send_event):
18585         * gst/gstevent.h:
18586         * gst/gstpad.c: (gst_pad_send_event):
18587           fixing examples
18588           fixing docs typos
18589           changing log priority in error situations
18590
18591 2005-10-25  Wim Taymans  <wim@fluendo.com>
18592
18593         * gst/gstbin.c: (message_check), (bin_replace_message),
18594         (bin_remove_messages), (is_eos), (gst_bin_add_func),
18595         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18596         (bin_query_duration_init), (bin_query_duration_fold),
18597         (bin_query_duration_done), (bin_query_generic_fold),
18598         (gst_bin_query):
18599         Some doc and debug updates.
18600         Cache previously requested query DURATION for speed. invalidate
18601         cached duration if element posts a DURATION message.
18602
18603 2005-10-25  Wim Taymans  <wim@fluendo.com>
18604
18605         * docs/design/part-TODO.txt:
18606         Update TODO.
18607
18608         * gst/gstbin.c: (message_check), (bin_replace_message),
18609         (bin_remove_messages), (is_eos), (gst_bin_add_func),
18610         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18611         (bin_query_duration_init), (bin_query_duration_fold),
18612         (bin_query_duration_done), (bin_query_generic_fold),
18613         (gst_bin_query):
18614         Handle SEGMENT_START/DONE messages correctly.
18615         More evolved query algorithm that handles duration queries
18616         correctly.
18617
18618         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
18619         (gst_element_get_state_func), (gst_element_abort_state),
18620         (gst_element_commit_state), (gst_element_lost_state):
18621         Some more debugging.
18622
18623         * gst/gstmessage.h:
18624         Added doc.
18625
18626 2005-10-25  Wim Taymans  <wim@fluendo.com>
18627
18628         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18629         Don't use invalid stream_time.
18630
18631         * gst/gstevent.c: (gst_event_new_newsegment):
18632         stream_time in newsegment cannot be undefined.
18633
18634 2005-10-24  Wim Taymans  <wim@fluendo.com>
18635
18636         * gst/gstbus.c:
18637         Doc fix.
18638
18639         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18640         (gst_queue_loop):
18641         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
18642
18643 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
18644
18645         * docs/libs/tmpl/gstdparam.sgml:
18646         * docs/libs/tmpl/gstdplinint.sgml:
18647         * docs/libs/tmpl/gstdpman.sgml:
18648         * docs/libs/tmpl/gstdpsmooth.sgml:
18649         * docs/libs/tmpl/gstunitconvert.sgml:
18650           these are obsolete
18651
18652 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18653
18654         * configure.ac:
18655           back to HEAD
18656
18657 === release 0.9.4 ===
18658
18659 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18660
18661         * configure.ac:
18662           releasing 0.9.4, "Tyrannosaurus Rex"
18663
18664 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
18665
18666         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
18667         (gst_file_sink_get_current_offset):
18668           Use fseeko() and ftello() if available. When falling back on
18669           lseek() to get the current offset, fflush() first to make sure
18670           everything is up-to-date and we get the right offset.
18671
18672 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18673
18674         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18675         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18676         * gst/gsterror.c: (_gst_stream_errors_init):
18677         * gst/gsterror.h:
18678         * gst/gstqueue.c: (gst_queue_loop):
18679         * po/POTFILES.in:
18680           remove prematurely added error category and clean up the instances
18681
18682 2005-10-21  Wim Taymans  <wim@fluendo.com>
18683
18684         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18685         (gst_base_sink_get_position), (gst_base_sink_query),
18686         (gst_base_sink_change_state):
18687         Simply set the right flag when going to playing, that's all
18688         we need to do instead of calling a function inside the object
18689         lock (that could take the lock as well and deadlock)
18690
18691 2005-10-21  Wim Taymans  <wim@fluendo.com>
18692
18693         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
18694         (gst_base_src_loop):
18695         Don't warn, the peer element knows what to do best when
18696         the seek failed, it might try something else.
18697
18698 2005-10-21  Wim Taymans  <wim@fluendo.com>
18699
18700         * gst/base/gstbasesrc.c: (gst_base_src_init),
18701         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18702         Fix seeking.
18703
18704 2005-10-21  Wim Taymans  <wim@fluendo.com>
18705
18706         * docs/design/part-segments.txt:
18707         More docs.
18708
18709         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18710         Correctly set caps, even on the subbufer.
18711
18712 2005-10-21  Wim Taymans  <wim@fluendo.com>
18713
18714         * docs/gst/gstreamer-docs.sgml:
18715         * docs/gst/gstreamer-sections.txt:
18716         * gst/gstelement.h:
18717         * gst/gstevent.c:
18718         * gst/gstevent.h:
18719         * gst/gstmessage.h:
18720         * gst/gstpad.h:
18721         * gst/gstparse.h:
18722         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
18723         * gst/gsttask.h:
18724         * gst/gstutils.c:
18725         * gst/gstutils.h:
18726         And 2% more doc coverage.
18727
18728 2005-10-21  Andy Wingo  <wingo@pobox.com>
18729
18730         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
18731         position reporting.
18732
18733 2005-10-20  Wim Taymans  <wim@fluendo.com>
18734
18735         * gst/gsterror.c: (gst_error_get_message):
18736         * gst/gstparse.h:
18737         * gst/gstquery.h:
18738         * gst/gststructure.c:
18739         * gst/gsttrace.c:
18740         * gst/gstutils.c:
18741         More docs.
18742
18743 2005-10-20  Wim Taymans  <wim@fluendo.com>
18744
18745         * gst/gstbuffer.h:
18746         * gst/gstpad.c:
18747         * gst/gstparse.c:
18748         Another 1% more coverage.
18749
18750 2005-10-20  Wim Taymans  <wim@fluendo.com>
18751
18752         * docs/gst/gstreamer-sections.txt:
18753         * gst/gstelement.c: (gst_element_get_state_func),
18754         (gst_element_abort_state), (gst_element_commit_state),
18755         (gst_element_lost_state):
18756         * gst/gstevent.h:
18757         * gst/gstquery.c: (gst_query_set_position),
18758         (gst_query_parse_position), (gst_query_set_duration),
18759         (gst_query_parse_duration), (gst_query_new_convert):
18760         * gst/gstutils.c:
18761         Yay! 1% more docs coverage.
18762
18763 2005-10-20  Wim Taymans  <wim@fluendo.com>
18764
18765         * gst/gstpad.h:
18766         * gst/gstquery.c: (gst_query_set_position),
18767         (gst_query_parse_position), (gst_query_set_duration),
18768         (gst_query_parse_duration), (gst_query_new_convert):
18769         * gst/gstquery.h:
18770         * gst/gstutils.c: (gst_element_query_convert):
18771         * gst/gstutils.h:
18772         Docs and consistency fixes.
18773
18774 2005-10-20  Wim Taymans  <wim@fluendo.com>
18775
18776         * gst/gsttask.c:
18777         * gst/gsttask.h:
18778         More docs.
18779
18780 2005-10-20  Wim Taymans  <wim@fluendo.com>
18781
18782         * gst/gstbin.c: (message_check), (bin_replace_message),
18783         (bin_remove_messages), (is_eos), (gst_bin_add_func),
18784         (update_degree), (gst_bin_sort_iterator_next),
18785         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
18786         Reworked the message handling a bit, cache the messages instead of
18787         only the senders. alows us to do more in the future.
18788
18789 2005-10-20  Wim Taymans  <wim@fluendo.com>
18790
18791         * docs/design/part-TODO.txt:
18792         Update TODO
18793
18794         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
18795         (gst_base_sink_query):
18796         Don't use clock time to report position when in EOS.
18797
18798 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
18799
18800         * tools/gst-inspect.c: (print_interfaces),
18801         (print_element_properties_info), (print_element_info):
18802           Fix interface output with gst-inspect -a; don't print
18803           newlines after double/float properties.
18804
18805 2005-10-20  Wim Taymans  <wim@fluendo.com>
18806
18807         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
18808         (gst_base_sink_query):
18809         Speed up current position calculation.
18810
18811         * gst/base/gstbasesrc.c: (gst_base_src_query),
18812         (gst_base_src_default_newsegment):
18813         Correctly set stream position in newsegment.
18814
18815         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
18816         (update_degree), (gst_bin_sort_iterator_next),
18817         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
18818         * gst/gstmessage.c: (gst_message_new_custom):
18819         Clean up debugging info
18820
18821         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18822         (gst_queue_loop), (gst_queue_handle_src_query):
18823         Pause task faster.
18824
18825 2005-10-19  Wim Taymans  <wim@fluendo.com>
18826
18827         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18828         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
18829         Fix query handling again.
18830
18831 2005-10-19  Wim Taymans  <wim@fluendo.com>
18832
18833         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18834         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
18835         * gst/base/gstbasesrc.c: (gst_base_src_query):
18836         * gst/elements/gstfilesink.c: (gst_file_sink_query):
18837         * gst/elements/gsttypefindelement.c:
18838         (gst_type_find_handle_src_query), (find_element_get_length),
18839         (gst_type_find_element_activate):
18840         API change fix.
18841
18842         * gst/gstquery.c: (gst_query_new_position),
18843         (gst_query_set_position), (gst_query_parse_position),
18844         (gst_query_new_duration), (gst_query_set_duration),
18845         (gst_query_parse_duration), (gst_query_set_segment),
18846         (gst_query_parse_segment):
18847         * gst/gstquery.h:
18848         Bundling query position/duration is not a good idea since duration
18849         does not change much and we don't want to recalculate it for every
18850         position query, so they are separated again..
18851         Base value in segment query is not needed.
18852
18853         * gst/gstqueue.c: (gst_queue_handle_src_query):
18854         * gst/gstutils.c: (gst_element_query_position),
18855         (gst_element_query_duration), (gst_pad_query_position),
18856         (gst_pad_query_duration):
18857         * gst/gstutils.h:
18858         Updates for query API change.
18859         Added some docs here and there.
18860
18861 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
18862
18863         * check/gst/gstbin.c: (GST_START_TEST):
18864         * check/gst/gstghostpad.c: (GST_START_TEST):
18865         * check/pipelines/cleanup.c: (GST_START_TEST):
18866           wait on thread to die so we can check refcount correctly
18867
18868 2005-10-18  Wim Taymans  <wim@fluendo.com>
18869
18870         * check/pipelines/stress.c: (GST_START_TEST):
18871         Make check a little more time consuming.
18872
18873 2005-10-18  Wim Taymans  <wim@fluendo.com>
18874
18875         * check/Makefile.am:
18876         * check/pipelines/stress.c: (GST_START_TEST),
18877         (simple_launch_lines_suite), (main):
18878         Small state change torture test.
18879
18880         * docs/design/part-states.txt:
18881         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18882         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
18883         (gst_base_sink_change_state):
18884         Never take state lock from streaming thread, clean up ugly
18885         hacks. Unfortunatly core does not yet support nice ways to
18886         async commit state.
18887         
18888         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
18889         (bin_bus_handler):
18890         Start state recalc if a STATE_DIRTY message is posted, but only
18891         on the toplevel bin.
18892
18893         * gst/gstelement.c: (gst_element_sync_state_with_parent),
18894         (gst_element_get_state_func), (gst_element_abort_state),
18895         (gst_element_commit_state), (gst_element_lost_state),
18896         (gst_element_set_state_func), (gst_element_change_state):
18897         * gst/gstelement.h:
18898         State variables are now protected with the LOCK, the state
18899         lock is only used to serialize _set_state().
18900
18901 2005-10-18  Wim Taymans  <wim@fluendo.com>
18902
18903         * check/gst/gstbin.c: (GST_START_TEST):
18904         * check/gst/gstmessage.c: (GST_START_TEST):
18905         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18906         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
18907         (bin_bus_handler):
18908         * gst/gstelement.c: (gst_element_abort_state),
18909         (gst_element_commit_state), (gst_element_lost_state):
18910         * gst/gstmessage.c: (gst_message_new_state_changed),
18911         (gst_message_new_state_dirty), (gst_message_new_segment_start),
18912         (gst_message_new_segment_done), (gst_message_new_duration),
18913         (gst_message_parse_state_changed),
18914         (gst_message_parse_segment_start),
18915         (gst_message_parse_segment_done), (gst_message_parse_duration):
18916         * gst/gstmessage.h:
18917         * tools/gst-launch.c: (event_loop):
18918         Seriously, this is better than a previous commit as we only need
18919         to notify the fact that an element changed state in a streaming
18920         thread, marking the state of the parents dirty, hence the 
18921         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
18922         message.
18923
18924 2005-10-18  Wim Taymans  <wim@fluendo.com>
18925
18926         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
18927         (gst_bin_recalc_func):
18928         * gst/gstelement.c: (gst_element_set_clock),
18929         (gst_element_abort_state), (gst_element_lost_state):
18930         Cleanups, prepare for state change fixes.
18931
18932 2005-10-18  Wim Taymans  <wim@fluendo.com>
18933
18934         * gst/gstbin.h:
18935         * gst/gstelement.c: (gst_element_class_init),
18936         (gst_element_set_state), (gst_element_set_state_func):
18937         * gst/gstelement.h:
18938         Pending ABI changes.
18939         GThreadPool in GstBinClass to monitor async state changes.
18940         state_cookie in GstElement to detect concurrent gst/set state.
18941         set_state is now virtual too in case a very complicated element
18942         has to be constructed.
18943
18944 2005-10-18  Wim Taymans  <wim@fluendo.com>
18945
18946         * check/gst/gstbin.c: (GST_START_TEST):
18947         * check/gst/gstmessage.c: (GST_START_TEST):
18948         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18949         * gst/gstbin.c: (bin_bus_handler):
18950         * gst/gstelement.c: (gst_element_commit_state),
18951         (gst_element_lost_state):
18952         * gst/gstmessage.c: (gst_message_new_state_changed),
18953         (gst_message_new_segment_start), (gst_message_new_segment_done),
18954         (gst_message_new_duration), (gst_message_parse_state_changed),
18955         (gst_message_parse_segment_start),
18956         (gst_message_parse_segment_done), (gst_message_parse_duration):
18957         * gst/gstmessage.h:
18958         * tools/gst-launch.c: (event_loop):
18959         Make messages future proof.
18960         state-change gets a flag if it was a message comming from the
18961         streaming thread.
18962         segment-start/stop can also be specified in other formats.
18963         A message to notify an app that a pipeline changed playback 
18964         duration.
18965         Also fix a GstMessage leak in -launch
18966
18967 2005-10-18  Andy Wingo  <wingo@pobox.com>
18968
18969         * gst/gstelement.c (gst_element_dispose): More helpful message.
18970
18971 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18972
18973         reviewed by: <delete if not using a buddy>
18974
18975         * common/gtk-doc.mak:
18976
18977 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18978
18979         * gst/gstregistry.c: (gst_registry_scan_path_level):
18980           unref a plug-in we get that was already initialized
18981
18982 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
18983
18984         * docs/gst/gstreamer-sections.txt:
18985         * docs/libs/gstreamer-libs-sections.txt:
18986         * gst/gstelement.h:
18987           add new api entries
18988           hide internal macro
18989
18990 2005-10-17  Andy Wingo  <wingo@pobox.com>
18991
18992         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
18993         cleanup.
18994
18995         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
18996
18997         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
18998
18999         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
19000         (gst_element_get_state_func): Better debug message.
19001         (gst_element_commit_state): s/INFO/DEBUG/.
19002         (gst_element_lost_state, gst_element_change_state): 
19003
19004         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
19005         (gst_message_new_custom): s/INFO/LOG/.
19006
19007 2005-10-17  Michael Smith <msmith@fluendo.com>
19008
19009         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19010           Check if end time is valid using end time, not start time.
19011
19012 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
19013
19014         * check/gst-libs/controller.c: (GST_START_TEST),
19015         (gst_controller_suite):
19016         * libs/gst/controller/gstcontroller.c:
19017         (gst_controlled_property_set_interpolation_mode):
19018         * libs/gst/controller/gstcontroller.h:
19019         * libs/gst/controller/gstinterpolation.c:
19020         * testsuite/controller/.cvsignore:
19021         * testsuite/controller/Makefile.am:
19022         * testsuite/controller/interpolator.c:
19023           merge controller testsuites
19024           fix broken tests
19025           remove mem-chunk from docs
19026
19027 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
19028
19029         * gst/gstmemchunk.c:
19030         * gst/gstmemchunk.h:
19031         * gst/gsttrashstack.c:
19032         * gst/gsttrashstack.h:
19033           out.  get out.  you're fired.  to the Attic !
19034
19035 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
19036
19037         * gst/gstcaps.c: (gst_caps_intersect):
19038           fix signedness issues in a (hopefully) correct way
19039         * gst/gstelement.c: (gst_element_pads_activate):
19040           some debugging
19041         * gst/gstobject.c: (gst_object_set_parent):
19042           some debugging
19043
19044 2005-10-17  Julien MOUTTE  <julien@moutte.net>
19045
19046         * gst/gstvalue.h: Fix prototypes.
19047
19048 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19049
19050         * docs/gst/gstreamer-sections.txt:
19051         * gst/gst.c: (gst_version_string):
19052         * gst/gst.h:
19053         * gst/gstversion.h.in:
19054         * win32/common/libgstreamer.def:
19055           add gst_version_string ()
19056
19057 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19058
19059         * configure.ac:
19060           clean up further
19061         * gst/gst.c: (init_post):
19062         * win32/common/config.h.in:
19063           it's PLUGINDIR now
19064         * gst/gstcaps.c: (gst_caps_intersect):
19065           use gint64, the range could be bigger than a guint
19066
19067 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19068
19069         * gst/gstclock.h:
19070           document potential problem in 2038
19071
19072 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19073
19074         * gst/gstcaps.c: (gst_caps_intersect):
19075           Fix guint j diving under 0
19076
19077 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19078
19079         * configure.ac:
19080         * win32/common/config.h:
19081         * win32/common/config.h.in:
19082           check for process.h, declares getpid() on Windows
19083         * gst/gstinfo.c:
19084           include process.h if we have it
19085         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
19086         * gst/gstmemchunk.h:
19087           fix signedness issues
19088         * win32/common/libgstreamer.def:
19089           fix get_type's
19090
19091 2005-10-16  Julien MOUTTE  <julien@moutte.net>
19092
19093         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
19094         fix. Because of unsigned ints, caps intersection was going nuts and
19095         trying to access structures with G_MAXUINT index. That fixes
19096         videotestsrc ! ffmpegcolorspace ! fakesink
19097         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
19098         consistency.
19099
19100 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19101
19102         * configure.ac:
19103           use the gettext macro
19104         * gst/elements/gstelements.c:
19105         * gst/gst.c:
19106         * gst/indexers/gstindexers.c:
19107           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
19108         * win32/common/config.h:
19109           updated config.h
19110         * win32/common/config.h.in:
19111           add the template to generate config.h
19112         * win32/common/gstenumtypes.c:
19113         * win32/common/gstversion.h:
19114           updated copies
19115
19116 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19117
19118         * gst/gst.c: (gst_version):
19119         * gst/gstversion.h.in:
19120           add the nano
19121
19122 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
19123
19124         * gst/gstevent.h:
19125           Oops, add missing closing bracket.
19126
19127 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19128
19129         * configure.ac:
19130           use common m4's for argument checking
19131
19132 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
19133
19134         * docs/gst/gstreamer-sections.txt:
19135         * gst/gstevent.h:
19136           Add GST_EVENT_TYPE_NAME() macro.
19137
19138 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19139
19140         * gst/gstinfo.c:
19141         * gst/gstpluginfeature.c:
19142         * gst/gsttask.c:
19143           privatize more symbols
19144
19145 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19146
19147         * configure.ac:
19148           add srcdir, builddir includes to GST_ALL_CFLAGS, since
19149           everything that uses GStreamer API should have the includes
19150
19151 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19152
19153         * docs/gst/gstreamer-sections.txt:
19154         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
19155         * gst/gstvalue.h:
19156           give each value a _get_type, removes the DATA exports
19157
19158 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19159
19160         * gst/gst.c:
19161         * gst/gst.h:
19162           remove _gst_registry_auto_load, not used anymore
19163         * gst/gstbin.c: (gst_bin_get_type):
19164         * gst/gstbin.h:
19165         * gst/gstelement.c: (gst_element_get_type):
19166         * gst/gstelement.h:
19167         * gst/gstobject.c: (gst_object_get_type):
19168         * gst/gstobject.h:
19169         * gst/gstpad.c: (gst_pad_get_type):
19170         * gst/gstpad.h:
19171           make _get_type functions similar, fixes data export from library
19172
19173 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19174
19175         * configure.ac:
19176           correctly make conditionals
19177         * gst/elements/Makefile.am:
19178         * gst/elements/gstelements.c:
19179           fix typo causing fdsrc not to build
19180
19181 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19182
19183         * testsuite/Makefile.am:
19184         * testsuite/bytestream/.cvsignore:
19185         * testsuite/bytestream/Makefile.am:
19186         * testsuite/bytestream/filepadsink.c:
19187         * testsuite/bytestream/gstbstest.c:
19188         * testsuite/bytestream/test1.c:
19189         * testsuite/bytestream/testfile1:
19190         * testsuite/caps/normalisation.c:
19191         * testsuite/caps/random.c: (main):
19192         * testsuite/cleanup/.cvsignore:
19193         * testsuite/cleanup/Makefile.am:
19194         * testsuite/cleanup/cleanup1.c:
19195         * testsuite/cleanup/cleanup2.c:
19196         * testsuite/cleanup/cleanup3.c:
19197         * testsuite/cleanup/cleanup4.c:
19198         * testsuite/cleanup/cleanup5.c:
19199         * testsuite/controller/interpolator.c:
19200         * testsuite/debug/printf_extension.c: (main):
19201         * testsuite/elements/tee.c:
19202         * testsuite/negotiation/.cvsignore:
19203         * testsuite/negotiation/Makefile.am:
19204         * testsuite/negotiation/pad_link.c:
19205         * testsuite/pad/Makefile.am:
19206         * testsuite/pad/chainnopull.c:
19207         * testsuite/pad/getnopush.c:
19208         * testsuite/pad/link.c:
19209         * testsuite/refcounting/sched.c: (create_pipeline):
19210         * testsuite/registry/Makefile.am:
19211         * testsuite/registry/gst-print-formats.c:
19212         * testsuite/schedulers/.cvsignore:
19213         * testsuite/schedulers/142183-2.c:
19214         * testsuite/schedulers/142183.c:
19215         * testsuite/schedulers/143777-2.c:
19216         * testsuite/schedulers/143777.c:
19217         * testsuite/schedulers/147713.c:
19218         * testsuite/schedulers/147819.c:
19219         * testsuite/schedulers/147894-2.c:
19220         * testsuite/schedulers/147894.c:
19221         * testsuite/schedulers/Makefile.am:
19222         * testsuite/schedulers/group_link.c:
19223         * testsuite/schedulers/queue_link.c:
19224         * testsuite/schedulers/relink.c:
19225         * testsuite/schedulers/unlink.c:
19226         * testsuite/schedulers/unref.c:
19227         * testsuite/schedulers/useless_iteration.c:
19228         * testsuite/states/bin.c:
19229           clean out/remove some stuff from the testsuite directories
19230
19231 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19232
19233         * configure.ac:
19234           check for some headers
19235         * gst/elements/Makefile.am:
19236         * gst/elements/gstelements.c:
19237           don't compile fdsrc without sys/socket.h
19238         * gst/indexers/Makefile.am:
19239         * gst/indexers/gstindexers.c: (plugin_init):
19240           don't compile fileindex without mmap
19241
19242 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19243
19244         * configure.ac:
19245           reorganize
19246           clean up
19247           document more
19248           remove cruft
19249         * check/Makefile.am:
19250         * docs/gst/Makefile.am:
19251         * examples/helloworld/Makefile.am:
19252         * gst/Makefile.am:
19253         * gst/base/Makefile.am:
19254         * gst/check/Makefile.am:
19255         * gst/elements/Makefile.am:
19256         * gst/indexers/Makefile.am:
19257         * gst/parse/Makefile.am:
19258         * libs/gst/controller/Makefile.am:
19259         * libs/gst/dataprotocol/Makefile.am:
19260         * examples/helloworld/helloworld.c: (event_loop):
19261           compile fixes, though it's not being compiled currently
19262
19263 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
19264
19265         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
19266           Add some simple tests for the new taglist date API.
19267
19268 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
19269
19270         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
19271         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
19272           Beautify 'last-message' output: print 'none' for buffer timestamps
19273           and durations if none is set; improve alignment with next messages.
19274
19275 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
19276
19277         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
19278         * gst/gstpluginfeature.h:
19279         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
19280         * gst/gstregistry.h:
19281         * docs/gst/gstreamer-sections.txt:
19282           Add new API to check plugin feature version requirements.
19283
19284         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
19285           Some basic tests for the above.         
19286
19287 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19288
19289         * gst/gststructure.c: (gst_structure_to_string):
19290           guard against NULL printf - happens when for example
19291           a message structure with GstClock gets serialized
19292
19293 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
19294
19295         * gst/base/gstcollectpads.c: (gst_collectpads_event):
19296           Fix presumable copy'n'pasto.
19297
19298 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19299
19300         * gst/elements/gstfakesrc.h:
19301         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
19302         * gst/elements/gsttypefindelement.c:
19303           fix some signedness
19304         * gst/elements/gstfilesink.c: (gst_file_sink_render):
19305           I wonder if this could actually write +2GB files before
19306
19307 2005-10-13  Andy Wingo  <wingo@pobox.com>
19308
19309         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
19310         Fix Timmeke Waymans bug.
19311         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
19312         string of the proper length to gst_caps_from_string. There's a
19313         potential for, before this fix, that this could cause someone
19314         connecting over the network to cause a segfault if the payload is
19315         not NUL-terminated.
19316
19317 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
19318
19319         * docs/design/draft-push-pull.txt:
19320         * docs/design/part-overview.txt:
19321         * docs/random/TODO-pre-0.9:
19322         * docs/random/old/ChangeLog.gstreamer:
19323         * gst/base/gstpushsrc.c:
19324         * gst/gstclock.c:
19325           fixed typos
19326
19327 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19328
19329         * gst/glib-compat.c: (gst_flags_get_first_value):
19330         * gst/glib-compat.h:
19331         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
19332         (gst_value_compare_double), (gst_value_serialize_flags):
19333           GLib 2.6 g_flags_get_first_value has a bug that triggers an
19334           infinite loop
19335
19336 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19337
19338         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19339         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19340           fix up debugging
19341         * tools/gst-launch.c: (event_loop):
19342           print out clock nicely
19343
19344 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
19345
19346         * docs/gst/gstreamer-sections.txt:
19347         * gst/gsttaglist.h:
19348         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
19349         (gst_tag_list_get_date_index):
19350           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
19351           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
19352
19353 2005-10-13  Julien MOUTTE  <julien@moutte.net>
19354
19355         * gst/base/gstcollectpads.c: (gst_collectpads_event),
19356         (gst_collectpads_chain):
19357         * gst/base/gstcollectpads.h: Handle newsegment and store informations
19358         in CollectData.
19359
19360 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
19361
19362         * docs/gst/gstreamer-sections.txt:
19363         * gst/gst.c:
19364         * gst/gsterror.h:
19365         * tools/gst-inspect.c: (main):
19366         * tools/gst-launch.c: (main):
19367         * tools/gst-run.c: (main):
19368         * tools/gst-xmlinspect.c: (main):
19369           fix GOption context leaks
19370           doc fixes
19371
19372 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19373
19374         * gst/gstbus.c:
19375           use HAVE_UNISTD_H
19376         * win32/common/config.h:
19377           update config
19378         * win32/vs6/grammar.dsp:
19379         * win32/vs6/libgstelements.dsp:
19380         * win32/vs6/libgstreamer.dsp:
19381           update vs6 files
19382
19383 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19384
19385         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19386         * gst/base/gstbasesrc.c: (gst_base_src_query):
19387           fix more guint64<->gdouble conversions
19388
19389 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19390
19391         * Makefile.am:
19392           add win32-update target
19393         * win32/common/gstconfig.h:
19394         * win32/common/gstenumtypes.c:
19395         * win32/common/gstenumtypes.h:
19396         * win32/common/gstversion.h:
19397           add files that visual studio can't generate
19398
19399 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19400
19401         * Makefile.am:
19402           add a win32-update target
19403         * configure.ac:
19404
19405 2005-10-12  Wim Taymans  <wim@fluendo.com>
19406
19407         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
19408         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
19409         * gst/gstelement.c: (gst_element_commit_state),
19410         (gst_element_set_state):
19411         Protect flags with proper lock.
19412         unref provided cached clock in dispose.
19413
19414 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
19415
19416         * gst/gst.c:
19417         * gst/gstminiobject.h:
19418         * gst/gstpad.h:
19419         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
19420           removed unused flags from miniobject
19421           doc fixes
19422
19423 2005-10-12  Wim Taymans  <wim@fluendo.com>
19424
19425         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
19426         (gst_file_sink_event), (gst_file_sink_render):
19427         Flush before seeking.
19428
19429 2005-10-12  Andy Wingo  <wingo@pobox.com>
19430
19431         * gst/gst.c (gst_init_check): Ignore unknown options, as has
19432         always been the case.
19433
19434 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
19435
19436         * check/gst/gstbin.c: (GST_START_TEST):
19437         * docs/gst/gstreamer-sections.txt:
19438         * gst/base/gstbasesink.c: (gst_base_sink_init):
19439         * gst/base/gstbasesrc.c: (gst_base_src_init),
19440         (gst_base_src_get_range), (gst_base_src_check_get_range),
19441         (gst_base_src_start), (gst_base_src_stop):
19442         * gst/base/gstbasesrc.h:
19443         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
19444         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
19445         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
19446         (bin_bus_handler):
19447         * gst/gstbin.h:
19448         * gst/gstbuffer.h:
19449         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
19450         * gst/gstbus.h:
19451         * gst/gstelement.c: (gst_element_is_locked_state),
19452         (gst_element_set_locked_state), (gst_element_commit_state),
19453         (gst_element_set_state):
19454         * gst/gstelement.h:
19455         * gst/gstindex.c: (gst_index_init):
19456         * gst/gstindex.h:
19457         * gst/gstminiobject.h:
19458         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
19459         (gst_object_set_parent):
19460         * gst/gstobject.h:
19461         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
19462         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
19463         * gst/gstpad.h:
19464         * gst/gstpadtemplate.h:
19465         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
19466         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
19467         * gst/gstpipeline.h:
19468         * gst/indexers/gstfileindex.c: (gst_file_index_load),
19469         (gst_file_index_commit):
19470         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
19471         * testsuite/pad/link.c: (gst_test_src_init),
19472         (gst_test_filter_init), (gst_test_sink_init):
19473         * testsuite/states/locked.c: (main):
19474           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
19475           moved bitshift from macro to enum definition
19476
19477 2005-10-12  Wim Taymans  <wim@fluendo.com>
19478
19479         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
19480         * gst/elements/gstfilesink.c: (gst_file_sink_event),
19481         (gst_file_sink_render):
19482         Some more debugging info.
19483
19484 2005-10-12  Wim Taymans  <wim@fluendo.com>
19485
19486         * docs/design/part-states.txt:
19487         * tools/gst-launch.c: (main):
19488         Some doc updates.
19489         Revert non-intentional change.
19490
19491 2005-10-12  Wim Taymans  <wim@fluendo.com>
19492
19493         * check/gst/gstbin.c: (GST_START_TEST):
19494         * check/gst/gstelement.c: (GST_START_TEST):
19495         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
19496         * check/gst/gstghostpad.c: (GST_START_TEST):
19497         * check/gst/gstpipeline.c: (GST_START_TEST):
19498         * check/pipelines/simple_launch_lines.c: (run_pipeline):
19499         * check/states/sinks.c: (GST_START_TEST):
19500         * gst/elements/gsttypefindelement.c: (stop_typefinding):
19501         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19502         (gst_bin_remove_func), (gst_bin_get_state_func),
19503         (gst_bin_recalc_state), (gst_bin_change_state_func),
19504         (bin_bus_handler):
19505         * gst/gstelement.c: (gst_element_get_state_func),
19506         (gst_element_get_state), (gst_element_abort_state),
19507         (gst_element_commit_state), (gst_element_set_state),
19508         (gst_element_change_state), (gst_element_change_state_func):
19509         * gst/gstelement.h:
19510         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
19511         (gst_pipeline_provide_clock_func):
19512         * gst/gstutils.c: (gst_element_link_pads_filtered):
19513         * tools/gst-launch.c: (main):
19514         * tools/gst-typefind.c: (main):
19515         Use GstClockTime in _get_state() instead of GTimeVal.
19516         Remove old code in gstutils.c
19517
19518 2005-10-12  Andy Wingo  <wingo@pobox.com>
19519
19520         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
19521         removed.
19522
19523         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
19524         there is no task. Shouldn't affect any code, as nothing in our
19525         plugins checks this return value.
19526         (gst_pad_stop_task): Also take the stream lock if the pad has no
19527         task. Docs updated.
19528
19529 2005-10-12  Wim Taymans  <wim@fluendo.com>
19530
19531         * gst/gstpad.c: (pre_activate), (post_activate),
19532         (gst_pad_activate_pull), (gst_pad_activate_push):
19533         Cleanup activation code. Reset old state if
19534         activation failed.
19535
19536 2005-10-12  Wim Taymans  <wim@fluendo.com>
19537
19538         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19539         (gst_base_sink_change_state):
19540         No need to prerol after receiving EOS.
19541
19542         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
19543         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
19544         * gst/elements/gstidentity.c: (gst_identity_event):
19545         Print events more verbosely.
19546
19547 2005-10-12  Wim Taymans  <wim@fluendo.com>
19548
19549         * check/Makefile.am:
19550         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19551         * check/states/sinks2.c:
19552         Moved sinks2 testcode in sinks check.
19553
19554         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19555         (gst_bin_remove_func), (gst_bin_recalc_state),
19556         (gst_bin_change_state_func), (bin_bus_handler):
19557         Fix potential race condition when _get_state() iterated over an
19558         ASYNC element right before it posted a state completion.
19559
19560         * gst/gstclock.h:
19561         Do proper cast here.
19562
19563         * gst/gstevent.c: (gst_event_new_newsegment),
19564         (gst_event_parse_newsegment):
19565         A playback rate of 0.0 is not allowed.
19566
19567 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19568
19569         * win32/common/config.h:
19570         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
19571         (_trewinddir), (_ttelldir), (_tseekdir):
19572         * win32/common/dirent.h:
19573         * win32/common/gtchar.h:
19574         * win32/common/libgstbase.def:
19575         * win32/common/libgstreamer.def:
19576         * win32/vs6/grammar.dsp:
19577         * win32/vs6/gst_inspect.dsp:
19578         * win32/vs6/gst_launch.dsp:
19579         * win32/vs6/gstreamer.dsw:
19580         * win32/vs6/libgstbase.dsp:
19581         * win32/vs6/libgstelements.dsp:
19582         * win32/vs6/libgstreamer.dsp:
19583           Visual Studio 6 project files, and a new common directory.
19584           Phear.
19585
19586 2005-10-11  Wim Taymans  <wim@fluendo.com>
19587
19588         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19589         (gst_base_sink_do_sync), (gst_base_sink_query),
19590         (gst_base_sink_change_state):
19591         * gst/base/gstbasesink.h:
19592         Correctly parse newsegment info.
19593
19594 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19595
19596         * gst/gst.c: (init_post):
19597           split plugin paths correctly
19598
19599 2005-10-11  Wim Taymans  <wim@fluendo.com>
19600
19601         * check/gst/gstevent.c: (GST_START_TEST):
19602         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19603         (gst_base_sink_change_state):
19604         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
19605         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19606         * gst/elements/gstfilesink.c: (gst_file_sink_event):
19607         * gst/gstevent.c: (gst_event_new_newsegment),
19608         (gst_event_parse_newsegment):
19609         * gst/gstevent.h:
19610         Added extra flag to newsegment for future API freeze.
19611         Updated check and base elements.
19612
19613 2005-10-11  Julien MOUTTE  <julien@moutte.net>
19614
19615         * gst/base/gstcollectpads.c: (gst_collectpads_init),
19616         (gst_collectpads_add_pad), (gst_collectpads_pop),
19617         (gst_collectpads_event), (gst_collectpads_chain):
19618         * gst/base/gstcollectpads.h: Handle EOS correctly.
19619
19620 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19621
19622         * tools/gst-launch.c: (main):
19623           more null protecting
19624
19625 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19626
19627         * gst/gst-i18n-lib.h:
19628           check for ENABLE_NLS, not GETTEXT_PACKAGE
19629         * gst/gstregistry.c: (gst_registry_add_plugin),
19630         (gst_registry_scan_path_level),
19631         (_gst_registry_remove_cache_plugins):
19632           protect possibly NULL strings
19633         * gst/parse/types.h:
19634           config.h already included before
19635         * tools/gst-inspect.c: (main):
19636           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
19637           check for ENABLE_NLS, not GETTEXT_PACKAGE
19638         * tools/gst-launch.c: (main):
19639           check for ENABLE_NLS, not GETTEXT_PACKAGE
19640
19641 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19642
19643         * configure.ac:
19644           if we don't have glib, fail before testing 2.8
19645         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
19646           fix a leak, should fix plugins-base testsuite
19647
19648 2005-10-11  Andy Wingo  <wingo@pobox.com>
19649
19650         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
19651         take the mode we're going to as an arg. Go head and set the mode
19652         and flushing flags now, so that if the activate function starts a
19653         thread all the flags will be in the right state.
19654         (post_activate): Renamed also. Just handle making sure streaming
19655         finishes for the deactivation case, and setting the deactivated
19656         mode.
19657         (gst_pad_set_active): Complain loudly if deactivation fails.
19658         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
19659         (gst_pad_activate_push): Adapt to pre/post_activate changes,
19660         remove the terrible hack.
19661
19662 2005-10-11  Wim Taymans  <wim@fluendo.com>
19663
19664         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
19665         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
19666         (gst_bin_recalc_state), (gst_bin_change_state_func),
19667         (gst_bin_dispose), (bin_bus_handler):
19668         * gst/gstbin.h:
19669         Prepare to make current EOS message queue more generic.
19670         Fix some typos.
19671
19672         * gst/gstevent.c: (gst_event_new_newsegment),
19673         (gst_event_parse_newsegment):
19674         * gst/gstevent.h:
19675         Rename base to stream_time.
19676
19677         * gst/gstmessage.h:
19678         Fix typo in docs.
19679
19680 2005-10-11  Wim Taymans  <wim@fluendo.com>
19681
19682         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
19683         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
19684         (gst_bin_change_state_func), (bin_bus_handler):
19685         * gst/gstbin.h:
19686         Work on proper clock selection.
19687
19688 2005-10-11  Edward Hervey  <edward@fluendo.com>
19689
19690         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
19691         * libs/gst/controller/gstcontroller.h:
19692         Added GList* version of _remove_properties() in order to be able to wrap
19693         it in bindings.
19694
19695 2005-10-11  Wim Taymans  <wim@fluendo.com>
19696
19697         * docs/design/part-states.txt:
19698         Some more docs.
19699
19700         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
19701         (gst_bin_change_state_func), (bin_bus_handler):
19702         Doc updates. Don't distribute the same clock over and over again.
19703
19704         * gst/gstclock.c:
19705         * gst/gstclock.h:
19706         Doc updates.
19707
19708         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
19709         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
19710         (gst_pad_send_event):
19711         * gst/gstpad.h:
19712         Make probe emission threadsafe again.
19713         Register quarks and move _get_name() from utils.
19714         Doc updates.
19715
19716         * gst/gstpipeline.c: (gst_pipeline_class_init),
19717         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
19718         Only redistribute the clock of it changed.
19719
19720         * gst/gstsystemclock.h:
19721         Doc updates. 
19722
19723         * gst/gstutils.c:
19724         * gst/gstutils.h:
19725         Moved the _flow_get_name() to GstPad.
19726
19727 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19728
19729         * check/gst-libs/gdp.c: (GST_START_TEST):
19730         * check/gst/gstcaps.c: (GST_START_TEST):
19731         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
19732         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
19733         (gst_dp_packet_from_caps):
19734           fix more valgrind warnings before turning up the heat
19735
19736 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19737
19738         * gst/parse/grammar.y:
19739           some cleanup before the hacking
19740
19741 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19742
19743         * gst/base/gstbasesrc.c: (gst_base_src_query):
19744           use conversions
19745         * gst/gstutils.c: (gst_guint64_to_gdouble),
19746         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
19747         * gst/gstutils.h:
19748           externalize, basesrc uses it
19749           obviously the implementation needs testing
19750
19751 2005-10-10  Wim Taymans  <wim@fluendo.com>
19752
19753         * tests/sched/Makefile.am:
19754         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
19755         (make_pipeline3), (make_pipeline4), (print_elem), (main):
19756
19757 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19758
19759         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
19760           apparently converting from guint64 to double is not implemented
19761           on MSVC
19762
19763 2005-10-10  Wim Taymans  <wim@fluendo.com>
19764
19765         * check/Makefile.am:
19766         * check/generic/states.c: (GST_START_TEST):
19767         * check/gst/gstbin.c: (GST_START_TEST):
19768         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19769         * check/states/sinks.c: (GST_START_TEST):
19770         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
19771         (main):
19772         Check fixes, use API as stated in design docs, remove hacks.
19773
19774         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19775         (gst_base_sink_change_state):
19776         Catch stopping our task while we're shutting down.
19777
19778         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
19779         (gst_bin_remove_func), (gst_bin_get_state_func),
19780         (gst_bin_recalc_state), (gst_bin_change_state_func),
19781         (bin_bus_handler):
19782         * gst/gstbin.h:
19783         * gst/gstelement.c: (gst_element_init),
19784         (gst_element_get_state_func), (gst_element_abort_state),
19785         (gst_element_commit_state), (gst_element_lost_state),
19786         (gst_element_set_state), (gst_element_change_state),
19787         (gst_element_change_state_func):
19788         * gst/gstelement.h:
19789         New state change algorithm (see #318116)
19790
19791         * gst/gstpipeline.c: (gst_pipeline_class_init),
19792         (gst_pipeline_init), (gst_pipeline_set_property),
19793         (gst_pipeline_get_property), (do_pipeline_seek),
19794         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
19795         * gst/gstpipeline.h:
19796         Remove crude state change hacks.
19797
19798         * gst/gstutils.h:
19799         Remove crude hacks.
19800
19801         * tools/gst-launch.c: (main):
19802         Fixes for state change. Needs some more work to fully use the
19803         new stuff.
19804
19805 2005-10-10  Andy Wingo  <wingo@pobox.com>
19806
19807         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
19808
19809         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
19810         this flag, but it's not even in GLib 2.6. Odd. Hack around the
19811         issue.
19812
19813 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
19814
19815         * gst/gstiterator.c: (gst_iterator_new):
19816           Fix my previous commit: GTypes passed to gst_iterator_new()
19817           can be fundamental types.
19818
19819 2005-10-10  Wim Taymans  <wim@fluendo.com>
19820
19821         * gst/gstelement.c: (gst_element_iterate_pad_list),
19822         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
19823         (gst_element_iterate_sink_pads):
19824         Use src/sink pads lists for the respective iterators instead
19825         of filtering.
19826
19827 2005-10-10  Andy Wingo  <wingo@pobox.com>
19828
19829         Merged in popt removal + GOption addition patch from Ronald, bug
19830         #169772.
19831
19832         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
19833         GstElement macros around, remove popt-related symbols, add goption
19834         stuff.
19835
19836         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
19837         
19838         * docs/gst/Makefile.am:
19839         * docs/libs/Makefile.am: No POPT_CFLAGS.
19840         
19841         * examples/manual/Makefile.am:
19842         * docs/manual/basics-init.xml: Doc updates with an example.
19843         
19844         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
19845         (gst_init), (parse_one_option), (parse_goption_arg):
19846         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
19847         bit of hand merging and debugging to get the GOption stuff working
19848         tho.
19849         
19850         * tests/Makefile.am:
19851         * tools/Makefile.am:
19852         * tools/gst-inspect.c: (main):
19853         * tools/gst-launch.c: (main):
19854         * tools/gst-run.c: (main):
19855         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
19856
19857 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
19858
19859         * gst/gstiterator.c: (gst_iterator_new):
19860           Add assertions to make sure passed GType is likely to really
19861           be a GType (as the compiler won't catch it if the size and
19862           GType arguments get mixed up, see #318447).
19863
19864 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
19865
19866         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19867
19868         * gst/gstbin.c: (gst_bin_iterate_sorted):
19869           Pass GType and size arguments to gst_iterator_new() in the right
19870           order (maybe we should make _new() take the GType as first argument
19871           just like _new_list()?) (#318447).
19872           
19873
19874 2005-10-10  Wim Taymans  <wim@fluendo.com>
19875
19876         * gst/gstelement.c: (gst_element_finalize):
19877         And free the GStaticRecMutex too
19878
19879 2005-10-10  Andy Wingo  <wingo@pobox.com>
19880
19881         * gst/gstelement.c (gst_element_init, gst_element_finalize):
19882         Allocate and free the mutex properly.
19883
19884         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
19885         New macros.
19886         (GstElement): The state_lock is now recursive. Rebuild your
19887         plugins, suckers. Old macros adapted.
19888
19889         * docs/gst/gstreamer-sections.txt: Doc updates.
19890
19891         * gst/gstutils.h:
19892         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
19893         (g_static_rec_cond_wait): Ported from state changes patch, while
19894         we wait on bug #317802 to be solved in a well-distributed GLib.
19895
19896         * gst/gstelement.c (gst_element_change_state_func): Renamed from
19897         gst_element_change_state, variable name changes.
19898         (gst_element_change_state): Split out of gst_element_set_state in
19899         preparation for the state change merge. Doesn't pay attention to
19900         the 'transition' argument.
19901         (gst_element_set_state): Updates, hopefully purely cosmetic.
19902         (gst_element_sync_state_with_parent): MT-safety. Ported from the
19903         state change patch.
19904         (gst_element_get_state_func): Renamed from get_state, cosmetic
19905         changes.
19906
19907 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19908
19909         * gst/elements/gstelements.c:
19910         * win32/GStreamer.vcproj:
19911         * win32/config.h:
19912         * win32/dirent.c: (_tseekdir):
19913         * win32/gst-inspect.vcproj:
19914         * win32/gst-launch.vcproj:
19915         * win32/gstconfig.h:
19916         * win32/gstelements.vcproj:
19917         * win32/gstenumtypes.c: (gst_object_flags_get_type):
19918         * win32/gstreamer.def:
19919         * win32/msvc71.sln:
19920           updates for the win32 build (patch from Sebastien Moutte)
19921
19922 2005-10-10  Andy Wingo  <wingo@pobox.com>
19923
19924         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
19925         gst_bin_get_state, cleaned up (but no logic changes).
19926         (bin_element_is_sink): Comment updates.
19927         (sink_iterator_filter): Remove needless cast.
19928         (gst_bin_iterate_sinks): Doc update.
19929         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
19930         cleaned up (but no logic changes).
19931
19932         * check/states/sinks.c (test_src_sink): Cleanups from the state
19933         change patch.
19934         (test_livesrc_sink): Sync on the state.
19935
19936         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
19937         the state change patch.
19938
19939         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
19940         change patch.
19941
19942         * check/gst/gstbin.c: Merge in some style fixes and additional
19943         checks from Wim's state change patch.
19944
19945 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
19946
19947         * gst/base/gsttypefindhelper.c: (helper_find_peek),
19948         (gst_type_find_helper):
19949           Check whether we have the requested data already in our list of
19950           cached buffers before pulling a new buffer; also make the buffer
19951           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
19952
19953 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19954
19955         * gst/gstcaps.c:
19956         * gst/gstevent.c:
19957           doc updates
19958         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
19959           don't use long long, it's not portable.  Replacing with
19960           gint64 seems to work; let's hope no skeletons fall out of the closet.
19961
19962 2005-10-10  Andy Wingo  <wingo@pobox.com>
19963
19964         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
19965
19966 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
19967
19968         * docs/gst/gstreamer-sections.txt:
19969         * gst/gstevent.c:
19970         * gst/gstevent.h:
19971         * gst/gstinfo.c:
19972         * gst/gstinfo.h:
19973         * gst/gstmessage.c: (gst_message_parse_state_changed):
19974         * gst/gstpad.c:
19975         * gst/gstpad.h:
19976           more docs, fix compilation
19977
19978 2005-10-09  Philippe Khalaf <burger@speedy.org>
19979         * gst/gstmessage.c:
19980           Fixed a few forgotten variables on previous commit
19981
19982 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
19983
19984         * gst/base/gsttypefindhelper.c: (helper_find_peek):
19985           Fix evil typefind crasher: getrange() might return a short
19986           buffer at the end of a file, but gst_type_find_peek() must
19987           either return the full data as requested or NULL, but
19988           never a short buffer.
19989
19990 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19991
19992         * gst/gstmessage.c: (gst_message_new_state_changed),
19993         (gst_message_parse_state_changed):
19994         * gst/gstmessage.h:
19995           don't use "new", it's a C++ keyword
19996
19997 2005-10-08  Wim Taymans  <wim@fluendo.com>
19998
19999         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
20000         * gst/gstelement.c: (gst_element_post_message):
20001         * gst/gstpipeline.c: (gst_pipeline_change_state):
20002         Small docs and debug updates.
20003
20004 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
20005
20006         * docs/gst/gstreamer-sections.txt:
20007         * gst/gstelementfactory.c:
20008         * gst/gstevent.c:
20009         * gst/gsttaglist.c:
20010           more docs
20011
20012 2005-10-08  Wim Taymans  <wim@fluendo.com>
20013
20014         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
20015         (gst_bin_dispose), (bin_bus_handler):
20016         Fix typos, add comments.
20017         Clear EOS list when going to PAUSED from any direction and do it
20018         in a threadsafe way.
20019         Get base time in a threadsafe way too.
20020         Fix confusing debug in the change_state function.
20021         Various other small cleanups.
20022         
20023         * gst/gstelement.c: (gst_element_post_message):
20024         Fix very verbose bus posting code.
20025
20026         * gst/gstpipeline.c: (gst_pipeline_class_init),
20027         (gst_pipeline_set_property), (gst_pipeline_get_property),
20028         (gst_pipeline_change_state):
20029         Small ARG_ -> PROP_ cleanup
20030
20031 2005-10-08  Wim Taymans  <wim@fluendo.com>
20032
20033         * gst/gstbin.c: (is_eos), (bin_bus_handler):
20034         Do a less CPU demanding EOS check because we can.
20035
20036 2005-10-08  Wim Taymans  <wim@fluendo.com>
20037
20038         * libs/gst/dataprotocol/dataprotocol.c:
20039         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
20040         (gst_dp_packet_from_event):
20041         * libs/gst/dataprotocol/dataprotocol.h:
20042         * libs/gst/dataprotocol/dp-private.h:
20043         It's about time we bump the version number.
20044         Since event types don't fit in the guint8 anymore describing
20045         the payload type, make payload type 16 bits wide.
20046
20047 2005-10-08  Wim Taymans  <wim@fluendo.com>
20048
20049         * docs/design/part-TODO.txt:
20050         * docs/design/part-clocks.txt:
20051         * docs/design/part-events.txt:
20052         * docs/design/part-gstbin.txt:
20053         * docs/design/part-gstelement.txt:
20054         * docs/design/part-gstpipeline.txt:
20055         * docs/design/part-live-source.txt:
20056         * docs/design/part-messages.txt:
20057         * docs/design/part-overview.txt:
20058         * docs/design/part-states.txt:
20059         Many doc updates.
20060
20061 2005-10-08  Wim Taymans  <wim@fluendo.com>
20062
20063         * gst/gstevent.c:
20064         * gst/gstevent.h:
20065         Fix event quark registration.
20066         Add some space between events so we can insert them in the
20067         right groups.
20068
20069 2005-10-08  Wim Taymans  <wim@fluendo.com>
20070
20071         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20072         (gst_base_sink_handle_buffer):
20073         Better log message.
20074
20075         * gst/gstbus.h:
20076         * gst/gstelement.h:
20077         More docs.
20078
20079         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
20080         (gst_queue_set_property), (gst_queue_get_property):
20081         * gst/gstqueue.h:
20082         Remove old unused properties.
20083
20084 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
20085         * docs/gst/gstreamer-sections.txt:
20086         * gst/gstmessage.c:
20087         * gst/gstmessage.h:
20088         * gst/gstminiobject.c:
20089         * gst/gstminiobject.h:
20090         * gst/gstobject.h:
20091         * gst/gstpad.h:
20092         * gst/gstutils.h:
20093           lots of new docs and doc fixes
20094
20095 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20096
20097         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
20098         * gst/gstplugin.h:
20099         * gst/gstregistry.c: (gst_registry_lookup_locked),
20100         (gst_registry_scan_path_level):
20101         * gst/gstregistryxml.c: (load_plugin):
20102           Only ever load one plugin for a given plugin basename.
20103           This ensures correct overriding of GST_PLUGIN_PATH over
20104           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
20105           system installed plugins.
20106
20107 2005-10-08  Wim Taymans  <wim@fluendo.com>
20108
20109         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20110         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
20111         Prepare for doing QOS.
20112
20113 2005-10-08  Wim Taymans  <wim@fluendo.com>
20114
20115         * check/gst/gstbin.c: (GST_START_TEST):
20116         * check/pipelines/cleanup.c: (GST_START_TEST):
20117         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
20118         Allow new clock message too.
20119
20120 2005-10-08  Wim Taymans  <wim@fluendo.com>
20121
20122         * gst/gstmessage.c: (gst_message_new_error),
20123         (gst_message_new_warning), (gst_message_new_tag),
20124         (gst_message_new_state_changed), (gst_message_new_clock_provide),
20125         (gst_message_new_clock_lost), (gst_message_new_new_clock),
20126         (gst_message_new_segment_start), (gst_message_new_segment_done),
20127         (gst_message_parse_state_changed),
20128         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
20129         (gst_message_parse_new_clock):
20130         * gst/gstmessage.h:
20131         Also carry the clock in question.
20132
20133 2005-10-08  Wim Taymans  <wim@fluendo.com>
20134
20135         * gst/gstmessage.c: (gst_message_new_custom),
20136         (gst_message_new_eos), (gst_message_new_error),
20137         (gst_message_new_warning), (gst_message_new_tag),
20138         (gst_message_new_state_changed), (gst_message_new_clock_provide),
20139         (gst_message_new_new_clock), (gst_message_new_segment_start),
20140         (gst_message_new_segment_done), (gst_message_parse_state_changed),
20141         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
20142         * gst/gstmessage.h:
20143         Clean up.
20144         Added clock related messages.
20145
20146         * gst/gstpipeline.c: (gst_pipeline_change_state):
20147         Post message when the clock changed.
20148
20149         * tools/gst-launch.c: (event_loop):
20150         Print new clock.
20151
20152 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
20153
20154         * tools/gst-inspect.c: (print_element_properties_info):
20155           Can't pass NULL strings to g_print() on windows.
20156
20157 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20158
20159         * docs/Makefile.am:
20160         * docs/gst/Makefile.am:
20161         * docs/gst/gstreamer-docs.sgml:
20162         * docs/gst/running.xml:
20163         * docs/version.entities.in:
20164           add a chapter on running GStreamer.
20165           document GST_DEBUG and GST_PLUGIN* env vars
20166
20167 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20168
20169         * Makefile.am:
20170           remove include dir
20171         * configure.ac:
20172           remove PLUGINS_BUILDDIR stuff
20173         * gst/gst.c: (init_post):
20174           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
20175         * idiottest.mak:
20176           remove, it was condescending and not needed
20177
20178 2005-10-08  Wim Taymans  <wim@fluendo.com>
20179
20180         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
20181         (gst_base_sink_handle_object), (gst_base_sink_event),
20182         (gst_base_sink_wait), (gst_base_sink_handle_event),
20183         (gst_base_sink_change_state):
20184         * gst/base/gstbasesink.h:
20185         Repost EOS message while going to PLAYING if still EOS.
20186         Make sure that when receiving a FLUSH_START we don't attempt
20187         to sync on the clock anymore.
20188
20189 2005-10-08  Wim Taymans  <wim@fluendo.com>
20190
20191         * tools/gst-launch.c: (event_loop):
20192         Better message printout.
20193
20194 2005-10-08  Wim Taymans  <wim@fluendo.com>
20195
20196         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
20197         (gst_bin_child_proxy_get_children_count):
20198         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
20199         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
20200         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
20201         (gst_child_proxy_set_valist):
20202         * gst/parse/grammar.y:
20203         Make ChildProxy threadsafe and fix mem leaks.
20204
20205 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20206
20207         * gst/gst.c: (init_post):
20208           debug the GST_PLUGIN_ env vars
20209
20210 2005-10-08  Wim Taymans  <wim@fluendo.com>
20211
20212         * check/gst/gstbin.c: (GST_START_TEST):
20213         * check/gst/gstmessage.c: (GST_START_TEST):
20214         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20215         * gst/gstelement.c: (gst_element_commit_state),
20216         (gst_element_lost_state):
20217         * gst/gstmessage.c: (gst_message_new_state_changed),
20218         (gst_message_parse_state_changed):
20219         * gst/gstmessage.h:
20220         * tools/gst-launch.c: (event_loop):
20221         Added extra field to STATE_CHANGE message with the pending
20222         state, which will be different from the new state soon.
20223
20224 2005-10-08  Wim Taymans  <wim@fluendo.com>
20225
20226         * gst/gstbus.c: (gst_bus_pop):
20227         * gst/gstclock.c:
20228         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20229         Small cleanups and doc updates.
20230
20231 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20232
20233         * gst/gst.c: (init_pre):
20234         * gst/gstbin.c: (gst_bin_add_func):
20235           log distributing clocks and base time
20236         * gst/gstregistry.c: (gst_registry_add_plugin),
20237         (gst_registry_scan_path_level), (gst_registry_scan_path):
20238           clean up the debugging output a little
20239         * gst/gstutils.c: (gst_element_state_get_name):
20240           warn about a memleak (I've actually seen this be used, though
20241           it was probably a bug)
20242
20243 2005-10-07  Wim Taymans  <wim@fluendo.com>
20244
20245         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20246         (gst_base_src_init), (gst_base_src_default_newsegment),
20247         (gst_base_src_newsegment), (gst_base_src_do_seek),
20248         (gst_base_src_loop), (gst_base_src_start):
20249         * gst/base/gstbasesrc.h:
20250         Make the newsegment event customizable by subclasses.
20251
20252 2005-10-07  Wim Taymans  <wim@fluendo.com>
20253
20254         * gst/gstevent.c: (gst_event_new_buffersize),
20255         (gst_event_parse_buffersize):
20256         * gst/gstevent.h:
20257         New event for future idea.
20258
20259 2005-10-07  Andy Wingo  <wingo@pobox.com>
20260
20261         * gst/gstelement.c (gst_element_post_message): Doc update.
20262
20263         * docs/gst/gstreamer-sections.txt: Update.
20264
20265         * gst/gstmessage.c (gst_message_new_application): Made into a
20266         function like honest API calls.
20267         (gst_message_new_element): New message type.
20268
20269         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
20270
20271         * check/elements/fakesrc.c (test_no_preroll): New check, checks
20272         that setting a live fakesrc to PAUSED returns NO_PREROLL both
20273         times.
20274
20275         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
20276         NO_PREROLL from gst_element_change_state to fall through.
20277
20278 2005-10-07  Wim Taymans  <wim@fluendo.com>
20279
20280         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
20281         (gst_ghost_pad_do_activate_push):
20282         Activating a ghostpad with no internal pad in push mode
20283         is ok.
20284
20285 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
20286
20287         * gst/gstobject.h:
20288           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
20289           Fixes compilation on Windows.
20290
20291 2005-10-07  Michael Smith <msmith@fluendo.com>
20292
20293         * tools/gst-inspect.c:
20294           Print out feature and plugin count at the end when printing out
20295           all features.
20296
20297 2005-10-04  Michael Smith <msmith@fluendo.com>
20298
20299         * gst/gsterror.c: (_gst_stream_errors_init):
20300           Add another error string used in a few existing plugins.
20301
20302         * gst/gstplugin.c:
20303         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20304         * tools/gst-inspect.c: (print_element_info):
20305           When a feature disappears from a plugin (and the feature exists in
20306           the cached registry file), things went horribly wrong. This isn't a
20307           complete fix, we should actually be removing the 'missing' features
20308           from the features list when we load the actual plugin. That's not
20309           yet implemented. 
20310
20311 2005-10-04  Johan Dahlin  <johan@gnome.org>
20312
20313         * check/gst/gstiterator.c: (GST_START_TEST):
20314         * gst/gstbin.c: (gst_bin_iterate_elements),
20315         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
20316         * gst/gstelement.c: (gst_element_iterate_pads):
20317         * gst/gstformat.c: (gst_format_iterate_definitions):
20318         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
20319         (gst_iterator_new_list), (gst_iterator_filter):
20320         * gst/gstiterator.h:
20321         * gst/gstquery.c: (gst_query_type_iterate_definitions):
20322         Add a GType to GstIterator, update callsites and tests.
20323
20324 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20325
20326         * gst/gstpad.c: (gst_pad_event_default_dispatch):
20327           give events a chance to be handled by event probes when the pad
20328           is not linked
20329
20330 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20331
20332         * gst/gstevent.c: (gst_event_type_get_name),
20333         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
20334         * gst/gstevent.h:
20335           add string representations for event types
20336
20337 2005-10-06  Wim Taymans  <wim@fluendo.com>
20338
20339         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
20340         Don't use NULL pointers.
20341
20342 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20343
20344         * gst/gst_private.h:
20345         * gst/gstbus.c:
20346         * gst/gstelement.c:
20347         * gst/gstinfo.c:
20348         * gst/gstpluginfeature.c:
20349           widen the debug category in output to fit the biggest one we have
20350           add a bus category and use it
20351           play with the colors
20352           fix up some categories
20353
20354 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20355
20356         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
20357           add push activation of sink ghost pads.
20358           Andye, please verify
20359
20360 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
20361
20362         * gst/gstutils.c: (gst_element_link_pads):
20363           fix a bug in the case where neither element has a pad
20364         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20365           add a test for that case
20366
20367 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
20368
20369         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
20370           emit have-data before checking for peers.  This allows
20371           for probe handlers to connect elements.  This helps autopluggers.
20372         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
20373         (gst_pad_suite):
20374           add six checks, linked/unlinked with no/true/false probe
20375
20376 2005-10-04  Wim Taymans  <wim@fluendo.com>
20377
20378         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
20379         (gst_fake_sink_event), (gst_fake_sink_preroll),
20380         (gst_fake_sink_render), (gst_fake_sink_change_state):
20381         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
20382         (gst_fake_src_get_property), (gst_fake_src_create),
20383         (gst_fake_src_stop):
20384         * gst/elements/gstidentity.c: (gst_identity_stop):
20385         Protect last_message with lock.
20386
20387 2005-10-04  Edward Hervey  <edward@fluendo.com>
20388
20389         * gst/gstformat.h: 
20390         Added precision in the comments for GST_FORMAT_DEFAULT
20391
20392 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
20393
20394         * tools/gst-launch.c: (main):
20395           Don't try to run erroneous pipelines.
20396
20397 2005-10-04  Julien MOUTTE  <julien@moutte.net>
20398
20399         * gst/gstbus.c: We don't need this header.
20400
20401 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20402
20403         * configure.ac:
20404           back to development
20405
20406 === release 0.9.3 ===
20407
20408 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20409
20410         * README:
20411         * configure.ac:
20412           Releasing 0.9.3, "Unregistered"
20413
20414 2005-10-03  Andy Wingo  <wingo@pobox.com>
20415
20416         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
20417         whereby calling a pad's activatepush() function can start a thread
20418         that starts to push or pull before the pad gets the FLUSHING flag
20419         unset. Hack around it by holding the stream lock until the flag is
20420         set. Need to replace this with a proper solution. Together with
20421         the ghost pad fixes, this fixes mp3 playing/tagreading.
20422
20423         * docs/design/part-gstghostpad.txt: Add a note about activation of
20424         proxy pads outside of ghost pads.
20425
20426         * gst/gstghostpad.c: Implement the ghost pad activation design.
20427
20428 2005-10-02  Andy Wingo  <wingo@pobox.com>
20429
20430         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
20431         It is volatile, after all.
20432
20433         * docs/design/part-gstghostpad.txt: Flesh out activation with
20434         ghost pads.
20435
20436         * gst/base/gstbasesrc.c (gst_base_src_init): Use
20437         GST_DEBUG_FUNCPTR.
20438
20439 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
20440
20441         * configure.ac:
20442           Fix (unused) AM_CONDITIONAL tests.
20443
20444 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
20445
20446         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
20447
20448         * gst/gstutils.c: (gst_pad_query_convert):
20449           Add assertion that makes sure src_val is >=0, just like
20450           gst_query_new_convert() has. (#315895)
20451
20452 2005-09-30  Edward Hervey  <edward@fluendo.com>
20453
20454         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
20455         Let's not iterate pads we're not interested in, it avoids getting 
20456         sky-high refcounts on sinkpad.
20457
20458 2005-09-30  Wim Taymans  <wim@fluendo.com>
20459
20460         * gst/gstelement.c: (gst_element_set_state),
20461         (gst_element_change_state):
20462         Small tweak, element in ASYNC remains ASYNC.
20463
20464 2005-09-30  Wim Taymans  <wim@fluendo.com>
20465
20466         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20467         Only error is an error.
20468
20469         * gst/gstbin.c: (gst_bin_change_state):
20470         Better debugging.
20471
20472         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
20473         Also call pad_block in pad alloc.
20474
20475         * gst/gstutils.c: (gst_flow_get_name):
20476         Better debugging.
20477
20478 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
20479
20480         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20481         (gst_base_src_get_range):
20482           Fix documentation typos. Add some more debug info.
20483
20484 2005-09-29  David Schleef  <ds@schleef.org>
20485
20486         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
20487           more end-user friendly.
20488         * tools/gst-inspect.c: (main): Check if command-line argument is
20489           a file and attempt to load that file as a plugin.
20490
20491 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20492
20493         * check/gst/gstbin.c:
20494         * check/states/sinks.c:
20495           fix tests for the new warning
20496         * check/gst/gstpipeline.c:
20497           add a test for pipeline and bus interaction
20498         * gst/gstelement.c:
20499           elements should be NULL if they get disposed; add a warning if not
20500
20501 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20502
20503         * gst/gstobject.c:
20504           for 2.6 refcounting, make debug log more correct by printing
20505           the actual refcounts at the time of swap (Wim)
20506
20507 2005-09-29  Andy Wingo  <wingo@pobox.com>
20508
20509         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
20510         removes signal watches previously added via
20511         gst_bus_add_signal_watch.
20512         (gst_bus_add_signal_watch): Don't return the source id, just store
20513         it on the bus if there wasn't an id already.
20514
20515         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
20516         add_signal_watch and remove_signal_watch.
20517
20518 2005-09-29  Edward Hervey  <edward@fluendo.com>
20519
20520         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
20521         Better if we actually iterate the list :)
20522
20523 2005-09-29  Wim Taymans  <wim@fluendo.com>
20524
20525         * check/gst/gstbin.c: (GST_START_TEST):
20526         Change for new bus API.
20527
20528         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
20529         (send_messages), (GST_START_TEST), (gstbus_suite):
20530         Change for new bus signal API.
20531
20532         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
20533         (gst_bus_source_prepare), (gst_bus_source_check),
20534         (gst_bus_create_watch), (gst_bus_add_watch_full),
20535         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
20536         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
20537         * gst/gstbus.h:
20538         Remove support for multiple GSources operating on different
20539         message types as it is too complex and unneeded when using
20540         signals.
20541         Added support for receiving signals from the bus.
20542
20543 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20544
20545         * docs/libs/tmpl/gstdataprotocol.sgml:
20546         * docs/manual/advanced-dataaccess.xml:
20547         * gst/elements/gstcapsfilter.c:
20548         * gst/gstutils.c:
20549           rename filter-caps to caps property
20550
20551 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
20552
20553         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20554           More robust fraction string parsing.
20555
20556         * docs/pwg/appendix-porting.xml:
20557           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
20558
20559 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
20560
20561         * gst/gstcaps.c: (gst_caps_do_simplify):
20562           Thou shalt not free a structure and then continue using it
20563           in the next loop iteration.
20564
20565         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
20566         (gst_caps_suite):
20567           Add test case for caps simplification.
20568
20569 2005-09-29  Wim Taymans  <wim@fluendo.com>
20570
20571         * check/gst/gstbin.c: (GST_START_TEST):
20572         Oops.
20573
20574 2005-09-29  Wim Taymans  <wim@fluendo.com>
20575
20576         * check/gst/gstbin.c: (GST_START_TEST):
20577         Add bus to bin.
20578
20579         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
20580         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
20581         (find_element), (gst_bin_sort_iterator_next),
20582         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20583         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20584         (gst_bin_change_state), (gst_bin_dispose):
20585         A bin does not have a bus, it gets the bus from the parent.
20586
20587         * gst/gstelement.c: (gst_element_requires_clock),
20588         (gst_element_provides_clock), (gst_element_is_indexable),
20589         (gst_element_is_locked_state), (gst_element_change_state),
20590         (gst_element_set_bus_func):
20591         Small cleanups.
20592
20593         * gst/gstpipeline.c: (gst_pipeline_class_init),
20594         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
20595         The pipeline provides a bus.
20596
20597 2005-09-28  Johan Dahlin  <johan@gnome.org>
20598
20599         * gst/gstmessage.c (gst_message_parse_state_changed): Use
20600         gst_structure_get_enum instead of gst_structure_get_int
20601
20602         * gst/gststructure.c (gst_structure_get_enum): Impl.
20603
20604         * gst/gststructure.h (gst_structure_get_enum): Add
20605
20606         * docs/gst/gstreamer-sections.txt: Ditto
20607
20608         * gst/gstmessage.c (gst_message_new_state_changed): Use
20609         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
20610         which does introspection.
20611         Reviewed by Christian Schaller
20612
20613 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
20614
20615         * gst/gstinfo.c: (gst_debug_log_default):
20616           don't do dummy g_strdup()s
20617         * libs/gst/controller/gstcontroller.c:
20618         (on_object_controlled_property_changed),
20619         (gst_controlled_property_new), (gst_controller_new_valist),
20620         (gst_controller_new_list),
20621         (gst_controller_remove_properties_valist), (gst_controller_set),
20622         (gst_controller_get), (gst_controller_sync_values),
20623         (gst_controller_get_value_array), (_gst_controller_class_init),
20624         (gst_controller_get_type):
20625         * libs/gst/controller/gstcontroller.h:
20626         * libs/gst/controller/gstinterpolation.c:
20627         (gst_controlled_property_find_timed_value_node):
20628           convert // to /**/ comments
20629
20630 2005-09-28  Wim Taymans  <wim@fluendo.com>
20631
20632         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
20633         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
20634         (gst_bus_sync_signal_handler):
20635         * gst/gstbus.h:
20636         Added async-message and sync-message signals to the bus.
20637         Added helper BusFunc to emit signals for all posted messages.
20638
20639         * gst/gstmessage.c: (gst_message_type_get_name),
20640         (gst_message_type_to_quark), (gst_message_get_type):
20641         * gst/gstmessage.h:
20642         Register quarks for message names.
20643
20644 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
20645
20646         * docs/libs/gstreamer-libs-sections.txt:
20647         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
20648         (gst_controller_new_list):
20649         * libs/gst/controller/gstcontroller.h:
20650           added another constructor for language bindings
20651
20652 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20653
20654         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
20655           add another check
20656         * gst/gstbus.c:
20657           add some doc
20658         * gst/gstinfo.c: (_gst_debug_init):
20659           slightly more readable color for refcount debugging
20660
20661 2005-09-28  Wim Taymans  <wim@fluendo.com>
20662
20663         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20664         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
20665         (find_element), (gst_bin_sort_iterator_next),
20666         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20667         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20668         (gst_bin_change_state), (gst_bin_dispose):
20669         Small doc fixes. get_clock -> provide_clock.
20670
20671         * gst/gstelement.c: (gst_element_class_init),
20672         (gst_element_provides_clock), (gst_element_provide_clock),
20673         (gst_element_get_clock), (gst_element_commit_state),
20674         (gst_element_lost_state):
20675         * gst/gstelement.h:
20676         Make get/set_clock() symetric. Add provide_clock vmethod since
20677         that is actually what this function does.
20678
20679         * gst/gstpipeline.c: (gst_pipeline_class_init),
20680         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
20681         (gst_pipeline_get_clock):
20682         get_clock -> provide_clock.
20683
20684 2005-09-28  Andy Wingo  <wingo@pobox.com>
20685
20686         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
20687         lieu of real docs...
20688
20689         * gst/elements/gstfdsrc.c: Cleaned up a bit.
20690
20691 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
20692
20693         * gst/elements/gstcapsfilter.c:
20694         * gst/elements/gstfakesink.c:
20695         * gst/elements/gstfakesrc.c:
20696         * gst/elements/gstfdsink.c:
20697         * gst/elements/gstfdsrc.c:
20698         * gst/elements/gstfilesink.c:
20699         * gst/elements/gstfilesrc.c:
20700         * gst/elements/gstidentity.c:
20701         * gst/elements/gsttee.c:
20702         * gst/elements/gsttypefindelement.c:
20703           Make element details static.
20704
20705 2005-09-28  Wim Taymans  <wim@fluendo.com>
20706
20707         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20708         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20709         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20710         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20711         (gst_bin_change_state), (gst_bin_dispose):
20712         Some documentation updates.
20713         Clean up dispose handlers.
20714
20715         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
20716         * gst/gstpad.c: (gst_pad_dispose):
20717         Clean up dispose handler.
20718
20719         * gst/gstpipeline.c: (gst_pipeline_change_state):
20720         Removed spurious UNLOCK.
20721
20722 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
20723
20724         * docs/gst/gstreamer-sections.txt:
20725         * gst/base/gstbasesrc.h:
20726         * gst/gstelement.h:
20727         * gst/gstevent.h:
20728         * gst/gstobject.h:
20729         * gst/gstpad.h:
20730         * gst/gstpipeline.c:
20731         * gst/gstpipeline.h:
20732         * gst/gstutils.h:
20733         * gst/gstxml.h:
20734           added two new functions to the docs
20735                 documents all undocumented GstXXXFlags
20736                 completed some incomplete docs 
20737
20738 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20739
20740         * gst/gstbin.c: (gst_bin_dispose):
20741         * gst/gstelement.c: (gst_element_dispose):
20742           remove now useless and leaky resurrection code in dispose
20743         * gst/base/gstbasesrc.c: (gst_base_src_init):
20744         * gst/gstelementfactory.c: (gst_element_factory_create):
20745         * gst/gstobject.c: (gst_object_set_parent):
20746           add some debugging
20747
20748 2005-09-27  Wim Taymans  <wim@fluendo.com>
20749
20750         * docs/design/part-TODO.txt:
20751         Update TODO.
20752
20753         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20754         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20755         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20756         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20757         (gst_bin_change_state):
20758         * gst/gstelement.h:
20759         Remove element variable, we keep element info in the iterator now.
20760
20761 2005-09-27  Andy Wingo  <wingo@pobox.com>
20762
20763         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
20764         values.
20765
20766 2005-09-27  Wim Taymans  <wim@fluendo.com>
20767
20768         * check/gst/gstbin.c: (GST_START_TEST):
20769         Enable check that works now.
20770
20771         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20772         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20773         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20774         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20775         (gst_bin_change_state):
20776         * gst/gstbin.h:
20777         Redid the state change algorithm using a topological sort algo.
20778         Handles all cases correctly.
20779         Exposed iterator for state change order.
20780
20781         * gst/gstelement.h:
20782         Temp storage for state changes. Need to get rid of this soon.
20783
20784 2005-09-27  Wim Taymans  <wim@fluendo.com>
20785
20786         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
20787         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
20788         (link_fold_func), (gst_pad_proxy_setcaps):
20789         Leak fixes, the fold functions need to unref the passed object and
20790         _get_parent_*() returns ref to parent.
20791
20792 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
20793
20794         * check/gst/gstbuffer.c: (test_make_writable):
20795           Plug leak in test case and fix 'make check-valgrind'
20796
20797 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
20798
20799         * gst/gstbuffer.c: (gst_subbuffer_init):
20800           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
20801           works correctly in all circumstances (we could have just copied
20802           the parent buffer's readonly flag, but conceptually it seems
20803           cleaner to mark all subbuffers as read-only). (based on patch
20804           by Alessandro Decina, #314710).
20805         
20806         * check/gst/gstbuffer.c: (create_read_only_buffer),
20807         (test_make_writable), (test_subbuffer_make_writable),
20808         (gst_test_suite):
20809           Add some tests for gst_buffer_make_writable().
20810
20811 2005-09-27  Wim Taymans  <wim@fluendo.com>
20812
20813         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
20814         use gst_object_has_ancestor().
20815
20816         * gst/gstobject.c: (gst_object_has_ancestor):
20817         * gst/gstobject.h:
20818         gst_object_has_ancestor() copied from gstbin.c as it is a
20819         useful function.
20820
20821         * tests/instantiate/create.c: (create_all_elements):
20822         * tests/lat.c: (handoff_src), (handoff_sink):
20823         * tests/sched/runxml.c: (main):
20824         * tests/seeking/seeking1.c: (main):
20825         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
20826         (main):
20827         Fix compilation of some tests.
20828
20829 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
20830
20831         * gst/gsterror.h:
20832           Remove comment. GST_TYPE_G_ERROR is here to stay,
20833           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
20834           (#316961, #300610).
20835
20836 2005-09-26  Wim Taymans  <wim@fluendo.com>
20837
20838         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20839         Added check that shows error in state change order.
20840
20841 2005-09-26  Wim Taymans  <wim@fluendo.com>
20842
20843         * gst/gstbin.c: (gst_bin_change_state):
20844         Make state change function use 3 queues again, we were
20845         adding elements in the wrong order.
20846
20847         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
20848         Some debug info,
20849
20850         * gst/gstpad.c: (gst_pad_dispose):
20851         Added some debug info first.
20852
20853 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
20854
20855         * docs/design/draft-push-pull.txt:
20856         * docs/design/part-events.txt:
20857         * docs/design/part-overview.txt:
20858         * docs/design/part-scheduling.txt:
20859           Replace all _pull_region() with _pull_range()
20860           
20861 2005-09-26  Andy Wingo  <wingo@pobox.com>
20862
20863         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
20864
20865         * check/gst-libs/controller.c: Update for controller api change.
20866
20867         * configure.ac: 
20868         * tests/Makefile.am:
20869         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
20870         over by GLib bug 118439.
20871         
20872         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
20873         routines to a function.
20874
20875         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
20876
20877         * libs/gst/controller/gsthelper.c:
20878         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
20879         (gst_object_sync_values): Renamed from sink_values. Ugh.
20880
20881         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
20882
20883         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
20884         Renamed from controller_key, as it is exported.
20885
20886         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
20887
20888 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
20889
20890         * gst/Makefile.am:
20891         * gst/gst.h:
20892         * gst/gstpad.h:
20893         * gst/gstpadtemplate.h:
20894         * gst/gstquery.c:
20895         * gst/gstquery.h:
20896         * gst/gstqueryutils.c:
20897         * gst/gstqueryutils.h:
20898           remove queryutils headers after moving the two used functions
20899           to gstquery.  also fixes build problem for gstsiddec
20900
20901 2005-09-26  Michael Smith <msmith@fluendo.com>
20902
20903         * tools/gst-launch.1.in:
20904         Correct documentation in manpage of debug syntax
20905
20906 2005-09-26  Wim Taymans  <wim@fluendo.com>
20907
20908         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
20909         (gst_base_src_is_seekable), (gst_base_src_change_state):
20910         Some more debugging info.
20911
20912 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
20913
20914         * docs/gst/gstreamer-sections.txt:
20915         * gst/base/gstbasetransform.h:
20916         * gst/gstindex.h:
20917           added more docs
20918
20919 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
20920
20921         * docs/gst/.cvsignore:
20922         * docs/gst/tmpl/.cvsignore:
20923         * docs/gst/tmpl/gstpipeline.sgml:
20924         * docs/gst/tmpl/gstplugin.sgml:
20925         * gst/gstpipeline.c:
20926         * gst/gstplugin.c:
20927         * gst/gstplugin.h:
20928           inlined the last two docs files
20929           removed the tmpl directory from cvs (no more conflicts here!)
20930
20931 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
20932
20933         * docs/gst/gstreamer-sections.txt:
20934         * docs/gst/tmpl/.cvsignore:
20935         * docs/gst/tmpl/gstpad.sgml:
20936         * docs/gst/tmpl/gstpadtemplate.sgml:
20937         * gst/Makefile.am:
20938         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
20939         (gst_pad_finalize), (gst_pad_set_pad_template):
20940         * gst/gstpad.h:
20941         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
20942         (gst_pad_template_class_init), (gst_pad_template_init),
20943         (gst_pad_template_dispose), (name_is_valid),
20944         (gst_static_pad_template_get), (gst_pad_template_new),
20945         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
20946         (gst_pad_template_pad_created):
20947         * gst/gstpadtemplate.h:
20948           inlined two more docs
20949           factored gstpadtemplate out of gstpad
20950
20951 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
20952
20953         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
20954         (test_children_state_change_order_semi_sink):
20955           Fix test case: we can't rely on a fixed state change order when
20956           going from READY => PAUSED because the sink might commit its 
20957           new state first when the first buffer created by the source 
20958           reaches the sink before the source has finished its change state.
20959           (Test case still fails at times, see #316856, comment 5 onwards)
20960
20961 2005-09-24  Wim Taymans  <wim@fluendo.com>
20962
20963         * docs/design/part-events.txt:
20964         * docs/design/part-gstbus.txt:
20965         * docs/design/part-gstpipeline.txt:
20966         * docs/design/part-messages.txt:
20967         * docs/design/part-overview.txt:
20968         * docs/design/part-segments.txt:
20969         * gst/gstbin.c:
20970         * gst/gstbuffer.c:
20971         * gst/gstclock.c:
20972         * gst/gstelement.c:
20973         * gst/gstevent.c:
20974         * gst/gstfilter.c:
20975         * gst/gstiterator.c:
20976         Various documentation updates.
20977
20978 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20979
20980         * gst/gstclock.h:
20981           Well, that's embarassing.  Luckily we weren't using
20982           GST_CLOCK_DIFF anywhere.
20983
20984 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20985
20986         * common/gtk-doc.mak:
20987           don't fail on building XML, FC4 slave shows a bunch of doc
20988           missing bits that I don't get
20989         * gst/gstpad.c:
20990         * gst/gstpipeline.c:
20991         * gst/gststructure.c:
20992           some doc updates
20993
20994 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
20995
20996         * docs/design/part-gstbin.txt:
20997         * docs/design/part-gstbus.txt:
20998         * gst/gstbus.c:
20999           Add blurb about how the bus goes into flushing mode and
21000           drops all messages when its bin goes from READY into NULL 
21001           state.
21002
21003 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21004
21005         * docs/gst/gstreamer-sections.txt:
21006         * gst/gststructure.c: (gst_structure_get_clock_time):
21007         * gst/gststructure.h:
21008           add a method to get a GstClockTime out of a structure
21009
21010 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
21011
21012         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
21013         (test_children_state_change_order_semi_sink), (gst_bin_suite):
21014           Added test to check state change order in bins (can still be made
21015           to fail here under heavy disk load; bails out with 'Push on pad
21016           fakesink:sink0, but it was not activated in push mode').
21017
21018         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
21019           Fix state change order when there is only a semi sink (#316856)
21020
21021         * gst/gstbus.c: (gst_bus_class_init):
21022           Use _class_peek_parent(), not _class_ref(); fix docs to say
21023           'default main context' instead of 'mainloop' where that is
21024           what's meant.
21025
21026         * gst/gstelement.c: (gst_element_commit_state),
21027         (gst_element_set_state):
21028           Fix typos in debug messages
21029
21030 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21031
21032         * docs/README:
21033         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
21034         * gst/gstpluginfeature.c:
21035         * gst/gstutils.c:
21036           various doc updates
21037         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21038           change an assert into an error until it gets fixed properly
21039
21040 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
21041
21042         * docs/gst/gstreamer-sections.txt:
21043         * docs/gst/tmpl/.cvsignore:
21044         * docs/gst/tmpl/gstelement.sgml:
21045         * docs/gst/tmpl/gstinfo.sgml:
21046         * docs/gst/tmpl/gstobject.sgml:
21047         * gst/gstelement.c:
21048         * gst/gstelement.h:
21049         * gst/gstinfo.c:
21050         * gst/gstinfo.h:
21051         * gst/gstobject.c: (gst_object_class_init):
21052         * gst/gstobject.h:
21053           inlined 3 more biiiig doc files and added some missing docs on the fly
21054
21055 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21056
21057         * check/gst/.cvsignore:
21058         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
21059         * gst/gstregistryxml.c: (load_plugin),
21060         (gst_registry_xml_save_plugin):
21061           put back source in registry.  add checks for find_plugin.
21062         * testsuite/states/bin.c: (assert_state), (empty_bin),
21063         (test_adding_one_element), (main):
21064         * testsuite/states/locked.c: (main):
21065           some compile/run fixes
21066
21067 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
21068
21069         * check/gst/gstvalue.c: (GST_START_TEST):
21070           fix leaks in the test itself
21071
21072 2005-09-22  Wim Taymans  <wim@fluendo.com>
21073
21074         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
21075         (gst_base_sink_send_event), (gst_base_sink_peer_query),
21076         (gst_base_sink_query):
21077         Prepare for more accurate position reporting and query
21078         handling.
21079
21080         * gst/gstelement.c: (gst_element_send_event),
21081         (gst_element_set_state):
21082         Add some comment.
21083
21084 2005-09-22  Wim Taymans  <wim@fluendo.com>
21085
21086         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
21087         (gst_query_parse_segment):
21088         * gst/gstquery.h:
21089         More documentation.
21090         Add segment query for future use.
21091
21092 2005-09-22  Wim Taymans  <wim@fluendo.com>
21093
21094         * gst/gstbin.c: (gst_bin_add_func):
21095         Some more debug info.
21096
21097         * gst/gstelement.c: (gst_element_send_event):
21098         Simplify send_event
21099
21100         * gst/gstelement.h:
21101         Don't know how flags got broken.
21102
21103         * gst/gstquery.h:
21104         Added new query.
21105
21106 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
21107
21108         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
21109           Add simplistic test suite for GST_TYPE_DATE serialisation and
21110           deserialisation.
21111
21112 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
21113
21114         * docs/gst/gstreamer-sections.txt:
21115         * gst/gststructure.c: (gst_structure_set_valist),
21116         (gst_structure_get_date):
21117         * gst/gststructure.h:
21118         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
21119         (gst_date_copy), (gst_value_compare_date),
21120         (gst_value_serialize_date), (gst_value_deserialize_date),
21121         (gst_value_transform_date_string),
21122         (gst_value_transform_string_date), (_gst_value_initialize):
21123         * gst/gstvalue.h:
21124           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
21125           bunch of utility functions along with a hack that checks that
21126           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
21127           is required. Part of the grand scheme in #170777.
21128
21129 2005-09-22  Andy Wingo  <wingo@pobox.com>
21130
21131         * gst/gstconfig.h.in: Psych out gtk-doc.
21132
21133         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
21134
21135         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
21136
21137         * tools/gst-inspect.c (print_element_list): Plug some
21138         inconsequential leaks.
21139
21140         * gst/gstregistry.c (gst_registry_get_default): Doc.
21141
21142         * check/gst/gstplugin.c: 
21143         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
21144         * gst/gstelementfactory.c (gst_element_factory_create): 
21145         * gst/gstindexfactory.c (gst_index_factory_create): Update for
21146         refcount changes.
21147
21148         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
21149         (gst_plugin_feature_load): Doc, don't eat refs.
21150
21151         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
21152         (gst_plugin_list_free): Doc.
21153         (gst_plugin_load_file): Doc updates.
21154
21155         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
21156         accessors returning refcounted objects, return a ref.
21157
21158         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
21159         accessor for caps. IDEMPOTENCE. Oh yes.
21160
21161 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
21162
21163         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21164
21165         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
21166         (_gst_debug_register_funcptr):
21167           Add mutex to serialise access to the hash table with
21168           the function pointer => function name string mapping;
21169           make that hash table static scope (#316809).
21170
21171         * gst/registries/.cvsignore:
21172           Remove left-over file.
21173
21174 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
21175
21176         * docs/pwg/appendix-porting.xml:
21177           And something about newsegment events and caps-on-buffers to
21178           the porting guide (feel free to improve).
21179
21180 2005-09-21  Andy Wingo  <wingo@pobox.com>
21181
21182         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
21183         data and event probes on the same pad.
21184         (test_buffer_probe_once): Test that removing probes from within
21185         the probe functions works.
21186
21187 2005-09-21  Andy Wingo  <wingo@pobox.com>
21188
21189         * check/gst/gstutils.c: New file.
21190         (test_buffer_probe_n_times): A simple buffer probe test. More to
21191         come, foolios.
21192
21193         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
21194         have-data::buffer, not have-data.
21195         (gst_pad_add_event_probe): Likewise for have-data::event.
21196         (gst_pad_add_data_probe): More docs. The part about 'resolving the
21197         peer' isn't quite right yet though.
21198         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
21199         (gst_pad_remove_data_probe): Change to take the guint handler_id
21200         as their arg, not the function+data, which is more glib-like.
21201
21202         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
21203         the signal emission to indicate if the data is a buffer or an
21204         event.
21205         (gst_pad_get_type): Initialize buffer and event quarks.
21206         (gst_pad_class_init): have-data is now a detailed signal, yes it
21207         is.
21208
21209 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
21210
21211         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
21212         * gst/gstutils.c: (gst_util_set_value_from_string),
21213         (gst_util_set_object_arg):
21214           Don't put functional code in g_return_if_fail() or
21215           g_return_val_if_fail() statements, otherwise things will 
21216           break when G_DISABLE_CHECKS is defined during compilation.
21217
21218 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
21219
21220         * docs/gst/tmpl/.cvsignore:
21221         * docs/gst/tmpl/gstvalue.sgml:
21222         * gst/gstvalue.c:
21223         * gst/gstvalue.h:
21224           inlied another one and added  some obvious docs
21225
21226 2005-09-21  Wim Taymans  <wim@fluendo.com>
21227
21228         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
21229         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
21230         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
21231         (gst_fdsrc_get_property), (gst_fdsrc_create):
21232         * gst/elements/gstfdsrc.h:
21233         Properly implement fdsrc. Removed signal and timeout,
21234         better implemented somewhere else.
21235
21236 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
21237
21238         * docs/gst/tmpl/.cvsignore:
21239         * docs/gst/tmpl/gstimplementsinterface.sgml:
21240         * gst/gstinterface.c:
21241           inlined more docs
21242
21243 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
21244
21245         * docs/gst/gstreamer-sections.txt:
21246         * docs/gst/tmpl/.cvsignore:
21247         * docs/gst/tmpl/gstenumtypes.sgml:
21248           remove obsolete doc file
21249
21250 2005-09-21  David Schleef  <ds@schleef.org>
21251
21252         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
21253         little beer, fix a little leak.
21254
21255 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
21256
21257         * docs/gst/gstreamer-docs.sgml:
21258         * docs/gst/gstreamer-sections.txt:
21259         * docs/gst/tmpl/.cvsignore:
21260         * gst/Makefile.am:
21261         * gst/gst.h:
21262         * gst/gstbin.c:
21263         * gst/gstelement.h:
21264         * gst/gstindex.c: (gst_index_class_init):
21265         * gst/gstindex.h:
21266         * gst/gstindexfactory.c: (gst_index_factory_get_type),
21267         (gst_index_factory_class_init), (gst_index_factory_init),
21268         (gst_index_factory_finalize), (gst_index_factory_new),
21269         (gst_index_factory_destroy), (gst_index_factory_find),
21270         (gst_index_factory_create), (gst_index_factory_make):
21271         * gst/gstindexfactory.h:
21272         * gst/gstpluginfeature.c:
21273         * gst/gstpluginfeature.h:
21274         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
21275           more docs inlined, splitted gstindex.{c,h}
21276
21277 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21278
21279         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
21280           fix a leak
21281
21282 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
21283
21284         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21285           Set sync to FALSE by default.
21286
21287 2005-09-20  Wim Taymans  <wim@fluendo.com>
21288
21289         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
21290         (gst_base_sink_init):
21291         Make sync property settable from subclass.
21292
21293         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
21294         (gst_fake_sink_change_state):
21295         Set sync to FALSE by default.
21296
21297 2005-09-20  Wim Taymans  <wim@fluendo.com>
21298
21299         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
21300         * tools/gst-launch.c: (main):
21301         The timeout handler should have lower priority than the source
21302         so we don't timeout before popping a message with 0 timeout.
21303         Dump error messages after failed state change.
21304
21305 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
21306
21307         * tools/gst-inspect.c: (print_element_properties_info):
21308           Fix two typos.
21309
21310 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21311
21312         * check/gst/gstevent.c:
21313         * gst/elements/gstfakesink.c:
21314         * gst/elements/gstfakesink.h:
21315           remove the sync property from fakesink.
21316           has the side effect of setting sync TRUE
21317           for fakesink, which is a change.  Anyone who knows how
21318           to fix this nicely in a GObject-y way, feel free.
21319
21320 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
21321
21322         * docs/gst/gstreamer-docs.sgml:
21323           remove probe refsection
21324
21325 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
21326
21327         * check/Makefile.am:
21328           disable valgrinding the controller test again
21329         * docs/gst/gstreamer-sections.txt:
21330           update for api-changes
21331
21332 2005-09-20  Wim Taymans  <wim@fluendo.com>
21333
21334         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
21335         (gst_base_sink_set_property), (gst_base_sink_get_property),
21336         (gst_base_sink_do_sync):
21337         * gst/base/gstbasesink.h:
21338         Added sync property to basesink to disable clock sync.
21339
21340 2005-09-20  Andy Wingo  <wingo@pobox.com>
21341
21342         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
21343         eating the caller's refcount.
21344
21345         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
21346         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
21347         refcount.
21348
21349         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
21350         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
21351         of GLib 2.8 public, so we can know which refcount to check in
21352         tests.
21353
21354         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
21355         (gst_object_init): Only set the gst refcount if we're going ahead
21356         with the refcount hack.
21357
21358 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
21359
21360         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
21361         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
21362           more leaks plumbed, added more debug-logging
21363         * gst/gstmacros.h:
21364           whitespace fix
21365
21366 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21367
21368         * gst/gstmessage.c:
21369           remove include of gstmemchunk.h
21370
21371 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21372
21373         * gst/gstclock.c: (_gst_clock_id_free):
21374           Commit from the Political Party For More Atomic CVS Commits,
21375           so that people don't waste too much of their day fishing
21376           out obvious leaks out of massive commits.
21377           Oh, and fix a pretty damn obvious leak in the memchunk
21378           removal code.
21379
21380 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
21381
21382         * check/Makefile.am:
21383         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
21384           plug mem-leak, re-add to valgrindable tests
21385
21386 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21387
21388         * gst/gstplugin.h:
21389           unbreak the build for those who have chronic arthritis
21390           and typing "make check" is just too taxing on the hands
21391
21392 2005-09-20  Andy Wingo  <wingo@pobox.com>
21393
21394         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
21395         really want it out, you should fix plugins at the same time.
21396
21397 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
21398
21399         * configure.ac:
21400         * docs/gst/gstreamer-sections.txt:
21401         * gst/gstobject.c:
21402           added missing symbols to api docs
21403           disable ref-count hack if we have glib >= 2.8
21404
21405 2005-09-19  David Schleef  <ds@schleef.org>
21406
21407         * docs/gst/Makefile.am: Ignore a few more internal headers
21408         * docs/gst/gstreamer-docs.sgml: Remove old sections
21409         * docs/gst/gstreamer-sections.txt: Remove old sections
21410         * docs/gst/tmpl/gstobject.sgml: update
21411         * docs/gst/tmpl/gstplugin.sgml: update
21412         * docs/gst/tmpl/gstpluginfeature.sgml: update
21413         * docs/random/ds/0.9-suggested-changes: update.
21414         * gst/Makefile.am: remove memchunk and trashstack, since they're
21415           not used.
21416         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
21417         * gst/gst.h: don't include some headers
21418         * gst/gstchildproxy.c: add gstmarshal.h
21419         * gst/gstclock.c: Don't use memchunks
21420         * gst/gstminiobject.c: Add some docs
21421         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
21422         * gst/gstobject.h: same
21423         * gst/gstplugin.c: include gstmacros.h
21424         * gst/gstplugin.h: don't include gstmacros.h, since it's private
21425         * gst/gstquery.c: don't use memchunks
21426         * gst/gstregistry.c: rename gst_registry_deinit()
21427         * gst/gstregistry.h: same
21428
21429 2005-09-19  David Schleef  <ds@schleef.org>
21430
21431         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
21432         * docs/libs/gstreamer-libs-sections.txt:
21433         * docs/libs/tmpl/gstgetbits.sgml:
21434         * docs/libs/tmpl/gstputbits.sgml:
21435
21436 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
21437
21438         * win32/gstenumtypes.c:
21439         * win32/gstenumtypes.h:
21440           Update.
21441
21442 2005-09-19  Wim Taymans  <wim@fluendo.com>
21443
21444         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
21445         Automatically PAUSE and RESUME a pipeline when a flushing seek
21446         is performed.
21447
21448 2005-09-19  Andy Wingo  <wingo@pobox.com>
21449
21450         * gst/gstregistry.h: Spacing fixen.
21451
21452 2005-09-19  Wim Taymans  <wim@fluendo.com>
21453
21454         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
21455         Handle state change failure more correctly.
21456
21457 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
21458
21459         * check/Makefile.am:
21460         * check/pipelines/cleanup.c: (run_pipeline):
21461         * check/pipelines/simple_launch_lines.c: (run_pipeline),
21462         (GST_START_TEST):
21463           enable cleanup again after fixing the leak
21464         * docs/README:
21465           some more info on docs
21466
21467 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
21468
21469         * check/Makefile.am:
21470           re-enable tests now that leaks are plugged
21471         * check/gst/gst.c:
21472         * check/gst/gstbin.c:
21473         * check/gst/gstpipeline.c:
21474           add some more tests while fixing leaks
21475         * common/check.mak:
21476           make sure binaries are uptodate when valgrinding/gdbing
21477         * gst/gst.c:
21478         * gst/gstelementfactory.c:
21479           remove a ref too many, and add a FIXME for when we get
21480           round to disposing of classes
21481         * gst/gstplugin.c:
21482           fix the refcounting when loading a plugin from a file and
21483           the code pretends that the pointer is the same even though
21484           of course it can change
21485         * gst/gstpluginfeature.c:
21486           unref plugins marked cached (a bit confusing as a name)
21487           as the docs state should be done
21488           various doc additions to explain refcounting
21489         * gst/gstregistry.c:
21490         * gst/gstregistryxml.c:
21491           debugging
21492
21493 2005-09-19  Wim Taymans  <wim@fluendo.com>
21494
21495         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
21496         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
21497         (send_messages), (GST_START_TEST), (gstbus_suite):
21498         * check/gst/gstpipeline.c: (GST_START_TEST):
21499         * check/pipelines/cleanup.c: (run_pipeline):
21500         * check/pipelines/simple_launch_lines.c: (run_pipeline),
21501         (GST_START_TEST):
21502         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
21503         (gst_bus_source_check), (gst_bus_source_dispatch),
21504         (gst_bus_create_watch), (gst_bus_add_watch_full),
21505         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
21506         * gst/gstbus.h:
21507         * tools/gst-launch.c: (event_loop):
21508         * tools/gst-md5sum.c: (event_loop):
21509         GstBusHandler -> GstBusFunc, return value has the same meaning as
21510         any other GSource (FALSE == remove source).
21511         _add_watch() and _add_watch_full() now take a MessageType mask to
21512         only handle specific types of messages.
21513         _poll() returns the GstMessage instead of the message type to avoid
21514         race conditions.
21515         _have_pending() takes a MessageType mask now too.
21516         Added testsuite for multiple bus watches.
21517         Fix testsuites and applications for new bus API.
21518
21519 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
21520
21521         * check/Makefile.am:
21522           mark a bunch of the tests as to fix until we fix them
21523
21524 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21525
21526         * common/check.mak:
21527           use GST_PLUGIN settings for valgrind tests as well, so we're
21528           valgrinding the correct thing
21529         * gst/gst.c: (init_post):
21530           plug another leak
21531
21532 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21533
21534         * gst/gst.c: (init_post), (gst_deinit):
21535         * gst/gstelementfactory.c: (gst_element_factory_class_init),
21536         (gst_element_factory_finalize), (gst_element_factory_cleanup):
21537         * gst/gstindex.c: (gst_index_factory_class_init),
21538         (gst_index_factory_finalize):
21539         * gst/gstobject.c: (gst_object_dispose):
21540         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
21541         (gst_plugin_load_file), (gst_plugin_desc_free):
21542         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
21543         (gst_plugin_feature_finalize):
21544         * gst/gstregistry.c: (gst_registry_class_init),
21545         (gst_registry_init), (gst_registry_finalize),
21546         (gst_registry_get_default), (gst_registry_deinit):
21547         * gst/gstregistry.h:
21548         * gst/gstregistryxml.c: (load_feature), (load_plugin):
21549           various cleanups and memleak plugging.  make valgrind is happy now.
21550
21551 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21552
21553         * common/check.mak:
21554           add a check-valgrind target
21555
21556 2005-09-18  David Schleef  <ds@schleef.org>
21557
21558         * tools/gst-inspect.c: Revert the GOption code.
21559
21560 2005-09-17  David Schleef  <ds@schleef.org>
21561
21562         * check/Makefile.am: Fix environment variables.
21563         * check/gst/gstplugin.c: Fix for API changes.
21564         * tools/gst-inspect.c: Fix for API changes.
21565         * tools/gst-xmlinspect.c: Fix for API changes.
21566         * gst/gstelementfactory.c:
21567         * gst/gstplugin.c:
21568         * gst/gstplugin.h:
21569         * gst/gstpluginfeature.c:
21570         * gst/gstpluginfeature.h:
21571         * gst/gstregistry.c:
21572         * gst/gstregistry.h:
21573         * gst/gstregistryxml.c:
21574         * gst/gsttypefind.c:
21575         * gst/gsttypefindfactory.c:
21576         * gst/indexers/gstfileindex.c:
21577         * gst/indexers/gstmemindex.c:
21578         * gst/schedulers/Makefile.am:
21579           Change registry to keep track of both plugins and features,
21580           removing the feature tracking from plugins themselves.
21581
21582 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21583
21584         * check/Makefile.am:
21585         * tools/gst-register.1.in:
21586           remove gst-register
21587
21588 2005-09-15  David Schleef  <ds@schleef.org>
21589
21590         * check/gst/gstplugin.c:
21591         * gst/gstelementfactory.c:
21592         * gst/gstplugin.c:
21593         * gst/gstpluginfeature.c:
21594         * gst/gstregistry.c:
21595           Getting tired of debugging.  Disabled all the unreffing of
21596           plugins and features, which fixes the segfaults, but of
21597           course leaks like crazy.  At least playbin works.
21598
21599 2005-09-15  David Schleef  <ds@schleef.org>
21600
21601         * check/gst/gstplugin.c: (register_check_elements),
21602         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
21603         More testing
21604         * gst/elements/gsttypefindelement.c: Fix refcounting.
21605         * gst/gsttypefind.c:
21606         * gst/gsttypefindfactory.c:
21607         * gst/gsttypefindfactory.h:
21608
21609 2005-09-15  David Schleef  <ds@schleef.org>
21610
21611         * gst/gstindex.c: get refcounting correct.
21612         * gst/gstregistry.c: Handle the case where a feature/plugin is
21613           not found.
21614
21615 2005-09-15  David Schleef  <ds@schleef.org>
21616
21617         * check/Makefile.am:
21618         * check/gst/gstplugin.c: Add test
21619         * gst/gstplugin.c: Fix problems noticed by testsuite
21620         * gst/gstplugin.h:
21621         * gst/gstregistry.c: 
21622         * gst/gstregistry.h:
21623
21624 2005-09-15  David Schleef  <ds@schleef.org>
21625
21626         * gst/gstplugin.c: Implement semi-decent recounting and locking
21627           in plugins and plugin features.
21628         * gst/gstplugin.h:
21629         * gst/gstpluginfeature.c:
21630         * gst/gstpluginfeature.h:
21631         * gst/gstregistry.c:
21632
21633 2005-09-15  Michael Smith <msmith@fluendo.com>
21634
21635         * gst/gstregistry.c: (gst_registry_get_feature_list):
21636           Implement this. Makes oggdemux work; decodebin still broken.
21637
21638 2005-09-14  David Schleef  <ds@schleef.org>
21639
21640         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
21641           #316076)
21642         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
21643         * gst/check/Makefile.am:
21644         * libs/gst/controller/Makefile.am:
21645         * libs/gst/dataprotocol/Makefile.am:
21646
21647 2005-09-14  David Schleef  <ds@schleef.org>
21648
21649         * configure.ac: Remove getbits library.  Nothing uses it, and
21650           it should be in something like liboil if someone did want
21651           to use it.
21652         * libs/gst/Makefile.am:
21653         * libs/gst/getbits/Makefile.am:
21654         * libs/gst/getbits/gbtest.c:
21655         * libs/gst/getbits/getbits.c:
21656         * libs/gst/getbits/getbits.h:
21657         * libs/gst/getbits/gstgetbits_generic.c:
21658         * libs/gst/getbits/gstgetbits_i386.s:
21659         * libs/gst/getbits/gstgetbits_inl.h:
21660
21661 2005-09-14  David Schleef  <ds@schleef.org>
21662
21663         * gst/Makefile.am: Dist glib-compat.h
21664
21665 2005-09-14  David Schleef  <ds@schleef.org>
21666
21667         * configure.ac: Remove gst/registries, since it's no longer used.
21668         * gst/registries/Makefile.am:
21669         * gst/registries/gstlibxmlregistry.c:
21670         * gst/registries/gstlibxmlregistry.h:
21671         * gst/registries/gstxmlregistry.c:
21672         * gst/registries/gstxmlregistry.h:
21673         * gst/registries/registrytest.c:
21674
21675 2005-09-14  David Schleef  <ds@schleef.org>
21676
21677         * gst/glib-compat.h:
21678         * gst/gstregistryxml.c:
21679           Convergence is near.  Seriously.
21680
21681 2005-09-14  David Schleef  <ds@schleef.org>
21682
21683         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21684         * gst/glib-compat.h:
21685           Attempt #4 to appease the buildbots.
21686
21687 2005-09-14  David Schleef  <ds@schleef.org>
21688
21689         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21690           Attempt #3.
21691
21692 2005-09-14  David Schleef  <ds@schleef.org>
21693
21694         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21695         Attempt #2.
21696
21697 2005-09-14  David Schleef  <ds@schleef.org>
21698
21699         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
21700           the new functions.
21701
21702 2005-09-14  David Schleef  <ds@schleef.org>
21703
21704         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21705         * gst/glib-compat.h: Add some functions that are in newer versions
21706           of glib than we care to require.
21707         * gst/gstregistryxml.c: Use them.
21708
21709 2005-09-14  David Schleef  <ds@schleef.org>
21710
21711         * po/POTFILES.in: remove gst-register.c
21712
21713 2005-09-14  David Schleef  <ds@schleef.org>
21714
21715         * docs/gst/gstreamer-docs.sgml:
21716         * docs/gst/gstreamer-sections.txt:
21717         * docs/gst/gstreamer.types:
21718         * docs/gst/tmpl/gstelement.sgml:
21719         * docs/gst/tmpl/gstplugin.sgml:
21720         * docs/gst/tmpl/gstpluginfeature.sgml:
21721           Documentation updates for registry changes.
21722
21723 2005-09-14  David Schleef  <ds@schleef.org>
21724
21725         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
21726           because we don't require glib-2.8.
21727
21728 2005-09-14  David Schleef  <ds@schleef.org>
21729
21730         * gst/gstregistryxml.c: Added.  Essentially moved out of the
21731           registries directory.
21732
21733 2005-09-14  David Schleef  <ds@schleef.org>
21734
21735         * check/Makefile.am:
21736         * check/generic/states.c:
21737         * gst/Makefile.am:
21738         * gst/gst.c:
21739         * gst/gst.h:
21740         * gst/gst_private.h:
21741         * gst/gstelementfactory.c:
21742         * gst/gstindex.c:
21743         * gst/gstinfo.c:
21744         * gst/gstplugin.c:
21745         * gst/gstplugin.h:
21746         * gst/gstpluginfeature.c:
21747         * gst/gstpluginfeature.h:
21748         * gst/gstregistry.c:
21749         * gst/gstregistry.h:
21750         * gst/gstregistrypool.c: remove
21751         * gst/gstregistrypool.h: remove
21752         * gst/gsttypefind.c:
21753         * gst/gsttypefindfactory.c:
21754         * gst/gsturi.c:
21755         * tools/Makefile.am:
21756         * tools/gst-compprep.c:
21757         * tools/gst-inspect.c:
21758         * tools/gst-register.c: remove
21759         * tools/gst-xmlinspect.c:
21760           Registry rewrite.  Changes registry from being a file created
21761           by a tool into a simple cache file created automatically by 
21762           libgstreamer.  Removed gst-register (because it's no longer
21763           needed).  Remove registry pools, because we only have one
21764           registry implementation (XML).  Fix up other subsystems as
21765           necessary.
21766
21767 2005-09-13  Michael Smith <msmith@fluendo.com>
21768
21769         * gst/gstconfig.h.in:
21770           Don't Use windows linking attributes for MinGW. Fixes #316157
21771
21772 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21773
21774         * gst/gstutils.c: (set_state_async_thread_func),
21775         (gst_element_set_state_async):
21776           Apparently people think it's better if this function doesn't
21777           try to set the state to whatever state was asked for on the first
21778           call to this function for any object.  Seriously.
21779
21780 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21781
21782         * check/gst/gstpipeline.c: (GST_START_TEST):
21783         * docs/gst/gstreamer-sections.txt:
21784         * gst/gstutils.c: (set_state_async_thread_func),
21785         (gst_element_set_state_async):
21786         * gst/gstutils.h:
21787           add a "gst_element_set_state_async" method that
21788           sets the state and starts a thread to make sure the state
21789           change completes as best as it can
21790
21791 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21792
21793         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21794           codify design+behaviour in testsuite after discussion
21795
21796 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21797
21798         * docs/gst/tmpl/gstelement.sgml:
21799         * docs/manual/appendix-quotes.xml:
21800           add a quote
21801         * gst/gstelement.c: (gst_element_set_state):
21802           add some debug
21803
21804 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
21805
21806         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21807         (gst_base_transform_prepare_output_buf),
21808         (gst_base_transform_handle_buffer):
21809         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
21810         (gst_capsfilter_prepare_buf):
21811           Remove the requirement for sub-classes to call the parent
21812           implementation of prepare_output_buffer with a wrapper function.
21813           
21814         * gst/gsttaglist.h:
21815         * gst/gsttagsetter.h:
21816           Fix #define wrapper
21817
21818 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
21819
21820         * docs/gst/gstreamer-sections.txt:
21821           more doc cleanups
21822
21823 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21824
21825         * docs/gst/gstreamer-sections.txt:
21826         * docs/gst/tmpl/gstelement.sgml:
21827         * docs/gst/tmpl/gstplugin.sgml:
21828         * gst/gstminiobject.c:
21829         * gst/gstvalue.h:
21830           docs now stop throwing warnings
21831
21832 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21833
21834         * docs/gst/gstreamer-sections.txt:
21835         * docs/gst/gstreamer.types:
21836         * docs/gst/tmpl/gstpad.sgml:
21837         * docs/gst/tmpl/gsttypes.sgml:
21838         * gst/base/gstadapter.h:
21839         * gst/base/gstbasesink.h:
21840         * gst/base/gstbasesrc.h:
21841         * gst/gstbin.h:
21842         * gst/gstbuffer.h:
21843         * gst/gstbus.h:
21844         * gst/gstcaps.h:
21845         * gst/gstclock.h:
21846         * gst/gstelement.h:
21847         * gst/gstevent.h:
21848         * gst/gstmessage.h:
21849         * gst/gstpad.h:
21850         * gst/gststructure.c:
21851         * gst/registries/gstlibxmlregistry.h:
21852           various documentation fixes
21853
21854 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21855
21856         * docs/gst/gstreamer-sections.txt:
21857         * docs/gst/tmpl/gstvalue.sgml:
21858           rearrange gstvalue section
21859         * gst/gstutils.c: (gst_element_state_get_name):
21860           NONE -> VOID
21861         * gst/gstvalue.c: (_gst_value_initialize):
21862         * gst/gstvalue.h:
21863           doc updates
21864
21865 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
21866
21867         * check/gst-libs/controller.c:
21868           Header include fix.
21869         * gst/base/gstbasetransform.c:
21870         (gst_base_transform_default_prepare_buf),
21871         (gst_base_transform_handle_buffer):
21872         * gst/base/gstbasetransform.h:
21873           Some more basetransform changes and fixes to enable sub-classes
21874           that modify buffer metadata only.
21875         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
21876         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
21877         (gst_capsfilter_prepare_buf):
21878           If the output pad has fixed allowed caps and input buffers 
21879           don't have any, set the fixed caps on outgoing buffers.
21880
21881 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
21882         * check/elements/identity.c: (GST_START_TEST):
21883           Make the error a little clearer when the test fails because
21884           identity made a copy of the buffer.
21885         * docs/gst/gstreamer-sections.txt:
21886           New symbols in gstbasetransform.h
21887         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21888         (gst_base_transform_init), (gst_base_transform_transform_size),
21889         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21890         (gst_base_transform_default_prepare_buf),
21891         (gst_base_transform_get_unit_size),
21892         (gst_base_transform_buffer_alloc),
21893         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
21894         (gst_base_transform_change_state),
21895         (gst_base_transform_set_passthrough),
21896         (gst_base_transform_set_in_place),
21897         (gst_base_transform_is_in_place):
21898         * gst/base/gstbasetransform.h:
21899           Change BaseTransform to separate in_place operate from same_caps
21900           output. in_place implies that the element can perform the transform
21901           on incoming buffers in-place, even if the caps on the output are
21902           different.
21903           Sub-class elements can now implement special buffer allocation
21904           methods for outgoing buffers if they wish to.
21905           Big documentation addition.
21906         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
21907         * gst/elements/gstelements.c:
21908           Changes for basetransform modifications.
21909         * gst/elements/Makefile.am:
21910         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
21911           Compile fix. Extra debug output.
21912
21913 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21914
21915         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
21916         (gst_pad_suite):
21917           add tests for valid pad naming
21918         * gst/check/gstcheck.c: (gst_check_log_message_func),
21919         (gst_check_log_critical_func):
21920           add ASSERT_WARNING
21921           remove printing of code, it is fragile when the code contains
21922           % and the line number is enough info
21923         * gst/check/gstcheck.h:
21924         * gst/gstpad.c: (gst_pad_template_new):
21925           fix memleaks
21926
21927 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21928
21929         * configure.ac:
21930           say what CHECK flags we use
21931         * docs/libs/gstreamer-libs.types:
21932         * libs/gst/controller/Makefile.am:
21933         * libs/gst/controller/gst-controller.c:
21934         * libs/gst/controller/gst-controller.h:
21935         * libs/gst/controller/gst-helper.c:
21936         * libs/gst/controller/gst-interpolation.c:
21937         * libs/gst/controller/gstcontroller.c:
21938         * libs/gst/controller/gsthelper.c:
21939         * libs/gst/controller/gstinterpolation.c:
21940         * tools/gst-inspect.c: (print_plugin_info):
21941           we don't use dashes in header names
21942
21943 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21944
21945         * check/Makefile.am:
21946         * check/gst/.cvsignore:
21947         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
21948         (gst_pipeline_suite), (main):
21949           adding a test for pipelines and state changes
21950         * gst/gstutils.c: (get_state_func):
21951           add some debugging
21952         * gstreamer.spec.in:
21953           fix up spec file
21954
21955 2005-09-08  Michael Smith <msmith@fluendo.com>
21956
21957         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
21958         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
21959         (gst_file_src_is_seekable), (gst_file_src_get_size),
21960         (gst_file_src_start):
21961         * gst/elements/gstfilesrc.h:
21962           Various fixes for unseekable, unmmapable, and non-normal files, so
21963           that fallback to read() rather than mmap() works.
21964         * gst/gstevent.c: (gst_event_new_newsegment):
21965           Allow newsegment events with segment_start == segment_end, as will
21966           correctly happen if you use filesrc on a zero-size file, for
21967           example.
21968
21969 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
21970
21971         * gst/gstplugin.c: (gst_plugin_load_file):
21972           Call g_module_close when we don't load the module
21973
21974         * gst/registries/gstlibxmlregistry.c:
21975         (gst_xml_registry_get_property):
21976           Port leak fix from 0.8
21977
21978 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
21979
21980         * docs/gst/gstreamer-docs.sgml:
21981         * docs/gst/tmpl/.cvsignore:
21982         * docs/gst/tmpl/gsttrace.sgml:
21983         * docs/gst/tmpl/gsttrashstack.sgml:
21984         * gst/Makefile.am:
21985         * gst/gst.h:
21986         * gst/gstelement.h:
21987         * gst/gstevent.h:
21988         * gst/gstmessage.c:
21989         * gst/gstmessage.h:
21990         * gst/gsttag.c:
21991         * gst/gsttag.h:
21992         * gst/gsttaginterface.c:
21993         * gst/gsttaginterface.h:
21994         * gst/gsttaglist.c:
21995         * gst/gsttaglist.h:
21996         * gst/gsttagsetter.c:
21997         * gst/gsttagsetter.h:
21998         * gst/gsttrace.c:
21999         * gst/gsttrace.h:
22000         * gst/gsttrashstack.c:
22001           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
22002           inlined docs for gsttrace, gsttrashstack
22003
22004 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
22005
22006         * gst/Makefile.am:
22007         * gst/elements/gstbufferstore.h:
22008         * gst/elements/gsttypefindelement.c:
22009         * gst/elements/gsttypefindelement.h:
22010         * gst/gst.h:
22011         * gst/gsttypefind.c:
22012         * gst/gsttypefind.h:
22013         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
22014         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
22015         (gst_type_find_factory_dispose),
22016         (gst_type_find_factory_unload_thyself),
22017         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
22018         (gst_type_find_factory_get_caps),
22019         (gst_type_find_factory_get_extensions),
22020         (gst_type_find_factory_call_function):
22021         * gst/gsttypefindfactory.h:
22022         * gst/registries/gstlibxmlregistry.c:
22023         * gst/registries/gstxmlregistry.c:
22024           splitted gsttypefind into gsttypefind, gsttypefindfactory
22025
22026 2005-09-07  Andy Wingo  <wingo@pobox.com>
22027
22028         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
22029         condition whereby the pad's task function is entered before the
22030         pad_mode variable was set.
22031
22032 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
22033
22034         * gst/gstpad.c: (gst_pad_alloc_buffer):
22035           Catch misbehaving pad_alloc functions that don't
22036           set up caps and do it for them.
22037
22038 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
22039
22040         * check/pipelines/simple_launch_lines.c: (run_pipeline):
22041           test for pipe!=NULL
22042         * docs/gst/tmpl/.cvsignore:
22043         * docs/gst/tmpl/gstmemchunk.sgml:
22044         * docs/gst/tmpl/gstparse.sgml:
22045         * docs/gst/tmpl/gsttaglist.sgml:
22046         * docs/gst/tmpl/gsttagsetter.sgml:
22047         * docs/gst/tmpl/gsttypefind.sgml:
22048         * docs/gst/tmpl/gsttypefindfactory.sgml:
22049         * gst/gstmemchunk.c:
22050         * gst/gstparse.c:
22051         * gst/gsttag.c:
22052         * gst/gsttaginterface.c:
22053         * gst/gsttypefind.c:
22054         * gst/gsttypefind.h:
22055           inlined more docs
22056
22057 === release 0.9.2 ===
22058
22059 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22060
22061         * NEWS:
22062         * RELEASE:
22063         * configure.ac:
22064           releasing 0.9.2, "South"
22065
22066 2005-09-05  Andy Wingo  <wingo@pobox.com>
22067
22068         * gst/registries/gstxmlregistry.h:
22069         * gst/registries/gstxmlregistry.c: Um... resurrect...
22070         
22071         * gst/registries/gstxmlregistry.h:
22072         * gst/registries/gstxmlregistry.c: and update to newer API.
22073         Incidentally they should be a bit faster now that they don't have
22074         to parse the caps.
22075         
22076 2005-09-05  Andy Wingo  <wingo@pobox.com>
22077
22078         * gst/registries/gstxmlregistry.h:
22079         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
22080         replaced by the libxml registry a while back
22081
22082 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22083
22084         * docs/gst/tmpl/gstplugin.sgml:
22085         * gst/elements/gstelements.c:
22086         * gst/gst.c:
22087         * gst/gstplugin.c: (gst_plugin_register_func),
22088         (gst_plugin_desc_copy), (gst_plugin_desc_free),
22089         (gst_plugin_get_source):
22090         * gst/gstplugin.h:
22091         * gst/registries/gstlibxmlregistry.c: (load_plugin),
22092         (gst_xml_registry_save_plugin):
22093         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
22094         (gst_xml_registry_save_plugin):
22095         * tools/gst-inspect.c: (print_plugin_info):
22096           add a "source" plugin description field, to represent the source
22097           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
22098           will set it to PACKAGE, which is automake's idea of the name of
22099           the source project.
22100
22101 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22102
22103         * Makefile.am:
22104         * autogen.sh:
22105         * configure.ac:
22106         * docs/Makefile.am:
22107         * docs/faq/Makefile.am:
22108         * docs/gst/tmpl/gstelement.sgml:
22109         * docs/gst/tmpl/gsttypes.sgml:
22110         * docs/htmlinstall.mak:
22111         * docs/manual/Makefile.am:
22112         * docs/pwg/Makefile.am:
22113           reorganize doc build a little
22114           split out docbook and gtk-doc stuff
22115           have two separate --enable's and enable them through autogen
22116           but disable by default in configure (to be similar to other
22117           projects)
22118         * gstreamer.spec.in:
22119           clean up docs install
22120         * po/af.po:
22121         * po/az.po:
22122         * po/ca.po:
22123         * po/cs.po:
22124         * po/de.po:
22125         * po/en_GB.po:
22126         * po/fr.po:
22127         * po/it.po:
22128         * po/nb.po:
22129         * po/nl.po:
22130         * po/ru.po:
22131         * po/sq.po:
22132         * po/sr.po:
22133         * po/sv.po:
22134         * po/tr.po:
22135         * po/uk.po:
22136         * po/vi.po:
22137           translation updates
22138
22139 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
22140
22141         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
22142           Add comment.
22143           
22144         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22145         (gst_fake_sink_change_state):
22146           Make state change function thread-safe.
22147           
22148         * gst/gstpad.c: (gst_pad_alloc_buffer):
22149           Set offset on generic buffer allocated by fallback.
22150
22151 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
22152
22153         * docs/gst/gstreamer-sections.txt:
22154         * docs/gst/tmpl/gstelement.sgml:
22155         * gst/gstpad.c:
22156         * libs/gst/controller/gst-controller.c:
22157         (gst_controlled_property_set_interpolation_mode),
22158         (gst_controlled_property_new),
22159         (gst_controller_find_controlled_property):
22160          run the wingo-magic script against the docs
22161
22162 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
22163
22164         * docs/gst/gstreamer-docs.sgml:
22165         * docs/gst/gstreamer-sections.txt:
22166         * docs/gst/tmpl/.cvsignore:
22167         * docs/gst/tmpl/gstelementdetails.sgml:
22168         * docs/gst/tmpl/gstelementfactory.sgml:
22169         * gst/gst.c:
22170         * gst/gstbus.c:
22171         * gst/gstelementfactory.c:
22172         * gst/gstelementfactory.h:
22173           merged elementdetails docs into elementfactory docs
22174           inlined both
22175
22176 2005-09-02  Andy Wingo  <wingo@pobox.com>
22177
22178         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
22179         consider this enum an enum and not a flags.
22180
22181 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
22182
22183         * docs/gst/gstreamer-docs.sgml:
22184         * docs/gst/tmpl/.cvsignore:
22185         * docs/gst/tmpl/gstghostpad.sgml:
22186         * docs/gst/tmpl/gstiterator.sgml:
22187         * docs/gst/tmpl/gstmacros.sgml:
22188         * docs/gst/tmpl/gstrealpad.sgml:
22189         * docs/gst/tmpl/gstregistry.sgml:
22190         * docs/gst/tmpl/gstregistrypool.sgml:
22191         * docs/gst/tmpl/gststructure.sgml:
22192         * docs/gst/tmpl/gstsystemclock.sgml:
22193         * docs/gst/tmpl/gsttrace.sgml:
22194         * gst/gstghostpad.c:
22195         * gst/gstmacros.h:
22196         * gst/gstmemchunk.c:
22197         * gst/gstmemchunk.h:
22198         * gst/gstqueue.c:
22199         * gst/gstregistry.c:
22200         * gst/gstregistrypool.c:
22201         * gst/gststructure.c:
22202         * gst/gstsystemclock.c:
22203           more docs inlined
22204
22205 2005-09-02  Andy Wingo  <wingo@pobox.com>
22206
22207         * gst/gstelement.h (GstState): Renamed from GstElementState,
22208         changed to be a normal enum instead of flags.
22209         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
22210         munged to be GST_STATE_CHANGE_*.
22211         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
22212         work with the new state representation.
22213         (GstStateChange): New enumeration of possible state transitions.
22214         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
22215         (GstElementClass::change_state): Pass the GstStateChange along as
22216         an argument. Helps language bindings, so they don't have to use
22217         tricky lock-needing macros like GST_STATE_CHANGE ().
22218
22219         * scripts/update-states (file): New script. Run it on a file to
22220         update it for state naming and API changes. Updates files in
22221         place.
22222
22223         * All files updated for the new API.
22224
22225 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22226
22227         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
22228         * gst/gstutils.c: (gst_util_set_value_from_string),
22229         (gst_util_set_object_arg):
22230           fix a bunch of unchecked return values
22231         * tools/gst-complete.c: (main):
22232         * gstreamer.spec.in:
22233           clean up a little
22234
22235 2005-09-01  Wim Taymans  <wim@fluendo.com>
22236
22237         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22238         (gst_base_sink_event), (gst_base_sink_do_sync),
22239         (gst_base_sink_handle_event):
22240         * gst/base/gstbasesink.h:
22241         Handle newsegments more correctly.
22242
22243         * gst/gstbus.c:
22244         Fix docs.
22245
22246         * gst/gstevent.c: (gst_event_new_newsegment):
22247         A newsegment cannot have a start_time of -1
22248
22249 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
22250
22251         * win32/gstenumtypes.c:
22252         * win32/gstenumtypes.h:
22253           Update
22254
22255 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
22256
22257         * libs/gst/controller/gst-controller.c:
22258         (gst_controlled_property_set_interpolation_mode),
22259         (gst_controlled_property_new):
22260          fixed boolean again
22261
22262 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
22263
22264         * docs/faq/gst-uninstalled:
22265           add -good
22266         * gst/gstevent.c:
22267         * gst/gstevent.h:
22268           remove wrong docs
22269         * gst/gstutils.c: (gst_element_link_filtered):
22270         * gst/gstutils.h:
22271           add gst_element_link_filtered
22272
22273 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
22274
22275         * docs/gst/gstreamer-docs.sgml:
22276         * docs/gst/gstreamer-sections.txt:
22277         * docs/gst/tmpl/.cvsignore:
22278         * docs/gst/tmpl/gsterror.sgml:
22279         * docs/gst/tmpl/gstfilter.sgml:
22280         * docs/gst/tmpl/gsturihandler.sgml:
22281         * docs/gst/tmpl/gsturitype.sgml:
22282         * docs/gst/tmpl/gstutils.sgml:
22283         * docs/gst/tmpl/gstxml.sgml:
22284         * gst/gsterror.c:
22285         * gst/gsterror.h:
22286         * gst/gstfilter.c:
22287         * gst/gsturi.c:
22288         * gst/gsturitype.c:
22289         * gst/gstutils.c:
22290         * gst/gstxml.c:
22291           inlined more docs, fixed double id-ref
22292
22293 2005-08-31  Wim Taymans  <wim@fluendo.com>
22294
22295         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
22296         (gst_base_transform_handle_buffer):
22297         Passthrough elements don't need the caps as they don't care.
22298
22299 2005-08-31  Wim Taymans  <wim@fluendo.com>
22300
22301         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
22302         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
22303         Don't leak refcounts on buffers.
22304
22305 2005-08-31  Wim Taymans  <wim@fluendo.com>
22306
22307         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
22308         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
22309         (gst_base_transform_chain), (gst_base_transform_change_state):
22310         * gst/base/gstbasetransform.h:
22311         Handle the case where we are not negotiated more gracefully.
22312
22313 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
22314
22315         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
22316         (gst_file_src_map_region):
22317           Set READONLY flag on mmap'ed buffers, otherwise
22318           gst_buffer_make_writable() won't work properly (#314708).
22319
22320 2005-08-31  Wim Taymans  <wim@fluendo.com>
22321
22322         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
22323         passthrough elements can even do inplace on non writable
22324         buffers (as they don't touch them).
22325
22326 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
22327
22328         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
22329         (gst_test_mono_source_set_property),
22330         (gst_test_mono_source_class_init), (GST_START_TEST),
22331         (gst_controller_suite):
22332           more tests (hehe I have the most)
22333         * gst/gstbus.c:
22334           describe popping messages whenusing mulltiple sources
22335         * libs/gst/controller/gst-controller.c:
22336         (gst_controlled_property_set_interpolation_mode),
22337         (gst_controlled_property_new):
22338         * libs/gst/controller/gst-controller.h:
22339         * libs/gst/controller/gst-interpolation.c:
22340           implement boolean properties
22341
22342 2005-08-31  Wim Taymans  <wim@fluendo.com>
22343
22344         * gst/gstminiobject.c: (gst_mini_object_ref):
22345         Cannot assert that the refcount has to be positive
22346         since a disposed object can be resurrected.
22347
22348 2005-08-31  Wim Taymans  <wim@fluendo.com>
22349
22350         * gst/gstpad.c: (gst_pad_init):
22351         Revert change, need to first fix badly behaving 
22352         apps.
22353
22354 2005-08-30  Wim Taymans  <wim@fluendo.com>
22355
22356         * check/elements/fakesrc.c: (setup_fakesrc):
22357         * check/elements/identity.c: (setup_identity):
22358         Activate pads before using them.
22359
22360 2005-08-30  Wim Taymans  <wim@fluendo.com>
22361
22362         * gst/base/gstadapter.c: (gst_adapter_flush):
22363         Flushing out 0 bytes is ok for this function.
22364
22365         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22366         no newsegment gives a warning and sets the start/stop to 
22367         invalid.
22368
22369         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
22370         (gst_base_transform_set_passthrough):
22371         Some debug info.
22372
22373         * gst/gstminiobject.c: (gst_mini_object_ref):
22374         Check refcount here too.
22375
22376         * gst/gstpad.c: (gst_pad_init):
22377         Pads are initially flushing and refusing data.
22378
22379         * gst/gstutils.c: (gst_element_link_pads_filtered):
22380         When adding a capsfilter element make sure it has the
22381         same state as the parent bin.
22382
22383 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
22384
22385         * docs/gst/tmpl/.cvsignore:
22386         * docs/gst/tmpl/gstformat.sgml:
22387         * docs/gst/tmpl/gstversion.sgml:
22388         * gst/gstbus.h:
22389         * gst/gstformat.c:
22390         * gst/gstformat.h:
22391         * gst/gstversion.h.in:
22392           more docs and two more inlined
22393
22394 2005-08-30  Wim Taymans  <wim@fluendo.com>
22395
22396         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
22397         Don't sync to clock.
22398
22399 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
22400
22401         * docs/gst/gstreamer-sections.txt:
22402           ultral33t func10ns deserve to appear in the docs actually
22403         * docs/gst/tmpl/.cvsignore:
22404         * docs/gst/tmpl/gstcompat.sgml:
22405         * docs/gst/tmpl/gstconfig.sgml:
22406         * gst/check/gstcheck.c:
22407         * gst/gstcompat.h:
22408         * gst/gstconfig.h.in:
22409           inlined more docs
22410
22411 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
22412
22413         * docs/gst/tmpl/.cvsignore:
22414         * docs/gst/tmpl/gstquery.sgml:
22415         * docs/gst/tmpl/gstutils.sgml:
22416         * gst/gstquery.c:
22417         * gst/gstquery.h:
22418           inlined and extended docs
22419
22420 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
22421
22422         * check/gst-libs/controller.c: (GST_START_TEST),
22423         (gst_controller_suite):
22424           more tests
22425         * docs/gst/tmpl/gstutils.sgml:
22426         * docs/libs/gstreamer-libs-sections.txt:
22427         * docs/libs/tmpl/gstdataprotocol.sgml:
22428           include path fixes
22429         * examples/controller/audio-example.c: (main):
22430           controller example works now
22431         * gst/gstclock.h:
22432           doc fixes
22433         * tools/gst-inspect.c: (print_element_properties_info):
22434           show param spec flags
22435
22436 2005-08-29  Andy Wingo  <wingo@pobox.com>
22437
22438         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
22439
22440 2005-08-28  Andy Wingo  <wingo@pobox.com>
22441
22442         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
22443         as having two arguments instead of just one. Allows superclasses
22444         to access information on subclasses -- see the terrible for() loop
22445         in gtype.c:g_type_create_instance for the reason why. All callers
22446         changed.
22447
22448 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
22449
22450         * docs/design/part-messages.txt:
22451           update info
22452         * docs/gst/tmpl/.cvsignore:
22453         * docs/gst/tmpl/gstcaps.sgml:
22454         * docs/gst/tmpl/gstclock.sgml:
22455         * gst/gstbus.c:
22456         * gst/gstcaps.c:
22457         * gst/gstcaps.h:
22458         * gst/gstclock.c:
22459         * gst/gstclock.h:
22460         * gst/gstmessage.c:
22461           added descriptions for bus and message
22462           inline caps and clock docs
22463
22464 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
22465
22466         * gst/gstmessage.c:
22467         * gst/gstmessage.h:
22468           doc fixes
22469
22470 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
22471
22472         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22473           fix div-by-zero
22474
22475 2005-08-26  Andy Wingo  <wingo@pobox.com>
22476
22477         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
22478         element_set_state's return val.
22479         (test_2_elements): Add test that's been disabled for months.
22480
22481         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
22482         can-activate-pull properties.
22483
22484         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
22485         can-activate-pull properties. Implement is_seekable so fakesrc can
22486         operate in pull mode.
22487
22488         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
22489         properties.
22490         (gst_base_sink_activate, gst_base_sink_activate_pull)
22491         (gst_base_sink_activate_push): Make activation mode choosing work.
22492         Cleanups.
22493         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
22494         is right. Make pull mode work. Post an eos before pausing in pull
22495         mode.
22496         (gst_base_sink_change_state): Pay attention to the core's
22497         change_state() return val.
22498         
22499         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
22500         has-getrange properties. Cleanups.
22501         
22502         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
22503         has_getrange and replace with can_activate_pull and
22504         can_activate_push.
22505
22506         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
22507         locking comments. Remove has_loop, has_chain and replace with
22508         can_activate_pull and can_activate_push.
22509
22510 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
22511
22512         * configure.ac:
22513         * examples/Makefile.am:
22514         * examples/metadata/Makefile.am:
22515         * examples/metadata/read-metadata.c: (message_loop),
22516         (have_pad_handler), (make_pipeline), (print_tag), (main):
22517           Add metadata reading example that loops over a list of filenames,
22518           dumping any tags found.
22519
22520         * gst/gstbus.c: (gst_bus_dispose):
22521         * gst/gstelement.c: (gst_element_dispose):
22522           Release a few potentially-held references in dispose.
22523
22524 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
22525
22526         * docs/gst/tmpl/gstminiobject.sgml:
22527           do *not* add tmpl/*.sgml files to CVS!
22528
22529 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
22530
22531         * libs/gst/bytestream/.cvsignore:
22532         * libs/gst/bytestream/Makefile.am:
22533         * libs/gst/bytestream/adapter.c:
22534         * libs/gst/bytestream/adapter.h:
22535         * libs/gst/bytestream/bytestream.c:
22536         * libs/gst/bytestream/bytestream.h:
22537         * libs/gst/bytestream/filepad.c:
22538         * libs/gst/bytestream/filepad.h:
22539           removing obsolete files
22540
22541 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
22542
22543         * docs/gst/gstreamer-docs.sgml:
22544         * docs/libs/gstreamer-libs-docs.sgml:
22545           disabed additional index entries again, as this makes docs-gen just
22546           slow and they aren't useful yet
22547         * docs/libs/gstreamer-libs-sections.txt:
22548           little -section.txt cleanup for libs
22549
22550 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
22551
22552         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22553         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
22554           fix up some debugging
22555         (gst_base_transform_get_unit_size),
22556         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22557         (gst_base_transform_handle_buffer):
22558         * gst/base/gstbasetransform.h:
22559           handle and store timed NEWSEGMENT events so that subclasses that
22560           calculate time by counting samples have a segment_start time they
22561           need to add to their timestamps - see audioresample
22562
22563 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
22564
22565         * gst/gstbin.h:
22566           removed ';' from the end of macro defs
22567         * docs/gst/gstreamer-docs.sgml:
22568         * docs/gst/gstreamer-sections.txt:
22569         * docs/gst/tmpl/.cvsignore:
22570         * gst/gstbus.h:
22571         * gst/gstelement.c: (gst_element_class_init),
22572         (gst_element_set_state), (activate_pads),
22573         (gst_element_save_thyself):
22574         * gst/gstevent.c: (gst_event_new_newsegment):
22575         * gst/gstevent.h:
22576         * gst/gstiterator.c:
22577         * gst/gstiterator.h:
22578         * gst/gstpad.c:
22579         * gst/gstprobe.h:
22580         * gst/gstutils.c: (gst_pad_query_convert):
22581         * gst/gstutils.h:
22582           fixed parameter name mismatches between source, header and docs
22583           added some more docs, resolved the last batch of unused elements in
22584           docs (now someone needs to doc them)
22585
22586 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
22587
22588         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
22589         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
22590           don't walk through the plugins backwards.  Where is all this
22591           reversed logic coming from ?
22592
22593 2005-08-25  Wim Taymans  <wim@fluendo.com>
22594
22595         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22596         (gst_base_transform_transform_size),
22597         (gst_base_transform_configure_caps),
22598         (gst_base_transform_get_unit_size),
22599         (gst_base_transform_buffer_alloc),
22600         (gst_base_transform_change_state):
22601         * gst/base/gstbasetransform.h:
22602         Cache caps unit_size.
22603         Make sure we cannot negotiate up and downstream at the
22604         same time.
22605
22606 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
22607
22608         * gst/gst.c: (init_pre), (init_post):
22609           register the installed plugin path after the env var
22610         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
22611         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
22612           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
22613           directories, so the tests can prefer uninstalled over installed
22614
22615 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
22616
22617         * gst/base/gstbasetransform.h:
22618           comment
22619         * gst/gstpad.c:
22620           add to docs
22621
22622 2005-08-25  Wim Taymans  <wim@fluendo.com>
22623
22624         * gst/gstbin.c: (bin_bus_handler):
22625         Be a bit more conservative about the posted message.
22626         
22627         * gst/gstbus.c: (gst_bus_post):
22628         Some cleanups, warn wrong return values.
22629
22630 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
22631
22632         * check/gst/gstbin.c: (GST_START_TEST):
22633         * gst/gstbin.c: (bin_bus_handler):
22634         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
22635         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
22636         (gst_message_new_warning), (gst_message_new_tag),
22637         (gst_message_new_state_changed), (gst_message_new_segment_start),
22638         (gst_message_new_segment_done), (gst_message_new_custom):
22639         * gst/gstmessage.h:
22640         * tools/gst-launch.c: (event_loop):
22641         * tools/gst-md5sum.c: (event_loop):
22642           Revert unpopular change for GST_MESSAGE_SRC to GObject.
22643
22644 2005-08-25  Wim Taymans  <wim@fluendo.com>
22645
22646         * check/generic/states.c: (GST_START_TEST):
22647         Cleanup can be done at the end.
22648
22649         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
22650         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
22651         (gst_task_get_state), (gst_task_start), (gst_task_pause):
22652         Oh boy.. Thanks for finding this, Thomas. 
22653
22654 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
22655
22656         * docs/gst/gstreamer.types:
22657           added missing types
22658
22659 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
22660
22661         * docs/gst/gstreamer-docs.sgml:
22662         * docs/gst/gstreamer-sections.txt:
22663         * docs/gst/tmpl/.cvsignore:
22664         * gst/gstbin.c:
22665         * gst/gstiterator.c:
22666         * gst/gstutils.c:
22667         * gst/registries/gstxmlregistry.h:
22668           added missing classes and symbols (123 more to go)
22669           removed removed symbols from section file
22670           fixed many doc-comments
22671
22672 2005-08-24  Wim Taymans  <wim@fluendo.com>
22673
22674         * check/generic/states.c: (GST_START_TEST):
22675         Make sure all tasks are stopped.
22676
22677         * check/gst/gstbin.c: (GST_START_TEST):
22678         Unref after usage for proper valgrinding.
22679
22680         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
22681         Really wait for the task to stop before destroying the
22682         mutex.
22683
22684         * gst/gstqueue.c: (gst_queue_sink_activate_push),
22685         (gst_queue_src_activate_push):
22686         Small cleanups. Don't stop the task when we did not start
22687         it.
22688
22689         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
22690         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
22691         (gst_task_get_state), (gst_task_start), (gst_task_pause),
22692         (gst_task_join):
22693         * gst/gsttask.h:
22694         Protect the stream lock with the object lock.
22695         Disallow setting the stream lock when running.
22696         Add cleanup_all to wait for the threadpool to finish.
22697         Remove code to autoallocate a mutex if none was provided.
22698         Add _join() to wait for a task to stop.
22699         Protect the thread pool with a global lock.
22700
22701 2005-08-24  Wim Taymans  <wim@fluendo.com>
22702
22703         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22704         (gst_base_sink_get_times), (gst_base_sink_do_sync),
22705         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
22706         * gst/base/gstbasesink.h:
22707         Handle newsegment events correctly.
22708         Drop buffers out of the segment range.
22709
22710 2005-08-22  Andy Wingo  <wingo@pobox.com>
22711
22712         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
22713         macro, implements an interface and gstimplementsinterface for a
22714         new type.
22715
22716 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22717
22718         * check/Makefile.am:
22719         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
22720           add a test that does a bunch of state changes on elements
22721           needs some fixing for valgrind
22722         * check/states/sinks.c: (gst_object_suite):
22723           whitespace
22724         * gst/gstcaps.h:
22725           add prototype for gst_caps_is_equal_fixed
22726         * gst/gstplugin.c:
22727         * gst/gstregistrypool.c:
22728           doc fixes
22729
22730 2005-08-24  Andy Wingo  <wingo@pobox.com>
22731
22732         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
22733         convert a negative value. Doesn't make much sense. Mostly this is
22734         here to force callers to ensure -1 maps to -1.
22735
22736 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
22737
22738         * docs/pwg/advanced-types.xml:
22739           Well done to Michael for catching my deliberate introduction
22740           of this spelling mistake. 
22741         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
22742         * gst/gstelement.h:
22743           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
22744           unlink pads before removing the element from the bin.
22745
22746 2005-08-24  Andy Wingo  <wingo@pobox.com>
22747
22748         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
22749         the same thing as GST_DEBUG=*:4.
22750         (parse_debug_level, parse_debug_category): New helper parsers.
22751
22752 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22753
22754         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22755         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
22756         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
22757         (gst_base_transform_buffer_alloc),
22758         (gst_base_transform_handle_buffer):
22759           use gboolean return values and pointers to size so we can use the
22760           full GST_BUFFER_SIZE range (guint) for buffer sizes
22761           use GstPadDirection for transform_caps
22762         * gst/base/gstbasetransform.h:
22763           rename get_size to get_unit_size since that's what it is
22764         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
22765           use GstPadDirection for transform_caps
22766         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22767         * gst/gstutils.h:
22768           cleanup and debugging
22769
22770 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
22771
22772         * gst/gstelement.c: (gst_element_class_init),
22773         (gst_element_set_state), (activate_pads),
22774         (gst_element_save_thyself):
22775         * tools/gst-compprep.c: (main):
22776         * tools/gst-inspect.c: (print_element_properties_info):
22777         * tools/gst-xmlinspect.c: (print_element_properties):
22778           Fixed long standing mem-leak
22779
22780 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
22781
22782         * check/gst/gstbin.c: (GST_START_TEST):
22783         * gst/gstbin.c: (bin_bus_handler):
22784         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
22785         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
22786         (gst_message_new_warning), (gst_message_new_tag),
22787         (gst_message_new_state_changed), (gst_message_new_segment_start),
22788         (gst_message_new_segment_done), (gst_message_new_custom):
22789         * gst/gstmessage.h:
22790         * tools/gst-launch.c: (event_loop):
22791         * tools/gst-md5sum.c: (event_loop):
22792           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
22793           that applications can sensibly post custom messages with references
22794           to their own objects.
22795
22796 2005-08-24  Andy Wingo  <wingo@pobox.com>
22797
22798         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
22799         already.
22800
22801 2005-08-24  Wim Taymans  <wim@fluendo.com>
22802
22803         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22804         (gst_base_transform_transform_caps),
22805         (gst_base_transform_transform_size),
22806         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22807         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22808         (gst_base_transform_handle_buffer):
22809         * gst/base/gstbasetransform.h:
22810         Many fixes and new features added by Thomas. Can now also do
22811         transforms with variable sizes and a custom fixate_caps function.
22812
22813 2005-08-24  Wim Taymans  <wim@fluendo.com>
22814
22815         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22816         Some debugging.
22817
22818         * gst/gstclock.h:
22819         Cast to ClockTime before formatting to time.
22820
22821         * gst/gstutils.h:
22822         Cleanups.
22823
22824 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
22825
22826         * check/gst-libs/controller.c: (GST_START_TEST),
22827         (gst_controller_suite):
22828         * docs/gst/tmpl/gstcaps.sgml:
22829         * docs/gst/tmpl/gstghostpad.sgml:
22830         * docs/gst/tmpl/gstquery.sgml:
22831         * docs/gst/tmpl/gstutils.sgml:
22832         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
22833         (gst_object_sink_values), (gst_object_get_value_arrays),
22834         (gst_object_get_value_array):
22835           gracefully handle helper method calls to objects that are not beeing
22836           controlled, added test case for that          
22837
22838 2005-08-23  Wim Taymans  <wim@fluendo.com>
22839
22840         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
22841         (gst_event_new_newsegment), (gst_event_parse_newsegment),
22842         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
22843         (gst_event_parse_qos), (gst_event_new_seek),
22844         (gst_event_parse_seek):
22845         * gst/gstevent.h:
22846         Some more debugging output and doc cleanups.
22847
22848         * gst/gstqueue.c: (gst_queue_handle_sink_event):
22849         Fix possible deadlock.
22850
22851 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
22852
22853         * docs/gst/gstreamer-docs.sgml:
22854         * docs/gst/gstreamer-sections.txt:
22855         * docs/gst/gstreamer.types:
22856         * docs/gst/tmpl/.cvsignore:
22857         * gst/gstbin.h:
22858         * gst/gstbus.c:
22859         * gst/gstelement.c:
22860         * gst/gstevent.h:
22861           added 100 symbols from gstreamer-unused.txt to the right sections
22862           fixed more broken comments
22863           added GstBus to docs
22864
22865 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
22866
22867         * docs/gst/gstreamer-sections.txt:
22868         * docs/gst/tmpl/.cvsignore:
22869         * docs/gst/tmpl/gstbin.sgml:
22870         * docs/gst/tmpl/gstbuffer.sgml:
22871         * gst/base/gstbasesrc.c:
22872         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
22873         * gst/gstbuffer.c:
22874         * gst/gstbuffer.h:
22875         * tools/gst-launch.1.in:
22876           inlined more doc comments, added missing comments and fixed comments
22877           fixed typos
22878
22879 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22880
22881         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22882           some debugging
22883         * gst/gstcaps.h:
22884           whitespace fixes
22885         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
22886           more debugging
22887         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
22888         * gst/gststructure.h:
22889           add a fixate function for booleans; add a FIXME that these func
22890           names should probably be gst_structure_fixate_*
22891
22892 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
22893
22894         * docs/gst/gstreamer-docs.sgml:
22895         * docs/gst/gstreamer-sections.txt:
22896         * gst/Makefile.am:
22897         * gst/gstbin.c: (gst_bin_get_type),
22898         (gst_bin_child_proxy_get_child_by_index),
22899         (gst_bin_child_proxy_get_children_count),
22900         (gst_bin_child_proxy_init):
22901         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
22902         (gst_child_proxy_get_child_by_index),
22903         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
22904         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
22905         (gst_child_proxy_get), (gst_child_proxy_set_property),
22906         (gst_child_proxy_set_valist), (gst_child_proxy_set),
22907         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
22908         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
22909         * gst/gstchildproxy.h:
22910         * gst/parse/grammar.y:
22911         * tools/gst-inspect.c: (print_interfaces),
22912         (print_element_properties_info), (print_element_info):
22913           ported gstchildproxy over from 0.8
22914           ported gst-inspect fixes and enhancements over from 0.8
22915
22916 2005-08-22  Wim Taymans  <wim@fluendo.com>
22917
22918         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22919         (gst_base_transform_handle_buffer):
22920         Also call the transform function if we have ANY caps.
22921
22922         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
22923         Fix debug info.
22924
22925 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
22926
22927         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
22928           Don't pretend to handle seek events if the source is not seekable
22929
22930 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
22931
22932         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22933           Remove extra parameter to debug output
22934
22935         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22936         (gst_base_src_do_seek), (gst_base_src_activate_push):
22937           Fix seek event handling.
22938
22939         * gst/gstpipeline.c: (gst_pipeline_change_state):
22940         * gst/gstqueue.c: (gst_queue_handle_sink_event),
22941         (gst_queue_src_activate_push):
22942           Don't start the src pad task on FLUSH_STOP if the pad
22943           isn't linked.
22944           Debug changes.
22945
22946 2005-08-22  Wim Taymans  <wim@fluendo.com>
22947
22948         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
22949         Added check for gst_static_caps_get() refcounting.
22950
22951 2005-08-22  Wim Taymans  <wim@fluendo.com>
22952
22953         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
22954         Make _static_caps_get() refcounting sane.
22955         
22956         * gst/gstelement.c: (gst_element_set_state):
22957         Add g_return_val_if_fail() to protect against segfaults.
22958
22959 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
22960
22961         * docs/gst/tmpl/gstevent.sgml:
22962         * gst/gstevent.c:
22963         * gst/gstevent.h:
22964           inlined remaining docs, added missing doc comments
22965
22966 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22967
22968         * check/gst/gstbin.c: (GST_START_TEST):
22969           since we don't know when preroll is done, use refcount range
22970           check for the sink
22971         * gst/check/gstcheck.h:
22972           add macro for checking refcount range
22973
22974 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
22975
22976         * check/Makefile.am:
22977           clean up environment for when registry gets built versus
22978           when actual tests are run; valgrind seems to not report
22979           leaks if GST_PLUGIN_PATH is set to some specific values
22980         * check/gst/gstbin.c: (GST_START_TEST):
22981           add more refcounting checks; maybe this exposes a
22982           preroll lock bug ?
22983         * common/check.mak:
22984         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22985         * gst/check/gstcheck.h:
22986         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
22987         (gst_bin_change_state):
22988         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
22989           add/fix debugging/whitespace
22990
22991 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
22992
22993         * check/gst/gstevent.c: (event_probe), (test_event),
22994         (GST_START_TEST):
22995          Er, don't call gst_bin_watch_for_state_change you idiot.
22996
22997 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
22998
22999         * check/Makefile.am:
23000           Use CHECK_CFLAGS and CHECK_LIBS
23001         * check/gst/gstevent.c: (event_probe), (test_event),
23002         (GST_START_TEST):
23003           Don't leak events.
23004         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23005         (gst_base_src_start), (gst_base_src_stop),
23006         (gst_base_src_activate_push), (gst_base_src_activate_pull),
23007         (gst_base_src_change_state):
23008           Sprinkle gst_base_src_stop liberally around error paths to fix
23009           problems reusing a source after failed state changes.
23010         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23011         (helper_find_suggest), (gst_type_find_helper):
23012           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
23013         * gst/gstevent.h:
23014         * docs/gst/tmpl/gstevent.sgml:
23015           Migrate part of the docs from the SGML file. Wait for ensonic to
23016           tell me how I did it wrong ;)
23017         * tools/gst-typefind.c: (main):
23018           Extra robustness to state changes between files.
23019
23020 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23021
23022         * check/Makefile.am:
23023           don't valgrind the controller test - it's leaking - Stefan, HELP
23024         * gst/check/gstcheck.c: (gst_check_message_error),
23025         (gst_check_chain_func), (gst_check_setup_element),
23026         (gst_check_teardown_element), (gst_check_setup_src_pad),
23027         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
23028         (gst_check_teardown_sink_pad):
23029         * gst/check/gstcheck.h:
23030           add a bunch of methods to set up elements, and src and sink pads
23031         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
23032         * check/elements/identity.c: (setup_identity), (cleanup_identity),
23033         (GST_START_TEST):
23034           use them
23035         * gst/gstmessage.c:
23036         * gst/gsttag.h:
23037           whitespace/doc fixes
23038
23039 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23040
23041         * gst/gstelement.h:
23042           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
23043           be handled by the application and not always printed as well
23044
23045 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23046
23047         * check/Makefile.am:
23048           set GST_TOOLS_DIR
23049         * gst/check/gstcheck.c: (gst_check_message_error):
23050         * gst/check/gstcheck.h:
23051           add a fail_unless_equals_int
23052           add fail_unless for error messages
23053
23054 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23055
23056         * check/Makefile.am:
23057         * check/gst.supp:
23058         * common/Makefile.am:
23059         * common/check.mak:
23060         * common/gst.supp:
23061           factor out some of the common stuff so we can use it
23062
23063 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23064
23065         * check/Makefile.am:
23066         * check/gst/gstiterator.c: (GST_START_TEST):
23067         * check/gst/gstsystemclock.c: (GST_START_TEST),
23068         (gst_systemclock_suite):
23069         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
23070         * gst/gstclock.c:
23071           valgrind more tests
23072
23073 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23074
23075         * check/elements/.cvsignore:
23076         * check/elements/gstfakesrc.c:
23077           rename to name of element
23078         * check/elements/identity.c: (chain_func), (event_func),
23079         (setup_identity), (cleanup_identity), (GST_START_TEST),
23080         (identity_suite), (main):
23081           add a test for identity
23082         * check/Makefile.am:
23083         * pkgconfig/Makefile.am:
23084         * pkgconfig/gstreamer-check.pc.in:
23085         * pkgconfig/gstreamer-check-uninstalled.pc.in:
23086         * gst/check:
23087         * gst/Makefile.am:
23088         * configure.ac:
23089           move the check stuff to a library that gets installed
23090         * check/gst-libs/controller.c: (GST_START_TEST):
23091         * check/gst-libs/gdp.c:
23092         * check/gst/gst.c: (GST_START_TEST):
23093         * check/gst/gstbin.c:
23094         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
23095         * check/gst/gstbus.c:
23096         * check/gst/gstcaps.c: (GST_START_TEST):
23097         * check/gst/gstelement.c:
23098         * check/gst/gstghostpad.c:
23099         * check/gst/gstiterator.c:
23100         * check/gst/gstmessage.c:
23101         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
23102         * check/gst/gstobject.c:
23103         * check/gst/gstpad.c: (GST_START_TEST):
23104         * check/gst/gststructure.c: (GST_START_TEST):
23105         * check/gst/gstsystemclock.c: (GST_START_TEST),
23106         (gst_systemclock_suite):
23107         * check/gst/gsttag.c: (gst_tag_suite):
23108         * check/gst/gstvalue.c:
23109         * check/pipelines/cleanup.c:
23110         * check/pipelines/simple_launch_lines.c:
23111         * check/states/sinks.c:
23112           change include statement
23113
23114         * docs/gst/gstreamer-sections.txt:
23115         * docs/gst/tmpl/gstpad.sgml:
23116           document more pad stuff
23117         * gst/gstminiobject.c: (gst_mini_object_ref),
23118         (gst_mini_object_unref):
23119           debug refcounting
23120
23121 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
23122
23123         * docs/gst/tmpl/gst.sgml:
23124         * gst/gst.c:
23125           eliminate another tmpl file, fix spelling in the long-description
23126
23127 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
23128
23129         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
23130         (test_event), (timediff), (gstevents_suite):
23131           Should fix build on 64-bit arch's
23132
23133 2005-08-18  Andy Wingo  <wingo@pobox.com>
23134
23135         Make sure that when a pipeline goes to PLAYING, that data has
23136         actually hit the sink.
23137
23138         * check/states/sinks.c (test_sink): A sink that doesn't get any
23139         data shouldn't return SUCCESS for going to either PLAYING or
23140         PAUSED. Test also the return values on the way back down.
23141
23142         * gst/gstelement.c (gst_element_set_state): When changing the
23143         state of an element currently changing state asynchronously, go to
23144         lost-state after commiting the pending state. Makes future calls
23145         to get_state continue to return ASYNC.
23146
23147         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
23148         ASYNC when going to PLAYING if we still don't have preroll, as can
23149         happen with live sources.
23150
23151 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
23152
23153         * docs/pwg/advanced-types.xml:
23154           Hack long paragraph into 2 chunks as a workaround for buggy
23155           jadetex version in sid and breezy that loops infinitely and
23156           eats all RAM.
23157
23158 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
23159
23160         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
23161         (test_event), (timediff), (gstevents_suite):
23162           Provide more error margin in clock measurements to allow for 
23163           g_get_current_time inaccuracies.
23164
23165 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
23166
23167         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
23168         (test_event), (timediff), (gstevents_suite):
23169            Fix error message output so I might be able to tell why the
23170            test works here but fails on the build farm.
23171
23172 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
23173
23174         * check/Makefile.am:
23175         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
23176         (test_event), (timediff), (gstevents_suite), (main):
23177           I wrote a test!
23178
23179         * docs/design/part-seeking.txt:
23180           Spelling correction
23181
23182         * docs/gst/tmpl/gstevent.sgml:
23183         * docs/gst/tmpl/gstfakesrc.sgml:
23184           Docs updates.
23185
23186         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23187           Treat a buffer-without-newsegment the same as a receiving 
23188           a newsegment not in time format, and disable syncing to the clock
23189           with a warning.
23190
23191         * gst/gstbus.c: (gst_bus_set_sync_handler):
23192           Assert if anyone tries to replace the existing sync_handler for bus, 
23193           as only the owner should be setting it.
23194
23195         * gst/gstevent.h:
23196           Have a fixed set of custom event enums with events identified by
23197           their structure name (as in 0.8), rather than a free-for-all
23198           allowing collisions between enum values from different plugins.
23199
23200         * gst/gstpad.c: (gst_pad_class_init):
23201           Docs change.
23202           
23203         * gst/gstqueue.c: (gst_queue_handle_sink_event):
23204           Handle out-of-band downstream events from the sending thread.
23205
23206 2005-08-17  Andy Wingo  <wingo@pobox.com>
23207
23208         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
23209         play-timeout==0 to mean no timeout at all. In that case, don't
23210         bother with a get_state or a warning, just return directly, even
23211         if it's ASYNC.
23212
23213         * gst/base/gstbasetransform.c: Debug changes.
23214
23215         * gst/gstutils.h:
23216         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
23217         ensure bins post state change messages. A bit of a hack but I can't
23218         think of a way to avoid it.
23219
23220         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
23221
23222 2005-08-16  Andy Wingo  <wingo@pobox.com>
23223
23224         * gst/base/gstadapter.h:
23225         * gst/base/gstadapter.c (gst_adapter_take): New function, like
23226         peek() but you own the data. Not terribly efficient atm.
23227
23228 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23229
23230         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
23231         (gst_element_found_tags):
23232         * gst/gstutils.h:
23233           Add two utility functions for tag handling.
23234
23235 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23236
23237         * docs/manual/advanced-dataaccess.xml:
23238         * docs/manual/basics-helloworld.xml:
23239           Fix docs to use _bin_add() before _link(), which fixes the examples
23240           with recent core versions (reported by Madhan Raj M
23241           <raj_madan@rediffmail.com>, #313199).
23242
23243 2005-08-16  Wim Taymans  <wim@fluendo.com>
23244
23245         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
23246         Added subtract checks.
23247
23248         * docs/design/part-events.txt:
23249         Some more docs about newsegment
23250
23251         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
23252         Fix FIXME
23253
23254         * gst/gstcaps.c: (gst_caps_to_string):
23255         Add comments, cleanups.
23256         
23257         * gst/gstelement.c: (gst_element_save_thyself):
23258         cleanups
23259         
23260         * gst/gstvalue.c: (gst_value_collect_int_range),
23261         (gst_string_unwrap), (gst_value_union_int_int_range),
23262         (gst_value_union_int_range_int_range),
23263         (gst_value_intersect_int_int_range),
23264         (gst_value_intersect_int_range_int_range),
23265         (gst_value_intersect_double_double_range),
23266         (gst_value_intersect_double_range_double_range),
23267         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
23268         (gst_value_subtract_int_range_int),
23269         (gst_value_subtract_double_range_double),
23270         (gst_value_subtract_double_range_double_range),
23271         (gst_value_subtract_from_list), (gst_value_subtract_list),
23272         (gst_value_can_compare), (gst_value_compare_fraction):
23273         Cleanups, add comments, remove unneeded asserts.
23274
23275 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23276
23277         * tools/gst-launch.c: (event_loop):
23278           don't convert NULL structures to strings
23279
23280 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
23281
23282         * docs/gst/gstreamer-sections.txt:
23283           made some defines private
23284         * docs/gst/tmpl/gstconfig.sgml:
23285         * docs/gst/tmpl/gstqueue.sgml:
23286         * docs/gst/tmpl/gsttaglist.sgml:
23287         * docs/gst/tmpl/gsttypes.sgml:
23288         * docs/gst/tmpl/gstutils.sgml:
23289         * docs/pwg/appendix-porting.xml:
23290         * gst/base/gstbasesink.h:
23291         * gst/base/gstbasesrc.c:
23292         * gst/base/gstbasesrc.h:
23293         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
23294         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
23295         * gst/gstelement.c: (gst_element_class_init):
23296         * gst/gstpad.c: (gst_pad_class_init):
23297         * gst/gstqueue.c: (gst_queue_class_init):
23298         * gst/gstxml.c: (gst_xml_class_init):
23299           documented all undocumented signal inline
23300         * libs/gst/controller/gst-controller.h:
23301           added padding
23302
23303 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23304
23305         * docs/pwg/appendix-porting.xml:
23306           Document _set_link_function -> _set_setcaps_function.
23307
23308 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23309
23310         * check/Makefile.am:
23311           add a .check target for running the check
23312         * check/gst-libs/controller.c: (GST_START_TEST):
23313           cosmetic fixups
23314         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
23315           complete checks for gstbuffer; would be nice if I could get the
23316           gcov stuff to work so I can see if I actually completed gstbuffer.c
23317         * check/gstcheck.h:
23318           add ASSERT_BUFFER_REFCOUNT
23319
23320 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
23321
23322         * docs/gst/gstreamer-sections.txt:
23323         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
23324         * gst/gsttag.h:
23325           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
23326           spew out a warning if a tag that is already registered
23327           is re-registered, unless it is re-registered with a 
23328           different type (#308438).
23329
23330 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
23331
23332         * docs/pwg/appendix-porting.xml:
23333         * docs/pwg/building-state.xml:
23334           Add some paragraphs about state changes in 0.9 to the PWG
23335           and the porting guide, in particular about the new meaning
23336           of GST_STATE_PAUSED and how to write state change functions
23337           with concurrent access by multiple threads in mind.
23338
23339 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
23340
23341         * docs/gst/gstreamer-docs.sgml:
23342         * docs/libs/gstreamer-libs-docs.sgml:
23343           added deprecation and since indexes
23344         * libs/gst/controller/gst-controller.c:
23345         * libs/gst/controller/gst-helper.c:
23346           added since tags
23347
23348
23349 2005-08-11  Wim Taymans  <wim@fluendo.com>
23350
23351         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
23352         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
23353         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
23354         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
23355         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
23356         (gst_ghost_pad_set_target):
23357         Actually implement (re)setting the target on a ghostpad
23358         as described in the docs.
23359
23360 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
23361
23362         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
23363           Check whether GST_DEBUG_NO_COLOR environment variable is
23364           set and disable coloured debug output if that is the case.
23365
23366 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
23367
23368         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23369         (gst_type_find_helper):
23370           The memory returned by gst_type_find_peek() needs to
23371           stay valid until the end of a typefind function, and
23372           typefind functions may keep results from different 
23373           offsets around, so we can't just unref the buffer from
23374           the previous _peek(), but have to save all buffers 
23375           returned by _peek() until typefinding is done and only
23376           free them then.
23377
23378 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
23379
23380         * docs/gst/gstreamer-sections.txt:
23381         * gst/gstutils.h:
23382           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
23383
23384 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23385
23386         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
23387           Fix a pretty good memleak.
23388
23389 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
23390
23391         * gst/gstiterator.h:
23392           Fix wrong include and 'make distcheck'.
23393
23394 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23395
23396         * gst/gstbin.c: (bin_bus_handler):
23397           Use gst_element_post_message() instead.
23398
23399 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
23400
23401         * gst/base/gstadapter.h:
23402         * gst/base/gstbasesink.h:
23403         * gst/base/gstbasesrc.h:
23404         * gst/base/gstbasetransform.h:
23405         * gst/base/gstcollectpads.h:
23406         * gst/base/gstpushsrc.h:
23407         * gst/gstiterator.h:
23408           Add padding to our base elements' class and instance structs and
23409           to GstIterator (you will need to rebuild all plugins and apps!)
23410
23411 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23412
23413         * gst/gstbin.c: (bin_bus_handler):
23414           Make default message forwarding from child->bus to bin->bus
23415           threadsafe and make it not emit warnings if the parent has no bus.
23416
23417 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23418
23419         * gst/gstelement.c: (activate_pads):
23420           On paused->ready, set pad->caps to NULL, as is the documented
23421           behaviour in this state change. Fixes playback of series of
23422           media files when visualization is enabled in Totem.
23423
23424 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23425
23426         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
23427           Allow NULL as filter-caps (which means "any").
23428
23429 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
23430
23431         * docs/libs/gstreamer-libs-sections.txt:
23432         * libs/gst/controller/gst-controller.c:
23433         * libs/gst/controller/gst-controller.h:
23434         * libs/gst/controller/gst-helper.c:
23435           adding more entries to the docs and fix small doc-bugs
23436
23437 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
23438
23439         * docs/gst/gstreamer-docs.sgml:
23440         * docs/gst/gstreamer-sections.txt:
23441         * docs/gst/gstreamer.types:
23442         * docs/gst/tmpl/gstbasesink.sgml:
23443         * docs/gst/tmpl/gstbasesrc.sgml:
23444         * docs/gst/tmpl/gstbasetransform.sgml:
23445         * docs/gst/tmpl/gstfakesrc.sgml:
23446         * gst/base/gstcollectpads.c:
23447         * gst/base/gstcollectpads.h:
23448         * libs/gst/controller/gst-controller.c:
23449         * libs/gst/controller/gst-controller.h:
23450         * libs/gst/controller/gst-helper.c:
23451         * libs/gst/controller/gst-interpolation.c:
23452         * libs/gst/controller/lib.c:
23453           added long/short desc for controller docs
23454           added collectpads base class docs
23455           added correct includes to base-class docs
23456
23457 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
23458
23459         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23460         (gst_test_mono_source_set_property),
23461         (gst_test_mono_source_class_init), (GST_START_TEST),
23462         (gst_controller_suite):
23463         * docs/gst/gstreamer-docs.sgml:
23464         * docs/gst/gstreamer-sections.txt:
23465         * docs/gst/gstreamer.types:
23466         * docs/libs/gstreamer-libs-docs.sgml:
23467         * docs/libs/gstreamer-libs-sections.txt:
23468         * gst/base/gstadapter.c:
23469         * libs/gst/controller/gst-controller.c:
23470         (gst_controlled_property_new), (gst_controlled_property_free),
23471         (gst_controller_new_valist),
23472         (gst_controller_remove_properties_valist),
23473         (gst_controller_sink_values), (_gst_controller_finalize):
23474         * libs/gst/controller/gst-controller.h:
23475         * libs/gst/controller/gst-helper.c:
23476         (gst_object_control_properties), (gst_object_uncontrol_properties),
23477         (gst_object_get_controller), (gst_object_set_controller),
23478         (gst_object_sink_values), (gst_object_get_value_arrays),
23479         (gst_object_get_value_array):
23480           more tests (and fixes) for the controller
23481           more docs for the controller
23482           integrated companies docs for the adapter 
23483
23484 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23485
23486         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
23487         (GST_START_TEST), (fakesrc_suite):
23488           add tests for sizetype
23489
23490 2005-08-04  Andy Wingo  <wingo@pobox.com>
23491
23492         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
23493         fixes buffer_alloc proxying among other things.
23494
23495         * gst/base/gstbasetransform.c:
23496         * gst/base/gstbasetransform.h:
23497         Revert patch to gstbasetransform from 7-28 removing
23498         delay_configure.
23499
23500         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
23501         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
23502         Semantics changed, should return not the size of the output buffer
23503         but the byte size of a buffer with a given caps.
23504
23505         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
23506         debug object.
23507         (gst_base_transform_configure_caps): Don't set out_size here: (in,
23508         out) are not the pad caps until setcaps finishes.
23509         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
23510         not-in-place case as well. Deal with changing from in-place to
23511         not-in-place within calling pad_alloc_buffer. Still a bit
23512         concerned about the overhead here...
23513
23514 2005-08-03  Andy Wingo  <wingo@pobox.com>
23515
23516         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
23517         fixating is an error.
23518
23519 2005-08-04  Edward Hervey  <edward@fluendo.com>
23520
23521         * gst/base/gstadapter.h: 
23522         Added gst_adapter_get_type() to the header
23523
23524 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
23525
23526         * check/Makefile.am:
23527         * check/gst-libs/controller.c:
23528         * libs/gst/controller/gst-controller.c:
23529         (gst_controller_new_valist):
23530           added check test suite for the controller
23531         * gst/base/gstpushsrc.c:
23532           fixed a doc typo
23533
23534 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
23535
23536         * docs/gst/Makefile.am:
23537         * docs/gst/gstreamer-docs.sgml:
23538         * docs/gst/gstreamer-sections.txt:
23539         * docs/gst/gstreamer.types:
23540         * docs/gst/tmpl/gstfakesrc.sgml:
23541         * gst/base/README:
23542         * gst/base/gstbasesink.c:
23543         * gst/base/gstbasesink.h:
23544         * gst/base/gstbasesrc.c:
23545         * gst/base/gstbasesrc.h:
23546         * gst/base/gstbasetransform.c:
23547         * gst/base/gstpushsrc.c:
23548         * gst/base/gstpushsrc.h:
23549           add short/long description docs to base classes
23550           add pushsrc to the docs
23551           remove consolidated doc fragments
23552
23553 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
23554
23555         * configure.ac:
23556         * docs/libs/Makefile.am:
23557         * docs/libs/gstreamer-libs-docs.sgml:
23558         * docs/libs/gstreamer-libs-sections.txt:
23559         * docs/libs/gstreamer-libs.types:
23560         * examples/Makefile.am:
23561         * examples/controller/.cvsignore:
23562         * examples/controller/Makefile.am:
23563         * examples/controller/audio-example.c: (main):
23564         * libs/gst/Makefile.am:
23565         * libs/gst/controller/.cvsignore:
23566         * libs/gst/controller/Makefile.am:
23567         * libs/gst/controller/gst-controller.c:
23568         (on_object_controlled_property_changed), (gst_timed_value_compare),
23569         (gst_timed_value_find),
23570         (gst_controlled_property_set_interpolation_mode),
23571         (gst_controlled_property_new), (gst_controlled_property_free),
23572         (gst_controller_find_controlled_property),
23573         (gst_controller_new_valist), (gst_controller_new),
23574         (gst_controller_remove_properties_valist),
23575         (gst_controller_remove_properties), (gst_controller_set),
23576         (gst_controller_set_from_list), (gst_controller_unset),
23577         (gst_controller_get), (gst_controller_get_all),
23578         (gst_controller_sink_values), (gst_controller_get_value_arrays),
23579         (gst_controller_get_value_array),
23580         (gst_controller_set_interpolation_mode),
23581         (_gst_controller_finalize), (_gst_controller_init),
23582         (_gst_controller_class_init), (gst_controller_get_type):
23583         * libs/gst/controller/gst-controller.h:
23584         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
23585         (g_object_uncontrol_properties), (g_object_get_controller),
23586         (g_object_set_controller), (g_object_sink_values),
23587         (g_object_get_value_arrays), (g_object_get_value_array):
23588         * libs/gst/controller/gst-interpolation.c:
23589         (gst_controlled_property_find_timed_value_node),
23590         (interpolate_none_get), (interpolate_trigger_get),
23591         (interpolate_trigger_get_value_array):
23592         * libs/gst/controller/lib.c: (gst_controller_init):
23593         * pkgconfig/Makefile.am:
23594         * pkgconfig/gstreamer-control-uninstalled.pc.in:
23595         * pkgconfig/gstreamer-control.pc.in:
23596         * testsuite/Makefile.am:
23597         * testsuite/controller/.cvsignore:
23598         * testsuite/controller/Makefile.am:
23599         * testsuite/controller/interpolator.c: (main):
23600           added controller code
23601           removed dparam pc files
23602
23603 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
23604         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
23605         (gst_collectpads_stop):
23606           Broadcast the condition when shutting down, to make sure we wake all
23607           threads up. Shut down pads on finalize, for safety.
23608
23609 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
23610         * gst/base/gstbasetransform.c: (gst_base_transform_init),
23611         (gst_base_transform_handle_buffer),
23612         (gst_base_transform_change_state):
23613           Handle PAUSED->READY->PAUSED transition after negotiation
23614           occurred already.
23615         * gst/gstmessage.c: (gst_message_init):
23616           Extra piece of debug for new messages.
23617
23618 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
23619
23620         * configure.ac:
23621         * docs/gst/tmpl/gstbasesrc.sgml:
23622         * docs/gst/tmpl/gstelement.sgml:
23623         * docs/gst/tmpl/gstevent.sgml:
23624         * docs/gst/tmpl/gstfakesrc.sgml:
23625         * docs/gst/tmpl/gstformat.sgml:
23626         * docs/gst/tmpl/gstghostpad.sgml:
23627         * docs/gst/tmpl/gstpad.sgml:
23628         * docs/gst/tmpl/gstquery.sgml:
23629         * docs/gst/tmpl/gststructure.sgml:
23630         * docs/gst/tmpl/gsttaglist.sgml:
23631         * docs/gst/tmpl/gstvalue.sgml:
23632         * docs/libs/gstreamer-libs-docs.sgml:
23633         * docs/libs/gstreamer-libs-sections.txt:
23634         * docs/libs/gstreamer-libs.types:
23635         * libs/gst/Makefile.am:
23636         * libs/gst/control/.cvsignore:
23637         * libs/gst/control/Makefile.am:
23638         * libs/gst/control/control.c:
23639         * libs/gst/control/control.h:
23640         * libs/gst/control/dparam.c:
23641         * libs/gst/control/dparam.h:
23642         * libs/gst/control/dparam_smooth.c:
23643         * libs/gst/control/dparam_smooth.h:
23644         * libs/gst/control/dparamcommon.h:
23645         * libs/gst/control/dparammanager.c:
23646         * libs/gst/control/dparammanager.h:
23647         * libs/gst/control/dplinearinterp.c:
23648         * libs/gst/control/dplinearinterp.h:
23649         * libs/gst/control/unitconvert.c:
23650         * libs/gst/control/unitconvert.h:
23651         * testsuite/Makefile.am:
23652         * testsuite/dynparams/.cvsignore:
23653         * testsuite/dynparams/Makefile.am:
23654         * testsuite/dynparams/dparamstest.c:
23655         * tools/Makefile.am:
23656         * tools/gst-inspect.c: (print_element_info), (main):
23657         * tools/gst-xmlinspect.c: (print_element_info), (main):
23658           deactivate and remove dparams (libgstcontrol)
23659
23660 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
23661
23662         * gst/elements/gsttypefindelement.c:
23663         (gst_type_find_element_have_type), (gst_type_find_element_init),
23664         (stop_typefinding), (gst_type_find_element_handle_event),
23665         (gst_type_find_element_chain), (gst_type_find_element_getrange):
23666         * gst/elements/gsttypefindelement.h:
23667           Set caps on all outgoing buffers, not just the first one.
23668
23669 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
23670
23671         * gst/elements/gsttypefindelement.c:
23672         (gst_type_find_element_have_type),
23673         (gst_type_find_element_check_set_buffer_caps),
23674         (gst_type_find_element_init), (stop_typefinding),
23675         (gst_type_find_element_handle_event),
23676         (gst_type_find_element_chain), (gst_type_find_element_getrange):
23677         * gst/elements/gsttypefindelement.h:
23678           Set caps on first outgoing buffer when we've found the type.
23679
23680 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
23681
23682         * docs/gst/gstreamer-docs.sgml:
23683         * docs/gst/gstreamer-sections.txt:
23684         * docs/gst/tmpl/gstscheduler.sgml:
23685         * docs/gst/tmpl/gstschedulerfactory.sgml:
23686           Remove some old cruft from docs.
23687
23688 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
23689
23690         * gst/gstpad.h:
23691           Fix inline docs for GstPadLinkReturn.
23692           
23693         * gst/gststructure.c: (gst_structure_has_name):
23694         * gst/gststructure.h:
23695         * docs/gst/gstreamer-sections.txt:
23696           New API: gst_structure_has_name().
23697
23698 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
23699
23700         * configure.ac:
23701           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
23702           and _LARGEFILE_SOURCE in config.h as required. Do not 
23703           export those flags in our .pc files any longer (#142209).
23704
23705           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
23706
23707         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
23708         (gst_file_sink_do_seek), (gst_file_sink_event),
23709         (gst_file_sink_get_current_offset), (gst_file_sink_render):
23710           Redo seek/tell calls with large file support in mind; add some
23711           debugging messages; add log message that tells us when large
23712           file support is unavailable or not enabled for some reason.
23713
23714         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
23715           Add log message that tells us when large file support 
23716           is unavailable or not enabled for some reason.
23717
23718 2005-07-29  Wim Taymans  <wim@fluendo.com>
23719
23720         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
23721         Added test for removing an element with ghostpad from a bin.
23722         Fixed test as current implementation does the right thing.
23723
23724         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
23725         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
23726         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
23727         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
23728         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
23729         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
23730         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
23731         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23732         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
23733         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
23734         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
23735         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
23736         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
23737         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
23738         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
23739         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
23740         * gst/gstghostpad.h:
23741         Clean up ghostpads, remove properties for internal stuff.
23742         Make threadsafe.
23743         Fix refcounting.
23744         Prepare for switching targets, not all use cases work yet.
23745
23746 2005-07-29  Wim Taymans  <wim@fluendo.com>
23747
23748         * docs/design/part-gstghostpad.txt:
23749         Small update.
23750
23751         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
23752         (gst_bin_remove_func):
23753         Unlinking pads while holding the bin LOCK is not a good
23754         idea.
23755
23756         * gst/gstpad.c: (gst_pad_class_init),
23757         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
23758         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
23759         No prob setting template after creating the pad.
23760
23761 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
23762
23763         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
23764         (gst_bus_peek), (gst_bus_source_dispatch),
23765         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
23766         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
23767           gst_bus_poll may be called from other threads. Handle
23768           this nicely by not making poll_data disappear off the
23769           stack once gst_bus_poll returns.
23770           gst_bus_peek now increments the refcount on the returned
23771           message.
23772
23773 2005-07-29  Wim Taymans  <wim@fluendo.com>
23774
23775         * docs/design/part-gstghostpad.txt:
23776         Overview of current GhostPad datastructures and use
23777         cases for changing the target.
23778
23779 2005-07-28  Wim Taymans  <wim@fluendo.com>
23780
23781         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
23782         Added checks for hierarchy consistency whan adding linked
23783         elements to bins.
23784
23785         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23786         Added check to test element scheduling without bin/pipeline.
23787
23788         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23789         First add elements to bin, then link.
23790         
23791         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
23792         (gst_bin_remove_func):
23793         Unlink pads from elements added/removed from bin to maintain
23794         hierarchy consistency.
23795
23796 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23797
23798         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23799         (gst_base_transform_handle_buffer):
23800         * gst/base/gstbasetransform.h:
23801           Remove broken delay_configure (fixes renegotiation of software
23802           scaling pipelines); remove some leftover printf()s.
23803
23804 2005-07-28  Wim Taymans  <wim@fluendo.com>
23805
23806         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
23807         Added some more tests for wrong hierarchy
23808
23809         * docs/design/part-overview.txt:
23810         Some updates.
23811
23812         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
23813         Cleanups.
23814
23815         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
23816         (gst_element_dispose):
23817         Some more cleanups.
23818
23819         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23820         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
23821         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23822         (gst_pad_set_caps), (gst_pad_send_event):
23823         Check for correct hierarchy when linking pads. Moving to
23824         strict requirement for ghostpads when linking elements in
23825         different bins.
23826
23827         * gst/gstpad.h:
23828         Clean ups. Added WRONG_HIERARCHY return value.
23829
23830 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23831
23832         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
23833           Better debug if no transform is possible.
23834
23835 2005-07-27  Wim Taymans  <wim@fluendo.com>
23836
23837         * docs/random/wtay/network-transp:
23838         Some old doc I had.
23839
23840 2005-07-27  Wim Taymans  <wim@fluendo.com>
23841
23842         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23843         (gst_dp_event_from_packet):
23844         Fix serialization of seek events.
23845
23846 2005-07-27  Wim Taymans  <wim@fluendo.com>
23847
23848         * check/gst-libs/gdp.c: (GST_START_TEST):
23849         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23850         Fix compilation and fix event serialization.
23851
23852 2005-07-27  Wim Taymans  <wim@fluendo.com>
23853
23854         * CHANGES-0.9:
23855         * docs/design/part-TODO.txt:
23856         * docs/design/part-events.txt:
23857         Some docs updates
23858
23859         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23860         (gst_base_sink_event), (gst_base_sink_do_sync),
23861         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
23862         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23863         (gst_base_src_do_seek), (gst_base_src_event_handler),
23864         (gst_base_src_loop):
23865         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
23866         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23867         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
23868         (gst_base_transform_event), (gst_base_transform_handle_buffer),
23869         (gst_base_transform_set_passthrough),
23870         (gst_base_transform_is_passthrough):
23871         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23872         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23873         Event updates.
23874
23875         * gst/gstbuffer.h:
23876         Use faster casts.
23877
23878         * gst/gstelement.c: (gst_element_seek):
23879         * gst/gstelement.h:
23880         Update gst_element_seek.
23881
23882         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
23883         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
23884         (gst_event_new_flush_start), (gst_event_new_flush_stop),
23885         (gst_event_new_eos), (gst_event_new_newsegment),
23886         (gst_event_parse_newsegment), (gst_event_new_tag),
23887         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
23888         (gst_event_parse_qos), (gst_event_new_seek),
23889         (gst_event_parse_seek), (gst_event_new_navigation):
23890         * gst/gstevent.h:
23891         Make GstEvent use GstStructure. Add parsing code, make sure the
23892         API is sufficiently generic.
23893         Mark possible directions of events and serialization.
23894
23895         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
23896         (_gst_message_copy), (gst_message_new_segment_start),
23897         (gst_message_new_segment_done), (gst_message_new_custom),
23898         (gst_message_parse_segment_start),
23899         (gst_message_parse_segment_done):
23900         Small cleanups.
23901
23902         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23903         (gst_pad_set_caps), (gst_pad_send_event):
23904         Update for new events. 
23905         Catch events sent in wrong directions.
23906
23907         * gst/gstqueue.c: (gst_queue_link_src),
23908         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
23909         (gst_queue_handle_src_query):
23910         Event updates.
23911
23912         * gst/gsttag.c:
23913         * gst/gsttag.h:
23914         Remove event code from this file.
23915
23916         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23917         (gst_dp_event_from_packet):
23918         Event updates.
23919
23920 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23921
23922         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
23923         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23924         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
23925           Make debugging actually useful.
23926
23927 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23928
23929         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
23930         (gst_pad_fixate_caps):
23931           Implement default fixation once again, so that gst_pad_fixate()
23932           actually does anything at all. This probably needs to be some
23933           sort of a last resort, and use profile-based fixation first, but
23934           since that doesn't exist yet, this is the best we have. Fixes
23935           visualization in Totem.
23936
23937 2005-07-22  Wim Taymans  <wim@fluendo.com>
23938
23939         * docs/design/part-events.txt:
23940         Small update.
23941
23942         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23943         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
23944         (gst_base_sink_activate_pull):
23945         Some more comments.
23946
23947         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
23948         (gst_fake_src_create):
23949         Fix handoff marshall.
23950
23951         * gst/elements/gstidentity.c: (gst_identity_class_init),
23952         (gst_identity_transform_ip):
23953         We're a real inplace element.
23954
23955         * gst/gstbus.c: (gst_bus_post):
23956         Added some comments.
23957
23958         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
23959         * tests/muxing/case1.c: (main):
23960         * tests/sched/dynamic-pipeline.c: (main):
23961         * tests/sched/interrupt1.c: (main):
23962         * tests/sched/interrupt2.c: (main):
23963         * tests/sched/interrupt3.c: (main):
23964         * tests/sched/runxml.c: (main):
23965         * tests/sched/sched-stress.c: (main):
23966         * tests/seeking/seeking1.c: (event_received), (main):
23967         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
23968         (main):
23969         * tests/threadstate/threadstate3.c: (main):
23970         * tests/threadstate/threadstate4.c: (main):
23971         * tests/threadstate/threadstate5.c: (main):
23972         Fix the tests.
23973
23974 2005-07-21  Wim Taymans  <wim@fluendo.com>
23975
23976         * docs/design/part-seeking.txt:
23977         Some small additions.
23978
23979         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23980         (gst_base_sink_get_times), (gst_base_sink_do_sync),
23981         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
23982         * gst/base/gstbasesink.h:
23983         discont values are gint64, handle the math correctly.
23984
23985         * gst/base/gstbasesrc.c: (gst_base_src_loop):
23986         Make the basesrc report error if the source pad is not linked.
23987
23988         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
23989         (gst_queue_loop), (gst_queue_handle_src_query),
23990         (gst_queue_src_activate_push):
23991         Make queue collect data even if the srcpad is not linked.
23992         Start pushing out data as soon as it is linked.
23993
23994         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
23995         * gst/gstutils.h:
23996         Added gst_flow_get_name() to ease error reporting.
23997
23998 2005-07-20  Wim Taymans  <wim@fluendo.com>
23999
24000         * gst/gstmessage.c: (gst_message_new_segment_start),
24001         (gst_message_new_segment_done), (gst_message_parse_segment_start),
24002         (gst_message_parse_segment_done):
24003         * gst/gstmessage.h:
24004         Added a bunch of messages for advanced seeking.
24005
24006         * gst/parse/grammar.y:
24007         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
24008         (gst_dpman_state_changed):
24009         Fix some new-pad -> pad-added signals
24010
24011 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24012
24013         * docs/manual/appendix-porting.xml:
24014         * docs/pwg/appendix-porting.xml:
24015           Document new-pad/state-change signal renames and the FixedList
24016           type rename.
24017
24018 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24019
24020         * docs/manual/advanced-autoplugging.xml:
24021         * docs/manual/basics-helloworld.xml:
24022         * docs/manual/basics-pads.xml:
24023         * docs/random/ds/0.9-suggested-changes:
24024         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
24025         * gst/gstelement.h:
24026         * gst/gstevent.h:
24027         * gst/gstformat.h:
24028         * gst/gstquery.h:
24029         * gst/gststructure.c: (gst_structure_value_get_generic_type),
24030         (gst_structure_parse_array), (gst_structure_parse_value):
24031         * gst/gstvalue.c: (gst_type_is_fixed),
24032         (gst_value_list_prepend_value), (gst_value_list_append_value),
24033         (gst_value_list_get_size), (gst_value_list_get_value),
24034         (gst_value_transform_array_string), (gst_value_serialize_array),
24035         (gst_value_deserialize_array), (gst_value_intersect_array),
24036         (gst_value_is_fixed), (_gst_value_initialize):
24037         * gst/gstvalue.h:
24038           GstElement::new-pad -> pad-added, GstElement::state-change ->
24039           state-changed, GstValueFixedList -> GstValueArray, add format and
24040           flags as their own arguments in gst_element_seek() (should improve
24041           "bindeability"), remove function generators since they don't work
24042           under a whole bunch of compilers (they were deprecated already
24043           anyway).
24044
24045 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24046
24047         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24048         (_gst_debug_register_funcptr):
24049         * gst/gstinfo.h:
24050           Fix illegal cast on some platforms (#309253).
24051
24052 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24053
24054         * gst/gstmessage.c: (gst_message_new_custom):
24055         * gst/gstmessage.h:
24056           Add _new_custom, make _new_application a macro to _new_custom.
24057
24058 2005-07-20  Wim Taymans  <wim@fluendo.com>
24059
24060         * gst/base/gstbasesrc.c: (gst_base_src_init),
24061         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
24062         * gst/base/gstbasesrc.h:
24063         Add a gboolean to decide when to push out a discont.
24064
24065         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24066         (gst_queue_loop), (gst_queue_handle_src_query),
24067         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
24068         (gst_queue_set_property), (gst_queue_get_property):
24069         Some cleanups.
24070
24071         * tests/threadstate/threadstate1.c: (main):
24072         Make a thread test compile and run... very silly..
24073
24074
24075 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24076
24077         * docs/manual/appendix-porting.xml:
24078           Mention removal of libgstgconf-0.9.la and existence of gconf
24079           elements.
24080
24081 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24082
24083         * docs/pwg/advanced-clock.xml:
24084         * docs/pwg/appendix-porting.xml:
24085         * docs/pwg/intro-preface.xml:
24086         * docs/pwg/other-base.xml:
24087         * docs/pwg/other-manager.xml:
24088         * docs/pwg/other-nton.xml:
24089         * docs/pwg/other-ntoone.xml:
24090         * docs/pwg/other-oneton.xml:
24091         * docs/pwg/pwg.xml:
24092           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
24093           demuxer), remove n-to-n (was never written), fix some code examples
24094           and links and update the porting section to include all this.
24095
24096 2005-07-19  Wim Taymans  <wim@fluendo.com>
24097
24098         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
24099         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
24100         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
24101         (gst_queue_src_activate_push), (gst_queue_change_state),
24102         (gst_queue_get_property):
24103         * gst/gstqueue.h:
24104         Propagate GstFlowReturn more intelligently upstream and output
24105         an ERROR/EOS when streaming stopped due to fatal error.
24106
24107 2005-07-19  Wim Taymans  <wim@fluendo.com>
24108
24109         * tools/gst-launch.c: (check_intr), (event_loop), (main):
24110         Don't block forever for the state change to complete, the
24111         pipeline already did with a sensible timeout.
24112
24113 2005-07-19  Wim Taymans  <wim@fluendo.com>
24114
24115         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
24116         Make sure we never call the create function is we
24117         got deactivated.
24118
24119 2005-07-19  Andy Wingo  <wingo@pobox.com>
24120
24121         * gst/parse/parse.l: Attempt to solve bug #172815.
24122
24123 2005-07-19  Wim Taymans  <wim@fluendo.com>
24124
24125         * docs/design/part-clocks.txt:
24126         * docs/design/part-events.txt:
24127         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
24128         Small docs updates.
24129         Only update the seeking values when we are not
24130         busy streaming.
24131
24132 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
24133
24134         * gst/base/gstbasesrc.c: (gst_base_src_loop):
24135           Oops, ignore the result of gst_pad_push_event here.
24136
24137 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
24138
24139         * gst/base/gstbasesrc.c: (gst_base_src_loop),
24140         (gst_base_src_activate_push):
24141           Send discont event from the loop function, as pads
24142           aren't activated yet in the activate_push handler.
24143
24144         * gst/gstbin.c: (bin_bus_handler):
24145           Don't leak element name.
24146
24147 2005-07-18  Andy Wingo  <wingo@pobox.com>
24148
24149         * configure.ac: Use AS_LIBTOOL_TAGS.
24150
24151 2005-07-18  Wim Taymans  <wim@fluendo.com>
24152
24153         * docs/gst/gstreamer.types:
24154         Remove deleted types.
24155
24156 2005-07-18  Wim Taymans  <wim@fluendo.com>
24157
24158         * check/elements/gstfakesrc.c: (GST_START_TEST):
24159         * configure.ac:
24160         * gst/Makefile.am:
24161         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
24162         (init_popt_callback):
24163         * gst/gst.h:
24164         * gst/gst_private.h:
24165         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
24166         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
24167         * gst/gstbin.h:
24168         * gst/gstbus.h:
24169         * gst/gstconfig.h.in:
24170         * gst/gstelement.c: (gst_element_class_init),
24171         (gst_element_set_base_time), (gst_element_get_base_time),
24172         (iterator_fold_with_resync), (gst_element_change_state),
24173         (gst_element_dispose), (gst_element_get_bus):
24174         * gst/gstelement.h:
24175         * gst/gstelementfactory.h:
24176         * gst/gsterror.c: (_gst_core_errors_init):
24177         * gst/gsterror.h:
24178         * gst/gstevent.h:
24179         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
24180         * gst/gstindex.c:
24181         * gst/gstinfo.c: (_gst_debug_init):
24182         * gst/gstmessage.c: (_gst_message_copy):
24183         * gst/gstmessage.h:
24184         * gst/gstminiobject.h:
24185         * gst/gstobject.c:
24186         * gst/gstobject.h:
24187         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
24188         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
24189         * gst/gstpad.h:
24190         * gst/gstparse.h:
24191         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
24192         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
24193         (gst_pipeline_get_last_stream_time):
24194         * gst/gstpipeline.h:
24195         * gst/gstpluginfeature.h:
24196         * gst/gstquery.h:
24197         * gst/gstscheduler.c:
24198         * gst/gstscheduler.h:
24199         * gst/gststructure.h:
24200         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
24201         (gst_task_finalize), (gst_task_func), (gst_task_create),
24202         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
24203         (gst_task_stop), (gst_task_pause):
24204         * gst/gsttask.h:
24205         * gst/gsttypefind.h:
24206         * gst/gsttypes.h:
24207         * gst/registries/gstlibxmlregistry.c: (load_feature),
24208         (gst_xml_registry_load), (gst_xml_registry_save_feature):
24209         * gst/registries/gstxmlregistry.c:
24210         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
24211         * gst/schedulers/threadscheduler.c:
24212         * libs/gst/control/dparammanager.h:
24213         * tools/gst-inspect.c: (print_element_list),
24214         (print_plugin_features), (print_element_features):
24215         * tools/gst-xmlinspect.c: (print_element_list),
24216         (print_plugin_info), (main):
24217         Removed plugable schedulers.
24218         Removed Scheduler/Manager from elements.
24219         Removed gsttypes.h, rearranged includes.
24220         Removed dependency pad<->element, element<>pipeline, and
24221         various others,  fix includes.
24222         implement gst_pad_get_parent() with gst_object_get_parent()
24223         Make GstTask sefcontained.
24224         Fix _get_state() on GstBin, it did not return ASYNC with a 0
24225         timeout.
24226         Fix endless loop in iterator_fold_with_resync.
24227
24228
24229 2005-07-18  Wim Taymans  <wim@fluendo.com>
24230
24231         * gst/Makefile.am:
24232         * gst/gstarch.h:
24233         Remove old file.
24234
24235 2005-07-18  Wim Taymans  <wim@fluendo.com>
24236
24237         * gst/Makefile.am:
24238         No more cothreads.h
24239
24240 2005-07-18  Wim Taymans  <wim@fluendo.com>
24241
24242         * gst/cothreads.c:
24243         * gst/cothreads.h:
24244         Let's remove these.
24245
24246 2005-07-18  Wim Taymans  <wim@fluendo.com>
24247
24248         * docs/design/part-dynamic.txt:
24249         * docs/design/part-events.txt:
24250         * docs/design/part-seeking.txt:
24251         Some more docs in the works.
24252
24253         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24254         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
24255         (gst_base_transform_setcaps), (gst_base_transform_get_size),
24256         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24257         (gst_base_transform_handle_buffer),
24258         (gst_base_transform_sink_activate_push),
24259         (gst_base_transform_src_activate_pull),
24260         (gst_base_transform_set_passthrough),
24261         (gst_base_transform_is_passthrough):
24262         Refcounting fixes.
24263
24264         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
24265         Cleanups.
24266
24267         * gst/gstevent.c: (gst_event_finalize):
24268         Set SRC to NULL.
24269
24270         * gst/gstutils.c: (gst_element_unlink),
24271         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
24272         (gst_pad_proxy_setcaps):
24273         * gst/gstutils.h:
24274         Add _get_parent_element() to get a pads parent as an element.
24275
24276 2005-07-18  Wim Taymans  <wim@fluendo.com>
24277
24278         * check/gst/gstbin.c: (GST_START_TEST):
24279         Remove bogus test.
24280
24281 2005-07-18  Wim Taymans  <wim@fluendo.com>
24282
24283         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
24284         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
24285         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
24286         (gst_base_sink_event), (gst_base_sink_do_sync),
24287         (gst_base_sink_chain), (gst_base_sink_loop),
24288         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
24289         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
24290         Refcounting fixes.
24291         Fix logic for returning ASYNC when not prerolled.
24292
24293 2005-07-18  Wim Taymans  <wim@fluendo.com>
24294
24295         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24296         Fix nasty refcount bug.
24297
24298 2005-07-16 Philippe Khalaf <burger@speedy.org>
24299
24300         * gst/elements/gstfdsrc.c:
24301         * gst/elements/gstfdsrc.h:
24302         * gst/elements/gstelements.c:
24303         * gst/elements/Makefile.am:
24304         Ported fdsrc to 0.9.
24305
24306 2005-07-16  Wim Taymans  <wim@fluendo.com>
24307
24308         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24309         (gst_base_sink_do_sync):
24310         Fix compile error.
24311
24312 2005-07-16  Wim Taymans  <wim@fluendo.com>
24313
24314         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24315         (gst_base_sink_event), (gst_base_sink_get_times),
24316         (gst_base_sink_do_sync), (gst_base_sink_change_state):
24317         * gst/base/gstbasesink.h:
24318         Store and use discont values when syncing buffers as described
24319         in design docs.
24320         
24321         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24322         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
24323         (gst_base_src_activate_push):
24324         Push discont event when starting.
24325
24326         * gst/elements/gstidentity.c: (gst_identity_transform):
24327         Small cleanups.
24328
24329         * gst/gstbin.c: (gst_bin_change_state):
24330         Small cleanups in base_time  distribution.
24331
24332         * gst/gstelement.c: (gst_element_set_base_time),
24333         (gst_element_get_base_time), (gst_element_change_state):
24334         * gst/gstelement.h:
24335         Added methods for the base_time of the element.
24336         Some MT fixes.
24337
24338         * gst/gstpipeline.c: (gst_pipeline_send_event),
24339         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
24340         (gst_pipeline_get_last_stream_time):
24341         * gst/gstpipeline.h:
24342         MT fixes.
24343         Handle seeking as described in design doc, remove stream_time
24344         hack.
24345         Cleanups clock and stream_time selection code. Added accessors
24346         for the stream_time.
24347         
24348
24349 2005-07-16  Andy Wingo  <wingo@pobox.com>
24350
24351         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
24352         (#305291).
24353
24354 2005-07-16  Wim Taymans  <wim@fluendo.com>
24355
24356         * check/gst/gstbin.c: (GST_START_TEST):
24357         Make elements silent as the deep_notify refs the
24358         parent, which might make the test fail.
24359
24360         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
24361         Don't hold the lock for too long.
24362
24363 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
24364
24365         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
24366           Don't unref the caps we passed to gst_caps_make_writable() after
24367           passing them. gst_caps_make_writable() will do that for us.
24368
24369 2005-07-15  Andy Wingo  <wingo@pobox.com>
24370
24371         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
24372         (#157311).
24373
24374         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
24375         own marshalling function for the handoff signal. Properly type the
24376         buffer as a buffer. Fixes some warnings. Should do a more general
24377         solution.
24378         (gst_identity_class_init): Plug into the right marshaller.
24379
24380 2005-07-15  Wim Taymans  <wim@fluendo.com>
24381
24382         * docs/design/part-TODO.txt:
24383         * docs/design/part-clocks.txt:
24384         * docs/design/part-element-sink.txt:
24385         * docs/design/part-events.txt:
24386         * docs/design/part-gstpipeline.txt:
24387         Updated docs, mostly DISCONT related.
24388
24389 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
24390
24391         * docs/pwg/building-pads.xml:
24392           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
24393
24394 2005-07-15  Andy Wingo  <wingo@pobox.com>
24395
24396         * tools/gst-typefind.c: Update, add copyright block.
24397
24398         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
24399         Normalize and truncate caps before fixation.
24400
24401         * gst/gstcaps.h:
24402         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
24403         discards all but the first structure from its argument.
24404
24405 2005-07-15  Wim Taymans  <wim@fluendo.com>
24406
24407         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24408         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
24409         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24410         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24411         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
24412         (gst_base_transform_chain), (gst_base_transform_change_state),
24413         (gst_base_transform_set_passthrough),
24414         (gst_base_transform_is_passthrough):
24415         * gst/base/gstbasetransform.h:
24416         Make passthrough work using the bufferpools.
24417         Changed API a bit, subclasses have to write into a buffer
24418         provided by the base class.
24419         More debug info in nego functions.
24420         
24421         * gst/elements/gstidentity.c: (gst_identity_init),
24422         (gst_identity_transform):
24423         Port to new base class.
24424
24425 2005-07-15  Wim Taymans  <wim@fluendo.com>
24426
24427         * gst/gstmessage.c: (gst_message_new_state_changed):
24428         * tools/gst-launch.c: (event_loop), (main):
24429         Totally dump messages in -launch with the -m option.
24430         Fix message name for State messages,
24431
24432 2005-07-14  Wim Taymans  <wim@fluendo.com>
24433
24434         * gst/base/gstbasesrc.c: (gst_base_src_loop):
24435         Post error messages on errors.
24436
24437 2005-07-14  Wim Taymans  <wim@fluendo.com>
24438
24439         * gst/gstcaps.c: (gst_caps_do_simplify):
24440         Remove debug info.
24441
24442         * gst/gsterror.h:
24443         Define error for stream stopped.
24444
24445         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24446         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
24447         Do proper return values.
24448
24449         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
24450         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
24451         (gst_pad_get_range):
24452         Better return values.
24453
24454         * gst/gstpad.h:
24455         Reorganise return values, add macro to check for fatal errors.
24456
24457         * gst/gstqueue.c: (gst_queue_chain):
24458         Return proper GstFlowReturn values,
24459
24460 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
24461
24462         * docs/gst/gstreamer-sections.txt:
24463         * docs/gst/gstreamer.types:
24464         * docs/gst/tmpl/gst.sgml:
24465         * docs/gst/tmpl/gstbasesink.sgml:
24466         * docs/gst/tmpl/gstbasesrc.sgml:
24467         * docs/gst/tmpl/gstbasetransform.sgml:
24468         * docs/gst/tmpl/gstbin.sgml:
24469         * docs/gst/tmpl/gstbuffer.sgml:
24470         * docs/gst/tmpl/gstcaps.sgml:
24471         * docs/gst/tmpl/gstclock.sgml:
24472         * docs/gst/tmpl/gstcompat.sgml:
24473         * docs/gst/tmpl/gstconfig.sgml:
24474         * docs/gst/tmpl/gstelement.sgml:
24475         * docs/gst/tmpl/gstelementdetails.sgml:
24476         * docs/gst/tmpl/gstelementfactory.sgml:
24477         * docs/gst/tmpl/gstenumtypes.sgml:
24478         * docs/gst/tmpl/gsterror.sgml:
24479         * docs/gst/tmpl/gstevent.sgml:
24480         * docs/gst/tmpl/gstfakesink.sgml:
24481         * docs/gst/tmpl/gstfakesrc.sgml:
24482         * docs/gst/tmpl/gstfilesink.sgml:
24483         * docs/gst/tmpl/gstfilesrc.sgml:
24484         * docs/gst/tmpl/gstfilter.sgml:
24485         * docs/gst/tmpl/gstformat.sgml:
24486         * docs/gst/tmpl/gstghostpad.sgml:
24487         * docs/gst/tmpl/gstimplementsinterface.sgml:
24488         * docs/gst/tmpl/gstindex.sgml:
24489         * docs/gst/tmpl/gstindexfactory.sgml:
24490         * docs/gst/tmpl/gstinfo.sgml:
24491         * docs/gst/tmpl/gstiterator.sgml:
24492         * docs/gst/tmpl/gstmacros.sgml:
24493         * docs/gst/tmpl/gstmemchunk.sgml:
24494         * docs/gst/tmpl/gstminiobject.sgml:
24495         * docs/gst/tmpl/gstobject.sgml:
24496         * docs/gst/tmpl/gstpad.sgml:
24497         * docs/gst/tmpl/gstpadtemplate.sgml:
24498         * docs/gst/tmpl/gstparse.sgml:
24499         * docs/gst/tmpl/gstpipeline.sgml:
24500         * docs/gst/tmpl/gstplugin.sgml:
24501         * docs/gst/tmpl/gstpluginfeature.sgml:
24502         * docs/gst/tmpl/gstquery.sgml:
24503         * docs/gst/tmpl/gstqueue.sgml:
24504         * docs/gst/tmpl/gstregistry.sgml:
24505         * docs/gst/tmpl/gstregistrypool.sgml:
24506         * docs/gst/tmpl/gstscheduler.sgml:
24507         * docs/gst/tmpl/gstschedulerfactory.sgml:
24508         * docs/gst/tmpl/gststructure.sgml:
24509         * docs/gst/tmpl/gstsystemclock.sgml:
24510         * docs/gst/tmpl/gsttaglist.sgml:
24511         * docs/gst/tmpl/gsttagsetter.sgml:
24512         * docs/gst/tmpl/gsttrace.sgml:
24513         * docs/gst/tmpl/gsttrashstack.sgml:
24514         * docs/gst/tmpl/gsttypefind.sgml:
24515         * docs/gst/tmpl/gsttypefindfactory.sgml:
24516         * docs/gst/tmpl/gsttypes.sgml:
24517         * docs/gst/tmpl/gsturihandler.sgml:
24518         * docs/gst/tmpl/gsturitype.sgml:
24519         * docs/gst/tmpl/gstutils.sgml:
24520         * docs/gst/tmpl/gstvalue.sgml:
24521         * docs/gst/tmpl/gstversion.sgml:
24522         * docs/gst/tmpl/gstxml.sgml:
24523         * docs/libs/tmpl/gstcontrol.sgml:
24524         * docs/libs/tmpl/gstdataprotocol.sgml:
24525         * docs/libs/tmpl/gstdparam.sgml:
24526         * docs/libs/tmpl/gstdplinint.sgml:
24527         * docs/libs/tmpl/gstdpman.sgml:
24528         * docs/libs/tmpl/gstdpsmooth.sgml:
24529         * docs/libs/tmpl/gstgetbits.sgml:
24530         * docs/libs/tmpl/gstunitconvert.sgml:
24531         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
24532         (gst_push_src_base_init), (gst_push_src_class_init),
24533         (gst_push_src_init), (gst_push_src_create):
24534         * gst/base/gstpushsrc.h:
24535         * gst/elements/gstelements.c:
24536         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
24537         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
24538         (gst_fake_sink_init), (gst_fake_sink_set_property),
24539         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
24540         (gst_fake_sink_event), (gst_fake_sink_preroll),
24541         (gst_fake_sink_render), (gst_fake_sink_change_state):
24542         * gst/elements/gstfakesink.h:
24543         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
24544         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
24545         (gst_fake_src_base_init), (gst_fake_src_class_init),
24546         (gst_fake_src_init), (gst_fake_src_event_handler),
24547         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
24548         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
24549         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
24550         (gst_fake_src_create_buffer), (gst_fake_src_create),
24551         (gst_fake_src_start), (gst_fake_src_stop):
24552         * gst/elements/gstfakesrc.h:
24553         * gst/elements/gstfilesink.c: (_do_init),
24554         (gst_file_sink_base_init), (gst_file_sink_class_init),
24555         (gst_file_sink_init), (gst_file_sink_dispose),
24556         (gst_file_sink_set_location), (gst_file_sink_set_property),
24557         (gst_file_sink_get_property), (gst_file_sink_open_file),
24558         (gst_file_sink_close_file), (gst_file_sink_query),
24559         (gst_file_sink_event), (gst_file_sink_render),
24560         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
24561         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
24562         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
24563         * gst/elements/gstfilesink.h:
24564         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
24565         (gst_file_src_class_init), (gst_file_src_init),
24566         (gst_file_src_finalize), (gst_file_src_set_location),
24567         (gst_file_src_set_property), (gst_file_src_get_property),
24568         (gst_file_src_map_region), (gst_file_src_map_small_region),
24569         (gst_file_src_create_mmap), (gst_file_src_create_read),
24570         (gst_file_src_create), (gst_file_src_is_seekable),
24571         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
24572         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
24573         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
24574         (gst_file_src_uri_handler_init):
24575         * gst/elements/gstfilesrc.h:
24576           more autistic cleanliness in functions/names/defines
24577
24578 2005-07-13  Andy Wingo  <wingo@pobox.com>
24579
24580         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
24581         source couldn't negotiate.
24582
24583         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
24584         connections again.
24585
24586         * gst/gstutils.h:
24587         * gst/gstutils.c (gst_element_link_pads_filtered): New old
24588         function. I am channeling Hades. Put your boots on suckers!!!
24589
24590 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
24591
24592         * testsuite/caps/Makefile.am:
24593         * testsuite/caps/value_compare.c:
24594         * testsuite/caps/value_intersect.c:
24595         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24596           move two testsuite apps over to the check dir
24597
24598 2005-07-12  Wim Taymans  <wim@fluendo.com>
24599
24600         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
24601         Added more debug info in the negotiate process.
24602
24603         * gst/gstmessage.h:
24604         Prepare for segment playback.
24605
24606         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
24607         Better debugging.
24608
24609         * gst/gstutils.c:
24610         Some more docs.
24611
24612         * tools/gst-launch.c: (main):
24613         NULL pipeline on errors.
24614
24615 2005-07-12  Andy Wingo  <wingo@pobox.com>
24616
24617         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
24618         not it comes from a malloc region. Make sure our copy gets freed.
24619
24620 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
24621
24622         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24623         * check/gst/gstmessage.c: (GST_START_TEST):
24624         * check/gst/gststructure.c: (GST_START_TEST),
24625         (gst_structure_suite), (main):
24626           more testing
24627         * gst/gstelement.c: (gst_element_message_full):
24628           clean up GError and debug string now that they get copied
24629         * gst/gstmessage.c: (gst_message_new_error),
24630         (gst_message_new_warning), (gst_message_parse_error),
24631         (gst_message_parse_warning):
24632           use GST_TYPE_G_ERROR for structure_new, and take copies of
24633           arguments, so that we don't mess up refcounting
24634
24635 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
24636
24637         * check/Makefile.am:
24638           add per-test valgrind targets
24639         * check/gst-libs/gdp.c: (GST_START_TEST),
24640         (gst_data_protocol_suite), (main):
24641           clean up
24642
24643 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
24644
24645         * check/Makefile.am:
24646           instate more valgrindable tests
24647         * check/elements/gstfakesrc.c: (chain_func), (event_func),
24648         (GST_START_TEST), (fakesrc_suite):
24649         * check/gst/gstpad.c: (GST_START_TEST):
24650         * check/gst/gststructure.c: (GST_START_TEST):
24651           fix test leaks
24652         * docs/gst/tmpl/gstminiobject.sgml:
24653         * gst/gstpad.c: (gst_pad_finalize):
24654           fix the static mutex leak
24655
24656 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
24657
24658         * check/Makefile.am:
24659           add two more tests for valgrinding
24660         * check/gst/gstvalue.c: (GST_START_TEST):
24661           test refcount of deserialized buffer, found a leak
24662         * docs/gst/gstreamer-docs.sgml:
24663         * docs/gst/gstreamer-sections.txt:
24664         * docs/gst/gstreamer.types:
24665         * docs/gst/tmpl/gstminiobject.sgml:
24666           add miniobject to docs
24667         * gst/gstminiobject.c:
24668           add some docs
24669         * gst/gstvalue.c: (gst_value_deserialize_buffer),
24670         (gst_string_unwrap):
24671           fix a hard-to-find invalid write for one of the tests
24672           fix a leak for deserialized buffers
24673
24674 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24675
24676         * docs/pwg/advanced-events.xml:
24677         * docs/pwg/advanced-request.xml:
24678         * docs/pwg/advanced-scheduling.xml:
24679         * docs/pwg/appendix-porting.xml:
24680         * docs/pwg/building-boiler.xml:
24681         * docs/pwg/intro-preface.xml:
24682         * docs/pwg/other-ntoone.xml:
24683           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
24684           of example code and explanation for pad activation, loop() and
24685           getrange() functions and a bit more. Remove old comments pointing
24686           to loop-functions.
24687         * examples/pwg/Makefile.am:
24688           Add loop/getrange examples.
24689
24690 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
24691
24692         * configure.ac:
24693           check for valgrind binary + some fixes
24694         * check/gst.supp:
24695           valgrind suppressions for the tests
24696         * check/Makefile.am:
24697           add a valgrind: target that valgrinds the unit tests
24698         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
24699         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24700         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24701         * check/gst/gstghostpad.c:
24702           added some cleanup
24703         * check/gst/gstdata.c:
24704           removed
24705         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
24706         (thread_unref), (gst_mini_object_suite), (main):
24707           added
24708         * gst/gst.c: (gst_deinit):
24709         * gst/gst.h:
24710           add a method to clean up.
24711         * gst/gstsystemclock.c: (gst_system_clock_dispose),
24712         (gst_system_clock_obtain):
24713           allow for disposing the system clock.
24714         * tools/gst-launch.c: (main):
24715           deinit
24716
24717 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
24718
24719         * docs/gst/tmpl/gstbasesrc.sgml:
24720         * docs/gst/tmpl/gstfakesrc.sgml:
24721         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24722         (gst_base_src_init), (gst_base_src_set_property),
24723         (gst_base_src_get_property), (gst_base_src_get_range),
24724         (gst_base_src_start):
24725         * gst/base/gstbasesrc.h:
24726           add num-buffers property
24727         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24728         (gst_fakesrc_init), (gst_fakesrc_set_property),
24729         (gst_fakesrc_get_property), (gst_fakesrc_create),
24730         (gst_fakesrc_start):
24731           remove num-buffers property
24732
24733 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
24734
24735         * docs/gst/gstreamer-sections.txt:
24736         * docs/gst/tmpl/gstbasesink.sgml:
24737         * docs/gst/tmpl/gstbasesrc.sgml:
24738         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
24739         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
24740         (gst_base_sink_finalize), (gst_base_sink_set_clock),
24741         (gst_base_sink_set_property), (gst_base_sink_get_property),
24742         (gst_base_sink_handle_object), (gst_base_sink_event),
24743         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
24744         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
24745         (gst_base_sink_loop), (gst_base_sink_deactivate),
24746         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
24747         (gst_base_sink_change_state):
24748         * gst/base/gstbasesink.h:
24749         * gst/base/gstbasesrc.h:
24750         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
24751         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24752         (gst_filesink_init):
24753           more macro splitting
24754
24755 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
24756
24757         * gst/gstelement.c: (gst_element_get_bus):
24758           add debug
24759         * tools/gst-launch.c: (check_intr), (event_loop):
24760           fix bus leaks
24761
24762 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
24763
24764         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
24765           fix a caps leak
24766
24767 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
24768
24769         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24770         (gst_base_src_finalize):
24771           add finalize method and clean up properly
24772         * gst/gstpipeline.c: (gst_pipeline_dispose):
24773           add debug
24774
24775 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24776
24777         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
24778         (gst_bin_suite):
24779           add more things to check
24780         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24781         * gst/gstelement.c:
24782           more debug
24783
24784 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24785
24786         * check/elements/gstfakesrc.c: (chain_func), (event_func),
24787         (GST_START_TEST), (fakesrc_suite):
24788         * check/gst-libs/gdp.c: (GST_START_TEST):
24789         * check/gst/gst.c: (GST_START_TEST):
24790         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24791         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24792         * check/gst/gstbus.c: (GST_START_TEST):
24793         * check/gst/gstcaps.c: (GST_START_TEST):
24794         * check/gst/gstdata.c: (GST_START_TEST):
24795         * check/gst/gstelement.c: (GST_START_TEST):
24796         * check/gst/gstghostpad.c: (GST_START_TEST):
24797         * check/gst/gstiterator.c: (GST_START_TEST):
24798         * check/gst/gstmessage.c: (GST_START_TEST):
24799         * check/gst/gstobject.c: (GST_START_TEST):
24800         * check/gst/gstpad.c: (GST_START_TEST):
24801         * check/gst/gststructure.c: (GST_START_TEST):
24802         * check/gst/gstsystemclock.c: (GST_START_TEST),
24803         (gst_systemclock_suite):
24804         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24805         * check/gst/gstvalue.c: (GST_START_TEST):
24806         * check/pipelines/cleanup.c: (GST_START_TEST):
24807         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
24808         * check/states/sinks.c: (GST_START_TEST):
24809         * check/gstcheck.c: (gst_check_init):
24810         * check/gstcheck.h:
24811           add debugging category
24812           use GST_START_TEST now, so we add a debug line
24813
24814 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24815
24816         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
24817           add test for state change message on a bin
24818         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
24819           add another test
24820         * gst/gstbin.c: (gst_bin_init):
24821         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
24822         * gst/gstelement.c: (gst_element_post_message),
24823         (gst_element_set_state):
24824         * gst/gstelementfactory.c: (gst_element_factory_create):
24825         * gst/gstmessage.c: (gst_message_new):
24826         * gst/gstscheduler.c:
24827           various debugging additions and cleanups
24828
24829 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24830
24831         * check/Makefile.am:
24832         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
24833         (main):
24834           adding tests for elements
24835         * gst/gstelement.c: (gst_element_dispose):
24836
24837 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24838
24839         * gst/registries/gstlibxmlregistry.c: (load_feature):
24840           plug more leaks.  A simple gst_init() now is leakfree, yay.
24841
24842 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24843
24844         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
24845         (gst_xml_registry_load):
24846           plug another memleak
24847
24848 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24849
24850         * configure.ac:
24851           use GST_SET_ERROR_CFLAGS
24852         * docs/faq/cvs.xml:
24853           change to ERROR_CFLAGS
24854
24855 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24856
24857         * configure.ac:
24858           make GST_ERROR_CFLAGS overridable and re-enable Werror
24859         * docs/faq/cvs.xml:
24860           add a note about error CFLAGS
24861         * docs/gst/tmpl/gstfakesrc.sgml:
24862         * gst/elements/gstfakesrc.c:
24863           comment out some unused code
24864         * gst/gst.c: (split_and_iterate):
24865         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
24866         (load_feature):
24867           plug some memleaks
24868
24869 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
24870
24871         * common/Makefile.am:
24872         * common/gtk-doc.mak:
24873         * docs/gst/Makefile.am:
24874           factor out gtk-doc.mak
24875
24876 2005-07-07  Wim Taymans  <wim@fluendo.com>
24877
24878         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
24879         (gst_thread_scheduler_dispose):
24880         Unlock the STREAM_LOCK completely.
24881
24882 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
24883
24884         * check/Makefile.am:
24885         * check/elements/.cvsignore:
24886         * check/elements/gstfakesrc.c: (chain_func), (event_func),
24887         (START_TEST), (fakesrc_suite), (main):
24888         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24889         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
24890         (gst_fakesrc_create), (gst_fakesrc_start):
24891         * gst/elements/gstfakesrc.h:
24892           adding a first element test
24893
24894 2005-07-07  Andy Wingo  <wingo@pobox.com>
24895
24896         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
24897         debug message.
24898
24899 2005-07-07  Wim Taymans  <wim@fluendo.com>
24900
24901         * gst/gstquery.c:
24902         * gst/gstquery.h:
24903         Remove old types
24904
24905 2005-07-07  Wim Taymans  <wim@fluendo.com>
24906
24907         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24908         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
24909         Allow subclasses to implement their own negotiation.
24910
24911 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
24912
24913         * docs/design/part-gstbin.txt:
24914         * docs/design/part-gstpipeline.txt:
24915           Update design notes to reflect the movement of
24916           responsibility for bus handling from GstPipeline to
24917           GstBin
24918
24919 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
24920
24921         * configure.ac:
24922           Remove unnecessary queue2/3/4 examples.
24923
24924 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
24925
24926         * examples/Makefile.am:
24927         * examples/helloworld/helloworld.c: (event_loop), (main):
24928         * examples/queue/queue.c: (event_loop), (main):
24929         * examples/queue2/queue2.c: (main):
24930           Update a couple of the examples to work again.
24931
24932         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24933         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
24934          Spelling corrections and extra debug.
24935         
24936         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
24937         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
24938         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
24939         * gst/gstbin.h:
24940         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
24941         (gst_pipeline_change_state):
24942         * gst/gstpipeline.h:
24943           Move the bus handler for children to the GstBin, and create a
24944           separate bus for receiving messages from children to the one the
24945           bus sends 'upwards' on.
24946
24947 2005-07-06  Wim Taymans  <wim@fluendo.com>
24948
24949         * gst/base/README:
24950         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24951         (gst_base_sink_handle_object), (gst_base_sink_loop),
24952         (gst_base_sink_change_state):
24953         * gst/base/gstbasesink.h:
24954         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24955         (gst_base_src_init), (gst_base_src_setcaps),
24956         (gst_base_src_getcaps), (gst_base_src_loop),
24957         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
24958         (gst_base_src_start), (gst_base_src_change_state):
24959         * gst/base/gstbasesrc.h:
24960         Make basesrc negotiate.
24961         Handle the case where preroll fails in basesink.
24962         Update README.
24963
24964 2005-07-06  Wim Taymans  <wim@fluendo.com>
24965
24966         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
24967         Implement the fixate function.
24968         Clean up acceptcaps.
24969
24970 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24971
24972         * docs/pwg/building-filterfactory.xml:
24973         * docs/pwg/pwg.xml:
24974           Remove never-written filter-factory chapter; I'll add the various
24975           base classes to part 4 ("other element types") later on.
24976
24977 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24978
24979         * docs/pwg/advanced-negotiation.xml:
24980         * docs/pwg/building-boiler.xml:
24981         * docs/pwg/building-pads.xml:
24982         * docs/pwg/pwg.xml:
24983         * examples/pwg/Makefile.am:
24984           Add a chapter on caps negotiation, simplify the original code
24985           samples a bit w.r.t. caps negotiation, add link to the advanced
24986           section. Add a bunch of examples showing different use cases of
24987           different types of caps negotiation. Upstream renegotiation isn't
24988           fully documented yet since nobody knows how that works.
24989
24990 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24991
24992         * check/gst/gstpad.c:
24993         * check/gstcheck.c:
24994         * gst/gstpad.c: (gst_pad_get_internal_links_default):
24995           if pad has no parent, return NULL as list of internal links
24996
24997 2005-07-05  Andy Wingo  <wingo@pobox.com>
24998
24999         * gst/elements/gstfilesrc.c:
25000         * gst/elements/gstfakesrc.c: 
25001         * gst/base/gstpushsrc.c:
25002         * gst/base/gstbasesrc.h: 
25003         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
25004         
25005 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
25006
25007         * Makefile.am:
25008           better report generation target (lcov needs a patch)
25009
25010 2005-07-05  Andy Wingo  <wingo@pobox.com>
25011
25012         * gst/elements, testsuite: Null if we got it...
25013
25014 2005-07-05  Wim Taymans  <wim@fluendo.com>
25015
25016         * configure.ac:
25017         * libs/gst/dataprotocol/Makefile.am:
25018         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
25019         * libs/gst/dataprotocol/dataprotocol.h:
25020         * pkgconfig/Makefile.am:
25021         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
25022         * pkgconfig/gstreamer-dataprotocol.pc.in:
25023         Ported dataprotol to 0.9. 
25024         Added pkgconfig files.
25025
25026 2005-07-05  Andy Wingo  <wingo@pobox.com>
25027
25028         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
25029         Default to returning TRUE for the case when tranform_caps returns
25030         a fixed caps, like for identity or volume.
25031
25032         * check/gst/gstbus.c (pound_bus_with_messages): 
25033         * check/gst/gstmessage.c (START_TEST): 
25034         * check/pipelines/simple_launch_lines.c (got_handoff): Application
25035         message API change.
25036
25037         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
25038         logic weaks here: always run transform_caps, trying passthrough
25039         operation only if the original caps intersects with the transform.
25040
25041         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
25042         source and sink caps.
25043
25044         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
25045         Intersect the peer caps with the pad template before going into
25046         transform_caps.
25047         (gst_base_transform_transform_caps): More debugging.
25048
25049         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
25050         src argument.
25051
25052 2005-07-04  Edward Hervey  <edward@fluendo.com>
25053
25054         * gst/gstutils.c:
25055         * gst/gstutils.h:
25056         (gst_pad_add_*_probe): now returns the signal id for better wrapping
25057         in bindings.
25058
25059 2005-07-04  Andy Wingo  <wingo@pobox.com>
25060
25061         * check/gst/gstpad.c: Only set explicit caps on pads.
25062
25063 2005-07-01  Andy Wingo  <wingo@pobox.com>
25064
25065         * tests/network-clock.scm: Commentary update.
25066
25067         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
25068         Didn't really make sense, not implementable with basetransform,
25069         etc.
25070         (gst_identity_transform): Unref inbuf via make_writable. Feeble
25071         attempt at implementing the sync property, needs an unlock method.
25072
25073         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
25074         New func, by default returns the same caps (the identity
25075         transformation).
25076         (gst_base_transform_getcaps): Uses transform_caps to return
25077         something sensible.
25078         (gst_base_transform_setcaps): Complicated logic to get caps on
25079         both pads, even if they are different, and to call set_caps once
25080         for every time both pads get their caps set.
25081         (gst_base_transform_handle_buffer): Give the ref to the transform
25082         function. Allows in-place modification of the buffer.
25083
25084         * gst/base/gstbasetransform.h (transform_caps): New class method.
25085         Given caps on one side, what can I do on the other.
25086         (set_caps): Take two caps, one for each side of the element.
25087
25088         * gst/gstpad.h:
25089         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
25090         caps in place. This is safe because we can check the mutability of
25091         the caps, and a good idea because fixate functions are just called
25092         as a matter of last resort. (Not actually implemented.)
25093         (gst_pad_set_caps): If the caps we're setting is actually the same
25094         as the existing pad caps, just update the pointer without calling
25095         setcaps. Assert that caps is either NULL or fixed, as per the
25096         docs.
25097
25098         * gst/gstghostpad.c: Update for fixate changes.
25099
25100 2005-07-02  Andy Wingo  <wingo@pobox.com>
25101
25102         * gst/gstcaps.c:
25103         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
25104         two refcounts makes it immutable, which is enough. Doc more.
25105
25106 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
25107
25108         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
25109           Put the mini_object into GValue as a mini_object,
25110           not a gpointer, since that's how we declared
25111           the signal.
25112
25113 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25114
25115         * examples/pwg/Makefile.am:
25116           Fix buildbot again.
25117
25118 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25119
25120         * docs/pwg/building-testapp.xml:
25121           Add extra check.
25122         * examples/pwg/Makefile.am:
25123           Fix buildbot.
25124
25125 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25126
25127         * configure.ac:
25128         * examples/Makefile.am:
25129         * examples/pwg/Makefile.am:
25130         * examples/pwg/extract.pl:
25131           Enable building the PWG examples.
25132         * docs/pwg/advanced-interfaces.xml:
25133           Add URI interface stub.
25134         * docs/pwg/advanced-types.xml:
25135         * docs/pwg/other-autoplugger.xml:
25136         * docs/pwg/appendix-porting.xml:
25137         * docs/pwg/pwg.xml:
25138           Add porting guide (mostly stubs), remove autoplugging (see ADM).
25139         * docs/pwg/building-boiler.xml:
25140         * docs/pwg/building-chainfn.xml:
25141         * docs/pwg/building-pads.xml:
25142         * docs/pwg/building-props.xml:
25143         * docs/pwg/building-state.xml:
25144         * docs/pwg/building-testapp.xml:
25145           Update the building-*.xml parts for 0.9 changes. All examples
25146           code blocks compile in examples/pwg/*.
25147
25148 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25149
25150         * docs/manual/advanced-autoplugging.xml:
25151         * docs/manual/appendix-checklist.xml:
25152         * docs/manual/appendix-integration.xml:
25153         * docs/manual/highlevel-components.xml:
25154           Fix playbin/decodebin examples, update docs a bit, mention bus
25155           instead of signals in various places, mention kmplayer and
25156           kaffeine since they have a working GStreamer backend in the KDE
25157           section.
25158
25159 2005-06-30  Wim Taymans  <wim@fluendo.com>
25160
25161         * CHANGES-0.9:
25162         * docs/design/draft-ghostpads.txt:
25163         * docs/design/draft-push-pull.txt:
25164         * docs/design/draft-query.txt:
25165         * docs/design/part-TODO.txt:
25166         * docs/design/part-query.txt:
25167         Added CHANGES-0.9 doc, updated status of other docs.
25168         
25169         * gst/gstquery.h:
25170         Remove "hmm" macro
25171
25172 2005-06-30  Wim Taymans  <wim@fluendo.com>
25173
25174         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
25175         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25176         (gst_base_sink_change_state):
25177         * gst/base/gstbasesink.h:
25178         Some tweaks, only EOS and a buffer complete a preroll.
25179
25180 2005-06-30  Andy Wingo  <wingo@pobox.com>
25181
25182         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
25183         activate_push down to the internal pad as well.
25184
25185 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
25186
25187         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25188
25189         * gst/gsttaginterface.c:
25190           Some documentation fixes (#307394 and #307397).
25191
25192 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
25193
25194         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25195
25196         * gst/gstvalue.c: (gst_value_intersect_list):
25197           Fix memleak (#309125).
25198
25199 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25200
25201         * docs/manual/advanced-dataaccess.xml:
25202           Fix fakesrc example to compile; doesn't work, bug somewhere...?
25203         * docs/manual/basics-pads.xml:
25204           Add reference for filtered caps to above chapter.
25205
25206 2005-06-30  Wim Taymans  <wim@fluendo.com>
25207
25208         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
25209         (gst_bin_change_state):
25210         Probes are gone.
25211         Lame attempt at making the state change function a bit
25212         more readable.
25213
25214 2005-06-30  Wim Taymans  <wim@fluendo.com>
25215
25216         * docs/design/part-clocks.txt:
25217         * docs/design/part-element-sink.txt:
25218         * docs/design/part-events.txt:
25219         * docs/design/part-preroll.txt:
25220         * docs/design/part-states.txt:
25221         Some more tweeks and additions to the docs.
25222
25223 2005-06-30  Wim Taymans  <wim@fluendo.com>
25224
25225         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
25226         (default_have_data), (gst_pad_class_init), (gst_pad_init),
25227         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
25228         (gst_pad_check_pull_range), (gst_pad_get_range),
25229         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
25230         * gst/gstpad.h:
25231         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
25232         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
25233         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
25234         (gst_pad_remove_buffer_probe):
25235         Removed atomic operations, use existing LOCK.
25236         Move exception handling out of main code path.
25237
25238 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25239
25240         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
25241         (silly_return_true_function), (gst_pad_class_init),
25242         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
25243         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
25244         (gst_pad_send_event):
25245           Fix accumulator, add default value by using _emitv() instead
25246           of _emit() for signal emission.
25247
25248 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25249
25250         * docs/manual/advanced-dataaccess.xml:
25251         * examples/manual/Makefile.am:
25252           Add probe example.
25253         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
25254           Make work (??).
25255
25256 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
25257
25258         * gst/elements/gstfilesink.c: (gst_filesink_render):
25259           Simplify code so that we don't have to handle short
25260           writes and return GST_FLOW_ERROR if an error occured.
25261
25262 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25263
25264         * docs/gst/gstreamer-docs.sgml:
25265           Remove probes more.
25266
25267 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25268
25269         * docs/gst/gstreamer-sections.txt:
25270         * docs/gst/tmpl/gstpad.sgml:
25271         * docs/gst/tmpl/gstprobe.sgml:
25272         * gst/Makefile.am:
25273         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
25274         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
25275         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
25276         (gst_pad_push_event), (gst_pad_send_event):
25277         * gst/gstpad.h:
25278         * gst/gstutils.c: (gst_pad_add_data_probe),
25279         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
25280         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
25281         (gst_pad_remove_buffer_probe):
25282         * gst/gstutils.h:
25283           Remove old probes, add new g-signal-based probes and some utility
25284           functions.
25285
25286 2005-06-29  Edward Hervey  <edward@fluendo.com>
25287
25288         * gst/gstelementfactory.c:
25289         * gst/gstutils.h:
25290         * gst/gstutils.c:
25291         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
25292         the definition to the header file.
25293
25294 2005-06-29  Andy Wingo  <wingo@pobox.com>
25295
25296         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
25297         plugins from the source directory.
25298
25299 2005-06-29  Wim Taymans  <wim@fluendo.com>
25300
25301         * docs/gst/tmpl/gstbuffer.sgml:
25302         * docs/gst/tmpl/gstclock.sgml:
25303         Some fixings for blantently wrong text.
25304
25305 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
25306
25307         * check/Makefile.am:
25308         * gst/gst.c: (add_path_func), (init_pre):
25309         * gst/gstregistry.c: (gst_registry_add_path):
25310           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
25311           only scan the GST_PLUGIN_PATH locations, and not add
25312           system locations
25313
25314 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
25315
25316         * docs/gst/gstreamer-sections.txt:
25317         * docs/gst/tmpl/gstbasesrc.sgml:
25318         * gst/gstelement.c:
25319         * gst/gstelement.h:
25320         * gst/gstevent.c:
25321         * gst/gstutils.c:
25322           doc fixes
25323
25324 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25325
25326         * docs/manual/advanced-autoplugging.xml:
25327           Fix autoplugging example.
25328
25329 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25330
25331         * docs/manual/advanced-autoplugging.xml:
25332         * docs/manual/mime-world.fig:
25333           Try to get autoplugging working, fix type detection. Fix text
25334           in hello-world image.
25335
25336 2005-06-29  Wim Taymans  <wim@fluendo.com>
25337
25338         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25339         (gst_base_sink_change_state):
25340         Small debug line.
25341
25342         * gst/gstclock.h:
25343         map SIGNAL and BROADCAST to the right function.
25344
25345         * gst/gstobject.h:
25346         Remove redundant braces.
25347
25348         * gst/gstpad.c: (gst_pad_set_caps):
25349         Don't call setcaps function when reseting caps to NULL.
25350
25351         * gst/gstsystemclock.c: (gst_system_clock_dispose),
25352         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
25353         (gst_system_clock_id_unschedule):
25354         Use BROADCAST as this is what we do.
25355
25356 2005-06-29  Wim Taymans  <wim@fluendo.com>
25357
25358         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25359         We are actually prerolling before commiting the state
25360         change. 
25361
25362 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25363
25364         * docs/manual/advanced-clocks.xml:
25365         * docs/manual/advanced-interfaces.xml:
25366         * docs/manual/advanced-metadata.xml:
25367         * docs/manual/advanced-position.xml:
25368         * docs/manual/advanced-schedulers.xml:
25369         * docs/manual/advanced-threads.xml:
25370         * docs/manual/appendix-porting.xml:
25371         * docs/manual/basics-bins.xml:
25372         * docs/manual/basics-bus.xml:
25373         * docs/manual/basics-elements.xml:
25374         * docs/manual/basics-helloworld.xml:
25375         * docs/manual/basics-pads.xml:
25376         * docs/manual/highlevel-components.xml:
25377         * docs/manual/manual.xml:
25378         * docs/manual/thread.fig:
25379           Update (until threads/scheduling) Application Development Manual;
25380           remove GstThread, add GstBus, add simple porting checklist, add
25381           documentation for tag writing, clocks, make all examples until this
25382           part compile and run.
25383         * examples/manual/Makefile.am:
25384           Update from changes to Application Development Manual; add bus
25385           example, remove thread example.
25386
25387 2005-06-28  Wim Taymans  <wim@fluendo.com>
25388
25389         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
25390         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
25391         (gst_bus_source_dispatch):
25392         Add debugging messages.
25393         Make internal methods static.
25394         Handle the case where the bus is flushed in the handler.
25395         
25396         * gst/gstelement.c: (gst_element_get_bus):
25397         Fix refcount in _get_bus();
25398
25399         * gst/gstpipeline.c: (gst_pipeline_change_state),
25400         (gst_pipeline_get_clock_func):
25401         Clock refcounting fixes.
25402         Handle the case where preroll timed out more gracefully.
25403         
25404         * gst/gstsystemclock.c: (gst_system_clock_dispose):
25405         Clean up the internal thread in dispose. This is needed
25406         for subclasses that actually get disposed.
25407         
25408         * gst/schedulers/threadscheduler.c:
25409         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
25410         (gst_thread_scheduler_dispose):
25411         Free thread pool in dispose.
25412
25413 2005-06-28  Andy Wingo  <wingo@pobox.com>
25414
25415         * tests/network-clock-utils.scm (debug, print-event): New utils.
25416
25417         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
25418         (*packet-loss*): Unified loss probability.
25419         (network-time): Report out-of-band events.
25420
25421         * tests/plot-data: Add support for out-of-band events. Hack it
25422         into this script instead of passing it down the pipe; should fix
25423         this later.
25424
25425 2005-06-28  Wim Taymans  <wim@fluendo.com>
25426
25427         * docs/gst/gstreamer.types:
25428         * docs/gst/tmpl/gstbasesrc.sgml:
25429         * docs/gst/tmpl/gstpad.sgml:
25430         Docs fixes.
25431
25432 2005-06-28  Wim Taymans  <wim@fluendo.com>
25433
25434         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25435         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
25436         (gst_proxy_pad_do_fixatecaps):
25437         Correctly proxy the check_pull_range function.
25438
25439 2005-06-28  Andy Wingo  <wingo@pobox.com>
25440
25441         * tests/network-clock.scm: Removed need for slib.
25442         
25443 2005-06-28  Wim Taymans  <wim@fluendo.com>
25444
25445         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
25446         (gst_basesink_preroll_queue_flush):
25447         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
25448         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
25449         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25450         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25451         (gst_proxy_pad_set_property):
25452         * gst/gstpad.c:
25453         * gst/gstpad.h:
25454         * gst/gstqueue.c: (gst_queue_init):
25455         The deprecated pad loop function is removed now.
25456
25457 2005-06-28  Andy Wingo  <wingo@pobox.com>
25458
25459         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
25460         New parameters, simulate network packet loss.
25461
25462         * tests/network-clock-utils.scm: Initialize the RNG.
25463
25464 2005-06-28  Wim Taymans  <wim@fluendo.com>
25465
25466         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
25467         (gst_basesink_event), (gst_basesink_deactivate):
25468         Flushing the preroll queue always needs to unlock the waiters.
25469
25470 2005-06-28  Edward Hervey  <edward@fluendo.com>
25471
25472         * gst/gstpipeline.c: (gst_pipeline_send_event): 
25473         Wheen a seek was successful on a pipeline, set the stream_time to the
25474         seek offset in order to have a synchronized stream_time.
25475
25476 2005-06-28  Wim Taymans  <wim@fluendo.com>
25477
25478         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25479         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
25480         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
25481         (gst_proxy_pad_do_fixatecaps):
25482         Call wrapper function instead of just calling the function
25483         pointers. This takes care of any locking and whatmore.
25484
25485 2005-06-28  Wim Taymans  <wim@fluendo.com>
25486
25487         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
25488         (gst_pad_pull_range):
25489         * gst/gstpad.h:
25490         CONNECTED -> LINKED.
25491
25492 2005-06-28  Andy Wingo  <wingo@pobox.com>
25493
25494         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
25495         source-munging commit!!!
25496
25497         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
25498         (gst_object_sink): Take gpointer arguments, not GstObject --
25499         avoids casts. Like GLib.
25500
25501         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
25502         activate.
25503
25504 2005-06-27  Andy Wingo  <wingo@pobox.com>
25505
25506         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
25507         remaining buffer.
25508
25509         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
25510         returns a sorted copy of the trace list.
25511         (gst_alloc_trace_print_live): New API, only prints traces with
25512         live objects. Sort the list.
25513         (gst_alloc_trace_print_all): Sort the list.
25514         (gst_alloc_trace_print): Align columns.
25515
25516         * gst/elements/gstttypefindelement.c:
25517         * gst/elements/gsttee.c:
25518         * gst/base/gstbasesrc.c:
25519         * gst/base/gstbasesink.c:
25520         * gst/base/gstbasetransform.c:
25521         * gst/gstqueue.c: Adapt for pad activation changes.
25522
25523         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
25524         sched.
25525         (gst_pipeline_dispose): Drop ref on sched.
25526
25527         * gst/gstpad.c (gst_pad_init): Set the default activate func.
25528         (gst_pad_activate_default): Push mode by default.
25529         (pre_activate_switch, post_activate_switch): New stubs, things to
25530         do before and after switching activation modes on pads.
25531         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
25532         the pad's activate function to choose which mode to activate.
25533         Shortcut on deactivation and call the right function directly.
25534         (gst_pad_activate_pull): New API, (de)activates a pad in pull
25535         mode.
25536         (gst_pad_activate_push): New API, same for push mode.
25537         (gst_pad_set_activate_function) 
25538         (gst_pad_set_activatepull_function) 
25539         (gst_pad_set_activatepush_function): Setters for new API.
25540
25541         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
25542         Trace all miniobjects.
25543         (gst_mini_object_make_writable): Unref the arg if we copy, like
25544         gst_caps_make_writable.
25545
25546         * gst/gstmessage.c (_gst_message_initialize): No trace init.
25547
25548         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
25549         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
25550         Adapt for new pad API.
25551
25552         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
25553
25554         * gst/gstelement.h:
25555         * gst/gstelement.c (gst_element_iterate_src_pads) 
25556         (gst_element_iterate_sink_pads): New API functions.
25557         
25558         * gst/gstelement.c (iterator_fold_with_resync): New utility,
25559         should fold into gstiterator.c in some form.
25560         (gst_element_pads_activate): Simplified via use of fold and
25561         delegation of decisions to gstpad->activate.
25562
25563         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
25564         help in debugging.
25565
25566         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
25567         class once in init, like gstmessage. Didn't run into this issue
25568         but it seems correct. Don't initialize a trace, gstminiobject does
25569         that.
25570
25571         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
25572         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
25573         to the bus.
25574         (assert_live_count): New util function, uses alloc traces to check
25575         cleanup.
25576
25577         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
25578         To be modified when unlink drops the internal pad.
25579
25580 2005-06-27  Wim Taymans  <wim@fluendo.com>
25581
25582         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
25583         (gst_bin_change_state):
25584         Cleanup the get_state() function a little, make sure it
25585         iterates the same set of elements.
25586         Added stub iterate_state_order().
25587
25588 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
25589
25590         * docs/gst/gstreamer-docs.sgml:
25591         * docs/gst/gstreamer-sections.txt:
25592         * docs/gst/gstreamer.types:
25593         * docs/gst/tmpl/gstbasesink.sgml:
25594         * docs/gst/tmpl/gstbasesrc.sgml:
25595         * docs/gst/tmpl/gstbasetransform.sgml:
25596         * docs/gst/tmpl/gstelement.sgml:
25597         * docs/gst/tmpl/gstiterator.sgml:
25598         * gst/base/gstbasesrc.c:
25599         * gst/base/gstbasesrc.h:
25600         * gst/base/gstbasetransform.h:
25601         * gst/gstelement.c:
25602         * gst/gstiterator.h:
25603           adding basetransform and iterator docs
25604
25605 2005-06-27  Andy Wingo  <wingo@pobox.com>
25606
25607         * docs/design/part-activation.txt: Notes on how activation should
25608         work -- not quite implemented yet.
25609
25610 2005-06-25  Wim Taymans  <wim@fluendo.com>
25611
25612         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
25613         At least get the chain function correct, needs more
25614         fixing.
25615
25616 2005-06-25  Wim Taymans  <wim@fluendo.com>
25617
25618         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25619         (gst_basesink_handle_object), (gst_basesink_event),
25620         (gst_basesink_do_sync), (gst_basesink_handle_event),
25621         (gst_basesink_change_state):
25622         * gst/gsttask.h:
25623         Right, two problems here: ghostpads don't take locks and
25624         glib _rec_mutex_lock_full() with depth==0 still locks.
25625         Catch illegal locking and g_warn them.
25626
25627 2005-06-25  Wim Taymans  <wim@fluendo.com>
25628
25629         * check/states/sinks.c: (START_TEST), (gst_object_suite):
25630         Have to check for completion now...
25631
25632 2005-06-25  Wim Taymans  <wim@fluendo.com>
25633
25634         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25635         (gst_basesink_handle_object), (gst_basesink_event),
25636         (gst_basesink_do_sync), (gst_basesink_handle_event),
25637         (gst_basesink_change_state):
25638         * gst/gstpad.h:
25639         Unlock STREAM_LOCK whatever the recursion was.
25640
25641 2005-06-25  Wim Taymans  <wim@fluendo.com>
25642
25643         * gst/base/gstbasesink.c: (gst_basesink_set_property),
25644         (gst_basesink_preroll_queue_empty),
25645         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
25646         (gst_basesink_event), (gst_basesink_do_sync),
25647         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
25648         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
25649         (gst_basesink_change_state):
25650         Reworked the base sink, handle event and buffer serialisation
25651         correctly and removed possible deadlock.
25652         Handle EOS correctly.
25653
25654 2005-06-25  Wim Taymans  <wim@fluendo.com>
25655
25656         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
25657         (gst_pipeline_change_state):
25658         * tools/gst-launch.c: (check_intr), (event_loop), (main):
25659         Allow elements to post EOS in the state change function.
25660         Fix up -launch, make it exit the poll loop when the
25661         pipeline actually changed state.
25662         Fix up warning parsing in -launch.
25663
25664 2005-06-25  Wim Taymans  <wim@fluendo.com>
25665
25666         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
25667         (gst_tee_sink_activate):
25668         Core takes STREAM_LOCK for us now.
25669
25670 2005-06-25  Wim Taymans  <wim@fluendo.com>
25671
25672         * gst/gstelement.c: (gst_element_get_state_func),
25673         (gst_element_set_state):
25674         * gst/gstelement.h:
25675         * gst/gstmessage.c: (gst_message_parse_error),
25676         (gst_message_parse_warning):
25677         Keep track of current target state while performing a state
25678         change so that subclasses can do something interesting.
25679         Fix parsing of warning/error messages when GError is NULL.
25680
25681 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
25682
25683         * docs/gst/Makefile.am:
25684         * docs/gst/gstreamer-docs.sgml:
25685         * docs/gst/gstreamer-sections.txt:
25686         * docs/gst/gstreamer.types:
25687         * docs/gst/tmpl/gstbasesink.sgml:
25688         * docs/gst/tmpl/gstbasesrc.sgml:
25689         * docs/gst/tmpl/gstbin.sgml:
25690         * docs/gst/tmpl/gstcompat.sgml:
25691         * docs/gst/tmpl/gstfakesink.sgml:
25692         * docs/gst/tmpl/gstfakesrc.sgml:
25693         * docs/gst/tmpl/gstfilesink.sgml:
25694         * docs/gst/tmpl/gstfilesrc.sgml:
25695         * docs/gst/tmpl/gstindex.sgml:
25696         * docs/manual/appendix-quotes.xml:
25697         * gst/base/gstbasesrc.h:
25698         * gst/elements/gstfakesrc.h:
25699         * gst/gstmessage.h:
25700           start pulling in base classes and elements in our docs
25701
25702 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
25703
25704         * docs/gst/Makefile.am:
25705         * docs/libs/Makefile.am:
25706           fixed make distcheck with gtk-doc 1.3
25707
25708 2005-06-23  Wim Taymans  <wim@fluendo.com>
25709
25710         * gst/gstelement.c: (gst_element_get_state_func),
25711         (gst_element_set_state), (gst_element_change_state):
25712         When the state did not change, also report NO_PREROLL
25713         when it matters.
25714
25715 2005-06-23  Wim Taymans  <wim@fluendo.com>
25716
25717         * gst/gstpad.c: (gst_pad_event_default):
25718         * gst/gstqueue.c: (gst_queue_loop):
25719         No unsafe task pausing please.
25720
25721 2005-06-23  Wim Taymans  <wim@fluendo.com>
25722
25723         * gst/schedulers/threadscheduler.c:
25724         (gst_thread_scheduler_task_start),
25725         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
25726         Ref the task before pushing it on the threadpool. This
25727         makes sure that we have a ref when the threadfunction is
25728         actually called.
25729
25730 2005-06-23  Andy Wingo  <wingo@pobox.com>
25731
25732         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
25733         offset is greater than the file's size.
25734
25735         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
25736         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
25737         * gst/gstobject.c (gst_object_class_init): Make the class lock
25738         recursive. Wim won't let me drop deep_notify. Decodebin works
25739         again, whoopdy doo.
25740
25741         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
25742         internal pad, and hacks accordingly. Doesn't do it on the target
25743         pad because we change its caps. Probably catches all cases of
25744         interest tho.
25745         (gst_ghost_pad_set_property): Connect to notify::caps as
25746         appropritate.
25747
25748         * tests/network-clock.scm (plot-simulation): Pipe data to the
25749         elite python skript.
25750
25751         * tests/network-clock-utils.scm (define-parameter): New macro,
25752         defines a parameter that can be set via the command line.
25753         (set-parameter!, parse-parameter-arguments): Command line args
25754         parser.
25755
25756         * tests/plot-data: Simple matplotlib-based plotter, takes input on
25757         stdin.
25758
25759 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
25760
25761         * gst/elements/gsttypefindelement.c:
25762         (gst_type_find_element_handle_event):
25763           Don't restart typefinding on a discont.
25764         * gst/gstelement.c: (gst_element_set_state):
25765           Debug spelling fix.
25766         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
25767           Allow changing mode of an active pad.
25768           Debug output fixes.
25769         * gst/registries/gstlibxmlregistry.c: (load_feature):
25770           Don't cast a static pad template to a normal pad template.
25771
25772 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
25773
25774         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25775         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
25776           remove gst_strtoll completely, since it didn't actually do
25777           anything more than what g_ascii_strtoull already does.
25778           check for range errors when deserializing
25779           do a cast for the unsigned cases; but further fixing needs
25780           a decision on what the interpretation of "(int)" and
25781           deserialization should be for values that fall outside the
25782           type's boundaries (ie, refuse, or interpret as casting)
25783
25784 2005-06-23  Wim Taymans  <wim@fluendo.com>
25785
25786         * check/Makefile.am:
25787         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
25788         * docs/design/part-live-source.txt:
25789         * docs/design/part-states.txt:
25790         * gst/base/gstbasesrc.c: (gst_basesrc_init),
25791         (gst_basesrc_set_live), (gst_basesrc_is_live),
25792         (gst_basesrc_get_range), (gst_basesrc_activate),
25793         (gst_basesrc_change_state):
25794         * gst/base/gstbasesrc.h:
25795         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25796         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25797         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
25798         * gst/gstelement.c: (gst_element_get_state_func),
25799         (gst_element_set_state):
25800         * gst/gstelement.h:
25801         * gst/gsttypes.h:
25802         * tools/gst-launch.c: (event_loop), (main):
25803         Added support for live sources and other elements that
25804         cannot do preroll.
25805         Updated design docs, added live-source design doc.
25806         Implemented live source functionality in basesrc
25807         Fix error condition in _bin_get_state()
25808         Implement live source handling in -launch.
25809         Added check for live sources.
25810         Fixed case in GstBin where elements were changed state
25811         multiple times.
25812
25813
25814 2005-06-23  Andy Wingo  <wingo@pobox.com>
25815
25816         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
25817         borken refcounting.
25818
25819         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
25820         gst_caps_replace takes care of this for us.
25821
25822         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
25823         gst_pad_set_caps on the target, not just its setcaps() function.
25824
25825         * tests/network-clock.scm: 
25826         * tests/network-clock-utils.scm: A network clock simulator.
25827         Something of an algorithmic testbed before doing something in C.
25828
25829 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
25830
25831         * check/Makefile.am:
25832         * check/gst/capslist.h:
25833           copy over from 0.8, and add two with bitmasks specified with
25834           (int) 0xFF...
25835         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
25836           add test to parse everything from capslist.h
25837         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
25838         (main):
25839           add test for structure deserialization
25840         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25841           add tests for deserialization of strings to int types
25842         * gst/gststructure.c: (gst_structure_nth_field_name):
25843         * gst/gststructure.h:
25844           add a way to get the name of a field referenced by index
25845         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
25846           instead of checking if the resulting long long lies between
25847           min and max, we check if the long long would fit into
25848           a number of bytes for the final type.
25849           This fixes cases where a string represents 2^32 - 1, which
25850           when cast to int would be the (valid) -1, but is bigger than
25851           G_MAXINT
25852
25853 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
25854
25855         * gst/parse/grammar.y:
25856           add a log line for type deserialization
25857
25858 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
25859
25860         * check/gst/gstvalue.c: (START_TEST):
25861         * gst/gstvalue.c: (gst_value_deserialize):
25862           return long long, not int, so gint64 deserialization actually
25863           works.  Is there any flag that makes the compiler check this ?
25864           Fixes #308559
25865
25866 2005-06-22  Wim Taymans  <wim@fluendo.com>
25867
25868         * gst/gstbuffer.h:
25869         Added convenience macros for setting buffers in GValue.
25870
25871 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
25872
25873         * check/gst/.cvsignore:
25874         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25875           add a test deserializing int64, and comment part out because
25876           it fails, yay !
25877
25878 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
25879
25880         * check/Makefile.am:
25881         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
25882         * testsuite/Makefile.am:
25883         * testsuite/caps/Makefile.am:
25884         * testsuite/caps/value_serialize.c:
25885         * testsuite/test_gst_init.c:
25886           move a value_serialize test over
25887
25888 2005-06-20  Wim Taymans  <wim@fluendo.com>
25889
25890         * gst/gstpad.c:
25891         Small doc updates.
25892         
25893         * gst/gstvalue.c: (gst_value_compare_buffer),
25894         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
25895         (gst_value_compare_flags), (gst_value_serialize_flags),
25896         (gst_value_deserialize_flags), (_gst_value_initialize):
25897         Fix serialisation of buffers, they are not boxed types anymore
25898
25899 2005-06-20  Wim Taymans  <wim@fluendo.com>
25900
25901         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
25902         Testcase to show error in buffer-on-caps serialisation.
25903
25904 2005-06-20  Andy Wingo  <wingo@pobox.com>
25905
25906         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
25907         will be adding to later.
25908
25909         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
25910         if its socks fill with rocks.
25911         (gst_system_clock_obtain): Set the name on object construction.
25912         Avoid double-checked locking.
25913
25914 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
25915
25916         * gst/gsturi.c: (gst_element_make_from_uri):
25917           Fix potential endless loop.
25918
25919 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25920
25921         * check/Makefile.am:
25922           add gsttag
25923         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
25924         (main):
25925           move over from testsuite dir and clean up
25926         * configure.ac:
25927         * gst/gsttag.c:
25928         * testsuite/Makefile.am:
25929         * testsuite/tags/.cvsignore:
25930         * testsuite/tags/Makefile.am:
25931         * testsuite/tags/merge.c:
25932           remove testsuite/tags
25933
25934 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25935
25936         * docs/gst/gstreamer-sections.txt:
25937         * docs/gst/tmpl/gstenumtypes.sgml:
25938         * win32/gstenumtypes.c:
25939           clean up documentation build a little
25940
25941 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25942
25943         * check/gstcheck.h:
25944           add macros for checking refcounts on objects and caps
25945         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
25946           add some more unit tests
25947         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25948         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
25949           fix leaked refcounts (I hope :)) so unittest works
25950         * gst/gstpad.h:
25951           whitespace removal
25952
25953 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25954
25955         * configure.ac: back to HEAD
25956
25957 === release 0.9.1 ===
25958
25959 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
25960
25961         * NEWS:
25962         * RELEASE:
25963           updated
25964
25965 2005-06-17  Andy Wingo  <wingo@pobox.com>
25966
25967         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
25968         assert; it's always possible that the pad gets deactivated in
25969         between the checks in gstpad.c and the implementation. Rely on
25970         finish_preroll() to return a FLUSHING or similar instead of on the
25971         assert.
25972         
25973         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
25974         clock and post an EOS message if we come out of finish_preroll in
25975         the playing state.
25976
25977 2005-06-16  David Schleef  <ds@schleef.org>
25978
25979         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25980         (gst_capsfilter_set_property): Allow NULL as possible value
25981         for filter_caps property, indicating GST_CAPS_ANY.
25982
25983 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25984
25985         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
25986           fix debug output
25987         * gst/schedulers/Makefile.am:
25988           use libgst prefix
25989         * gstreamer.spec.in:
25990           fix spec for it
25991
25992 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25993
25994         * gstreamer.spec.in:
25995           clean up
25996
25997 2005-06-08  Andy Wingo  <wingo@pobox.com>
25998
25999         * gst/gstutils.c: RPAD fixes all around.
26000         (gst_element_link_pads): Refcounting fixes.
26001
26002         * tools/gst-inspect.c:
26003         * tools/gst-xmlinspect.c:
26004         * parse/grammar.y:
26005         * gst/base/gsttypefindhelper.c:
26006         * gst/base/gstbasesink.c:
26007         * gst/gstqueue.c: RPAD fixes.
26008
26009         * gst/gstghostpad.h:
26010         * gst/gstghostpad.c: New ghost pad implementation as full proxy
26011         pads. The tricky thing is they provide both source and sink
26012         interfaces, since they proxy the internal pad for the external
26013         pad, and vice versa. Implement with lower-level ProxyPad objects,
26014         with the interior proxy pad as a child of the exterior ghost pad.
26015         Should write a doc on this.
26016         
26017         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
26018         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
26019         gst_object API.
26020         
26021         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
26022         pads are real pads. No ghost pads in this file. Not documenting
26023         the myriad s/RPAD/PAD/ and REALIZE fixes.
26024         (gst_pad_class_init): Add properties for "direction" and
26025         "template". Both are construct-only, so they can't change during
26026         the life of the pad. Fixes properly deriving from GstPad.
26027         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
26028         derived objects, just set properties when creating the objects via
26029         g_object_new.
26030         (gst_pad_get_parent): Implement as a function, return NULL if the
26031         parent is not an element.
26032         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
26033         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
26034         
26035         * gst/gstobject.c (gst_object_class_init): Make name a construct
26036         property. Don't set it in the object init.
26037
26038         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
26039         with UNKNOWN direction.
26040         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
26041         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
26042         (gst_element_remove_pad): Remove ghost-pad special cases.
26043         (gst_element_pads_activate): Remove rpad cruft.
26044
26045         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
26046         catch the pad's-parent-not-an-element case.
26047
26048         * gst/gst.h: Include gstghostpad.h.
26049
26050         * gst/gst.c (init_post): No more real, ghost pads.
26051
26052         * gst/Makefile.am: Add gstghostpad.[ch].
26053
26054         * check/Makefile.am:
26055         * check/gst/gstbin.c:
26056         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
26057         into a bin creates ghost pads, and that the refcounts are right.
26058         Partly moved from gstbin.c.
26059
26060 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26061
26062         * check/gst-libs/.cvsignore:
26063         * check/gst/.cvsignore:
26064         * check/pipelines/.cvsignore:
26065           ignore more
26066         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
26067         (START_TEST), (cleanup_suite), (main):
26068           add some tests related to cleanup after running pipelines
26069
26070 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26071
26072         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
26073           add a testsuite for GstBuffer
26074
26075 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26076
26077         * gst/gstminiobject.h:
26078           add defines for accessing the refcount
26079
26080 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
26081
26082         * Makefile.am: added support for html unit test coverage reports
26083
26084 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
26085
26086         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26087           Free existing caps if the capsfilter changes. Add a FIXME about
26088           setting those caps on the pads.
26089
26090         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
26091           Before adding a ghost pad to a parent bin, check that there isn't
26092           already one for the element on the bin. Prevents infinite recursion
26093           when using decodebin in parse pipelines. Andy says he'll rewrite the
26094           way this works anyway, so ignore the hack.
26095
26096 2005-06-02  Andy Wingo  <wingo@pobox.com>
26097
26098         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
26099         file size, pass it on to the type find helper.
26100
26101         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
26102         segment_start and segment_end properly according to the seek
26103         method. Segment_end is still a bit flaky because offset can be
26104         negative for CUR and END cases, but it takes -1 as an "unset"
26105         value.
26106
26107 2005-06-02  Wim Taymans  <wim@fluendo.com>
26108
26109         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
26110         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
26111         (gst_basesink_activate):
26112         * gst/base/gstbasesink.h:
26113         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
26114         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
26115         (gst_pad_query), (gst_pad_start_task):
26116         * gst/gstpad.h:
26117         * gst/gstqueue.c: (gst_queue_bufferalloc),
26118         (gst_queue_handle_sink_event), (gst_queue_chain):
26119         Bufferalloc: return GstFlowReturn to more accuratly report
26120         why allocation failed.
26121
26122 2005-06-02  Wim Taymans  <wim@fluendo.com>
26123
26124         * gst/gstpipeline.c: (gst_pipeline_send_event):
26125         Take snapshot of state without blocking.
26126
26127 2005-06-02  Wim Taymans  <wim@fluendo.com>
26128
26129         * docs/design/part-TODO.txt:
26130         * docs/design/part-caps.txt:
26131         * docs/design/part-clocks.txt:
26132         * docs/design/part-negotiation.txt:
26133         * docs/design/part-preroll.txt:
26134         Small doc updates 
26135
26136 2005-05-30  Wim Taymans  <wim@fluendo.com>
26137
26138         * gst/elements/gstidentity.c: (gst_identity_event),
26139         (gst_identity_transform), (gst_identity_get_property):
26140         Protect last_message property as it is accessed from
26141         multiple threads.
26142
26143 2005-05-30  Wim Taymans  <wim@fluendo.com>
26144
26145         * gst/gstelement.c: (gst_element_init),
26146         (gst_element_pads_activate), (gst_element_change_state):
26147         Slicker pad activation code.
26148
26149 2005-05-30  Wim Taymans  <wim@fluendo.com>
26150
26151         * gst/Makefile.am:
26152         * gst/gstelement.h:
26153         * gst/gstelementfactory.h:
26154         * gst/gsttypes.h:
26155         Move elementfactory methods to separate .h file.
26156
26157 2005-05-30  Wim Taymans  <wim@fluendo.com>
26158
26159         * docs/design/part-overview.txt:
26160         * gst/gstsystemclock.h:
26161         Small typo fixes, doc updates.
26162
26163 2005-05-30  Wim Taymans  <wim@fluendo.com>
26164
26165         * gst/gst.c: (gst_init_get_popt_table), (init_post),
26166         (init_popt_callback):
26167         Remove cpu-opt flag.
26168
26169 2005-05-30  Wim Taymans  <wim@fluendo.com>
26170
26171         * gst/gstbuffer.c: (gst_subbuffer_finalize),
26172         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
26173         * gst/gstbuffer.h:
26174         Avoid typechecking in places where not needed.
26175         Added accessor for malloc_data.
26176
26177 2005-05-30  Wim Taymans  <wim@fluendo.com>
26178
26179         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
26180         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
26181         (gst_pad_configure_sink), (gst_pad_configure_src),
26182         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
26183         (gst_pad_start_task):
26184         Propagate errors from _set_caps() in configure_src/sink
26185         functions instead of returning TRUE.
26186         FLUSH events can travel up and downstream
26187
26188
26189 2005-05-30  Wim Taymans  <wim@fluendo.com>
26190
26191         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
26192         (gst_basesink_activate):
26193         Handle EOS in preroll.
26194
26195 2005-05-30  Wim Taymans  <wim@fluendo.com>
26196
26197         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
26198         (gst_queue_loop), (gst_queue_handle_src_event):
26199         Remove old pieces of code
26200         Flushing the queue in an upstream event is a very bad idea.
26201
26202 2005-05-26  Andy Wingo  <wingo@pobox.com>
26203
26204         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
26205         gst_value_set_mini_object so as to add a ref on the object (which
26206         will be removed when the value is unset).
26207
26208         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
26209         arg type in ::handoff.
26210
26211         * gst/gstelement.c (gst_element_change_state): Also deactivate
26212         pads in READY->NULL, just in case the element didn't make it to
26213         PAUSED. Wingo tested, Wim approved.
26214
26215 2005-05-26  Wim Taymans  <wim@fluendo.com>
26216
26217         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
26218         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
26219         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
26220         A flushing pad cannot be used to alloc_buffer from.
26221
26222 2005-05-26  Wim Taymans  <wim@fluendo.com>
26223
26224         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
26225         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
26226         (gst_bus_source_dispatch), (gst_bus_source_finalize),
26227         (gst_bus_create_watch), (gst_bus_add_watch_full):
26228         * gst/gstbus.h:
26229         Implement a real GSource and use g_main_context_wakeup() to
26230         signal new messages instead of the socketpair.
26231
26232 2005-05-25  Wim Taymans  <wim@fluendo.com>
26233
26234         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
26235         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
26236         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
26237         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
26238         (gst_pad_send_event), (gst_pad_start_task):
26239         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
26240         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
26241         (gst_queue_sink_activate), (gst_queue_src_activate),
26242         (gst_queue_change_state):
26243         * gst/gstqueue.h:
26244         Fix state changes for non sinks. We now change sinks, then elements
26245         with unconnected srcpads, then the rest.
26246         More efficient queue unlocking in flush and state changes.
26247         Set the pad activate mode even if it does not have an activate
26248         function.
26249
26250 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26251
26252         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
26253           Don't go in pull mode for non-seekable sources.
26254         * gst/elements/gsttypefindelement.h:
26255         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
26256         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
26257         (free_entry), (stop_typefinding),
26258         (gst_type_find_element_handle_event), (find_peek),
26259         (gst_type_find_element_chain), (do_pull_typefind),
26260         (gst_type_find_element_change_state):
26261           Allow typefinding (w/o seeking) in push-mode, simplified version
26262           of what was in 0.8.
26263         * gst/gstutils.c: (gst_buffer_join):
26264         * gst/gstutils.h:
26265           gst_buffer_join() from 0.8.
26266
26267 2005-05-25  Wim Taymans  <wim@fluendo.com>
26268
26269         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
26270         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
26271         (gst_pad_send_event), (gst_pad_start_task):
26272         Disable attempt at mode switching until it is figured out.
26273
26274 2005-05-25  Wim Taymans  <wim@fluendo.com>
26275
26276         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
26277         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
26278         (gst_basesink_finish_preroll), (gst_basesink_chain),
26279         (gst_basesink_loop), (gst_basesink_activate),
26280         (gst_basesink_change_state):
26281         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
26282         (gst_basesrc_get_range), (gst_basesrc_loop),
26283         (gst_basesrc_activate):
26284         * gst/elements/gsttee.c: (gst_tee_sink_activate):
26285         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26286         (gst_real_pad_init), (gst_real_pad_set_property),
26287         (gst_real_pad_get_property), (gst_pad_set_active),
26288         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
26289         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
26290         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
26291         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
26292         (gst_pad_event_default_dispatch), (gst_pad_event_default),
26293         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
26294         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
26295         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26296         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
26297         (gst_pad_stop_task):
26298         * gst/gstpad.h:
26299         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
26300         (gst_queue_loop), (gst_queue_src_activate):
26301         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
26302         (gst_task_get_state):
26303         * gst/gsttask.h:
26304         * gst/schedulers/threadscheduler.c:
26305         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
26306         Implement gst_pad_pause/start/stop_task(), take STREAM lock
26307         in task function.
26308         Remove ACTIVE pad flag, use FLUSHING everywhere
26309         Added _pad_chain(), _pad_get_range() to call chain/getrange 
26310         functions.
26311         Add locks around IS_FLUSHING when reading.
26312         Take STREAM lock in chain(), get_range() functions so plugins
26313         don't need to take it anymore.
26314         
26315
26316
26317 2005-05-25  Wim Taymans  <wim@fluendo.com>
26318
26319         * tools/gst-launch.c: (event_loop):
26320         Unref message after using its contents instead of
26321         before.
26322
26323 2005-05-24  Wim Taymans  <wim@fluendo.com>
26324
26325         * docs/design/draft-ghostpads.txt:
26326         * docs/design/draft-push-pull.txt:
26327         * docs/design/draft-query.txt:
26328         * docs/design/part-overview.txt:
26329         Docs updates, added general overview doc.
26330
26331 2005-05-21  David Schleef  <ds@schleef.org>
26332
26333         * docs/gst/tmpl/old/GstBin.sgml:
26334         * docs/gst/tmpl/old/GstBuffer.sgml:
26335         * docs/gst/tmpl/old/GstCaps.sgml:
26336         * docs/gst/tmpl/old/GstClock.sgml:
26337         * docs/gst/tmpl/old/GstCompat.sgml:
26338         * docs/gst/tmpl/old/GstData.sgml:
26339         * docs/gst/tmpl/old/GstElement.sgml:
26340         * docs/gst/tmpl/old/GstEvent.sgml:
26341         * docs/gst/tmpl/old/GstIndex.sgml:
26342         * docs/gst/tmpl/old/GstStructure.sgml:
26343         * docs/gst/tmpl/old/GstTag.sgml:
26344         * docs/gst/tmpl/old/cothreads.sgml:
26345         * docs/gst/tmpl/old/cothreads_compat.sgml:
26346         * docs/gst/tmpl/old/gettext.sgml:
26347         * docs/gst/tmpl/old/gobject2gtk.sgml:
26348         * docs/gst/tmpl/old/grammar.tab.sgml:
26349         * docs/gst/tmpl/old/gst-i18n-app.sgml:
26350         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
26351         * docs/gst/tmpl/old/gst_private.sgml:
26352         * docs/gst/tmpl/old/gstaggregator.sgml:
26353         * docs/gst/tmpl/old/gstarch.sgml:
26354         * docs/gst/tmpl/old/gstatomic_impl.sgml:
26355         * docs/gst/tmpl/old/gstbufferstore.sgml:
26356         * docs/gst/tmpl/old/gstdata_private.sgml:
26357         * docs/gst/tmpl/old/gstdisksink.sgml:
26358         * docs/gst/tmpl/old/gstdisksrc.sgml:
26359         * docs/gst/tmpl/old/gstelementfactory.sgml:
26360         * docs/gst/tmpl/old/gstextratypes.sgml:
26361         * docs/gst/tmpl/old/gstfakesink.sgml:
26362         * docs/gst/tmpl/old/gstfakesrc.sgml:
26363         * docs/gst/tmpl/old/gstfdsink.sgml:
26364         * docs/gst/tmpl/old/gstfdsrc.sgml:
26365         * docs/gst/tmpl/old/gstfilesink.sgml:
26366         * docs/gst/tmpl/old/gstfilesrc.sgml:
26367         * docs/gst/tmpl/old/gsthttpsrc.sgml:
26368         * docs/gst/tmpl/old/gstidentity.sgml:
26369         * docs/gst/tmpl/old/gstindexfactory.sgml:
26370         * docs/gst/tmpl/old/gstmarshal.sgml:
26371         * docs/gst/tmpl/old/gstmd5sink.sgml:
26372         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
26373         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
26374         * docs/gst/tmpl/old/gstpadtemplate.sgml:
26375         * docs/gst/tmpl/old/gstpipefilter.sgml:
26376         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
26377         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
26378         * docs/gst/tmpl/old/gstshaper.sgml:
26379         * docs/gst/tmpl/old/gstspider.sgml:
26380         * docs/gst/tmpl/old/gstspideridentity.sgml:
26381         * docs/gst/tmpl/old/gststatistics.sgml:
26382         * docs/gst/tmpl/old/gsttee.sgml:
26383         * docs/gst/tmpl/old/gsttimecache.sgml:
26384         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
26385         * docs/gst/tmpl/old/gstxmlregistry.sgml:
26386         * docs/gst/tmpl/old/gthread-cothreads.sgml:
26387         * docs/gst/tmpl/old/types.sgml:
26388           I didn't intend to add these or check them in.
26389
26390 2005-05-19  David Schleef  <ds@schleef.org>
26391
26392         * configure.ac: Use -no-common everywhere.  In a sane world, it
26393           would be the default in libtool, because without it, you can't
26394           build DLLs on Windows.
26395         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
26396         * docs/gst/gstreamer-sections.txt:
26397         * docs/gst/tmpl/gstcpu.sgml:
26398         * docs/gst/tmpl/gstdata.sgml:
26399         * docs/gst/tmpl/gstthread.sgml:
26400
26401 2005-05-19  David Schleef  <ds@schleef.org>
26402
26403         * gst/gstminiobject.c: (gst_value_set_mini_object),
26404         (gst_value_take_mini_object), (gst_value_get_mini_object):
26405         * gst/gstminiobject.h: Add GValue set/get functions.
26406
26407 2005-05-19  Wim Taymans  <wim@fluendo.com>
26408
26409         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
26410         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
26411         (gst_subbuffer_init), (gst_buffer_is_span_fast):
26412         * gst/gstbuffer.h:
26413         * gst/gstbus.c: (gst_bus_post):
26414         * gst/gstelement.c: (gst_element_get_random_pad):
26415         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
26416         Make subbufer unref the parent in finalize.
26417         some more debugging info.
26418
26419
26420 2005-05-19  Wim Taymans  <wim@fluendo.com>
26421
26422         * gst/base/gstbasesink.c: (gst_basesink_class_init),
26423         (gst_basesink_init), (gst_basesink_finalize),
26424         (gst_basesink_activate), (gst_basesink_change_state):
26425         Don't free preroll queue too early.
26426
26427 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26428
26429         * gst/Makefile.am:
26430         * gst/ROADMAP:
26431           Hi, I'm outdated. Please shoot me.
26432
26433 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26434
26435         * gst/gstpipeline.c: (gst_pipeline_send_event):
26436           Do not access variables after they have been deleted.
26437
26438 2005-05-19  Wim Taymans  <wim@fluendo.com>
26439
26440         * tools/gst-inspect.c: (print_plugin_features):
26441         A plugin feature does unfortunatly not use the
26442         object name yet...
26443
26444 2005-05-18  Wim Taymans  <wim@fluendo.com>
26445
26446         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
26447         Port _span() functions to new subbuffers.
26448
26449 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26450
26451         * gst/gstbin.c: (gst_bin_add_func):
26452           Fix clock settery in bins when adding kids after the clock has
26453           been selected.
26454
26455 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26456
26457         * gst/elements/gstidentity.c: (gst_identity_class_init):
26458           Workaround until signals support GstMiniObject.
26459
26460 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
26461
26462         * gst/gstbuffer.c:
26463         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
26464
26465 2005-05-18  Wim Taymans  <wim@fluendo.com>
26466
26467         * gst/base/Makefile.am:
26468         * gst/base/gstadapter.c: (gst_adapter_base_init),
26469         (gst_adapter_class_init), (gst_adapter_init),
26470         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
26471         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
26472         (gst_adapter_flush), (gst_adapter_available),
26473         (gst_adapter_available_fast):
26474         * gst/base/gstadapter.h:
26475         Ported and added adapter to the base classes.
26476
26477 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
26478
26479         * gst/gst.c:
26480         * gst/gstmessage.c:
26481           Make sure the class is reffed/unreffed once before threads can be
26482           used.  Fixes #304551.
26483
26484 2005-05-17  Wim Taymans  <wim@fluendo.com>
26485
26486         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
26487         (gst_basesink_chain_unlocked), (gst_basesink_activate):
26488         * gst/gstminiobject.c: (gst_mini_object_get_type),
26489         (gst_mini_object_free):
26490         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
26491         (gst_pad_push), (gst_pad_push_event):
26492         * gst/gstqueue.c: (gst_queue_change_state):
26493         Don't queue buffers in basesink when we are flushing.
26494         Unref buffer when flushing in basesink.
26495         Flush queue when going to READY
26496         Unref buffer when _push() returns an error.
26497         Don't free MiniObject instance when refcount is incremented
26498         in _finalize() so that we can recover objects.
26499
26500 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
26501
26502         * docs/manual/advanced-schedulers.xml:
26503         * docs/manual/appendix-checklist.xml:
26504         * docs/pwg/advanced-clock.xml:
26505         * docs/pwg/advanced-interfaces.xml:
26506         * docs/pwg/advanced-request.xml:
26507         * docs/pwg/advanced-types.xml:
26508         * docs/pwg/intro-preface.xml:
26509         * examples/plugins/example.c: (gst_example_get_type),
26510         (gst_example_class_init), (gst_example_chain),
26511         (gst_example_set_property), (gst_example_get_property),
26512         (gst_example_change_state), (plugin_init):
26513         * examples/plugins/example.h:
26514           small doc fixes
26515
26516 2005-05-17  Wim Taymans  <wim@fluendo.com>
26517
26518         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
26519         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
26520         * gst/gstqueue.c: (gst_queue_change_state):
26521         Clear queue when going to READY.
26522         Remove IN_SETCAPS flag too.
26523
26524 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
26525
26526         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
26527           Remove implicit cast from gboolean to GstElementStateReturn;
26528           make sure we still return failure in paused => ready case if
26529           the parent class fails to change state and our own stop 
26530           vfunc succeeds.
26531
26532 2005-05-17  Wim Taymans  <wim@fluendo.com>
26533
26534         * tools/gst-launch.c: (event_loop):
26535         Message was unreffed too soon.
26536
26537 2005-05-16  Andy Wingo  <wingo@pobox.com>
26538
26539         * gst/gstbin.c (sink_iterator_filter): Err... um...
26540
26541         * check/gst/gstbin.c (test_ghost_pads): New test for the
26542         ghosting-if-elements-not-in-same-bin behavior.
26543
26544 2005-05-16  David Schleef  <ds@schleef.org>
26545
26546         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
26547         accessing refcount directly.
26548
26549 2005-05-15  David Schleef  <ds@schleef.org>
26550
26551         * check/Makefile.am: remove GstData checks
26552         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
26553         * gst/Makefile.am: add miniobject, remove data
26554         * gst/gst.h: add miniobject, remove data
26555         * gst/gstdata.c: remove
26556         * gst/gstdata.h: remove
26557         * gst/gstdata_private.h: remove
26558         * gst/gsttypes.h: remove GstEvent and GstMessage
26559         * gst/gstelement.c: (gst_element_post_message): fix for API changes
26560         * gst/gstmarshal.list: change BOXED -> OBJECT
26561
26562         Implement GstMiniObject.
26563         * gst/gstminiobject.c:
26564         * gst/gstminiobject.h:
26565
26566         Modify to be subclasses of GstMiniObject.
26567         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
26568         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
26569         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
26570         (gst_subbuffer_get_type), (gst_subbuffer_init),
26571         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
26572         (gst_buffer_span):
26573         * gst/gstbuffer.h:
26574         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
26575         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
26576         (_gst_event_copy), (gst_event_new):
26577         * gst/gstevent.h:
26578         * gst/gstmessage.c: (_gst_message_initialize),
26579         (gst_message_get_type), (gst_message_class_init),
26580         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
26581         (gst_message_new), (gst_message_new_error),
26582         (gst_message_new_warning), (gst_message_new_tag),
26583         (gst_message_new_state_changed), (gst_message_new_application):
26584         * gst/gstmessage.h:
26585         * gst/gstprobe.c: (gst_probe_perform),
26586         (gst_probe_dispatcher_dispatch):
26587         * gst/gstprobe.h:
26588         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
26589         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
26590         (_gst_query_copy), (gst_query_new):
26591
26592         Update elements for GstData -> GstMiniObject changes
26593         * gst/gstquery.h:
26594         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
26595         (gst_queue_chain), (gst_queue_loop):
26596         * gst/elements/gstbufferstore.c:
26597         (gst_buffer_store_add_buffer_func),
26598         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
26599         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
26600         (gst_fakesink_render):
26601         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26602         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
26603         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
26604         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
26605         (gst_filesrc_create_read):
26606         * gst/elements/gstidentity.c: (gst_identity_class_init):
26607         * gst/elements/gsttypefindelement.c:
26608         (gst_type_find_element_src_event), (free_entry_buffers),
26609         (gst_type_find_element_handle_event):
26610         * libs/gst/dataprotocol/dataprotocol.c:
26611         (gst_dp_header_from_buffer):
26612         * libs/gst/dataprotocol/dataprotocol.h:
26613         * libs/gst/dataprotocol/dp-private.h:
26614
26615 2005-05-15  David Schleef  <ds@schleef.org>
26616
26617         * gst/elements/gstelements.c: Don't include headers that were
26618         just removed.
26619
26620 2005-05-15  David Schleef  <ds@schleef.org>
26621
26622         * gst/elements/Makefile.am: Remove some elements that don't
26623         need to be in the core (or even exist at all).
26624         * gst/elements/gstaggregator.c:
26625         * gst/elements/gstaggregator.h:
26626         * gst/elements/gstmd5sink.c:
26627         * gst/elements/gstmd5sink.h:
26628         * gst/elements/gstmultifilesrc.c:
26629         * gst/elements/gstmultifilesrc.h:
26630         * gst/elements/gstpipefilter.c:
26631         * gst/elements/gstpipefilter.h:
26632         * gst/elements/gstshaper.c:
26633         * gst/elements/gstshaper.h:
26634         * gst/elements/gststatistics.c:
26635         * gst/elements/gststatistics.h:
26636         * po/POTFILES.in: Remove above files.
26637
26638 2005-05-14  Andy Wingo  <wingo@pobox.com>
26639
26640         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
26641         so as to get the refs right.
26642         (sink_iterator_filter): New function, wraps bin_element_is_sink,
26643         unreffing objects that don't pass the filter.
26644
26645         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
26646         gst_element_set_bus.
26647         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
26648         normal cases, this will destroy the bus.
26649
26650         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
26651         object.
26652
26653         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
26654         has no sinks.
26655
26656 2005-05-13  Andy Wingo  <wingo@pobox.com>
26657
26658         * gst/gstutils.c (gst_element_link_pads): Instead of calling
26659         gst_pad_link, call pad_link_maybe_ghosting,
26660         (pad_link_maybe_ghosting): Links pads, making sure that the
26661         elements being linked are in the same bin.
26662         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
26663         Helpers for pad_link_maybe_ghosting.
26664
26665 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
26666
26667         * configure.ac:
26668           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
26669
26670 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
26671
26672         * docs/design/part-element-source.txt:
26673           Mention GstPushSrc
26674
26675 2005-05-12  Wim Taymans  <wim@fluendo.com>
26676
26677         * gst/base/gstbasesink.c: (gst_basesink_init),
26678         (gst_basesink_activate):
26679         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
26680         (gst_basesrc_is_seekable):
26681         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
26682         (bin_element_is_sink), (gst_bin_change_state):
26683         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
26684         * gst/gstelement.h:
26685         Identify sinks by their flag to avoid overly complicated
26686         checks (fow now).
26687         Do state changes even for elements not reachable from the
26688         sinks.
26689         BaseSink is a sink now :)
26690         Some more debugging info in the basesrc.
26691
26692
26693 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26694
26695         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
26696           Implement _query on a bin, similar to _send_event.
26697
26698 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
26699
26700         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
26701           Discont event offset format should be GST_FORMAT_BYTES,
26702           not GST_FORMAT_TIME.
26703
26704 2005-05-12  Wim Taymans  <wim@fluendo.com>
26705
26706         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
26707         Same fix as Ronald's but without the signal. 
26708
26709 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26710
26711         * gst/gstutils.c: (gst_element_query_position):
26712           No, an element is not a pad.
26713
26714 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26715
26716         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
26717         (gst_bin_get_state):
26718           If a child is removed from a bin while we remove the child from
26719           the bin and while we're retrieving its state, signal this to the
26720           get_state function so we abort the wait (instead of waiting for
26721           a timeout) and can immediately re-iterate over all other elements.
26722
26723 2005-05-12  Wim Taymans  <wim@fluendo.com>
26724
26725         * gst/base/Makefile.am:
26726         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
26727         (gst_basesrc_start):
26728         * gst/base/gstbasesrc.h:
26729         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
26730         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
26731         (gst_pushsrc_init), (gst_pushsrc_create):
26732         * gst/base/gstpushsrc.h:
26733         Added is_seekable to BaseSrc
26734         Added simple PushSrc.
26735
26736 2005-05-11  Wim Taymans  <wim@fluendo.com>
26737
26738         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
26739         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26740         (gst_element_link_pads), (gst_element_query_position),
26741         (gst_element_query_convert), (intersect_caps_func),
26742         (gst_pad_query_position), (gst_pad_query_convert):
26743         Fix refcounting in utils function.
26744         No point in trying to activate a pad when it's added, it could
26745         be added from the state change function and then we deadlock, the
26746         element has to decide what to do.
26747
26748 2005-05-10  Andy Wingo  <wingo@pobox.com>
26749
26750         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
26751         *all* the arguments.
26752
26753         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
26754         stream lock if it's a FLUSH_DONE; normal flushes don't get the
26755         lock (according to the docs -- if this is wrong change the docs).
26756
26757         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
26758         flush messages in the NULL state.
26759
26760         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
26761         message immediately and return.
26762         (gst_bus_set_flushing): New function. If a bus is flushing, it
26763         flushes out any queued messages and immediately unrefs new
26764         messages. This is so when an element goes to NULL, all of the
26765         unhandled messages coming from it can be freed, and their
26766         references to the element dropped. In other words: message source
26767         ref considered harmful :P
26768
26769         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
26770         we're finished with it.
26771
26772         * gst/gstmessage.c (gst_message_new_state_changed): 
26773
26774 2005-05-10  Wim Taymans  <wim@fluendo.com>
26775
26776         * gst/gstvalue.c: (gst_value_compare_flags),
26777         (gst_value_serialize_flags), (gst_value_deserialize_flags),
26778         (_gst_value_initialize):
26779         Added flags serialize/deserialize/compare code.
26780
26781 2005-05-09  Andy Wingo  <wingo@pobox.com>
26782
26783         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
26784         Intersect the peer's caps with our caps.
26785
26786 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26787
26788         * gst/base/gsttypefindhelper.c: (helper_find_peek):
26789         * gst/elements/gsttypefindelement.c: (find_peek):
26790           Handle negative offsets better. Fixes decodebin.
26791
26792 2005-05-09  Wim Taymans  <wim@fluendo.com>
26793
26794         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
26795         (gst_base_transform_event):
26796         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
26797         Implement accept_caps.
26798         Fix silly lock/unlock mismatch in base class.
26799
26800 2005-05-09  Wim Taymans  <wim@fluendo.com>
26801
26802         * docs/design/draft-push-pull.txt:
26803         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
26804         * gst/elements/gstfilesink.c: (gst_filesink_init),
26805         (gst_filesink_query):
26806         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
26807         (gst_type_find_handle_src_query), (find_element_get_length):
26808         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
26809         * gst/gstelement.h:
26810         * gst/gstmessage.c:
26811         * gst/gstmessage.h:
26812         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
26813         (gst_real_pad_get_caps_unlocked),
26814         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
26815         (gst_pad_event_default_dispatch), (gst_pad_event_default),
26816         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
26817         (gst_real_pad_dispose), (gst_real_pad_finalize),
26818         (gst_pad_load_and_link), (gst_pad_save_thyself),
26819         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
26820         (gst_pad_check_pull_range), (gst_pad_pull_range),
26821         (gst_pad_template_get_type), (gst_pad_template_class_init),
26822         (gst_pad_template_init), (gst_pad_template_dispose),
26823         (name_is_valid), (gst_static_pad_template_get),
26824         (gst_pad_template_new), (gst_static_pad_template_get_caps),
26825         (gst_pad_template_get_caps), (gst_pad_set_element_private),
26826         (gst_pad_get_element_private), (gst_pad_start_task),
26827         (gst_pad_pause_task), (gst_pad_stop_task),
26828         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
26829         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
26830         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
26831         (gst_ghost_pad_new):
26832         * gst/gstpad.h:
26833         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
26834         (gst_query_new_position), (gst_query_set_position),
26835         (gst_query_parse_position), (gst_query_new_convert),
26836         (gst_query_set_convert), (gst_query_parse_convert):
26837         * gst/gstquery.h:
26838         * gst/gstqueryutils.c:
26839         * gst/gstqueryutils.h:
26840         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
26841         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
26842         (gst_queue_handle_src_query):
26843         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26844         (gst_element_query_position), (gst_element_query_convert),
26845         (intersect_caps_func), (gst_pad_query_position),
26846         (gst_pad_query_convert):
26847         * gst/gstutils.h:
26848         * tools/gst-inspect.c: (print_pad_info):
26849         * tools/gst-xmlinspect.c: (print_element_info):
26850         Remove old query functions. Ported old code.
26851         Added position/convert helper functions to gstutils.
26852         Reordered gstpad.c code, grouping relevant things.
26853         Remove gst_message_new(), always need to speficy a specific
26854         message.
26855
26856
26857 2005-05-09  Andy Wingo  <wingo@pobox.com>
26858
26859         * gst/gstiterator.h: Add some includes.
26860
26861         * gst/gstqueryutils.h: Include more headers.
26862
26863         * gst/gstpad.h:
26864         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
26865         some uses of gst_pad_query.
26866
26867         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
26868         NULL out parameters.
26869         (gst_query_new_position): New proc, allocates a new position
26870         query.
26871
26872         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
26873         gstqueryutils.c to the build.
26874
26875         * gst/gststructure.c (gst_structure_set_valist): Implement with
26876         the generic G_VALUE_COLLECT.
26877         
26878 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
26879
26880         * gst/Makefile.am: (gst_headers):
26881         Added gstqueryutils.h to the list of headers to install, that was
26882         a 'nachty' move wingo :)
26883
26884 2005-05-06  Andy Wingo  <wingo@pobox.com>
26885
26886         * gst/gstquery.h
26887         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
26888         GstData, init a memchunk.
26889         (standard_definitions): Add a few query types, deprecate a few.
26890         (gst_query_get_type): New proc.
26891         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
26892         implementation.
26893         (gst_query_new_application, gst_query_get_structure): New public
26894         procs.
26895
26896         * docs/design/draft-query.txt: Removed LINKS from the query types,
26897         because all the rest can be dispatched to other pads -- seemed
26898         ugly to have a query that couldn't be dispatched. internal_links
26899         is fine as a pad method.
26900
26901         * gst/gstpad.h: Add query2 as a pad method, add the new functions
26902         in gstpad.c, but maintain binary compatibility for the moment.
26903         Will fix before 0.9 is out.
26904
26905         * gst/gstqueryutils.c: 
26906         * gst/gstqueryutils.h: New files, implement 3 methods for each
26907         query type: parse_query, parse_response, and set. Probably need an
26908         allocator as well.
26909
26910         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
26911
26912         * gst/elements/gstfilesink.c (gst_filesink_query2):
26913         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
26914         query_types, and formats methods.
26915
26916         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
26917         (gst_pad_set_query2_function): New functions.
26918         (gst_real_pad_init): Set query2_default as the default query2
26919         function. Basically just dispatches to internally linked pads.
26920
26921         Needs review!
26922         
26923         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
26924         without using the atomic operations. Only one thread can possibly
26925         be accessing the data at this point. Changed so as to avoid
26926         gst_atomic operations.
26927
26928 2005-05-06  Wim Taymans  <wim@fluendo.com>
26929
26930         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
26931         Also set caps if we use the fallback buffer alloc.
26932
26933 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
26934
26935         * docs/gst/Makefile.am:
26936         * docs/gst/gstreamer-docs.sgml:
26937         * docs/gst/gstreamer-sections.txt:
26938         * docs/gst/tmpl/gstatomic.sgml:
26939         * docs/gst/tmpl/gstmemchunk.sgml:
26940         * testsuite/elements/struct_i386.h:
26941         * win32/GStreamer.vcproj:
26942         * win32/Makefile:
26943           Purge GstAtomic stuff from docs and win32 makefiles as well
26944
26945 2005-05-06  Wim Taymans  <wim@fluendo.com>
26946
26947         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
26948         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
26949         * gst/gstpad.c: (gst_pad_peer_get_caps):
26950         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
26951         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
26952         (gst_queue_src_activate), (gst_queue_change_state):
26953         * gst/gstqueue.h:
26954         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26955         (intersect_caps_func):
26956         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
26957         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
26958         Some fixes for the peer_get_caps() change.
26959
26960 2005-05-06  Wim Taymans  <wim@fluendo.com>
26961
26962         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26963         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
26964         (gst_basesink_activate):
26965         Actually do something with error codes returned from the push
26966         functions.
26967
26968 2005-05-06  Wim Taymans  <wim@fluendo.com>
26969
26970         * docs/design/part-element-sink.txt:
26971         * docs/design/part-element-source.txt:
26972         * gst/base/gstbasesink.c: (gst_basesink_class_init),
26973         (gst_basesink_event), (gst_basesink_activate):
26974         * gst/base/gstbasesink.h:
26975         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
26976         (gst_basesrc_activate):
26977         * gst/base/gstbasesrc.h:
26978         * gst/gstelement.c: (gst_element_pads_activate):
26979         Some more documentation.
26980         Fixed scheduling decision in _pads_activate().
26981
26982 2005-05-05  Andy Wingo  <wingo@pobox.com>
26983
26984         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
26985         the test suite.
26986
26987 2005-05-05  Wim Taymans  <wim@fluendo.com>
26988
26989         * gst/base/Makefile.am:
26990         * gst/base/gstbasesink.h:
26991         * gst/base/gstbasesrc.c: (gst_basesrc_init),
26992         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
26993         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
26994         (gst_collectpads_class_init), (gst_collectpads_init),
26995         (gst_collectpads_finalize), (gst_collectpads_new),
26996         (gst_collectpads_set_function), (gst_collectpads_add_pad),
26997         (find_pad), (gst_collectpads_remove_pad),
26998         (gst_collectpads_is_active), (gst_collectpads_collect),
26999         (gst_collectpads_collect_range), (gst_collectpads_start),
27000         (gst_collectpads_stop), (gst_collectpads_peek),
27001         (gst_collectpads_pop), (gst_collectpads_available),
27002         (gst_collectpads_read), (gst_collectpads_flush),
27003         (gst_collectpads_chain):
27004         * gst/base/gstcollectpads.h:
27005         * gst/elements/Makefile.am:
27006         * gst/elements/gstelements.c:
27007         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27008         (gst_fakesink_get_times), (gst_fakesink_event),
27009         (gst_fakesink_preroll), (gst_fakesink_render):
27010         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
27011         (gst_filesink_init), (gst_filesink_set_location),
27012         (gst_filesink_open_file), (gst_filesink_close_file),
27013         (gst_filesink_pad_query), (gst_filesink_event),
27014         (gst_filesink_render), (gst_filesink_change_state):
27015         * gst/elements/gstfilesink.h:
27016         Added object to help in making collect pad based elements.
27017         Ported filesink.
27018         Make event function in sink baseclass return gboolean.
27019
27020 2005-05-05  Wim Taymans  <wim@fluendo.com>
27021
27022         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
27023         (gst_bin_get_by_name):
27024         * gst/gstbuffer.h:
27025         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
27026         (gst_clock_finalize):
27027         * gst/gstdata.c: (gst_data_replace):
27028         * gst/gstdata.h:
27029         * gst/gstelement.c: (gst_element_request_pad),
27030         (gst_element_pads_activate):
27031         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
27032         (gst_object_unref):
27033         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27034         (gst_pad_set_checkgetrange_function),
27035         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
27036         (gst_pad_check_pull_range), (gst_pad_pull_range),
27037         (gst_static_pad_template_get_caps), (gst_pad_start_task),
27038         (gst_pad_pause_task), (gst_pad_stop_task):
27039         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27040         (gst_element_request_pad), (gst_pad_proxy_getcaps):
27041         Fix name lookup in GstBin.
27042         Added _data_replace() function and _buffer_replace()
27043         Use finalize method to clean up clock.
27044         Fix refcounting on request pads.
27045         Fix pad schedule mode error.
27046         Some more object refcounting debug info,
27047
27048
27049 2005-05-04  Andy Wingo <wingo@pobox.com>
27050
27051         * check/Makefile.am:
27052         * docs/gst/tmpl/gstatomic.sgml:
27053         * docs/gst/tmpl/gstplugin.sgml:
27054         * gst/base/gstbasesink.c: (gst_basesink_activate):
27055         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
27056         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
27057         (gst_basesrc_query), (gst_basesrc_set_property),
27058         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
27059         (gst_basesrc_activate):
27060         * gst/base/gstbasesrc.h:
27061         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
27062         (gst_base_transform_src_activate):
27063         * gst/elements/gstelements.c:
27064         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27065         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27066         * gst/elements/gsttee.c: (gst_tee_sink_activate):
27067         * gst/elements/gsttypefindelement.c: (find_element_get_length),
27068         (gst_type_find_element_checkgetrange),
27069         (gst_type_find_element_activate):
27070         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
27071         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
27072         (gst_caps_load_thyself):
27073         * gst/gstelement.c: (gst_element_pads_activate),
27074         (gst_element_save_thyself), (gst_element_restore_thyself):
27075         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
27076         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
27077         * gst/gstpad.h:
27078         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
27079         (gst_xml_parse_file), (gst_xml_parse_memory),
27080         (gst_xml_get_element), (gst_xml_make_element):
27081         * gst/indexers/gstfileindex.c: (gst_file_index_load),
27082         (_file_index_id_save_xml), (gst_file_index_commit):
27083         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
27084         (read_enum), (load_pad_template), (load_feature), (load_plugin),
27085         (load_paths):
27086         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
27087         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
27088         * tools/gst-complete.c: (main):
27089         * tools/gst-compprep.c: (main):
27090         * tools/gst-inspect.c: (print_element_properties_info):
27091         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
27092         * tools/gst-xmlinspect.c: (print_element_properties):
27093         GCC 4 fixen.
27094         
27095 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
27096
27097         * gst/gstplugin.c: (gst_plugin_check_module),
27098         (gst_plugin_check_file), (gst_plugin_load_file):
27099             apply patch from #172526 to make register work on MacOSX
27100
27101 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
27102
27103         * docs/gst/tmpl/gstconfig.sgml:
27104         * gst/gstconfig.h.in:
27105           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
27106         * testsuite/debug/printf_extension.c: (main):
27107           Do not use GST_PTR_FORMAT on pointers to types with
27108           sizeof < sizeof(gpointer).  Fixes test on 64-bit
27109         * testsuite/elements/property.h:
27110           use correct printf format
27111
27112 2005-05-02  Wim Taymans  <wim@fluendo.com>
27113
27114         * docs/design/draft-push-pull.txt:
27115         * docs/design/draft-query.txt:
27116         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
27117         (gst_basesrc_start):
27118         Added draft for new query API.
27119         Added draft for better selecting scheduling methods.
27120         Make basesrc ignore length if the subclass does not support
27121         it.
27122
27123 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
27124
27125         * gst/Makefile.am:
27126           possible fixes for automake-1.5 - _LIBADD is reserved
27127
27128 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
27129
27130         * docs/faq/Makefile.am:
27131         * docs/manual/Makefile.am:
27132         * docs/manuals.mak:
27133         * docs/pwg/Makefile.am:
27134         * gst/Makefile.am:
27135           possible fixes for automake-1.5
27136
27137 2005-04-28  Wim Taymans  <wim@fluendo.com>
27138
27139         * gst/base/gstbasesink.c: (gst_basesink_base_init),
27140         (gst_basesink_pad_getcaps), (gst_basesink_init),
27141         (gst_basesink_do_sync):
27142         * gst/gstclock.c: (gst_clock_entry_new):
27143         * gst/gstevent.c: (gst_event_discont_get_value):
27144         * gst/gstpipeline.c: (pipeline_bus_handler),
27145         (gst_pipeline_change_state):
27146         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
27147         Better debugging of clocking info.
27148         Allow NULL values when getting discont values.
27149
27150 2005-04-27  Wim Taymans  <wim@fluendo.com>
27151
27152         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
27153         * check/gst/gstpad.c: (gst_pad_suite):
27154         Increase timeout for checks.
27155
27156 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
27157
27158         * check/Makefile.am:
27159           fix the broken rule for cleanup.  Apparently this rule is
27160           only needed on FC2, so maybe this warrants further autotool
27161           inspection.
27162
27163 2005-04-26  Wim Taymans  <wim@fluendo.com>
27164
27165         * gst/gsttrashstack.h:
27166         Ooohh. a nasty one! After having a failed pop() from the stack,
27167         it's possible that the stack is empty. In that case, don't
27168         follow the NULL pointer.
27169
27170 2005-04-25  Wim Taymans  <wim@fluendo.com>
27171
27172         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27173         (gst_pad_set_checkgetrange_function),
27174         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
27175         (gst_pad_check_pull_range), (gst_pad_pull_range),
27176         (gst_static_pad_template_get_caps), (gst_pad_start_task),
27177         (gst_pad_pause_task), (gst_pad_stop_task):
27178         * gst/gstplugin.c: (gst_plugin_load):
27179         * gst/gstplugin.h:
27180         Remove gst_library_load as it does more harm than good with
27181         the new g_module flags.
27182         Revert bogus caps template check in pad linking, pad caps
27183         are important when linking not the template, which is more
27184         general than the current caps.
27185
27186 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27187
27188         * gst/autoplug/.cvsignore:
27189         * gst/autoplug/Makefile.am:
27190         * gst/autoplug/gstsearchfuncs.c:
27191         * gst/autoplug/gstsearchfuncs.h:
27192         * gst/autoplug/gstspider.c:
27193         * gst/autoplug/gstspider.h:
27194         * gst/autoplug/gstspideridentity.c:
27195         * gst/autoplug/gstspideridentity.h:
27196         * gst/autoplug/spidertest.c:
27197           Die, spider, die.
27198
27199 2005-04-25  Wim Taymans  <wim@fluendo.com>
27200
27201         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27202         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
27203         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
27204         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
27205         * gst/gstpad.h:
27206         Added stubs for unimplemented functions. 
27207
27208 2005-04-24  David Schleef  <ds@schleef.org>
27209
27210         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
27211         please fix.
27212
27213 2005-04-24  David Schleef  <ds@schleef.org>
27214
27215         Convert everything from GstAtomicInt to g_atomic_int_*, and
27216         remove gstatomic.
27217         * gst/Makefile.am:
27218         * gst/gstatomic.c:
27219         * gst/gstatomic.h:
27220         * gst/gstatomic_impl.h:
27221         * gst/gstbuffer.c:
27222         * gst/gstcaps.c:
27223         * gst/gstcaps.h:
27224         * gst/gstclock.c:
27225         * gst/gstclock.h:
27226         * gst/gstdata.c:
27227         * gst/gstdata.h:
27228         * gst/gstdata_private.h:
27229         * gst/gstevent.c:
27230         * gst/gstinfo.c:
27231         * gst/gstinfo.h:
27232         * gst/gstmessage.c:
27233         * gst/gstobject.c:
27234         * gst/gstobject.h:
27235         * gst/gststructure.c:
27236         * gst/gststructure.h:
27237         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
27238         * gst/gstutils.h:
27239
27240 2005-04-24  David Schleef  <ds@schleef.org>
27241
27242         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
27243         make the regressions tests work.  Remove some code that is no
27244         longer true.
27245         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
27246         Disable warning for pads without templates.
27247
27248 2005-04-24  David Schleef  <ds@schleef.org>
27249
27250         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
27251         functions that handle filtered links.
27252         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
27253         removed functions.
27254         * gst/gstutils.c: Fix/remove utility functions that handle
27255         filtered caps.
27256         * gst/gstutils.h:
27257         * gst/gstvalue.c: Add serialization/deserialization of caps
27258         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
27259         requires fixing so that the filter caps notation creates
27260         a capsfilter element and sets the filter_caps property.  I
27261         think everyone probably wants to keep the shorthand notation.
27262         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
27263         * docs/gst/tmpl/gstpad.sgml:
27264
27265         * gst/elements/gstelements.c: Register capsfilter element.
27266         * gst/Makefile.am: fix spacing
27267         * docs/random/ds/0.9-suggested-changes: random
27268
27269 2005-04-23  David Schleef  <ds@schleef.org>
27270
27271         * gst/elements/Makefile.am:
27272         * gst/elements/gstcapsfilter.c: New element that acts like an
27273         identity, but filters caps.  Will eventually replace filtered
27274         caps in pad linking.
27275         * gst/gstutils.c: (gst_element_create_all_pads): New function
27276         to create all the ALWAYS pads that are registered with an
27277         element class.  This functionality should eventually be
27278         merged in with GstElement initialization.
27279         * gst/gstutils.h:
27280         * testsuite/trigger/README: part of trigger test code that should
27281         have been checked in a long time ago.
27282
27283 2005-04-23  David Schleef  <ds@schleef.org>
27284
27285         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
27286         needed with new versions of libtool (nobody will confirm this),
27287         and hard to carry around.
27288         * gst/autoplug/Makefile.am:
27289         * gst/base/Makefile.am:
27290         * gst/elements/Makefile.am:
27291         * gst/indexers/Makefile.am:
27292         * gst/schedulers/Makefile.am:
27293         * libs/gst/bytestream/Makefile.am:
27294         * libs/gst/control/Makefile.am:
27295         * libs/gst/dataprotocol/Makefile.am:
27296         * libs/gst/getbits/Makefile.am:
27297
27298 2005-04-21  Wim Taymans  <wim@fluendo.com>
27299
27300         * docs/design/draft-push-pull.txt:
27301         * docs/design/part-MT-refcounting.txt:
27302         * docs/design/part-TODO.txt:
27303         * docs/design/part-caps.txt:
27304         * docs/design/part-events.txt:
27305         * docs/design/part-gstbus.txt:
27306         * docs/design/part-gstpipeline.txt:
27307         * docs/design/part-messages.txt:
27308         * docs/design/part-push-pull.txt:
27309         * docs/design/part-query.txt:
27310         Some more docs.
27311
27312 2005-04-21  Wim Taymans  <wim@fluendo.com>
27313
27314         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
27315         (gst_message_new), (gst_message_new_error),
27316         (gst_message_new_warning), (gst_message_new_tag),
27317         (gst_message_new_state_changed), (gst_message_new_application),
27318         (gst_message_get_structure):
27319         * gst/gstmessage.h:
27320         * gst/gststructure.c: (gst_structure_set_parent_refcount),
27321         (gst_structure_copy_conditional):
27322         Use parent refcount in GstMessage to ensure GstStructure
27323         consistency.
27324         Cleaned up headers a bit.
27325         
27326
27327 2005-04-20  Wim Taymans  <wim@fluendo.com>
27328
27329         * gst/base/gstbasesink.c: (gst_basesink_base_init),
27330         (gst_basesink_pad_getcaps), (gst_basesink_init),
27331         (gst_basesink_chain_unlocked):
27332         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
27333         (gst_type_find_helper):
27334         * gst/elements/gsttypefindelement.c:
27335         (gst_type_find_element_have_type), (gst_type_find_element_init),
27336         (stop_typefinding), (gst_type_find_element_handle_event),
27337         (find_suggest), (gst_type_find_element_chain),
27338         (gst_type_find_element_checkgetrange),
27339         (gst_type_find_element_getrange), (do_typefind),
27340         (gst_type_find_element_activate):
27341         * gst/gstbuffer.c: (_gst_buffer_sub_free),
27342         (gst_buffer_default_free), (gst_buffer_default_copy),
27343         (gst_buffer_set_caps):
27344         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
27345         (gst_caps_replace):
27346         * gst/gstmessage.c: (gst_message_new),
27347         (gst_message_new_state_changed):
27348         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27349         (gst_pad_set_checkgetrange_function),
27350         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
27351         (gst_pad_set_caps), (gst_pad_check_pull_range),
27352         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
27353         * gst/gstpad.h:
27354         * gst/gsttypefind.c: (gst_type_find_register):
27355         Make gst_caps_replace() work like other _replace() functions.
27356         Use _caps_replace() where possible.
27357         Make sure _message_new() initialises its field.
27358         Add gst_static_pad_template_get_caps()
27359
27360
27361 2005-04-18  Andy Wingo  <wingo@pobox.com>
27362
27363         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
27364         on the peer, not the pad. I think that was a typo. Pass an extra
27365         arg to see if random access is possible. Activate the pads as
27366         PULL_RANGE if possible.
27367
27368         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
27369
27370         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
27371         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
27372         to PROP_....
27373
27374 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27375
27376         * docs/faq/using.xml:
27377           Add note on gstreamer-properties (#154996).
27378
27379 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27380
27381         * docs/random/bbb/optional-properties:
27382           Some analysis on optional properties.
27383
27384 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27385
27386         * docs/gst/tmpl/gstelementfactory.sgml:
27387         * gst/gstelement.h:
27388         * gst/gstelementfactory.c: (gst_element_factory_init),
27389         (gst_element_factory_cleanup), (gst_element_register),
27390         (__gst_element_factory_add_static_pad_template),
27391         (gst_element_factory_get_static_pad_templates),
27392         (gst_element_factory_can_src_caps),
27393         (gst_element_factory_can_sink_caps):
27394         * gst/registries/Makefile.am:
27395         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
27396         (gst_xml_registry_class_init), (gst_xml_registry_init),
27397         (gst_xml_registry_new), (gst_xml_registry_set_property),
27398         (gst_xml_registry_get_property), (get_time), (make_dir),
27399         (gst_xml_registry_get_perms_func),
27400         (plugin_times_older_than_recurse), (plugin_times_older_than),
27401         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
27402         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
27403         (add_to_char_array), (read_string), (read_uint), (read_enum),
27404         (load_pad_template), (load_feature), (load_plugin), (load_paths),
27405         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
27406         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
27407         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
27408         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
27409         (gst_xml_registry_rebuild):
27410         * gst/registries/gstlibxmlregistry.h:
27411         * tools/gst-compprep.c: (main):
27412         * tools/gst-inspect.c: (print_pad_templates_info):
27413         * tools/gst-xmlinspect.c: (print_element_info):
27414           Use libxml2 for registry parsing, use staticpadtemplates in
27415           elementfactories. Makes gst_init() +/- 10x faster.
27416
27417 2005-04-12  Wim Taymans  <wim@fluendo.com>
27418
27419         * gst/base/Makefile.am:
27420         * gst/base/gstbasesink.c: (gst_basesink_base_init),
27421         (gst_basesink_pad_getcaps), (gst_basesink_init),
27422         (gst_basesink_event), (gst_basesink_change_state):
27423         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
27424         (gst_basesrc_init), (gst_basesrc_query),
27425         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
27426         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
27427         (gst_basesrc_check_get_range), (gst_basesrc_loop),
27428         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
27429         (gst_basesrc_stop), (gst_basesrc_activate),
27430         (gst_basesrc_change_state):
27431         * gst/base/gsttypefindhelper.c: (helper_find_peek),
27432         (helper_find_suggest), (gst_type_find_helper):
27433         * gst/base/gsttypefindhelper.h:
27434         * gst/elements/Makefile.am:
27435         * gst/elements/gstelements.c:
27436         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27437         (gst_fakesink_get_times), (gst_fakesink_event),
27438         (gst_fakesink_preroll), (gst_fakesink_render):
27439         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27440         (gst_fakesrc_init), (gst_fakesrc_event_handler),
27441         (gst_fakesrc_get_property), (gst_fakesrc_create),
27442         (gst_fakesrc_start), (gst_fakesrc_stop):
27443         * gst/elements/gstfakesrc.h:
27444         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
27445         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
27446         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
27447         (gst_filesrc_create_read), (gst_filesrc_create),
27448         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
27449         (gst_filesrc_start):
27450         * gst/elements/gsttypefindelement.c:
27451         (gst_type_find_element_have_type), (gst_type_find_element_init),
27452         (start_typefinding), (stop_typefinding), (push_buffer_store),
27453         (gst_type_find_element_handle_event),
27454         (gst_type_find_element_chain),
27455         (gst_type_find_element_checkgetrange),
27456         (gst_type_find_element_getrange), (do_typefind),
27457         (gst_type_find_element_activate),
27458         (gst_type_find_element_change_state):
27459         * gst/elements/gsttypefindelement.h:
27460         * gst/gstpipeline.c: (pipeline_bus_handler):
27461         Added typefind helper.
27462         Small preroll fix in the base sink.
27463         Disable typefind code in basesrc.
27464         Crude port of typefindelement.
27465         Fakesrc cleanups.
27466
27467
27468 2005-04-11  Wim Taymans  <wim@fluendo.com>
27469
27470         * check/gst/gstbus.c: (gstbus_suite):
27471         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
27472         * check/gstcheck.h:
27473           Fix up the timeout so that the test does not fail.
27474
27475 2005-04-06  Wim Taymans  <wim@fluendo.com>
27476
27477         * gst/base/README:
27478         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
27479         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
27480         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
27481         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
27482         (gst_basesrc_check_get_range), (gst_basesrc_loop),
27483         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
27484         (gst_basesrc_stop), (gst_basesrc_activate),
27485         (gst_basesrc_change_state), (basesrc_find_peek),
27486         (basesrc_find_suggest), (gst_basesrc_type_find):
27487         * gst/base/gstbasesrc.h:
27488         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
27489         (gst_filesrc_class_init), (gst_filesrc_init),
27490         (gst_filesrc_finalize), (gst_filesrc_set_location),
27491         (gst_filesrc_set_property), (gst_filesrc_get_property),
27492         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
27493         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
27494         (gst_filesrc_create_read), (gst_filesrc_create),
27495         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
27496         * gst/elements/gstfilesrc.h:
27497         * gst/gstelement.c: (gst_element_get_state_func),
27498         (gst_element_lost_state), (gst_element_pads_activate):
27499         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27500         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
27501         (gst_pad_pull_range):
27502         * gst/gstpad.h:
27503         More work on the generic source base class, implement seeking,
27504         query.
27505         Make filesrc extend the base source class.
27506         Added gst_pad_set_checkgetrange_function to GstPad.
27507
27508 2005-04-06  Andy Wingo  <wingo@pobox.com>
27509
27510         * pkgconfig/gstreamer-base.pc.in:
27511         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
27512
27513         * pkgconfig/Makefile.am:
27514         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
27515
27516 2005-04-04  Wim Taymans  <wim@fluendo.com>
27517
27518         * gst/base/Makefile.am:
27519         * gst/base/README:
27520         * gst/base/gstbasesink.c: (gst_basesink_base_init),
27521         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
27522         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
27523         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
27524         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
27525         (gst_basesrc_base_init), (gst_basesrc_class_init),
27526         (gst_basesrc_init), (gst_basesrc_get_formats),
27527         (gst_basesrc_get_query_types), (gst_basesrc_query),
27528         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
27529         (gst_basesrc_set_property), (gst_basesrc_get_property),
27530         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
27531         (gst_basesrc_loop), (gst_basesrc_activate),
27532         (gst_basesrc_change_state):
27533         * gst/base/gstbasesrc.h:
27534         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
27535         (gst_fakesrc_class_init), (gst_fakesrc_init),
27536         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
27537         (gst_fakesrc_get_property), (gst_fakesrc_create):
27538         * gst/elements/gstfakesrc.h:
27539         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
27540         (gst_filesrc_open_file), (gst_filesrc_loop),
27541         (gst_filesrc_activate), (filesrc_find_peek),
27542         (gst_filesrc_type_find):
27543         Made base source class, make fakesrc extend it.
27544         Add comments to basesink class.
27545         Some filesrc cleanup.
27546
27547 2005-03-31  David Schleef  <ds@schleef.org>
27548
27549         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
27550         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
27551         expected to link against libgstreamer.
27552         * gst/base/Makefile.am: link against libgstreamer
27553         * gst/elements/Makefile.am: same
27554
27555 2005-03-31  Andy Wingo  <wingo@pobox.com>
27556
27557         * tests/instantiate/Makefile.am:
27558         * tests/instantiate/caps.c: Add test to test speed of caps copy
27559         and free.
27560
27561         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
27562         GMemChunk to be fair.
27563
27564         * gst/gsttrashstack.h: Remove warning about using the fallback
27565         trash stack implementation, it's still faster than malloc.
27566
27567 2005-03-30  Andy Wingo  <wingo@pobox.com>
27568
27569         * tests/complexity.c: Add a copyright.
27570
27571 2005-03-31  Wim Taymans  <wim@fluendo.com>
27572
27573         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
27574         (gst_base_transform_class_init), (gst_base_transform_init),
27575         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
27576         (gst_base_transform_get_property),
27577         (gst_base_transform_sink_activate),
27578         (gst_base_transform_src_activate),
27579         (gst_base_transform_change_state):
27580         * gst/base/gstbasetransform.h:
27581         * gst/elements/gstidentity.c: (gst_identity_class_init),
27582         (gst_identity_event), (gst_identity_check_perfect),
27583         (gst_identity_transform), (gst_identity_start),
27584         (gst_identity_stop):
27585         Added start/stop methods to transform base class so subclasses 
27586         don't need to deal with state changes even.
27587
27588 2005-03-31  Wim Taymans  <wim@fluendo.com>
27589
27590         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
27591         (gst_event_new_discontinuous), (gst_event_discont_get_value):
27592         * gst/gstevent.h:
27593         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27594         (gst_pad_pull_range):
27595         Added rate to the discont event to prepare for variable speed
27596         and reverse playback.
27597
27598 2005-03-29  David Schleef  <ds@schleef.org>
27599
27600         * configure.ac:
27601         * testsuite/trigger/Makefile.am:
27602         * testsuite/trigger/trigger.c: A little example program to show
27603         how trigger-based elements can work.
27604
27605 2005-03-29  Wim Taymans  <wim@fluendo.com>
27606
27607         * gst/base/Makefile.am:
27608         * gst/base/README:
27609         * gst/base/gstbasesink.c: (gst_basesink_get_type),
27610         (gst_basesink_base_init), (gst_basesink_class_init),
27611         (gst_basesink_pad_getcaps), (gst_basesink_init),
27612         (gst_basesink_activate), (gst_basesink_change_state):
27613         * gst/base/gstbasesink.h:
27614         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
27615         (gst_base_transform_base_init), (gst_base_transform_finalize),
27616         (gst_base_transform_class_init), (gst_base_transform_init),
27617         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
27618         (gst_base_transform_event), (gst_base_transform_getrange),
27619         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
27620         (gst_base_transform_set_property),
27621         (gst_base_transform_get_property),
27622         (gst_base_transform_sink_activate),
27623         (gst_base_transform_src_activate),
27624         (gst_base_transform_change_state):
27625         * gst/base/gstbasetransform.h:
27626         * gst/elements/gstidentity.c: (gst_identity_finalize),
27627         (gst_identity_class_init), (gst_identity_init),
27628         (gst_identity_event), (gst_identity_check_perfect),
27629         (gst_identity_transform), (gst_identity_set_property),
27630         (gst_identity_get_property), (gst_identity_change_state):
27631         * gst/elements/gstidentity.h:
27632         * gst/gstelement.c: (gst_element_get_state_func),
27633         (gst_element_lost_state), (gst_element_pads_activate):
27634         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27635         (gst_pad_check_pull_range), (gst_pad_pull_range):
27636         * gst/gstpad.h:
27637         Simplify pad activation.
27638         Added function to check if pull_range can be performed.
27639         Error out when pulling inactive or flushing pads.
27640         Removed const from refcounted types as it does not make sense.
27641         Simplify pad templates in basesink
27642         Added base class for simple 1-to-1 transforms.
27643         Make identity subclass the base transform.
27644
27645 2005-03-29  Andy Wingo  <wingo@pobox.com>
27646
27647         * docs/libs/gstreamer-libs-overrides.txt: 
27648         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
27649         really don't understand what's going on, but like whatever. I want
27650         green buildbot!
27651
27652         * docs/gst/Makefile.am:
27653         * docs/libs/Makefile.am: Dist the overrides files.
27654
27655         * check/Makefile.am (clean-local): Remove .libs directories.
27656
27657         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
27658         elements to EXTRA_DIST, so po/ files are happy.
27659
27660         * po/POTFILES.in: Er, remove it here.
27661
27662         * po/POTFILES: Remove gstspider.c.
27663
27664         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
27665
27666         * docs/libs/gstreamer-libs-docs.sgml: 
27667         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
27668         bytestream.
27669
27670         * tests/complexity.c (main): Set the length of the preroll queue
27671         on the sinks to prevent a lockup.
27672
27673         * libs/gst/dataprotocol/Makefile.am: 
27674         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
27675         the same as the one in check/gst-libs/gdp.c.
27676
27677         * po/, docs/gst/: Commit automatic changes to docs and po files.
27678
27679         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
27680         the versioned libgstbase.
27681
27682         * check/Makefile.am: Depend on an unversioned gst-register, seems
27683         to make autoconf happier.
27684
27685         * gst/base/Makefile.am: Make libgstbase a versioned lib.
27686
27687 2005-03-28  Wim Taymans  <wim@fluendo.com>
27688
27689         * configure.ac:
27690         * docs/design/part-gstelement.txt:
27691         * docs/design/part-negotiation.txt:
27692         * docs/design/part-preroll.txt:
27693         * docs/design/part-scheduling.txt:
27694         * docs/design/part-states.txt:
27695         * gst/Makefile.am:
27696         * gst/base/Makefile.am:
27697         * gst/base/README:
27698         * gst/base/gstbasesink.c: (gst_basesink_get_template),
27699         (gst_basesink_base_init), (gst_basesink_class_init),
27700         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
27701         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
27702         (gst_basesink_set_pad_functions),
27703         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
27704         (gst_basesink_set_property), (gst_basesink_get_property),
27705         (gst_base_sink_get_template), (gst_base_sink_get_caps),
27706         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
27707         (gst_basesink_preroll_queue_push),
27708         (gst_basesink_preroll_queue_empty),
27709         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
27710         (gst_basesink_event), (gst_basesink_get_times),
27711         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
27712         (gst_basesink_chain_unlocked), (gst_basesink_chain),
27713         (gst_basesink_loop), (gst_basesink_activate),
27714         (gst_basesink_change_state):
27715         * gst/base/gstbasesink.h:
27716         * gst/elements/Makefile.am:
27717         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
27718         (gst_fakesink_class_init), (gst_fakesink_init),
27719         (gst_fakesink_set_property), (gst_fakesink_get_property),
27720         (gst_fakesink_get_times), (gst_fakesink_event),
27721         (gst_fakesink_preroll), (gst_fakesink_render),
27722         (gst_fakesink_change_state):
27723         * gst/elements/gstfakesink.h:
27724         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
27725         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
27726         * gst/gstelement.c: (gst_element_add_pad),
27727         (gst_element_get_state_func), (gst_element_abort_state),
27728         (gst_element_commit_state), (gst_element_lost_state),
27729         (gst_element_set_state), (gst_element_pads_activate):
27730         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
27731         * gst/gstpipeline.c: (gst_pipeline_send_event),
27732         (gst_pipeline_change_state):
27733         Added state change code.
27734         Added/updated docs.
27735         Added sink base class, make fakesink extend the base class.
27736         Small cleanups in GstPipeline.
27737
27738 2005-03-26  David Schleef  <ds@schleef.org>
27739
27740         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
27741         is broken and should be implemented in a different library.
27742         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
27743         * gst/gst.h: remove gstcpu.h
27744         * gst/gstcpu.c: remove
27745         * gst/gstcpu.h: remove
27746         * gst/Makefile.am.future: Remove this file.  It's ancient.
27747
27748 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27749
27750         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
27751         (gst_bin_send_event):
27752           Add default event/set_manager handlers. The set_manager handler
27753           takes care that the manager is distributed over kids that were
27754           already in the bin before the manager was set. The event handler
27755           is a utility virtual function that sends the event over all sinks,
27756           so that gst_element_send_event (bin, event); has the expected
27757           behaviour.
27758         * gst/gstpad.c: (gst_pad_event_default):
27759           Re-install default event handling for discontinuities, so that
27760           seeking works without requiring hacks in applications or extra
27761           code in sinks.
27762         * gst/gstpipeline.c: (gst_pipeline_class_init),
27763         (gst_pipeline_send_event):
27764           Half hack, half utility: set a pipeline to PAUSED for seek events,
27765           since that is the only way we can guarantee a/v sync. Means that
27766           you can do gst_element_seek (pipeline, method, pos); on a pipeline
27767           and it "just works".
27768
27769 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27770
27771         * gst/gstpipeline.c: (gst_pipeline_use_clock):
27772           Lock/unlock mismatch.
27773
27774 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
27775
27776         * docs/faq/gst-uninstalled:
27777           add gst-plugins-base
27778         * docs/gst/Makefile.am:
27779           don't error out until docs are fixed
27780         * docs/gst/gstreamer.types:
27781           remove thread
27782
27783 2005-03-22  Wim Taymans  <wim@fluendo.com>
27784
27785         * check/Makefile.am:
27786         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
27787         * gst/gststructure.c: (gst_structure_set_valist),
27788         (gst_structure_copy_conditional):
27789         Activated more tests.
27790         Added message test.
27791         Added G_TYPE_POINTER to GstStructure.
27792         
27793
27794 2005-03-22  Wim Taymans  <wim@fluendo.com>
27795
27796         * docs/design/part-TODO.txt:
27797         * docs/design/part-events.txt:
27798         * docs/design/part-gstbin.txt:
27799         * docs/design/part-gstbus.txt:
27800         * docs/design/part-gstpipeline.txt:
27801         * docs/design/part-messages.txt:
27802         * gst/gstbus.c:
27803         * gst/gstmessage.c:
27804         Docs updates
27805
27806 2005-03-21  Wim Taymans  <wim@fluendo.com>
27807
27808         * gst/gstbus.c: (gst_bus_post):
27809         Fix copy-and-paste error.
27810
27811 2005-03-21  Wim Taymans  <wim@fluendo.com>
27812
27813         * check/Makefile.am:
27814         * gst/Makefile.am:
27815         * gst/elements/Makefile.am:
27816         * gst/elements/gstelements.c:
27817         * gst/elements/gstfakesink.c: (gst_fakesink_init),
27818         (gst_fakesink_event), (gst_fakesink_chain):
27819         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27820         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
27821         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
27822         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
27823         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
27824         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
27825         (gst_fakesrc_loop), (gst_fakesrc_activate),
27826         (gst_fakesrc_change_state):
27827         * gst/elements/gstfakesrc.h:
27828         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
27829         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
27830         (gst_filesrc_open_file), (gst_filesrc_loop),
27831         (gst_filesrc_activate), (gst_filesrc_change_state),
27832         (filesrc_find_peek), (filesrc_find_suggest),
27833         (gst_filesrc_type_find):
27834         * gst/elements/gstidentity.c: (gst_identity_finalize),
27835         (gst_identity_class_init), (gst_identity_init),
27836         (gst_identity_proxy_getcaps), (identity_queue_push),
27837         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
27838         (gst_identity_getrange), (gst_identity_chain),
27839         (gst_identity_sink_loop), (gst_identity_src_loop),
27840         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
27841         (gst_identity_set_property), (gst_identity_get_property),
27842         (gst_identity_change_state):
27843         * gst/elements/gstidentity.h:
27844         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
27845         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
27846         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
27847         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
27848         (gst_tee_sink_activate):
27849         * gst/elements/gsttee.h:
27850         * gst/gst.c: (gst_register_core_elements), (init_post):
27851         * gst/gst.h:
27852         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
27853         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
27854         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
27855         (gst_bin_change_state):
27856         * gst/gstbin.h:
27857         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
27858         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
27859         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
27860         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
27861         (gst_bus_set_sync_handler), (gst_bus_create_watch),
27862         (bus_watch_callback), (bus_watch_destroy),
27863         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
27864         (poll_timeout), (gst_bus_poll):
27865         * gst/gstbus.h:
27866         * gst/gstcaps.h:
27867         * gst/gstdata.h:
27868         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
27869         (gst_element_post_message), (gst_element_message_full),
27870         (gst_element_get_state_func), (gst_element_get_state),
27871         (gst_element_abort_state), (gst_element_commit_state),
27872         (gst_element_lost_state), (gst_element_set_state),
27873         (gst_element_pads_activate), (gst_element_change_state),
27874         (gst_element_dispose), (gst_element_set_manager_func),
27875         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
27876         (gst_element_set_manager), (gst_element_get_manager),
27877         (gst_element_set_bus), (gst_element_get_bus),
27878         (gst_element_set_scheduler), (gst_element_get_scheduler):
27879         * gst/gstelement.h:
27880         * gst/gstevent.c: (gst_event_new_segment_seek),
27881         (gst_event_new_flush):
27882         * gst/gstevent.h:
27883         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
27884         (_gst_message_free), (gst_message_get_type), (gst_message_new),
27885         (gst_message_new_eos), (gst_message_new_error),
27886         (gst_message_new_warning), (gst_message_new_tag),
27887         (gst_message_new_state_changed), (gst_message_new_application),
27888         (gst_message_get_structure), (gst_message_parse_tag),
27889         (gst_message_parse_state_changed), (gst_message_parse_error),
27890         (gst_message_parse_warning):
27891         * gst/gstmessage.h:
27892         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
27893         (gst_real_pad_set_property), (gst_pad_set_active),
27894         (gst_pad_is_active), (gst_pad_set_blocked_async),
27895         (gst_pad_set_blocked), (gst_pad_is_blocked),
27896         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
27897         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
27898         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
27899         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
27900         (gst_pad_link_filtered), (gst_pad_relink_filtered),
27901         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
27902         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
27903         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
27904         (gst_pad_set_caps), (gst_pad_configure_sink),
27905         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
27906         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
27907         (gst_real_pad_dispose), (gst_real_pad_finalize),
27908         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
27909         (gst_pad_event_default_dispatch), (gst_pad_event_default),
27910         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
27911         * gst/gstpad.h:
27912         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
27913         (pipeline_bus_handler), (gst_pipeline_change_state),
27914         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
27915         * gst/gstpipeline.h:
27916         * gst/gstprobe.h:
27917         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
27918         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
27919         (gst_queue_link_src), (gst_queue_bufferalloc),
27920         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
27921         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
27922         (gst_queue_loop), (gst_queue_handle_src_event),
27923         (gst_queue_handle_src_query), (gst_queue_src_activate),
27924         (gst_queue_change_state):
27925         * gst/gstqueue.h:
27926         * gst/gstscheduler.c: (gst_scheduler_init),
27927         (gst_scheduler_dispose), (gst_scheduler_create_task),
27928         (gst_scheduler_factory_create):
27929         * gst/gstscheduler.h:
27930         * gst/gststructure.c: (gst_structure_get_type),
27931         (gst_structure_copy_conditional):
27932         * gst/gststructure.h:
27933         * gst/gsttaginterface.h:
27934         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27935         (gst_task_init), (gst_task_dispose), (gst_task_create),
27936         (gst_task_get_state), (gst_task_start), (gst_task_stop),
27937         (gst_task_pause):
27938         * gst/gsttask.h:
27939         * gst/gstthread.c:
27940         * gst/gstthread.h:
27941         * gst/gsttypes.h:
27942         * gst/schedulers/Makefile.am:
27943         * gst/schedulers/cothreads_compat.h:
27944         * gst/schedulers/entryscheduler.c:
27945         * gst/schedulers/faircothreads.c:
27946         * gst/schedulers/faircothreads.h:
27947         * gst/schedulers/fairscheduler.c:
27948         * gst/schedulers/gstbasicscheduler.c:
27949         * gst/schedulers/gstoptimalscheduler.c:
27950         * gst/schedulers/gthread-cothreads.h:
27951         * gst/schedulers/threadscheduler.c:
27952         (gst_thread_scheduler_task_get_type),
27953         (gst_thread_scheduler_task_class_init),
27954         (gst_thread_scheduler_task_init),
27955         (gst_thread_scheduler_task_start),
27956         (gst_thread_scheduler_task_stop),
27957         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
27958         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27959         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
27960         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
27961         (plugin_init):
27962         * libs/gst/Makefile.am:
27963         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
27964         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
27965         (gst_file_pad_parent_set):
27966         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27967         (gst_dp_event_from_packet):
27968         * tests/complexity.c: (main):
27969         * tests/mass_elements.c: (main):
27970         * testsuite/states/locked.c: (message_received), (main):
27971         * testsuite/states/parent.c: (main):
27972         * tools/gst-inspect.c: (print_element_flag_info),
27973         (print_implementation_info), (print_pad_info):
27974         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
27975         (main):
27976         * tools/gst-md5sum.c: (event_loop), (main):
27977         * tools/gst-typefind.c: (main):
27978         * tools/gst-xmlinspect.c: (print_element_info):
27979         Next big merge.
27980         Added GstBus for mainloop integration.
27981         Added GstMessage for sending notifications on the bus.
27982         Added GstTask as an abstraction for pipeline entry points.
27983         Removed GstThread.
27984         Removed Schedulers.
27985         Simplified GstQueue for multithreaded core.
27986         Made _link threadsafe, removed old capsnego.
27987         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
27988         Added pad blocking functions.
27989         Reworked scheduling functions in GstPad to prepare for
27990         scheduling updates soon.
27991         Moved events out of data stream.
27992         Simplified GstEvent types.
27993         Added return values to push/pull.
27994         Removed clocking from GstElement.
27995         Added prototypes for state change function for next merge.
27996         Removed iterate from bins and state change management.
27997         Fixed some elements, disabled others for now.
27998         Fixed -inspect and -launch.
27999         Added check for GstBus.
28000
28001 2005-03-10  Wim Taymans  <wim@fluendo.com>
28002
28003         * docs/design/part-MT-refcounting.txt:
28004         * docs/design/part-clocks.txt:
28005         * docs/design/part-gstelement.txt:
28006         * docs/design/part-gstobject.txt:
28007         * docs/design/part-standards.txt:
28008         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
28009         (gst_bin_remove_func), (gst_bin_remove):
28010         * gst/gstbin.h:
28011         * gst/gstbuffer.c:
28012         * gst/gstcaps.h:
28013         * testsuite/clock/clock1.c: (main):
28014         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
28015         (main):
28016         * testsuite/dlopen/loadgst.c: (do_test):
28017         * testsuite/refcounting/bin.c: (add_remove_test1),
28018         (add_remove_test2), (main):
28019         * testsuite/refcounting/element.c: (main):
28020         * testsuite/refcounting/element_pad.c: (main):
28021         * testsuite/refcounting/pad.c: (main):
28022         * tools/gst-launch.c: (sigint_handler_sighandler):
28023         * tools/gst-typefind.c: (main):
28024         Doc updates.
28025         Added doc about clock.
28026         removed gst_bin_iterate_recurse_up(), marked methods
28027         for removal.
28028         Fix more testsuites.
28029
28030 2005-03-09  Wim Taymans  <wim@fluendo.com>
28031
28032         * gst/gstpad.c: (gst_pad_get_direction),
28033         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
28034         (gst_pad_collect_valist):
28035         * testsuite/bins/interface.c: (main):
28036         * testsuite/caps/audioscale.c: (test_caps):
28037         * testsuite/caps/caps.c: (test1), (test2), (test3):
28038         * testsuite/caps/deserialize.c: (main):
28039         * testsuite/caps/enumcaps.c: (main):
28040         * testsuite/caps/filtercaps.c: (main):
28041         * testsuite/caps/intersect2.c: (main):
28042         * testsuite/caps/random.c: (main):
28043         * testsuite/caps/renegotiate.c: (my_fixate), (main):
28044         * testsuite/caps/sets.c: (check_caps):
28045         * testsuite/caps/simplify.c: (check_caps), (main):
28046         * testsuite/caps/subtract.c: (check_caps):
28047         Fix _pad_get_direction wrt ghostpads.
28048         Fix caps testsuite.
28049
28050 2005-03-09  Wim Taymans  <wim@fluendo.com>
28051
28052         * check/Makefile.am:
28053         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
28054         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
28055         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
28056         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
28057         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
28058         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
28059         (gst_bin_remove), (gst_bin_iterate_recurse_up),
28060         (bin_element_is_sink), (gst_bin_iterate_sinks),
28061         (gst_bin_iterate_all_by_interface):
28062         * gst/gstbin.h:
28063         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
28064         (gst_element_change_state), (gst_element_dispose),
28065         (gst_element_finalize), (gst_element_set_loop_function):
28066         * gst/gstelement.h:
28067         * gst/gstiterator.c: (find_custom_fold_func):
28068         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
28069         (gst_pad_collectv), (gst_pad_collect_valist),
28070         (gst_pad_template_new):
28071         * gst/gstpipeline.c: (gst_pipeline_class_init),
28072         (gst_pipeline_dispose), (gst_pipeline_set_property),
28073         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
28074         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
28075         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
28076         * gst/gstutils.h:
28077         * gst/schedulers/entryscheduler.c:
28078         * gst/schedulers/gstbasicscheduler.c:
28079         (gst_basic_scheduler_cothreaded_chain),
28080         (gst_basic_scheduler_chain_add_element):
28081         * testsuite/bins/interface.c: (main):
28082         Added GstBin test.
28083         Added GstSystemClock test.
28084         Implemented clock distribution code in GstBin.
28085         Implemented iterate sinks method for future use.
28086         Rearranged gstelement.h
28087         Fix GstIterator comparison bug.
28088         Moved some code to GstPipeline, mostly clocking related.
28089
28090 2005-03-09  Wim Taymans  <wim@fluendo.com>
28091
28092         * configure.ac:
28093         * gst/gst_private.h:
28094         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
28095         (gst_bin_remove_func), (gst_bin_remove),
28096         (gst_bin_get_by_name_recurse_up):
28097         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
28098         (gst_clock_id_compare_func), (gst_clock_id_wait),
28099         (gst_clock_id_wait_async), (gst_clock_init),
28100         (gst_clock_adjust_unlocked), (gst_clock_get_time):
28101         * gst/gstelement.h:
28102         * gst/gstinfo.c: (_gst_debug_init):
28103         * gst/gstobject.h:
28104         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
28105         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
28106         * gst/gstpad.h:
28107         Bump version number, we're now 0.9.0
28108         Add future debugging category.
28109         Fix NULL _unref() in _get_by_name_recurse_up
28110         Rearrange gstpad.h.
28111         Update some docs.
28112
28113 2005-03-08  Wim Taymans  <wim@fluendo.com>
28114
28115         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
28116         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
28117         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28118         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
28119         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
28120         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
28121         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
28122         * gst/elements/gstidentity.c: (gst_identity_class_init):
28123         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
28124         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
28125         * gst/elements/gstshaper.c: (gst_shaper_class_init):
28126         * gst/elements/gststatistics.c: (gst_statistics_class_init):
28127         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
28128         (gst_tee_link):
28129         * gst/gstelement.c: (gst_element_class_init),
28130         (gst_element_base_class_init), (gst_element_init),
28131         (gst_element_get_random_pad), (gst_element_wait_state_change),
28132         (gst_element_change_state), (gst_element_dispose),
28133         (gst_element_finalize), (gst_element_set_loop_function):
28134         * gst/gstelement.h:
28135         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
28136         * gst/gstthread.c: (gst_thread_class_init),
28137         (gst_thread_release_children_locks), (gst_thread_change_state):
28138         * gst/schedulers/gstbasicscheduler.c:
28139         (gst_basic_scheduler_loopfunc_wrapper),
28140         (gst_basic_scheduler_chain_wrapper),
28141         (gst_basic_scheduler_src_wrapper),
28142         (gst_basic_scheduler_remove_element):
28143         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
28144         Remove threadsafe properties. Fix elements because GObject
28145         complains when installing a property before declaring a
28146         set/get_property handler.
28147         Rearrange gstelement.h file, use STATE macros for state locks.
28148         Free mutexes in the finalize method instead of dispose.
28149
28150 2005-03-08  Wim Taymans  <wim@fluendo.com>
28151
28152         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28153         * gst/gstthread.c: (gst_thread_release_children_locks):
28154         Added parentage check.
28155         Fix build og GstThread again.
28156
28157 2005-03-08  Wim Taymans  <wim@fluendo.com>
28158
28159         * docs/design/part-MT-refcounting.txt:
28160         * docs/design/part-conventions.txt:
28161         * docs/design/part-gstobject.txt:
28162         * docs/design/part-relations.txt:
28163         * docs/design/part-standards.txt:
28164         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
28165         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
28166         (gst_bin_get_by_name), (gst_bin_get_by_interface),
28167         (gst_bin_iterate_all_by_interface):
28168         * gst/gstbuffer.h:
28169         * gst/gstclock.h:
28170         * gst/gstelement.c: (gst_element_class_init),
28171         (gst_element_change_state), (gst_element_set_loop_function):
28172         * gst/gstelement.h:
28173         * gst/gstiterator.c:
28174         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
28175         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
28176         (gst_object_dispatch_properties_changed), (gst_object_set_name),
28177         (gst_object_set_parent), (gst_object_unparent),
28178         (gst_object_check_uniqueness):
28179         * gst/gstobject.h:
28180         Docs updates, clean up some headers.
28181
28182 2005-03-07  Wim Taymans  <wim@fluendo.com>
28183
28184         * check/.cvsignore:
28185         * check/Makefile.am:
28186         * check/gst-libs/.cvsignore:
28187         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
28188         * check/gst/.cvsignore:
28189         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
28190         (START_TEST), (gstbus_suite), (main):
28191         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
28192         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
28193         (gst_data_suite), (main):
28194         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
28195         (add_fold_func), (gstiterator_suite), (main):
28196         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
28197         (thread_name_object), (thread_name_object_default),
28198         (gst_object_name_compare), (gst_object_suite), (main):
28199         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
28200         (gst_pad_suite), (main):
28201         * check/gstcheck.c: (gst_check_log_message_func),
28202         (gst_check_log_critical_func), (gst_check_init):
28203         * check/gstcheck.h:
28204         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
28205         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
28206         Added checks.
28207
28208 2005-03-07  Wim Taymans  <wim@fluendo.com>
28209
28210         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
28211         (gst_list_iterator_next), (gst_list_iterator_resync),
28212         (gst_list_iterator_free), (gst_iterator_new_list),
28213         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
28214         (gst_iterator_free), (gst_iterator_push), (filter_next),
28215         (filter_resync), (filter_uninit), (filter_free),
28216         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
28217         (gst_iterator_foreach), (find_custom_fold_func),
28218         (gst_iterator_find_custom):
28219         * gst/gstiterator.h:
28220         Added missing files.
28221
28222 2005-03-07  Wim Taymans  <wim@fluendo.com>
28223
28224         * Makefile.am:
28225         * configure.ac:
28226         * docs/design/part-MT-refcounting.txt:
28227         * docs/design/part-conventions.txt:
28228         * docs/design/part-gstobject.txt:
28229         * docs/design/part-relations.txt:
28230         * examples/mixer/mixer.c: (main):
28231         * examples/thread/thread.c: (eos), (main):
28232         * gst/Makefile.am:
28233         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
28234         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
28235         (gst_spider_plug_from_srcpad):
28236         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
28237         (gst_spider_identity_change_state),
28238         (gst_spider_identity_sink_loop_type_finding):
28239         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
28240         * gst/elements/gstidentity.c: (gst_identity_init):
28241         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
28242         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
28243         * gst/elements/gsttypefindelement.c: (free_entry):
28244         * gst/gst.c:
28245         * gst/gst.h:
28246         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
28247         (gst_bin_set_clock_func), (gst_bin_auto_clock),
28248         (gst_bin_set_index), (gst_bin_set_element_sched),
28249         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
28250         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
28251         (gst_bin_iterate_elements), (iterate_child_recurse),
28252         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
28253         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
28254         (compare_interface), (gst_bin_get_by_interface),
28255         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
28256         * gst/gstbin.h:
28257         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
28258         (gst_buffer_default_free), (gst_buffer_default_copy),
28259         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
28260         (gst_buffer_create_sub):
28261         * gst/gstbuffer.h:
28262         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
28263         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
28264         (gst_caps_unref), (gst_static_caps_get),
28265         (gst_caps_remove_and_get_structure), (gst_caps_append),
28266         (gst_caps_append_structure), (gst_caps_remove_structure),
28267         (gst_caps_copy_nth), (gst_caps_set_simple),
28268         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
28269         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
28270         (gst_caps_structure_intersect_field), (gst_caps_intersect),
28271         (gst_caps_structure_subtract_field), (gst_caps_subtract),
28272         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
28273         (gst_caps_structure_figure_out_union),
28274         (gst_caps_switch_structures), (gst_caps_do_simplify),
28275         (gst_caps_replace), (gst_caps_from_string),
28276         (gst_caps_copy_conditional):
28277         * gst/gstcaps.h:
28278         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
28279         (_gst_clock_id_free), (gst_clock_id_unref),
28280         (gst_clock_id_compare_func), (gst_clock_id_wait),
28281         (gst_clock_id_wait_async), (gst_clock_class_init),
28282         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
28283         (gst_clock_get_time), (gst_clock_set_time_adjust),
28284         (gst_clock_set_property), (gst_clock_get_property):
28285         * gst/gstclock.h:
28286         * gst/gstcompat.h:
28287         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
28288         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
28289         * gst/gstdata.h:
28290         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
28291         (gst_element_requires_clock), (gst_element_provides_clock),
28292         (gst_element_set_clock), (gst_element_clock_wait),
28293         (gst_element_wait), (gst_element_set_time_delay),
28294         (gst_element_is_indexable), (gst_element_add_pad),
28295         (gst_element_add_ghost_pad), (gst_element_remove_pad),
28296         (pad_compare_name), (gst_element_get_static_pad),
28297         (gst_element_request_pad), (gst_element_get_request_pad),
28298         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
28299         (gst_element_class_get_pad_template_list),
28300         (gst_element_class_get_pad_template), (gst_element_error_func),
28301         (gst_element_get_random_pad), (gst_element_get_event_masks),
28302         (gst_element_send_event), (gst_element_seek),
28303         (gst_element_get_query_types), (gst_element_query),
28304         (gst_element_get_formats), (gst_element_convert),
28305         (gst_element_is_locked_state), (gst_element_set_locked_state),
28306         (gst_element_sync_state_with_parent), (gst_element_change_state),
28307         (gst_element_finalize), (gst_element_yield),
28308         (gst_element_interrupt), (gst_element_set_scheduler),
28309         (gst_element_get_scheduler), (gst_element_set_loop_function):
28310         * gst/gstelement.h:
28311         * gst/gstevent.h:
28312         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
28313         (gst_format_get_by_nick), (gst_format_get_details),
28314         (gst_format_iterate_definitions):
28315         * gst/gstformat.h:
28316         * gst/gstindex.c: (gst_index_gtype_resolver):
28317         * gst/gstinfo.c:
28318         * gst/gstinfo.h:
28319         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
28320         (gst_mem_chunk_free):
28321         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
28322         (gst_object_ref), (gst_object_unref), (gst_object_sink),
28323         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
28324         (gst_object_dispatch_properties_changed),
28325         (gst_object_set_name_default), (gst_object_set_name),
28326         (gst_object_get_name), (gst_object_set_name_prefix),
28327         (gst_object_get_name_prefix), (gst_object_set_parent),
28328         (gst_object_get_parent), (gst_object_unparent),
28329         (gst_object_check_uniqueness), (gst_object_save_thyself),
28330         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
28331         (gst_object_set_property), (gst_object_get_property),
28332         (gst_object_get_path_string):
28333         * gst/gstobject.h:
28334         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
28335         (gst_real_pad_init), (gst_real_pad_get_property),
28336         (gst_pad_custom_new), (gst_pad_get_direction),
28337         (gst_pad_set_active), (gst_pad_is_active),
28338         (gst_pad_set_event_function), (gst_pad_is_linked),
28339         (gst_pad_link_free), (gst_pad_link_intersect),
28340         (gst_pad_link_fixate), (gst_pad_set_caps),
28341         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
28342         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
28343         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
28344         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
28345         (gst_pad_get_caps), (gst_pad_peer_get_caps),
28346         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
28347         (gst_pad_realize), (gst_pad_get_allowed_caps),
28348         (gst_real_pad_dispose), (gst_real_pad_finalize),
28349         (gst_pad_collectv), (gst_pad_collect_valist),
28350         (gst_pad_template_dispose), (gst_pad_template_new),
28351         (gst_pad_get_internal_links):
28352         * gst/gstpad.h:
28353         * gst/gstpipeline.c: (gst_pipeline_dispose),
28354         (gst_pipeline_change_state):
28355         * gst/gstpipeline.h:
28356         * gst/gstplugin.c:
28357         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
28358         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
28359         * gst/gstpluginfeature.h:
28360         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
28361         * gst/gstquery.c: (_gst_query_type_initialize),
28362         (gst_query_type_register), (gst_query_type_get_by_nick),
28363         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
28364         * gst/gstquery.h:
28365         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
28366         * gst/gstscheduler.c: (gst_scheduler_add_element),
28367         (gst_scheduler_factory_create):
28368         * gst/gststructure.c: (gst_structure_set_parent_refcount),
28369         (gst_structure_free), (gst_structure_set_name),
28370         (gst_structure_id_set_value), (gst_structure_set_value),
28371         (gst_structure_set_valist), (gst_structure_remove_field),
28372         (gst_structure_remove_fields),
28373         (gst_structure_remove_fields_valist),
28374         (gst_structure_remove_all_fields), (gst_structure_foreach),
28375         (gst_structure_map_in_place),
28376         (gst_caps_structure_fixate_field_nearest_int),
28377         (gst_caps_structure_fixate_field_nearest_double):
28378         * gst/gststructure.h:
28379         * gst/gstsystemclock.c: (gst_system_clock_class_init),
28380         (gst_system_clock_init), (gst_system_clock_dispose),
28381         (gst_system_clock_async_thread),
28382         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
28383         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
28384         * gst/gstsystemclock.h:
28385         * gst/gsttag.c: (gst_tag_list_add_value_internal),
28386         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
28387         * gst/gsttaginterface.c:
28388         * gst/gstthread.c: (gst_thread_dispose),
28389         (gst_thread_release_children_locks), (gst_thread_change_state),
28390         (gst_thread_main_loop):
28391         * gst/gsttrashstack.h:
28392         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
28393         * gst/gsttypes.h:
28394         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28395         (gst_element_request_pad), (gst_element_get_pad_from_template),
28396         (gst_element_request_compatible_pad),
28397         (gst_element_get_compatible_pad_filtered),
28398         (gst_element_get_compatible_pad), (gst_element_state_get_name),
28399         (gst_element_link_pads_filtered), (gst_element_link_filtered),
28400         (gst_element_link_many), (gst_element_link),
28401         (gst_element_link_pads), (gst_element_unlink_pads),
28402         (gst_element_unlink_many), (gst_element_unlink),
28403         (gst_pad_can_link_filtered), (gst_pad_can_link),
28404         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
28405         (gst_object_default_error), (gst_bin_add_many),
28406         (gst_bin_remove_many), (gst_element_populate_std_props),
28407         (gst_element_class_install_std_props), (gst_buffer_merge),
28408         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
28409         (link_fold_func), (gst_pad_proxy_setcaps):
28410         * gst/gstutils.h:
28411         * gst/gstvalue.c: (gst_value_deserialize_string):
28412         * gst/parse/grammar.y:
28413         * gst/schedulers/gstbasicscheduler.c:
28414         (gst_basic_scheduler_cothreaded_chain),
28415         (gst_basic_scheduler_chain_recursive_add),
28416         (gst_basic_scheduler_pad_link):
28417         * gst/schedulers/gstoptimalscheduler.c:
28418         (get_group_schedule_function),
28419         (gst_opt_scheduler_state_transition),
28420         (gst_opt_scheduler_add_element), (element_get_reachables_func):
28421         * libs/gst/bytestream/bytestream.c:
28422         * libs/gst/dataprotocol/dataprotocol.c:
28423         (gst_dp_header_from_buffer):
28424         * po/nb.po:
28425         * po/ru.po:
28426         * tests/threadstate/threadstate2.c: (eos):
28427         * tools/gst-compprep.c: (main):
28428         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
28429         (print_pad_info), (print_children_info):
28430         * tools/gst-launch.c: (idle_func), (main):
28431         * tools/gst-md5sum.c: (idle_func), (main):
28432         * tools/gst-xmlinspect.c: (print_element_info):
28433         First THREADED backport attempt, focusing on adding locks and
28434         making sure the API is threadsafe. Needs more work. More docs
28435         follow this week.
28436
28437 2005-02-24  Andy Wingo  <wingo@pobox.com>
28438
28439         * tests/bench-complexity.scm:
28440         * tests/complexity.gnuplot: New files, good for running complexity
28441         benchmarks.
28442
28443         * tests/Makefile.am:
28444         * tests/complexity.c: New test, sets up N elements, at each level
28445         teeing into M streams per element. Eeeenteresting.
28446
28447         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
28448         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
28449         running bench-mass_elements.scm.
28450
28451         * tests/bench-mass_elements.scm: New script, runs mass_elements
28452         for various numbers of identities, outputting the results to a
28453         file. Requires guile 1.6. Just for testing.
28454
28455 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
28456
28457         * gst/schedulers/fairscheduler.c:
28458           compile with debug disabled
28459
28460 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
28461
28462         * configure.ac:
28463           hunting season on 0.9 is now OPEN