gst/: Make things work with --disable-parse as they do with
[platform/upstream/gstreamer.git] / ChangeLog
1 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
2
3         * gst/Makefile.am:
4         * gst/gstparse.h:
5         * gst/gstutils.c:
6         * gst/gstutils.h:
7         Make things work with --disable-parse as they do with 
8         --disable-load-save - the symbols involved disappear, but the
9         header is still installed and GST_DISABLE_PARSE is included via
10         gstconfig.h
11
12 2006-02-20  Julien MOUTTE  <julien@moutte.net>
13
14         * libs/gst/base/gstbasetransform.c:
15         (gst_base_transform_change_state): Fix a stupid bug. I was 
16         sure i compiled that.
17
18 2006-02-20  Julien MOUTTE  <julien@moutte.net>
19
20         * gst/gstpad.c: (gst_pad_set_blocked_async):
21         * gst/gstutils.c: (gst_pad_add_data_probe),
22         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
24         (gst_pad_remove_buffer_probe): Make those function act on the
25         ghostpad target when it's a ghostpad. (Closes #331727)
26
27 2006-02-20  Julien MOUTTE  <julien@moutte.net>
28
29         * libs/gst/base/gstbasetransform.c:
30         (gst_base_transform_change_state): Make basetransform reusable.
31         (Closes #331898)
32
33 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
34
35         * docs/random/release:
36         Move the current documentation of how to do a release to the top
37         of the file.
38
39         * gst/gstbin.c: (gst_bin_class_init),
40         (gst_bin_handle_message_func):
41         Allow multiple state-recalculation threads. (Closes #328873)
42
43 2006-02-19  Julien MOUTTE  <julien@moutte.net>
44
45         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
46         * gst/gstpad.c: (gst_pad_set_event_function),
47         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
48         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
49         2 strings. You can't use the STR_NULL macro on that.
50
51 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
52
53         * gst/gstpad.c: (gst_pad_set_event_function),
54         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
55         (gst_pad_set_getcaps_function)
56         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
57                 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
58                 So now, we can use --gst-debug-level=5 on Windows
59         * win32/common/libgstcontroller.def:
60           Added export of gst_controller_init
61         * win32/vs6/libgstcontroller.dsp:
62           Fixed Release post build configuration
63
64 2006-02-17  Wim Taymans  <wim@fluendo.com>
65
66         * tests/check/gst/gstquery.c: (GST_START_TEST):
67         Added another check.
68
69 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
70
71         * plugins/elements/gsttypefindelement.c: (find_peek):
72           We can do peeks at non-zero offsets, as long as they
73           fall within the buffer we have.
74
75 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
76
77         * tests/check/Makefile.am:
78         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
79         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
80         (parse_suite), (main):
81           Add testsuite for parse launch syntax
82
83 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
84
85         * plugins/elements/gsttypefindelement.c:
86         (gst_type_find_element_chain):
87           When typefinding is unsuccessful in the chain function, don't
88           error out immediately. Only error out with NO_CAPS_FOUND if
89           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
90           otherwise simply wait for more data so we can try typefinding
91           again with more data later. Also, don't attempt to typefind
92           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
93           this should improve typefinding from network sources where the
94           size of the first buffer can be somewhat random.
95
96 2006-02-14  Wim Taymans  <wim@fluendo.com>
97
98         * docs/gst/gstreamer-sections.txt:
99         * gst/gstpadtemplate.c:
100         * gst/gstpadtemplate.h:
101         Fix padtemplate docs, fixes #328805.
102
103 2006-02-14  Wim Taymans  <wim@fluendo.com>
104
105         * tools/gst-launch.c: (main):
106         NO_PREROLL is not an ERROR so don't send confusing messages
107         to the user.
108
109 2006-02-14  Wim Taymans  <wim@fluendo.com>
110
111         * gst/gstregistry.c: (gst_registry_get_default),
112         (_gst_registry_cleanup):
113         Protect default registry with lock and ref/sink it.
114         Fixes #324818, patch by Torsten Schoenfeld.
115
116 2006-02-14  Wim Taymans  <wim@fluendo.com>
117
118         * gst/gstbuffer.c:
119         * gst/gstquery.c: (gst_query_list_add_format),
120         (gst_query_set_formatsv), (gst_query_parse_formats_length),
121         (gst_query_parse_formats_nth):
122         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
123         Docs fixes.
124
125 2006-02-14  Wim Taymans  <wim@fluendo.com>
126
127         * docs/gst/gstreamer-sections.txt:
128         Reworked query docs.
129
130         * gst/gstquery.c: (gst_query_new_formats),
131         (gst_query_list_add_format), (gst_query_set_formats),
132         (gst_query_set_formatsv), (gst_query_parse_formats_length),
133         (gst_query_parse_formats_nth):
134         * gst/gstquery.h:
135         Flesh out formats query, added some new methods.
136         Fix part of #324398.
137
138         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
139         Added query creation tests.
140
141 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
142
143         * gst/gstpad.c: (fixate_value):
144         Add a default fixation for fraction lists.
145
146 2006-02-13  Wim Taymans  <wim@fluendo.com>
147
148         * gst/gsttask.c: (gst_task_init), (gst_task_func),
149         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
150         (gst_task_join):
151         * gst/gsttask.h:
152         Detect and warn for obvious deadlocks. fixes #320340
153         Fix error case where lock was not released.
154
155         * tests/check/Makefile.am:
156         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
157         (task_func), (gst_element_suite), (main):
158         Add task check.
159
160 2006-02-13  Wim Taymans  <wim@fluendo.com>
161
162         * docs/gst/gstreamer-sections.txt:
163         * gst/gstbus.c:
164         Add new functions to docs.
165
166 2006-02-13  Wim Taymans  <wim@fluendo.com>
167
168         * docs/design/part-TODO.txt:
169         Updated TODO list, basesrc supports seeking to non-bytes
170         formats.
171
172         * docs/design/part-element-sink.txt:
173         Update docs.
174
175         * gst/gstbin.c: (bin_replace_message),
176         (gst_bin_handle_message_func):
177         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
178         * gst/gstevent.c: (gst_event_finalize):
179         * gst/gstpad.c: (gst_pad_event_default_dispatch),
180         (gst_pad_send_event):
181         Use shiny new _TYPE_NAME macros.
182
183         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
184         Move debug statement up.
185
186         * gst/gstelement.c: (gst_element_set_locked_state):
187         Add some debugging.
188
189 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
190
191         * docs/gst/gstreamer-sections.txt:
192         * gst/gstmessage.h:
193         * gst/gstquery.h:
194           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
195           macros (#330906). Also, document the already existing
196           GST_QUERY_TYPE macro.
197
198 2006-02-13  Wim Taymans  <wim@fluendo.com>
199
200         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
201         (event_probe), (GST_START_TEST):
202         Only events up to the pipeline EOS are counted, there are
203         some more when going to NULL currently which we don't care
204         about for now.
205
206 2006-02-13  Wim Taymans  <wim@fluendo.com>
207
208         * gst/gstpad.c: (gst_pad_send_event):
209         Correctly check flushing and emit probes. fixes #330125
210
211 2006-02-10  Andy Wingo  <wingo@pobox.com>
212
213         * gst/gstbus.c (gst_bus_class_init): Declare our private data
214         structure.
215         (gst_bus_init): Cache the location of the private data in the
216         instance structure.
217         (gst_bus_enable_sync_message_emission) 
218         (gst_bus_disable_sync_message_emission): Implement new public
219         functions.
220         (gst_bus_post): Emit the sync-message signal if the user asked for
221         it. Fixes #330684.
222
223         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
224         location of the bus-private structuure.
225         (gst_bus_enable_sync_message_emission)
226         (gst_bus_disable_sync_message_emission): New public functions.
227
228 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
229
230         * docs/pwg/building-boiler.xml:
231         PWG patch from #326800 (Patch by Vincent Torri)
232
233 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
234
235         * configure.ac:
236         * docs/Makefile.am:
237         * docs/design/Makefile.am:
238           Dist design docs.
239
240 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
241
242         * configure.ac:
243           back to CVS
244
245 === release 0.10.3 ===
246
247 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
248
249         * configure.ac:
250           releasing 0.10.3, "Like a virgin"
251
252 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
253
254         * configure.ac:
255           2nd prerelease of 0.10.3
256           Bump libtool versioning.
257
258 2006-02-07  Andy Wingo  <wingo@pobox.com>
259
260         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
261         update last_stop if we're in TIME format and the timestamp is
262         valid.
263
264         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
265         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
266         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
267         If we get a new newsegment with a different format, adapt
268         accordingly.
269
270         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
271         of 0. Not a problem, really.
272
273         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
274         warn if sync=true.
275
276 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
277
278         * configure.ac:
279           Prelease of 0.10.3
280
281 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
282
283         * win32/vs7:
284           project files updated to the default vs7 configuration
285         * win32/common/libgstbase.def:
286         * win32/common/libgstreamer.def:
287           added new symbols,
288           removed empty lines,
289           sorted all exported symbols alphabetically
290         * win32/common/dirent.c:
291         * win32/common/dirent.h:
292         * win32/common/gchar.h:
293           use windows line end.
294           
295 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
296
297         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
298           Send EOS event when stopping.
299
300 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
301
302         * docs/README:
303           Tell folks what to do if the plugin-foobar.xml file
304           hasn't been generated for a newly-added plugin.
305
306 2006-02-05  Julien MOUTTE  <julien@moutte.net>
307
308         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
309         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
310         (gst_collect_pads_start), (gst_collect_pads_stop),
311         (gst_collect_pads_event): Collectpads now holds a reference
312         to the GstPad that was added. Indeed we don't want to look
313         at pads that might just go away with no warning...
314
315 2006-02-05  Julien MOUTTE  <julien@moutte.net>
316
317         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
318         (gst_collect_pads_start), (gst_collect_pads_stop),
319         (gst_collect_pads_event), (gst_collect_pads_chain):
320         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
321         Mark Nauwelaerts's patch on bug #328491.
322
323 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
324
325         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
326         (gst_utils_suite):
327           Add some simple tests for gst_parse_bin_from_description() and
328           gst_bin_find_unconnected_pad() (#329069).
329
330 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
331
332         * tools/gst-launch.c: (event_loop), (main):
333           Catch errors during preroll (#320084).
334
335 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
336
337         * plugins/elements/gsttypefindelement.c:
338         (gst_type_find_element_activate):
339           Post TYPE_NOT_FOUND error message when typefinding
340           is unsuccessful in the activate function as well.
341
342 2006-02-02  Wim Taymans  <wim@fluendo.com>
343
344         * docs/design/part-element-sink.txt:
345         Updated doc.
346
347 2006-02-02  Wim Taymans  <wim@fluendo.com>
348
349         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
350         (gst_base_sink_render_object),
351         (gst_base_sink_queue_object_unlocked):
352         Only keep track of prerollable items when we are 
353         prerolling.
354         Before rendering after preroll, always check if we
355         have queued items.
356         Added some more debugging.
357
358 2006-02-02  Wim Taymans  <wim@fluendo.com>
359
360         * gst/gstelement.c: (gst_element_continue_state),
361         (gst_element_set_state_func), (gst_element_change_state):
362         Fixed #326576, been running this for quite some time with
363         no regressions at all.
364
365 2006-02-02  Wim Taymans  <wim@fluendo.com>
366
367         * common/gst.supp:
368         Added more suppressions
369
370 2006-02-02  Wim Taymans  <wim@fluendo.com>
371
372         * docs/design/part-element-sink.txt:
373         Updated document.
374
375         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
376         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
377         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
378         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
379         (gst_base_sink_do_sync), (gst_base_sink_render_object),
380         (gst_base_sink_preroll_object),
381         (gst_base_sink_queue_object_unlocked),
382         (gst_base_sink_queue_object), (gst_base_sink_event),
383         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
384         (gst_base_sink_loop), (gst_base_sink_activate_pull),
385         (gst_base_sink_get_position), (gst_base_sink_change_state):
386         * libs/gst/base/gstbasesink.h:
387         Totally refactored matching the design doc.
388         Use two segments, one to clip incomming buffers and another to
389         perform sync.
390         Handle queueing correctly, bypass the queue when playing.
391         Make EOS cancelable.
392         Handle errors correctly when operating in pull based mode.
393
394         * tests/check/elements/fakesink.c: (GST_START_TEST),
395         (fakesink_suite):
396         Added new check for sinks.
397
398 2006-02-02  Wim Taymans  <wim@fluendo.com>
399
400         * gst/gstsegment.c: (gst_segment_clip):
401         No reason to refuse to clip when start == -1
402
403 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
404
405         * docs/README:
406         * docs/manual/intro-basics.xml:
407         * docs/manual/intro-preface.xml:
408         * docs/manual/manual.xml:
409         * docs/pwg/advanced-dparams.xml:
410         * docs/pwg/intro-basics.xml:
411         * docs/pwg/intro-preface.xml:
412         * docs/pwg/pwg.xml:
413           describe dparams (controller) for plugins
414           unify docs a little more
415
416 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
417
418         * docs/gst/gstreamer-sections.txt:
419         * gst/gstutils.c: (element_find_unconnected_pad),
420         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
421         * gst/gstutils.h:
422           Add new API: gst_parse_bin_from_description() and
423           gst_bin_find_unconnected_pad() (#329069).
424
425 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
426
427         * docs/manual/README:
428           uncover a nasty detail of the docs build
429
430 2006-01-31  Wim Taymans  <wim@fluendo.com>
431
432         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
433         Don't cache duration messages if we're not going to use or
434         free them.
435
436 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
437
438         * docs/manual/advanced-dparams.xml:
439         * docs/pwg/advanced-dparams.xml:
440           more dparam docs
441         * gst/gstindex.c:
442           fix docs
443         * libs/gst/controller/lib.c: (gst_controller_init):
444           init just once
445
446 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
447
448         * gst/gstelement.c: (gst_element_message_full):
449           also show file/line/func if no additional debug was given
450
451 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
452         
453         * win32/vs7/grammar.vcproj:
454                 activate copy of autogenerated files for Release mode
455
456 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
457         
458         * win32/common/libgstreamer.def:
459                 export gst_value_compare
460
461 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
462
463         * plugins/elements/Makefile.am:
464         * plugins/elements/gstelements.c:
465         * plugins/elements/gstfdsink.c: (_do_init),
466         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
467         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
468         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
469         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
470         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
471         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
472         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
473         * plugins/elements/gstfdsink.h:
474         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
475
476 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
477
478         * docs/manual/advanced-dparams.xml:
479           describe controller
480         * docs/manual/advanced-position.xml:
481         * docs/manual/basics-init.xml:
482         * docs/manual/manual.xml:
483         * docs/manual/titlepage.xml:
484         * docs/pwg/pwg.xml:
485         * docs/pwg/titlepage.xml:
486           cleanup xml (more to come)
487         * libs/gst/controller/gstcontroller.c:
488           fix typo
489
490 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
491         
492         * win32/vs6/grammar.dsp:
493                 add autogen of gstmarshal.c,h for Release mode
494                 
495 2006-01-30  Wim Taymans  <wim@fluendo.com>
496
497         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
498         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
499         (gst_base_sink_handle_object), (gst_base_sink_event),
500         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
501         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
502         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
503         (gst_base_sink_deactivate), (gst_base_sink_activate),
504         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
505         (gst_base_sink_query), (gst_base_sink_change_state):
506         Basesink cleanups, remove some old code.
507         Handle the case where a subclass can preroll in the render
508         method (mostly audiosinks).
509         Handle more events.
510         Remove some locks around variables that are now protected
511         with the PREROLL_LOCK (clock_id, flushing, ..).
512         Optimize position query some more, do correct locking.
513         Remove old code to push queue in state change, this is not
514         needed anymore since preroll blocks on all prerollable items 
515         now.
516         Almost implemented as described in design doc.
517
518 2006-01-30  Wim Taymans  <wim@fluendo.com>
519
520         * tests/check/gst/gstbin.c: (GST_START_TEST):
521         Wait for refcount to settle down before checking.
522
523 2006-01-30  Wim Taymans  <wim@fluendo.com>
524
525         * docs/design/part-element-sink.txt:
526         Pseudo code overview of desired sink behaviour regarding
527         preroll.
528
529 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
530         * win32/vs6/grammar.dsp:
531                 fix some bugs in Release mode for autogenerated files
532                 
533 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
534         * win32/common/libgstbase.def:
535         * win32/common/libgstreamer.def:
536                 export some new symbols: gst_base_src_set_format,
537                 gst_iterator_next, gst_structure_set_valist
538
539 2006-01-29  Julien MOUTTE  <julien@moutte.net>
540
541         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
542         Set pad functions unconditionally. Fixes #329105.
543
544 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
545         * win32/vs8:
546                 add vs8 project files created by Sergey Scobich
547
548 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
549
550         * gst/gstutils.c: (gst_element_unlink_pads):
551         Don't leak pad references.
552
553         * tests/check/elements/fakesink.c: (GST_START_TEST):
554         * tests/check/generic/sinks.c: (GST_START_TEST):
555         * tests/check/generic/states.c: (GST_START_TEST):
556         * tests/check/gst/gstbin.c: (GST_START_TEST):
557         * tests/check/gst/gstcaps.c: (GST_START_TEST):
558         * tests/check/gst/gstelement.c: (GST_START_TEST):
559         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
560         * tests/check/gst/gstiterator.c: (GST_START_TEST):
561         * tests/check/gst/gstvalue.c: (GST_START_TEST):
562         Fix a bunch of leaks. Make generic/sinks.c
563         use a bit less cpu by slowing the buffer rate
564         between fakesrc and fakesink.
565         
566 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
567         * gst/gstcaps.c:
568         * gst/gstelement.c: (gst_element_send_event):
569         * gst/gstevent.c:
570         * gst/gstinfo.c:
571         * gst/gstiterator.c:
572         * gst/gstiterator.h:
573         * gst/gstpad.c: (gst_pad_send_event):
574         * gst/gststructure.c:
575         * gst/gsturi.c:
576         * gst/gstutils.c:
577         * gst/gstvalue.c:
578         * libs/gst/base/gstadapter.c:
579           doc fixes, to link to function, just write gst_cool_function(), don't
580           prefix with '#'
581
582 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
583
584         * plugins/elements/gsttee.c: (gst_tee_do_push),
585         (gst_tee_handle_buffer):
586         Always prefer an actual return value from a src
587         pad in place of NOT_LINKED. This means we return
588         WRONG_STATE when all src pads are WRONG_STATE
589         instead of NOT_LINKED.
590
591         Lock when replacing the last message to prevent
592         racing with the get_property method.
593
594         Add debug output
595
596 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
597
598         * tests/check/Makefile.am:
599         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
600         (main):
601         Add a very simple check that should have caught the memleak I fixed
602         last night (if not for the slice allocator hiding it)
603
604 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
605
606         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
607         (gst_bin_remove_func), (gst_bin_handle_message_func),
608         (bin_query_duration_fold), (bin_query_generic_fold):
609         Clean up references to the clock provider when disposed or when
610         handling a clock-lost message from it.
611
612         Unref sinks when performing a query via gst_iterator_fold, as the
613         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
614
615         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
616         (gst_clock_set_master):
617         Drop our reference to the master clock, if any, when we are disposed.
618
619         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
620         Chain up in dispose. 
621
622 2006-01-26  Wim Taymans  <wim@fluendo.com>
623
624         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
625         Add some debugging.
626
627 2006-01-26  Julien MOUTTE  <julien@moutte.net>
628
629         * plugins/elements/gsttee.c: (gst_tee_do_push),
630         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
631         handles pad being NOT_LINKED or in WRONG_STATE.
632
633 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
634
635         * win32/MANIFEST:
636           more updating
637
638 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
639
640         * win32/MANIFEST:
641           remove obsolete entry
642
643 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
644
645         * docs/gst/gstreamer-sections.txt:
646         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
647         (gst_bin_iterate_sources), (gst_bin_send_event):
648         * gst/gstbin.h:
649         * gst/gstelement.c: (gst_element_send_event):
650         * gst/gstevent.c:
651         * gst/gstpad.c: (gst_pad_send_event):
652           added code for downstream events, reviewed docs in gstevent.c
653
654 2006-01-25  Julien MOUTTE  <julien@moutte.net>
655
656         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
657         We only query position using the clock in the playing state.
658         Query peer in the other cases.
659         * win32/common/config.h: Updates.
660
661 2006-01-24  Wim Taymans  <wim@fluendo.com>
662
663         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
664         A clock entry that is scheduled for the exact time of the
665         clock is still in time.
666
667         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
668         (gst_base_sink_do_sync):
669         Add some more debug info.
670
671 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
672
673         * win32/vs7:
674           Add new vs7 project files and solution.
675
676 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
677
678         * win32/vs7:
679           all files removed as they were out-dated.
680
681 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
682
683         * docs/random/release:
684           update notes
685         * gst/gstbin.c: (gst_bin_init):
686         * gst/gstbus.c: (gst_bus_new):
687         * gst/gstbus.h:
688         * gst/gstpipeline.c: (gst_pipeline_init):
689           use gst_bus_new(), improve logging, fix docs
690         * win32/common/config.h:
691           update for cvs build
692
693 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
694
695         * autogen.sh:
696           up required version of automake to 1.7
697
698 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
699
700         * win32/common/libgstreamer.def:
701           export gst_buffer_is_metadata_writable
702
703 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
704
705         * docs/gst/gstreamer-sections.txt:
706         * gst/gstevent.h:
707           Add gst_event_replace() (#327001)
708
709 2006-01-20  Wim Taymans  <wim@fluendo.com>
710
711         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
712         Make it actually compile too..
713
714 2006-01-20  Wim Taymans  <wim@fluendo.com>
715
716         * gst/gstcaps.c:
717         Clarify behaviour of _is_equal() when passing NULL parameters.
718
719         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
720         (gst_pad_set_caps):
721         Cleanups. Don't unref NULL caps.
722         When setting the same caps, protect caps of the pad with
723         proper lock.
724         Use full functionality of _is_equal() when comparing caps.
725
726 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
727
728         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
729         Don't loop infinitely if there are no buffers to present. Partially
730         fixes #327197, but collectpads is just broken for reusing elements
731         to do multiple encodes atm.
732
733 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
734
735         * tools/gst-inspect.c: (print_element_features):
736         * tools/gst-xmlinspect.c: (main):
737         URL_HANDLER is not a plugin feature we can search for in
738         the registry.
739
740 2006-01-19  Edward Hervey  <edward@fluendo.com>
741
742         * gst/gstelement.c: (gst_element_pads_activate): 
743         When activating, do src pads first, then sink pads.
744         When de-activating, do sink pads first, then src pads.
745
746 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
747
748         * docs/gst/gstreamer-sections.txt:
749         Add gst_index_add_associationv to the docs
750
751 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
752
753         * gst/gstevent.c:
754           Fix docs typo
755
756         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
757         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
758           Do some refactoring. Doesn't actually change functionality,
759           but makes landing the DRAIN event easier later.
760
761 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
762
763         * docs/pwg/advanced-scheduling.xml:
764           Update from 0.9.x to 0.10 API and make example a bit
765           clearer.
766
767 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
768
769         * docs/gst/gstreamer-sections.txt:
770         Add gst_buffer_(is|make)_metadata_writable methods.
771
772 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
773
774         * docs/design/part-sparsestreams.txt:
775         Update sparse streams doc, hopefully for greater clarity
776
777 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
778
779         * docs/design/part-events.txt:
780         Remove mention of FILLER events.
781         Add DRAIN event.
782
783         * docs/design/part-sparsestreams.txt:
784         Write some things about using NEWSEGMENT to keep sparse streams
785         flowing.
786
787 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
788
789         * gst/gstbin.c: (gst_bin_dispose):
790           Guard gst_object_unref call against a NULL object (dispose
791           can theoretically be called multiple times).
792           
793 2006-01-18  Wim Taymans  <wim@fluendo.com>
794
795         * gst/gstbin.c: (gst_bin_element_set_state):
796         * gst/gstclock.c: (gst_clock_id_wait):
797         Added some more debug info.
798
799         * libs/gst/base/gstadapter.c:
800         Added more docs.
801
802         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
803         (gst_base_sink_do_sync), (gst_base_sink_chain):
804         Added some comments.
805
806 2006-01-18  Wim Taymans  <wim@fluendo.com>
807
808         * tests/check/Makefile.am:
809         * tests/check/elements/fakesink.c: (chain_async_buffer),
810         (chain_async), (chain_async_return), (GST_START_TEST),
811         (fakesink_suite), (main):
812         Added fakesink test that checks prerolling and clipping
813         behaviour.
814
815         * tests/check/gst/gstutils.c: (GST_START_TEST):
816         Make check run faster so that buildbots don't timeout.
817
818 2006-01-18  Wim Taymans  <wim@fluendo.com>
819
820         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
821         (gst_base_sink_do_sync):
822         Some cleanups.
823         When the sink finishes blocking on the preroll buffer, it can
824         immediatly render it instead of rendering when the next buffer
825         arrives.
826
827 2006-01-18  Wim Taymans  <wim@fluendo.com>
828
829         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
830         (gst_base_sink_get_property), (gst_base_sink_do_sync),
831         (gst_base_sink_chain):
832         Small cleanups.
833         GST_ELEMENT_CLOCK and sync are protected with LOCK.
834         Don't store _last_stop if the buffer is dropped.
835
836 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
837
838         * plugins/elements/gsttypefindelement.c:
839         (gst_type_find_element_class_init):
840           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
841           object method handler that sets the caps on the pad and we want
842           that to happen before we emit the signal (fixes e.g. feeding a
843           plain text file to decodebin).
844
845 2006-01-18  Christian Schaller  <Christian@fluendo.com>
846
847         * gst/gstplugin.c: Add MPL and Proprietary as license options
848
849 2006-01-18  Andy Wingo  <wingo@pobox.com>
850
851         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
852         symbol was exported before, it appears this was just an oversight.
853         Fixes #168703.
854         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
855
856         * gst/gstindex.c (gst_index_add_associationv): Changed int in
857         prototype to gint. OK since this prototype was not in the header.
858
859 2006-01-17  Andy Wingo  <wingo@pobox.com>
860
861         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
862         registry while we remove plugins.
863
864         * tools/gst-inspect.c (print_element_info): Don't unref the
865         factory arg, that should be the responsibility of whatever code
866         received the ref. Fixes a double-free when called from
867         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
868         (main): Unref the factory if we have one.
869         (print_element_list): No change -- relies on the
870         plugin_feature_list_free to free the list of features.
871
872 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
873
874         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
875         (gst_buffer_make_metadata_writable):
876         * gst/gstbuffer.h:
877         * libs/gst/base/gstbasetransform.c:
878         (gst_base_transform_prepare_output_buf):
879         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
880         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
881           Replace gst_buffer_(make|is)_metadata_writable patch now
882           that the release is out.
883
884 2006-01-17  Andy Wingo  <wingo@pobox.com>
885
886         * gst/gstregistry.c: Reflow design comment. Update so as to speak
887         in the present tense without reference to versions.
888
889         * gst/gstregistry.c (gst_registry_add_plugin)
890         (gst_registry_remove_plugin, gst_registry_remove_feature)
891         (gst_registry_find_feature, gst_registry_get_feature_list)
892         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
893         (gst_registry_lookup, gst_registry_scan_path)
894         (_gst_registry_remove_cache_plugins)
895         (gst_registry_get_feature_list_by_plugin): Add argument
896         validation.
897
898 === release 0.10.2 ===
899
900 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
901
902         * configure.ac:
903           releasing 0.10.2, "If man is five"
904
905 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
906
907         * gst/gstbuffer.c:
908         * gst/gstbuffer.h:
909         * libs/gst/base/gstbasetransform.c:
910         (gst_base_transform_prepare_output_buf):
911         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
912         * tests/check/gst/gstbuffer.c: (gst_test_suite):
913           Back out patch until after the release.
914
915 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
916
917         * gst/gstminiobject.c:
918           Spelling fix in docs.
919         * ChangeLog - remove conflict indicator
920
921 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
922
923         Reviewed By: Andy Wingo
924
925         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
926         (gst_buffer_make_metadata_writable):
927         * gst/gstbuffer.h:
928           Add gst_buffer_(is|make)_metadata_writable as analogues of
929           gst_buffer_(is|make)_writable.
930
931         * libs/gst/base/gstbasetransform.c:
932         (gst_base_transform_prepare_output_buf):
933         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
934           Use name gst_buffer_(is|make)_metadata_writable functions.
935
936         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
937           Test gst_buffer_(is|make)_metadata_writable
938         
939           (Closes: #324162)
940
941 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
942
943         * docs/manual/Makefile.am:
944           don't do parallel make
945         * configure.ac:
946           AC_SUBST HOST_CPU
947         * win32/common/config.h.in:
948           add generations for HOST_CPU and GST_MAJORMINOR
949         * win32/common/config.h:
950           commit generated result
951
952 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
953
954         * docs/manual/appendix-integration.xml:
955           Update GNOME integration section to use gst_init_get_option_group()
956           instead of the old popt stuff (#322911). Also, GNOME applications
957           should  now use gconf*sink and gconf*src instead of the old gconf
958           helper lib we had.
959
960 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
961
962
963         * docs/gst/gstreamer-docs.sgml:
964         * docs/gst/gstreamer-sections.txt:
965         * docs/libs/gstreamer-libs-sections.txt:
966           add new API entries to the docs
967         * libs/gst/controller/Makefile.am:
968         * libs/gst/controller/gstcontroller.c:
969         * libs/gst/controller/gstcontroller.h:
970         * libs/gst/controller/gstcontrollerprivate.h:
971         * libs/gst/controller/gsthelper.c:
972         * libs/gst/controller/gstinterpolation.c:
973           move private structs to private header
974         * po/README:
975           gstreamer-0.7 -> gstreamer-0.10
976         * tests/check/libs/struct_i386.h:
977           remove private structs
978
979 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
980
981         * plugins/indexers/Makefile.am:
982           Fixes as part of #317048
983
984 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
985
986         * plugins/indexers/Makefile.am:
987           fix #316086 - compilation when mmap is missing
988
989 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
990
991         * libs/gst/base/gstbasesink.c:
992           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
993           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
994         * win32/common/config.h:
995           added some defines GST_MAJORMINOR and HOST_CPU
996         * win32/common/libgstbase.def:
997         * win32/common/libgstreamer.def:
998           added some exported functions.
999
1000 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
1001
1002         * libs/gst/controller/gstcontroller.c:
1003         (gst_controlled_property_set_interpolation_mode),
1004         (gst_controlled_property_new):
1005         * libs/gst/controller/gstcontroller.h:
1006         * libs/gst/controller/gstinterpolation.c:
1007         (interpolate_none_get_string_value_array):
1008           make G_TYPE_STRING controlable
1009
1010 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
1011
1012         * tools/README:
1013         * tools/gst-feedback.1.in:
1014         * tools/gst-inspect.1.in:
1015         * tools/gst-launch.1.in:
1016         * tools/gst-md5sum.1.in:
1017         * tools/gst-typefind.1.in:
1018         * tools/gst-xmlinspect.1.in:
1019         * tools/gst-xmllaunch.1.in:
1020           cleanup man-pages, remove reference to gst-register, document env-vars
1021
1022 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
1023
1024         * gst/gstbuffer.c: (gst_buffer_span):
1025           gst_buffer_span should copy the timestamp of the first buffer
1026           if they were both originally overlapping subbuffers of the 
1027           same parent, using the same logic as the 'slow copy' case.
1028
1029 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
1030
1031         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
1032           Need to awaken ALL the pads when we pop a buffer, otherwise
1033           collectpads only works when there is 2 input streams.
1034
1035 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
1036
1037         * docs/random/ensonic/media-device-daemon.txt:
1038           more ideas (dbus)
1039         * gst/gstbuffer.c:
1040           fix doc example, add clarification
1041         * tools/gst-launch.1.in:
1042           add initial info about GST_PLUGIN_PATH, needs more work
1043
1044 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1045
1046         * docs/manual/basics-bins.xml:
1047         * docs/manual/basics-elements.xml:
1048         * docs/manual/intro-basics.xml:
1049           Some more minor docs additions and updates.
1050
1051 2006-01-11  Wim Taymans  <wim@fluendo.com>
1052
1053         * docs/manual/basics-bins.xml:
1054         * docs/manual/basics-elements.xml:
1055         Some small fixes as pointed out by Ser-ver on IRC.
1056
1057 2006-01-10  Edward Hervey  <edward@fluendo.com>
1058
1059         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1060         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
1061         the single-segment mode.
1062
1063 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
1064
1065         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1066
1067         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
1068         (gst_base_src_perform_seek), (gst_base_src_send_event),
1069         (gst_base_src_set_property), (gst_base_src_get_property),
1070         (gst_base_src_loop), (gst_base_src_start),
1071         (gst_base_src_activate_push):
1072         * libs/gst/base/gstbasesrc.h:
1073           Name (private) union; makes Sun's Forte compiler happy (#324900).
1074
1075 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1076
1077         * README:
1078           gst-register is gone.
1079
1080 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
1081
1082         * gst/gstvalue.c: (_gst_value_initialize):
1083           make the G_TYPE_DATE instantiation work if debug is disabled
1084
1085 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
1086
1087         * gst/gstmessage.c: (gst_message_parse_tag),
1088         (gst_message_parse_error), (gst_message_parse_warning):
1089           Don't crash when return location for error/warning debug
1090           string is NULL; add fact that return locations can be
1091           NULL to docs where appropriate.
1092
1093 2006-01-05  Wim Taymans  <wim@fluendo.com>
1094
1095         * gst/gstplugin.c: (gst_plugin_load_file):
1096         Replace strdup by g_strdup.
1097
1098 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
1099
1100         * docs/pwg/advanced-types.xml:
1101           fix doc borkage
1102
1103 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
1104
1105         submitted by: Abel Cheung
1106
1107         * po/LINGUAS:
1108         * po/zh_TW.po:
1109           Added Chinese (traditional) translation
1110
1111 2006-01-04  Wim Taymans  <wim@fluendo.com>
1112
1113         * docs/manual/basics-pads.xml:
1114         * docs/plugins/Makefile.am:
1115         * docs/plugins/gstreamer-plugins-docs.sgml:
1116         * docs/plugins/gstreamer-plugins-sections.txt:
1117         * docs/pwg/advanced-clock.xml:
1118         * docs/pwg/advanced-scheduling.xml:
1119         * docs/pwg/advanced-types.xml:
1120         * plugins/elements/gstfdsink.c:
1121         * plugins/elements/gstfdsrc.c:
1122         * plugins/elements/gstfdsrc.h:
1123         * plugins/elements/gstidentity.c: (gst_identity_class_init):
1124         * plugins/elements/gstidentity.h:
1125         * plugins/elements/gstqueue.h:
1126         * plugins/elements/gsttee.c:
1127         * plugins/elements/gsttee.h:
1128         * plugins/elements/gsttypefindelement.c:
1129         (gst_type_find_element_class_init):
1130         * plugins/elements/gsttypefindelement.h:
1131         Small updates to various docs.
1132         Added core plugins to docs.
1133
1134 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1135
1136         * common/gst.supp:
1137           add a suppression for liboil's uninitialized variable
1138
1139 2006-01-02  James Livingston  <jrl at ids dot org dot au>
1140
1141         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1142
1143         * gst/gstutils.h:
1144           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
1145           macro, so that gcc doesn't complain if the -Wmissing-prototypes
1146           compiler switch is being used (#325429).
1147
1148 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
1149
1150         * gst/gstbin.c: (gst_bin_query):
1151           Disable duration query caching in bins until it gets
1152           fixed (see #324807).
1153
1154 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
1155
1156         * tools/gst-inspect.c: (print_element_properties_info):
1157           Handle properties of POINTER and BOXED type.
1158
1159 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
1160
1161         * gst/gst.c: (init_post):
1162           Init tags stuff and some other things before loading
1163           any static plugins (there may be other static plugins
1164           than just the GStreamer ones, and they may want to
1165           register their own tags or formats or whatever, and
1166           preferably without segfaulting).
1167
1168         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1169           Print at least a warning in the debug logs if we drop a
1170           query just because we don't know how to adjust the value
1171           in the particular format.
1172
1173 2005-12-24  David Schleef  <ds@schleef.org>
1174
1175         * tools/gstreamer-completion:
1176           Replacement for gst-complete written in sh and sed.  Only
1177           completes names of features, but that's 90% of what I want
1178           it for.  Properties are not available in registry.xml.  (Maybe
1179           they should be...)
1180
1181 === release 0.10.1 ===
1182
1183 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
1184
1185         * configure.ac:
1186           releasing 0.10.1, "Nollaig chridheil"
1187
1188 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
1189
1190         * docs/faq/cvs.xml:
1191           Add missing quote, should be make ERROR_CFLAGS="".
1192
1193 2005-12-20  Wim Taymans  <wim@fluendo.com>
1194
1195         * docs/design/part-trickmodes.txt:
1196         More documentation on trickmodes.
1197
1198 2005-12-20  Edward Hervey  <edward@fluendo.com>
1199
1200         * gst/gstcaps.c: (gst_static_caps_get_type):
1201         * gst/gstcaps.h:
1202           API addition: GST_TYPE_STATIC_CAPS
1203         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
1204         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
1205         * gst/gstpadtemplate.h:
1206           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
1207         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
1208         bindings.
1209
1210 2005-12-18  Wim Taymans  <wim@fluendo.com>
1211
1212         * libs/gst/base/gstadapter.c:
1213         * libs/gst/base/gstadapter.h:
1214         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1215         (gst_base_sink_get_position):
1216         * libs/gst/base/gstbasesink.h:
1217         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1218         (gst_base_src_default_query), (gst_base_src_default_do_seek),
1219         (gst_base_src_do_seek), (gst_base_src_perform_seek),
1220         (gst_base_src_send_event), (gst_base_src_update_length),
1221         (gst_base_src_get_range), (gst_base_src_loop),
1222         (gst_base_src_start):
1223         * libs/gst/base/gstbasesrc.h:
1224         * libs/gst/base/gstbasetransform.h:
1225         * libs/gst/base/gstcollectpads.h:
1226         * libs/gst/base/gstpushsrc.c:
1227         * libs/gst/base/gstpushsrc.h:
1228         * libs/gst/dataprotocol/dataprotocol.c:
1229         * libs/gst/dataprotocol/dataprotocol.h:
1230         * libs/gst/net/gstnetclientclock.h:
1231         * libs/gst/net/gstnettimeprovider.h:
1232         Documentation updates.
1233
1234 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
1235
1236         * docs/manual/basics-helloworld.xml:
1237           Remove superfluous closing bracket in helloworld example.
1238
1239 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
1240
1241         * tools/gst-launch.1.in:
1242           Update gst-launch man page; add a section with useful
1243           environment variables. Fixes #323882.
1244
1245 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
1246
1247         * gst/gst.c:
1248         * gst/gst_private.h:
1249           change some char* into char[]
1250
1251 2005-12-16  Wim Taymans  <wim@fluendo.com>
1252
1253         * gst/gstregistryxml.c: (load_feature):
1254         Cleanups.
1255         Don't use g_object_unref on GstObjects so that we avoid
1256         leaks on unsafe glibs.
1257
1258 2005-12-16  Wim Taymans  <wim@fluendo.com>
1259
1260         * gst/gstbin.c: (gst_bin_recalc_state):
1261         Small doc updates.
1262
1263 2005-12-16  Wim Taymans  <wim@fluendo.com>
1264
1265         * common/check.mak:
1266         Added make forever target for check.
1267
1268 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1269
1270         * gst/gst.c: (init_post):
1271           make the registry cache file HOST_CPU-dependent
1272
1273 2005-12-16  Andy Wingo  <wingo@pobox.com>
1274
1275         * plugins/elements/gstbufferstore.c
1276         (gst_buffer_store_cleared_func): Pay attention to g_list_append
1277         return value.
1278
1279         * tests/check/gst/gstobject.c
1280         (test_fake_object_name_threaded_unique): Pay attention to
1281         g_list_sort return value.
1282
1283 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
1284
1285         * tools/gst-feedback-m.m:
1286           Update for 0.9/0.10 (fixes #323870).
1287
1288 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
1289
1290         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
1291           Fix lcopy for mini objects, the mini object needs to be ref'ed.
1292           
1293         * tests/check/gst/gstminiobject.c: (my_foo_init),
1294         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
1295         (test_value_collection), (gst_mini_object_suite):
1296           Add test to ensure refcounts end up as expected when passing
1297           GstMiniObjects through g_object_get() and g_object_set().
1298
1299 2005-12-14  Julien MOUTTE  <julien@moutte.net>
1300
1301         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1302         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
1303         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
1304         of collectpads. This version removes a lot of races without
1305         touching API/ABI. Yay !
1306
1307 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
1308
1309         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
1310           Don't allow activation of a srcpad in pull_range if it has no
1311           getrange function.
1312           Change some debug statements to be a little clearer
1313
1314         * plugins/elements/gsttypefindelement.c:
1315         (gst_type_find_handle_src_query):
1316           Check that we have a peer before executing queries thereupon.
1317
1318         * tests/examples/metadata/read-metadata.c: (message_loop):
1319           Use gst_bus_pop instead of gst_bus_poll when we just want it to
1320           immediately return us any available message with 0 timeout.
1321
1322 2005-12-12  Michael Smith  <msmith@fluendo.com>
1323
1324         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
1325           Don't unref factories after calling them.
1326         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
1327         * plugins/elements/gsttypefindelement.c:
1328         (gst_type_find_element_chain):
1329           Free lists of factories after using them. Fixing typefinding memory
1330           leaks.
1331
1332 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
1333
1334         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1335         (gst_plugin_feature_load):
1336           more meaningful debug output
1337         * configure.ac:
1338         * tests/Makefile.am:
1339         * tests/old/examples/Makefile.am:
1340           make make distcheck happy again
1341
1342 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
1343
1344         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
1345           Catch the special case where we are operating chain-based,
1346           but the downstream peer pad has no chain function. Emit a
1347           custom error message in this case instead of letting the
1348           core generate one implying that this is some sort of core
1349           bug. It's not, it just means that whatever got plugged
1350           into the pipeline downstream when we announced the type
1351           can only operate pull-based, while our source can only
1352           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
1353           Error string has not been marked for translation yet, as
1354           it probably needs some more work first.
1355
1356         (gst_type_find_element_get_best_possibility):
1357           Add helper function to find the best of all available
1358           found possibilities that qualify given the min. threshold.
1359
1360         (gst_type_find_element_handle_event):
1361           Fix the case where we get an EOS while still in TYPEFIND
1362           mode (we want to chose the best of all possible types,
1363           not just the first type that happens to be in our unsorted
1364           list of possible types).
1365
1366         (gst_type_find_element_chain):
1367           Make sure we return GST_FLOW_ERROR when we errored out
1368           in stop_typefinding(); also, don't just find the best of
1369           all found type entries and then use the last examined
1370           type entry, but actually use the best entry.
1371
1372 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
1373
1374         * tests/examples/typefind/typefind.c: (type_found):
1375         * tests/examples/xml/runxml.c: (xml_loaded):
1376           More gcc4 fixes and a mem leak fix.
1377
1378 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
1379
1380         * tests/examples/xml/createxml.c: (object_saved):
1381           gcc 4 fixes
1382
1383 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
1384
1385         * tests/Makefile.am:
1386           enable the examples even more
1387
1388 2005-12-12  Andy Wingo  <wingo@pobox.com>
1389
1390         * libs/gst/net/gstnettimeprovider.c
1391         (gst_net_time_provider_class_init, gst_net_time_provider_init)
1392         (gst_net_time_provider_set_property)
1393         (gst_net_time_provider_get_property):
1394         API addition: Export "active" as a GObject property.
1395         (gst_net_time_provider_thread): Only respond to time queries if
1396         the time provider is active.
1397
1398         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
1399         NetTimeProvider, preserving binary compat.
1400
1401 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
1402
1403         * tests/examples/controller/audio-example.c: (main):
1404         * tests/examples/launch/Makefile.am:
1405           convert comments again
1406
1407 2005-12-12  Wim Taymans  <wim@fluendo.com>
1408
1409         * libs/gst/base/gstpushsrc.c:
1410         Fix typo.
1411
1412 2005-12-12  Wim Taymans  <wim@fluendo.com>
1413
1414         * docs/libs/gstreamer-libs-sections.txt:
1415         Added new symbol to docs.
1416
1417         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1418         (gst_base_src_init), (gst_base_src_set_format),
1419         (gst_base_src_default_query), (gst_base_src_query),
1420         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
1421         (gst_base_src_perform_seek), (gst_base_src_send_event),
1422         (gst_base_src_default_event), (gst_base_src_event_handler),
1423         (gst_base_src_set_property), (gst_base_src_get_property),
1424         (gst_base_src_wait), (gst_base_src_do_sync),
1425         (gst_base_src_update_length), (gst_base_src_get_range),
1426         (gst_base_src_check_get_range), (gst_base_src_loop),
1427         (gst_base_src_default_negotiate), (gst_base_src_start),
1428         (gst_base_src_activate_push), (gst_base_src_activate_pull),
1429         (gst_base_src_change_state):
1430         * libs/gst/base/gstbasesrc.h:
1431         Implement seeking to other formats than _BYTES.
1432         Implement more seeking methods correctly.
1433         Doc updates.
1434         Added query vmethod.
1435         Added do_seek vmethod to make life easier for subclasses
1436         when seeking.
1437         API addition: gst_base_src_set_format()
1438
1439 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
1440
1441         * tests/examples/Makefile.am:
1442           added that too
1443
1444 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
1445
1446         * configure.ac:
1447         * docs/random/ensonic/media-device-daemon.txt:
1448         * tests/examples/controller/.cvsignore:
1449         * tests/examples/controller/Makefile.am:
1450         * tests/examples/controller/audio-example.c: (main):
1451         * tests/examples/helloworld/.cvsignore:
1452         * tests/examples/helloworld/Makefile.am:
1453         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
1454         * tests/examples/launch/.cvsignore:
1455         * tests/examples/launch/Makefile.am:
1456         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
1457         * tests/examples/metadata/.cvsignore:
1458         * tests/examples/metadata/Makefile.am:
1459         * tests/examples/metadata/read-metadata.c: (message_loop),
1460         (make_pipeline), (print_tag), (main):
1461         * tests/examples/queue/.cvsignore:
1462         * tests/examples/queue/Makefile.am:
1463         * tests/examples/queue/queue.c: (event_loop), (main):
1464         * tests/examples/typefind/.cvsignore:
1465         * tests/examples/typefind/Makefile.am:
1466         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
1467         (main):
1468         * tests/examples/xml/.cvsignore:
1469         * tests/examples/xml/Makefile.am:
1470         * tests/examples/xml/createxml.c: (object_saved), (main):
1471         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
1472         * tests/old/examples/Makefile.am:
1473         * tests/old/examples/TODO:
1474         * tests/old/examples/controller/.cvsignore:
1475         * tests/old/examples/controller/Makefile.am:
1476         * tests/old/examples/controller/audio-example.c:
1477         * tests/old/examples/helloworld/.cvsignore:
1478         * tests/old/examples/helloworld/Makefile.am:
1479         * tests/old/examples/helloworld/helloworld.c:
1480         * tests/old/examples/launch/.cvsignore:
1481         * tests/old/examples/launch/Makefile.am:
1482         * tests/old/examples/launch/mp3parselaunch.c:
1483         * tests/old/examples/launch/mp3play:
1484         * tests/old/examples/manual/Makefile.am:
1485         * tests/old/examples/metadata/Makefile.am:
1486         * tests/old/examples/metadata/read-metadata.c:
1487         * tests/old/examples/queue/.cvsignore:
1488         * tests/old/examples/queue/Makefile.am:
1489         * tests/old/examples/queue/queue.c:
1490         * tests/old/examples/typefind/.cvsignore:
1491         * tests/old/examples/typefind/Makefile.am:
1492         * tests/old/examples/typefind/typefind.c:
1493         * tests/old/examples/xml/.cvsignore:
1494         * tests/old/examples/xml/Makefile.am:
1495         * tests/old/examples/xml/createxml.c:
1496         * tests/old/examples/xml/runxml.c:
1497           applied some simple fixing to some examples
1498           re-enabled the working examples
1499
1500 2005-12-12  Wim Taymans  <wim@fluendo.com>
1501
1502         * gst/gstsegment.c: (gst_segment_init),
1503         (gst_segment_set_last_stop), (gst_segment_set_seek),
1504         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1505         (gst_segment_to_running_time):
1506         Added more documentation.
1507         Make sure the last_pos value is updated properly.
1508         Make sure to_stream_time and to_running_time don't
1509         operate on wrong values.
1510
1511         * tests/check/gst/gstsegment.c: (GST_START_TEST):
1512         Update check.
1513
1514 2005-12-12  Michael Smith  <msmith@fluendo.com>
1515
1516         * plugins/elements/gsttypefindelement.c: (free_entry),
1517         (gst_type_find_element_chain):
1518           Now that we're not leaking factories, make sure we keep references
1519           to them while we need them.
1520
1521 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1522
1523         * tests/check/gst/struct_i386.h:
1524           ifdef out the XML structs
1525
1526 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1527
1528         * gst/gstvalue.c: (gst_value_transform_double_fraction):
1529           floor is not needed, F is always positive; this obviates the
1530           need for adding -lm when building without libxml
1531
1532 2005-12-12  Wim Taymans  <wim@fluendo.com>
1533
1534         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
1535         Take current playback rate into account when reporting
1536         the position.
1537
1538 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
1539
1540         * docs/manual/mime-world.fig:
1541           Let's try this again, this time with a file that is
1542           actually in XFig format.
1543
1544 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
1545
1546         * docs/manual/mime-world.fig:
1547           Add audioconvert element to diagram so that it
1548           matches the text and the code (fixes #319526).
1549
1550 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
1551
1552         * docs/pwg/building-chainfn.xml:
1553         * docs/pwg/building-pads.xml:
1554         * docs/pwg/building-state.xml:
1555         * docs/pwg/other-source.xml:
1556           Update state change stuff for 0.10 (fixes #322969).
1557
1558 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
1559
1560         * docs/manual/advanced-dataaccess.xml:
1561         * docs/manual/appendix-checklist.xml:
1562         * docs/manual/appendix-programs.xml:
1563         * docs/manual/basics-pads.xml:
1564         * docs/manual/highlevel-components.xml:
1565         * docs/manual/manual.xml:
1566           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
1567           add converters in front of pipelines; remove curly
1568           brackets for threads stuff, they no longer exist; use
1569           GST_TYPE_FRACTION for framerates; update some pieces of
1570           code to 0.10, but there's plenty more to do.
1571
1572         * docs/manual/appendix-porting.xml:
1573           Expand on asynchroneous state changes; s/0.9/0.10/;
1574           mention disappearance of gst_init_get_popt_table()
1575           (fixes #322916).
1576
1577 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
1578
1579         * docs/faq/using.xml:
1580           Spider no longer exists, and neither does gst-launch-ext.
1581           Update examples to use decodebin and playbin and put
1582           converters in front of sinks (fixes #323726).
1583
1584 2005-12-09  Michael Smith  <msmith@fluendo.com>
1585
1586         * plugins/elements/gsttypefindelement.c: (find_peek),
1587         (gst_type_find_element_chain):
1588           Fix leaking element factories in typefinding.
1589           Fix problem where we forgot about a probable type on non-seekable
1590           files, and thus later mis-typefound it.
1591
1592 2005-12-09  Michael Smith  <msmith@fluendo.com>
1593
1594         * common/m4/gst-makecontext.m4:
1595         * common/m4/gst-mcsc.m4:
1596         * configure.ac:
1597         * win32/common/config.h:
1598         * win32/common/config.h.in:
1599           Remove makecontext stuff; not used in 0.10 and causes problems on
1600           HPUX according to bug #322441
1601
1602 2005-12-07  Wim Taymans  <wim@fluendo.com>
1603
1604         * tests/check/Makefile.am:
1605         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
1606         (main):
1607         * tests/check/libs/struct_i386.h:
1608         Added ABI check for libs
1609
1610 2005-12-07  Wim Taymans  <wim@fluendo.com>
1611
1612         * tests/check/Makefile.am:
1613         And add the struct_i386.h to dist.
1614
1615 2005-12-07  Wim Taymans  <wim@fluendo.com>
1616
1617         * tests/check/Makefile.am:
1618         * tests/check/gst/.cvsignore:
1619         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
1620         (main):
1621         * tests/check/gst/struct_i386.h:
1622         Added check for ABI compatibility.
1623
1624 2005-12-07  Wim Taymans  <wim@fluendo.com>
1625
1626         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1627         (gst_fake_src_get_times), (gst_fake_src_create):
1628         Fix broken sync option, fixes #323259
1629
1630 2005-12-07  Wim Taymans  <wim@fluendo.com>
1631
1632         * gst/gstbuffer.c:
1633         Small docs update.
1634
1635         * gst/gstcaps.c: (gst_caps_is_equal):
1636         Don't assert on NULL <--> X. Fixes #323260
1637
1638         * gst/gstminiobject.c: (gst_mini_object_replace):
1639         If we're doing atomic operations, we might just as well use
1640         the proper way to get an atomic pointer.
1641
1642         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
1643         Clean up debugging.
1644
1645 2005-12-07  Michael Smith  <msmith@fluendo.com>
1646
1647         * gst/parse/grammar.y:
1648           Remove handling of { } for threads.
1649
1650 2005-12-06  David Schleef  <ds@schleef.org>
1651
1652         * libs/gst/base/gstbasetransform.c: speling fix.
1653
1654 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
1655
1656         * docs/libs/tmpl/gstdataprotocol.sgml:
1657         * docs/random/omega/testing/gstobject.c:
1658         * gst/gst.c:
1659         * gst/gstclock.c:
1660         * gst/gstelement.c:
1661         * gst/gstelementfactory.c:
1662         * gst/gsterror.c:
1663         * gst/gstevent.c:
1664         * gst/gstghostpad.c:
1665         * gst/gstinfo.c:
1666         * gst/gstpadtemplate.c:
1667         * gst/gstregistryxml.c:
1668         * gst/gsttaglist.c:
1669         * gst/gsttagsetter.c:
1670         * gst/gsttypefind.c:
1671         * gst/gstvalue.c:
1672         * libs/gst/base/gstbasesrc.c:
1673         * libs/gst/net/gstnetclientclock.c:
1674         * libs/gst/net/gstnettimeprovider.c:
1675         * plugins/elements/gstfakesrc.c:
1676         * plugins/elements/gstfdsrc.c:
1677         * plugins/elements/gstfilesrc.c:
1678         * plugins/elements/gstidentity.c:
1679         * plugins/elements/gstqueue.c:
1680         * plugins/elements/gsttypefindelement.c:
1681         * plugins/indexers/gstfileindex.c:
1682         * plugins/indexers/gstmemindex.c:
1683         * tests/check/gst/gsttag.c:
1684         * tests/old/examples/cutter/cutter.c:
1685         * tests/old/examples/mixer/mixer.c:
1686         * tests/old/examples/xml/runxml.c: (main):
1687         * tests/old/testsuite/caps/normalisation.c:
1688         * tests/old/testsuite/debug/global.c:
1689         * tests/old/testsuite/parse/parse1.c:
1690         * tools/gst-xmlinspect.c:
1691         * win32/common/dirent.c:
1692           expand tabs
1693
1694 === release 0.10.0 ===
1695
1696 2005-12-05   <thomas (at) apestaart (dot) org>
1697
1698         * configure.ac:
1699           releasing 0.10.0, "Maroilles"
1700
1701 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
1702
1703         submitted by: Funda Wang <fundawang@linux.net.cn>
1704
1705         * po/LINGUAS:
1706         * po/zh_CN.po:
1707           added Chinese (Traditional) translation
1708
1709 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
1710
1711         * docs/gst/gstreamer-sections.txt:
1712         * docs/libs/tmpl/gstdataprotocol.sgml:
1713         * docs/random/thomasvs/TODO:
1714         * gst/gstutils.c:
1715         * gst/gstutils.h:
1716           fix docs
1717
1718 2005-12-05  Andy Wingo  <wingo@pobox.com>
1719
1720         patch by: Wim Taymans <wim@fluendo.com>
1721
1722         * libs/gst/base/gstbasetransform.c
1723         (gst_base_transform_prepare_output_buf)
1724         (gst_base_transform_buffer_alloc):
1725         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
1726         alloc_buffer_and_set_caps.
1727
1728         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
1729         set_caps on the source pad.
1730         (gst_pad_alloc_buffer_and_set_caps): New function, does what
1731         alloc_buffer used to do. Fixes #322874.
1732
1733         * docs/gst/gstreamer-sections.txt: 
1734         * docs/design/part-negotiation.txt: 
1735         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
1736         changes.
1737
1738 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
1739
1740         patch by: Sebastien Moutte
1741
1742         * win32/MANIFEST:
1743         * win32/common/config.h.in:
1744         * win32/vs6/libgstcontroller.dsp:
1745           win32 build fixes
1746
1747 2005-12-05  Wim Taymans  <wim@fluendo.com>
1748
1749         * gst/gstcaps.c: (gst_caps_is_equal):
1750         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1751         (gst_fake_src_create):
1752         Back out previous code changes, leave doc updates, file bugs 
1753         instead. 
1754
1755 2005-12-05  Wim Taymans  <wim@fluendo.com>
1756
1757         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1758         (gst_fake_src_get_times), (gst_fake_src_create):
1759         * plugins/elements/gstfakesrc.h:
1760         Fix broken sync code.
1761
1762 2005-12-05  Wim Taymans  <wim@fluendo.com>
1763
1764         * gst/gstcaps.c: (gst_caps_is_equal):
1765         Comparing NULL against !NULL yields different caps, not a
1766         failure.
1767
1768 2005-12-05  Wim Taymans  <wim@fluendo.com>
1769
1770         * gst/gstpipeline.c:
1771         Fix small typo in docs.
1772
1773 2005-12-05  Andy Wingo  <wingo@pobox.com>
1774
1775         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
1776
1777         * gst/gst.c (init_post): remove hard-coded 0.9 location for
1778         registries/plugins with a MAJORMINOR one.
1779         (plugin_desc): Rename library from gstcoreleements to
1780         staticelements. Fixes #323222.
1781
1782 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
1783
1784         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
1785           Change debug category to 'collectpads' from 'collect_pads'
1786           (fixes #323250).
1787
1788 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
1789
1790         patch by: Sebastien Moutte
1791
1792         * libs/gst/controller/gstinterpolation.c:
1793           use convert function for uint64/double
1794         * win32/vs6/libgstcontroller.dsp:
1795           link to GLib
1796
1797 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
1798
1799         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
1800         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
1801         * gst/gstutils.h:
1802         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1803           add tests that seem to show that the guint64/gdouble conversions
1804           are correct.
1805
1806 2005-12-02  Wim Taymans  <wim@fluendo.com>
1807
1808         * gst/gstregistry.c: (gst_registry_add_path):
1809         * gst/gstregistry.h:
1810         * gst/gstregistryxml.c:
1811         Fix docs again.
1812
1813 2005-12-02  Wim Taymans  <wim@fluendo.com>
1814
1815         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1816         (gst_util_uint64_scale_int):
1817         Small cleanup.
1818
1819         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1820         Add debug log line.
1821
1822         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
1823         Add FIXME.
1824
1825 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1826
1827         * win32/MANIFEST:
1828         * win32/common/config.h:
1829         * win32/vs6/gstreamer.dsw:
1830         * win32/vs6/libgstcoreelements.dsp:
1831         * win32/vs6/libgstelements.dsp:
1832           renamed core elements plugin
1833
1834 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1835
1836         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
1837         (get_candidates):
1838           do piece-wise major/minor comparison so 0.9 < 0.10
1839           also allow .exe extensions for tools
1840
1841 2005-12-02  Michael Smith  <msmith@fluendo.com>
1842
1843         * gst/gst.c:
1844           Escape a % to make gtkdoc happier; bug 322958.
1845
1846 === release 0.9.7 ===
1847
1848 2005-12-01   <thomas (at) apestaart (dot) org>
1849
1850         * configure.ac:
1851           releasing 0.9.7, "My Dog Has No Nose"
1852
1853 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1854
1855         * common/gst-xmlinspect.py:
1856         * configure.ac:
1857         * docs/libs/tmpl/gstdataprotocol.sgml:
1858         * docs/random/release:
1859         * po/af.po:
1860         * po/az.po:
1861         * po/bg.po:
1862         * po/ca.po:
1863         * po/cs.po:
1864         * po/de.po:
1865         * po/en_GB.po:
1866         * po/fr.po:
1867         * po/it.po:
1868         * po/nb.po:
1869         * po/nl.po:
1870         * po/ru.po:
1871         * po/sq.po:
1872         * po/sr.po:
1873         * po/sv.po:
1874         * po/tr.po:
1875         * po/uk.po:
1876         * po/vi.po:
1877         * win32/common/config.h:
1878         * win32/common/config.h.in:
1879         * win32/vs6/gst_inspect.dsp:
1880         * win32/vs6/gst_launch.dsp:
1881         * win32/vs6/libgstbase.dsp:
1882         * win32/vs6/libgstelements.dsp:
1883         * win32/vs6/libgstreamer.dsp:
1884         * win32/vs7/GStreamer.vcproj:
1885         * win32/vs7/gst-inspect.vcproj:
1886         * win32/vs7/gst-launch.vcproj:
1887         * win32/vs7/libgstbase.vcproj:
1888           bump GST_MAJORMINOR to 0.10
1889           reset libtool version
1890
1891 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1892
1893         * po/LINGUAS:
1894         * po/bg.po:
1895           Added Bulgarian translation by (Alexander Shopov)
1896
1897 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1898
1899         * tests/check/gst/gstplugin.c:
1900           fix test
1901
1902 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1903
1904         * common/gst-xmlinspect.py:
1905         * common/gtk-doc-plugins.mak:
1906         * configure.ac:
1907         * docs/Makefile.am:
1908         * docs/gst/Makefile.am:
1909         * docs/gst/gstreamer-docs.sgml:
1910         * docs/gst/gstreamer-sections.txt:
1911         * docs/gst/gstreamer.types:
1912         * docs/gst/gstreamer.types.in:
1913         * docs/plugins/Makefile.am:
1914         * docs/plugins/gstreamer-plugins-docs.sgml:
1915         * docs/plugins/gstreamer-plugins-sections.txt:
1916         * docs/plugins/gstreamer-plugins.types:
1917         * docs/plugins/inspect.stamp:
1918         * docs/plugins/inspect/plugin-coreelements.xml:
1919         * docs/plugins/inspect/plugin-coreindexers.xml:
1920         * docs/plugins/scanobj-build.stamp:
1921         * gstreamer.spec.in:
1922         * plugins/elements/Makefile.am:
1923         * plugins/elements/gstelements.c:
1924         * plugins/elements/gstfakesink.c:
1925         * plugins/elements/gstfakesrc.c:
1926         * plugins/elements/gstfilesink.c:
1927         * plugins/elements/gstfilesrc.c:
1928         * plugins/elements/gstqueue.c:
1929         * plugins/indexers/Makefile.am:
1930         * plugins/indexers/gstindexers.c:
1931           document core plugins in a separate document just like all the
1932           others
1933           rename these plugins to something starting with core
1934
1935 2005-12-01  Andy Wingo  <wingo@pobox.com>
1936
1937         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
1938         padding here before, but it missed the commit.
1939
1940 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1941
1942         * libs/gst/controller/gstinterpolation.c:
1943           whitespace prices have crashed, we should feel free to use some now
1944           use gst_guint64_to_gdouble
1945
1946 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1947
1948         * libs/gst/controller/gstcontroller.c:
1949         * libs/gst/controller/gsthelper.c:
1950         * libs/gst/controller/gstinterpolation.c:
1951         * libs/gst/controller/lib.c:
1952           wrap config.h include
1953
1954 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1955
1956         * docs/gst/gstreamer-sections.txt:
1957           update docs
1958
1959 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1960
1961         * plugins/elements/gstelements.c:
1962         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
1963         (gst_fd_sink__class_init), (gst_fd_sink__init),
1964         (gst_fd_sink__chain), (gst_fd_sink__set_property),
1965         (gst_fd_sink__get_property):
1966         * plugins/elements/gstfdsink.h:
1967         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
1968         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
1969         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
1970         (gst_fd_src_unlock), (gst_fd_src_set_property),
1971         (gst_fd_src_get_property), (gst_fd_src_create),
1972         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
1973         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
1974         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
1975         (gst_fd_src_uri_handler_init):
1976         * plugins/elements/gstfdsrc.h:
1977         * plugins/elements/gstqueue.c: (gst_queue_get_type):
1978           more anal cleanup
1979
1980 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1981
1982         * docs/gst/Makefile.am:
1983         * docs/gst/gstreamer.types.in:
1984         * gst/Makefile.am:
1985           fix the docs build
1986
1987 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1988
1989         * configure.ac:
1990         * gst/Makefile.am:
1991         * gst/gst.c:
1992         * gst/gstplugin.h:
1993         * gst/gstregistry.h:
1994         * tests/benchmarks/complexity.c:
1995         * tests/benchmarks/mass-elements.c:
1996         * tests/check/Makefile.am:
1997         * tools/Makefile.am:
1998         * tools/gst-inspect.c:
1999         * tools/gst-xmlinspect.c:
2000           various fixes to make
2001           --disable-nls --disable-registry --disable-loadsave
2002           --disable-parse --disable-gst-debug
2003           work and get the core .so down to 360444 bytes after stripping
2004
2005 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2006
2007         * Makefile.am:
2008         * configure.ac:
2009           descend into tests
2010         * docs/random/thomasvs/TODO:
2011         * tests/Makefile.am:
2012         * tests/README:
2013           add a README
2014
2015 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2016
2017         * win32/GStreamer.vcproj:
2018         * win32/MANIFEST:
2019         * win32/Makefile:
2020         * win32/Makefile.inspect:
2021         * win32/Makefile.launch:
2022         * win32/Makefile.register:
2023         * win32/README.txt:
2024         * win32/gst-inspect.vcproj:
2025         * win32/gst-launch.vcproj:
2026         * win32/gst-register.vcproj:
2027         * win32/gstelements.vcproj:
2028         * win32/gstgetbits.def:
2029         * win32/gstgetbits.vcproj:
2030         * win32/gstreamer-dbg.def:
2031         * win32/gstreamer.def:
2032         * win32/libgstbase.def:
2033         * win32/libgstbase.vcproj:
2034         * win32/link_oldruntime.c:
2035         * win32/mman.c:
2036         * win32/mman.h:
2037         * win32/mman.inl:
2038         * win32/msvc71.sln:
2039           move even more stuff, win32/ is nice and clean now
2040
2041 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2042
2043         * libs/gst/control/.cvsignore:
2044         * win32/MANIFEST:
2045         * win32/config.h:
2046         * win32/dirent.c:
2047         * win32/dirent.h:
2048         * win32/gstbytestream.def:
2049         * win32/gstbytestream.vcproj:
2050         * win32/gstconfig.h:
2051         * win32/gstenumtypes.c:
2052         * win32/gstenumtypes.h:
2053         * win32/gstoptimalscheduler.vcproj:
2054         * win32/gstversion.h:
2055         * win32/gtchar.h:
2056         * win32/testsuite/bins.vcproj:
2057         * win32/testsuite/bytestream.vcproj:
2058         * win32/testsuite/caps.vcproj:
2059         * win32/testsuite/cleanup.vcproj:
2060         * win32/testsuite/clock.vcproj:
2061         * win32/testsuite/debug.vcproj:
2062         * win32/testsuite/dlopen.vcproj:
2063         * win32/testsuite/dynparams.vcproj:
2064         * win32/testsuite/elements.vcproj:
2065         * win32/testsuite/ghostpads.vcproj:
2066         * win32/testsuite/indexers.vcproj:
2067         * win32/testsuite/negotiation.vcproj:
2068         * win32/testsuite/parse.vcproj:
2069         * win32/testsuite/plugin.vcproj:
2070         * win32/testsuite/refcounting.vcproj:
2071         * win32/testsuite/schedulers.vcproj:
2072         * win32/testsuite/states.vcproj:
2073         * win32/testsuite/tags.vcproj:
2074         * win32/testsuite/threads.vcproj:
2075           remove old win32 stuff that isn't maintained and should be
2076           reorganized
2077
2078 2005-11-30  Andy Wingo  <wingo@pobox.com>
2079
2080         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
2081         loading the gst.interfaces python module bork.
2082
2083         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
2084         available since GLib 2.2. Fixes #318031.
2085
2086 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2087
2088         * Makefile.am:
2089         * check/.cvsignore:
2090         * check/Makefile.am:
2091         * check/elements/.cvsignore:
2092         * check/elements/fakesrc.c:
2093         * check/elements/fdsrc.c:
2094         * check/elements/identity.c:
2095         * check/generic/.cvsignore:
2096         * check/generic/states.c:
2097         * check/gst-libs/.cvsignore:
2098         * check/gst-libs/controller.c:
2099         * check/gst-libs/gdp.c:
2100         * check/gst/.cvsignore:
2101         * check/gst/capslist.h:
2102         * check/gst/gst.c:
2103         * check/gst/gstbin.c:
2104         * check/gst/gstbuffer.c:
2105         * check/gst/gstbus.c:
2106         * check/gst/gstcaps.c:
2107         * check/gst/gstelement.c:
2108         * check/gst/gstevent.c:
2109         * check/gst/gstghostpad.c:
2110         * check/gst/gstiterator.c:
2111         * check/gst/gstmessage.c:
2112         * check/gst/gstminiobject.c:
2113         * check/gst/gstobject.c:
2114         * check/gst/gstpad.c:
2115         * check/gst/gstpipeline.c:
2116         * check/gst/gstplugin.c:
2117         * check/gst/gstsegment.c:
2118         * check/gst/gststructure.c:
2119         * check/gst/gstsystemclock.c:
2120         * check/gst/gsttag.c:
2121         * check/gst/gstutils.c:
2122         * check/gst/gstvalue.c:
2123         * check/net/.cvsignore:
2124         * check/net/gstnetclientclock.c:
2125         * check/net/gstnettimeprovider.c:
2126         * check/pipelines/.cvsignore:
2127         * check/pipelines/cleanup.c:
2128         * check/pipelines/simple_launch_lines.c:
2129         * check/pipelines/stress.c:
2130         * check/states/.cvsignore:
2131         * check/states/sinks.c:
2132         * configure.ac:
2133         * examples/Makefile.am:
2134         * examples/appreader/.cvsignore:
2135         * examples/appreader/Makefile.am:
2136         * examples/appreader/appreader.c:
2137         * examples/controller/.cvsignore:
2138         * examples/controller/Makefile.am:
2139         * examples/controller/audio-example.c:
2140         * examples/cutter/.cvsignore:
2141         * examples/cutter/Makefile.am:
2142         * examples/cutter/cutter.c:
2143         * examples/cutter/cutter.h:
2144         * examples/events/Makefile.am:
2145         * examples/events/seek.c:
2146         * examples/helloworld/.cvsignore:
2147         * examples/helloworld/Makefile.am:
2148         * examples/helloworld/helloworld.c:
2149         * examples/helloworld2/.cvsignore:
2150         * examples/helloworld2/Makefile.am:
2151         * examples/helloworld2/helloworld2.c:
2152         * examples/launch/.cvsignore:
2153         * examples/launch/Makefile.am:
2154         * examples/launch/mp3parselaunch.c:
2155         * examples/launch/mp3play:
2156         * examples/manual/.cvsignore:
2157         * examples/manual/Makefile.am:
2158         * examples/manual/extract.pl:
2159         * examples/metadata/Makefile.am:
2160         * examples/metadata/read-metadata.c:
2161         * examples/mixer/.cvsignore:
2162         * examples/mixer/Makefile.am:
2163         * examples/mixer/mixer.c:
2164         * examples/mixer/mixer.h:
2165         * examples/pingpong/.cvsignore:
2166         * examples/pingpong/Makefile.am:
2167         * examples/pingpong/pingpong.c:
2168         * examples/plugins/.cvsignore:
2169         * examples/plugins/Makefile.am:
2170         * examples/plugins/example.c:
2171         * examples/plugins/example.h:
2172         * examples/pwg/.cvsignore:
2173         * examples/pwg/Makefile.am:
2174         * examples/pwg/extract.pl:
2175         * examples/queue/.cvsignore:
2176         * examples/queue/Makefile.am:
2177         * examples/queue/queue.c:
2178         * examples/queue2/.cvsignore:
2179         * examples/queue2/Makefile.am:
2180         * examples/queue2/queue2.c:
2181         * examples/queue3/.cvsignore:
2182         * examples/queue3/Makefile.am:
2183         * examples/queue3/queue3.c:
2184         * examples/queue4/.cvsignore:
2185         * examples/queue4/Makefile.am:
2186         * examples/queue4/queue4.c:
2187         * examples/retag/.cvsignore:
2188         * examples/retag/Makefile.am:
2189         * examples/retag/retag.c:
2190         * examples/retag/transcode.c:
2191         * examples/thread/.cvsignore:
2192         * examples/thread/Makefile.am:
2193         * examples/thread/thread.c:
2194         * examples/typefind/.cvsignore:
2195         * examples/typefind/Makefile.am:
2196         * examples/typefind/typefind.c:
2197         * examples/xml/.cvsignore:
2198         * examples/xml/Makefile.am:
2199         * examples/xml/createxml.c:
2200         * examples/xml/runxml.c:
2201         * tests/Makefile.am:
2202         * tests/check/Makefile.am:
2203         * testsuite/.cvsignore:
2204         * testsuite/Makefile.am:
2205         * testsuite/Rules:
2206         * testsuite/caps/.cvsignore:
2207         * testsuite/caps/Makefile.am:
2208         * testsuite/caps/app_fixate.c:
2209         * testsuite/caps/audioscale.c:
2210         * testsuite/caps/caps.c:
2211         * testsuite/caps/caps.h:
2212         * testsuite/caps/caps_strings:
2213         * testsuite/caps/compatibility.c:
2214         * testsuite/caps/deserialize.c:
2215         * testsuite/caps/enumcaps.c:
2216         * testsuite/caps/eratosthenes.c:
2217         * testsuite/caps/filtercaps.c:
2218         * testsuite/caps/fixed.c:
2219         * testsuite/caps/fraction-convert.c:
2220         * testsuite/caps/fraction-multiply-and-zero.c:
2221         * testsuite/caps/intersect2.c:
2222         * testsuite/caps/intersection.c:
2223         * testsuite/caps/normalisation.c:
2224         * testsuite/caps/random.c:
2225         * testsuite/caps/renegotiate.c:
2226         * testsuite/caps/sets.c:
2227         * testsuite/caps/simplify.c:
2228         * testsuite/caps/string-conversions.c:
2229         * testsuite/caps/structure.c:
2230         * testsuite/caps/subtract.c:
2231         * testsuite/caps/union.c:
2232         * testsuite/debug/.cvsignore:
2233         * testsuite/debug/Makefile.am:
2234         * testsuite/debug/category.c:
2235         * testsuite/debug/commandline.c:
2236         * testsuite/debug/global.c:
2237         * testsuite/debug/output.c:
2238         * testsuite/debug/printf_extension.c:
2239         * testsuite/dlopen/.cvsignore:
2240         * testsuite/dlopen/Makefile.am:
2241         * testsuite/dlopen/dlopen_gst.c:
2242         * testsuite/dlopen/loadgst.c:
2243         * testsuite/elements/.cvsignore:
2244         * testsuite/elements/Makefile.am:
2245         * testsuite/elements/gst-inspect-check.in:
2246         * testsuite/elements/struct_i386.h:
2247         * testsuite/elements/struct_size.c:
2248         * testsuite/indexers/.cvsignore:
2249         * testsuite/indexers/Makefile.am:
2250         * testsuite/indexers/cache1.c:
2251         * testsuite/indexers/indexdump.c:
2252         * testsuite/parse/.cvsignore:
2253         * testsuite/parse/Makefile.am:
2254         * testsuite/parse/parse1.c:
2255         * testsuite/parse/parse2.c:
2256         * testsuite/plugin/.cvsignore:
2257         * testsuite/plugin/Makefile.am:
2258         * testsuite/plugin/README:
2259         * testsuite/plugin/dynamic.c:
2260         * testsuite/plugin/linked.c:
2261         * testsuite/plugin/loading.c:
2262         * testsuite/plugin/registry.c:
2263         * testsuite/plugin/static.c:
2264         * testsuite/plugin/static2.c:
2265         * testsuite/plugin/testplugin.c:
2266         * testsuite/plugin/testplugin2.c:
2267         * testsuite/plugin/testplugin2_s.c:
2268         * testsuite/plugin/testplugin_s.c:
2269         * testsuite/refcounting/.cvsignore:
2270         * testsuite/refcounting/Makefile.am:
2271         * testsuite/refcounting/bin.c:
2272         * testsuite/refcounting/element.c:
2273         * testsuite/refcounting/element_pad.c:
2274         * testsuite/refcounting/mainloop.c:
2275         * testsuite/refcounting/mem.c:
2276         * testsuite/refcounting/mem.h:
2277         * testsuite/refcounting/object.c:
2278         * testsuite/refcounting/pad.c:
2279         * testsuite/refcounting/sched.c:
2280         * testsuite/refcounting/thread.c:
2281         * testsuite/states/.cvsignore:
2282         * testsuite/states/Makefile.am:
2283         * testsuite/states/bin.c:
2284         * testsuite/states/locked.c:
2285         * testsuite/states/parent.c:
2286         * testsuite/threads/.cvsignore:
2287         * testsuite/threads/159566.c:
2288         * testsuite/threads/159852.c:
2289         * testsuite/threads/Makefile.am:
2290         * testsuite/threads/queue.c:
2291         * testsuite/threads/signals.c:
2292         * testsuite/threads/staticrec.c:
2293         * testsuite/threads/thread.c:
2294         * testsuite/threads/threadb.c:
2295         * testsuite/threads/threadc.c:
2296         * testsuite/threads/threadd.c:
2297         * testsuite/threads/threade.c:
2298         * testsuite/threads/threadf.c:
2299         * testsuite/threads/threadg.c:
2300         * testsuite/threads/threadh.c:
2301         * testsuite/threads/threadi.c:
2302           move all of these under tests
2303
2304 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2305
2306         * configure.ac:
2307         * tests/Makefile.am:
2308           fix distcheck
2309
2310 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2311
2312         * docs/gst/gstreamer-sections.txt:
2313         * tests/sched/.cvsignore:
2314         * tests/sched/Makefile.am:
2315         * tests/sched/cases/(fs-fs).xml:
2316         * tests/sched/cases/(fs-i-fs).xml:
2317         * tests/sched/cases/(fs-i-i-fs).xml:
2318         * tests/sched/cases/(fs-i-q[i-fs]).xml:
2319         * tests/sched/dynamic-pipeline.c:
2320         * tests/sched/interrupt1.c:
2321         * tests/sched/interrupt2.c:
2322         * tests/sched/interrupt3.c:
2323         * tests/sched/runtestcases:
2324         * tests/sched/runxml.c:
2325         * tests/sched/sched-stress.c:
2326         * tests/sched/sort.c:
2327         * tests/sched/testcases:
2328         * tests/sched/testcases1.tc:
2329         * tests/seeking/.cvsignore:
2330         * tests/seeking/Makefile.am:
2331         * tests/seeking/seeking1.c:
2332         * tests/threadstate/.cvsignore:
2333         * tests/threadstate/Makefile.am:
2334         * tests/threadstate/test1.c:
2335         * tests/threadstate/test2.c:
2336         * tests/threadstate/threadstate1.c:
2337         * tests/threadstate/threadstate2.c:
2338         * tests/threadstate/threadstate3.c:
2339         * tests/threadstate/threadstate4.c:
2340         * tests/threadstate/threadstate5.c:
2341           remove obsolete tests
2342         * configure.ac:
2343         * tests/bench-complexity.scm:
2344         * tests/bench-mass_elements.scm:
2345         * tests/complexity.c:
2346         * tests/complexity.gnuplot:
2347         * tests/instantiate/.cvsignore:
2348         * tests/instantiate/Makefile.am:
2349         * tests/instantiate/caps.c:
2350         * tests/mass_elements.c:
2351         * tests/network-clock-utils.scm:
2352         * tests/network-clock.scm:
2353         * tests/plot-data:
2354         First pass at cleaning up tests/ dir before moving the rest
2355         Combined with CVS surgery
2356
2357 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2358
2359         * po/POTFILES.in:
2360           queue has moved, update
2361
2362 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2363
2364         * docs/gst/gstreamer-sections.txt:
2365           remove double entries from the docs
2366         * gst/gst_private.h:
2367         * gst/gstinfo.c: (_gst_debug_init):
2368           remove the THREAD debug category
2369         * gst/Makefile.am:
2370         * gst/gstqueue.c:
2371         * gst/gstqueue.h:
2372         * docs/gst/gstreamer.types:
2373         * plugins/elements/gstqueue.c: (gst_queue_get_type),
2374         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
2375           completely move queue and fix up debugging categories
2376
2377 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2378
2379         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2380           make initialization portable, using LL is not
2381
2382 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2383
2384         * win32/common/gstconfig.h:
2385           add large padding
2386
2387 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2388
2389         * win32/common/libgstreamer.def:
2390           rename symbols; sort base section
2391
2392 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2393
2394         * gst/gstclock.c: (do_linear_regression):
2395           remove crack non-portable handrolled DEBUG macro
2396
2397 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2398
2399         * docs/random/release:
2400           update notes
2401         * win32/common/gstenumtypes.c: (register_gst_object_flags),
2402         (gst_object_flags_get_type), (register_gst_bin_flags),
2403         (gst_bin_flags_get_type), (register_gst_buffer_flag),
2404         (gst_buffer_flag_get_type), (register_gst_bus_flags),
2405         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2406         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
2407         (gst_caps_flags_get_type), (register_gst_clock_return),
2408         (gst_clock_return_get_type), (register_gst_clock_entry_type),
2409         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2410         (gst_clock_flags_get_type), (register_gst_state),
2411         (gst_state_get_type), (register_gst_state_change_return),
2412         (gst_state_change_return_get_type), (register_gst_state_change),
2413         (gst_state_change_get_type), (register_gst_element_flags),
2414         (gst_element_flags_get_type), (register_gst_core_error),
2415         (gst_core_error_get_type), (register_gst_library_error),
2416         (gst_library_error_get_type), (register_gst_resource_error),
2417         (gst_resource_error_get_type), (register_gst_stream_error),
2418         (gst_stream_error_get_type), (register_gst_event_type_flags),
2419         (gst_event_type_flags_get_type), (register_gst_event_type),
2420         (gst_event_type_get_type), (register_gst_seek_type),
2421         (gst_seek_type_get_type), (register_gst_seek_flags),
2422         (gst_seek_flags_get_type), (register_gst_format),
2423         (gst_format_get_type), (register_gst_index_certainty),
2424         (gst_index_certainty_get_type), (register_gst_index_entry_type),
2425         (gst_index_entry_type_get_type),
2426         (register_gst_index_lookup_method),
2427         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2428         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2429         (gst_index_resolver_method_get_type), (register_gst_index_flags),
2430         (gst_index_flags_get_type), (register_gst_debug_level),
2431         (gst_debug_level_get_type), (register_gst_debug_color_flags),
2432         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2433         (gst_iterator_result_get_type), (register_gst_iterator_item),
2434         (gst_iterator_item_get_type), (register_gst_message_type),
2435         (gst_message_type_get_type), (register_gst_mini_object_flags),
2436         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2437         (gst_pad_link_return_get_type), (register_gst_flow_return),
2438         (gst_flow_return_get_type), (register_gst_activate_mode),
2439         (gst_activate_mode_get_type), (register_gst_pad_direction),
2440         (gst_pad_direction_get_type), (register_gst_pad_flags),
2441         (gst_pad_flags_get_type), (register_gst_pad_presence),
2442         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2443         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2444         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2445         (gst_plugin_error_get_type), (register_gst_plugin_flags),
2446         (gst_plugin_flags_get_type), (register_gst_rank),
2447         (gst_rank_get_type), (register_gst_query_type),
2448         (gst_query_type_get_type), (register_gst_tag_merge_mode),
2449         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2450         (gst_tag_flag_get_type), (register_gst_task_state),
2451         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2452         (gst_alloc_trace_flags_get_type),
2453         (register_gst_type_find_probability),
2454         (gst_type_find_probability_get_type), (register_gst_uri_type),
2455         (gst_uri_type_get_type), (register_gst_parse_error),
2456         (gst_parse_error_get_type):
2457         * win32/common/gstenumtypes.h:
2458         * win32/common/gstversion.h:
2459           update visual studio generated files
2460
2461 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2462
2463         * win32/vs6/libgstbase.dsp:
2464         * win32/vs6/libgstelements.dsp:
2465           update project files for new locations
2466
2467 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2468
2469         * Makefile.am:
2470           remove some files
2471         * README:
2472           reinstate and update
2473         * DEVEL:
2474         * REQUIREMENTS:
2475           removed
2476         * LICENSE:
2477         * docs/random/LICENSE:
2478           moved to random
2479
2480 2005-11-30  Edward Hervey  <edward@fluendo.com>
2481
2482         * gst/gsttypefind.c: (gst_type_find_register):
2483         * gst/gsttypefind.h:
2484         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
2485         (gst_type_find_factory_dispose):
2486         * gst/gsttypefindfactory.h:
2487         Fix memory leak in GstTypeFindFactory.
2488
2489 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2490
2491         * gst/gst.c:
2492         * plugins/elements/Makefile.am:
2493         * plugins/elements/gstelements.c:
2494         * plugins/elements/gstqueue.c:
2495           move queue from core to the elements plugin
2496
2497 2005-11-29  Andy Wingo  <wingo@pobox.com>
2498
2499         * libs/gst/base/gstbasetransform.h: 
2500         * libs/gst/base/gstbasesrc.h: 
2501         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
2502
2503         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
2504         of pointers by which to pad very extensible base classes (like the
2505         ones in libs/gst/base).
2506
2507 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2508
2509         * docs/gst/gstreamer-docs.sgml:
2510         * docs/gst/gstreamer-sections.txt:
2511         * docs/libs/gstreamer-libs-docs.sgml:
2512         * docs/libs/gstreamer-libs-sections.txt:
2513           moving documentation from core to lib
2514
2515 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2516
2517         * check/Makefile.am:
2518         * configure.ac:
2519         * docs/gst/Makefile.am:
2520         * gst/Makefile.am:
2521         * gst/base/.cvsignore:
2522         * gst/base/Makefile.am:
2523         * gst/base/README:
2524         * gst/base/gstadapter.c:
2525         * gst/base/gstadapter.h:
2526         * gst/base/gstbasesink.c:
2527         * gst/base/gstbasesink.h:
2528         * gst/base/gstbasesrc.c:
2529         * gst/base/gstbasesrc.h:
2530         * gst/base/gstbasetransform.c:
2531         * gst/base/gstbasetransform.h:
2532         * gst/base/gstcollectpads.c:
2533         * gst/base/gstcollectpads.h:
2534         * gst/base/gstpushsrc.c:
2535         * gst/base/gstpushsrc.h:
2536         * gst/base/gsttypefindhelper.c:
2537         * gst/base/gsttypefindhelper.h:
2538         * gst/check/Makefile.am:
2539         * gst/check/gstcheck.c:
2540         * gst/check/gstcheck.h:
2541         * gst/net/Makefile.am:
2542         * gst/net/gstnet.h:
2543         * gst/net/gstnetclientclock.c:
2544         * gst/net/gstnetclientclock.h:
2545         * gst/net/gstnettimepacket.c:
2546         * gst/net/gstnettimepacket.h:
2547         * gst/net/gstnettimeprovider.c:
2548         * gst/net/gstnettimeprovider.h:
2549         * libs/gst/Makefile.am:
2550         * libs/gst/base/Makefile.am:
2551         * libs/gst/base/gstbasetransform.c:
2552         * libs/gst/check/Makefile.am:
2553         * plugins/elements/Makefile.am:
2554         * po/POTFILES.in:
2555           CVS surgery + support to move base, check, and net out of gst
2556           and into libs/gst
2557
2558 2005-11-29  Andy Wingo  <wingo@pobox.com>
2559
2560         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
2561
2562         * gst/gststructure.h (struct _GstStructure): Only one pointer of
2563         padding.
2564
2565         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
2566
2567         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
2568
2569         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
2570
2571         * gst/gstobject.h: (struct _GstObject): Only one pointer of
2572         padding; reduces object size by about 30%. We don't expect
2573         anything else to go into gstobject.
2574
2575         * gst/gstminiobject.h (struct _GstMiniObject)
2576         (struct _GstMiniObjectClass): Only one pointer of padding; the
2577         payload is only a pointer and two ints anyway. For the class there
2578         are only two methods as well.
2579         
2580         * gst/gstelement.h (struct _GstElementClass): Removed
2581         the state_changed signal callback, it is not used.
2582
2583 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
2584
2585         * docs/gst/gstreamer.types:
2586           fix includes, though they are a little dinky
2587
2588 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2589
2590         * check/Makefile.am:
2591           look in the right place for elements, a lot more chance of
2592           success
2593         * gst/Makefile.am:
2594           remove indexers and elements subdirs
2595         * plugins/Makefile.am:
2596           make indexers conditional
2597
2598 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2599
2600         * Makefile.am:
2601         * configure.ac:
2602         * plugins/elements/Makefile.am:
2603         * plugins/elements/gstcapsfilter.c:
2604         * plugins/elements/gstfilesink.c:
2605         * plugins/elements/gstfilesrc.c:
2606         * plugins/elements/gstidentity.c:
2607         * plugins/indexers/Makefile.am:
2608           do CVS surgery and related build fixery to move elements
2609           and indexers in a new gstreamer/plugins directory, out of the
2610           gst/ directory
2611
2612 2005-11-29  Andy Wingo  <wingo@pobox.com>
2613
2614         * check/Makefile.am:
2615         * pkgconfig/gstreamer-net-uninstalled.pc.in:
2616         * pkgconfig/gstreamer-net.pc.in:
2617         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
2618         #322257.
2619
2620 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
2621
2622         * tools/Makefile.am:
2623         * tools/gst-complete.1.in:
2624         * tools/gst-complete.c:
2625         * tools/gst-compprep.1.in:
2626         * tools/gst-compprep.c:
2627           removing -compprep and -complete
2628
2629 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
2630
2631         * gst/gstevent.c: (gst_event_new_new_segment),
2632         (gst_event_parse_new_segment):
2633         * gst/gstevent.h:
2634           fix #320529 - clean up new_segment API and structure.
2635           Let's hope everyone was using the methods, and not the structure.
2636
2637 2005-11-29  Edward Hervey  <edward@fluendo.com>
2638
2639         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2640         (gst_base_sink_event), (gst_base_sink_do_sync),
2641         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
2642         Properly handle non GST_FORMAT_TIME segment
2643         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2644         Properly handle non GST_FORMAT_TIME segment
2645         * gst/gstsegment.c:
2646         This function is valid if the accumulator is 0 and the format
2647         is different from the requested format.
2648         
2649 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
2650
2651         * docs/gst/gstreamer-sections.txt:
2652         Add gst_query_new_seeking and gst_query_parse_seeking to the
2653         docs.
2654
2655 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
2656
2657         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
2658           Treat a pad alloc with new caps the same as if we were not
2659           negotiated, in order to allow a changing upstream output
2660           to produce a new format of data.
2661
2662 2005-11-29  Edward Hervey  <edward@fluendo.com>
2663
2664         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2665         (gst_base_transform_event), (gst_base_transform_eventfunc):
2666         The event virtual method is now properly implemented, with a default
2667         handler
2668         Sub classes should call the parent_class event method. They should
2669         return FALSE if they had a problem handling the given event, or don't
2670         want GstBaseTransform to send that even downstream
2671         * gst/elements/gstidentity.c: (gst_identity_class_init),
2672         (gst_identity_init), (gst_identity_event),
2673         (gst_identity_transform_ip), (gst_identity_set_property),
2674         (gst_identity_get_property):
2675         * gst/elements/gstidentity.h:
2676         Added the single-segment boolean property.
2677         If set to TRUE, it will output a single segment of data, starting from
2678         0, will eat up all incoming newsegment, and modify the timestamp of the
2679         buffers accordingly
2680
2681 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
2682
2683         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
2684           Don't ref NULL target pad (#322751). Improve docs.
2685
2686 2005-11-29  Michael Smith  <msmith@fluendo.com>
2687
2688         * gst/gstregistryxml.c: (load_plugin):
2689           Don't crash if we failed to load a feature from a plugin. 
2690
2691 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2692
2693         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
2694         (GST_START_TEST):
2695           use more check API and less GLib API
2696
2697 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2698
2699         * Makefile.am:
2700           don't run checks if we don't have check
2701         * common/check.mak:
2702           remove the registry when running make torture
2703         * docs/gst/gstreamer-sections.txt:
2704           remove second multiply
2705         * gst/gstqueue.c: (gst_queue_loop):
2706           fix a compile warning when disabling debug
2707
2708 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
2709
2710         * gst/gstinfo.h:
2711         Hey! Let's print the pad name if the pointer != NULL instead
2712         of when it == NULL :-)
2713
2714 2005-11-28  Wim Taymans  <wim@fluendo.com>
2715
2716         * check/gst/gstutils.c: (GST_START_TEST):
2717         Updated check, add some scaling accuracy checking code.
2718
2719         * gst/gstutils.c: (gst_util_div128_64),
2720         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
2721         (gst_util_uint64_scale_int):
2722         Fix 6 times faster division code. Optimize for common 
2723         1/1 and less common X/1 cases.
2724
2725 2005-11-28  Wim Taymans  <wim@fluendo.com>
2726
2727         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
2728         More checks.
2729
2730         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
2731         (do_linear_regression), (gst_clock_add_observation):
2732         Cleanups.
2733         Release lock when the clock cannot be slaved.
2734         Catch the case where the regression returned an invalid denominator.
2735
2736         * gst/gstutils.c: (gst_util_div128_64_iterate),
2737         (gst_util_div128_64), (gst_util_uint64_scale_int64),
2738         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
2739         Add protentially more performant non-iterative 128/64 divide function
2740         that unfortunatly does not work yet.
2741         Shortcut the trivial 0/X = 0 case.
2742         Remove the warnings on overflow.
2743
2744 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2745
2746         * gst/gstplugin.c: (gst_plugin_register_func):
2747           everything causing a plugin not to load should be at least a WARNING
2748
2749 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
2750
2751         * docs/random/ensonic/dparams.txt:
2752           some TODOs for the next dev cycle
2753         * libs/gst/controller/gstcontroller.c:
2754         (gst_controlled_property_set_interpolation_mode),
2755         (gst_controlled_property_new):
2756         * libs/gst/controller/gstcontroller.h:
2757           use base type to assign acccessor functions
2758
2759 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
2760
2761         * check/Makefile.am:
2762         Oops, that should have been top_srcdir
2763
2764 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
2765
2766         * check/Makefile.am:
2767         * check/elements/fdsrc.c: (GST_START_TEST):
2768         Use a cmdline define to specify the location of a file to use for
2769         testing, to avoid breaking distcheck.
2770
2771 2005-11-28  Andy Wingo  <wingo@pobox.com>
2772
2773         * gst/gstpad.c (fixate_value): Use array functions for arrays.
2774
2775 2005-11-28  Edward Hervey  <edward@fluendo.com>
2776
2777         * tools/gst-launch.c: (main):
2778         Clarify the output strings, makes it easier to translate.
2779         Fixes #322626
2780
2781 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2782
2783         * gst/Makefile.am:
2784           don't try and build net if we don't even have <sys/socket.h>
2785
2786 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
2787
2788         * check/Makefile.am:
2789         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
2790         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
2791           Add tests for fdsrc seekability
2792
2793         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
2794         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
2795         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
2796         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
2797         * gst/elements/gstfdsrc.h:
2798           fdsrc should not be a 'live' source.
2799           Implement seeking on seekable fd's.
2800
2801         * gst/gstquery.c: (gst_query_new_seeking),
2802         (gst_query_parse_seeking):
2803         * gst/gstquery.h:
2804           Implement SEEKING query functions: 
2805             *_new_seeking and *_parse_seeking
2806
2807 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
2808
2809         * gst/gstelement.c: (gst_element_dispose):
2810           don't loop forever
2811
2812         * gst/gstiterator.c:
2813         * gst/gststructure.c:
2814           doc fixes
2815
2816         * libs/gst/controller/gstcontroller.c:
2817         (gst_controlled_property_set_interpolation_mode):
2818         * libs/gst/controller/gstcontroller.h:
2819         * libs/gst/controller/gstinterpolation.c:
2820         (interpolate_none_get_enum_value_array):
2821           support controlling enums
2822
2823 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
2824
2825         * gst/gstvalue.c:
2826           Improve documentation for gst_value_union().
2827
2828         * gst/gstvalue.h:
2829           Change return value for union, intersect and subtract functions
2830           from gint to gboolean.
2831
2832 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
2833
2834         * gst/gstvalue.c: (gst_value_serialize_any_list),
2835         (gst_value_transform_any_list_string),
2836         (gst_value_deserialize_list), (gst_value_deserialize_array),
2837         (gst_value_set_int_range), (gst_value_deserialize_int_range),
2838         (gst_value_set_double_range), (gst_value_deserialize_double_range),
2839         (gst_value_set_fraction_range_full),
2840         (gst_value_deserialize_fraction_range),
2841         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
2842         (gst_value_deserialize_boolean),
2843         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
2844         (gst_value_serialize_float), (gst_value_deserialize_float),
2845         (gst_string_wrap), (gst_value_deserialize_string),
2846         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
2847         (gst_value_union_int_range_int_range),
2848         (gst_value_intersect_int_range_int_range),
2849         (gst_value_intersect_double_range_double_range),
2850         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
2851         (gst_value_subtract_int_range_int_range),
2852         (gst_value_subtract_double_double_range),
2853         (gst_value_subtract_double_range_double_range),
2854         (gst_value_deserialize_fraction):
2855         * gst/gstvalue.h:
2856           Use gint, gdouble and gchar in our API instead of int, double and
2857           char (and make usage in gstvalue.c more consistent).
2858
2859 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
2860
2861         * check/Makefile.am:
2862         * libs/gst/controller/Makefile.am:
2863         * libs/gst/dataprotocol/Makefile.am:
2864           fix up Makefile.am and remove GST_ENABLE_NEW
2865
2866 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
2867
2868         * configure.ac:
2869         * gst/Makefile.am:
2870         * gst/base/Makefile.am:
2871         * gst/check/Makefile.am:
2872         * gst/elements/Makefile.am:
2873         * gst/net/Makefile.am:
2874           update LDFLAGS use some more
2875
2876 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
2877
2878         * common/m4/gst-doc.m4:
2879           Fixes #312589
2880
2881 2005-11-26  Edward Hervey  <edward@fluendo.com>
2882
2883         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2884         This shouldn't issue a g_warning since it returns NULL if it
2885         couldn't find the plugin, and all functions using this behave
2886         properly on a NULL return. Switching to a GST_WARNING.
2887
2888 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
2889
2890         * gst/gstbin.c: (gst_bin_handle_message_func):
2891         Don't leak clock messages.
2892
2893 2005-11-25  Wim Taymans  <wim@fluendo.com>
2894
2895         * gst/gstutils.c: (gst_util_uint64_scale_int64),
2896         (gst_util_uint64_scale_int):
2897         Optimisations, remove unneeded vars.
2898
2899 2005-11-25  Wim Taymans  <wim@fluendo.com>
2900
2901         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
2902         Added more checks for the high precision uint64 cases.
2903
2904         * gst/gstutils.c: (gst_util_uint64_scale_int64),
2905         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
2906         Implement high precision (guint64 * guint64) / guint64.
2907
2908 2005-11-24  Wim Taymans  <wim@fluendo.com>
2909
2910         * gst/base/gstbasesrc.c: (gst_base_src_query):
2911         Fix wrong percentage query.
2912
2913         * gst/gstutils.c: (gst_util_uint64_scale),
2914         (gst_util_uint64_scale_int):
2915         Add some more common cases that can be handled 
2916         efficiently to _scale.
2917
2918 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2919
2920         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
2921         (gst_mini_object_suite):
2922           don't use check calls from threads; check probably isn't
2923           threadsafe and using a lock to make it threadsafe would
2924           defeat the purpose of this check
2925         * gst/check/gstcheck.c:
2926         * gst/check/gstcheck.h:
2927           use GST_DEBUG some more
2928
2929 2005-11-24  Wim Taymans  <wim@fluendo.com>
2930
2931         * gst/gstutils.c: (gst_util_uint64_scale),
2932         (gst_util_uint64_scale_int):
2933         Chain trivial case to _scale_int.
2934
2935 2005-11-24  Wim Taymans  <wim@fluendo.com>
2936
2937         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
2938         Added test for scaling.
2939
2940         * gst/gstclock.h:
2941         Small doc fix.
2942
2943         * gst/gstutils.c: (gst_util_uint64_scale_int):
2944         Implemented high precision scaling code.
2945
2946 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
2947
2948         * gst/gstinfo.h:
2949           do not crash on pad==NULL
2950
2951 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2952
2953         Patch by: Stefan Kost
2954
2955         * common/gtk-doc.mak:
2956         * docs/gst/Makefile.am:
2957         * docs/libs/Makefile.am:
2958           Fix distcheck issues for the libraries docs build
2959           Closes #319599.
2960
2961 2005-11-24  Michael Smith <msmith@fluendo.com>
2962
2963         * docs/manual/basics-helloworld.xml:
2964           Fix bug #315027: memory leak in example code in docs.
2965
2966 2005-11-24  Michael Smith <msmith@fluendo.com>
2967
2968         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2969           Unlock the PREROLL_LOCK in a failure case.
2970
2971 2005-11-24  Wim Taymans  <wim@fluendo.com>
2972
2973         * docs/gst/gstreamer-sections.txt:
2974         * gst/base/gstadapter.h:
2975         * gst/base/gstbasesink.h:
2976         * gst/base/gstbasesrc.h:
2977         * gst/base/gstbasetransform.h:
2978         * gst/base/gstpushsrc.h:
2979         * gst/elements/gstfakesink.h:
2980         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
2981         * gst/elements/gstfakesrc.h:
2982         * gst/elements/gstfilesink.h:
2983         * gst/elements/gstfilesrc.h:
2984         * gst/gst.c:
2985         * gst/gstbin.c:
2986         * gst/gstbuffer.c: (_gst_buffer_copy):
2987         * gst/gstbus.h:
2988         * gst/gstcaps.c:
2989         * gst/gstchildproxy.c:
2990         * gst/gstclock.c:
2991         * gst/gstelement.c:
2992         * gst/gstelementfactory.c:
2993         * gst/gstelementfactory.h:
2994         * gst/gstevent.c:
2995         * gst/gstghostpad.h:
2996         * gst/gstindex.h:
2997         * gst/gstinterface.h:
2998         * gst/gstminiobject.c:
2999         * gst/gstminiobject.h:
3000         * gst/gstpad.c:
3001         * gst/gstpad.h:
3002         * gst/gstpadtemplate.h:
3003         * gst/gstpipeline.h:
3004         * gst/gstpluginfeature.h:
3005         * gst/gstquery.h:
3006         * gst/gstqueue.h:
3007         * gst/gsttaglist.c:
3008         * gst/gsttaglist.h:
3009         * gst/gsttagsetter.c:
3010         * gst/gsttagsetter.h:
3011         * gst/gsttrace.c:
3012         * gst/gsttrace.h:
3013         * gst/gsttypefind.h:
3014         * gst/gsturi.h:
3015         * gst/gstvalue.c:
3016         * gst/net/gstnetclientclock.c:
3017         * gst/net/gstnetclientclock.h:
3018         * gst/net/gstnettimepacket.c:
3019         * gst/net/gstnettimeprovider.c:
3020         * gst/net/gstnettimeprovider.h:
3021         Doc fixes.
3022
3023 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3024
3025         * configure.ac: back to HEAD
3026
3027 === release 0.9.6 ===
3028
3029 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
3030
3031         * configure.ac:
3032           releasing 0.9.6, "Always On Time"
3033
3034 2005-11-23  Wim Taymans  <wim@fluendo.com>
3035
3036         * docs/gst/gstreamer-sections.txt:
3037         * gst/glib-compat.c:
3038         * gst/gsttagsetter.c:
3039         * gst/gstvalue.c:
3040         * gst/net/gstnetclientclock.c:
3041         * gst/net/gstnettimepacket.h:
3042         Doc updates.
3043
3044 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3045
3046         * docs/faq/using.xml:
3047         * docs/libs/tmpl/gstcontrol.sgml:
3048         * docs/manual/advanced-dparams.xml:
3049         * docs/manual/appendix-checklist.xml:
3050         * docs/manual/basics-elements.xml:
3051         * docs/pwg/other-source.xml:
3052         * docs/random/moving-plugins:
3053         * gst/gstpad.c:
3054         * tools/gst-launch.1.in:
3055           remove mentions of sinesrc
3056
3057 2005-11-23  Michael Smith <msmith@fluendo.com>
3058
3059         * docs/gst/gstreamer-sections.txt:
3060           Update for new API and API changes.
3061         * gst/gstobject.h:
3062           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
3063         * gst/gstvalue.c:
3064           Documentation typo fix.
3065         * gst/net/gstnettimepacket.c:
3066           Documentation fixes for arguments.
3067
3068 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
3069
3070         * gst/gststructure.c: (gst_structure_get_fraction),
3071         (gst_structure_parse_value),
3072         (gst_structure_fixate_field_nearest_fraction):
3073         * gst/gststructure.h:
3074         * gst/gstutils.c: (gst_util_uint64_scale_int):
3075         * gst/gstutils.h:
3076         * scripts/update-funcnames:
3077         API Changes. 
3078         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
3079         Make gst_structure_fixate_field_nearest_fraction take a numerator
3080         and denominator argument instead of a GValue
3081         add gst_structure_get_fraction helper function.
3082
3083 2005-11-23  Wim Taymans  <wim@fluendo.com>
3084
3085         * docs/design/part-TODO.txt:
3086         Update TODO.
3087
3088         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3089         * gst/net/gstnetclientclock.h:
3090         Use parent fields for timeout and window_size.
3091
3092 2005-11-23  Andy Wingo  <wingo@pobox.com>
3093
3094         * check/net/gstnetclientclock.c (test_functioning): Adjust to
3095         rate_num/rate_denom change.
3096
3097         * gst/net/gstnetclientclock.c
3098         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
3099         OBJECT_LOCK. Don't call add_observation with the lock.
3100
3101         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
3102         fraction.
3103         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
3104         rate fraction.
3105         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
3106         deal with rate as a fraction whose numerator and denominator are
3107         GstClockTime values.
3108         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
3109         master; the other fields are protected by the SLAVE_LOCK.
3110         (do_linear_regression): Note that this must be called with the
3111         SLAVE_LOCK.
3112         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
3113         OBJECT_LOCK. Call set_calibration instead of touching the
3114         variables directly.
3115         (gst_clock_set_property, gst_clock_get_property): Protect
3116         master/slave parameters with the SLAVE_LOCK.
3117
3118         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
3119         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
3120         note that all of the instance variables that add_observation and
3121         the set_master functions use are protected by that lock and not
3122         the OBJECT_LOCK.
3123         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
3124
3125         * gst/gstclock.c (gst_clock_add_observation): No longer requires
3126         the caller to take the object lock.
3127
3128 2005-11-23  Wim Taymans  <wim@fluendo.com>
3129
3130         * gst/gsterror.c: (_gst_core_errors_init):
3131         * gst/gsterror.h:
3132         Add error for clock stuff.
3133
3134         * gst/gstpipeline.c: (gst_pipeline_change_state),
3135         (gst_pipeline_set_clock):
3136         Post clock error when clock cannot be used in a pipeline.
3137
3138 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
3139
3140         * docs/gst/gstreamer-sections.txt:
3141           make two symbols from gstinfo private for the docs
3142         * gst/base/gstcollectpads.h:
3143         * gst/gstutils.c:
3144           fix doc typos, update docs
3145
3146 2005-11-22  Wim Taymans  <wim@fluendo.com>
3147
3148         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3149         (gst_base_sink_wait), (gst_base_sink_do_sync),
3150         (gst_base_sink_handle_event):
3151         * gst/base/gstbasesink.h:
3152         No need to store the clock, the parent element class already
3153         has it.
3154
3155         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
3156         Updates for clock_set returning a gboolean
3157
3158         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
3159         (gst_clock_id_wait_async), (gst_clock_class_init),
3160         (gst_clock_init), (gst_clock_finalize),
3161         (gst_clock_get_internal_time), (gst_clock_get_time),
3162         (gst_clock_slave_callback), (gst_clock_set_master),
3163         (gst_clock_get_master), (do_linear_regression),
3164         (gst_clock_add_observation), (gst_clock_set_property),
3165         (gst_clock_get_property):
3166         * gst/gstclock.h:
3167         Implement master/slave. When setting a clock as a slave, a
3168         periodic timeout is scheduled to sample master and slave times.
3169         Then the slave clock is recalibrated to match offset and rate
3170         of the master clock.
3171         Update logging a bit.
3172         Add flag so that a clock can state that is cannot be slaved to
3173         another clock.
3174
3175         * gst/gstelement.c: (gst_element_set_clock):
3176         * gst/gstelement.h:
3177         The set clock returns a gboolean for when an element cannot
3178         deal with the selected clock in the pipeline. 
3179
3180         * gst/gstpipeline.c: (gst_pipeline_change_state),
3181         (gst_pipeline_set_clock):
3182         * gst/gstpipeline.h:
3183         Handle the case where the selected clock cannot be set on
3184         the pipeline.
3185
3186         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
3187         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
3188         (gst_net_client_clock_set_property),
3189         (gst_net_client_clock_get_property),
3190         (gst_net_client_clock_observe_times):
3191         * gst/net/gstnetclientclock.h:
3192         Use regression code in GstClock parent, remove duplicated
3193         functionality.
3194
3195 2005-11-22  Michael Smith <msmith@fluendo.com>
3196
3197         * gst/gstutils.c: (gst_util_clock_time_scale):
3198         * gst/gstutils.h:
3199         * docs/gst/gstreamer-sections.txt:
3200           Rename method to have extra underscore.
3201
3202 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
3203
3204         * gst/elements/Makefile.am:
3205         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
3206         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
3207         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
3208         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
3209         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
3210         * gst/elements/gstfakesrc.h:
3211         * gst/gstqueue.c: (queue_leaky_get_type):
3212           correctly fix GEnumValues so that nick is the short lowercase
3213           dashed tag
3214         * tools/gst-inspect.c: (print_element_properties_info):
3215           also show the nick, since it's useful to use from parse_launch
3216           syntax
3217           Fixes #322139
3218
3219 2005-11-22  Michael Smith <msmith@fluendo.com>
3220
3221         * gst/gstutils.c: (gst_util_clocktime_scale):
3222         * gst/gstutils.h:
3223         * docs/gst/gstreamer-sections.txt:
3224           Add util method for scaling a clocktime by a fraction. Useful 
3225           implementation is left as an exercise for the reader.
3226
3227 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
3228
3229         * gst/gstvalue.c: (gst_value_collect_fraction_range):
3230         If needed, allocate storage in the destination value during
3231         collection.
3232
3233 2005-11-22  Edward Hervey  <edward@fluendo.com>
3234
3235         * docs/gst/gstreamer-sections.txt:
3236         * gst/Makefile.am:
3237         * gst/gst.h:
3238         * gst/gsturitype.c:
3239         * gst/gsturitype.h:
3240         * gst/gstutils.c: (gst_util_set_object_arg):
3241         * tools/gst-compprep.c: (main):
3242         * tools/gst-inspect.c: (print_element_properties_info):
3243         Removed GstURI, closes bug #321061
3244
3245 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
3246
3247         * check/gst/gststructure.c: (GST_START_TEST):
3248         * gst/gststructure.c: (gst_structure_parse_value):
3249           Oops, broke automatic string type parsing.
3250           Add a test to catch it in future.
3251
3252 2005-11-22  Andy Wingo  <wingo@pobox.com>
3253
3254         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
3255         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
3256         Actually rename the function implementations. Grr.
3257
3258 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
3259
3260         * check/gst/capslist.h:
3261           Comment test cases
3262         * check/gst/gststructure.c: (GST_START_TEST),
3263         (gst_structure_suite):
3264           Test automatic value type detection in gst_structure_from_string.
3265         * gst/gststructure.c: (gst_structure_parse_value):
3266           Add fraction as a type we try and guess automatically in
3267           caps/structure strings.
3268
3269 2005-11-22  Andy Wingo  <wingo@pobox.com>
3270
3271         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
3272
3273         * gst/gsttagsetter.h:
3274         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
3275         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
3276         (gst_tag_setter_add_tag_valist)
3277         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
3278         _add_values, _add_valist, and _add_valist_values. Since this is an
3279         interface the function suffixes should be more explicit so
3280         language binding don't end up with element.add_valist ->
3281         gst_tag_setter_add_valist, for example. Fixes #322069.
3282
3283 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
3284
3285         * check/gst/gstcaps.c: (GST_START_TEST):
3286           Extend caps string tests to check that a caps to string
3287           conversion is reversible and produces the same caps.
3288
3289         * gst/gststructure.c: (gst_structure_value_get_generic_type):
3290           Output "fraction" as the generic type fraction range, so caps
3291           serialisation and deserialisation works.
3292         * check/gst/capslist.h:
3293         * gst/gstvalue.c: (gst_value_deserialize_fraction):
3294           Support 'MIN' and 'MAX' for deserialising fractions.
3295
3296 2005-11-22  Andy Wingo  <wingo@pobox.com>
3297
3298         * gst/gstevent.h (gst_event_new_new_segment)
3299         (gst_event_parse_new_segment, gst_event_new_buffer_size)
3300         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
3301         Renamed from *_newsegment, *_buffersize, *_notarget.
3302
3303         * scripts/update-funcnames: New script, performs the changes
3304         listed above.
3305
3306 2005-11-22  Wim Taymans  <wim@fluendo.com>
3307
3308         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3309         Make sure the GstFlowReturn is returned.
3310
3311         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
3312         (gst_bus_add_signal_watch):
3313         * gst/gstbus.h:
3314         add gst_bus_add_signal_watch_full.
3315
3316         * gst/gstplugin.c: (gst_plugin_load_file):
3317         Small style cleanup.
3318
3319 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
3320
3321         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
3322           Block the fakesrc srcpad when we send an event, to avoid
3323           contention on the stream_lock causing random test failures.
3324
3325 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
3326
3327         * check/gst/gstvalue.c: (GST_START_TEST):
3328         * gst/gstvalue.c: (gst_value_fraction_subtract):
3329           Fix subtraction.
3330
3331 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
3332
3333         * gst/gst.h:
3334           include "gstchildproxy.h"
3335         * gst/gstchildproxy.h:
3336         * libs/gst/controller/gstcontroller.h:
3337           use G_GNUC_NULL_TERMINATED
3338
3339 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
3340
3341         * check/gst/capslist.h:
3342         * check/gst/gstcaps.c: (GST_START_TEST):
3343         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3344         * gst/gststructure.c: (gst_structure_parse_range),
3345         (gst_structure_fixate_field_nearest_fraction):
3346         * gst/gststructure.h:
3347         * gst/gstvalue.c: (gst_value_init_fraction_range),
3348         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
3349         (gst_value_collect_fraction_range),
3350         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
3351         (gst_value_set_fraction_range_full),
3352         (gst_value_get_fraction_range_min),
3353         (gst_value_get_fraction_range_max),
3354         (gst_value_serialize_fraction_range),
3355         (gst_value_transform_fraction_range_string),
3356         (gst_value_compare_fraction_range),
3357         (gst_value_deserialize_fraction_range),
3358         (gst_value_intersect_fraction_fraction_range),
3359         (gst_value_intersect_fraction_range_fraction_range),
3360         (gst_value_subtract_fraction_fraction_range),
3361         (gst_value_subtract_fraction_range_fraction),
3362         (gst_value_subtract_fraction_range_fraction_range),
3363         (gst_value_collect_fraction), (gst_value_fraction_multiply),
3364         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
3365         (gst_value_transform_string_fraction), (_gst_value_initialize):
3366         * gst/gstvalue.h:
3367           Implement fraction ranges and extend GstFraction to support
3368           arithmetic subtraction, as well as deserialization from integer
3369           strings such as "100"
3370           Add a testsuite as for int and double range set operations
3371
3372 2005-11-21  Andy Wingo  <wingo@pobox.com>
3373
3374         * gst/gsttaglist.h: 
3375         * gst/gstcaps.h: 
3376         * gst/gststructure.h: Add glib-compat.h.
3377
3378 2005-11-21  Wim Taymans  <wim@fluendo.com>
3379
3380         * gst/gstbin.c: (gst_bin_change_state_func):
3381         Fix for #321595
3382
3383 2005-11-21  Wim Taymans  <wim@fluendo.com>
3384
3385         * gst/gstsegment.h:
3386         And add a nice define too.
3387
3388 2005-11-21  Wim Taymans  <wim@fluendo.com>
3389
3390         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
3391         (gst_segment_new), (gst_segment_free), (gst_segment_init),
3392         (gst_segment_set_duration), (gst_segment_set_last_stop),
3393         (gst_segment_set_seek), (gst_segment_set_newsegment),
3394         (gst_segment_to_stream_time), (gst_segment_to_running_time),
3395         (gst_segment_clip):
3396         * gst/gstsegment.h:
3397         Make binding friendly.
3398
3399 2005-11-21  Andy Wingo  <wingo@pobox.com>
3400
3401         * gst/gsttagsetter.h: 
3402         * gst/gsttaglist.h: 
3403         * gst/gststructure.h: 
3404         * gst/gstcaps.h: 
3405         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
3406         #319940.
3407
3408         * gst/gsterror.c (_gst_core_errors_init):
3409         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
3410         category.
3411
3412         * gst/Makefile.am (gst_headers): Add glib-compat.h.
3413         (noinst_HEADERS): noinst the -private.
3414
3415 2005-11-21  Michael Smith <msmith@fluendo.com>
3416
3417         * gst/gstplugin.h:
3418         * gst/gstregistry.h:
3419           Remove unimplemented declarations for which we can see no sensible
3420           use.
3421
3422 2005-11-21  Andy Wingo  <wingo@pobox.com>
3423
3424         * gst/gst.h: Include glib-compat.h.
3425
3426         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
3427
3428         * gst/glib-compat.c: Include the public and the private header.
3429
3430         * gst/glib-compat-private.h: Copied here from glib-compat.h.
3431
3432         * gst/gstvalue.c: 
3433         * gst/gstpad.c: 
3434         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
3435
3436         * check/gst/gstevent.c (create_custom_events): Check that
3437         FLUSH_STOP is serialized.
3438
3439         * check/elements/identity.c (event_func): 
3440         * check/elements/fakesrc.c (event_func): No stream lock, the core
3441         takes it.
3442
3443         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
3444         stream lock taking, yay.
3445
3446         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
3447         ensure that core takes the stream lock.
3448
3449         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
3450         lock name change.
3451
3452         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
3453         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
3454         it already. For the flush start we do take it though so we get the
3455         right preroll state change messages.
3456
3457         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
3458         the stream lock here, the core does it for us.
3459
3460         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
3461         GST_STREAM_GET_LOCK.
3462         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
3463         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
3464         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
3465         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
3466         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
3467         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
3468
3469         * gst/gstpad.c: Update for stream lock name change.
3470
3471         * gst/base/gstbasesink.c: Update for preroll lock name change.
3472
3473 2005-11-21  Wim Taymans  <wim@fluendo.com>
3474
3475         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
3476         (gst_clock_get_master):
3477         * gst/gstclock.h:
3478         * gst/gstsystemclock.c: (gst_system_clock_init):
3479         Convert Clock flags to object flags.
3480         Added methods to manage master/slave clocks.
3481
3482 2005-11-21  Wim Taymans  <wim@fluendo.com>
3483
3484         * check/gst/gstsegment.c: (GST_START_TEST):
3485         * docs/design/part-TODO.txt:
3486         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3487         (gst_base_sink_event), (gst_base_sink_do_sync),
3488         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
3489         (gst_base_sink_query), (gst_base_sink_change_state):
3490         * gst/base/gstbasesink.h:
3491         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3492         (gst_base_src_default_newsegment),
3493         (gst_base_src_configure_segment), (gst_base_src_do_seek),
3494         (gst_base_src_get_range), (gst_base_src_loop),
3495         (gst_base_src_change_state):
3496         * gst/base/gstbasesrc.h:
3497         * gst/base/gstbasetransform.c:
3498         (gst_base_transform_prepare_output_buf),
3499         (gst_base_transform_event), (gst_base_transform_change_state):
3500         * gst/base/gstbasetransform.h:
3501         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
3502         (gst_collect_pads_event):
3503         * gst/base/gstcollectpads.h:
3504         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
3505         (gst_fake_src_create):
3506         * gst/elements/gstfakesrc.h:
3507         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
3508         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
3509         (gst_segment_set_last_stop), (gst_segment_set_seek),
3510         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
3511         (gst_segment_to_running_time), (gst_segment_clip):
3512         * gst/gstsegment.h:
3513         More segment updates, replace code in plugins with segment
3514         helper functions.
3515
3516 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
3517
3518         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
3519         Don't ignore sscanf results
3520
3521 2005-11-21  Andy Wingo  <wingo@pobox.com>
3522
3523         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
3524
3525         * *.h:
3526         * *.c: Ran scripts/update-macros. Oh yes.
3527
3528         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
3529         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
3530         GST_GET_LOCK, etc.
3531
3532         * scripts/update-macros: New script. Run it on your files to
3533         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
3534         well.
3535
3536 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
3537
3538         * docs/gst/Makefile.am:
3539         * docs/gst/gstreamer-docs.sgml:
3540         * docs/gst/gstreamer-sections.txt:
3541         * docs/gst/gstreamer.types:
3542         * gst/gstinfo.h:
3543           more docs fixes, add new api to the docs
3544
3545 2005-11-21  Andy Wingo  <wingo@pobox.com>
3546
3547         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
3548         state_broadcast call.
3549
3550         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
3551
3552 2005-11-21  Julien MOUTTE  <julien@moutte.net>
3553
3554         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
3555         function calls for arrays.
3556
3557 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
3558
3559         * docs/random/ensonic/media-device-daemon.txt:
3560           wild idea, can this be done?
3561         * docs/gst/gstreamer-sections.txt:
3562         * gst/gsterror.h:
3563         * gst/gstfilter.c:
3564         * gst/gstfilter.h:
3565         * gst/gstplugin.h:
3566         * gst/gstpluginfeature.c:
3567         * gst/gsttrace.c:
3568         * gst/gstvalue.c:
3569         * gst/gstvalue.h:
3570           doc fixes and additions
3571
3572 2005-11-21  Andy Wingo  <wingo@pobox.com>
3573
3574         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
3575         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
3576         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
3577         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
3578         private to the basesrc implementation.
3579
3580         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
3581         behalf of event function if necessary. It should no longer be
3582         necessary to take the stream lock in pad's event functions. Fixes
3583         #320299.
3584
3585 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
3586         * docs/gst/gstreamer-sections.txt:
3587         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
3588         (gst_structure_fixate_field_nearest_double),
3589         (gst_structure_fixate_field_boolean):
3590         * gst/gststructure.h:
3591         * win32/common/libgstreamer.def:
3592         * win32/gstreamer.def:
3593
3594         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
3595         (#322027)
3596
3597 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
3598
3599         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
3600         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
3601         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
3602         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
3603         (gst_fdsrc_uri_handler_init):
3604         * gst/elements/gstfdsrc.h:
3605           Port fd:// URI handler from 0.8 to fdsrc
3606
3607 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
3608
3609         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
3610         (gst_value_serialize_fourcc):
3611         * gst/gstvalue.h:
3612           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
3613           consistent with our other format defines (#320324).
3614
3615 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
3616
3617         * gst/gstvalue.c: (gst_value_is_fixed):
3618           Revert previous commit. Value lists are by definition
3619           not fixed, as they are a list of possible values.
3620
3621 2005-11-21  Andy Wingo  <wingo@pobox.com>
3622
3623         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
3624         during the stable series if we need it. Fixes #319178.
3625
3626         * gst/gstevent.c (gst_event_new_filler): Removed.
3627
3628         * check/gst/gstevent.c: Update comment about filler events.
3629
3630 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
3631
3632         * gst/gstvalue.c: (gst_value_is_fixed):
3633           Should handle both value arrays and value lists.
3634
3635 2005-11-21  Andy Wingo  <wingo@pobox.com>
3636
3637         patch by: Alessandro Dessina <alessandro nnva org>
3638
3639         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
3640         functions to access arrays. Fixes #321962.
3641
3642 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
3643
3644         * docs/gst/gstreamer.types:
3645           gst_collectpads_get_type => gst_collect_pads_get_type.
3646           
3647         * gst/base/gstbasetransform.c:
3648           Remove unused SIGNAL_HANDOFF enum.
3649
3650 2005-11-21  Andy Wingo  <wingo@pobox.com>
3651
3652         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
3653         the event type (upstream, downstream, serialized). Renamed
3654         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
3655         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
3656         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
3657
3658         * gst/gstevent.c: Update for new CUSTOM event names.
3659
3660         * check/gst/gstevent.c: Update check for new CUSTOM event names.
3661
3662         * gst/gstevent.h:
3663         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
3664         bug #319392.
3665
3666 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
3667
3668         * docs/gst/gstreamer-sections.txt:
3669         * win32/common/libgstbase.def:
3670         * win32/libgstbase.def:
3671         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3672         (gst_collect_pads_class_init), (gst_collect_pads_init),
3673         (gst_collect_pads_finalize), (gst_collect_pads_new),
3674         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
3675         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
3676         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
3677         (gst_collect_pads_start), (gst_collect_pads_stop),
3678         (gst_collect_pads_peek), (gst_collect_pads_pop),
3679         (gst_collect_pads_available), (gst_collect_pads_read),
3680         (gst_collect_pads_flush), (gst_collect_pads_event),
3681         (gst_collect_pads_chain):
3682         * gst/base/gstcollectpads.h:
3683           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
3684           unimplemented functions as unimplemented. Add padding to
3685           GstCollectData. (#320766, #320423)
3686
3687 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
3688
3689         * gst/gstmessage.c:
3690           Improve docs for DURATION message (usage of duration parameter)
3691           (#320113)
3692
3693 2005-11-20  Wim Taymans  <wim@fluendo.com>
3694
3695         * check/Makefile.am:
3696         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
3697         (main):
3698         * gst/Makefile.am:
3699         * gst/gst.h:
3700         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
3701         (gst_segment_set_seek), (gst_segment_set_newsegment),
3702         (gst_segment_to_stream_time), (gst_segment_to_running_time),
3703         (gst_segment_clip):
3704         * gst/gstsegment.h:
3705         Added segment helper structure and methods. Not fully implemented
3706         yet.
3707         Added segment check.
3708
3709 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
3710
3711         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3712           Add a deserialisation test for fractions
3713         * examples/metadata/read-metadata.c: (message_loop),
3714         (make_pipeline), (main):
3715           Fix up metadata reading sample.
3716         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3717           Debug format fix
3718         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
3719           Don't try and fixate empty caps
3720         * gst/gst_private.h:
3721           Wrap in G_BEGIN_DECLS/G_END_DECLS
3722         * gst/gstvalue.c: (gst_value_collect_fraction),
3723         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
3724         (gst_value_transform_string_fraction),
3725         (gst_value_compare_fraction):
3726           Add some extra guards to ensure that we don't end up 
3727           with an invalid denominator of 0 in a gstfraction and
3728           that fractions always get reduced.
3729
3730 2005-11-20  Wim Taymans  <wim@fluendo.com>
3731
3732         * docs/gst/gstreamer-sections.txt:
3733         * gst/gstbuffer.h:
3734         * gst/gstelement.c:
3735         * gst/gstformat.c:
3736         * gst/gstformat.h:
3737         * gst/gstindex.h:
3738         * gst/gstquery.c:
3739         * gst/gstquery.h:
3740         * gst/gstvalue.c:
3741         Doc fixes.
3742
3743 2005-11-20  Wim Taymans  <wim@fluendo.com>
3744
3745         * docs/design/part-TODO.txt:
3746         * gst/gstcaps.h:
3747         Make a proper enum of the flag.
3748
3749 2005-11-19  Wim Taymans  <wim@fluendo.com>
3750
3751         * docs/design/part-TODO.txt:
3752         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
3753         (gst_format_to_quark), (gst_format_register):
3754         * gst/gstformat.h:
3755         * gst/gstquery.c: (_gst_query_initialize),
3756         (gst_query_type_get_name), (gst_query_type_to_quark),
3757         (gst_query_type_register):
3758         * gst/gstquery.h:
3759         Add type to quark and type to string conversions.
3760
3761 2005-11-19  Andy Wingo  <wingo@pobox.com>
3762
3763         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
3764         #320097.
3765
3766 2005-11-19  Wim Taymans  <wim@fluendo.com>
3767
3768         * docs/design/part-TODO.txt:
3769         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
3770         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
3771         (gst_bin_handle_message_func):
3772         * gst/gstbin.h:
3773         Make message handling overridable.
3774
3775 2005-11-19  Andy Wingo  <wingo@pobox.com>
3776
3777         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
3778
3779         * gst/gstclock.h:
3780         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
3781         be a GstClockTime.
3782         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
3783         is a GstClockTime. Fixes #321710.
3784
3785         * gst/gstclock.h (GstClock): Remove offset property. Add
3786         internal_calibration and external_calibration. Fix padding. Pad
3787         also by GstClockTime so we don't run into problems.
3788
3789         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
3790         (gst_clock_get_rate_offset): Remove.
3791         (gst_clock_set_time_adjust): Remove. Fixes #321712.
3792
3793         * gst/gstutils.h:
3794         * gst/gstutils.c (g_static_rec_cond_wait)
3795         (g_static_rec_cond_timed_wait): Removed, no longer needed.
3796
3797         * gst/gstbin.c: Remove terrible continue_state prototype.
3798
3799         * gst/gstelement.h (gst_element_continue_state): Make public.
3800
3801         * gst/gstelement.h:
3802         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
3803         by continue_state. Fixes #319389.
3804
3805         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
3806         Really fixes #168438. However I don't see anywhere where the
3807         filter function is called... stupid GStreamer...
3808         
3809         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
3810         don't have a dispose function, so it won't get called when the
3811         object is unreffed, but oh well!
3812
3813         * gst/gstindex.c (gst_index_set_filter_full): New API function,
3814         allows a destroy function to be set so user_data can be freed.
3815         Fixes #168438.
3816         (gst_index_set_filter): Call gst_index_set_filter_full.
3817
3818         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
3819
3820         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
3821         string should produce an error, given the lack of a way to
3822         represent NULL strings. Fixes #165650.
3823         
3824         * gst/gstvalue.h: 
3825         * gst/gstvalue.c (gst_value_array_append_value) 
3826         (gst_value_array_prepend_value, gst_value_array_get_size) 
3827         (gst_value_array_get_value): New API, copied from
3828         gst_value_list_*, only operates on arrays.
3829         (gst_value_list_append_value, gst_value_list_prepend_value) 
3830         (gst_value_list_concat, gst_value_list_get_size) 
3831         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
3832
3833         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
3834         init_list, because it works on both.
3835         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
3836         (gst_value_copy_list_or_array): Renamed from copy_list.
3837         (gst_value_free_list_or_array): Renamed from free_list.
3838         (gst_value_collect_list_or_array): Renamed from collect_list.
3839         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
3840         (gst_value_list_or_array_peek_pointer): Renamed from
3841         list_peek_pointer.
3842         (_gst_value_array_value_table, _gst_value_list_value_table):
3843         Update value table functions.
3844         (gst_value_compare_list_or_array): Renamed from compare_list.
3845
3846         * gsttaglist.h: Whoops, foreach function returns void. Also fix
3847         some constness.
3848
3849         * gst/gsttaglist.c:
3850         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
3851         GstTagList*. Fixes #143472.
3852
3853         * gst/gststructure.h: Clarify what the foreach/map functions can
3854         or can't do to their arguments.
3855
3856 2005-11-18  Wim Taymans  <wim@fluendo.com>
3857
3858         * gst/gstclock.c: (gst_clock_set_calibration),
3859         (gst_clock_get_calibration):
3860         Doc and API fixes.
3861         Calibration can be set with internal time equal to current
3862         internal time too.
3863
3864 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3865
3866         * gst/gsterror.c:
3867         * gst/gsterror.h:
3868           document
3869
3870 2005-11-18  Andy Wingo  <wingo@pobox.com>
3871
3872         * configure.ac: 
3873         * pkgconfig/gstreamer-net.pc.in:
3874         * pkgconfig/gstreamer-net-uninstalled.pc.in:
3875         * pkgconfig/Makefile.am: Add net pkgconfig files.
3876
3877 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
3878
3879         * gst/gstcaps.c:
3880         * gst/gstghostpad.c:
3881         * gst/gsttrace.c:
3882         * gst/gstvalue.c:
3883         * gst/gstvalue.h:
3884           docs fixes
3885
3886 2005-11-18  Andy Wingo  <wingo@pobox.com>
3887
3888         * gst/net/gstnetclientclock.c: Turn off debugging.
3889
3890         * check/net/gstnetclientclock.c (test_functioning): Assert that the
3891         times connverge somewhat. Can't make a real test.
3892
3893         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
3894         integer arithmetic. Return the minimum of the domain, which can be
3895         set as "internal" for gst_clock_set_calibration.
3896         (gst_net_client_clock_observe_times): Call _set_calibration.
3897         (gst_net_client_clock_new): Call _set_calibration instead of
3898         rate_offset.
3899
3900         * check/net/gstnetclientclock.c (test_functioning): Use the right
3901         adjustment api.
3902
3903         * gst/gstclock.h:
3904         * gst/gstclock.c (gst_clock_get_calibration) 
3905         (gst_clock_set_calibration): New functions, obsolete the ones I
3906         added yesterday. Doh. Precision issues mean we have to extrapolate
3907         from a point in the more recent past than 1970.
3908         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
3909         obsolete.
3910         (gst_clock_adjust_unlocked): Use the right calibration data.
3911
3912 2005-11-18  Edward Hervey  <edward@fluendo.com>
3913
3914         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
3915         Also reset the ->current_* values in READY->PAUSED
3916
3917 2005-11-18  Andy Wingo  <wingo@pobox.com>
3918
3919         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
3920         Whoops, check the right fd. Also add some debugging.
3921         (gst_net_client_clock_observe_times): Adjust for int64 offset.
3922         (do_linear_regression): Add a crapload of debugging. Subtract off
3923         the minimum values from the input series to discard unneeded bits.
3924         Use only int arithmetic. There is still double arithmetic when
3925         calculating the intercept that needs fixing. Return boolean to
3926         indicate success; FALSE would mean the domain or range is too
3927         great. Still needs fixes.
3928
3929 2005-11-18  Wim Taymans  <wim@fluendo.com>
3930
3931         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3932         For the current position in stream time, we need to subtract
3933         accumulated time.
3934         
3935         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
3936         Release lock before calling the callback function of async
3937         entries.
3938
3939 2005-11-18  Andy Wingo  <wingo@pobox.com>
3940
3941         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
3942         Port goes all the way to MAXUINT16.
3943
3944         * gst/net/gstnettimeprovider.c: Make the port range the same as
3945         for the kernel: 0 assigns, otherwise ports are less than
3946         MAXUINT16.
3947
3948         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
3949         port change.
3950
3951         * check/net/gstnetclientclock.c (test_functioning): Add the start
3952         of another test. 
3953
3954 2005-11-18  Wim Taymans  <wim@fluendo.com>
3955
3956         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3957         (gst_bin_remove_func), (bin_bus_handler):
3958         * gst/gstbin.h:
3959         Removing a clock provider from a bin, triggers a clock lost message
3960         so that a new clock will be selected.
3961         Adding a clock to a bin triggers a clock provider message.
3962         Make sure we reselect a clock when we received a clock lost message.
3963         Keep a reference to the element that provided the clock.
3964
3965 2005-11-18  Andy Wingo  <wingo@pobox.com>
3966
3967         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
3968         the clock initially so it produces values around the base time.
3969         (gst_net_client_clock_class_init): Typo fix.
3970         (gst_net_client_clock_thread): Add note on when the socket gets
3971         closed.
3972
3973 2005-11-17  Wim Taymans  <wim@fluendo.com>
3974
3975         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
3976         Free remote and local time arrays.
3977
3978 2005-11-17  Wim Taymans  <wim@fluendo.com>
3979
3980         * gst/net/gstnetclientclock.c: (do_linear_regression),
3981         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
3982         Fix compilation, uninitialized vars and a forgotten continue.
3983
3984 2005-11-17  Andy Wingo  <wingo@pobox.com>
3985
3986         * check/Makefile.am (check_PROGRAMS): 
3987         * check/net/gstnetclientclock.c: Add a most minimal test for the
3988         net client clock. More to come later.
3989
3990         * gst/net/gstnet.h: 
3991         * gst/net/Makefile.am: Add netclientclock.
3992
3993         * gst/net/gstnetclientclock.h:
3994         * gst/net/gstnetclientclock.c: New files, implement an untested
3995         GstClock that takes its time from a network time provider.
3996         Implements the algorithm in network-clock.scm.
3997
3998         * tests/network-clock.scm (*window-size*): Rename from
3999         *queue-length*.
4000         * tests/network-clock.scm (network-time): 
4001         * tests/network-clock-utils.scm (q-push): Update callers.
4002
4003 2005-11-17  Wim Taymans  <wim@fluendo.com>
4004
4005         * gst/gstbin.c: (gst_bin_provide_clock_func),
4006         (gst_bin_sort_iterator_new):
4007         And unref the child too..
4008
4009 2005-11-17  Wim Taymans  <wim@fluendo.com>
4010
4011         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
4012         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
4013         Refactor the sort iterator so it can be used while holding the
4014         LOCK too.
4015         Make clock selection select a clock closest to the source.
4016
4017 2005-11-17  Michael Smith <msmith@fluendo.com>
4018
4019         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
4020         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
4021         * gst/gstclock.h:
4022           Anonymous structs are a gcc (and some other compilers) extension, so
4023           don't use them. Since this is only for ABI-compatibility, and our
4024           API/ABI freeze is over in a few days, this whole thing will only
4025           last a few days, so don't bother trying to think up a meaningful
4026           name for the struct.
4027
4028 2005-11-17  Andy Wingo  <wingo@pobox.com>
4029
4030         * gst/gstclock.h (GstClock): Add rate and offset properties,
4031         preserving ABI stability. Add rate/offset accessors. Will file bug
4032         for the freeze break.
4033
4034         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
4035         and offset, trying to keep precision and avoiding
4036         underflow/overflow.
4037         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
4038         functions. Make gst_clock_set_time_adjust obsolete.
4039         (gst_clock_set_time_adjust): Note that this function is obsolete.
4040         Will file bug soon.
4041
4042         * gst/base/gstbasetransform.h: Make the ABI-stability hack
4043         greppable by using GST_PADDING-1+1.
4044
4045 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
4046
4047         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4048
4049         * gst/gstmessage.c: (gst_message_parse_clock_lost):
4050           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
4051
4052         * gst/gstpadtemplate.h:
4053         * gst/gstpluginfeature.h:
4054           Don't use c++ style comments in headers (#321638).
4055
4056 2005-11-16  Andy Wingo  <wingo@pobox.com>
4057
4058         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
4059         buffer.
4060
4061         * check/net/gstnettimeprovider.c: Check to see that the time
4062         provider actually provides times. Works, yo!
4063
4064 2005-11-16  Wim Taymans  <wim@fluendo.com>
4065
4066         * check/Makefile.am:
4067         Enable more tests.
4068
4069         * check/elements/fakesrc.c: (GST_START_TEST):
4070         Set element to NULL before disposing it.
4071
4072 2005-11-16  Andy Wingo  <wingo@pobox.com>
4073
4074         * gst/net/Makefile.am:
4075         * gst/net/gstnet.h:
4076         * gst/net/gstnettimeprovider.c: 
4077         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
4078         provider, include it from gstnet.h, and add it to the build.
4079
4080         * gst/net/gstnettimepacket.h: 
4081         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
4082         sending and receiving.
4083
4084 2005-11-16  Wim Taymans  <wim@fluendo.com>
4085
4086         * check/Makefile.am:
4087         Enable valgrind check.
4088
4089         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
4090         (gst_fake_src_alloc_buffer):
4091         Fix memleak.
4092
4093 2005-11-16  Wim Taymans  <wim@fluendo.com>
4094
4095         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
4096         Call parent finalize too.
4097
4098 2005-11-16  Wim Taymans  <wim@fluendo.com>
4099
4100         * check/Makefile.am:
4101         Enable valgrind check that should work fine now.
4102
4103         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
4104         * gst/gstqueue.c: (gst_queue_init):
4105         Fix memleaks in pad allocation.
4106
4107 2005-11-16  Andy Wingo  <wingo@pobox.com>
4108
4109         * gst/net/Makefile.am:
4110         * gst/net/gstnet.h: New part of core to hold network elements and
4111         objects. Put in core because it exposes API that applications want
4112         to use. The library is named libgstnet-tempname right now because
4113         of the existing libgstnet in gst-plugins-base. Solution is
4114         probably to rename the one in plugins-base; will file a bug for
4115         the freeze break.
4116
4117         * gst/net/gstnettimeprovider.c: 
4118         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
4119         get_time call over the network.
4120
4121         * configure.ac: 
4122         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
4123
4124         * check/Makefile.am:
4125         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
4126         get additions shortly.
4127
4128 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4129
4130         * gst/gstpad.c: (gst_pad_new_from_static_template):
4131         * gst/gstpad.h:
4132           add gst_pad_new_from_static_template functions
4133         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
4134         (gst_check_setup_sink_pad):
4135         * gst/elements/gsttee.c: (gst_tee_init):
4136           and use them
4137
4138 2005-11-16  Wim Taymans  <wim@fluendo.com>
4139
4140         * gst/gstpad.c: (gst_pad_pause_task):
4141         Removed warning, it's not really an error either.
4142
4143 2005-11-16  Wim Taymans  <wim@fluendo.com>
4144
4145         * gst/base/gstbasetransform.c:
4146         (gst_base_transform_prepare_output_buf),
4147         (gst_base_transform_event):
4148         Check if the caps are NULL, this can happen if the element
4149         is shutting down and the pad caps are set to NULL.
4150
4151 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4152
4153         * gst/elements/gsttee.c: (gst_tee_init):
4154           fix pad template leak in tee
4155
4156 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4157
4158         * gst/glib-compat.c: (g_value_dup_gst_object):
4159         * gst/glib-compat.h:
4160         * gst/gstpad.c: (gst_pad_set_property):
4161           use gst_object_ref when setting the pad template; this will
4162           trigger the pad template leaks on GLib 2.6 and the slaves
4163
4164 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4165
4166         * gst/glib-compat.c: (gst_flags_get_first_value):
4167         * gst/glib-compat.h:
4168         * gst/gstregistryxml.c:
4169           remove functions copied from GLib 2.6
4170
4171 2005-11-16  Michael Smith <msmith@fluendo.com>
4172
4173         * gst/Makefile.am:
4174           Don't link against VALGRIND_LIBS. That was always the wrong thing to
4175           do, but only breaks with newer valgrind versions. We're not a
4176           valgrind tool, we have no link-time dependencies on libcoregrind.
4177
4178 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4179
4180         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
4181           some debug changes
4182         * gst/gstmessage.h:
4183           typo fixes
4184
4185 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4186
4187         * gst/base/gstbasesrc.c: (gst_base_src_init):
4188         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
4189         * gst/gstqueue.c: (gst_queue_init):
4190         * gst/gstregistryxml.c: (load_feature):
4191           Revert all these unrefs, they don't even pass make check !
4192
4193 2005-11-15  Johan Dahlin  <johan@gnome.org>
4194
4195         * gst/base/gstbasesrc.c: (gst_base_src_init):
4196         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
4197         * gst/gstqueue.c: (gst_queue_init): 
4198         Free pad templates, fixes a couple of leaks.
4199
4200 2005-11-15  Daniel Fischer  <dan at f3c dot com>
4201
4202         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4203
4204         * gst/gstpad.c: (gst_pad_get_property):
4205           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
4206           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
4207           (#321452)
4208
4209 2005-11-15  Wim Taymans  <wim@fluendo.com>
4210
4211         * gst/gstevent.c:
4212         Small doc update.
4213
4214 2005-11-15  Andy Wingo  <wingo@pobox.com>
4215
4216         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
4217
4218         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
4219         using GST_CLOCK_TIME_NONE to disable base time management.
4220         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
4221         time if it was NONE before.
4222         (gst_pipeline_change_state): Only munge the base time if
4223         stream_time != GST_CLOCK_TIME_NONE.
4224
4225         * check/gst/gstpipeline.c (test_base_time): Punt around the
4226         problem of the probe not being called, because that's not the
4227         issue I'm looking at. Add a check that setting stream_time to NONE
4228         disables base time management.
4229         
4230 2005-11-15  Wim Taymans  <wim@fluendo.com>
4231
4232         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4233         segment_stop == -1 at startup.
4234
4235         * gst/base/gstbasetransform.c: (gst_base_transform_event),
4236         (gst_base_transform_change_state):
4237         Init segment values at start.
4238
4239 2005-11-15  Wim Taymans  <wim@fluendo.com>
4240
4241         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4242         0 segment values are 0 in any format.
4243
4244         * gst/base/gstbasetransform.c: (gst_base_transform_event):
4245         * gst/base/gstbasetransform.h:
4246         Parse newsegment correctly in basetransform
4247
4248         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
4249         Sync to clock using updated segment values.
4250
4251 2005-11-15  Andy Wingo  <wingo@pobox.com>
4252
4253         * check/gst/gstpipeline.c (test_base_time): Add check that the
4254         base time and stream time are reset correctly.
4255
4256 2005-11-15  Wim Taymans  <wim@fluendo.com>
4257
4258         * docs/design/part-TODO.txt:
4259         Some more TODO items.
4260
4261 2005-11-15  Andy Wingo  <wingo@pobox.com>
4262
4263         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
4264         error if the user selected "no clock" as the clocking method.
4265
4266         * check/gst/gstpipeline.c (test_base_time): New test for buffer
4267         timestamps with live capture.
4268
4269         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
4270         is 0 but we are a live source, timestamp the buffers using the
4271         element's clock.
4272
4273 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
4274
4275         * docs/gst/gstreamer-sections.txt:
4276         * gst/gsterror.c:
4277         * gst/gstghostpad.c:
4278         * gst/gstobject.h:
4279         * gst/gstxml.c:
4280           more section docs
4281
4282 2005-11-14  Wim Taymans  <wim@fluendo.com>
4283
4284         * common/gst.supp:
4285           add suppressions from Wim's Debian machine
4286
4287 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
4288
4289         * common/gst.supp:
4290           add suppressions from Andy's AMD64 Ubuntu machine
4291
4292 2005-11-14  Andy Wingo  <wingo@pobox.com>
4293
4294         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
4295         STATE_LOCK not necessary. Fixes #311489.
4296
4297         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
4298         #305291.
4299
4300         * gst/gstindex.c (gst_index_add_object): Note in the docs that
4301         this function is not implemented.
4302
4303 2005-11-14  Julien MOUTTE  <julien@moutte.net>
4304
4305         * gst/base/gstbasetransform.c:
4306         (gst_base_transform_prepare_output_buf):
4307         Ref the source pad caps while we need them.
4308         Fixes (#321386)
4309
4310 2005-11-11  Wim Taymans  <wim@fluendo.com>
4311
4312         * docs/gst/gstreamer-sections.txt:
4313         Added some docs for GstCollectData.
4314
4315         * gst/base/gstadapter.c:
4316         Some small code example fix.
4317
4318         * gst/base/gstcollectpads.c:
4319         * gst/base/gstcollectpads.h:
4320         Document some more.
4321
4322 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4323
4324         * configure.ac: back to HEAD
4325
4326 === release 0.9.5 ===
4327
4328 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
4329
4330         * configure.ac:
4331           releasing 0.9.5, "Bike Lunch Day"
4332
4333 2005-11-11  Wim Taymans  <wim@fluendo.com>
4334
4335         * gst/gstbuffer.c: (_gst_buffer_copy):
4336         Copy more flags.
4337
4338         * gst/gstcaps.c: (gst_caps_is_equal):
4339         Fix some docs.
4340         Make _is_equal fast in the trivial cases.
4341
4342         * gst/gstminiobject.c:
4343         * gst/gstminiobject.h:
4344         More docs. Spifify .h file.
4345
4346         * gst/gstutils.c:
4347         Small doc update.
4348
4349 2005-11-11  Wim Taymans  <wim@fluendo.com>
4350
4351         * gst/base/gstbasetransform.c:
4352         (gst_base_transform_prepare_output_buf),
4353         (gst_base_transform_handle_buffer):
4354         Small cleanups.
4355         If we're processing a buffer and need to allocate an output
4356         buffer, we cannot accept a format change. If we did get a 
4357         format change, we have to alloc a buffer ourselves of the 
4358         right size.
4359
4360 2005-11-11  Wim Taymans  <wim@fluendo.com>
4361
4362         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
4363         While checking the flag for reentrancy in the gstcaps function
4364         is nice to detect recursive invocations, it also makes it 
4365         impossible to call getcaps from multiple threads, which must be
4366         possible. So, checking for recursive calls has to go.
4367
4368 2005-11-11  Michael Smith <msmith@fluendo.com>
4369
4370         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4371           Don't sync on buffers that fall partially outside our current
4372           segment. Prevents an assertion failure/abort playing some files.
4373
4374 2005-11-10  Andy Wingo  <wingo@pobox.com>
4375
4376         * check/gst/gstbin.c (test_message_state_changed_children): Style
4377         fix..
4378
4379         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
4380         gst_bus_poll with the signal watch. Ensures that poll and a signal
4381         watch see the same messages.
4382
4383         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
4384         a poll and a watch at the same time get the same messages.
4385
4386 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4387
4388         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
4389         * gst/gstcaps.c: (gst_caps_intersect):
4390           Don't call gst_caps_do_simplify - it doesn't respect order of caps
4391           and it's not needed.
4392
4393 2005-11-10  Wim Taymans  <wim@fluendo.com>
4394
4395         * docs/design/part-TODO.txt:
4396         Updated todo.
4397
4398 2005-11-10  Wim Taymans  <wim@fluendo.com>
4399
4400         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4401         * gst/base/gstbasesrc.c: (gst_base_src_wait),
4402         (gst_base_src_do_sync), (gst_base_src_get_range):
4403         Implement clock sync in base class.
4404
4405 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4406
4407         patch by: Tim-Philipp Müller <tim at centricular dot net>
4408
4409         * gst/gststructure.c: (gst_structure_parse_field),
4410         (gst_structure_from_string):
4411           Forward-port a 0.8 patch to handle escaped spaces in structure string,
4412           so that gst_parse_launch() can deal with spaces in filtered link
4413           caps (fixes #164479)
4414         * check/gst/capslist.h:
4415         * check/gst/gststructure.c: (GST_START_TEST):
4416           add unit tests for this change
4417
4418 2005-11-10  Wim Taymans  <wim@fluendo.com>
4419
4420         * docs/gst/gstreamer-sections.txt:
4421         * gst/gstelement.c:
4422         * gst/gstelement.h:
4423         Fix docs, move some STATE macros to private.
4424
4425 2005-11-10  Wim Taymans  <wim@fluendo.com>
4426
4427         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
4428         Added check for bug #317341
4429
4430         * gst/gstbuffer.c:
4431         * gst/gstbuffer.h:
4432         Some more spiffifying.
4433
4434         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
4435         Call peer linkfunction if we are a source pad. Totally fixes
4436         #317341
4437
4438         * gst/gstpad.c:
4439         Update docs, source pads should call the peer linkfunction
4440         so they can atomically perform the pad link.
4441
4442 2005-11-09  Wim Taymans  <wim@fluendo.com>
4443
4444         * gst/gstbuffer.c:
4445         * gst/gstbuffer.h:
4446         Uber-spiffy-spiffify some more.
4447
4448 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
4449
4450         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
4451         * gst/elements/gstfilesink.c: (gst_file_sink_init):
4452         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
4453         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
4454         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
4455         * gst/gstpad.c: (gst_pad_init):
4456           Use GST_DEBUG_FUNCPTR() more extensively.
4457
4458 2005-11-09  Wim Taymans  <wim@fluendo.com>
4459
4460         * gst/gstobject.c: (gst_object_class_init):
4461         * gst/gstobject.h:
4462         Documentation fixes.
4463
4464 2005-11-09  Edward Hervey  <edward@fluendo.com>
4465
4466         * gst/gsttypefindfactory.c:
4467         Fix docs.
4468         
4469 2005-11-09  Edward Hervey  <edward@fluendo.com>
4470
4471         * gst/base/gsttypefindhelper.c:
4472         * gst/gsttypefind.c:
4473         * gst/gsttypefind.h:
4474         Fix docs.
4475
4476 2005-11-09  Wim Taymans  <wim@fluendo.com>
4477
4478         * gst/gstiterator.c:
4479         Fix revision data.
4480
4481         * gst/gsttask.c:
4482         * gst/gsttask.h:
4483         Fix docs.
4484
4485 2005-11-09  Wim Taymans  <wim@fluendo.com>
4486
4487         * gst/gstevent.h:
4488         * gst/gsturi.h:
4489         Fix docs.
4490
4491 2005-11-09  Wim Taymans  <wim@fluendo.com>
4492
4493         * docs/gst/gstreamer-sections.txt:
4494         Moved the message async delivery private lock and cond
4495         to the private section.
4496
4497         * gst/gstmessage.c:
4498         * gst/gstmessage.h:
4499         Fixed docs.
4500
4501 2005-11-09  Edward Hervey  <edward@fluendo.com>
4502
4503         * docs/gst/gstreamer-sections.txt:
4504         * gst/gsturi.c:
4505         * gst/gsturi.h:
4506         Document GstURIHandler
4507
4508 2005-11-09  Wim Taymans  <wim@fluendo.com>
4509
4510         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
4511         (gst_iterator_find_custom):
4512         * gst/gstiterator.h:
4513         Fix iterator docs.
4514
4515 2005-11-09  Wim Taymans  <wim@fluendo.com>
4516
4517         * gst/gstbin.h:
4518         Document another field.
4519
4520         * gst/gststructure.c:
4521         * gst/gststructure.h:
4522         Document.
4523
4524 2005-11-09  Wim Taymans  <wim@fluendo.com>
4525
4526         * gst/gstbin.h:
4527         Documented structs.
4528
4529 2005-11-09  Wim Taymans  <wim@fluendo.com>
4530
4531         * docs/gst/gstreamer-sections.txt:
4532         Added some new macros.
4533
4534         * gst/gstclock.c:
4535         * gst/gstclock.h:
4536         * gst/gstobject.h:
4537         Docs updates.
4538
4539 2005-11-09  Wim Taymans  <wim@fluendo.com>
4540
4541         * docs/design/part-TODO.txt:
4542         Some more items for the TODO
4543
4544         * gst/gstcaps.c:
4545         * gst/gstcaps.h:
4546         Document GstCaps.
4547
4548 2005-11-09  Andy Wingo  <wingo@pobox.com>
4549
4550         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
4551         to work on something else now tho...
4552
4553         * gst/base/gstadapter.c: More adapter docs.
4554
4555         * gst/elements/gstfilesink.c (gst_file_sink_start) 
4556         (gst_file_sink_stop): New functions, replace the state change
4557         handler.
4558         (gst_file_sink_class_init): Hook up the start and stop functions.
4559         (gst_file_sink_base_init): Don't set the state change handler any
4560         more. It was a bit ugly too, being set from here...
4561         (gst_file_sink_get_property, gst_file_sink_set_property):
4562         Cleanups...
4563         (gst_file_sink_set_location): More robust check that doesn't call
4564         GST_STATE. Ugggggg.
4565
4566 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
4567
4568         * gst/base/gstbasetransform.c: (gst_base_transform_event):
4569           Hold STREAM_LOCK while pushing newsegment or tag events as well.
4570
4571 2005-11-08  Wim Taymans  <wim@fluendo.com>
4572
4573         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4574         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
4575         (gst_base_sink_chain), (gst_base_sink_change_state):
4576         * gst/base/gstbasesink.h:
4577         * gst/base/gstbasesrc.h:
4578         * gst/gstelement.h:
4579         * gst/gstevent.h:
4580         Avoid excessive typechecking in macros.
4581
4582         * gst/gstminiobject.c: (gst_mini_object_get_type),
4583         (gst_mini_object_init), (gst_mini_object_new),
4584         (gst_mini_object_free):
4585         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
4586         (gst_object_finalize):
4587         Remove cruft code, optimize alloc_trace.
4588
4589 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4590
4591         * docs/faq/gst-uninstalled:
4592           fix up PS1 for systems that try to reset it
4593
4594 2005-11-07  Wim Taymans  <wim@fluendo.com>
4595
4596         * gst/base/gstbasesrc.c: (gst_base_src_init),
4597         (gst_base_src_get_range):
4598         Set the segment_end to -1 initially. Fixed typefind.
4599
4600 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
4601
4602         * gst/base/gstadapter.c:
4603           Debug category should be 'adapter', not 'GstAdapter'.
4604           
4605         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
4606         (gst_collectpads_class_init), (gst_collectpads_init),
4607         (gst_collectpads_peek), (gst_collectpads_pop),
4608         (gst_collectpads_event), (gst_collectpads_chain):
4609           Add debug category and some debugging output. Use boilerplate
4610           macros. Remove some extraneous words from docs.
4611
4612 2005-11-05  Andy Wingo  <wingo@pobox.com>
4613
4614         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
4615         macro.
4616
4617 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
4618
4619         * docs/gst/gstreamer-sections.txt:
4620         * gst/gstcaps.h:
4621         * gst/gstinfo.c:
4622         * gst/gstminiobject.h:
4623         * gst/gstobject.h:
4624         * gst/gstutils.h:
4625           more docs added
4626
4627 2005-11-04  Wim Taymans  <wim@fluendo.com>
4628
4629         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4630         Small update to stop at the configured segment_end
4631         position.
4632
4633 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
4634
4635         * gst/gstregistry.c:
4636         * gst/gstregistry.h:
4637           added missing docs
4638
4639 2005-11-04  Edward Hervey  <edward@fluendo.com>
4640
4641         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4642         Check if we are doing a segment seek and have arrived at the
4643         end of that segment.
4644
4645 2005-11-04  Wim Taymans  <wim@fluendo.com>
4646
4647         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
4648         Don't leak a mutex unlock in case of an error.
4649
4650         * gst/gstbus.h:
4651         Doc fixes.
4652
4653 2005-11-04  Wim Taymans  <wim@fluendo.com>
4654
4655         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
4656         (gst_bus_post):
4657         Get the context to wake up only once.
4658
4659 2005-11-03  Wim Taymans  <wim@fluendo.com>
4660
4661         * check/states/sinks.c: (GST_START_TEST):
4662         Uncomment fixed check.
4663
4664         * docs/design/part-TODO.txt:
4665         Updated TODO.
4666
4667         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4668         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
4669         (gst_base_sink_get_position):
4670         If we are going to PLAYING, post the right pending state
4671         when we post the intermediate paused message.
4672
4673         * gst/gstelement.c: (gst_element_continue_state),
4674         (gst_element_set_state_func), (gst_element_change_state):
4675         Don't post state changes that were between the same state
4676         and were not ASYNC.
4677
4678 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
4679
4680         * docs/gst/gstreamer-sections.txt:
4681         * gst/gstcaps.h:
4682         * gst/gstinfo.c:
4683         * gst/gstminiobject.h:
4684         * gst/gstobject.h:
4685         * gst/gstutils.h:
4686           more docs and doc style fixes
4687
4688 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
4689
4690         * docs/gst/gstreamer-sections.txt:
4691         * gst/gstelement.c:
4692         * gst/gstminiobject.c:
4693         doc fixes
4694
4695 2005-11-03  Andy Wingo  <wingo@pobox.com>
4696
4697         * check/states/sinks.c (test_livesrc_sink): Add checks that the
4698         state-changed messages actually have the right order and the right
4699         values.
4700
4701 2005-11-03  Wim Taymans  <wim@fluendo.com>
4702
4703         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4704         Added some more checks. Specifically the case where NO_PREROLL
4705         elements are in the pipeline.
4706
4707         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4708         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
4709         (gst_base_sink_get_position):
4710         Post READY->PAUSED state change messages too.
4711         Fix bug where VOID was posted as pending state...
4712
4713         * gst/gstbin.c: (gst_bin_recalc_state):
4714         use _element_continue_state() to continue the state change.
4715
4716         * gst/gstelement.c: (gst_element_continue_state),
4717         (gst_element_commit_state), (gst_element_set_state_func),
4718         (gst_element_change_state), (gst_element_change_state_func):
4719         Lots of state change cleanups, assign the STATE_RETURN in
4720         a new continue_state() function that also propagates the
4721         last return value from a state change to the app.
4722         Update some debug statements with proper category.
4723
4724 2005-11-03  Wim Taymans  <wim@fluendo.com>
4725
4726         * docs/design/part-events.txt:
4727         * docs/design/part-gstpipeline.txt:
4728         * docs/design/part-messages.txt:
4729         * docs/design/part-overview.txt:
4730         * docs/design/part-seeking.txt:
4731         * docs/design/part-states.txt:
4732         * docs/design/part-trickmodes.txt:
4733         * docs/manual/advanced-position.xml:
4734         Small docs updates.
4735
4736         * gst/gstobject.h:
4737         People think !! is ugly, this looks better.
4738
4739         * gst/gstpad.c: (gst_pad_set_blocked_async):
4740         Remove !! since it's fixed elsewhere now.
4741
4742 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
4743
4744         * gst/gstminiobject.h:
4745         * gst/gstobject.h:
4746           Add !! to _FLAG_IS_SET macros to make the result boolean.
4747
4748 2005-11-03  Edward Hervey  <edward@fluendo.com>
4749
4750         * gst/gstpad.c: (gst_pad_set_blocked_async):
4751         comparing a flag and a gboolean rarely returns coherent results...
4752         Added two characters (!!) to make that work correctly.
4753         
4754 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
4755
4756         * gst/gstbus.c: (gst_bus_class_init):
4757           Fix some typos.
4758           
4759         * gst/gstqueue.c: (gst_queue_loop):
4760           Don't assume a miniobject that isn't a buffer is an
4761           event (it could be that there is a refcounting
4762           problem somewhere and the pointer is stale and
4763           refers to an already destroyed miniobject).
4764
4765 2005-11-03  Julien MOUTTE  <julien@moutte.net>
4766
4767         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
4768
4769 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
4770
4771         * docs/manual/advanced-position.xml:
4772           Update seek example and explanations to current 0.9 API.
4773
4774         * gst/elements/gsttypefindelement.c:
4775         (gst_type_find_element_activate):
4776           Remove FIXME comment now that the found caps
4777           are unreffed.
4778
4779 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4780
4781         * gst/gstregistryxml.c: (load_feature):
4782           Add another GST_STR_NULL instance
4783
4784 2005-11-02  Edward Hervey  <edward@fluendo.com>
4785
4786         * gst/gstpad.c: (handle_pad_block):
4787         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
4788         
4789 2005-11-02  Wim Taymans  <wim@fluendo.com>
4790
4791         * gst/gstbin.c:
4792         Fix typo in docs.
4793
4794         * gst/gstelement.c: (gst_element_commit_state):
4795         Remove unused value.
4796
4797         * gst/gstiterator.c:
4798         Mention that the returned element is reffed in the docs.
4799
4800 2005-11-02  Wim Taymans  <wim@fluendo.com>
4801
4802         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
4803         (gst_pad_push), (gst_pad_push_event):
4804         Unlock blocked pads when they are flushed.
4805
4806 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4807
4808         * docs/README:
4809         * docs/gst/gstreamer-sections.txt:
4810         * gst/gstbin.c:
4811           doc updates
4812         * gst/gstregistry.c: (gst_registry_scan_path_level):
4813           fix for a nasty little missed situation where an installed plug-in
4814           which was in the cache did not get overridden by an uninstalled one
4815           which was earlier in the plugin path because the newly created plugin
4816           for the uninstalled one (not in the registry) didn't get its
4817           ->registered set to TRUE
4818
4819 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4820
4821         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
4822         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
4823         (gst_collectpads_is_active), (gst_collectpads_collect),
4824         (gst_collectpads_collect_range), (gst_collectpads_start),
4825         (gst_collectpads_stop), (gst_collectpads_peek),
4826         (gst_collectpads_pop), (gst_collectpads_available),
4827         (gst_collectpads_read), (gst_collectpads_flush):
4828           Guard public API with assertions.
4829         
4830         * gst/gstpad.c:
4831           Fix docs for gst_pad_set_link_function().
4832
4833 2005-11-02  Johan Dahlin  <johan@gnome.org>
4834
4835         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
4836         Unref found_caps after we used it.
4837
4838 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4839
4840         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
4841           Don't try to ref NULL.
4842
4843 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4844
4845         * win32/common/config.h.in:
4846           provide a GST_FUNCTION that just gives a string for now
4847
4848 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4849
4850         * win32/common/gstenumtypes.c: (register_gst_object_flags),
4851         (gst_object_flags_get_type), (register_gst_bin_flags),
4852         (gst_bin_flags_get_type), (register_gst_buffer_flag),
4853         (gst_buffer_flag_get_type), (register_gst_bus_flags),
4854         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
4855         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
4856         (gst_clock_return_get_type), (register_gst_clock_entry_type),
4857         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
4858         (gst_clock_flags_get_type), (register_gst_state),
4859         (gst_state_get_type), (register_gst_state_change_return),
4860         (gst_state_change_return_get_type), (register_gst_state_change),
4861         (gst_state_change_get_type), (register_gst_element_flags),
4862         (gst_element_flags_get_type), (register_gst_core_error),
4863         (gst_core_error_get_type), (register_gst_library_error),
4864         (gst_library_error_get_type), (register_gst_resource_error),
4865         (gst_resource_error_get_type), (register_gst_stream_error),
4866         (gst_stream_error_get_type), (register_gst_event_type),
4867         (gst_event_type_get_type), (register_gst_seek_type),
4868         (gst_seek_type_get_type), (register_gst_seek_flags),
4869         (gst_seek_flags_get_type), (register_gst_format),
4870         (gst_format_get_type), (register_gst_index_certainty),
4871         (gst_index_certainty_get_type), (register_gst_index_entry_type),
4872         (gst_index_entry_type_get_type),
4873         (register_gst_index_lookup_method),
4874         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
4875         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
4876         (gst_index_resolver_method_get_type), (register_gst_index_flags),
4877         (gst_index_flags_get_type), (register_gst_debug_level),
4878         (gst_debug_level_get_type), (register_gst_debug_color_flags),
4879         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
4880         (gst_iterator_result_get_type), (register_gst_iterator_item),
4881         (gst_iterator_item_get_type), (register_gst_message_type),
4882         (gst_message_type_get_type), (register_gst_mini_object_flags),
4883         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
4884         (gst_pad_link_return_get_type), (register_gst_flow_return),
4885         (gst_flow_return_get_type), (register_gst_activate_mode),
4886         (gst_activate_mode_get_type), (register_gst_pad_direction),
4887         (gst_pad_direction_get_type), (register_gst_pad_flags),
4888         (gst_pad_flags_get_type), (register_gst_pad_presence),
4889         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
4890         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
4891         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
4892         (gst_plugin_error_get_type), (register_gst_plugin_flags),
4893         (gst_plugin_flags_get_type), (register_gst_rank),
4894         (gst_rank_get_type), (register_gst_query_type),
4895         (gst_query_type_get_type), (register_gst_tag_merge_mode),
4896         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
4897         (gst_tag_flag_get_type), (register_gst_task_state),
4898         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
4899         (gst_alloc_trace_flags_get_type),
4900         (register_gst_type_find_probability),
4901         (gst_type_find_probability_get_type), (register_gst_uri_type),
4902         (gst_uri_type_get_type), (register_gst_parse_error),
4903         (gst_parse_error_get_type):
4904         * win32/common/gstversion.h:
4905           update win32 copies
4906
4907 2005-11-01  Luca Ognibene  <luogni@tin.it>
4908
4909         * gst/gst.c:
4910           fix docs. popt is dead, long live GOption.
4911
4912 2005-10-31  Wim Taymans  <wim@fluendo.com>
4913
4914         * gst/gstbuffer.h:
4915         Small doc fix.
4916
4917 2005-10-31  Andy Wingo  <wingo@pobox.com>
4918
4919         * Boo!
4920
4921         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
4922
4923         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
4924         need to serialize property notifications on GLib 2.8. GLib 2.6 has
4925         the possibility of deadlocks here if code calling notify() or
4926         set() has a lock that can be taken in another notify handler (ABBA
4927         with class lock and e.g. python GIL state lock).
4928
4929 2005-10-28  Julien MOUTTE  <julien@moutte.net>
4930
4931         * gst/gstbus.c: Doc updates.
4932
4933 2005-10-28  Wim Taymans  <wim@fluendo.com>
4934
4935         * docs/design/part-TODO.txt:
4936         * gst/gstiterator.c:
4937         * gst/gstsystemclock.c:
4938         * gst/gstsystemclock.h:
4939         Doc updates.
4940
4941 2005-10-28  Edward Hervey  <edward@fluendo.com>
4942
4943         * docs/gst/gstreamer-docs.sgml:
4944         * docs/gst/gstreamer-sections.txt:
4945         the GstURIType documentation page is private, it only defines GstURIType
4946         which should be defined in the GstURIHandler page
4947         
4948 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4949
4950         * gst/gstbin.c: (gst_bin_class_init):
4951         * gst/gstbin.h:
4952         * gst/gstutils.c:
4953         Documentation updates.
4954
4955 2005-10-28  Wim Taymans  <wim@fluendo.com>
4956
4957         * docs/gst/gstreamer-sections.txt:
4958         * gst/gstclock.c:
4959         * gst/gstclock.h:
4960         Documented the clocks.
4961
4962 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
4963
4964         * docs/gst/gstreamer-sections.txt:
4965           move some macros to private sections
4966         * gst/gstminiobject.c:
4967         * gst/gstminiobject.h:
4968           add descriptions provided by ds and some more
4969         * gst/gstpad.h:
4970           mark macro as to be removed
4971
4972 2005-10-28  Wim Taymans  <wim@fluendo.com>
4973
4974         * docs/design/part-TODO.txt:
4975         Add an item to TODO.
4976
4977         * gst/gstiterator.c: (gst_iterator_fold),
4978         (gst_iterator_find_custom):
4979         * gst/gstiterator.h:
4980         Add iterator docs.
4981
4982 2005-10-28  Wim Taymans  <wim@fluendo.com>
4983
4984         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4985         (gst_base_transform_init):
4986         Don't leak class.
4987
4988         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
4989         An EOS event marks the queue as completely filled.
4990
4991 2005-10-27  Wim Taymans  <wim@fluendo.com>
4992
4993         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4994         (gst_base_sink_do_sync), (gst_base_sink_get_position):
4995         Some more debugging.
4996
4997         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
4998         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
4999         (gst_base_transform_event), (gst_base_transform_getrange),
5000         (gst_base_transform_chain):
5001         * gst/base/gstbasetransform.h:
5002         Fix debugging,
5003         Protect transform and concurrent buffer alloc with a new lock.
5004         Try not to break ABI/API.
5005
5006 2005-10-27  Wim Taymans  <wim@fluendo.com>
5007
5008         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5009         (gst_base_src_init), (gst_base_src_query),
5010         (gst_base_src_default_newsegment),
5011         (gst_base_src_configure_segment), (gst_base_src_do_seek),
5012         (gst_base_src_send_event), (gst_base_src_event_handler),
5013         (gst_base_src_pad_get_range), (gst_base_src_loop),
5014         (gst_base_src_unlock), (gst_base_src_default_negotiate),
5015         (gst_base_src_start), (gst_base_src_deactivate),
5016         (gst_base_src_activate_push), (gst_base_src_change_state):
5017         Move some stuff around and cleanup things.
5018
5019 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
5020
5021         * gst/base/gstbasesrc.c: (gst_base_src_query):
5022           Add missing break statements.
5023
5024 2005-10-27  Wim Taymans  <wim@fluendo.com>
5025
5026         * check/gst/gstbin.c: (GST_START_TEST):
5027         An extra refcount is taken in basesrc.
5028
5029         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
5030         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5031         (gst_base_src_loop):
5032         Small cleanups, check for flushing after being unlocked from the 
5033         LIVE_LOCK. take refcounts correctly (not yet everywhere).
5034         Don't send out EOS when going to READY.
5035
5036 2005-10-27  Wim Taymans  <wim@fluendo.com>
5037
5038         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5039         (gst_base_sink_get_position):
5040         Some more debug.
5041
5042         * gst/gstbin.c: (message_check), (bin_replace_message),
5043         (bin_remove_messages), (is_eos), (gst_bin_add_func),
5044         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
5045         (bin_query_duration_init), (bin_query_duration_fold),
5046         (bin_query_duration_done), (bin_query_generic_fold),
5047         (gst_bin_query):
5048         * tools/gst-launch.c: (main):
5049         Remove old option.
5050
5051 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
5052
5053         * examples/controller/audio-example.c: (main):
5054         * examples/queue/queue.c: (event_loop):
5055         * gst/base/gstbasetransform.h:
5056         * gst/gstelement.c: (gst_element_send_event):
5057         * gst/gstevent.h:
5058         * gst/gstpad.c: (gst_pad_send_event):
5059           fixing examples
5060           fixing docs typos
5061           changing log priority in error situations
5062
5063 2005-10-25  Wim Taymans  <wim@fluendo.com>
5064
5065         * gst/gstbin.c: (message_check), (bin_replace_message),
5066         (bin_remove_messages), (is_eos), (gst_bin_add_func),
5067         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
5068         (bin_query_duration_init), (bin_query_duration_fold),
5069         (bin_query_duration_done), (bin_query_generic_fold),
5070         (gst_bin_query):
5071         Some doc and debug updates.
5072         Cache previously requested query DURATION for speed. invalidate
5073         cached duration if element posts a DURATION message.
5074
5075 2005-10-25  Wim Taymans  <wim@fluendo.com>
5076
5077         * docs/design/part-TODO.txt:
5078         Update TODO.
5079
5080         * gst/gstbin.c: (message_check), (bin_replace_message),
5081         (bin_remove_messages), (is_eos), (gst_bin_add_func),
5082         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
5083         (bin_query_duration_init), (bin_query_duration_fold),
5084         (bin_query_duration_done), (bin_query_generic_fold),
5085         (gst_bin_query):
5086         Handle SEGMENT_START/DONE messages correctly.
5087         More evolved query algorithm that handles duration queries
5088         correctly.
5089
5090         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
5091         (gst_element_get_state_func), (gst_element_abort_state),
5092         (gst_element_commit_state), (gst_element_lost_state):
5093         Some more debugging.
5094
5095         * gst/gstmessage.h:
5096         Added doc.
5097
5098 2005-10-25  Wim Taymans  <wim@fluendo.com>
5099
5100         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
5101         Don't use invalid stream_time.
5102
5103         * gst/gstevent.c: (gst_event_new_newsegment):
5104         stream_time in newsegment cannot be undefined.
5105
5106 2005-10-24  Wim Taymans  <wim@fluendo.com>
5107
5108         * gst/gstbus.c:
5109         Doc fix.
5110
5111         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5112         (gst_queue_loop):
5113         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
5114
5115 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
5116
5117         * docs/libs/tmpl/gstdparam.sgml:
5118         * docs/libs/tmpl/gstdplinint.sgml:
5119         * docs/libs/tmpl/gstdpman.sgml:
5120         * docs/libs/tmpl/gstdpsmooth.sgml:
5121         * docs/libs/tmpl/gstunitconvert.sgml:
5122           these are obsolete
5123
5124 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5125
5126         * configure.ac:
5127           back to HEAD
5128
5129 === release 0.9.4 ===
5130
5131 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5132
5133         * configure.ac:
5134           releasing 0.9.4, "Tyrannosaurus Rex"
5135
5136 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
5137
5138         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
5139         (gst_file_sink_get_current_offset):
5140           Use fseeko() and ftello() if available. When falling back on
5141           lseek() to get the current offset, fflush() first to make sure
5142           everything is up-to-date and we get the right offset.
5143
5144 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5145
5146         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5147         * gst/base/gstbasesrc.c: (gst_base_src_loop):
5148         * gst/gsterror.c: (_gst_stream_errors_init):
5149         * gst/gsterror.h:
5150         * gst/gstqueue.c: (gst_queue_loop):
5151         * po/POTFILES.in:
5152           remove prematurely added error category and clean up the instances
5153
5154 2005-10-21  Wim Taymans  <wim@fluendo.com>
5155
5156         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5157         (gst_base_sink_get_position), (gst_base_sink_query),
5158         (gst_base_sink_change_state):
5159         Simply set the right flag when going to playing, that's all
5160         we need to do instead of calling a function inside the object
5161         lock (that could take the lock as well and deadlock)
5162
5163 2005-10-21  Wim Taymans  <wim@fluendo.com>
5164
5165         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
5166         (gst_base_src_loop):
5167         Don't warn, the peer element knows what to do best when
5168         the seek failed, it might try something else.
5169
5170 2005-10-21  Wim Taymans  <wim@fluendo.com>
5171
5172         * gst/base/gstbasesrc.c: (gst_base_src_init),
5173         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
5174         Fix seeking.
5175
5176 2005-10-21  Wim Taymans  <wim@fluendo.com>
5177
5178         * docs/design/part-segments.txt:
5179         More docs.
5180
5181         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5182         Correctly set caps, even on the subbufer.
5183
5184 2005-10-21  Wim Taymans  <wim@fluendo.com>
5185
5186         * docs/gst/gstreamer-docs.sgml:
5187         * docs/gst/gstreamer-sections.txt:
5188         * gst/gstelement.h:
5189         * gst/gstevent.c:
5190         * gst/gstevent.h:
5191         * gst/gstmessage.h:
5192         * gst/gstpad.h:
5193         * gst/gstparse.h:
5194         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
5195         * gst/gsttask.h:
5196         * gst/gstutils.c:
5197         * gst/gstutils.h:
5198         And 2% more doc coverage.
5199
5200 2005-10-21  Andy Wingo  <wingo@pobox.com>
5201
5202         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
5203         position reporting.
5204
5205 2005-10-20  Wim Taymans  <wim@fluendo.com>
5206
5207         * gst/gsterror.c: (gst_error_get_message):
5208         * gst/gstparse.h:
5209         * gst/gstquery.h:
5210         * gst/gststructure.c:
5211         * gst/gsttrace.c:
5212         * gst/gstutils.c:
5213         More docs.
5214
5215 2005-10-20  Wim Taymans  <wim@fluendo.com>
5216
5217         * gst/gstbuffer.h:
5218         * gst/gstpad.c:
5219         * gst/gstparse.c:
5220         Another 1% more coverage.
5221
5222 2005-10-20  Wim Taymans  <wim@fluendo.com>
5223
5224         * docs/gst/gstreamer-sections.txt:
5225         * gst/gstelement.c: (gst_element_get_state_func),
5226         (gst_element_abort_state), (gst_element_commit_state),
5227         (gst_element_lost_state):
5228         * gst/gstevent.h:
5229         * gst/gstquery.c: (gst_query_set_position),
5230         (gst_query_parse_position), (gst_query_set_duration),
5231         (gst_query_parse_duration), (gst_query_new_convert):
5232         * gst/gstutils.c:
5233         Yay! 1% more docs coverage.
5234
5235 2005-10-20  Wim Taymans  <wim@fluendo.com>
5236
5237         * gst/gstpad.h:
5238         * gst/gstquery.c: (gst_query_set_position),
5239         (gst_query_parse_position), (gst_query_set_duration),
5240         (gst_query_parse_duration), (gst_query_new_convert):
5241         * gst/gstquery.h:
5242         * gst/gstutils.c: (gst_element_query_convert):
5243         * gst/gstutils.h:
5244         Docs and consistency fixes.
5245
5246 2005-10-20  Wim Taymans  <wim@fluendo.com>
5247
5248         * gst/gsttask.c:
5249         * gst/gsttask.h:
5250         More docs.
5251
5252 2005-10-20  Wim Taymans  <wim@fluendo.com>
5253
5254         * gst/gstbin.c: (message_check), (bin_replace_message),
5255         (bin_remove_messages), (is_eos), (gst_bin_add_func),
5256         (update_degree), (gst_bin_sort_iterator_next),
5257         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
5258         Reworked the message handling a bit, cache the messages instead of
5259         only the senders. alows us to do more in the future.
5260
5261 2005-10-20  Wim Taymans  <wim@fluendo.com>
5262
5263         * docs/design/part-TODO.txt:
5264         Update TODO
5265
5266         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
5267         (gst_base_sink_query):
5268         Don't use clock time to report position when in EOS.
5269
5270 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
5271
5272         * tools/gst-inspect.c: (print_interfaces),
5273         (print_element_properties_info), (print_element_info):
5274           Fix interface output with gst-inspect -a; don't print
5275           newlines after double/float properties.
5276
5277 2005-10-20  Wim Taymans  <wim@fluendo.com>
5278
5279         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
5280         (gst_base_sink_query):
5281         Speed up current position calculation.
5282
5283         * gst/base/gstbasesrc.c: (gst_base_src_query),
5284         (gst_base_src_default_newsegment):
5285         Correctly set stream position in newsegment.
5286
5287         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
5288         (update_degree), (gst_bin_sort_iterator_next),
5289         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
5290         * gst/gstmessage.c: (gst_message_new_custom):
5291         Clean up debugging info
5292
5293         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
5294         (gst_queue_loop), (gst_queue_handle_src_query):
5295         Pause task faster.
5296
5297 2005-10-19  Wim Taymans  <wim@fluendo.com>
5298
5299         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5300         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
5301         Fix query handling again.
5302
5303 2005-10-19  Wim Taymans  <wim@fluendo.com>
5304
5305         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5306         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
5307         * gst/base/gstbasesrc.c: (gst_base_src_query):
5308         * gst/elements/gstfilesink.c: (gst_file_sink_query):
5309         * gst/elements/gsttypefindelement.c:
5310         (gst_type_find_handle_src_query), (find_element_get_length),
5311         (gst_type_find_element_activate):
5312         API change fix.
5313
5314         * gst/gstquery.c: (gst_query_new_position),
5315         (gst_query_set_position), (gst_query_parse_position),
5316         (gst_query_new_duration), (gst_query_set_duration),
5317         (gst_query_parse_duration), (gst_query_set_segment),
5318         (gst_query_parse_segment):
5319         * gst/gstquery.h:
5320         Bundling query position/duration is not a good idea since duration
5321         does not change much and we don't want to recalculate it for every
5322         position query, so they are separated again..
5323         Base value in segment query is not needed.
5324
5325         * gst/gstqueue.c: (gst_queue_handle_src_query):
5326         * gst/gstutils.c: (gst_element_query_position),
5327         (gst_element_query_duration), (gst_pad_query_position),
5328         (gst_pad_query_duration):
5329         * gst/gstutils.h:
5330         Updates for query API change.
5331         Added some docs here and there.
5332
5333 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5334
5335         * check/gst/gstbin.c: (GST_START_TEST):
5336         * check/gst/gstghostpad.c: (GST_START_TEST):
5337         * check/pipelines/cleanup.c: (GST_START_TEST):
5338           wait on thread to die so we can check refcount correctly
5339
5340 2005-10-18  Wim Taymans  <wim@fluendo.com>
5341
5342         * check/pipelines/stress.c: (GST_START_TEST):
5343         Make check a little more time consuming.
5344
5345 2005-10-18  Wim Taymans  <wim@fluendo.com>
5346
5347         * check/Makefile.am:
5348         * check/pipelines/stress.c: (GST_START_TEST),
5349         (simple_launch_lines_suite), (main):
5350         Small state change torture test.
5351
5352         * docs/design/part-states.txt:
5353         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5354         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
5355         (gst_base_sink_change_state):
5356         Never take state lock from streaming thread, clean up ugly
5357         hacks. Unfortunatly core does not yet support nice ways to
5358         async commit state.
5359         
5360         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
5361         (bin_bus_handler):
5362         Start state recalc if a STATE_DIRTY message is posted, but only
5363         on the toplevel bin.
5364
5365         * gst/gstelement.c: (gst_element_sync_state_with_parent),
5366         (gst_element_get_state_func), (gst_element_abort_state),
5367         (gst_element_commit_state), (gst_element_lost_state),
5368         (gst_element_set_state_func), (gst_element_change_state):
5369         * gst/gstelement.h:
5370         State variables are now protected with the LOCK, the state
5371         lock is only used to serialize _set_state().
5372
5373 2005-10-18  Wim Taymans  <wim@fluendo.com>
5374
5375         * check/gst/gstbin.c: (GST_START_TEST):
5376         * check/gst/gstmessage.c: (GST_START_TEST):
5377         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
5378         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
5379         (bin_bus_handler):
5380         * gst/gstelement.c: (gst_element_abort_state),
5381         (gst_element_commit_state), (gst_element_lost_state):
5382         * gst/gstmessage.c: (gst_message_new_state_changed),
5383         (gst_message_new_state_dirty), (gst_message_new_segment_start),
5384         (gst_message_new_segment_done), (gst_message_new_duration),
5385         (gst_message_parse_state_changed),
5386         (gst_message_parse_segment_start),
5387         (gst_message_parse_segment_done), (gst_message_parse_duration):
5388         * gst/gstmessage.h:
5389         * tools/gst-launch.c: (event_loop):
5390         Seriously, this is better than a previous commit as we only need
5391         to notify the fact that an element changed state in a streaming
5392         thread, marking the state of the parents dirty, hence the 
5393         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
5394         message.
5395
5396 2005-10-18  Wim Taymans  <wim@fluendo.com>
5397
5398         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
5399         (gst_bin_recalc_func):
5400         * gst/gstelement.c: (gst_element_set_clock),
5401         (gst_element_abort_state), (gst_element_lost_state):
5402         Cleanups, prepare for state change fixes.
5403
5404 2005-10-18  Wim Taymans  <wim@fluendo.com>
5405
5406         * gst/gstbin.h:
5407         * gst/gstelement.c: (gst_element_class_init),
5408         (gst_element_set_state), (gst_element_set_state_func):
5409         * gst/gstelement.h:
5410         Pending ABI changes.
5411         GThreadPool in GstBinClass to monitor async state changes.
5412         state_cookie in GstElement to detect concurrent gst/set state.
5413         set_state is now virtual too in case a very complicated element
5414         has to be constructed.
5415
5416 2005-10-18  Wim Taymans  <wim@fluendo.com>
5417
5418         * check/gst/gstbin.c: (GST_START_TEST):
5419         * check/gst/gstmessage.c: (GST_START_TEST):
5420         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
5421         * gst/gstbin.c: (bin_bus_handler):
5422         * gst/gstelement.c: (gst_element_commit_state),
5423         (gst_element_lost_state):
5424         * gst/gstmessage.c: (gst_message_new_state_changed),
5425         (gst_message_new_segment_start), (gst_message_new_segment_done),
5426         (gst_message_new_duration), (gst_message_parse_state_changed),
5427         (gst_message_parse_segment_start),
5428         (gst_message_parse_segment_done), (gst_message_parse_duration):
5429         * gst/gstmessage.h:
5430         * tools/gst-launch.c: (event_loop):
5431         Make messages future proof.
5432         state-change gets a flag if it was a message comming from the
5433         streaming thread.
5434         segment-start/stop can also be specified in other formats.
5435         A message to notify an app that a pipeline changed playback 
5436         duration.
5437         Also fix a GstMessage leak in -launch
5438
5439 2005-10-18  Andy Wingo  <wingo@pobox.com>
5440
5441         * gst/gstelement.c (gst_element_dispose): More helpful message.
5442
5443 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5444
5445         reviewed by: <delete if not using a buddy>
5446
5447         * common/gtk-doc.mak:
5448
5449 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5450
5451         * gst/gstregistry.c: (gst_registry_scan_path_level):
5452           unref a plug-in we get that was already initialized
5453
5454 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
5455
5456         * docs/gst/gstreamer-sections.txt:
5457         * docs/libs/gstreamer-libs-sections.txt:
5458         * gst/gstelement.h:
5459           add new api entries
5460           hide internal macro
5461
5462 2005-10-17  Andy Wingo  <wingo@pobox.com>
5463
5464         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
5465         cleanup.
5466
5467         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
5468
5469         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
5470
5471         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
5472         (gst_element_get_state_func): Better debug message.
5473         (gst_element_commit_state): s/INFO/DEBUG/.
5474         (gst_element_lost_state, gst_element_change_state): 
5475
5476         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
5477         (gst_message_new_custom): s/INFO/LOG/.
5478
5479 2005-10-17  Michael Smith <msmith@fluendo.com>
5480
5481         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
5482           Check if end time is valid using end time, not start time.
5483
5484 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
5485
5486         * check/gst-libs/controller.c: (GST_START_TEST),
5487         (gst_controller_suite):
5488         * libs/gst/controller/gstcontroller.c:
5489         (gst_controlled_property_set_interpolation_mode):
5490         * libs/gst/controller/gstcontroller.h:
5491         * libs/gst/controller/gstinterpolation.c:
5492         * testsuite/controller/.cvsignore:
5493         * testsuite/controller/Makefile.am:
5494         * testsuite/controller/interpolator.c:
5495           merge controller testsuites
5496           fix broken tests
5497           remove mem-chunk from docs
5498
5499 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5500
5501         * gst/gstmemchunk.c:
5502         * gst/gstmemchunk.h:
5503         * gst/gsttrashstack.c:
5504         * gst/gsttrashstack.h:
5505           out.  get out.  you're fired.  to the Attic !
5506
5507 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5508
5509         * gst/gstcaps.c: (gst_caps_intersect):
5510           fix signedness issues in a (hopefully) correct way
5511         * gst/gstelement.c: (gst_element_pads_activate):
5512           some debugging
5513         * gst/gstobject.c: (gst_object_set_parent):
5514           some debugging
5515
5516 2005-10-17  Julien MOUTTE  <julien@moutte.net>
5517
5518         * gst/gstvalue.h: Fix prototypes.
5519
5520 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5521
5522         * docs/gst/gstreamer-sections.txt:
5523         * gst/gst.c: (gst_version_string):
5524         * gst/gst.h:
5525         * gst/gstversion.h.in:
5526         * win32/common/libgstreamer.def:
5527           add gst_version_string ()
5528
5529 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5530
5531         * configure.ac:
5532           clean up further
5533         * gst/gst.c: (init_post):
5534         * win32/common/config.h.in:
5535           it's PLUGINDIR now
5536         * gst/gstcaps.c: (gst_caps_intersect):
5537           use gint64, the range could be bigger than a guint
5538
5539 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5540
5541         * gst/gstclock.h:
5542           document potential problem in 2038
5543
5544 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5545
5546         * gst/gstcaps.c: (gst_caps_intersect):
5547           Fix guint j diving under 0
5548
5549 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5550
5551         * configure.ac:
5552         * win32/common/config.h:
5553         * win32/common/config.h.in:
5554           check for process.h, declares getpid() on Windows
5555         * gst/gstinfo.c:
5556           include process.h if we have it
5557         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
5558         * gst/gstmemchunk.h:
5559           fix signedness issues
5560         * win32/common/libgstreamer.def:
5561           fix get_type's
5562
5563 2005-10-16  Julien MOUTTE  <julien@moutte.net>
5564
5565         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
5566         fix. Because of unsigned ints, caps intersection was going nuts and
5567         trying to access structures with G_MAXUINT index. That fixes
5568         videotestsrc ! ffmpegcolorspace ! fakesink
5569         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
5570         consistency.
5571
5572 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5573
5574         * configure.ac:
5575           use the gettext macro
5576         * gst/elements/gstelements.c:
5577         * gst/gst.c:
5578         * gst/indexers/gstindexers.c:
5579           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
5580         * win32/common/config.h:
5581           updated config.h
5582         * win32/common/config.h.in:
5583           add the template to generate config.h
5584         * win32/common/gstenumtypes.c:
5585         * win32/common/gstversion.h:
5586           updated copies
5587
5588 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5589
5590         * gst/gst.c: (gst_version):
5591         * gst/gstversion.h.in:
5592           add the nano
5593
5594 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
5595
5596         * gst/gstevent.h:
5597           Oops, add missing closing bracket.
5598
5599 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5600
5601         * configure.ac:
5602           use common m4's for argument checking
5603
5604 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
5605
5606         * docs/gst/gstreamer-sections.txt:
5607         * gst/gstevent.h:
5608           Add GST_EVENT_TYPE_NAME() macro.
5609
5610 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5611
5612         * gst/gstinfo.c:
5613         * gst/gstpluginfeature.c:
5614         * gst/gsttask.c:
5615           privatize more symbols
5616
5617 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5618
5619         * configure.ac:
5620           add srcdir, builddir includes to GST_ALL_CFLAGS, since
5621           everything that uses GStreamer API should have the includes
5622
5623 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5624
5625         * docs/gst/gstreamer-sections.txt:
5626         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
5627         * gst/gstvalue.h:
5628           give each value a _get_type, removes the DATA exports
5629
5630 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5631
5632         * gst/gst.c:
5633         * gst/gst.h:
5634           remove _gst_registry_auto_load, not used anymore
5635         * gst/gstbin.c: (gst_bin_get_type):
5636         * gst/gstbin.h:
5637         * gst/gstelement.c: (gst_element_get_type):
5638         * gst/gstelement.h:
5639         * gst/gstobject.c: (gst_object_get_type):
5640         * gst/gstobject.h:
5641         * gst/gstpad.c: (gst_pad_get_type):
5642         * gst/gstpad.h:
5643           make _get_type functions similar, fixes data export from library
5644
5645 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5646
5647         * configure.ac:
5648           correctly make conditionals
5649         * gst/elements/Makefile.am:
5650         * gst/elements/gstelements.c:
5651           fix typo causing fdsrc not to build
5652
5653 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5654
5655         * testsuite/Makefile.am:
5656         * testsuite/bytestream/.cvsignore:
5657         * testsuite/bytestream/Makefile.am:
5658         * testsuite/bytestream/filepadsink.c:
5659         * testsuite/bytestream/gstbstest.c:
5660         * testsuite/bytestream/test1.c:
5661         * testsuite/bytestream/testfile1:
5662         * testsuite/caps/normalisation.c:
5663         * testsuite/caps/random.c: (main):
5664         * testsuite/cleanup/.cvsignore:
5665         * testsuite/cleanup/Makefile.am:
5666         * testsuite/cleanup/cleanup1.c:
5667         * testsuite/cleanup/cleanup2.c:
5668         * testsuite/cleanup/cleanup3.c:
5669         * testsuite/cleanup/cleanup4.c:
5670         * testsuite/cleanup/cleanup5.c:
5671         * testsuite/controller/interpolator.c:
5672         * testsuite/debug/printf_extension.c: (main):
5673         * testsuite/elements/tee.c:
5674         * testsuite/negotiation/.cvsignore:
5675         * testsuite/negotiation/Makefile.am:
5676         * testsuite/negotiation/pad_link.c:
5677         * testsuite/pad/Makefile.am:
5678         * testsuite/pad/chainnopull.c:
5679         * testsuite/pad/getnopush.c:
5680         * testsuite/pad/link.c:
5681         * testsuite/refcounting/sched.c: (create_pipeline):
5682         * testsuite/registry/Makefile.am:
5683         * testsuite/registry/gst-print-formats.c:
5684         * testsuite/schedulers/.cvsignore:
5685         * testsuite/schedulers/142183-2.c:
5686         * testsuite/schedulers/142183.c:
5687         * testsuite/schedulers/143777-2.c:
5688         * testsuite/schedulers/143777.c:
5689         * testsuite/schedulers/147713.c:
5690         * testsuite/schedulers/147819.c:
5691         * testsuite/schedulers/147894-2.c:
5692         * testsuite/schedulers/147894.c:
5693         * testsuite/schedulers/Makefile.am:
5694         * testsuite/schedulers/group_link.c:
5695         * testsuite/schedulers/queue_link.c:
5696         * testsuite/schedulers/relink.c:
5697         * testsuite/schedulers/unlink.c:
5698         * testsuite/schedulers/unref.c:
5699         * testsuite/schedulers/useless_iteration.c:
5700         * testsuite/states/bin.c:
5701           clean out/remove some stuff from the testsuite directories
5702
5703 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5704
5705         * configure.ac:
5706           check for some headers
5707         * gst/elements/Makefile.am:
5708         * gst/elements/gstelements.c:
5709           don't compile fdsrc without sys/socket.h
5710         * gst/indexers/Makefile.am:
5711         * gst/indexers/gstindexers.c: (plugin_init):
5712           don't compile fileindex without mmap
5713
5714 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5715
5716         * configure.ac:
5717           reorganize
5718           clean up
5719           document more
5720           remove cruft
5721         * check/Makefile.am:
5722         * docs/gst/Makefile.am:
5723         * examples/helloworld/Makefile.am:
5724         * gst/Makefile.am:
5725         * gst/base/Makefile.am:
5726         * gst/check/Makefile.am:
5727         * gst/elements/Makefile.am:
5728         * gst/indexers/Makefile.am:
5729         * gst/parse/Makefile.am:
5730         * libs/gst/controller/Makefile.am:
5731         * libs/gst/dataprotocol/Makefile.am:
5732         * examples/helloworld/helloworld.c: (event_loop):
5733           compile fixes, though it's not being compiled currently
5734
5735 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
5736
5737         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
5738           Add some simple tests for the new taglist date API.
5739
5740 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
5741
5742         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
5743         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
5744           Beautify 'last-message' output: print 'none' for buffer timestamps
5745           and durations if none is set; improve alignment with next messages.
5746
5747 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
5748
5749         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
5750         * gst/gstpluginfeature.h:
5751         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
5752         * gst/gstregistry.h:
5753         * docs/gst/gstreamer-sections.txt:
5754           Add new API to check plugin feature version requirements.
5755
5756         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
5757           Some basic tests for the above.         
5758
5759 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5760
5761         * gst/gststructure.c: (gst_structure_to_string):
5762           guard against NULL printf - happens when for example
5763           a message structure with GstClock gets serialized
5764
5765 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
5766
5767         * gst/base/gstcollectpads.c: (gst_collectpads_event):
5768           Fix presumable copy'n'pasto.
5769
5770 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5771
5772         * gst/elements/gstfakesrc.h:
5773         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
5774         * gst/elements/gsttypefindelement.c:
5775           fix some signedness
5776         * gst/elements/gstfilesink.c: (gst_file_sink_render):
5777           I wonder if this could actually write +2GB files before
5778
5779 2005-10-13  Andy Wingo  <wingo@pobox.com>
5780
5781         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
5782         Fix Timmeke Waymans bug.
5783         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
5784         string of the proper length to gst_caps_from_string. There's a
5785         potential for, before this fix, that this could cause someone
5786         connecting over the network to cause a segfault if the payload is
5787         not NUL-terminated.
5788
5789 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
5790
5791         * docs/design/draft-push-pull.txt:
5792         * docs/design/part-overview.txt:
5793         * docs/random/TODO-pre-0.9:
5794         * docs/random/old/ChangeLog.gstreamer:
5795         * gst/base/gstpushsrc.c:
5796         * gst/gstclock.c:
5797           fixed typos
5798
5799 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5800
5801         * gst/glib-compat.c: (gst_flags_get_first_value):
5802         * gst/glib-compat.h:
5803         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
5804         (gst_value_compare_double), (gst_value_serialize_flags):
5805           GLib 2.6 g_flags_get_first_value has a bug that triggers an
5806           infinite loop
5807
5808 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5809
5810         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5811         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
5812           fix up debugging
5813         * tools/gst-launch.c: (event_loop):
5814           print out clock nicely
5815
5816 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
5817
5818         * docs/gst/gstreamer-sections.txt:
5819         * gst/gsttaglist.h:
5820         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
5821         (gst_tag_list_get_date_index):
5822           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
5823           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
5824
5825 2005-10-13  Julien MOUTTE  <julien@moutte.net>
5826
5827         * gst/base/gstcollectpads.c: (gst_collectpads_event),
5828         (gst_collectpads_chain):
5829         * gst/base/gstcollectpads.h: Handle newsegment and store informations
5830         in CollectData.
5831
5832 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
5833
5834         * docs/gst/gstreamer-sections.txt:
5835         * gst/gst.c:
5836         * gst/gsterror.h:
5837         * tools/gst-inspect.c: (main):
5838         * tools/gst-launch.c: (main):
5839         * tools/gst-run.c: (main):
5840         * tools/gst-xmlinspect.c: (main):
5841           fix GOption context leaks
5842           doc fixes
5843
5844 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5845
5846         * gst/gstbus.c:
5847           use HAVE_UNISTD_H
5848         * win32/common/config.h:
5849           update config
5850         * win32/vs6/grammar.dsp:
5851         * win32/vs6/libgstelements.dsp:
5852         * win32/vs6/libgstreamer.dsp:
5853           update vs6 files
5854
5855 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5856
5857         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5858         * gst/base/gstbasesrc.c: (gst_base_src_query):
5859           fix more guint64<->gdouble conversions
5860
5861 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5862
5863         * Makefile.am:
5864           add win32-update target
5865         * win32/common/gstconfig.h:
5866         * win32/common/gstenumtypes.c:
5867         * win32/common/gstenumtypes.h:
5868         * win32/common/gstversion.h:
5869           add files that visual studio can't generate
5870
5871 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5872
5873         * Makefile.am:
5874           add a win32-update target
5875         * configure.ac:
5876
5877 2005-10-12  Wim Taymans  <wim@fluendo.com>
5878
5879         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5880         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
5881         * gst/gstelement.c: (gst_element_commit_state),
5882         (gst_element_set_state):
5883         Protect flags with proper lock.
5884         unref provided cached clock in dispose.
5885
5886 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
5887
5888         * gst/gst.c:
5889         * gst/gstminiobject.h:
5890         * gst/gstpad.h:
5891         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
5892           removed unused flags from miniobject
5893           doc fixes
5894
5895 2005-10-12  Wim Taymans  <wim@fluendo.com>
5896
5897         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
5898         (gst_file_sink_event), (gst_file_sink_render):
5899         Flush before seeking.
5900
5901 2005-10-12  Andy Wingo  <wingo@pobox.com>
5902
5903         * gst/gst.c (gst_init_check): Ignore unknown options, as has
5904         always been the case.
5905
5906 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
5907
5908         * check/gst/gstbin.c: (GST_START_TEST):
5909         * docs/gst/gstreamer-sections.txt:
5910         * gst/base/gstbasesink.c: (gst_base_sink_init):
5911         * gst/base/gstbasesrc.c: (gst_base_src_init),
5912         (gst_base_src_get_range), (gst_base_src_check_get_range),
5913         (gst_base_src_start), (gst_base_src_stop):
5914         * gst/base/gstbasesrc.h:
5915         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
5916         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5917         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
5918         (bin_bus_handler):
5919         * gst/gstbin.h:
5920         * gst/gstbuffer.h:
5921         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
5922         * gst/gstbus.h:
5923         * gst/gstelement.c: (gst_element_is_locked_state),
5924         (gst_element_set_locked_state), (gst_element_commit_state),
5925         (gst_element_set_state):
5926         * gst/gstelement.h:
5927         * gst/gstindex.c: (gst_index_init):
5928         * gst/gstindex.h:
5929         * gst/gstminiobject.h:
5930         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
5931         (gst_object_set_parent):
5932         * gst/gstobject.h:
5933         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
5934         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
5935         * gst/gstpad.h:
5936         * gst/gstpadtemplate.h:
5937         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
5938         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
5939         * gst/gstpipeline.h:
5940         * gst/indexers/gstfileindex.c: (gst_file_index_load),
5941         (gst_file_index_commit):
5942         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
5943         * testsuite/pad/link.c: (gst_test_src_init),
5944         (gst_test_filter_init), (gst_test_sink_init):
5945         * testsuite/states/locked.c: (main):
5946           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
5947           moved bitshift from macro to enum definition
5948
5949 2005-10-12  Wim Taymans  <wim@fluendo.com>
5950
5951         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
5952         * gst/elements/gstfilesink.c: (gst_file_sink_event),
5953         (gst_file_sink_render):
5954         Some more debugging info.
5955
5956 2005-10-12  Wim Taymans  <wim@fluendo.com>
5957
5958         * docs/design/part-states.txt:
5959         * tools/gst-launch.c: (main):
5960         Some doc updates.
5961         Revert non-intentional change.
5962
5963 2005-10-12  Wim Taymans  <wim@fluendo.com>
5964
5965         * check/gst/gstbin.c: (GST_START_TEST):
5966         * check/gst/gstelement.c: (GST_START_TEST):
5967         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
5968         * check/gst/gstghostpad.c: (GST_START_TEST):
5969         * check/gst/gstpipeline.c: (GST_START_TEST):
5970         * check/pipelines/simple_launch_lines.c: (run_pipeline):
5971         * check/states/sinks.c: (GST_START_TEST):
5972         * gst/elements/gsttypefindelement.c: (stop_typefinding):
5973         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
5974         (gst_bin_remove_func), (gst_bin_get_state_func),
5975         (gst_bin_recalc_state), (gst_bin_change_state_func),
5976         (bin_bus_handler):
5977         * gst/gstelement.c: (gst_element_get_state_func),
5978         (gst_element_get_state), (gst_element_abort_state),
5979         (gst_element_commit_state), (gst_element_set_state),
5980         (gst_element_change_state), (gst_element_change_state_func):
5981         * gst/gstelement.h:
5982         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
5983         (gst_pipeline_provide_clock_func):
5984         * gst/gstutils.c: (gst_element_link_pads_filtered):
5985         * tools/gst-launch.c: (main):
5986         * tools/gst-typefind.c: (main):
5987         Use GstClockTime in _get_state() instead of GTimeVal.
5988         Remove old code in gstutils.c
5989
5990 2005-10-12  Andy Wingo  <wingo@pobox.com>
5991
5992         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
5993         removed.
5994
5995         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
5996         there is no task. Shouldn't affect any code, as nothing in our
5997         plugins checks this return value.
5998         (gst_pad_stop_task): Also take the stream lock if the pad has no
5999         task. Docs updated.
6000
6001 2005-10-12  Wim Taymans  <wim@fluendo.com>
6002
6003         * gst/gstpad.c: (pre_activate), (post_activate),
6004         (gst_pad_activate_pull), (gst_pad_activate_push):
6005         Cleanup activation code. Reset old state if
6006         activation failed.
6007
6008 2005-10-12  Wim Taymans  <wim@fluendo.com>
6009
6010         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6011         (gst_base_sink_change_state):
6012         No need to prerol after receiving EOS.
6013
6014         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
6015         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
6016         * gst/elements/gstidentity.c: (gst_identity_event):
6017         Print events more verbosely.
6018
6019 2005-10-12  Wim Taymans  <wim@fluendo.com>
6020
6021         * check/Makefile.am:
6022         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
6023         * check/states/sinks2.c:
6024         Moved sinks2 testcode in sinks check.
6025
6026         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
6027         (gst_bin_remove_func), (gst_bin_recalc_state),
6028         (gst_bin_change_state_func), (bin_bus_handler):
6029         Fix potential race condition when _get_state() iterated over an
6030         ASYNC element right before it posted a state completion.
6031
6032         * gst/gstclock.h:
6033         Do proper cast here.
6034
6035         * gst/gstevent.c: (gst_event_new_newsegment),
6036         (gst_event_parse_newsegment):
6037         A playback rate of 0.0 is not allowed.
6038
6039 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6040
6041         * win32/common/config.h:
6042         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
6043         (_trewinddir), (_ttelldir), (_tseekdir):
6044         * win32/common/dirent.h:
6045         * win32/common/gtchar.h:
6046         * win32/common/libgstbase.def:
6047         * win32/common/libgstreamer.def:
6048         * win32/vs6/grammar.dsp:
6049         * win32/vs6/gst_inspect.dsp:
6050         * win32/vs6/gst_launch.dsp:
6051         * win32/vs6/gstreamer.dsw:
6052         * win32/vs6/libgstbase.dsp:
6053         * win32/vs6/libgstelements.dsp:
6054         * win32/vs6/libgstreamer.dsp:
6055           Visual Studio 6 project files, and a new common directory.
6056           Phear.
6057
6058 2005-10-11  Wim Taymans  <wim@fluendo.com>
6059
6060         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6061         (gst_base_sink_do_sync), (gst_base_sink_query),
6062         (gst_base_sink_change_state):
6063         * gst/base/gstbasesink.h:
6064         Correctly parse newsegment info.
6065
6066 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6067
6068         * gst/gst.c: (init_post):
6069           split plugin paths correctly
6070
6071 2005-10-11  Wim Taymans  <wim@fluendo.com>
6072
6073         * check/gst/gstevent.c: (GST_START_TEST):
6074         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6075         (gst_base_sink_change_state):
6076         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
6077         * gst/base/gstbasetransform.c: (gst_base_transform_event):
6078         * gst/elements/gstfilesink.c: (gst_file_sink_event):
6079         * gst/gstevent.c: (gst_event_new_newsegment),
6080         (gst_event_parse_newsegment):
6081         * gst/gstevent.h:
6082         Added extra flag to newsegment for future API freeze.
6083         Updated check and base elements.
6084
6085 2005-10-11  Julien MOUTTE  <julien@moutte.net>
6086
6087         * gst/base/gstcollectpads.c: (gst_collectpads_init),
6088         (gst_collectpads_add_pad), (gst_collectpads_pop),
6089         (gst_collectpads_event), (gst_collectpads_chain):
6090         * gst/base/gstcollectpads.h: Handle EOS correctly.
6091
6092 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6093
6094         * tools/gst-launch.c: (main):
6095           more null protecting
6096
6097 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6098
6099         * gst/gst-i18n-lib.h:
6100           check for ENABLE_NLS, not GETTEXT_PACKAGE
6101         * gst/gstregistry.c: (gst_registry_add_plugin),
6102         (gst_registry_scan_path_level),
6103         (_gst_registry_remove_cache_plugins):
6104           protect possibly NULL strings
6105         * gst/parse/types.h:
6106           config.h already included before
6107         * tools/gst-inspect.c: (main):
6108           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
6109           check for ENABLE_NLS, not GETTEXT_PACKAGE
6110         * tools/gst-launch.c: (main):
6111           check for ENABLE_NLS, not GETTEXT_PACKAGE
6112
6113 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6114
6115         * configure.ac:
6116           if we don't have glib, fail before testing 2.8
6117         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
6118           fix a leak, should fix plugins-base testsuite
6119
6120 2005-10-11  Andy Wingo  <wingo@pobox.com>
6121
6122         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
6123         take the mode we're going to as an arg. Go head and set the mode
6124         and flushing flags now, so that if the activate function starts a
6125         thread all the flags will be in the right state.
6126         (post_activate): Renamed also. Just handle making sure streaming
6127         finishes for the deactivation case, and setting the deactivated
6128         mode.
6129         (gst_pad_set_active): Complain loudly if deactivation fails.
6130         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
6131         (gst_pad_activate_push): Adapt to pre/post_activate changes,
6132         remove the terrible hack.
6133
6134 2005-10-11  Wim Taymans  <wim@fluendo.com>
6135
6136         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
6137         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
6138         (gst_bin_recalc_state), (gst_bin_change_state_func),
6139         (gst_bin_dispose), (bin_bus_handler):
6140         * gst/gstbin.h:
6141         Prepare to make current EOS message queue more generic.
6142         Fix some typos.
6143
6144         * gst/gstevent.c: (gst_event_new_newsegment),
6145         (gst_event_parse_newsegment):
6146         * gst/gstevent.h:
6147         Rename base to stream_time.
6148
6149         * gst/gstmessage.h:
6150         Fix typo in docs.
6151
6152 2005-10-11  Wim Taymans  <wim@fluendo.com>
6153
6154         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
6155         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
6156         (gst_bin_change_state_func), (bin_bus_handler):
6157         * gst/gstbin.h:
6158         Work on proper clock selection.
6159
6160 2005-10-11  Edward Hervey  <edward@fluendo.com>
6161
6162         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
6163         * libs/gst/controller/gstcontroller.h:
6164         Added GList* version of _remove_properties() in order to be able to wrap
6165         it in bindings.
6166
6167 2005-10-11  Wim Taymans  <wim@fluendo.com>
6168
6169         * docs/design/part-states.txt:
6170         Some more docs.
6171
6172         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
6173         (gst_bin_change_state_func), (bin_bus_handler):
6174         Doc updates. Don't distribute the same clock over and over again.
6175
6176         * gst/gstclock.c:
6177         * gst/gstclock.h:
6178         Doc updates.
6179
6180         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
6181         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
6182         (gst_pad_send_event):
6183         * gst/gstpad.h:
6184         Make probe emission threadsafe again.
6185         Register quarks and move _get_name() from utils.
6186         Doc updates.
6187
6188         * gst/gstpipeline.c: (gst_pipeline_class_init),
6189         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
6190         Only redistribute the clock of it changed.
6191
6192         * gst/gstsystemclock.h:
6193         Doc updates. 
6194
6195         * gst/gstutils.c:
6196         * gst/gstutils.h:
6197         Moved the _flow_get_name() to GstPad.
6198
6199 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6200
6201         * check/gst-libs/gdp.c: (GST_START_TEST):
6202         * check/gst/gstcaps.c: (GST_START_TEST):
6203         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
6204         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
6205         (gst_dp_packet_from_caps):
6206           fix more valgrind warnings before turning up the heat
6207
6208 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6209
6210         * gst/parse/grammar.y:
6211           some cleanup before the hacking
6212
6213 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6214
6215         * gst/base/gstbasesrc.c: (gst_base_src_query):
6216           use conversions
6217         * gst/gstutils.c: (gst_guint64_to_gdouble),
6218         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
6219         * gst/gstutils.h:
6220           externalize, basesrc uses it
6221           obviously the implementation needs testing
6222
6223 2005-10-10  Wim Taymans  <wim@fluendo.com>
6224
6225         * tests/sched/Makefile.am:
6226         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
6227         (make_pipeline3), (make_pipeline4), (print_elem), (main):
6228
6229 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6230
6231         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
6232           apparently converting from guint64 to double is not implemented
6233           on MSVC
6234
6235 2005-10-10  Wim Taymans  <wim@fluendo.com>
6236
6237         * check/Makefile.am:
6238         * check/generic/states.c: (GST_START_TEST):
6239         * check/gst/gstbin.c: (GST_START_TEST):
6240         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6241         * check/states/sinks.c: (GST_START_TEST):
6242         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
6243         (main):
6244         Check fixes, use API as stated in design docs, remove hacks.
6245
6246         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6247         (gst_base_sink_change_state):
6248         Catch stopping our task while we're shutting down.
6249
6250         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
6251         (gst_bin_remove_func), (gst_bin_get_state_func),
6252         (gst_bin_recalc_state), (gst_bin_change_state_func),
6253         (bin_bus_handler):
6254         * gst/gstbin.h:
6255         * gst/gstelement.c: (gst_element_init),
6256         (gst_element_get_state_func), (gst_element_abort_state),
6257         (gst_element_commit_state), (gst_element_lost_state),
6258         (gst_element_set_state), (gst_element_change_state),
6259         (gst_element_change_state_func):
6260         * gst/gstelement.h:
6261         New state change algorithm (see #318116)
6262
6263         * gst/gstpipeline.c: (gst_pipeline_class_init),
6264         (gst_pipeline_init), (gst_pipeline_set_property),
6265         (gst_pipeline_get_property), (do_pipeline_seek),
6266         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
6267         * gst/gstpipeline.h:
6268         Remove crude state change hacks.
6269
6270         * gst/gstutils.h:
6271         Remove crude hacks.
6272
6273         * tools/gst-launch.c: (main):
6274         Fixes for state change. Needs some more work to fully use the
6275         new stuff.
6276
6277 2005-10-10  Andy Wingo  <wingo@pobox.com>
6278
6279         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
6280
6281         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
6282         this flag, but it's not even in GLib 2.6. Odd. Hack around the
6283         issue.
6284
6285 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6286
6287         * gst/gstiterator.c: (gst_iterator_new):
6288           Fix my previous commit: GTypes passed to gst_iterator_new()
6289           can be fundamental types.
6290
6291 2005-10-10  Wim Taymans  <wim@fluendo.com>
6292
6293         * gst/gstelement.c: (gst_element_iterate_pad_list),
6294         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
6295         (gst_element_iterate_sink_pads):
6296         Use src/sink pads lists for the respective iterators instead
6297         of filtering.
6298
6299 2005-10-10  Andy Wingo  <wingo@pobox.com>
6300
6301         Merged in popt removal + GOption addition patch from Ronald, bug
6302         #169772.
6303
6304         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
6305         GstElement macros around, remove popt-related symbols, add goption
6306         stuff.
6307
6308         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
6309         
6310         * docs/gst/Makefile.am:
6311         * docs/libs/Makefile.am: No POPT_CFLAGS.
6312         
6313         * examples/manual/Makefile.am:
6314         * docs/manual/basics-init.xml: Doc updates with an example.
6315         
6316         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
6317         (gst_init), (parse_one_option), (parse_goption_arg):
6318         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
6319         bit of hand merging and debugging to get the GOption stuff working
6320         tho.
6321         
6322         * tests/Makefile.am:
6323         * tools/Makefile.am:
6324         * tools/gst-inspect.c: (main):
6325         * tools/gst-launch.c: (main):
6326         * tools/gst-run.c: (main):
6327         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
6328
6329 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6330
6331         * gst/gstiterator.c: (gst_iterator_new):
6332           Add assertions to make sure passed GType is likely to really
6333           be a GType (as the compiler won't catch it if the size and
6334           GType arguments get mixed up, see #318447).
6335
6336 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
6337
6338         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6339
6340         * gst/gstbin.c: (gst_bin_iterate_sorted):
6341           Pass GType and size arguments to gst_iterator_new() in the right
6342           order (maybe we should make _new() take the GType as first argument
6343           just like _new_list()?) (#318447).
6344           
6345
6346 2005-10-10  Wim Taymans  <wim@fluendo.com>
6347
6348         * gst/gstelement.c: (gst_element_finalize):
6349         And free the GStaticRecMutex too
6350
6351 2005-10-10  Andy Wingo  <wingo@pobox.com>
6352
6353         * gst/gstelement.c (gst_element_init, gst_element_finalize):
6354         Allocate and free the mutex properly.
6355
6356         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
6357         New macros.
6358         (GstElement): The state_lock is now recursive. Rebuild your
6359         plugins, suckers. Old macros adapted.
6360
6361         * docs/gst/gstreamer-sections.txt: Doc updates.
6362
6363         * gst/gstutils.h:
6364         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
6365         (g_static_rec_cond_wait): Ported from state changes patch, while
6366         we wait on bug #317802 to be solved in a well-distributed GLib.
6367
6368         * gst/gstelement.c (gst_element_change_state_func): Renamed from
6369         gst_element_change_state, variable name changes.
6370         (gst_element_change_state): Split out of gst_element_set_state in
6371         preparation for the state change merge. Doesn't pay attention to
6372         the 'transition' argument.
6373         (gst_element_set_state): Updates, hopefully purely cosmetic.
6374         (gst_element_sync_state_with_parent): MT-safety. Ported from the
6375         state change patch.
6376         (gst_element_get_state_func): Renamed from get_state, cosmetic
6377         changes.
6378
6379 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6380
6381         * gst/elements/gstelements.c:
6382         * win32/GStreamer.vcproj:
6383         * win32/config.h:
6384         * win32/dirent.c: (_tseekdir):
6385         * win32/gst-inspect.vcproj:
6386         * win32/gst-launch.vcproj:
6387         * win32/gstconfig.h:
6388         * win32/gstelements.vcproj:
6389         * win32/gstenumtypes.c: (gst_object_flags_get_type):
6390         * win32/gstreamer.def:
6391         * win32/msvc71.sln:
6392           updates for the win32 build (patch from Sebastien Moutte)
6393
6394 2005-10-10  Andy Wingo  <wingo@pobox.com>
6395
6396         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
6397         gst_bin_get_state, cleaned up (but no logic changes).
6398         (bin_element_is_sink): Comment updates.
6399         (sink_iterator_filter): Remove needless cast.
6400         (gst_bin_iterate_sinks): Doc update.
6401         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
6402         cleaned up (but no logic changes).
6403
6404         * check/states/sinks.c (test_src_sink): Cleanups from the state
6405         change patch.
6406         (test_livesrc_sink): Sync on the state.
6407
6408         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
6409         the state change patch.
6410
6411         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
6412         change patch.
6413
6414         * check/gst/gstbin.c: Merge in some style fixes and additional
6415         checks from Wim's state change patch.
6416
6417 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6418
6419         * gst/base/gsttypefindhelper.c: (helper_find_peek),
6420         (gst_type_find_helper):
6421           Check whether we have the requested data already in our list of
6422           cached buffers before pulling a new buffer; also make the buffer
6423           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
6424
6425 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6426
6427         * gst/gstcaps.c:
6428         * gst/gstevent.c:
6429           doc updates
6430         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
6431           don't use long long, it's not portable.  Replacing with
6432           gint64 seems to work; let's hope no skeletons fall out of the closet.
6433
6434 2005-10-10  Andy Wingo  <wingo@pobox.com>
6435
6436         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
6437
6438 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
6439
6440         * docs/gst/gstreamer-sections.txt:
6441         * gst/gstevent.c:
6442         * gst/gstevent.h:
6443         * gst/gstinfo.c:
6444         * gst/gstinfo.h:
6445         * gst/gstmessage.c: (gst_message_parse_state_changed):
6446         * gst/gstpad.c:
6447         * gst/gstpad.h:
6448           more docs, fix compilation
6449
6450 2005-10-09  Philippe Khalaf <burger@speedy.org>
6451         * gst/gstmessage.c:
6452           Fixed a few forgotten variables on previous commit
6453
6454 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6455
6456         * gst/base/gsttypefindhelper.c: (helper_find_peek):
6457           Fix evil typefind crasher: getrange() might return a short
6458           buffer at the end of a file, but gst_type_find_peek() must
6459           either return the full data as requested or NULL, but
6460           never a short buffer.
6461
6462 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6463
6464         * gst/gstmessage.c: (gst_message_new_state_changed),
6465         (gst_message_parse_state_changed):
6466         * gst/gstmessage.h:
6467           don't use "new", it's a C++ keyword
6468
6469 2005-10-08  Wim Taymans  <wim@fluendo.com>
6470
6471         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
6472         * gst/gstelement.c: (gst_element_post_message):
6473         * gst/gstpipeline.c: (gst_pipeline_change_state):
6474         Small docs and debug updates.
6475
6476 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
6477
6478         * docs/gst/gstreamer-sections.txt:
6479         * gst/gstelementfactory.c:
6480         * gst/gstevent.c:
6481         * gst/gsttaglist.c:
6482           more docs
6483
6484 2005-10-08  Wim Taymans  <wim@fluendo.com>
6485
6486         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
6487         (gst_bin_dispose), (bin_bus_handler):
6488         Fix typos, add comments.
6489         Clear EOS list when going to PAUSED from any direction and do it
6490         in a threadsafe way.
6491         Get base time in a threadsafe way too.
6492         Fix confusing debug in the change_state function.
6493         Various other small cleanups.
6494         
6495         * gst/gstelement.c: (gst_element_post_message):
6496         Fix very verbose bus posting code.
6497
6498         * gst/gstpipeline.c: (gst_pipeline_class_init),
6499         (gst_pipeline_set_property), (gst_pipeline_get_property),
6500         (gst_pipeline_change_state):
6501         Small ARG_ -> PROP_ cleanup
6502
6503 2005-10-08  Wim Taymans  <wim@fluendo.com>
6504
6505         * gst/gstbin.c: (is_eos), (bin_bus_handler):
6506         Do a less CPU demanding EOS check because we can.
6507
6508 2005-10-08  Wim Taymans  <wim@fluendo.com>
6509
6510         * libs/gst/dataprotocol/dataprotocol.c:
6511         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
6512         (gst_dp_packet_from_event):
6513         * libs/gst/dataprotocol/dataprotocol.h:
6514         * libs/gst/dataprotocol/dp-private.h:
6515         It's about time we bump the version number.
6516         Since event types don't fit in the guint8 anymore describing
6517         the payload type, make payload type 16 bits wide.
6518
6519 2005-10-08  Wim Taymans  <wim@fluendo.com>
6520
6521         * docs/design/part-TODO.txt:
6522         * docs/design/part-clocks.txt:
6523         * docs/design/part-events.txt:
6524         * docs/design/part-gstbin.txt:
6525         * docs/design/part-gstelement.txt:
6526         * docs/design/part-gstpipeline.txt:
6527         * docs/design/part-live-source.txt:
6528         * docs/design/part-messages.txt:
6529         * docs/design/part-overview.txt:
6530         * docs/design/part-states.txt:
6531         Many doc updates.
6532
6533 2005-10-08  Wim Taymans  <wim@fluendo.com>
6534
6535         * gst/gstevent.c:
6536         * gst/gstevent.h:
6537         Fix event quark registration.
6538         Add some space between events so we can insert them in the
6539         right groups.
6540
6541 2005-10-08  Wim Taymans  <wim@fluendo.com>
6542
6543         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6544         (gst_base_sink_handle_buffer):
6545         Better log message.
6546
6547         * gst/gstbus.h:
6548         * gst/gstelement.h:
6549         More docs.
6550
6551         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
6552         (gst_queue_set_property), (gst_queue_get_property):
6553         * gst/gstqueue.h:
6554         Remove old unused properties.
6555
6556 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
6557         * docs/gst/gstreamer-sections.txt:
6558         * gst/gstmessage.c:
6559         * gst/gstmessage.h:
6560         * gst/gstminiobject.c:
6561         * gst/gstminiobject.h:
6562         * gst/gstobject.h:
6563         * gst/gstpad.h:
6564         * gst/gstutils.h:
6565           lots of new docs and doc fixes
6566
6567 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6568
6569         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
6570         * gst/gstplugin.h:
6571         * gst/gstregistry.c: (gst_registry_lookup_locked),
6572         (gst_registry_scan_path_level):
6573         * gst/gstregistryxml.c: (load_plugin):
6574           Only ever load one plugin for a given plugin basename.
6575           This ensures correct overriding of GST_PLUGIN_PATH over
6576           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
6577           system installed plugins.
6578
6579 2005-10-08  Wim Taymans  <wim@fluendo.com>
6580
6581         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6582         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
6583         Prepare for doing QOS.
6584
6585 2005-10-08  Wim Taymans  <wim@fluendo.com>
6586
6587         * check/gst/gstbin.c: (GST_START_TEST):
6588         * check/pipelines/cleanup.c: (GST_START_TEST):
6589         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6590         Allow new clock message too.
6591
6592 2005-10-08  Wim Taymans  <wim@fluendo.com>
6593
6594         * gst/gstmessage.c: (gst_message_new_error),
6595         (gst_message_new_warning), (gst_message_new_tag),
6596         (gst_message_new_state_changed), (gst_message_new_clock_provide),
6597         (gst_message_new_clock_lost), (gst_message_new_new_clock),
6598         (gst_message_new_segment_start), (gst_message_new_segment_done),
6599         (gst_message_parse_state_changed),
6600         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
6601         (gst_message_parse_new_clock):
6602         * gst/gstmessage.h:
6603         Also carry the clock in question.
6604
6605 2005-10-08  Wim Taymans  <wim@fluendo.com>
6606
6607         * gst/gstmessage.c: (gst_message_new_custom),
6608         (gst_message_new_eos), (gst_message_new_error),
6609         (gst_message_new_warning), (gst_message_new_tag),
6610         (gst_message_new_state_changed), (gst_message_new_clock_provide),
6611         (gst_message_new_new_clock), (gst_message_new_segment_start),
6612         (gst_message_new_segment_done), (gst_message_parse_state_changed),
6613         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
6614         * gst/gstmessage.h:
6615         Clean up.
6616         Added clock related messages.
6617
6618         * gst/gstpipeline.c: (gst_pipeline_change_state):
6619         Post message when the clock changed.
6620
6621         * tools/gst-launch.c: (event_loop):
6622         Print new clock.
6623
6624 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6625
6626         * tools/gst-inspect.c: (print_element_properties_info):
6627           Can't pass NULL strings to g_print() on windows.
6628
6629 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6630
6631         * docs/Makefile.am:
6632         * docs/gst/Makefile.am:
6633         * docs/gst/gstreamer-docs.sgml:
6634         * docs/gst/running.xml:
6635         * docs/version.entities.in:
6636           add a chapter on running GStreamer.
6637           document GST_DEBUG and GST_PLUGIN* env vars
6638
6639 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6640
6641         * Makefile.am:
6642           remove include dir
6643         * configure.ac:
6644           remove PLUGINS_BUILDDIR stuff
6645         * gst/gst.c: (init_post):
6646           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
6647         * idiottest.mak:
6648           remove, it was condescending and not needed
6649
6650 2005-10-08  Wim Taymans  <wim@fluendo.com>
6651
6652         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6653         (gst_base_sink_handle_object), (gst_base_sink_event),
6654         (gst_base_sink_wait), (gst_base_sink_handle_event),
6655         (gst_base_sink_change_state):
6656         * gst/base/gstbasesink.h:
6657         Repost EOS message while going to PLAYING if still EOS.
6658         Make sure that when receiving a FLUSH_START we don't attempt
6659         to sync on the clock anymore.
6660
6661 2005-10-08  Wim Taymans  <wim@fluendo.com>
6662
6663         * tools/gst-launch.c: (event_loop):
6664         Better message printout.
6665
6666 2005-10-08  Wim Taymans  <wim@fluendo.com>
6667
6668         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
6669         (gst_bin_child_proxy_get_children_count):
6670         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
6671         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
6672         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
6673         (gst_child_proxy_set_valist):
6674         * gst/parse/grammar.y:
6675         Make ChildProxy threadsafe and fix mem leaks.
6676
6677 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6678
6679         * gst/gst.c: (init_post):
6680           debug the GST_PLUGIN_ env vars
6681
6682 2005-10-08  Wim Taymans  <wim@fluendo.com>
6683
6684         * check/gst/gstbin.c: (GST_START_TEST):
6685         * check/gst/gstmessage.c: (GST_START_TEST):
6686         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
6687         * gst/gstelement.c: (gst_element_commit_state),
6688         (gst_element_lost_state):
6689         * gst/gstmessage.c: (gst_message_new_state_changed),
6690         (gst_message_parse_state_changed):
6691         * gst/gstmessage.h:
6692         * tools/gst-launch.c: (event_loop):
6693         Added extra field to STATE_CHANGE message with the pending
6694         state, which will be different from the new state soon.
6695
6696 2005-10-08  Wim Taymans  <wim@fluendo.com>
6697
6698         * gst/gstbus.c: (gst_bus_pop):
6699         * gst/gstclock.c:
6700         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
6701         Small cleanups and doc updates.
6702
6703 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6704
6705         * gst/gst.c: (init_pre):
6706         * gst/gstbin.c: (gst_bin_add_func):
6707           log distributing clocks and base time
6708         * gst/gstregistry.c: (gst_registry_add_plugin),
6709         (gst_registry_scan_path_level), (gst_registry_scan_path):
6710           clean up the debugging output a little
6711         * gst/gstutils.c: (gst_element_state_get_name):
6712           warn about a memleak (I've actually seen this be used, though
6713           it was probably a bug)
6714
6715 2005-10-07  Wim Taymans  <wim@fluendo.com>
6716
6717         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6718         (gst_base_src_init), (gst_base_src_default_newsegment),
6719         (gst_base_src_newsegment), (gst_base_src_do_seek),
6720         (gst_base_src_loop), (gst_base_src_start):
6721         * gst/base/gstbasesrc.h:
6722         Make the newsegment event customizable by subclasses.
6723
6724 2005-10-07  Wim Taymans  <wim@fluendo.com>
6725
6726         * gst/gstevent.c: (gst_event_new_buffersize),
6727         (gst_event_parse_buffersize):
6728         * gst/gstevent.h:
6729         New event for future idea.
6730
6731 2005-10-07  Andy Wingo  <wingo@pobox.com>
6732
6733         * gst/gstelement.c (gst_element_post_message): Doc update.
6734
6735         * docs/gst/gstreamer-sections.txt: Update.
6736
6737         * gst/gstmessage.c (gst_message_new_application): Made into a
6738         function like honest API calls.
6739         (gst_message_new_element): New message type.
6740
6741         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
6742
6743         * check/elements/fakesrc.c (test_no_preroll): New check, checks
6744         that setting a live fakesrc to PAUSED returns NO_PREROLL both
6745         times.
6746
6747         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
6748         NO_PREROLL from gst_element_change_state to fall through.
6749
6750 2005-10-07  Wim Taymans  <wim@fluendo.com>
6751
6752         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
6753         (gst_ghost_pad_do_activate_push):
6754         Activating a ghostpad with no internal pad in push mode
6755         is ok.
6756
6757 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
6758
6759         * gst/gstobject.h:
6760           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
6761           Fixes compilation on Windows.
6762
6763 2005-10-07  Michael Smith <msmith@fluendo.com>
6764
6765         * tools/gst-inspect.c:
6766           Print out feature and plugin count at the end when printing out
6767           all features.
6768
6769 2005-10-04  Michael Smith <msmith@fluendo.com>
6770
6771         * gst/gsterror.c: (_gst_stream_errors_init):
6772           Add another error string used in a few existing plugins.
6773
6774         * gst/gstplugin.c:
6775         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6776         * tools/gst-inspect.c: (print_element_info):
6777           When a feature disappears from a plugin (and the feature exists in
6778           the cached registry file), things went horribly wrong. This isn't a
6779           complete fix, we should actually be removing the 'missing' features
6780           from the features list when we load the actual plugin. That's not
6781           yet implemented. 
6782
6783 2005-10-04  Johan Dahlin  <johan@gnome.org>
6784
6785         * check/gst/gstiterator.c: (GST_START_TEST):
6786         * gst/gstbin.c: (gst_bin_iterate_elements),
6787         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
6788         * gst/gstelement.c: (gst_element_iterate_pads):
6789         * gst/gstformat.c: (gst_format_iterate_definitions):
6790         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
6791         (gst_iterator_new_list), (gst_iterator_filter):
6792         * gst/gstiterator.h:
6793         * gst/gstquery.c: (gst_query_type_iterate_definitions):
6794         Add a GType to GstIterator, update callsites and tests.
6795
6796 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6797
6798         * gst/gstpad.c: (gst_pad_event_default_dispatch):
6799           give events a chance to be handled by event probes when the pad
6800           is not linked
6801
6802 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6803
6804         * gst/gstevent.c: (gst_event_type_get_name),
6805         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
6806         * gst/gstevent.h:
6807           add string representations for event types
6808
6809 2005-10-06  Wim Taymans  <wim@fluendo.com>
6810
6811         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
6812         Don't use NULL pointers.
6813
6814 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6815
6816         * gst/gst_private.h:
6817         * gst/gstbus.c:
6818         * gst/gstelement.c:
6819         * gst/gstinfo.c:
6820         * gst/gstpluginfeature.c:
6821           widen the debug category in output to fit the biggest one we have
6822           add a bus category and use it
6823           play with the colors
6824           fix up some categories
6825
6826 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6827
6828         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
6829           add push activation of sink ghost pads.
6830           Andye, please verify
6831
6832 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6833
6834         * gst/gstutils.c: (gst_element_link_pads):
6835           fix a bug in the case where neither element has a pad
6836         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6837           add a test for that case
6838
6839 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6840
6841         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
6842           emit have-data before checking for peers.  This allows
6843           for probe handlers to connect elements.  This helps autopluggers.
6844         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
6845         (gst_pad_suite):
6846           add six checks, linked/unlinked with no/true/false probe
6847
6848 2005-10-04  Wim Taymans  <wim@fluendo.com>
6849
6850         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
6851         (gst_fake_sink_event), (gst_fake_sink_preroll),
6852         (gst_fake_sink_render), (gst_fake_sink_change_state):
6853         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
6854         (gst_fake_src_get_property), (gst_fake_src_create),
6855         (gst_fake_src_stop):
6856         * gst/elements/gstidentity.c: (gst_identity_stop):
6857         Protect last_message with lock.
6858
6859 2005-10-04  Edward Hervey  <edward@fluendo.com>
6860
6861         * gst/gstformat.h: 
6862         Added precision in the comments for GST_FORMAT_DEFAULT
6863
6864 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
6865
6866         * tools/gst-launch.c: (main):
6867           Don't try to run erroneous pipelines.
6868
6869 2005-10-04  Julien MOUTTE  <julien@moutte.net>
6870
6871         * gst/gstbus.c: We don't need this header.
6872
6873 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6874
6875         * configure.ac:
6876           back to development
6877
6878 === release 0.9.3 ===
6879
6880 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6881
6882         * README:
6883         * configure.ac:
6884           Releasing 0.9.3, "Unregistered"
6885
6886 2005-10-03  Andy Wingo  <wingo@pobox.com>
6887
6888         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
6889         whereby calling a pad's activatepush() function can start a thread
6890         that starts to push or pull before the pad gets the FLUSHING flag
6891         unset. Hack around it by holding the stream lock until the flag is
6892         set. Need to replace this with a proper solution. Together with
6893         the ghost pad fixes, this fixes mp3 playing/tagreading.
6894
6895         * docs/design/part-gstghostpad.txt: Add a note about activation of
6896         proxy pads outside of ghost pads.
6897
6898         * gst/gstghostpad.c: Implement the ghost pad activation design.
6899
6900 2005-10-02  Andy Wingo  <wingo@pobox.com>
6901
6902         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
6903         It is volatile, after all.
6904
6905         * docs/design/part-gstghostpad.txt: Flesh out activation with
6906         ghost pads.
6907
6908         * gst/base/gstbasesrc.c (gst_base_src_init): Use
6909         GST_DEBUG_FUNCPTR.
6910
6911 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6912
6913         * configure.ac:
6914           Fix (unused) AM_CONDITIONAL tests.
6915
6916 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
6917
6918         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6919
6920         * gst/gstutils.c: (gst_pad_query_convert):
6921           Add assertion that makes sure src_val is >=0, just like
6922           gst_query_new_convert() has. (#315895)
6923
6924 2005-09-30  Edward Hervey  <edward@fluendo.com>
6925
6926         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
6927         Let's not iterate pads we're not interested in, it avoids getting 
6928         sky-high refcounts on sinkpad.
6929
6930 2005-09-30  Wim Taymans  <wim@fluendo.com>
6931
6932         * gst/gstelement.c: (gst_element_set_state),
6933         (gst_element_change_state):
6934         Small tweak, element in ASYNC remains ASYNC.
6935
6936 2005-09-30  Wim Taymans  <wim@fluendo.com>
6937
6938         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
6939         Only error is an error.
6940
6941         * gst/gstbin.c: (gst_bin_change_state):
6942         Better debugging.
6943
6944         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
6945         Also call pad_block in pad alloc.
6946
6947         * gst/gstutils.c: (gst_flow_get_name):
6948         Better debugging.
6949
6950 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6951
6952         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6953         (gst_base_src_get_range):
6954           Fix documentation typos. Add some more debug info.
6955
6956 2005-09-29  David Schleef  <ds@schleef.org>
6957
6958         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
6959           more end-user friendly.
6960         * tools/gst-inspect.c: (main): Check if command-line argument is
6961           a file and attempt to load that file as a plugin.
6962
6963 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6964
6965         * check/gst/gstbin.c:
6966         * check/states/sinks.c:
6967           fix tests for the new warning
6968         * check/gst/gstpipeline.c:
6969           add a test for pipeline and bus interaction
6970         * gst/gstelement.c:
6971           elements should be NULL if they get disposed; add a warning if not
6972
6973 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6974
6975         * gst/gstobject.c:
6976           for 2.6 refcounting, make debug log more correct by printing
6977           the actual refcounts at the time of swap (Wim)
6978
6979 2005-09-29  Andy Wingo  <wingo@pobox.com>
6980
6981         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
6982         removes signal watches previously added via
6983         gst_bus_add_signal_watch.
6984         (gst_bus_add_signal_watch): Don't return the source id, just store
6985         it on the bus if there wasn't an id already.
6986
6987         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
6988         add_signal_watch and remove_signal_watch.
6989
6990 2005-09-29  Edward Hervey  <edward@fluendo.com>
6991
6992         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
6993         Better if we actually iterate the list :)
6994
6995 2005-09-29  Wim Taymans  <wim@fluendo.com>
6996
6997         * check/gst/gstbin.c: (GST_START_TEST):
6998         Change for new bus API.
6999
7000         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
7001         (send_messages), (GST_START_TEST), (gstbus_suite):
7002         Change for new bus signal API.
7003
7004         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
7005         (gst_bus_source_prepare), (gst_bus_source_check),
7006         (gst_bus_create_watch), (gst_bus_add_watch_full),
7007         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
7008         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
7009         * gst/gstbus.h:
7010         Remove support for multiple GSources operating on different
7011         message types as it is too complex and unneeded when using
7012         signals.
7013         Added support for receiving signals from the bus.
7014
7015 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7016
7017         * docs/libs/tmpl/gstdataprotocol.sgml:
7018         * docs/manual/advanced-dataaccess.xml:
7019         * gst/elements/gstcapsfilter.c:
7020         * gst/gstutils.c:
7021           rename filter-caps to caps property
7022
7023 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
7024
7025         * gst/gstvalue.c: (gst_value_deserialize_fraction):
7026           More robust fraction string parsing.
7027
7028         * docs/pwg/appendix-porting.xml:
7029           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
7030
7031 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
7032
7033         * gst/gstcaps.c: (gst_caps_do_simplify):
7034           Thou shalt not free a structure and then continue using it
7035           in the next loop iteration.
7036
7037         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
7038         (gst_caps_suite):
7039           Add test case for caps simplification.
7040
7041 2005-09-29  Wim Taymans  <wim@fluendo.com>
7042
7043         * check/gst/gstbin.c: (GST_START_TEST):
7044         Oops.
7045
7046 2005-09-29  Wim Taymans  <wim@fluendo.com>
7047
7048         * check/gst/gstbin.c: (GST_START_TEST):
7049         Add bus to bin.
7050
7051         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7052         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
7053         (find_element), (gst_bin_sort_iterator_next),
7054         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
7055         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
7056         (gst_bin_change_state), (gst_bin_dispose):
7057         A bin does not have a bus, it gets the bus from the parent.
7058
7059         * gst/gstelement.c: (gst_element_requires_clock),
7060         (gst_element_provides_clock), (gst_element_is_indexable),
7061         (gst_element_is_locked_state), (gst_element_change_state),
7062         (gst_element_set_bus_func):
7063         Small cleanups.
7064
7065         * gst/gstpipeline.c: (gst_pipeline_class_init),
7066         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
7067         The pipeline provides a bus.
7068
7069 2005-09-28  Johan Dahlin  <johan@gnome.org>
7070
7071         * gst/gstmessage.c (gst_message_parse_state_changed): Use
7072         gst_structure_get_enum instead of gst_structure_get_int
7073
7074         * gst/gststructure.c (gst_structure_get_enum): Impl.
7075
7076         * gst/gststructure.h (gst_structure_get_enum): Add
7077
7078         * docs/gst/gstreamer-sections.txt: Ditto
7079
7080         * gst/gstmessage.c (gst_message_new_state_changed): Use
7081         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
7082         which does introspection.
7083         Reviewed by Christian Schaller
7084
7085 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
7086
7087         * gst/gstinfo.c: (gst_debug_log_default):
7088           don't do dummy g_strdup()s
7089         * libs/gst/controller/gstcontroller.c:
7090         (on_object_controlled_property_changed),
7091         (gst_controlled_property_new), (gst_controller_new_valist),
7092         (gst_controller_new_list),
7093         (gst_controller_remove_properties_valist), (gst_controller_set),
7094         (gst_controller_get), (gst_controller_sync_values),
7095         (gst_controller_get_value_array), (_gst_controller_class_init),
7096         (gst_controller_get_type):
7097         * libs/gst/controller/gstcontroller.h:
7098         * libs/gst/controller/gstinterpolation.c:
7099         (gst_controlled_property_find_timed_value_node):
7100           convert // to /**/ comments
7101
7102 2005-09-28  Wim Taymans  <wim@fluendo.com>
7103
7104         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
7105         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
7106         (gst_bus_sync_signal_handler):
7107         * gst/gstbus.h:
7108         Added async-message and sync-message signals to the bus.
7109         Added helper BusFunc to emit signals for all posted messages.
7110
7111         * gst/gstmessage.c: (gst_message_type_get_name),
7112         (gst_message_type_to_quark), (gst_message_get_type):
7113         * gst/gstmessage.h:
7114         Register quarks for message names.
7115
7116 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
7117
7118         * docs/libs/gstreamer-libs-sections.txt:
7119         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
7120         (gst_controller_new_list):
7121         * libs/gst/controller/gstcontroller.h:
7122           added another constructor for language bindings
7123
7124 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7125
7126         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
7127           add another check
7128         * gst/gstbus.c:
7129           add some doc
7130         * gst/gstinfo.c: (_gst_debug_init):
7131           slightly more readable color for refcount debugging
7132
7133 2005-09-28  Wim Taymans  <wim@fluendo.com>
7134
7135         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
7136         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
7137         (find_element), (gst_bin_sort_iterator_next),
7138         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
7139         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
7140         (gst_bin_change_state), (gst_bin_dispose):
7141         Small doc fixes. get_clock -> provide_clock.
7142
7143         * gst/gstelement.c: (gst_element_class_init),
7144         (gst_element_provides_clock), (gst_element_provide_clock),
7145         (gst_element_get_clock), (gst_element_commit_state),
7146         (gst_element_lost_state):
7147         * gst/gstelement.h:
7148         Make get/set_clock() symetric. Add provide_clock vmethod since
7149         that is actually what this function does.
7150
7151         * gst/gstpipeline.c: (gst_pipeline_class_init),
7152         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
7153         (gst_pipeline_get_clock):
7154         get_clock -> provide_clock.
7155
7156 2005-09-28  Andy Wingo  <wingo@pobox.com>
7157
7158         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
7159         lieu of real docs...
7160
7161         * gst/elements/gstfdsrc.c: Cleaned up a bit.
7162
7163 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
7164
7165         * gst/elements/gstcapsfilter.c:
7166         * gst/elements/gstfakesink.c:
7167         * gst/elements/gstfakesrc.c:
7168         * gst/elements/gstfdsink.c:
7169         * gst/elements/gstfdsrc.c:
7170         * gst/elements/gstfilesink.c:
7171         * gst/elements/gstfilesrc.c:
7172         * gst/elements/gstidentity.c:
7173         * gst/elements/gsttee.c:
7174         * gst/elements/gsttypefindelement.c:
7175           Make element details static.
7176
7177 2005-09-28  Wim Taymans  <wim@fluendo.com>
7178
7179         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
7180         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
7181         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
7182         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
7183         (gst_bin_change_state), (gst_bin_dispose):
7184         Some documentation updates.
7185         Clean up dispose handlers.
7186
7187         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
7188         * gst/gstpad.c: (gst_pad_dispose):
7189         Clean up dispose handler.
7190
7191         * gst/gstpipeline.c: (gst_pipeline_change_state):
7192         Removed spurious UNLOCK.
7193
7194 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
7195
7196         * docs/gst/gstreamer-sections.txt:
7197         * gst/base/gstbasesrc.h:
7198         * gst/gstelement.h:
7199         * gst/gstevent.h:
7200         * gst/gstobject.h:
7201         * gst/gstpad.h:
7202         * gst/gstpipeline.c:
7203         * gst/gstpipeline.h:
7204         * gst/gstutils.h:
7205         * gst/gstxml.h:
7206           added two new functions to the docs
7207                 documents all undocumented GstXXXFlags
7208                 completed some incomplete docs 
7209
7210 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
7211
7212         * gst/gstbin.c: (gst_bin_dispose):
7213         * gst/gstelement.c: (gst_element_dispose):
7214           remove now useless and leaky resurrection code in dispose
7215         * gst/base/gstbasesrc.c: (gst_base_src_init):
7216         * gst/gstelementfactory.c: (gst_element_factory_create):
7217         * gst/gstobject.c: (gst_object_set_parent):
7218           add some debugging
7219
7220 2005-09-27  Wim Taymans  <wim@fluendo.com>
7221
7222         * docs/design/part-TODO.txt:
7223         Update TODO.
7224
7225         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
7226         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
7227         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
7228         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
7229         (gst_bin_change_state):
7230         * gst/gstelement.h:
7231         Remove element variable, we keep element info in the iterator now.
7232
7233 2005-09-27  Andy Wingo  <wingo@pobox.com>
7234
7235         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
7236         values.
7237
7238 2005-09-27  Wim Taymans  <wim@fluendo.com>
7239
7240         * check/gst/gstbin.c: (GST_START_TEST):
7241         Enable check that works now.
7242
7243         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
7244         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
7245         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
7246         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
7247         (gst_bin_change_state):
7248         * gst/gstbin.h:
7249         Redid the state change algorithm using a topological sort algo.
7250         Handles all cases correctly.
7251         Exposed iterator for state change order.
7252
7253         * gst/gstelement.h:
7254         Temp storage for state changes. Need to get rid of this soon.
7255
7256 2005-09-27  Wim Taymans  <wim@fluendo.com>
7257
7258         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
7259         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
7260         (link_fold_func), (gst_pad_proxy_setcaps):
7261         Leak fixes, the fold functions need to unref the passed object and
7262         _get_parent_*() returns ref to parent.
7263
7264 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
7265
7266         * check/gst/gstbuffer.c: (test_make_writable):
7267           Plug leak in test case and fix 'make check-valgrind'
7268
7269 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
7270
7271         * gst/gstbuffer.c: (gst_subbuffer_init):
7272           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
7273           works correctly in all circumstances (we could have just copied
7274           the parent buffer's readonly flag, but conceptually it seems
7275           cleaner to mark all subbuffers as read-only). (based on patch
7276           by Alessandro Decina, #314710).
7277         
7278         * check/gst/gstbuffer.c: (create_read_only_buffer),
7279         (test_make_writable), (test_subbuffer_make_writable),
7280         (gst_test_suite):
7281           Add some tests for gst_buffer_make_writable().
7282
7283 2005-09-27  Wim Taymans  <wim@fluendo.com>
7284
7285         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
7286         use gst_object_has_ancestor().
7287
7288         * gst/gstobject.c: (gst_object_has_ancestor):
7289         * gst/gstobject.h:
7290         gst_object_has_ancestor() copied from gstbin.c as it is a
7291         usefull function.
7292
7293         * tests/instantiate/create.c: (create_all_elements):
7294         * tests/lat.c: (handoff_src), (handoff_sink):
7295         * tests/sched/runxml.c: (main):
7296         * tests/seeking/seeking1.c: (main):
7297         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
7298         (main):
7299         Fix compilation of some tests.
7300
7301 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
7302
7303         * gst/gsterror.h:
7304           Remove comment. GST_TYPE_G_ERROR is here to stay,
7305           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
7306           (#316961, #300610).
7307
7308 2005-09-26  Wim Taymans  <wim@fluendo.com>
7309
7310         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7311         Added check that shows error in state change order.
7312
7313 2005-09-26  Wim Taymans  <wim@fluendo.com>
7314
7315         * gst/gstbin.c: (gst_bin_change_state):
7316         Make state change function use 3 queues again, we were
7317         adding elements in the wrong order.
7318
7319         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
7320         Some debug info,
7321
7322         * gst/gstpad.c: (gst_pad_dispose):
7323         Added some debug info first.
7324
7325 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
7326
7327         * docs/design/draft-push-pull.txt:
7328         * docs/design/part-events.txt:
7329         * docs/design/part-overview.txt:
7330         * docs/design/part-scheduling.txt:
7331           Replace all _pull_region() with _pull_range()
7332           
7333 2005-09-26  Andy Wingo  <wingo@pobox.com>
7334
7335         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
7336
7337         * check/gst-libs/controller.c: Update for controller api change.
7338
7339         * configure.ac: 
7340         * tests/Makefile.am:
7341         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
7342         over by GLib bug 118439.
7343         
7344         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
7345         routines to a function.
7346
7347         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
7348
7349         * libs/gst/controller/gsthelper.c:
7350         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
7351         (gst_object_sync_values): Renamed from sink_values. Ugh.
7352
7353         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
7354
7355         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
7356         Renamed from controller_key, as it is exported.
7357
7358         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
7359
7360 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
7361
7362         * gst/Makefile.am:
7363         * gst/gst.h:
7364         * gst/gstpad.h:
7365         * gst/gstpadtemplate.h:
7366         * gst/gstquery.c:
7367         * gst/gstquery.h:
7368         * gst/gstqueryutils.c:
7369         * gst/gstqueryutils.h:
7370           remove queryutils headers after moving the two used functions
7371           to gstquery.  also fixes build problem for gstsiddec
7372
7373 2005-09-26  Michael Smith <msmith@fluendo.com>
7374
7375         * tools/gst-launch.1.in:
7376         Correct documentation in manpage of debug syntax
7377
7378 2005-09-26  Wim Taymans  <wim@fluendo.com>
7379
7380         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
7381         (gst_base_src_is_seekable), (gst_base_src_change_state):
7382         Some more debugging info.
7383
7384 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
7385
7386         * docs/gst/gstreamer-sections.txt:
7387         * gst/base/gstbasetransform.h:
7388         * gst/gstindex.h:
7389           added more docs
7390
7391 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
7392
7393         * docs/gst/.cvsignore:
7394         * docs/gst/tmpl/.cvsignore:
7395         * docs/gst/tmpl/gstpipeline.sgml:
7396         * docs/gst/tmpl/gstplugin.sgml:
7397         * gst/gstpipeline.c:
7398         * gst/gstplugin.c:
7399         * gst/gstplugin.h:
7400           inlined the last two docs files
7401           removed the tmpl directory from cvs (no more conflicts here!)
7402
7403 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
7404
7405         * docs/gst/gstreamer-sections.txt:
7406         * docs/gst/tmpl/.cvsignore:
7407         * docs/gst/tmpl/gstpad.sgml:
7408         * docs/gst/tmpl/gstpadtemplate.sgml:
7409         * gst/Makefile.am:
7410         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7411         (gst_pad_finalize), (gst_pad_set_pad_template):
7412         * gst/gstpad.h:
7413         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
7414         (gst_pad_template_class_init), (gst_pad_template_init),
7415         (gst_pad_template_dispose), (name_is_valid),
7416         (gst_static_pad_template_get), (gst_pad_template_new),
7417         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
7418         (gst_pad_template_pad_created):
7419         * gst/gstpadtemplate.h:
7420           inlined two more docs
7421           factored gstpadtemplate out of gstpad
7422
7423 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
7424
7425         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
7426         (test_children_state_change_order_semi_sink):
7427           Fix test case: we can't rely on a fixed state change order when
7428           going from READY => PAUSED because the sink might commit its 
7429           new state first when the first buffer created by the source 
7430           reaches the sink before the source has finished its change state.
7431           (Test case still fails at times, see #316856, comment 5 onwards)
7432
7433 2005-09-24  Wim Taymans  <wim@fluendo.com>
7434
7435         * docs/design/part-events.txt:
7436         * docs/design/part-gstbus.txt:
7437         * docs/design/part-gstpipeline.txt:
7438         * docs/design/part-messages.txt:
7439         * docs/design/part-overview.txt:
7440         * docs/design/part-segments.txt:
7441         * gst/gstbin.c:
7442         * gst/gstbuffer.c:
7443         * gst/gstclock.c:
7444         * gst/gstelement.c:
7445         * gst/gstevent.c:
7446         * gst/gstfilter.c:
7447         * gst/gstiterator.c:
7448         Various documentation updates.
7449
7450 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7451
7452         * gst/gstclock.h:
7453           Well, that's embarassing.  Luckily we weren't using
7454           GST_CLOCK_DIFF anywhere.
7455
7456 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7457
7458         * common/gtk-doc.mak:
7459           don't fail on building XML, FC4 slave shows a bunch of doc
7460           missing bits that I don't get
7461         * gst/gstpad.c:
7462         * gst/gstpipeline.c:
7463         * gst/gststructure.c:
7464           some doc updates
7465
7466 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
7467
7468         * docs/design/part-gstbin.txt:
7469         * docs/design/part-gstbus.txt:
7470         * gst/gstbus.c:
7471           Add blurb about how the bus goes into flushing mode and
7472           drops all messages when its bin goes from READY into NULL 
7473           state.
7474
7475 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7476
7477         * docs/gst/gstreamer-sections.txt:
7478         * gst/gststructure.c: (gst_structure_get_clock_time):
7479         * gst/gststructure.h:
7480           add a method to get a GstClockTime out of a structure
7481
7482 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
7483
7484         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
7485         (test_children_state_change_order_semi_sink), (gst_bin_suite):
7486           Added test to check state change order in bins (can still be made
7487           to fail here under heavy disk load; bails out with 'Push on pad
7488           fakesink:sink0, but it was not activated in push mode').
7489
7490         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
7491           Fix state change order when there is only a semi sink (#316856)
7492
7493         * gst/gstbus.c: (gst_bus_class_init):
7494           Use _class_peek_parent(), not _class_ref(); fix docs to say
7495           'default main context' instead of 'mainloop' where that is
7496           what's meant.
7497
7498         * gst/gstelement.c: (gst_element_commit_state),
7499         (gst_element_set_state):
7500           Fix typos in debug messages
7501
7502 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7503
7504         * docs/README:
7505         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
7506         * gst/gstpluginfeature.c:
7507         * gst/gstutils.c:
7508           various doc updates
7509         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7510           change an assert into an error until it gets fixed properly
7511
7512 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
7513
7514         * docs/gst/gstreamer-sections.txt:
7515         * docs/gst/tmpl/.cvsignore:
7516         * docs/gst/tmpl/gstelement.sgml:
7517         * docs/gst/tmpl/gstinfo.sgml:
7518         * docs/gst/tmpl/gstobject.sgml:
7519         * gst/gstelement.c:
7520         * gst/gstelement.h:
7521         * gst/gstinfo.c:
7522         * gst/gstinfo.h:
7523         * gst/gstobject.c: (gst_object_class_init):
7524         * gst/gstobject.h:
7525           inlined 3 more biiiig doc files and added some missing docs on the fly
7526
7527 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7528
7529         * check/gst/.cvsignore:
7530         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
7531         * gst/gstregistryxml.c: (load_plugin),
7532         (gst_registry_xml_save_plugin):
7533           put back source in registry.  add checks for find_plugin.
7534         * testsuite/states/bin.c: (assert_state), (empty_bin),
7535         (test_adding_one_element), (main):
7536         * testsuite/states/locked.c: (main):
7537           some compile/run fixes
7538
7539 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7540
7541         * check/gst/gstvalue.c: (GST_START_TEST):
7542           fix leaks in the test itself
7543
7544 2005-09-22  Wim Taymans  <wim@fluendo.com>
7545
7546         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
7547         (gst_base_sink_send_event), (gst_base_sink_peer_query),
7548         (gst_base_sink_query):
7549         Prepare for more accurate position reporting and query
7550         handling.
7551
7552         * gst/gstelement.c: (gst_element_send_event),
7553         (gst_element_set_state):
7554         Add some comment.
7555
7556 2005-09-22  Wim Taymans  <wim@fluendo.com>
7557
7558         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
7559         (gst_query_parse_segment):
7560         * gst/gstquery.h:
7561         More documentation.
7562         Add segment query for future use.
7563
7564 2005-09-22  Wim Taymans  <wim@fluendo.com>
7565
7566         * gst/gstbin.c: (gst_bin_add_func):
7567         Some more debug info.
7568
7569         * gst/gstelement.c: (gst_element_send_event):
7570         Simplify send_event
7571
7572         * gst/gstelement.h:
7573         Don't know how flags got broken.
7574
7575         * gst/gstquery.h:
7576         Added new query.
7577
7578 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
7579
7580         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
7581           Add simplistic test suite for GST_TYPE_DATE serialisation and
7582           deserialisation.
7583
7584 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
7585
7586         * docs/gst/gstreamer-sections.txt:
7587         * gst/gststructure.c: (gst_structure_set_valist),
7588         (gst_structure_get_date):
7589         * gst/gststructure.h:
7590         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
7591         (gst_date_copy), (gst_value_compare_date),
7592         (gst_value_serialize_date), (gst_value_deserialize_date),
7593         (gst_value_transform_date_string),
7594         (gst_value_transform_string_date), (_gst_value_initialize):
7595         * gst/gstvalue.h:
7596           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
7597           bunch of utility functions along with a hack that checks that
7598           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
7599           is required. Part of the grand scheme in #170777.
7600
7601 2005-09-22  Andy Wingo  <wingo@pobox.com>
7602
7603         * gst/gstconfig.h.in: Psych out gtk-doc.
7604
7605         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
7606
7607         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
7608
7609         * tools/gst-inspect.c (print_element_list): Plug some
7610         inconsequential leaks.
7611
7612         * gst/gstregistry.c (gst_registry_get_default): Doc.
7613
7614         * check/gst/gstplugin.c: 
7615         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
7616         * gst/gstelementfactory.c (gst_element_factory_create): 
7617         * gst/gstindexfactory.c (gst_index_factory_create): Update for
7618         refcount changes.
7619
7620         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
7621         (gst_plugin_feature_load): Doc, don't eat refs.
7622
7623         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
7624         (gst_plugin_list_free): Doc.
7625         (gst_plugin_load_file): Doc updates.
7626
7627         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
7628         accessors returning refcounted objects, return a ref.
7629
7630         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
7631         accessor for caps. IDEMPOTENCE. Oh yes.
7632
7633 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
7634
7635         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
7636
7637         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
7638         (_gst_debug_register_funcptr):
7639           Add mutex to serialise access to the hash table with
7640           the function pointer => function name string mapping;
7641           make that hash table static scope (#316809).
7642
7643         * gst/registries/.cvsignore:
7644           Remove left-over file.
7645
7646 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
7647
7648         * docs/pwg/appendix-porting.xml:
7649           And something about newsegment events and caps-on-buffers to
7650           the porting guide (feel free to improve).
7651
7652 2005-09-21  Andy Wingo  <wingo@pobox.com>
7653
7654         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
7655         data and event probes on the same pad.
7656         (test_buffer_probe_once): Test that removing probes from within
7657         the probe functions works.
7658
7659 2005-09-21  Andy Wingo  <wingo@pobox.com>
7660
7661         * check/gst/gstutils.c: New file.
7662         (test_buffer_probe_n_times): A simple buffer probe test. More to
7663         come, foolios.
7664
7665         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
7666         have-data::buffer, not have-data.
7667         (gst_pad_add_event_probe): Likewise for have-data::event.
7668         (gst_pad_add_data_probe): More docs. The part about 'resolving the
7669         peer' isn't quite right yet though.
7670         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
7671         (gst_pad_remove_data_probe): Change to take the guint handler_id
7672         as their arg, not the function+data, which is more glib-like.
7673
7674         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
7675         the signal emission to indicate if the data is a buffer or an
7676         event.
7677         (gst_pad_get_type): Initialize buffer and event quarks.
7678         (gst_pad_class_init): have-data is now a detailed signal, yes it
7679         is.
7680
7681 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
7682
7683         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7684         * gst/gstutils.c: (gst_util_set_value_from_string),
7685         (gst_util_set_object_arg):
7686           Don't put functional code in g_return_if_fail() or
7687           g_return_val_if_fail() statements, otherwise things will 
7688           break when G_DISABLE_CHECKS is defined during compilation.
7689
7690 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
7691
7692         * docs/gst/tmpl/.cvsignore:
7693         * docs/gst/tmpl/gstvalue.sgml:
7694         * gst/gstvalue.c:
7695         * gst/gstvalue.h:
7696           inlied another one and added  some obvious docs
7697
7698 2005-09-21  Wim Taymans  <wim@fluendo.com>
7699
7700         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
7701         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
7702         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
7703         (gst_fdsrc_get_property), (gst_fdsrc_create):
7704         * gst/elements/gstfdsrc.h:
7705         Properly implement fdsrc. Removed signal and timeout,
7706         better implemented somewhere else.
7707
7708 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
7709
7710         * docs/gst/tmpl/.cvsignore:
7711         * docs/gst/tmpl/gstimplementsinterface.sgml:
7712         * gst/gstinterface.c:
7713           inlined more docs
7714
7715 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
7716
7717         * docs/gst/gstreamer-sections.txt:
7718         * docs/gst/tmpl/.cvsignore:
7719         * docs/gst/tmpl/gstenumtypes.sgml:
7720           remove obsolete doc file
7721
7722 2005-09-21  David Schleef  <ds@schleef.org>
7723
7724         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
7725         little beer, fix a little leak.
7726
7727 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
7728
7729         * docs/gst/gstreamer-docs.sgml:
7730         * docs/gst/gstreamer-sections.txt:
7731         * docs/gst/tmpl/.cvsignore:
7732         * gst/Makefile.am:
7733         * gst/gst.h:
7734         * gst/gstbin.c:
7735         * gst/gstelement.h:
7736         * gst/gstindex.c: (gst_index_class_init):
7737         * gst/gstindex.h:
7738         * gst/gstindexfactory.c: (gst_index_factory_get_type),
7739         (gst_index_factory_class_init), (gst_index_factory_init),
7740         (gst_index_factory_finalize), (gst_index_factory_new),
7741         (gst_index_factory_destroy), (gst_index_factory_find),
7742         (gst_index_factory_create), (gst_index_factory_make):
7743         * gst/gstindexfactory.h:
7744         * gst/gstpluginfeature.c:
7745         * gst/gstpluginfeature.h:
7746         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
7747           more docs inlined, splitted gstindex.{c,h}
7748
7749 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7750
7751         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
7752           fix a leak
7753
7754 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
7755
7756         * gst/elements/gstfilesink.c: (gst_file_sink_init):
7757           Set sync to FALSE by default.
7758
7759 2005-09-20  Wim Taymans  <wim@fluendo.com>
7760
7761         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
7762         (gst_base_sink_init):
7763         Make sync property settable from subclass.
7764
7765         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
7766         (gst_fake_sink_change_state):
7767         Set sync to FALSE by default.
7768
7769 2005-09-20  Wim Taymans  <wim@fluendo.com>
7770
7771         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
7772         * tools/gst-launch.c: (main):
7773         The timeout handler should have lower priority than the source
7774         so we don't timeout before popping a message with 0 timeout.
7775         Dump error messages after failed state change.
7776
7777 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
7778
7779         * tools/gst-inspect.c: (print_element_properties_info):
7780           Fix two typos.
7781
7782 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7783
7784         * check/gst/gstevent.c:
7785         * gst/elements/gstfakesink.c:
7786         * gst/elements/gstfakesink.h:
7787           remove the sync property from fakesink.
7788           has the side effect of setting sync TRUE
7789           for fakesink, which is a change.  Anyone who knows how
7790           to fix this nicely in a GObject-y way, feel free.
7791
7792 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
7793
7794         * docs/gst/gstreamer-docs.sgml:
7795           remove probe refsection
7796
7797 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
7798
7799         * check/Makefile.am:
7800           disable valgrinding the controller test again
7801         * docs/gst/gstreamer-sections.txt:
7802           update for api-changes
7803
7804 2005-09-20  Wim Taymans  <wim@fluendo.com>
7805
7806         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
7807         (gst_base_sink_set_property), (gst_base_sink_get_property),
7808         (gst_base_sink_do_sync):
7809         * gst/base/gstbasesink.h:
7810         Added sync property to basesink to disable clock sync.
7811
7812 2005-09-20  Andy Wingo  <wingo@pobox.com>
7813
7814         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
7815         eating the caller's refcount.
7816
7817         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
7818         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
7819         refcount.
7820
7821         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
7822         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
7823         of GLib 2.8 public, so we can know which refcount to check in
7824         tests.
7825
7826         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
7827         (gst_object_init): Only set the gst refcount if we're going ahead
7828         with the refcount hack.
7829
7830 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
7831
7832         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
7833         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
7834           more leaks plumbed, added more debug-logging
7835         * gst/gstmacros.h:
7836           whitespace fix
7837
7838 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7839
7840         * gst/gstmessage.c:
7841           remove include of gstmemchunk.h
7842
7843 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7844
7845         * gst/gstclock.c: (_gst_clock_id_free):
7846           Commit from the Political Party For More Atomic CVS Commits,
7847           so that people don't waste too much of their day fishing
7848           out obvious leaks out of massive commits.
7849           Oh, and fix a pretty damn obvious leak in the memchunk
7850           removal code.
7851
7852 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
7853
7854         * check/Makefile.am:
7855         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
7856           plug mem-leak, re-add to valgrindable tests
7857
7858 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7859
7860         * gst/gstplugin.h:
7861           unbreak the build for those who have chronic arthritis
7862           and typing "make check" is just too taxing on the hands
7863
7864 2005-09-20  Andy Wingo  <wingo@pobox.com>
7865
7866         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
7867         really want it out, you should fix plugins at the same time.
7868
7869 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
7870
7871         * configure.ac:
7872         * docs/gst/gstreamer-sections.txt:
7873         * gst/gstobject.c:
7874           added missing symbols to api docs
7875           disable ref-count hack if we have glib >= 2.8
7876
7877 2005-09-19  David Schleef  <ds@schleef.org>
7878
7879         * docs/gst/Makefile.am: Ignore a few more internal headers
7880         * docs/gst/gstreamer-docs.sgml: Remove old sections
7881         * docs/gst/gstreamer-sections.txt: Remove old sections
7882         * docs/gst/tmpl/gstobject.sgml: update
7883         * docs/gst/tmpl/gstplugin.sgml: update
7884         * docs/gst/tmpl/gstpluginfeature.sgml: update
7885         * docs/random/ds/0.9-suggested-changes: update.
7886         * gst/Makefile.am: remove memchunk and trashstack, since they're
7887           not used.
7888         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
7889         * gst/gst.h: don't include some headers
7890         * gst/gstchildproxy.c: add gstmarshal.h
7891         * gst/gstclock.c: Don't use memchunks
7892         * gst/gstminiobject.c: Add some docs
7893         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
7894         * gst/gstobject.h: same
7895         * gst/gstplugin.c: include gstmacros.h
7896         * gst/gstplugin.h: don't include gstmacros.h, since it's private
7897         * gst/gstquery.c: don't use memchunks
7898         * gst/gstregistry.c: rename gst_registry_deinit()
7899         * gst/gstregistry.h: same
7900
7901 2005-09-19  David Schleef  <ds@schleef.org>
7902
7903         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
7904         * docs/libs/gstreamer-libs-sections.txt:
7905         * docs/libs/tmpl/gstgetbits.sgml:
7906         * docs/libs/tmpl/gstputbits.sgml:
7907
7908 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
7909
7910         * win32/gstenumtypes.c:
7911         * win32/gstenumtypes.h:
7912           Update.
7913
7914 2005-09-19  Wim Taymans  <wim@fluendo.com>
7915
7916         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
7917         Automatically PAUSE and RESUME a pipeline when a flushing seek
7918         is performed.
7919
7920 2005-09-19  Andy Wingo  <wingo@pobox.com>
7921
7922         * gst/gstregistry.h: Spacing fixen.
7923
7924 2005-09-19  Wim Taymans  <wim@fluendo.com>
7925
7926         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
7927         Handle state change failure more correctly.
7928
7929 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
7930
7931         * check/Makefile.am:
7932         * check/pipelines/cleanup.c: (run_pipeline):
7933         * check/pipelines/simple_launch_lines.c: (run_pipeline),
7934         (GST_START_TEST):
7935           enable cleanup again after fixing the leak
7936         * docs/README:
7937           some more info on docs
7938
7939 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
7940
7941         * check/Makefile.am:
7942           re-enable tests now that leaks are plugged
7943         * check/gst/gst.c:
7944         * check/gst/gstbin.c:
7945         * check/gst/gstpipeline.c:
7946           add some more tests while fixing leaks
7947         * common/check.mak:
7948           make sure binaries are uptodate when valgrinding/gdbing
7949         * gst/gst.c:
7950         * gst/gstelementfactory.c:
7951           remove a ref too many, and add a FIXME for when we get
7952           round to disposing of classes
7953         * gst/gstplugin.c:
7954           fix the refcounting when loading a plugin from a file and
7955           the code pretends that the pointer is the same even though
7956           of course it can change
7957         * gst/gstpluginfeature.c:
7958           unref plugins marked cached (a bit confusing as a name)
7959           as the docs state should be done
7960           various doc additions to explain refcounting
7961         * gst/gstregistry.c:
7962         * gst/gstregistryxml.c:
7963           debugging
7964
7965 2005-09-19  Wim Taymans  <wim@fluendo.com>
7966
7967         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
7968         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
7969         (send_messages), (GST_START_TEST), (gstbus_suite):
7970         * check/gst/gstpipeline.c: (GST_START_TEST):
7971         * check/pipelines/cleanup.c: (run_pipeline):
7972         * check/pipelines/simple_launch_lines.c: (run_pipeline),
7973         (GST_START_TEST):
7974         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
7975         (gst_bus_source_check), (gst_bus_source_dispatch),
7976         (gst_bus_create_watch), (gst_bus_add_watch_full),
7977         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
7978         * gst/gstbus.h:
7979         * tools/gst-launch.c: (event_loop):
7980         * tools/gst-md5sum.c: (event_loop):
7981         GstBusHandler -> GstBusFunc, return value has the same meaning as
7982         any other GSource (FALSE == remove source).
7983         _add_watch() and _add_watch_full() now take a MessageType mask to
7984         only handle specific types of messages.
7985         _poll() returns the GstMessage instead of the message type to avoid
7986         race conditions.
7987         _have_pending() takes a MessageType mask now too.
7988         Added testsuite for multiple bus watches.
7989         Fix testsuites and applications for new bus API.
7990
7991 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
7992
7993         * check/Makefile.am:
7994           mark a bunch of the tests as to fix until we fix them
7995
7996 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
7997
7998         * common/check.mak:
7999           use GST_PLUGIN settings for valgrind tests as well, so we're
8000           valgrinding the correct thing
8001         * gst/gst.c: (init_post):
8002           plug another leak
8003
8004 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
8005
8006         * gst/gst.c: (init_post), (gst_deinit):
8007         * gst/gstelementfactory.c: (gst_element_factory_class_init),
8008         (gst_element_factory_finalize), (gst_element_factory_cleanup):
8009         * gst/gstindex.c: (gst_index_factory_class_init),
8010         (gst_index_factory_finalize):
8011         * gst/gstobject.c: (gst_object_dispose):
8012         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
8013         (gst_plugin_load_file), (gst_plugin_desc_free):
8014         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
8015         (gst_plugin_feature_finalize):
8016         * gst/gstregistry.c: (gst_registry_class_init),
8017         (gst_registry_init), (gst_registry_finalize),
8018         (gst_registry_get_default), (gst_registry_deinit):
8019         * gst/gstregistry.h:
8020         * gst/gstregistryxml.c: (load_feature), (load_plugin):
8021           various cleanups and memleak plugging.  make valgrind is happy now.
8022
8023 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
8024
8025         * common/check.mak:
8026           add a check-valgrind target
8027
8028 2005-09-18  David Schleef  <ds@schleef.org>
8029
8030         * tools/gst-inspect.c: Revert the GOption code.
8031
8032 2005-09-17  David Schleef  <ds@schleef.org>
8033
8034         * check/Makefile.am: Fix environment variables.
8035         * check/gst/gstplugin.c: Fix for API changes.
8036         * tools/gst-inspect.c: Fix for API changes.
8037         * tools/gst-xmlinspect.c: Fix for API changes.
8038         * gst/gstelementfactory.c:
8039         * gst/gstplugin.c:
8040         * gst/gstplugin.h:
8041         * gst/gstpluginfeature.c:
8042         * gst/gstpluginfeature.h:
8043         * gst/gstregistry.c:
8044         * gst/gstregistry.h:
8045         * gst/gstregistryxml.c:
8046         * gst/gsttypefind.c:
8047         * gst/gsttypefindfactory.c:
8048         * gst/indexers/gstfileindex.c:
8049         * gst/indexers/gstmemindex.c:
8050         * gst/schedulers/Makefile.am:
8051           Change registry to keep track of both plugins and features,
8052           removing the feature tracking from plugins themselves.
8053
8054 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8055
8056         * check/Makefile.am:
8057         * tools/gst-register.1.in:
8058           remove gst-register
8059
8060 2005-09-15  David Schleef  <ds@schleef.org>
8061
8062         * check/gst/gstplugin.c:
8063         * gst/gstelementfactory.c:
8064         * gst/gstplugin.c:
8065         * gst/gstpluginfeature.c:
8066         * gst/gstregistry.c:
8067           Getting tired of debugging.  Disabled all the unreffing of
8068           plugins and features, which fixes the segfaults, but of
8069           course leaks like crazy.  At least playbin works.
8070
8071 2005-09-15  David Schleef  <ds@schleef.org>
8072
8073         * check/gst/gstplugin.c: (register_check_elements),
8074         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
8075         More testing
8076         * gst/elements/gsttypefindelement.c: Fix refcounting.
8077         * gst/gsttypefind.c:
8078         * gst/gsttypefindfactory.c:
8079         * gst/gsttypefindfactory.h:
8080
8081 2005-09-15  David Schleef  <ds@schleef.org>
8082
8083         * gst/gstindex.c: get refcounting correct.
8084         * gst/gstregistry.c: Handle the case where a feature/plugin is
8085           not found.
8086
8087 2005-09-15  David Schleef  <ds@schleef.org>
8088
8089         * check/Makefile.am:
8090         * check/gst/gstplugin.c: Add test
8091         * gst/gstplugin.c: Fix problems noticed by testsuite
8092         * gst/gstplugin.h:
8093         * gst/gstregistry.c: 
8094         * gst/gstregistry.h:
8095
8096 2005-09-15  David Schleef  <ds@schleef.org>
8097
8098         * gst/gstplugin.c: Implement semi-decent recounting and locking
8099           in plugins and plugin features.
8100         * gst/gstplugin.h:
8101         * gst/gstpluginfeature.c:
8102         * gst/gstpluginfeature.h:
8103         * gst/gstregistry.c:
8104
8105 2005-09-15  Michael Smith <msmith@fluendo.com>
8106
8107         * gst/gstregistry.c: (gst_registry_get_feature_list):
8108           Implement this. Makes oggdemux work; decodebin still broken.
8109
8110 2005-09-14  David Schleef  <ds@schleef.org>
8111
8112         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
8113           #316076)
8114         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
8115         * gst/check/Makefile.am:
8116         * libs/gst/controller/Makefile.am:
8117         * libs/gst/dataprotocol/Makefile.am:
8118
8119 2005-09-14  David Schleef  <ds@schleef.org>
8120
8121         * configure.ac: Remove getbits library.  Nothing uses it, and
8122           it should be in something like liboil if someone did want
8123           to use it.
8124         * libs/gst/Makefile.am:
8125         * libs/gst/getbits/Makefile.am:
8126         * libs/gst/getbits/gbtest.c:
8127         * libs/gst/getbits/getbits.c:
8128         * libs/gst/getbits/getbits.h:
8129         * libs/gst/getbits/gstgetbits_generic.c:
8130         * libs/gst/getbits/gstgetbits_i386.s:
8131         * libs/gst/getbits/gstgetbits_inl.h:
8132
8133 2005-09-14  David Schleef  <ds@schleef.org>
8134
8135         * gst/Makefile.am: Dist glib-compat.h
8136
8137 2005-09-14  David Schleef  <ds@schleef.org>
8138
8139         * configure.ac: Remove gst/registries, since it's no longer used.
8140         * gst/registries/Makefile.am:
8141         * gst/registries/gstlibxmlregistry.c:
8142         * gst/registries/gstlibxmlregistry.h:
8143         * gst/registries/gstxmlregistry.c:
8144         * gst/registries/gstxmlregistry.h:
8145         * gst/registries/registrytest.c:
8146
8147 2005-09-14  David Schleef  <ds@schleef.org>
8148
8149         * gst/glib-compat.h:
8150         * gst/gstregistryxml.c:
8151           Convergence is near.  Seriously.
8152
8153 2005-09-14  David Schleef  <ds@schleef.org>
8154
8155         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
8156         * gst/glib-compat.h:
8157           Attempt #4 to appease the buildbots.
8158
8159 2005-09-14  David Schleef  <ds@schleef.org>
8160
8161         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
8162           Attempt #3.
8163
8164 2005-09-14  David Schleef  <ds@schleef.org>
8165
8166         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
8167         Attempt #2.
8168
8169 2005-09-14  David Schleef  <ds@schleef.org>
8170
8171         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
8172           the new functions.
8173
8174 2005-09-14  David Schleef  <ds@schleef.org>
8175
8176         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
8177         * gst/glib-compat.h: Add some functions that are in newer versions
8178           of glib than we care to require.
8179         * gst/gstregistryxml.c: Use them.
8180
8181 2005-09-14  David Schleef  <ds@schleef.org>
8182
8183         * po/POTFILES.in: remove gst-register.c
8184
8185 2005-09-14  David Schleef  <ds@schleef.org>
8186
8187         * docs/gst/gstreamer-docs.sgml:
8188         * docs/gst/gstreamer-sections.txt:
8189         * docs/gst/gstreamer.types:
8190         * docs/gst/tmpl/gstelement.sgml:
8191         * docs/gst/tmpl/gstplugin.sgml:
8192         * docs/gst/tmpl/gstpluginfeature.sgml:
8193           Documentation updates for registry changes.
8194
8195 2005-09-14  David Schleef  <ds@schleef.org>
8196
8197         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
8198           because we don't require glib-2.8.
8199
8200 2005-09-14  David Schleef  <ds@schleef.org>
8201
8202         * gst/gstregistryxml.c: Added.  Essentially moved out of the
8203           registries directory.
8204
8205 2005-09-14  David Schleef  <ds@schleef.org>
8206
8207         * check/Makefile.am:
8208         * check/generic/states.c:
8209         * gst/Makefile.am:
8210         * gst/gst.c:
8211         * gst/gst.h:
8212         * gst/gst_private.h:
8213         * gst/gstelementfactory.c:
8214         * gst/gstindex.c:
8215         * gst/gstinfo.c:
8216         * gst/gstplugin.c:
8217         * gst/gstplugin.h:
8218         * gst/gstpluginfeature.c:
8219         * gst/gstpluginfeature.h:
8220         * gst/gstregistry.c:
8221         * gst/gstregistry.h:
8222         * gst/gstregistrypool.c: remove
8223         * gst/gstregistrypool.h: remove
8224         * gst/gsttypefind.c:
8225         * gst/gsttypefindfactory.c:
8226         * gst/gsturi.c:
8227         * tools/Makefile.am:
8228         * tools/gst-compprep.c:
8229         * tools/gst-inspect.c:
8230         * tools/gst-register.c: remove
8231         * tools/gst-xmlinspect.c:
8232           Registry rewrite.  Changes registry from being a file created
8233           by a tool into a simple cache file created automatically by 
8234           libgstreamer.  Removed gst-register (because it's no longer
8235           needed).  Remove registry pools, because we only have one
8236           registry implementation (XML).  Fix up other subsystems as
8237           necessary.
8238
8239 2005-09-13  Michael Smith <msmith@fluendo.com>
8240
8241         * gst/gstconfig.h.in:
8242           Don't Use windows linking attributes for MinGW. Fixes #316157
8243
8244 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8245
8246         * gst/gstutils.c: (set_state_async_thread_func),
8247         (gst_element_set_state_async):
8248           Apparently people think it's better if this function doesn't
8249           try to set the state to whatever state was asked for on the first
8250           call to this function for any object.  Seriously.
8251
8252 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8253
8254         * check/gst/gstpipeline.c: (GST_START_TEST):
8255         * docs/gst/gstreamer-sections.txt:
8256         * gst/gstutils.c: (set_state_async_thread_func),
8257         (gst_element_set_state_async):
8258         * gst/gstutils.h:
8259           add a "gst_element_set_state_async" method that
8260           sets the state and starts a thread to make sure the state
8261           change completes as best as it can
8262
8263 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8264
8265         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
8266           codify design+behaviour in testsuite after discussion
8267
8268 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8269
8270         * docs/gst/tmpl/gstelement.sgml:
8271         * docs/manual/appendix-quotes.xml:
8272           add a quote
8273         * gst/gstelement.c: (gst_element_set_state):
8274           add some debug
8275
8276 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
8277
8278         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
8279         (gst_base_transform_prepare_output_buf),
8280         (gst_base_transform_handle_buffer):
8281         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
8282         (gst_capsfilter_prepare_buf):
8283           Remove the requirement for sub-classes to call the parent
8284           implementation of prepare_output_buffer with a wrapper function.
8285           
8286         * gst/gsttaglist.h:
8287         * gst/gsttagsetter.h:
8288           Fix #define wrapper
8289
8290 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
8291
8292         * docs/gst/gstreamer-sections.txt:
8293           more doc cleanups
8294
8295 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8296
8297         * docs/gst/gstreamer-sections.txt:
8298         * docs/gst/tmpl/gstelement.sgml:
8299         * docs/gst/tmpl/gstplugin.sgml:
8300         * gst/gstminiobject.c:
8301         * gst/gstvalue.h:
8302           docs now stop throwing warnings
8303
8304 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8305
8306         * docs/gst/gstreamer-sections.txt:
8307         * docs/gst/gstreamer.types:
8308         * docs/gst/tmpl/gstpad.sgml:
8309         * docs/gst/tmpl/gsttypes.sgml:
8310         * gst/base/gstadapter.h:
8311         * gst/base/gstbasesink.h:
8312         * gst/base/gstbasesrc.h:
8313         * gst/gstbin.h:
8314         * gst/gstbuffer.h:
8315         * gst/gstbus.h:
8316         * gst/gstcaps.h:
8317         * gst/gstclock.h:
8318         * gst/gstelement.h:
8319         * gst/gstevent.h:
8320         * gst/gstmessage.h:
8321         * gst/gstpad.h:
8322         * gst/gststructure.c:
8323         * gst/registries/gstlibxmlregistry.h:
8324           various documentation fixes
8325
8326 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8327
8328         * docs/gst/gstreamer-sections.txt:
8329         * docs/gst/tmpl/gstvalue.sgml:
8330           rearrange gstvalue section
8331         * gst/gstutils.c: (gst_element_state_get_name):
8332           NONE -> VOID
8333         * gst/gstvalue.c: (_gst_value_initialize):
8334         * gst/gstvalue.h:
8335           doc updates
8336
8337 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
8338
8339         * check/gst-libs/controller.c:
8340           Header include fix.
8341         * gst/base/gstbasetransform.c:
8342         (gst_base_transform_default_prepare_buf),
8343         (gst_base_transform_handle_buffer):
8344         * gst/base/gstbasetransform.h:
8345           Some more basetransform changes and fixes to enable sub-classes
8346           that modify buffer metadata only.
8347         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8348         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
8349         (gst_capsfilter_prepare_buf):
8350           If the output pad has fixed allowed caps and input buffers 
8351           don't have any, set the fixed caps on outgoing buffers.
8352
8353 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
8354         * check/elements/identity.c: (GST_START_TEST):
8355           Make the error a little clearer when the test fails because
8356           identity made a copy of the buffer.
8357         * docs/gst/gstreamer-sections.txt:
8358           New symbols in gstbasetransform.h
8359         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
8360         (gst_base_transform_init), (gst_base_transform_transform_size),
8361         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8362         (gst_base_transform_default_prepare_buf),
8363         (gst_base_transform_get_unit_size),
8364         (gst_base_transform_buffer_alloc),
8365         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
8366         (gst_base_transform_change_state),
8367         (gst_base_transform_set_passthrough),
8368         (gst_base_transform_set_in_place),
8369         (gst_base_transform_is_in_place):
8370         * gst/base/gstbasetransform.h:
8371           Change BaseTransform to separate in_place operate from same_caps
8372           output. in_place implies that the element can perform the transform
8373           on incoming buffers in-place, even if the caps on the output are
8374           different.
8375           Sub-class elements can now implement special buffer allocation
8376           methods for outgoing buffers if they wish to.
8377           Big documentation addition.
8378         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
8379         * gst/elements/gstelements.c:
8380           Changes for basetransform modifications.
8381         * gst/elements/Makefile.am:
8382         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
8383           Compile fix. Extra debug output.
8384
8385 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8386
8387         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
8388         (gst_pad_suite):
8389           add tests for valid pad naming
8390         * gst/check/gstcheck.c: (gst_check_log_message_func),
8391         (gst_check_log_critical_func):
8392           add ASSERT_WARNING
8393           remove printing of code, it is fragile when the code contains
8394           % and the line number is enough info
8395         * gst/check/gstcheck.h:
8396         * gst/gstpad.c: (gst_pad_template_new):
8397           fix memleaks
8398
8399 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8400
8401         * configure.ac:
8402           say what CHECK flags we use
8403         * docs/libs/gstreamer-libs.types:
8404         * libs/gst/controller/Makefile.am:
8405         * libs/gst/controller/gst-controller.c:
8406         * libs/gst/controller/gst-controller.h:
8407         * libs/gst/controller/gst-helper.c:
8408         * libs/gst/controller/gst-interpolation.c:
8409         * libs/gst/controller/gstcontroller.c:
8410         * libs/gst/controller/gsthelper.c:
8411         * libs/gst/controller/gstinterpolation.c:
8412         * tools/gst-inspect.c: (print_plugin_info):
8413           we don't use dashes in header names
8414
8415 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8416
8417         * check/Makefile.am:
8418         * check/gst/.cvsignore:
8419         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
8420         (gst_pipeline_suite), (main):
8421           adding a test for pipelines and state changes
8422         * gst/gstutils.c: (get_state_func):
8423           add some debugging
8424         * gstreamer.spec.in:
8425           fix up spec file
8426
8427 2005-09-08  Michael Smith <msmith@fluendo.com>
8428
8429         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
8430         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
8431         (gst_file_src_is_seekable), (gst_file_src_get_size),
8432         (gst_file_src_start):
8433         * gst/elements/gstfilesrc.h:
8434           Various fixes for unseekable, unmmapable, and non-normal files, so
8435           that fallback to read() rather than mmap() works.
8436         * gst/gstevent.c: (gst_event_new_newsegment):
8437           Allow newsegment events with segment_start == segment_end, as will
8438           correctly happen if you use filesrc on a zero-size file, for
8439           example.
8440
8441 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
8442
8443         * gst/gstplugin.c: (gst_plugin_load_file):
8444           Call g_module_close when we don't load the module
8445
8446         * gst/registries/gstlibxmlregistry.c:
8447         (gst_xml_registry_get_property):
8448           Port leak fix from 0.8
8449
8450 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
8451
8452         * docs/gst/gstreamer-docs.sgml:
8453         * docs/gst/tmpl/.cvsignore:
8454         * docs/gst/tmpl/gsttrace.sgml:
8455         * docs/gst/tmpl/gsttrashstack.sgml:
8456         * gst/Makefile.am:
8457         * gst/gst.h:
8458         * gst/gstelement.h:
8459         * gst/gstevent.h:
8460         * gst/gstmessage.c:
8461         * gst/gstmessage.h:
8462         * gst/gsttag.c:
8463         * gst/gsttag.h:
8464         * gst/gsttaginterface.c:
8465         * gst/gsttaginterface.h:
8466         * gst/gsttaglist.c:
8467         * gst/gsttaglist.h:
8468         * gst/gsttagsetter.c:
8469         * gst/gsttagsetter.h:
8470         * gst/gsttrace.c:
8471         * gst/gsttrace.h:
8472         * gst/gsttrashstack.c:
8473           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
8474           inlined docs for gsttrace, gsttrashstack
8475
8476 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
8477
8478         * gst/Makefile.am:
8479         * gst/elements/gstbufferstore.h:
8480         * gst/elements/gsttypefindelement.c:
8481         * gst/elements/gsttypefindelement.h:
8482         * gst/gst.h:
8483         * gst/gsttypefind.c:
8484         * gst/gsttypefind.h:
8485         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
8486         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
8487         (gst_type_find_factory_dispose),
8488         (gst_type_find_factory_unload_thyself),
8489         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
8490         (gst_type_find_factory_get_caps),
8491         (gst_type_find_factory_get_extensions),
8492         (gst_type_find_factory_call_function):
8493         * gst/gsttypefindfactory.h:
8494         * gst/registries/gstlibxmlregistry.c:
8495         * gst/registries/gstxmlregistry.c:
8496           splitted gsttypefind into gsttypefind, gsttypefindfactory
8497
8498 2005-09-07  Andy Wingo  <wingo@pobox.com>
8499
8500         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
8501         condition whereby the pad's task function is entered before the
8502         pad_mode variable was set.
8503
8504 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
8505
8506         * gst/gstpad.c: (gst_pad_alloc_buffer):
8507           Catch misbehaving pad_alloc functions that don't
8508           set up caps and do it for them.
8509
8510 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
8511
8512         * check/pipelines/simple_launch_lines.c: (run_pipeline):
8513           test for pipe!=NULL
8514         * docs/gst/tmpl/.cvsignore:
8515         * docs/gst/tmpl/gstmemchunk.sgml:
8516         * docs/gst/tmpl/gstparse.sgml:
8517         * docs/gst/tmpl/gsttaglist.sgml:
8518         * docs/gst/tmpl/gsttagsetter.sgml:
8519         * docs/gst/tmpl/gsttypefind.sgml:
8520         * docs/gst/tmpl/gsttypefindfactory.sgml:
8521         * gst/gstmemchunk.c:
8522         * gst/gstparse.c:
8523         * gst/gsttag.c:
8524         * gst/gsttaginterface.c:
8525         * gst/gsttypefind.c:
8526         * gst/gsttypefind.h:
8527           inlined more docs
8528
8529 === release 0.9.2 ===
8530
8531 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8532
8533         * NEWS:
8534         * RELEASE:
8535         * configure.ac:
8536           releasing 0.9.2, "South"
8537
8538 2005-09-05  Andy Wingo  <wingo@pobox.com>
8539
8540         * gst/registries/gstxmlregistry.h:
8541         * gst/registries/gstxmlregistry.c: Um... resurrect...
8542         
8543         * gst/registries/gstxmlregistry.h:
8544         * gst/registries/gstxmlregistry.c: and update to newer API.
8545         Incidentally they should be a bit faster now that they don't have
8546         to parse the caps.
8547         
8548 2005-09-05  Andy Wingo  <wingo@pobox.com>
8549
8550         * gst/registries/gstxmlregistry.h:
8551         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
8552         replaced by the libxml registry a while back
8553
8554 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8555
8556         * docs/gst/tmpl/gstplugin.sgml:
8557         * gst/elements/gstelements.c:
8558         * gst/gst.c:
8559         * gst/gstplugin.c: (gst_plugin_register_func),
8560         (gst_plugin_desc_copy), (gst_plugin_desc_free),
8561         (gst_plugin_get_source):
8562         * gst/gstplugin.h:
8563         * gst/registries/gstlibxmlregistry.c: (load_plugin),
8564         (gst_xml_registry_save_plugin):
8565         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
8566         (gst_xml_registry_save_plugin):
8567         * tools/gst-inspect.c: (print_plugin_info):
8568           add a "source" plugin description field, to represent the source
8569           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
8570           will set it to PACKAGE, which is automake's idea of the name of
8571           the source project.
8572
8573 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8574
8575         * Makefile.am:
8576         * autogen.sh:
8577         * configure.ac:
8578         * docs/Makefile.am:
8579         * docs/faq/Makefile.am:
8580         * docs/gst/tmpl/gstelement.sgml:
8581         * docs/gst/tmpl/gsttypes.sgml:
8582         * docs/htmlinstall.mak:
8583         * docs/manual/Makefile.am:
8584         * docs/pwg/Makefile.am:
8585           reorganize doc build a little
8586           split out docbook and gtk-doc stuff
8587           have two separate --enable's and enable them through autogen
8588           but disable by default in configure (to be similar to other
8589           projects)
8590         * gstreamer.spec.in:
8591           clean up docs install
8592         * po/af.po:
8593         * po/az.po:
8594         * po/ca.po:
8595         * po/cs.po:
8596         * po/de.po:
8597         * po/en_GB.po:
8598         * po/fr.po:
8599         * po/it.po:
8600         * po/nb.po:
8601         * po/nl.po:
8602         * po/ru.po:
8603         * po/sq.po:
8604         * po/sr.po:
8605         * po/sv.po:
8606         * po/tr.po:
8607         * po/uk.po:
8608         * po/vi.po:
8609           translation updates
8610
8611 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
8612
8613         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
8614           Add comment.
8615           
8616         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
8617         (gst_fake_sink_change_state):
8618           Make state change function thread-safe.
8619           
8620         * gst/gstpad.c: (gst_pad_alloc_buffer):
8621           Set offset on generic buffer allocated by fallback.
8622
8623 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
8624
8625         * docs/gst/gstreamer-sections.txt:
8626         * docs/gst/tmpl/gstelement.sgml:
8627         * gst/gstpad.c:
8628         * libs/gst/controller/gst-controller.c:
8629         (gst_controlled_property_set_interpolation_mode),
8630         (gst_controlled_property_new),
8631         (gst_controller_find_controlled_property):
8632          run the wingo-magic script against the docs
8633
8634 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
8635
8636         * docs/gst/gstreamer-docs.sgml:
8637         * docs/gst/gstreamer-sections.txt:
8638         * docs/gst/tmpl/.cvsignore:
8639         * docs/gst/tmpl/gstelementdetails.sgml:
8640         * docs/gst/tmpl/gstelementfactory.sgml:
8641         * gst/gst.c:
8642         * gst/gstbus.c:
8643         * gst/gstelementfactory.c:
8644         * gst/gstelementfactory.h:
8645           merged elementdetails docs into elementfactory docs
8646           inlined both
8647
8648 2005-09-02  Andy Wingo  <wingo@pobox.com>
8649
8650         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
8651         consider this enum an enum and not a flags.
8652
8653 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
8654
8655         * docs/gst/gstreamer-docs.sgml:
8656         * docs/gst/tmpl/.cvsignore:
8657         * docs/gst/tmpl/gstghostpad.sgml:
8658         * docs/gst/tmpl/gstiterator.sgml:
8659         * docs/gst/tmpl/gstmacros.sgml:
8660         * docs/gst/tmpl/gstrealpad.sgml:
8661         * docs/gst/tmpl/gstregistry.sgml:
8662         * docs/gst/tmpl/gstregistrypool.sgml:
8663         * docs/gst/tmpl/gststructure.sgml:
8664         * docs/gst/tmpl/gstsystemclock.sgml:
8665         * docs/gst/tmpl/gsttrace.sgml:
8666         * gst/gstghostpad.c:
8667         * gst/gstmacros.h:
8668         * gst/gstmemchunk.c:
8669         * gst/gstmemchunk.h:
8670         * gst/gstqueue.c:
8671         * gst/gstregistry.c:
8672         * gst/gstregistrypool.c:
8673         * gst/gststructure.c:
8674         * gst/gstsystemclock.c:
8675           more docs inlined
8676
8677 2005-09-02  Andy Wingo  <wingo@pobox.com>
8678
8679         * gst/gstelement.h (GstState): Renamed from GstElementState,
8680         changed to be a normal enum instead of flags.
8681         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
8682         munged to be GST_STATE_CHANGE_*.
8683         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
8684         work with the new state representation.
8685         (GstStateChange): New enumeration of possible state transitions.
8686         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
8687         (GstElementClass::change_state): Pass the GstStateChange along as
8688         an argument. Helps language bindings, so they don't have to use
8689         tricky lock-needing macros like GST_STATE_CHANGE ().
8690
8691         * scripts/update-states (file): New script. Run it on a file to
8692         update it for state naming and API changes. Updates files in
8693         place.
8694
8695         * All files updated for the new API.
8696
8697 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8698
8699         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
8700         * gst/gstutils.c: (gst_util_set_value_from_string),
8701         (gst_util_set_object_arg):
8702           fix a bunch of unchecked return values
8703         * tools/gst-complete.c: (main):
8704         * gstreamer.spec.in:
8705           clean up a little
8706
8707 2005-09-01  Wim Taymans  <wim@fluendo.com>
8708
8709         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8710         (gst_base_sink_event), (gst_base_sink_do_sync),
8711         (gst_base_sink_handle_event):
8712         * gst/base/gstbasesink.h:
8713         Handle newsegments more correctly.
8714
8715         * gst/gstbus.c:
8716         Fix docs.
8717
8718         * gst/gstevent.c: (gst_event_new_newsegment):
8719         A newsegment cannot have a start_time of -1
8720
8721 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
8722
8723         * win32/gstenumtypes.c:
8724         * win32/gstenumtypes.h:
8725           Update
8726
8727 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
8728
8729         * libs/gst/controller/gst-controller.c:
8730         (gst_controlled_property_set_interpolation_mode),
8731         (gst_controlled_property_new):
8732          fixed boolean again
8733
8734 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
8735
8736         * docs/faq/gst-uninstalled:
8737           add -good
8738         * gst/gstevent.c:
8739         * gst/gstevent.h:
8740           remove wrong docs
8741         * gst/gstutils.c: (gst_element_link_filtered):
8742         * gst/gstutils.h:
8743           add gst_element_link_filtered
8744
8745 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
8746
8747         * docs/gst/gstreamer-docs.sgml:
8748         * docs/gst/gstreamer-sections.txt:
8749         * docs/gst/tmpl/.cvsignore:
8750         * docs/gst/tmpl/gsterror.sgml:
8751         * docs/gst/tmpl/gstfilter.sgml:
8752         * docs/gst/tmpl/gsturihandler.sgml:
8753         * docs/gst/tmpl/gsturitype.sgml:
8754         * docs/gst/tmpl/gstutils.sgml:
8755         * docs/gst/tmpl/gstxml.sgml:
8756         * gst/gsterror.c:
8757         * gst/gsterror.h:
8758         * gst/gstfilter.c:
8759         * gst/gsturi.c:
8760         * gst/gsturitype.c:
8761         * gst/gstutils.c:
8762         * gst/gstxml.c:
8763           inlined more docs, fixed double id-ref
8764
8765 2005-08-31  Wim Taymans  <wim@fluendo.com>
8766
8767         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8768         (gst_base_transform_handle_buffer):
8769         Passthrough elements don't need the caps as they don't care.
8770
8771 2005-08-31  Wim Taymans  <wim@fluendo.com>
8772
8773         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8774         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
8775         Don't leak refcounts on buffers.
8776
8777 2005-08-31  Wim Taymans  <wim@fluendo.com>
8778
8779         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
8780         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
8781         (gst_base_transform_chain), (gst_base_transform_change_state):
8782         * gst/base/gstbasetransform.h:
8783         Handle the case where we are not negotiated more gracefully.
8784
8785 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
8786
8787         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
8788         (gst_file_src_map_region):
8789           Set READONLY flag on mmap'ed buffers, otherwise
8790           gst_buffer_make_writable() won't work properly (#314708).
8791
8792 2005-08-31  Wim Taymans  <wim@fluendo.com>
8793
8794         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
8795         passthrough elements can even do inplace on non writable
8796         buffers (as they don't touch them).
8797
8798 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
8799
8800         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8801         (gst_test_mono_source_set_property),
8802         (gst_test_mono_source_class_init), (GST_START_TEST),
8803         (gst_controller_suite):
8804           more tests (hehe I have the most)
8805         * gst/gstbus.c:
8806           describe popping messages whenusing mulltiple sources
8807         * libs/gst/controller/gst-controller.c:
8808         (gst_controlled_property_set_interpolation_mode),
8809         (gst_controlled_property_new):
8810         * libs/gst/controller/gst-controller.h:
8811         * libs/gst/controller/gst-interpolation.c:
8812           implement boolean properties
8813
8814 2005-08-31  Wim Taymans  <wim@fluendo.com>
8815
8816         * gst/gstminiobject.c: (gst_mini_object_ref):
8817         Cannot assert that the refcount has to be positive
8818         since a disposed object can be resurrected.
8819
8820 2005-08-31  Wim Taymans  <wim@fluendo.com>
8821
8822         * gst/gstpad.c: (gst_pad_init):
8823         Revert change, need to first fix badly behaving 
8824         apps.
8825
8826 2005-08-30  Wim Taymans  <wim@fluendo.com>
8827
8828         * check/elements/fakesrc.c: (setup_fakesrc):
8829         * check/elements/identity.c: (setup_identity):
8830         Activate pads before using them.
8831
8832 2005-08-30  Wim Taymans  <wim@fluendo.com>
8833
8834         * gst/base/gstadapter.c: (gst_adapter_flush):
8835         Flushing out 0 bytes is ok for this function.
8836
8837         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8838         no newsegment gives a warning and sets the start/stop to 
8839         invalid.
8840
8841         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
8842         (gst_base_transform_set_passthrough):
8843         Some debug info.
8844
8845         * gst/gstminiobject.c: (gst_mini_object_ref):
8846         Check refcount here too.
8847
8848         * gst/gstpad.c: (gst_pad_init):
8849         Pads are initially flushing and refusing data.
8850
8851         * gst/gstutils.c: (gst_element_link_pads_filtered):
8852         When adding a capsfilter element make sure it has the
8853         same state as the parent bin.
8854
8855 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
8856
8857         * docs/gst/tmpl/.cvsignore:
8858         * docs/gst/tmpl/gstformat.sgml:
8859         * docs/gst/tmpl/gstversion.sgml:
8860         * gst/gstbus.h:
8861         * gst/gstformat.c:
8862         * gst/gstformat.h:
8863         * gst/gstversion.h.in:
8864           more docs and two more inlined
8865
8866 2005-08-30  Wim Taymans  <wim@fluendo.com>
8867
8868         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
8869         Don't sync to clock.
8870
8871 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
8872
8873         * docs/gst/gstreamer-sections.txt:
8874           ultral33t func10ns deserve to appear in the docs actually
8875         * docs/gst/tmpl/.cvsignore:
8876         * docs/gst/tmpl/gstcompat.sgml:
8877         * docs/gst/tmpl/gstconfig.sgml:
8878         * gst/check/gstcheck.c:
8879         * gst/gstcompat.h:
8880         * gst/gstconfig.h.in:
8881           inlined more docs
8882
8883 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
8884
8885         * docs/gst/tmpl/.cvsignore:
8886         * docs/gst/tmpl/gstquery.sgml:
8887         * docs/gst/tmpl/gstutils.sgml:
8888         * gst/gstquery.c:
8889         * gst/gstquery.h:
8890           inlined and extended docs
8891
8892 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
8893
8894         * check/gst-libs/controller.c: (GST_START_TEST),
8895         (gst_controller_suite):
8896           more tests
8897         * docs/gst/tmpl/gstutils.sgml:
8898         * docs/libs/gstreamer-libs-sections.txt:
8899         * docs/libs/tmpl/gstdataprotocol.sgml:
8900           include path fixes
8901         * examples/controller/audio-example.c: (main):
8902           controller example works now
8903         * gst/gstclock.h:
8904           doc fixes
8905         * tools/gst-inspect.c: (print_element_properties_info):
8906           show param spec flags
8907
8908 2005-08-29  Andy Wingo  <wingo@pobox.com>
8909
8910         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
8911
8912 2005-08-28  Andy Wingo  <wingo@pobox.com>
8913
8914         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
8915         as having two arguments instead of just one. Allows superclasses
8916         to access information on subclasses -- see the terrible for() loop
8917         in gtype.c:g_type_create_instance for the reason why. All callers
8918         changed.
8919
8920 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
8921
8922         * docs/design/part-messages.txt:
8923           update info
8924         * docs/gst/tmpl/.cvsignore:
8925         * docs/gst/tmpl/gstcaps.sgml:
8926         * docs/gst/tmpl/gstclock.sgml:
8927         * gst/gstbus.c:
8928         * gst/gstcaps.c:
8929         * gst/gstcaps.h:
8930         * gst/gstclock.c:
8931         * gst/gstclock.h:
8932         * gst/gstmessage.c:
8933           added descriptions for bus and message
8934           inline caps and clock docs
8935
8936 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
8937
8938         * gst/gstmessage.c:
8939         * gst/gstmessage.h:
8940           doc fixes
8941
8942 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
8943
8944         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
8945           fix div-by-zero
8946
8947 2005-08-26  Andy Wingo  <wingo@pobox.com>
8948
8949         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
8950         element_set_state's return val.
8951         (test_2_elements): Add test that's been disabled for months.
8952
8953         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
8954         can-activate-pull properties.
8955
8956         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
8957         can-activate-pull properties. Implement is_seekable so fakesrc can
8958         operate in pull mode.
8959
8960         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
8961         properties.
8962         (gst_base_sink_activate, gst_base_sink_activate_pull)
8963         (gst_base_sink_activate_push): Make activation mode choosing work.
8964         Cleanups.
8965         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
8966         is right. Make pull mode work. Post an eos before pausing in pull
8967         mode.
8968         (gst_base_sink_change_state): Pay attention to the core's
8969         change_state() return val.
8970         
8971         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
8972         has-getrange properties. Cleanups.
8973         
8974         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
8975         has_getrange and replace with can_activate_pull and
8976         can_activate_push.
8977
8978         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
8979         locking comments. Remove has_loop, has_chain and replace with
8980         can_activate_pull and can_activate_push.
8981
8982 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
8983
8984         * configure.ac:
8985         * examples/Makefile.am:
8986         * examples/metadata/Makefile.am:
8987         * examples/metadata/read-metadata.c: (message_loop),
8988         (have_pad_handler), (make_pipeline), (print_tag), (main):
8989           Add metadata reading example that loops over a list of filenames,
8990           dumping any tags found.
8991
8992         * gst/gstbus.c: (gst_bus_dispose):
8993         * gst/gstelement.c: (gst_element_dispose):
8994           Release a few potentially-held references in dispose.
8995
8996 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
8997
8998         * docs/gst/tmpl/gstminiobject.sgml:
8999           do *not* add tmpl/*.sgml files to CVS!
9000
9001 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
9002
9003         * libs/gst/bytestream/.cvsignore:
9004         * libs/gst/bytestream/Makefile.am:
9005         * libs/gst/bytestream/adapter.c:
9006         * libs/gst/bytestream/adapter.h:
9007         * libs/gst/bytestream/bytestream.c:
9008         * libs/gst/bytestream/bytestream.h:
9009         * libs/gst/bytestream/filepad.c:
9010         * libs/gst/bytestream/filepad.h:
9011           removing obsolete files
9012
9013 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
9014
9015         * docs/gst/gstreamer-docs.sgml:
9016         * docs/libs/gstreamer-libs-docs.sgml:
9017           disabed additional index entries again, as this makes docs-gen just
9018           slow and they aren't useful yet
9019         * docs/libs/gstreamer-libs-sections.txt:
9020           little -section.txt cleanup for libs
9021
9022 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
9023
9024         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9025         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
9026           fix up some debugging
9027         (gst_base_transform_get_unit_size),
9028         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
9029         (gst_base_transform_handle_buffer):
9030         * gst/base/gstbasetransform.h:
9031           handle and store timed NEWSEGMENT events so that subclasses that
9032           calculate time by counting samples have a segment_start time they
9033           need to add to their timestamps - see audioresample
9034
9035 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
9036
9037         * gst/gstbin.h:
9038           removed ';' from the end of macro defs
9039         * docs/gst/gstreamer-docs.sgml:
9040         * docs/gst/gstreamer-sections.txt:
9041         * docs/gst/tmpl/.cvsignore:
9042         * gst/gstbus.h:
9043         * gst/gstelement.c: (gst_element_class_init),
9044         (gst_element_set_state), (activate_pads),
9045         (gst_element_save_thyself):
9046         * gst/gstevent.c: (gst_event_new_newsegment):
9047         * gst/gstevent.h:
9048         * gst/gstiterator.c:
9049         * gst/gstiterator.h:
9050         * gst/gstpad.c:
9051         * gst/gstprobe.h:
9052         * gst/gstutils.c: (gst_pad_query_convert):
9053         * gst/gstutils.h:
9054           fixed parameter name mismatches between source, header and docs
9055           added some more docs, resolved the last batch of unused elements in
9056           docs (now someone needs to doc them)
9057
9058 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
9059
9060         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
9061         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
9062           don't walk through the plugins backwards.  Where is all this
9063           reversed logic coming from ?
9064
9065 2005-08-25  Wim Taymans  <wim@fluendo.com>
9066
9067         * gst/base/gstbasetransform.c: (gst_base_transform_init),
9068         (gst_base_transform_transform_size),
9069         (gst_base_transform_configure_caps),
9070         (gst_base_transform_get_unit_size),
9071         (gst_base_transform_buffer_alloc),
9072         (gst_base_transform_change_state):
9073         * gst/base/gstbasetransform.h:
9074         Cache caps unit_size.
9075         Make sure we cannot negotiate up and downstream at the
9076         same time.
9077
9078 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
9079
9080         * gst/gst.c: (init_pre), (init_post):
9081           register the installed plugin path after the env var
9082         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
9083         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
9084           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
9085           directories, so the tests can prefer uninstalled over installed
9086
9087 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
9088
9089         * gst/base/gstbasetransform.h:
9090           comment
9091         * gst/gstpad.c:
9092           add to docs
9093
9094 2005-08-25  Wim Taymans  <wim@fluendo.com>
9095
9096         * gst/gstbin.c: (bin_bus_handler):
9097         Be a bit more conservative about the posted message.
9098         
9099         * gst/gstbus.c: (gst_bus_post):
9100         Some cleanups, warn wrong return values.
9101
9102 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
9103
9104         * check/gst/gstbin.c: (GST_START_TEST):
9105         * gst/gstbin.c: (bin_bus_handler):
9106         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
9107         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
9108         (gst_message_new_warning), (gst_message_new_tag),
9109         (gst_message_new_state_changed), (gst_message_new_segment_start),
9110         (gst_message_new_segment_done), (gst_message_new_custom):
9111         * gst/gstmessage.h:
9112         * tools/gst-launch.c: (event_loop):
9113         * tools/gst-md5sum.c: (event_loop):
9114           Revert unpopular change for GST_MESSAGE_SRC to GObject.
9115
9116 2005-08-25  Wim Taymans  <wim@fluendo.com>
9117
9118         * check/generic/states.c: (GST_START_TEST):
9119         Cleanup can be done at the end.
9120
9121         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
9122         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
9123         (gst_task_get_state), (gst_task_start), (gst_task_pause):
9124         Oh boy.. Thanks for finding this, Thomas. 
9125
9126 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
9127
9128         * docs/gst/gstreamer.types:
9129           added missing types
9130
9131 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
9132
9133         * docs/gst/gstreamer-docs.sgml:
9134         * docs/gst/gstreamer-sections.txt:
9135         * docs/gst/tmpl/.cvsignore:
9136         * gst/gstbin.c:
9137         * gst/gstiterator.c:
9138         * gst/gstutils.c:
9139         * gst/registries/gstxmlregistry.h:
9140           added missing classes and symbols (123 more to go)
9141           removed removed symbols from section file
9142           fixed many doc-comments
9143
9144 2005-08-24  Wim Taymans  <wim@fluendo.com>
9145
9146         * check/generic/states.c: (GST_START_TEST):
9147         Make sure all tasks are stopped.
9148
9149         * check/gst/gstbin.c: (GST_START_TEST):
9150         Unref after usage for proper valgrinding.
9151
9152         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
9153         Really wait for the task to stop before destroying the
9154         mutex.
9155
9156         * gst/gstqueue.c: (gst_queue_sink_activate_push),
9157         (gst_queue_src_activate_push):
9158         Small cleanups. Don't stop the task when we did not start
9159         it.
9160
9161         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
9162         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
9163         (gst_task_get_state), (gst_task_start), (gst_task_pause),
9164         (gst_task_join):
9165         * gst/gsttask.h:
9166         Protect the stream lock with the object lock.
9167         Disallow setting the stream lock when running.
9168         Add cleanup_all to wait for the threadpool to finish.
9169         Remove code to autoallocate a mutex if none was provided.
9170         Add _join() to wait for a task to stop.
9171         Protect the thread pool with a global lock.
9172
9173 2005-08-24  Wim Taymans  <wim@fluendo.com>
9174
9175         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9176         (gst_base_sink_get_times), (gst_base_sink_do_sync),
9177         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
9178         * gst/base/gstbasesink.h:
9179         Handle newsegment events correctly.
9180         Drop buffers out of the segment range.
9181
9182 2005-08-22  Andy Wingo  <wingo@pobox.com>
9183
9184         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
9185         macro, implements an interface and gstimplementsinterface for a
9186         new type.
9187
9188 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9189
9190         * check/Makefile.am:
9191         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
9192           add a test that does a bunch of state changes on elements
9193           needs some fixing for valgrind
9194         * check/states/sinks.c: (gst_object_suite):
9195           whitespace
9196         * gst/gstcaps.h:
9197           add prototype for gst_caps_is_equal_fixed
9198         * gst/gstplugin.c:
9199         * gst/gstregistrypool.c:
9200           doc fixes
9201
9202 2005-08-24  Andy Wingo  <wingo@pobox.com>
9203
9204         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
9205         convert a negative value. Doesn't make much sense. Mostly this is
9206         here to force callers to ensure -1 maps to -1.
9207
9208 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
9209
9210         * docs/pwg/advanced-types.xml:
9211           Well done to Michael for catching my deliberate introduction
9212           of this spelling mistake. 
9213         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
9214         * gst/gstelement.h:
9215           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
9216           unlink pads before removing the element from the bin.
9217
9218 2005-08-24  Andy Wingo  <wingo@pobox.com>
9219
9220         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
9221         the same thing as GST_DEBUG=*:4.
9222         (parse_debug_level, parse_debug_category): New helper parsers.
9223
9224 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9225
9226         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9227         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
9228         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
9229         (gst_base_transform_buffer_alloc),
9230         (gst_base_transform_handle_buffer):
9231           use gboolean return values and pointers to size so we can use the
9232           full GST_BUFFER_SIZE range (guint) for buffer sizes
9233           use GstPadDirection for transform_caps
9234         * gst/base/gstbasetransform.h:
9235           rename get_size to get_unit_size since that's what it is
9236         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
9237           use GstPadDirection for transform_caps
9238         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
9239         * gst/gstutils.h:
9240           cleanup and debugging
9241
9242 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
9243
9244         * gst/gstelement.c: (gst_element_class_init),
9245         (gst_element_set_state), (activate_pads),
9246         (gst_element_save_thyself):
9247         * tools/gst-compprep.c: (main):
9248         * tools/gst-inspect.c: (print_element_properties_info):
9249         * tools/gst-xmlinspect.c: (print_element_properties):
9250           Fixed long standing mem-leak
9251
9252 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
9253
9254         * check/gst/gstbin.c: (GST_START_TEST):
9255         * gst/gstbin.c: (bin_bus_handler):
9256         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
9257         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
9258         (gst_message_new_warning), (gst_message_new_tag),
9259         (gst_message_new_state_changed), (gst_message_new_segment_start),
9260         (gst_message_new_segment_done), (gst_message_new_custom):
9261         * gst/gstmessage.h:
9262         * tools/gst-launch.c: (event_loop):
9263         * tools/gst-md5sum.c: (event_loop):
9264           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
9265           that applications can sensibly post custom messages with references
9266           to their own objects.
9267
9268 2005-08-24  Andy Wingo  <wingo@pobox.com>
9269
9270         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
9271         already.
9272
9273 2005-08-24  Wim Taymans  <wim@fluendo.com>
9274
9275         * gst/base/gstbasetransform.c: (gst_base_transform_init),
9276         (gst_base_transform_transform_caps),
9277         (gst_base_transform_transform_size),
9278         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9279         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9280         (gst_base_transform_handle_buffer):
9281         * gst/base/gstbasetransform.h:
9282         Many fixes and new features added by Thomas. Can now also do
9283         transforms with variable sizes and a custom fixate_caps function.
9284
9285 2005-08-24  Wim Taymans  <wim@fluendo.com>
9286
9287         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
9288         Some debugging.
9289
9290         * gst/gstclock.h:
9291         Cast to ClockTime before formatting to time.
9292
9293         * gst/gstutils.h:
9294         Cleanups.
9295
9296 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
9297
9298         * check/gst-libs/controller.c: (GST_START_TEST),
9299         (gst_controller_suite):
9300         * docs/gst/tmpl/gstcaps.sgml:
9301         * docs/gst/tmpl/gstghostpad.sgml:
9302         * docs/gst/tmpl/gstquery.sgml:
9303         * docs/gst/tmpl/gstutils.sgml:
9304         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
9305         (gst_object_sink_values), (gst_object_get_value_arrays),
9306         (gst_object_get_value_array):
9307           gracefully handle helper method calls to objects that are not beeing
9308           controlled, added test case for that          
9309
9310 2005-08-23  Wim Taymans  <wim@fluendo.com>
9311
9312         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
9313         (gst_event_new_newsegment), (gst_event_parse_newsegment),
9314         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
9315         (gst_event_parse_qos), (gst_event_new_seek),
9316         (gst_event_parse_seek):
9317         * gst/gstevent.h:
9318         Some more debugging output and doc cleanups.
9319
9320         * gst/gstqueue.c: (gst_queue_handle_sink_event):
9321         Fix possible deadlock.
9322
9323 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
9324
9325         * docs/gst/gstreamer-docs.sgml:
9326         * docs/gst/gstreamer-sections.txt:
9327         * docs/gst/gstreamer.types:
9328         * docs/gst/tmpl/.cvsignore:
9329         * gst/gstbin.h:
9330         * gst/gstbus.c:
9331         * gst/gstelement.c:
9332         * gst/gstevent.h:
9333           added 100 symbols from gstreamer-unused.txt to the right sections
9334           fixed more broken comments
9335           added GstBus to docs
9336
9337 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
9338
9339         * docs/gst/gstreamer-sections.txt:
9340         * docs/gst/tmpl/.cvsignore:
9341         * docs/gst/tmpl/gstbin.sgml:
9342         * docs/gst/tmpl/gstbuffer.sgml:
9343         * gst/base/gstbasesrc.c:
9344         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
9345         * gst/gstbuffer.c:
9346         * gst/gstbuffer.h:
9347         * tools/gst-launch.1.in:
9348           inlined more doc comments, added missing comments and fixed comments
9349           fixed typos
9350
9351 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
9352
9353         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
9354           some debugging
9355         * gst/gstcaps.h:
9356           whitespace fixes
9357         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
9358           more debugging
9359         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
9360         * gst/gststructure.h:
9361           add a fixate function for booleans; add a FIXME that these func
9362           names should probably be gst_structure_fixate_*
9363
9364 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
9365
9366         * docs/gst/gstreamer-docs.sgml:
9367         * docs/gst/gstreamer-sections.txt:
9368         * gst/Makefile.am:
9369         * gst/gstbin.c: (gst_bin_get_type),
9370         (gst_bin_child_proxy_get_child_by_index),
9371         (gst_bin_child_proxy_get_children_count),
9372         (gst_bin_child_proxy_init):
9373         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
9374         (gst_child_proxy_get_child_by_index),
9375         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
9376         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
9377         (gst_child_proxy_get), (gst_child_proxy_set_property),
9378         (gst_child_proxy_set_valist), (gst_child_proxy_set),
9379         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
9380         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
9381         * gst/gstchildproxy.h:
9382         * gst/parse/grammar.y:
9383         * tools/gst-inspect.c: (print_interfaces),
9384         (print_element_properties_info), (print_element_info):
9385           ported gstchildproxy over from 0.8
9386           ported gst-inspect fixes and enhancements over from 0.8
9387
9388 2005-08-22  Wim Taymans  <wim@fluendo.com>
9389
9390         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9391         (gst_base_transform_handle_buffer):
9392         Also call the transform function if we have ANY caps.
9393
9394         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
9395         Fix debug info.
9396
9397 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
9398
9399         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
9400           Don't pretend to handle seek events if the source is not seekable
9401
9402 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
9403
9404         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9405           Remove extra parameter to debug output
9406
9407         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9408         (gst_base_src_do_seek), (gst_base_src_activate_push):
9409           Fix seek event handling.
9410
9411         * gst/gstpipeline.c: (gst_pipeline_change_state):
9412         * gst/gstqueue.c: (gst_queue_handle_sink_event),
9413         (gst_queue_src_activate_push):
9414           Don't start the src pad task on FLUSH_STOP if the pad
9415           isn't linked.
9416           Debug changes.
9417
9418 2005-08-22  Wim Taymans  <wim@fluendo.com>
9419
9420         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
9421         Added check for gst_static_caps_get() refcounting.
9422
9423 2005-08-22  Wim Taymans  <wim@fluendo.com>
9424
9425         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
9426         Make _static_caps_get() refcounting sane.
9427         
9428         * gst/gstelement.c: (gst_element_set_state):
9429         Add g_return_val_if_fail() to protect against segfaults.
9430
9431 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
9432
9433         * docs/gst/tmpl/gstevent.sgml:
9434         * gst/gstevent.c:
9435         * gst/gstevent.h:
9436           inlined remaining docs, added missing doc comments
9437
9438 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9439
9440         * check/gst/gstbin.c: (GST_START_TEST):
9441           since we don't know when preroll is done, use refcount range
9442           check for the sink
9443         * gst/check/gstcheck.h:
9444           add macro for checking refcount range
9445
9446 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9447
9448         * check/Makefile.am:
9449           clean up environment for when registry gets built versus
9450           when actual tests are run; valgrind seems to not report
9451           leaks if GST_PLUGIN_PATH is set to some specific values
9452         * check/gst/gstbin.c: (GST_START_TEST):
9453           add more refcounting checks; maybe this exposes a
9454           preroll lock bug ?
9455         * common/check.mak:
9456         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9457         * gst/check/gstcheck.h:
9458         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
9459         (gst_bin_change_state):
9460         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
9461           add/fix debugging/whitespace
9462
9463 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
9464
9465         * check/gst/gstevent.c: (event_probe), (test_event),
9466         (GST_START_TEST):
9467          Er, don't call gst_bin_watch_for_state_change you idiot.
9468
9469 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
9470
9471         * check/Makefile.am:
9472           Use CHECK_CFLAGS and CHECK_LIBS
9473         * check/gst/gstevent.c: (event_probe), (test_event),
9474         (GST_START_TEST):
9475           Don't leak events.
9476         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9477         (gst_base_src_start), (gst_base_src_stop),
9478         (gst_base_src_activate_push), (gst_base_src_activate_pull),
9479         (gst_base_src_change_state):
9480           Sprinkle gst_base_src_stop liberally around error paths to fix
9481           problems reusing a source after failed state changes.
9482         * gst/base/gsttypefindhelper.c: (helper_find_peek),
9483         (helper_find_suggest), (gst_type_find_helper):
9484           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
9485         * gst/gstevent.h:
9486         * docs/gst/tmpl/gstevent.sgml:
9487           Migrate part of the docs from the SGML file. Wait for ensonic to
9488           tell me how I did it wrong ;)
9489         * tools/gst-typefind.c: (main):
9490           Extra robustness to state changes between files.
9491
9492 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9493
9494         * check/Makefile.am:
9495           don't valgrind the controller test - it's leaking - Stefan, HELP
9496         * gst/check/gstcheck.c: (gst_check_message_error),
9497         (gst_check_chain_func), (gst_check_setup_element),
9498         (gst_check_teardown_element), (gst_check_setup_src_pad),
9499         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9500         (gst_check_teardown_sink_pad):
9501         * gst/check/gstcheck.h:
9502           add a bunch of methods to set up elements, and src and sink pads
9503         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
9504         * check/elements/identity.c: (setup_identity), (cleanup_identity),
9505         (GST_START_TEST):
9506           use them
9507         * gst/gstmessage.c:
9508         * gst/gsttag.h:
9509           whitespace/doc fixes
9510
9511 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
9512
9513         * gst/gstelement.h:
9514           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
9515           be handled by the application and not always printed as well
9516
9517 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
9518
9519         * check/Makefile.am:
9520           set GST_TOOLS_DIR
9521         * gst/check/gstcheck.c: (gst_check_message_error):
9522         * gst/check/gstcheck.h:
9523           add a fail_unless_equals_int
9524           add fail_unless for error messages
9525
9526 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
9527
9528         * check/Makefile.am:
9529         * check/gst.supp:
9530         * common/Makefile.am:
9531         * common/check.mak:
9532         * common/gst.supp:
9533           factor out some of the common stuff so we can use it
9534
9535 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
9536
9537         * check/Makefile.am:
9538         * check/gst/gstiterator.c: (GST_START_TEST):
9539         * check/gst/gstsystemclock.c: (GST_START_TEST),
9540         (gst_systemclock_suite):
9541         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9542         * gst/gstclock.c:
9543           valgrind more tests
9544
9545 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
9546
9547         * check/elements/.cvsignore:
9548         * check/elements/gstfakesrc.c:
9549           rename to name of element
9550         * check/elements/identity.c: (chain_func), (event_func),
9551         (setup_identity), (cleanup_identity), (GST_START_TEST),
9552         (identity_suite), (main):
9553           add a test for identity
9554         * check/Makefile.am:
9555         * pkgconfig/Makefile.am:
9556         * pkgconfig/gstreamer-check.pc.in:
9557         * pkgconfig/gstreamer-check-uninstalled.pc.in:
9558         * gst/check:
9559         * gst/Makefile.am:
9560         * configure.ac:
9561           move the check stuff to a library that gets installed
9562         * check/gst-libs/controller.c: (GST_START_TEST):
9563         * check/gst-libs/gdp.c:
9564         * check/gst/gst.c: (GST_START_TEST):
9565         * check/gst/gstbin.c:
9566         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9567         * check/gst/gstbus.c:
9568         * check/gst/gstcaps.c: (GST_START_TEST):
9569         * check/gst/gstelement.c:
9570         * check/gst/gstghostpad.c:
9571         * check/gst/gstiterator.c:
9572         * check/gst/gstmessage.c:
9573         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
9574         * check/gst/gstobject.c:
9575         * check/gst/gstpad.c: (GST_START_TEST):
9576         * check/gst/gststructure.c: (GST_START_TEST):
9577         * check/gst/gstsystemclock.c: (GST_START_TEST),
9578         (gst_systemclock_suite):
9579         * check/gst/gsttag.c: (gst_tag_suite):
9580         * check/gst/gstvalue.c:
9581         * check/pipelines/cleanup.c:
9582         * check/pipelines/simple_launch_lines.c:
9583         * check/states/sinks.c:
9584           change include statement
9585
9586         * docs/gst/gstreamer-sections.txt:
9587         * docs/gst/tmpl/gstpad.sgml:
9588           document more pad stuff
9589         * gst/gstminiobject.c: (gst_mini_object_ref),
9590         (gst_mini_object_unref):
9591           debug refcounting
9592
9593 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
9594
9595         * docs/gst/tmpl/gst.sgml:
9596         * gst/gst.c:
9597           eliminate another tmpl file, fix spelling in the long-description
9598
9599 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
9600
9601         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
9602         (test_event), (timediff), (gstevents_suite):
9603           Should fix build on 64-bit arch's
9604
9605 2005-08-18  Andy Wingo  <wingo@pobox.com>
9606
9607         Make sure that when a pipeline goes to PLAYING, that data has
9608         actually hit the sink.
9609
9610         * check/states/sinks.c (test_sink): A sink that doesn't get any
9611         data shouldn't return SUCCESS for going to either PLAYING or
9612         PAUSED. Test also the return values on the way back down.
9613
9614         * gst/gstelement.c (gst_element_set_state): When changing the
9615         state of an element currently changing state asynchronously, go to
9616         lost-state after commiting the pending state. Makes future calls
9617         to get_state continue to return ASYNC.
9618
9619         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
9620         ASYNC when going to PLAYING if we still don't have preroll, as can
9621         happen with live sources.
9622
9623 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
9624
9625         * docs/pwg/advanced-types.xml:
9626           Hack long paragraph into 2 chunks as a workaround for buggy
9627           jadetex version in sid and breezy that loops infinitely and
9628           eats all RAM.
9629
9630 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
9631
9632         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
9633         (test_event), (timediff), (gstevents_suite):
9634           Provide more error margin in clock measurements to allow for 
9635           g_get_current_time inaccuracies.
9636
9637 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
9638
9639         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
9640         (test_event), (timediff), (gstevents_suite):
9641            Fix error message output so I might be able to tell why the
9642            test works here but fails on the build farm.
9643
9644 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
9645
9646         * check/Makefile.am:
9647         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
9648         (test_event), (timediff), (gstevents_suite), (main):
9649           I wrote a test!
9650
9651         * docs/design/part-seeking.txt:
9652           Spelling correction
9653
9654         * docs/gst/tmpl/gstevent.sgml:
9655         * docs/gst/tmpl/gstfakesrc.sgml:
9656           Docs updates.
9657
9658         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9659           Treat a buffer-without-newsegment the same as a receiving 
9660           a newsegment not in time format, and disable syncing to the clock
9661           with a warning.
9662
9663         * gst/gstbus.c: (gst_bus_set_sync_handler):
9664           Assert if anyone tries to replace the existing sync_handler for bus, 
9665           as only the owner should be setting it.
9666
9667         * gst/gstevent.h:
9668           Have a fixed set of custom event enums with events identified by
9669           their structure name (as in 0.8), rather than a free-for-all
9670           allowing collisions between enum values from different plugins.
9671
9672         * gst/gstpad.c: (gst_pad_class_init):
9673           Docs change.
9674           
9675         * gst/gstqueue.c: (gst_queue_handle_sink_event):
9676           Handle out-of-band downstream events from the sending thread.
9677
9678 2005-08-17  Andy Wingo  <wingo@pobox.com>
9679
9680         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
9681         play-timeout==0 to mean no timeout at all. In that case, don't
9682         bother with a get_state or a warning, just return directly, even
9683         if it's ASYNC.
9684
9685         * gst/base/gstbasetransform.c: Debug changes.
9686
9687         * gst/gstutils.h:
9688         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
9689         ensure bins post state change messages. A bit of a hack but I can't
9690         think of a way to avoid it.
9691
9692         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
9693
9694 2005-08-16  Andy Wingo  <wingo@pobox.com>
9695
9696         * gst/base/gstadapter.h:
9697         * gst/base/gstadapter.c (gst_adapter_take): New function, like
9698         peek() but you own the data. Not terribly efficient atm.
9699
9700 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9701
9702         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
9703         (gst_element_found_tags):
9704         * gst/gstutils.h:
9705           Add two utility functions for tag handling.
9706
9707 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9708
9709         * docs/manual/advanced-dataaccess.xml:
9710         * docs/manual/basics-helloworld.xml:
9711           Fix docs to use _bin_add() before _link(), which fixes the examples
9712           with recent core versions (reported by Madhan Raj M
9713           <raj_madan@rediffmail.com>, #313199).
9714
9715 2005-08-16  Wim Taymans  <wim@fluendo.com>
9716
9717         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9718         Added subtract checks.
9719
9720         * docs/design/part-events.txt:
9721         Some more docs about newsegment
9722
9723         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9724         Fix FIXME
9725
9726         * gst/gstcaps.c: (gst_caps_to_string):
9727         Add comments, cleanups.
9728         
9729         * gst/gstelement.c: (gst_element_save_thyself):
9730         cleanups
9731         
9732         * gst/gstvalue.c: (gst_value_collect_int_range),
9733         (gst_string_unwrap), (gst_value_union_int_int_range),
9734         (gst_value_union_int_range_int_range),
9735         (gst_value_intersect_int_int_range),
9736         (gst_value_intersect_int_range_int_range),
9737         (gst_value_intersect_double_double_range),
9738         (gst_value_intersect_double_range_double_range),
9739         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
9740         (gst_value_subtract_int_range_int),
9741         (gst_value_subtract_double_range_double),
9742         (gst_value_subtract_double_range_double_range),
9743         (gst_value_subtract_from_list), (gst_value_subtract_list),
9744         (gst_value_can_compare), (gst_value_compare_fraction):
9745         Cleanups, add comments, remove unneeded asserts.
9746
9747 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9748
9749         * tools/gst-launch.c: (event_loop):
9750           don't convert NULL structures to strings
9751
9752 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
9753
9754         * docs/gst/gstreamer-sections.txt:
9755           made some defines private
9756         * docs/gst/tmpl/gstconfig.sgml:
9757         * docs/gst/tmpl/gstqueue.sgml:
9758         * docs/gst/tmpl/gsttaglist.sgml:
9759         * docs/gst/tmpl/gsttypes.sgml:
9760         * docs/gst/tmpl/gstutils.sgml:
9761         * docs/pwg/appendix-porting.xml:
9762         * gst/base/gstbasesink.h:
9763         * gst/base/gstbasesrc.c:
9764         * gst/base/gstbasesrc.h:
9765         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
9766         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
9767         * gst/gstelement.c: (gst_element_class_init):
9768         * gst/gstpad.c: (gst_pad_class_init):
9769         * gst/gstqueue.c: (gst_queue_class_init):
9770         * gst/gstxml.c: (gst_xml_class_init):
9771           documented all undocumented signal inline
9772         * libs/gst/controller/gst-controller.h:
9773           added padding
9774
9775 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9776
9777         * docs/pwg/appendix-porting.xml:
9778           Document _set_link_function -> _set_setcaps_function.
9779
9780 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9781
9782         * check/Makefile.am:
9783           add a .check target for running the check
9784         * check/gst-libs/controller.c: (GST_START_TEST):
9785           cosmetic fixups
9786         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9787           complete checks for gstbuffer; would be nice if I could get the
9788           gcov stuff to work so I can see if I actually completed gstbuffer.c
9789         * check/gstcheck.h:
9790           add ASSERT_BUFFER_REFCOUNT
9791
9792 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
9793
9794         * docs/gst/gstreamer-sections.txt:
9795         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
9796         * gst/gsttag.h:
9797           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
9798           spew out a warning if a tag that is already registered
9799           is re-registered, unless it is re-registered with a 
9800           different type (#308438).
9801
9802 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
9803
9804         * docs/pwg/appendix-porting.xml:
9805         * docs/pwg/building-state.xml:
9806           Add some paragraphs about state changes in 0.9 to the PWG
9807           and the porting guide, in particular about the new meaning
9808           of GST_STATE_PAUSED and how to write state change functions
9809           with concurrent access by multiple threads in mind.
9810
9811 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
9812
9813         * docs/gst/gstreamer-docs.sgml:
9814         * docs/libs/gstreamer-libs-docs.sgml:
9815           added deprecation and since indexes
9816         * libs/gst/controller/gst-controller.c:
9817         * libs/gst/controller/gst-helper.c:
9818           added since tags
9819
9820
9821 2005-08-11  Wim Taymans  <wim@fluendo.com>
9822
9823         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
9824         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
9825         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
9826         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
9827         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
9828         (gst_ghost_pad_set_target):
9829         Actually implement (re)setting the target on a ghostpad
9830         as described in the docs.
9831
9832 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
9833
9834         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
9835           Check whether GST_DEBUG_NO_COLOR environment variable is
9836           set and disable coloured debug output if that is the case.
9837
9838 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
9839
9840         * gst/base/gsttypefindhelper.c: (helper_find_peek),
9841         (gst_type_find_helper):
9842           The memory returned by gst_type_find_peek() needs to
9843           stay valid until the end of a typefind function, and
9844           typefind functions may keep results from different 
9845           offsets around, so we can't just unref the buffer from
9846           the previous _peek(), but have to save all buffers 
9847           returned by _peek() until typefinding is done and only
9848           free them then.
9849
9850 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
9851
9852         * docs/gst/gstreamer-sections.txt:
9853         * gst/gstutils.h:
9854           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
9855
9856 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9857
9858         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
9859           Fix a pretty good memleak.
9860
9861 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
9862
9863         * gst/gstiterator.h:
9864           Fix wrong include and 'make distcheck'.
9865
9866 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9867
9868         * gst/gstbin.c: (bin_bus_handler):
9869           Use gst_element_post_message() instead.
9870
9871 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
9872
9873         * gst/base/gstadapter.h:
9874         * gst/base/gstbasesink.h:
9875         * gst/base/gstbasesrc.h:
9876         * gst/base/gstbasetransform.h:
9877         * gst/base/gstcollectpads.h:
9878         * gst/base/gstpushsrc.h:
9879         * gst/gstiterator.h:
9880           Add padding to our base elements' class and instance structs and
9881           to GstIterator (you will need to rebuild all plugins and apps!)
9882
9883 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9884
9885         * gst/gstbin.c: (bin_bus_handler):
9886           Make default message forwarding from child->bus to bin->bus
9887           threadsafe and make it not emit warnings if the parent has no bus.
9888
9889 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9890
9891         * gst/gstelement.c: (activate_pads):
9892           On paused->ready, set pad->caps to NULL, as is the documented
9893           behaviour in this state change. Fixes playback of series of
9894           media files when visualization is enabled in Totem.
9895
9896 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9897
9898         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
9899           Allow NULL as filter-caps (which means "any").
9900
9901 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
9902
9903         * docs/libs/gstreamer-libs-sections.txt:
9904         * libs/gst/controller/gst-controller.c:
9905         * libs/gst/controller/gst-controller.h:
9906         * libs/gst/controller/gst-helper.c:
9907           adding more entries to the docs and fix small doc-bugs
9908
9909 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
9910
9911         * docs/gst/gstreamer-docs.sgml:
9912         * docs/gst/gstreamer-sections.txt:
9913         * docs/gst/gstreamer.types:
9914         * docs/gst/tmpl/gstbasesink.sgml:
9915         * docs/gst/tmpl/gstbasesrc.sgml:
9916         * docs/gst/tmpl/gstbasetransform.sgml:
9917         * docs/gst/tmpl/gstfakesrc.sgml:
9918         * gst/base/gstcollectpads.c:
9919         * gst/base/gstcollectpads.h:
9920         * libs/gst/controller/gst-controller.c:
9921         * libs/gst/controller/gst-controller.h:
9922         * libs/gst/controller/gst-helper.c:
9923         * libs/gst/controller/gst-interpolation.c:
9924         * libs/gst/controller/lib.c:
9925           added long/short desc for controller docs
9926           added collectpads base class docs
9927           added correct includes to base-class docs
9928
9929 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
9930
9931         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
9932         (gst_test_mono_source_set_property),
9933         (gst_test_mono_source_class_init), (GST_START_TEST),
9934         (gst_controller_suite):
9935         * docs/gst/gstreamer-docs.sgml:
9936         * docs/gst/gstreamer-sections.txt:
9937         * docs/gst/gstreamer.types:
9938         * docs/libs/gstreamer-libs-docs.sgml:
9939         * docs/libs/gstreamer-libs-sections.txt:
9940         * gst/base/gstadapter.c:
9941         * libs/gst/controller/gst-controller.c:
9942         (gst_controlled_property_new), (gst_controlled_property_free),
9943         (gst_controller_new_valist),
9944         (gst_controller_remove_properties_valist),
9945         (gst_controller_sink_values), (_gst_controller_finalize):
9946         * libs/gst/controller/gst-controller.h:
9947         * libs/gst/controller/gst-helper.c:
9948         (gst_object_control_properties), (gst_object_uncontrol_properties),
9949         (gst_object_get_controller), (gst_object_set_controller),
9950         (gst_object_sink_values), (gst_object_get_value_arrays),
9951         (gst_object_get_value_array):
9952           more tests (and fixes) for the controller
9953           more docs for the controller
9954           integrated companies docs for the adapter 
9955
9956 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9957
9958         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
9959         (GST_START_TEST), (fakesrc_suite):
9960           add tests for sizetype
9961
9962 2005-08-04  Andy Wingo  <wingo@pobox.com>
9963
9964         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
9965         fixes buffer_alloc proxying among other things.
9966
9967         * gst/base/gstbasetransform.c:
9968         * gst/base/gstbasetransform.h:
9969         Revert patch to gstbasetransform from 7-28 removing
9970         delay_configure.
9971
9972         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
9973         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
9974         Semantics changed, should return not the size of the output buffer
9975         but the byte size of a buffer with a given caps.
9976
9977         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
9978         debug object.
9979         (gst_base_transform_configure_caps): Don't set out_size here: (in,
9980         out) are not the pad caps until setcaps finishes.
9981         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
9982         not-in-place case as well. Deal with changing from in-place to
9983         not-in-place within calling pad_alloc_buffer. Still a bit
9984         concerned about the overhead here...
9985
9986 2005-08-03  Andy Wingo  <wingo@pobox.com>
9987
9988         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
9989         fixating is an error.
9990
9991 2005-08-04  Edward Hervey  <edward@fluendo.com>
9992
9993         * gst/base/gstadapter.h: 
9994         Added gst_adapter_get_type() to the header
9995
9996 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
9997
9998         * check/Makefile.am:
9999         * check/gst-libs/controller.c:
10000         * libs/gst/controller/gst-controller.c:
10001         (gst_controller_new_valist):
10002           added check test suite for the controller
10003         * gst/base/gstpushsrc.c:
10004           fixed a doc typo
10005
10006 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
10007
10008         * docs/gst/Makefile.am:
10009         * docs/gst/gstreamer-docs.sgml:
10010         * docs/gst/gstreamer-sections.txt:
10011         * docs/gst/gstreamer.types:
10012         * docs/gst/tmpl/gstfakesrc.sgml:
10013         * gst/base/README:
10014         * gst/base/gstbasesink.c:
10015         * gst/base/gstbasesink.h:
10016         * gst/base/gstbasesrc.c:
10017         * gst/base/gstbasesrc.h:
10018         * gst/base/gstbasetransform.c:
10019         * gst/base/gstpushsrc.c:
10020         * gst/base/gstpushsrc.h:
10021           add short/long description docs to base classes
10022           add pushsrc to the docs
10023           remove consolidated doc fragments
10024
10025 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
10026
10027         * configure.ac:
10028         * docs/libs/Makefile.am:
10029         * docs/libs/gstreamer-libs-docs.sgml:
10030         * docs/libs/gstreamer-libs-sections.txt:
10031         * docs/libs/gstreamer-libs.types:
10032         * examples/Makefile.am:
10033         * examples/controller/.cvsignore:
10034         * examples/controller/Makefile.am:
10035         * examples/controller/audio-example.c: (main):
10036         * libs/gst/Makefile.am:
10037         * libs/gst/controller/.cvsignore:
10038         * libs/gst/controller/Makefile.am:
10039         * libs/gst/controller/gst-controller.c:
10040         (on_object_controlled_property_changed), (gst_timed_value_compare),
10041         (gst_timed_value_find),
10042         (gst_controlled_property_set_interpolation_mode),
10043         (gst_controlled_property_new), (gst_controlled_property_free),
10044         (gst_controller_find_controlled_property),
10045         (gst_controller_new_valist), (gst_controller_new),
10046         (gst_controller_remove_properties_valist),
10047         (gst_controller_remove_properties), (gst_controller_set),
10048         (gst_controller_set_from_list), (gst_controller_unset),
10049         (gst_controller_get), (gst_controller_get_all),
10050         (gst_controller_sink_values), (gst_controller_get_value_arrays),
10051         (gst_controller_get_value_array),
10052         (gst_controller_set_interpolation_mode),
10053         (_gst_controller_finalize), (_gst_controller_init),
10054         (_gst_controller_class_init), (gst_controller_get_type):
10055         * libs/gst/controller/gst-controller.h:
10056         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
10057         (g_object_uncontrol_properties), (g_object_get_controller),
10058         (g_object_set_controller), (g_object_sink_values),
10059         (g_object_get_value_arrays), (g_object_get_value_array):
10060         * libs/gst/controller/gst-interpolation.c:
10061         (gst_controlled_property_find_timed_value_node),
10062         (interpolate_none_get), (interpolate_trigger_get),
10063         (interpolate_trigger_get_value_array):
10064         * libs/gst/controller/lib.c: (gst_controller_init):
10065         * pkgconfig/Makefile.am:
10066         * pkgconfig/gstreamer-control-uninstalled.pc.in:
10067         * pkgconfig/gstreamer-control.pc.in:
10068         * testsuite/Makefile.am:
10069         * testsuite/controller/.cvsignore:
10070         * testsuite/controller/Makefile.am:
10071         * testsuite/controller/interpolator.c: (main):
10072           added controller code
10073           removed dparam pc files
10074
10075 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
10076         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
10077         (gst_collectpads_stop):
10078           Broadcast the condition when shutting down, to make sure we wake all
10079           threads up. Shut down pads on finalize, for safety.
10080
10081 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
10082         * gst/base/gstbasetransform.c: (gst_base_transform_init),
10083         (gst_base_transform_handle_buffer),
10084         (gst_base_transform_change_state):
10085           Handle PAUSED->READY->PAUSED transition after negotiation
10086           occurred already.
10087         * gst/gstmessage.c: (gst_message_init):
10088           Extra piece of debug for new messages.
10089
10090 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
10091
10092         * configure.ac:
10093         * docs/gst/tmpl/gstbasesrc.sgml:
10094         * docs/gst/tmpl/gstelement.sgml:
10095         * docs/gst/tmpl/gstevent.sgml:
10096         * docs/gst/tmpl/gstfakesrc.sgml:
10097         * docs/gst/tmpl/gstformat.sgml:
10098         * docs/gst/tmpl/gstghostpad.sgml:
10099         * docs/gst/tmpl/gstpad.sgml:
10100         * docs/gst/tmpl/gstquery.sgml:
10101         * docs/gst/tmpl/gststructure.sgml:
10102         * docs/gst/tmpl/gsttaglist.sgml:
10103         * docs/gst/tmpl/gstvalue.sgml:
10104         * docs/libs/gstreamer-libs-docs.sgml:
10105         * docs/libs/gstreamer-libs-sections.txt:
10106         * docs/libs/gstreamer-libs.types:
10107         * libs/gst/Makefile.am:
10108         * libs/gst/control/.cvsignore:
10109         * libs/gst/control/Makefile.am:
10110         * libs/gst/control/control.c:
10111         * libs/gst/control/control.h:
10112         * libs/gst/control/dparam.c:
10113         * libs/gst/control/dparam.h:
10114         * libs/gst/control/dparam_smooth.c:
10115         * libs/gst/control/dparam_smooth.h:
10116         * libs/gst/control/dparamcommon.h:
10117         * libs/gst/control/dparammanager.c:
10118         * libs/gst/control/dparammanager.h:
10119         * libs/gst/control/dplinearinterp.c:
10120         * libs/gst/control/dplinearinterp.h:
10121         * libs/gst/control/unitconvert.c:
10122         * libs/gst/control/unitconvert.h:
10123         * testsuite/Makefile.am:
10124         * testsuite/dynparams/.cvsignore:
10125         * testsuite/dynparams/Makefile.am:
10126         * testsuite/dynparams/dparamstest.c:
10127         * tools/Makefile.am:
10128         * tools/gst-inspect.c: (print_element_info), (main):
10129         * tools/gst-xmlinspect.c: (print_element_info), (main):
10130           deactivate and remove dparams (libgstcontrol)
10131
10132 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
10133
10134         * gst/elements/gsttypefindelement.c:
10135         (gst_type_find_element_have_type), (gst_type_find_element_init),
10136         (stop_typefinding), (gst_type_find_element_handle_event),
10137         (gst_type_find_element_chain), (gst_type_find_element_getrange):
10138         * gst/elements/gsttypefindelement.h:
10139           Set caps on all outgoing buffers, not just the first one.
10140
10141 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
10142
10143         * gst/elements/gsttypefindelement.c:
10144         (gst_type_find_element_have_type),
10145         (gst_type_find_element_check_set_buffer_caps),
10146         (gst_type_find_element_init), (stop_typefinding),
10147         (gst_type_find_element_handle_event),
10148         (gst_type_find_element_chain), (gst_type_find_element_getrange):
10149         * gst/elements/gsttypefindelement.h:
10150           Set caps on first outgoing buffer when we've found the type.
10151
10152 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
10153
10154         * docs/gst/gstreamer-docs.sgml:
10155         * docs/gst/gstreamer-sections.txt:
10156         * docs/gst/tmpl/gstscheduler.sgml:
10157         * docs/gst/tmpl/gstschedulerfactory.sgml:
10158           Remove some old cruft from docs.
10159
10160 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
10161
10162         * gst/gstpad.h:
10163           Fix inline docs for GstPadLinkReturn.
10164           
10165         * gst/gststructure.c: (gst_structure_has_name):
10166         * gst/gststructure.h:
10167         * docs/gst/gstreamer-sections.txt:
10168           New API: gst_structure_has_name().
10169
10170 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
10171
10172         * configure.ac:
10173           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
10174           and _LARGEFILE_SOURCE in config.h as required. Do not 
10175           export those flags in our .pc files any longer (#142209).
10176
10177           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
10178
10179         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
10180         (gst_file_sink_do_seek), (gst_file_sink_event),
10181         (gst_file_sink_get_current_offset), (gst_file_sink_render):
10182           Redo seek/tell calls with large file support in mind; add some
10183           debugging messages; add log message that tells us when large
10184           file support is unavailable or not enabled for some reason.
10185
10186         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
10187           Add log message that tells us when large file support 
10188           is unavailable or not enabled for some reason.
10189
10190 2005-07-29  Wim Taymans  <wim@fluendo.com>
10191
10192         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
10193         Added test for removing an element with ghostpad from a bin.
10194         Fixed test as current implementation does the right thing.
10195
10196         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
10197         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
10198         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
10199         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
10200         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
10201         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
10202         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
10203         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10204         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
10205         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
10206         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
10207         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
10208         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10209         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
10210         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
10211         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10212         * gst/gstghostpad.h:
10213         Clean up ghostpads, remove properties for internal stuff.
10214         Make threadsafe.
10215         Fix refcounting.
10216         Prepare for switching targets, not all use cases work yet.
10217
10218 2005-07-29  Wim Taymans  <wim@fluendo.com>
10219
10220         * docs/design/part-gstghostpad.txt:
10221         Small update.
10222
10223         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
10224         (gst_bin_remove_func):
10225         Unlinking pads while holding the bin LOCK is not a good
10226         idea.
10227
10228         * gst/gstpad.c: (gst_pad_class_init),
10229         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
10230         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
10231         No prob setting template after creating the pad.
10232
10233 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
10234
10235         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
10236         (gst_bus_peek), (gst_bus_source_dispatch),
10237         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
10238         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
10239           gst_bus_poll may be called from other threads. Handle
10240           this nicely by not making poll_data disappear off the
10241           stack once gst_bus_poll returns.
10242           gst_bus_peek now increments the refcount on the returned
10243           message.
10244
10245 2005-07-29  Wim Taymans  <wim@fluendo.com>
10246
10247         * docs/design/part-gstghostpad.txt:
10248         Overview of current GhostPad datastructures and use
10249         cases for changing the target.
10250
10251 2005-07-28  Wim Taymans  <wim@fluendo.com>
10252
10253         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
10254         Added checks for hierarchy consistency whan adding linked
10255         elements to bins.
10256
10257         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
10258         Added check to test element scheduling without bin/pipeline.
10259
10260         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
10261         First add elements to bin, then link.
10262         
10263         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
10264         (gst_bin_remove_func):
10265         Unlink pads from elements added/removed from bin to maintain
10266         hierarchy consistency.
10267
10268 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10269
10270         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
10271         (gst_base_transform_handle_buffer):
10272         * gst/base/gstbasetransform.h:
10273           Remove broken delay_configure (fixes renegotiation of software
10274           scaling pipelines); remove some leftover printf()s.
10275
10276 2005-07-28  Wim Taymans  <wim@fluendo.com>
10277
10278         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
10279         Added some more tests for wrong hierarchy
10280
10281         * docs/design/part-overview.txt:
10282         Some updates.
10283
10284         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
10285         Cleanups.
10286
10287         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
10288         (gst_element_dispose):
10289         Some more cleanups.
10290
10291         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10292         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
10293         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
10294         (gst_pad_set_caps), (gst_pad_send_event):
10295         Check for correct hierarchy when linking pads. Moving to
10296         strict requirement for ghostpads when linking elements in
10297         different bins.
10298
10299         * gst/gstpad.h:
10300         Clean ups. Added WRONG_HIERARCHY return value.
10301
10302 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10303
10304         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
10305           Better debug if no transform is possible.
10306
10307 2005-07-27  Wim Taymans  <wim@fluendo.com>
10308
10309         * docs/random/wtay/network-transp:
10310         Some old doc I had.
10311
10312 2005-07-27  Wim Taymans  <wim@fluendo.com>
10313
10314         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10315         (gst_dp_event_from_packet):
10316         Fix serialization of seek events.
10317
10318 2005-07-27  Wim Taymans  <wim@fluendo.com>
10319
10320         * check/gst-libs/gdp.c: (GST_START_TEST):
10321         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
10322         Fix compilation and fix event serialization.
10323
10324 2005-07-27  Wim Taymans  <wim@fluendo.com>
10325
10326         * CHANGES-0.9:
10327         * docs/design/part-TODO.txt:
10328         * docs/design/part-events.txt:
10329         Some docs updates
10330
10331         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10332         (gst_base_sink_event), (gst_base_sink_do_sync),
10333         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
10334         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
10335         (gst_base_src_do_seek), (gst_base_src_event_handler),
10336         (gst_base_src_loop):
10337         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
10338         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
10339         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
10340         (gst_base_transform_event), (gst_base_transform_handle_buffer),
10341         (gst_base_transform_set_passthrough),
10342         (gst_base_transform_is_passthrough):
10343         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
10344         * gst/elements/gstfilesink.c: (gst_file_sink_event):
10345         Event updates.
10346
10347         * gst/gstbuffer.h:
10348         Use faster casts.
10349
10350         * gst/gstelement.c: (gst_element_seek):
10351         * gst/gstelement.h:
10352         Update gst_element_seek.
10353
10354         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
10355         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
10356         (gst_event_new_flush_start), (gst_event_new_flush_stop),
10357         (gst_event_new_eos), (gst_event_new_newsegment),
10358         (gst_event_parse_newsegment), (gst_event_new_tag),
10359         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
10360         (gst_event_parse_qos), (gst_event_new_seek),
10361         (gst_event_parse_seek), (gst_event_new_navigation):
10362         * gst/gstevent.h:
10363         Make GstEvent use GstStructure. Add parsing code, make sure the
10364         API is sufficiently generic.
10365         Mark possible directions of events and serialization.
10366
10367         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
10368         (_gst_message_copy), (gst_message_new_segment_start),
10369         (gst_message_new_segment_done), (gst_message_new_custom),
10370         (gst_message_parse_segment_start),
10371         (gst_message_parse_segment_done):
10372         Small cleanups.
10373
10374         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
10375         (gst_pad_set_caps), (gst_pad_send_event):
10376         Update for new events. 
10377         Catch events sent in wrong directions.
10378
10379         * gst/gstqueue.c: (gst_queue_link_src),
10380         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10381         (gst_queue_handle_src_query):
10382         Event updates.
10383
10384         * gst/gsttag.c:
10385         * gst/gsttag.h:
10386         Remove event code from this file.
10387
10388         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10389         (gst_dp_event_from_packet):
10390         Event updates.
10391
10392 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10393
10394         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
10395         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
10396         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
10397           Make debugging actually useful.
10398
10399 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10400
10401         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
10402         (gst_pad_fixate_caps):
10403           Implement default fixation once again, so that gst_pad_fixate()
10404           actually does anything at all. This probably needs to be some
10405           sort of a last resort, and use profile-based fixation first, but
10406           since that doesn't exist yet, this is the best we have. Fixes
10407           visualization in Totem.
10408
10409 2005-07-22  Wim Taymans  <wim@fluendo.com>
10410
10411         * docs/design/part-events.txt:
10412         Small update.
10413
10414         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10415         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
10416         (gst_base_sink_activate_pull):
10417         Some more comments.
10418
10419         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
10420         (gst_fake_src_create):
10421         Fix handoff marshall.
10422
10423         * gst/elements/gstidentity.c: (gst_identity_class_init),
10424         (gst_identity_transform_ip):
10425         We're a real inplace element.
10426
10427         * gst/gstbus.c: (gst_bus_post):
10428         Added some comments.
10429
10430         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
10431         * tests/muxing/case1.c: (main):
10432         * tests/sched/dynamic-pipeline.c: (main):
10433         * tests/sched/interrupt1.c: (main):
10434         * tests/sched/interrupt2.c: (main):
10435         * tests/sched/interrupt3.c: (main):
10436         * tests/sched/runxml.c: (main):
10437         * tests/sched/sched-stress.c: (main):
10438         * tests/seeking/seeking1.c: (event_received), (main):
10439         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
10440         (main):
10441         * tests/threadstate/threadstate3.c: (main):
10442         * tests/threadstate/threadstate4.c: (main):
10443         * tests/threadstate/threadstate5.c: (main):
10444         Fix the tests.
10445
10446 2005-07-21  Wim Taymans  <wim@fluendo.com>
10447
10448         * docs/design/part-seeking.txt:
10449         Some small additions.
10450
10451         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10452         (gst_base_sink_get_times), (gst_base_sink_do_sync),
10453         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
10454         * gst/base/gstbasesink.h:
10455         discont values are gint64, handle the math correctly.
10456
10457         * gst/base/gstbasesrc.c: (gst_base_src_loop):
10458         Make the basesrc report error if the source pad is not linked.
10459
10460         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
10461         (gst_queue_loop), (gst_queue_handle_src_query),
10462         (gst_queue_src_activate_push):
10463         Make queue collect data even if the srcpad is not linked.
10464         Start pushing out data as soon as it is linked.
10465
10466         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
10467         * gst/gstutils.h:
10468         Added gst_flow_get_name() to ease error reporting.
10469
10470 2005-07-20  Wim Taymans  <wim@fluendo.com>
10471
10472         * gst/gstmessage.c: (gst_message_new_segment_start),
10473         (gst_message_new_segment_done), (gst_message_parse_segment_start),
10474         (gst_message_parse_segment_done):
10475         * gst/gstmessage.h:
10476         Added a bunch of messages for advanced seeking.
10477
10478         * gst/parse/grammar.y:
10479         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
10480         (gst_dpman_state_changed):
10481         Fix some new-pad -> pad-added signals
10482
10483 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10484
10485         * docs/manual/appendix-porting.xml:
10486         * docs/pwg/appendix-porting.xml:
10487           Document new-pad/state-change signal renames and the FixedList
10488           type rename.
10489
10490 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10491
10492         * docs/manual/advanced-autoplugging.xml:
10493         * docs/manual/basics-helloworld.xml:
10494         * docs/manual/basics-pads.xml:
10495         * docs/random/ds/0.9-suggested-changes:
10496         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
10497         * gst/gstelement.h:
10498         * gst/gstevent.h:
10499         * gst/gstformat.h:
10500         * gst/gstquery.h:
10501         * gst/gststructure.c: (gst_structure_value_get_generic_type),
10502         (gst_structure_parse_array), (gst_structure_parse_value):
10503         * gst/gstvalue.c: (gst_type_is_fixed),
10504         (gst_value_list_prepend_value), (gst_value_list_append_value),
10505         (gst_value_list_get_size), (gst_value_list_get_value),
10506         (gst_value_transform_array_string), (gst_value_serialize_array),
10507         (gst_value_deserialize_array), (gst_value_intersect_array),
10508         (gst_value_is_fixed), (_gst_value_initialize):
10509         * gst/gstvalue.h:
10510           GstElement::new-pad -> pad-added, GstElement::state-change ->
10511           state-changed, GstValueFixedList -> GstValueArray, add format and
10512           flags as their own arguments in gst_element_seek() (should improve
10513           "bindeability"), remove function generators since they don't work
10514           under a whole bunch of compilers (they were deprecated already
10515           anyway).
10516
10517 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10518
10519         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
10520         (_gst_debug_register_funcptr):
10521         * gst/gstinfo.h:
10522           Fix illegal cast on some platforms (#309253).
10523
10524 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10525
10526         * gst/gstmessage.c: (gst_message_new_custom):
10527         * gst/gstmessage.h:
10528           Add _new_custom, make _new_application a macro to _new_custom.
10529
10530 2005-07-20  Wim Taymans  <wim@fluendo.com>
10531
10532         * gst/base/gstbasesrc.c: (gst_base_src_init),
10533         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
10534         * gst/base/gstbasesrc.h:
10535         Add a gboolean to decide when to push out a discont.
10536
10537         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10538         (gst_queue_loop), (gst_queue_handle_src_query),
10539         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
10540         (gst_queue_set_property), (gst_queue_get_property):
10541         Some cleanups.
10542
10543         * tests/threadstate/threadstate1.c: (main):
10544         Make a thread test compile and run... very silly..
10545
10546
10547 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10548
10549         * docs/manual/appendix-porting.xml:
10550           Mention removal of libgstgconf-0.9.la and existence of gconf
10551           elements.
10552
10553 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10554
10555         * docs/pwg/advanced-clock.xml:
10556         * docs/pwg/appendix-porting.xml:
10557         * docs/pwg/intro-preface.xml:
10558         * docs/pwg/other-base.xml:
10559         * docs/pwg/other-manager.xml:
10560         * docs/pwg/other-nton.xml:
10561         * docs/pwg/other-ntoone.xml:
10562         * docs/pwg/other-oneton.xml:
10563         * docs/pwg/pwg.xml:
10564           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
10565           demuxer), remove n-to-n (was never written), fix some code examples
10566           and links and update the porting section to include all this.
10567
10568 2005-07-19  Wim Taymans  <wim@fluendo.com>
10569
10570         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
10571         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
10572         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
10573         (gst_queue_src_activate_push), (gst_queue_change_state),
10574         (gst_queue_get_property):
10575         * gst/gstqueue.h:
10576         Propagate GstFlowReturn more intelligently upstream and output
10577         an ERROR/EOS when streaming stopped due to fatal error.
10578
10579 2005-07-19  Wim Taymans  <wim@fluendo.com>
10580
10581         * tools/gst-launch.c: (check_intr), (event_loop), (main):
10582         Don't block forever for the state change to complete, the
10583         pipeline already did with a sensible timeout.
10584
10585 2005-07-19  Wim Taymans  <wim@fluendo.com>
10586
10587         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10588         Make sure we never call the create function is we
10589         got deactivated.
10590
10591 2005-07-19  Andy Wingo  <wingo@pobox.com>
10592
10593         * gst/parse/parse.l: Attempt to solve bug #172815.
10594
10595 2005-07-19  Wim Taymans  <wim@fluendo.com>
10596
10597         * docs/design/part-clocks.txt:
10598         * docs/design/part-events.txt:
10599         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
10600         Small docs updates.
10601         Only update the seeking values when we are not
10602         busy streaming.
10603
10604 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
10605
10606         * gst/base/gstbasesrc.c: (gst_base_src_loop):
10607           Oops, ignore the result of gst_pad_push_event here.
10608
10609 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
10610
10611         * gst/base/gstbasesrc.c: (gst_base_src_loop),
10612         (gst_base_src_activate_push):
10613           Send discont event from the loop function, as pads
10614           aren't activated yet in the activate_push handler.
10615
10616         * gst/gstbin.c: (bin_bus_handler):
10617           Don't leak element name.
10618
10619 2005-07-18  Andy Wingo  <wingo@pobox.com>
10620
10621         * configure.ac: Use AS_LIBTOOL_TAGS.
10622
10623 2005-07-18  Wim Taymans  <wim@fluendo.com>
10624
10625         * docs/gst/gstreamer.types:
10626         Remove deleted types.
10627
10628 2005-07-18  Wim Taymans  <wim@fluendo.com>
10629
10630         * check/elements/gstfakesrc.c: (GST_START_TEST):
10631         * configure.ac:
10632         * gst/Makefile.am:
10633         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
10634         (init_popt_callback):
10635         * gst/gst.h:
10636         * gst/gst_private.h:
10637         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
10638         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
10639         * gst/gstbin.h:
10640         * gst/gstbus.h:
10641         * gst/gstconfig.h.in:
10642         * gst/gstelement.c: (gst_element_class_init),
10643         (gst_element_set_base_time), (gst_element_get_base_time),
10644         (iterator_fold_with_resync), (gst_element_change_state),
10645         (gst_element_dispose), (gst_element_get_bus):
10646         * gst/gstelement.h:
10647         * gst/gstelementfactory.h:
10648         * gst/gsterror.c: (_gst_core_errors_init):
10649         * gst/gsterror.h:
10650         * gst/gstevent.h:
10651         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
10652         * gst/gstindex.c:
10653         * gst/gstinfo.c: (_gst_debug_init):
10654         * gst/gstmessage.c: (_gst_message_copy):
10655         * gst/gstmessage.h:
10656         * gst/gstminiobject.h:
10657         * gst/gstobject.c:
10658         * gst/gstobject.h:
10659         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
10660         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
10661         * gst/gstpad.h:
10662         * gst/gstparse.h:
10663         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
10664         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
10665         (gst_pipeline_get_last_stream_time):
10666         * gst/gstpipeline.h:
10667         * gst/gstpluginfeature.h:
10668         * gst/gstquery.h:
10669         * gst/gstscheduler.c:
10670         * gst/gstscheduler.h:
10671         * gst/gststructure.h:
10672         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
10673         (gst_task_finalize), (gst_task_func), (gst_task_create),
10674         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
10675         (gst_task_stop), (gst_task_pause):
10676         * gst/gsttask.h:
10677         * gst/gsttypefind.h:
10678         * gst/gsttypes.h:
10679         * gst/registries/gstlibxmlregistry.c: (load_feature),
10680         (gst_xml_registry_load), (gst_xml_registry_save_feature):
10681         * gst/registries/gstxmlregistry.c:
10682         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
10683         * gst/schedulers/threadscheduler.c:
10684         * libs/gst/control/dparammanager.h:
10685         * tools/gst-inspect.c: (print_element_list),
10686         (print_plugin_features), (print_element_features):
10687         * tools/gst-xmlinspect.c: (print_element_list),
10688         (print_plugin_info), (main):
10689         Removed plugable schedulers.
10690         Removed Scheduler/Manager from elements.
10691         Removed gsttypes.h, rearranged includes.
10692         Removed dependency pad<->element, element<>pipeline, and
10693         various others,  fix includes.
10694         implement gst_pad_get_parent() with gst_object_get_parent()
10695         Make GstTask sefcontained.
10696         Fix _get_state() on GstBin, it did not return ASYNC with a 0
10697         timeout.
10698         Fix endless loop in iterator_fold_with_resync.
10699
10700
10701 2005-07-18  Wim Taymans  <wim@fluendo.com>
10702
10703         * gst/Makefile.am:
10704         * gst/gstarch.h:
10705         Remove old file.
10706
10707 2005-07-18  Wim Taymans  <wim@fluendo.com>
10708
10709         * gst/Makefile.am:
10710         No more cothreads.h
10711
10712 2005-07-18  Wim Taymans  <wim@fluendo.com>
10713
10714         * gst/cothreads.c:
10715         * gst/cothreads.h:
10716         Let's remove these.
10717
10718 2005-07-18  Wim Taymans  <wim@fluendo.com>
10719
10720         * docs/design/part-dynamic.txt:
10721         * docs/design/part-events.txt:
10722         * docs/design/part-seeking.txt:
10723         Some more docs in the works.
10724
10725         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
10726         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
10727         (gst_base_transform_setcaps), (gst_base_transform_get_size),
10728         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
10729         (gst_base_transform_handle_buffer),
10730         (gst_base_transform_sink_activate_push),
10731         (gst_base_transform_src_activate_pull),
10732         (gst_base_transform_set_passthrough),
10733         (gst_base_transform_is_passthrough):
10734         Refcounting fixes.
10735
10736         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
10737         Cleanups.
10738
10739         * gst/gstevent.c: (gst_event_finalize):
10740         Set SRC to NULL.
10741
10742         * gst/gstutils.c: (gst_element_unlink),
10743         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
10744         (gst_pad_proxy_setcaps):
10745         * gst/gstutils.h:
10746         Add _get_parent_element() to get a pads parent as an element.
10747
10748 2005-07-18  Wim Taymans  <wim@fluendo.com>
10749
10750         * check/gst/gstbin.c: (GST_START_TEST):
10751         Remove bogus test.
10752
10753 2005-07-18  Wim Taymans  <wim@fluendo.com>
10754
10755         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
10756         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
10757         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
10758         (gst_base_sink_event), (gst_base_sink_do_sync),
10759         (gst_base_sink_chain), (gst_base_sink_loop),
10760         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
10761         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
10762         Refcounting fixes.
10763         Fix logic for returning ASYNC when not prerolled.
10764
10765 2005-07-18  Wim Taymans  <wim@fluendo.com>
10766
10767         * gst/gstqueue.c: (gst_queue_handle_sink_event):
10768         Fix nasty refcount bug.
10769
10770 2005-07-16 Philippe Khalaf <burger@speedy.org>
10771
10772         * gst/elements/gstfdsrc.c:
10773         * gst/elements/gstfdsrc.h:
10774         * gst/elements/gstelements.c:
10775         * gst/elements/Makefile.am:
10776         Ported fdsrc to 0.9.
10777
10778 2005-07-16  Wim Taymans  <wim@fluendo.com>
10779
10780         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10781         (gst_base_sink_do_sync):
10782         Fix compile error.
10783
10784 2005-07-16  Wim Taymans  <wim@fluendo.com>
10785
10786         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10787         (gst_base_sink_event), (gst_base_sink_get_times),
10788         (gst_base_sink_do_sync), (gst_base_sink_change_state):
10789         * gst/base/gstbasesink.h:
10790         Store and use discont values when syncing buffers as described
10791         in design docs.
10792         
10793         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
10794         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
10795         (gst_base_src_activate_push):
10796         Push discont event when starting.
10797
10798         * gst/elements/gstidentity.c: (gst_identity_transform):
10799         Small cleanups.
10800
10801         * gst/gstbin.c: (gst_bin_change_state):
10802         Small cleanups in base_time  distribution.
10803
10804         * gst/gstelement.c: (gst_element_set_base_time),
10805         (gst_element_get_base_time), (gst_element_change_state):
10806         * gst/gstelement.h:
10807         Added methods for the base_time of the element.
10808         Some MT fixes.
10809
10810         * gst/gstpipeline.c: (gst_pipeline_send_event),
10811         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
10812         (gst_pipeline_get_last_stream_time):
10813         * gst/gstpipeline.h:
10814         MT fixes.
10815         Handle seeking as described in design doc, remove stream_time
10816         hack.
10817         Cleanups clock and stream_time selection code. Added accessors
10818         for the stream_time.
10819         
10820
10821 2005-07-16  Andy Wingo  <wingo@pobox.com>
10822
10823         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
10824         (#305291).
10825
10826 2005-07-16  Wim Taymans  <wim@fluendo.com>
10827
10828         * check/gst/gstbin.c: (GST_START_TEST):
10829         Make elements silent as the deep_notify refs the
10830         parent, which might make the test fail.
10831
10832         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
10833         Don't hold the lock for too long.
10834
10835 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
10836
10837         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
10838           Don't unref the caps we passed to gst_caps_make_writable() after
10839           passing them. gst_caps_make_writable() will do that for us.
10840
10841 2005-07-15  Andy Wingo  <wingo@pobox.com>
10842
10843         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
10844         (#157311).
10845
10846         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
10847         own marshalling function for the handoff signal. Properly type the
10848         buffer as a buffer. Fixes some warnings. Should do a more general
10849         solution.
10850         (gst_identity_class_init): Plug into the right marshaller.
10851
10852 2005-07-15  Wim Taymans  <wim@fluendo.com>
10853
10854         * docs/design/part-TODO.txt:
10855         * docs/design/part-clocks.txt:
10856         * docs/design/part-element-sink.txt:
10857         * docs/design/part-events.txt:
10858         * docs/design/part-gstpipeline.txt:
10859         Updated docs, mostly DISCONT related.
10860
10861 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
10862
10863         * docs/pwg/building-pads.xml:
10864           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
10865
10866 2005-07-15  Andy Wingo  <wingo@pobox.com>
10867
10868         * tools/gst-typefind.c: Update, add copyright block.
10869
10870         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
10871         Normalize and truncate caps before fixation.
10872
10873         * gst/gstcaps.h:
10874         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
10875         discards all but the first structure from its argument.
10876
10877 2005-07-15  Wim Taymans  <wim@fluendo.com>
10878
10879         * gst/base/gstbasetransform.c: (gst_base_transform_init),
10880         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
10881         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
10882         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
10883         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
10884         (gst_base_transform_chain), (gst_base_transform_change_state),
10885         (gst_base_transform_set_passthrough),
10886         (gst_base_transform_is_passthrough):
10887         * gst/base/gstbasetransform.h:
10888         Make passthrough work using the bufferpools.
10889         Changed API a bit, subclasses have to write into a buffer
10890         provided by the base class.
10891         More debug info in nego functions.
10892         
10893         * gst/elements/gstidentity.c: (gst_identity_init),
10894         (gst_identity_transform):
10895         Port to new base class.
10896
10897 2005-07-15  Wim Taymans  <wim@fluendo.com>
10898
10899         * gst/gstmessage.c: (gst_message_new_state_changed):
10900         * tools/gst-launch.c: (event_loop), (main):
10901         Totally dump messages in -launch with the -m option.
10902         Fix message name for State messages,
10903
10904 2005-07-14  Wim Taymans  <wim@fluendo.com>
10905
10906         * gst/base/gstbasesrc.c: (gst_base_src_loop):
10907         Post error messages on errors.
10908
10909 2005-07-14  Wim Taymans  <wim@fluendo.com>
10910
10911         * gst/gstcaps.c: (gst_caps_do_simplify):
10912         Remove debug info.
10913
10914         * gst/gsterror.h:
10915         Define error for stream stopped.
10916
10917         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10918         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
10919         Do proper return values.
10920
10921         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
10922         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
10923         (gst_pad_get_range):
10924         Better return values.
10925
10926         * gst/gstpad.h:
10927         Reorganise return values, add macro to check for fatal errors.
10928
10929         * gst/gstqueue.c: (gst_queue_chain):
10930         Return proper GstFlowReturn values,
10931
10932 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10933
10934         * docs/gst/gstreamer-sections.txt:
10935         * docs/gst/gstreamer.types:
10936         * docs/gst/tmpl/gst.sgml:
10937         * docs/gst/tmpl/gstbasesink.sgml:
10938         * docs/gst/tmpl/gstbasesrc.sgml:
10939         * docs/gst/tmpl/gstbasetransform.sgml:
10940         * docs/gst/tmpl/gstbin.sgml:
10941         * docs/gst/tmpl/gstbuffer.sgml:
10942         * docs/gst/tmpl/gstcaps.sgml:
10943         * docs/gst/tmpl/gstclock.sgml:
10944         * docs/gst/tmpl/gstcompat.sgml:
10945         * docs/gst/tmpl/gstconfig.sgml:
10946         * docs/gst/tmpl/gstelement.sgml:
10947         * docs/gst/tmpl/gstelementdetails.sgml:
10948         * docs/gst/tmpl/gstelementfactory.sgml:
10949         * docs/gst/tmpl/gstenumtypes.sgml:
10950         * docs/gst/tmpl/gsterror.sgml:
10951         * docs/gst/tmpl/gstevent.sgml:
10952         * docs/gst/tmpl/gstfakesink.sgml:
10953         * docs/gst/tmpl/gstfakesrc.sgml:
10954         * docs/gst/tmpl/gstfilesink.sgml:
10955         * docs/gst/tmpl/gstfilesrc.sgml:
10956         * docs/gst/tmpl/gstfilter.sgml:
10957         * docs/gst/tmpl/gstformat.sgml:
10958         * docs/gst/tmpl/gstghostpad.sgml:
10959         * docs/gst/tmpl/gstimplementsinterface.sgml:
10960         * docs/gst/tmpl/gstindex.sgml:
10961         * docs/gst/tmpl/gstindexfactory.sgml:
10962         * docs/gst/tmpl/gstinfo.sgml:
10963         * docs/gst/tmpl/gstiterator.sgml:
10964         * docs/gst/tmpl/gstmacros.sgml:
10965         * docs/gst/tmpl/gstmemchunk.sgml:
10966         * docs/gst/tmpl/gstminiobject.sgml:
10967         * docs/gst/tmpl/gstobject.sgml:
10968         * docs/gst/tmpl/gstpad.sgml:
10969         * docs/gst/tmpl/gstpadtemplate.sgml:
10970         * docs/gst/tmpl/gstparse.sgml:
10971         * docs/gst/tmpl/gstpipeline.sgml:
10972         * docs/gst/tmpl/gstplugin.sgml:
10973         * docs/gst/tmpl/gstpluginfeature.sgml:
10974         * docs/gst/tmpl/gstquery.sgml:
10975         * docs/gst/tmpl/gstqueue.sgml:
10976         * docs/gst/tmpl/gstregistry.sgml:
10977         * docs/gst/tmpl/gstregistrypool.sgml:
10978         * docs/gst/tmpl/gstscheduler.sgml:
10979         * docs/gst/tmpl/gstschedulerfactory.sgml:
10980         * docs/gst/tmpl/gststructure.sgml:
10981         * docs/gst/tmpl/gstsystemclock.sgml:
10982         * docs/gst/tmpl/gsttaglist.sgml:
10983         * docs/gst/tmpl/gsttagsetter.sgml:
10984         * docs/gst/tmpl/gsttrace.sgml:
10985         * docs/gst/tmpl/gsttrashstack.sgml:
10986         * docs/gst/tmpl/gsttypefind.sgml:
10987         * docs/gst/tmpl/gsttypefindfactory.sgml:
10988         * docs/gst/tmpl/gsttypes.sgml:
10989         * docs/gst/tmpl/gsturihandler.sgml:
10990         * docs/gst/tmpl/gsturitype.sgml:
10991         * docs/gst/tmpl/gstutils.sgml:
10992         * docs/gst/tmpl/gstvalue.sgml:
10993         * docs/gst/tmpl/gstversion.sgml:
10994         * docs/gst/tmpl/gstxml.sgml:
10995         * docs/libs/tmpl/gstcontrol.sgml:
10996         * docs/libs/tmpl/gstdataprotocol.sgml:
10997         * docs/libs/tmpl/gstdparam.sgml:
10998         * docs/libs/tmpl/gstdplinint.sgml:
10999         * docs/libs/tmpl/gstdpman.sgml:
11000         * docs/libs/tmpl/gstdpsmooth.sgml:
11001         * docs/libs/tmpl/gstgetbits.sgml:
11002         * docs/libs/tmpl/gstunitconvert.sgml:
11003         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
11004         (gst_push_src_base_init), (gst_push_src_class_init),
11005         (gst_push_src_init), (gst_push_src_create):
11006         * gst/base/gstpushsrc.h:
11007         * gst/elements/gstelements.c:
11008         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
11009         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
11010         (gst_fake_sink_init), (gst_fake_sink_set_property),
11011         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
11012         (gst_fake_sink_event), (gst_fake_sink_preroll),
11013         (gst_fake_sink_render), (gst_fake_sink_change_state):
11014         * gst/elements/gstfakesink.h:
11015         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11016         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
11017         (gst_fake_src_base_init), (gst_fake_src_class_init),
11018         (gst_fake_src_init), (gst_fake_src_event_handler),
11019         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
11020         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
11021         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
11022         (gst_fake_src_create_buffer), (gst_fake_src_create),
11023         (gst_fake_src_start), (gst_fake_src_stop):
11024         * gst/elements/gstfakesrc.h:
11025         * gst/elements/gstfilesink.c: (_do_init),
11026         (gst_file_sink_base_init), (gst_file_sink_class_init),
11027         (gst_file_sink_init), (gst_file_sink_dispose),
11028         (gst_file_sink_set_location), (gst_file_sink_set_property),
11029         (gst_file_sink_get_property), (gst_file_sink_open_file),
11030         (gst_file_sink_close_file), (gst_file_sink_query),
11031         (gst_file_sink_event), (gst_file_sink_render),
11032         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
11033         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
11034         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
11035         * gst/elements/gstfilesink.h:
11036         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
11037         (gst_file_src_class_init), (gst_file_src_init),
11038         (gst_file_src_finalize), (gst_file_src_set_location),
11039         (gst_file_src_set_property), (gst_file_src_get_property),
11040         (gst_file_src_map_region), (gst_file_src_map_small_region),
11041         (gst_file_src_create_mmap), (gst_file_src_create_read),
11042         (gst_file_src_create), (gst_file_src_is_seekable),
11043         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
11044         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
11045         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
11046         (gst_file_src_uri_handler_init):
11047         * gst/elements/gstfilesrc.h:
11048           more autistic cleanliness in functions/names/defines
11049
11050 2005-07-13  Andy Wingo  <wingo@pobox.com>
11051
11052         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
11053         source couldn't negotiate.
11054
11055         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
11056         connections again.
11057
11058         * gst/gstutils.h:
11059         * gst/gstutils.c (gst_element_link_pads_filtered): New old
11060         function. I am channeling Hades. Put your boots on suckers!!!
11061
11062 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11063
11064         * testsuite/caps/Makefile.am:
11065         * testsuite/caps/value_compare.c:
11066         * testsuite/caps/value_intersect.c:
11067         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11068           move two testsuite apps over to the check dir
11069
11070 2005-07-12  Wim Taymans  <wim@fluendo.com>
11071
11072         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11073         Added more debug info in the negotiate process.
11074
11075         * gst/gstmessage.h:
11076         Prepare for segment playback.
11077
11078         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
11079         Better debugging.
11080
11081         * gst/gstutils.c:
11082         Some more docs.
11083
11084         * tools/gst-launch.c: (main):
11085         NULL pipeline on errors.
11086
11087 2005-07-12  Andy Wingo  <wingo@pobox.com>
11088
11089         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
11090         not it comes from a malloc region. Make sure our copy gets freed.
11091
11092 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11093
11094         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
11095         * check/gst/gstmessage.c: (GST_START_TEST):
11096         * check/gst/gststructure.c: (GST_START_TEST),
11097         (gst_structure_suite), (main):
11098           more testing
11099         * gst/gstelement.c: (gst_element_message_full):
11100           clean up GError and debug string now that they get copied
11101         * gst/gstmessage.c: (gst_message_new_error),
11102         (gst_message_new_warning), (gst_message_parse_error),
11103         (gst_message_parse_warning):
11104           use GST_TYPE_G_ERROR for structure_new, and take copies of
11105           arguments, so that we don't mess up refcounting
11106
11107 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11108
11109         * check/Makefile.am:
11110           add per-test valgrind targets
11111         * check/gst-libs/gdp.c: (GST_START_TEST),
11112         (gst_data_protocol_suite), (main):
11113           clean up
11114
11115 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11116
11117         * check/Makefile.am:
11118           instate more valgrindable tests
11119         * check/elements/gstfakesrc.c: (chain_func), (event_func),
11120         (GST_START_TEST), (fakesrc_suite):
11121         * check/gst/gstpad.c: (GST_START_TEST):
11122         * check/gst/gststructure.c: (GST_START_TEST):
11123           fix test leaks
11124         * docs/gst/tmpl/gstminiobject.sgml:
11125         * gst/gstpad.c: (gst_pad_finalize):
11126           fix the static mutex leak
11127
11128 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11129
11130         * check/Makefile.am:
11131           add two more tests for valgrinding
11132         * check/gst/gstvalue.c: (GST_START_TEST):
11133           test refcount of deserialized buffer, found a leak
11134         * docs/gst/gstreamer-docs.sgml:
11135         * docs/gst/gstreamer-sections.txt:
11136         * docs/gst/gstreamer.types:
11137         * docs/gst/tmpl/gstminiobject.sgml:
11138           add miniobject to docs
11139         * gst/gstminiobject.c:
11140           add some docs
11141         * gst/gstvalue.c: (gst_value_deserialize_buffer),
11142         (gst_string_unwrap):
11143           fix a hard-to-find invalid write for one of the tests
11144           fix a leak for deserialized buffers
11145
11146 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11147
11148         * docs/pwg/advanced-events.xml:
11149         * docs/pwg/advanced-request.xml:
11150         * docs/pwg/advanced-scheduling.xml:
11151         * docs/pwg/appendix-porting.xml:
11152         * docs/pwg/building-boiler.xml:
11153         * docs/pwg/intro-preface.xml:
11154         * docs/pwg/other-ntoone.xml:
11155           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
11156           of example code and explanation for pad activation, loop() and
11157           getrange() functions and a bit more. Remove old comments pointing
11158           to loop-functions.
11159         * examples/pwg/Makefile.am:
11160           Add loop/getrange examples.
11161
11162 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11163
11164         * configure.ac:
11165           check for valgrind binary + some fixes
11166         * check/gst.supp:
11167           valgrind suppressions for the tests
11168         * check/Makefile.am:
11169           add a valgrind: target that valgrinds the unit tests
11170         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
11171         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
11172         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11173         * check/gst/gstghostpad.c:
11174           added some cleanup
11175         * check/gst/gstdata.c:
11176           removed
11177         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
11178         (thread_unref), (gst_mini_object_suite), (main):
11179           added
11180         * gst/gst.c: (gst_deinit):
11181         * gst/gst.h:
11182           add a method to clean up.
11183         * gst/gstsystemclock.c: (gst_system_clock_dispose),
11184         (gst_system_clock_obtain):
11185           allow for disposing the system clock.
11186         * tools/gst-launch.c: (main):
11187           deinit
11188
11189 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11190
11191         * docs/gst/tmpl/gstbasesrc.sgml:
11192         * docs/gst/tmpl/gstfakesrc.sgml:
11193         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11194         (gst_base_src_init), (gst_base_src_set_property),
11195         (gst_base_src_get_property), (gst_base_src_get_range),
11196         (gst_base_src_start):
11197         * gst/base/gstbasesrc.h:
11198           add num-buffers property
11199         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11200         (gst_fakesrc_init), (gst_fakesrc_set_property),
11201         (gst_fakesrc_get_property), (gst_fakesrc_create),
11202         (gst_fakesrc_start):
11203           remove num-buffers property
11204
11205 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11206
11207         * docs/gst/gstreamer-sections.txt:
11208         * docs/gst/tmpl/gstbasesink.sgml:
11209         * docs/gst/tmpl/gstbasesrc.sgml:
11210         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
11211         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
11212         (gst_base_sink_finalize), (gst_base_sink_set_clock),
11213         (gst_base_sink_set_property), (gst_base_sink_get_property),
11214         (gst_base_sink_handle_object), (gst_base_sink_event),
11215         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
11216         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
11217         (gst_base_sink_loop), (gst_base_sink_deactivate),
11218         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
11219         (gst_base_sink_change_state):
11220         * gst/base/gstbasesink.h:
11221         * gst/base/gstbasesrc.h:
11222         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
11223         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11224         (gst_filesink_init):
11225           more macro splitting
11226
11227 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11228
11229         * gst/gstelement.c: (gst_element_get_bus):
11230           add debug
11231         * tools/gst-launch.c: (check_intr), (event_loop):
11232           fix bus leaks
11233
11234 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11235
11236         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
11237           fix a caps leak
11238
11239 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11240
11241         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11242         (gst_base_src_finalize):
11243           add finalize method and clean up properly
11244         * gst/gstpipeline.c: (gst_pipeline_dispose):
11245           add debug
11246
11247 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11248
11249         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
11250         (gst_bin_suite):
11251           add more things to check
11252         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
11253         * gst/gstelement.c:
11254           more debug
11255
11256 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11257
11258         * check/elements/gstfakesrc.c: (chain_func), (event_func),
11259         (GST_START_TEST), (fakesrc_suite):
11260         * check/gst-libs/gdp.c: (GST_START_TEST):
11261         * check/gst/gst.c: (GST_START_TEST):
11262         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11263         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11264         * check/gst/gstbus.c: (GST_START_TEST):
11265         * check/gst/gstcaps.c: (GST_START_TEST):
11266         * check/gst/gstdata.c: (GST_START_TEST):
11267         * check/gst/gstelement.c: (GST_START_TEST):
11268         * check/gst/gstghostpad.c: (GST_START_TEST):
11269         * check/gst/gstiterator.c: (GST_START_TEST):
11270         * check/gst/gstmessage.c: (GST_START_TEST):
11271         * check/gst/gstobject.c: (GST_START_TEST):
11272         * check/gst/gstpad.c: (GST_START_TEST):
11273         * check/gst/gststructure.c: (GST_START_TEST):
11274         * check/gst/gstsystemclock.c: (GST_START_TEST),
11275         (gst_systemclock_suite):
11276         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11277         * check/gst/gstvalue.c: (GST_START_TEST):
11278         * check/pipelines/cleanup.c: (GST_START_TEST):
11279         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
11280         * check/states/sinks.c: (GST_START_TEST):
11281         * check/gstcheck.c: (gst_check_init):
11282         * check/gstcheck.h:
11283           add debugging category
11284           use GST_START_TEST now, so we add a debug line
11285
11286 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11287
11288         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
11289           add test for state change message on a bin
11290         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
11291           add another test
11292         * gst/gstbin.c: (gst_bin_init):
11293         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
11294         * gst/gstelement.c: (gst_element_post_message),
11295         (gst_element_set_state):
11296         * gst/gstelementfactory.c: (gst_element_factory_create):
11297         * gst/gstmessage.c: (gst_message_new):
11298         * gst/gstscheduler.c:
11299           various debugging additions and cleanups
11300
11301 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11302
11303         * check/Makefile.am:
11304         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
11305         (main):
11306           adding tests for elements
11307         * gst/gstelement.c: (gst_element_dispose):
11308
11309 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11310
11311         * gst/registries/gstlibxmlregistry.c: (load_feature):
11312           plug more leaks.  A simple gst_init() now is leakfree, yay.
11313
11314 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11315
11316         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
11317         (gst_xml_registry_load):
11318           plug another memleak
11319
11320 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11321
11322         * configure.ac:
11323           use GST_SET_ERROR_CFLAGS
11324         * docs/faq/cvs.xml:
11325           change to ERROR_CFLAGS
11326
11327 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11328
11329         * configure.ac:
11330           make GST_ERROR_CFLAGS overridable and re-enable Werror
11331         * docs/faq/cvs.xml:
11332           add a note about error CFLAGS
11333         * docs/gst/tmpl/gstfakesrc.sgml:
11334         * gst/elements/gstfakesrc.c:
11335           comment out some unused code
11336         * gst/gst.c: (split_and_iterate):
11337         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
11338         (load_feature):
11339           plug some memleaks
11340
11341 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
11342
11343         * common/Makefile.am:
11344         * common/gtk-doc.mak:
11345         * docs/gst/Makefile.am:
11346           factor out gtk-doc.mak
11347
11348 2005-07-07  Wim Taymans  <wim@fluendo.com>
11349
11350         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
11351         (gst_thread_scheduler_dispose):
11352         Unlock the STREAM_LOCK completely.
11353
11354 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
11355
11356         * check/Makefile.am:
11357         * check/elements/.cvsignore:
11358         * check/elements/gstfakesrc.c: (chain_func), (event_func),
11359         (START_TEST), (fakesrc_suite), (main):
11360         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11361         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11362         (gst_fakesrc_create), (gst_fakesrc_start):
11363         * gst/elements/gstfakesrc.h:
11364           adding a first element test
11365
11366 2005-07-07  Andy Wingo  <wingo@pobox.com>
11367
11368         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
11369         debug message.
11370
11371 2005-07-07  Wim Taymans  <wim@fluendo.com>
11372
11373         * gst/gstquery.c:
11374         * gst/gstquery.h:
11375         Remove old types
11376
11377 2005-07-07  Wim Taymans  <wim@fluendo.com>
11378
11379         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
11380         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
11381         Allow subclasses to implement their own negotiation.
11382
11383 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
11384
11385         * docs/design/part-gstbin.txt:
11386         * docs/design/part-gstpipeline.txt:
11387           Update design notes to reflect the movement of
11388           responsibility for bus handling from GstPipeline to
11389           GstBin
11390
11391 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
11392
11393         * configure.ac:
11394           Remove unnecessary queue2/3/4 examples.
11395
11396 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
11397
11398         * examples/Makefile.am:
11399         * examples/helloworld/helloworld.c: (event_loop), (main):
11400         * examples/queue/queue.c: (event_loop), (main):
11401         * examples/queue2/queue2.c: (main):
11402           Update a couple of the examples to work again.
11403
11404         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
11405         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
11406          Spelling corrections and extra debug.
11407         
11408         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
11409         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
11410         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
11411         * gst/gstbin.h:
11412         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
11413         (gst_pipeline_change_state):
11414         * gst/gstpipeline.h:
11415           Move the bus handler for children to the GstBin, and create a
11416           separate bus for receiving messages from children to the one the
11417           bus sends 'upwards' on.
11418
11419 2005-07-06  Wim Taymans  <wim@fluendo.com>
11420
11421         * gst/base/README:
11422         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
11423         (gst_base_sink_handle_object), (gst_base_sink_loop),
11424         (gst_base_sink_change_state):
11425         * gst/base/gstbasesink.h:
11426         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11427         (gst_base_src_init), (gst_base_src_setcaps),
11428         (gst_base_src_getcaps), (gst_base_src_loop),
11429         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
11430         (gst_base_src_start), (gst_base_src_change_state):
11431         * gst/base/gstbasesrc.h:
11432         Make basesrc negotiate.
11433         Handle the case where preroll fails in basesink.
11434         Update README.
11435
11436 2005-07-06  Wim Taymans  <wim@fluendo.com>
11437
11438         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
11439         Implement the fixate function.
11440         Clean up acceptcaps.
11441
11442 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11443
11444         * docs/pwg/building-filterfactory.xml:
11445         * docs/pwg/pwg.xml:
11446           Remove never-written filter-factory chapter; I'll add the various
11447           base classes to part 4 ("other element types") later on.
11448
11449 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11450
11451         * docs/pwg/advanced-negotiation.xml:
11452         * docs/pwg/building-boiler.xml:
11453         * docs/pwg/building-pads.xml:
11454         * docs/pwg/pwg.xml:
11455         * examples/pwg/Makefile.am:
11456           Add a chapter on caps negotiation, simplify the original code
11457           samples a bit w.r.t. caps negotiation, add link to the advanced
11458           section. Add a bunch of examples showing different use cases of
11459           different types of caps negotiation. Upstream renegotiation isn't
11460           fully documented yet since nobody knows how that works.
11461
11462 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11463
11464         * check/gst/gstpad.c:
11465         * check/gstcheck.c:
11466         * gst/gstpad.c: (gst_pad_get_internal_links_default):
11467           if pad has no parent, return NULL as list of internal links
11468
11469 2005-07-05  Andy Wingo  <wingo@pobox.com>
11470
11471         * gst/elements/gstfilesrc.c:
11472         * gst/elements/gstfakesrc.c: 
11473         * gst/base/gstpushsrc.c:
11474         * gst/base/gstbasesrc.h: 
11475         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
11476         
11477 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
11478
11479         * Makefile.am:
11480           better report generation target (lcov needs a patch)
11481
11482 2005-07-05  Andy Wingo  <wingo@pobox.com>
11483
11484         * gst/elements, testsuite: Null if we got it...
11485
11486 2005-07-05  Wim Taymans  <wim@fluendo.com>
11487
11488         * configure.ac:
11489         * libs/gst/dataprotocol/Makefile.am:
11490         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
11491         * libs/gst/dataprotocol/dataprotocol.h:
11492         * pkgconfig/Makefile.am:
11493         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
11494         * pkgconfig/gstreamer-dataprotocol.pc.in:
11495         Ported dataprotol to 0.9. 
11496         Added pkgconfig files.
11497
11498 2005-07-05  Andy Wingo  <wingo@pobox.com>
11499
11500         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
11501         Default to returning TRUE for the case when tranform_caps returns
11502         a fixed caps, like for identity or volume.
11503
11504         * check/gst/gstbus.c (pound_bus_with_messages): 
11505         * check/gst/gstmessage.c (START_TEST): 
11506         * check/pipelines/simple_launch_lines.c (got_handoff): Application
11507         message API change.
11508
11509         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
11510         logic weaks here: always run transform_caps, trying passthrough
11511         operation only if the original caps intersects with the transform.
11512
11513         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
11514         source and sink caps.
11515
11516         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
11517         Intersect the peer caps with the pad template before going into
11518         transform_caps.
11519         (gst_base_transform_transform_caps): More debugging.
11520
11521         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
11522         src argument.
11523
11524 2005-07-04  Edward Hervey  <edward@fluendo.com>
11525
11526         * gst/gstutils.c:
11527         * gst/gstutils.h:
11528         (gst_pad_add_*_probe): now returns the signal id for better wrapping
11529         in bindings.
11530
11531 2005-07-04  Andy Wingo  <wingo@pobox.com>
11532
11533         * check/gst/gstpad.c: Only set explicit caps on pads.
11534
11535 2005-07-01  Andy Wingo  <wingo@pobox.com>
11536
11537         * tests/network-clock.scm: Commentary update.
11538
11539         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
11540         Didn't really make sense, not implementable with basetransform,
11541         etc.
11542         (gst_identity_transform): Unref inbuf via make_writable. Feeble
11543         attempt at implementing the sync property, needs an unlock method.
11544
11545         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
11546         New func, by default returns the same caps (the identity
11547         transformation).
11548         (gst_base_transform_getcaps): Uses transform_caps to return
11549         something sensible.
11550         (gst_base_transform_setcaps): Complicated logic to get caps on
11551         both pads, even if they are different, and to call set_caps once
11552         for every time both pads get their caps set.
11553         (gst_base_transform_handle_buffer): Give the ref to the transform
11554         function. Allows in-place modification of the buffer.
11555
11556         * gst/base/gstbasetransform.h (transform_caps): New class method.
11557         Given caps on one side, what can I do on the other.
11558         (set_caps): Take two caps, one for each side of the element.
11559
11560         * gst/gstpad.h:
11561         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
11562         caps in place. This is safe because we can check the mutability of
11563         the caps, and a good idea because fixate functions are just called
11564         as a matter of last resort. (Not actually implemented.)
11565         (gst_pad_set_caps): If the caps we're setting is actually the same
11566         as the existing pad caps, just update the pointer without calling
11567         setcaps. Assert that caps is either NULL or fixed, as per the
11568         docs.
11569
11570         * gst/gstghostpad.c: Update for fixate changes.
11571
11572 2005-07-02  Andy Wingo  <wingo@pobox.com>
11573
11574         * gst/gstcaps.c:
11575         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
11576         two refcounts makes it immutable, which is enough. Doc more.
11577
11578 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
11579
11580         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
11581           Put the mini_object into GValue as a mini_object,
11582           not a gpointer, since that's how we declared
11583           the signal.
11584
11585 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11586
11587         * examples/pwg/Makefile.am:
11588           Fix buildbot again.
11589
11590 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11591
11592         * docs/pwg/building-testapp.xml:
11593           Add extra check.
11594         * examples/pwg/Makefile.am:
11595           Fix buildbot.
11596
11597 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11598
11599         * configure.ac:
11600         * examples/Makefile.am:
11601         * examples/pwg/Makefile.am:
11602         * examples/pwg/extract.pl:
11603           Enable building the PWG examples.
11604         * docs/pwg/advanced-interfaces.xml:
11605           Add URI interface stub.
11606         * docs/pwg/advanced-types.xml:
11607         * docs/pwg/other-autoplugger.xml:
11608         * docs/pwg/appendix-porting.xml:
11609         * docs/pwg/pwg.xml:
11610           Add porting guide (mostly stubs), remove autoplugging (see ADM).
11611         * docs/pwg/building-boiler.xml:
11612         * docs/pwg/building-chainfn.xml:
11613         * docs/pwg/building-pads.xml:
11614         * docs/pwg/building-props.xml:
11615         * docs/pwg/building-state.xml:
11616         * docs/pwg/building-testapp.xml:
11617           Update the building-*.xml parts for 0.9 changes. All examples
11618           code blocks compile in examples/pwg/*.
11619
11620 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11621
11622         * docs/manual/advanced-autoplugging.xml:
11623         * docs/manual/appendix-checklist.xml:
11624         * docs/manual/appendix-integration.xml:
11625         * docs/manual/highlevel-components.xml:
11626           Fix playbin/decodebin examples, update docs a bit, mention bus
11627           instead of signals in various places, mention kmplayer and
11628           kaffeine since they have a working GStreamer backend in the KDE
11629           section.
11630
11631 2005-06-30  Wim Taymans  <wim@fluendo.com>
11632
11633         * CHANGES-0.9:
11634         * docs/design/draft-ghostpads.txt:
11635         * docs/design/draft-push-pull.txt:
11636         * docs/design/draft-query.txt:
11637         * docs/design/part-TODO.txt:
11638         * docs/design/part-query.txt:
11639         Added CHANGES-0.9 doc, updated status of other docs.
11640         
11641         * gst/gstquery.h:
11642         Remove "hmm" macro
11643
11644 2005-06-30  Wim Taymans  <wim@fluendo.com>
11645
11646         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
11647         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
11648         (gst_base_sink_change_state):
11649         * gst/base/gstbasesink.h:
11650         Some tweaks, only EOS and a buffer complete a preroll.
11651
11652 2005-06-30  Andy Wingo  <wingo@pobox.com>
11653
11654         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
11655         activate_push down to the internal pad as well.
11656
11657 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
11658
11659         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11660
11661         * gst/gsttaginterface.c:
11662           Some documentation fixes (#307394 and #307397).
11663
11664 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
11665
11666         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11667
11668         * gst/gstvalue.c: (gst_value_intersect_list):
11669           Fix memleak (#309125).
11670
11671 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11672
11673         * docs/manual/advanced-dataaccess.xml:
11674           Fix fakesrc example to compile; doesn't work, bug somewhere...?
11675         * docs/manual/basics-pads.xml:
11676           Add reference for filtered caps to above chapter.
11677
11678 2005-06-30  Wim Taymans  <wim@fluendo.com>
11679
11680         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
11681         (gst_bin_change_state):
11682         Probes are gone.
11683         Lame attempt at making the state change function a bit
11684         more readable.
11685
11686 2005-06-30  Wim Taymans  <wim@fluendo.com>
11687
11688         * docs/design/part-clocks.txt:
11689         * docs/design/part-element-sink.txt:
11690         * docs/design/part-events.txt:
11691         * docs/design/part-preroll.txt:
11692         * docs/design/part-states.txt:
11693         Some more tweeks and additions to the docs.
11694
11695 2005-06-30  Wim Taymans  <wim@fluendo.com>
11696
11697         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
11698         (default_have_data), (gst_pad_class_init), (gst_pad_init),
11699         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
11700         (gst_pad_check_pull_range), (gst_pad_get_range),
11701         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
11702         * gst/gstpad.h:
11703         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
11704         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11705         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11706         (gst_pad_remove_buffer_probe):
11707         Removed atomic operations, use existing LOCK.
11708         Move exception handling out of main code path.
11709
11710 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11711
11712         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
11713         (silly_return_true_function), (gst_pad_class_init),
11714         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
11715         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
11716         (gst_pad_send_event):
11717           Fix accumulator, add default value by using _emitv() instead
11718           of _emit() for signal emission.
11719
11720 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11721
11722         * docs/manual/advanced-dataaccess.xml:
11723         * examples/manual/Makefile.am:
11724           Add probe example.
11725         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
11726           Make work (??).
11727
11728 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
11729
11730         * gst/elements/gstfilesink.c: (gst_filesink_render):
11731           Simplify code so that we don't have to handle short
11732           writes and return GST_FLOW_ERROR if an error occured.
11733
11734 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11735
11736         * docs/gst/gstreamer-docs.sgml:
11737           Remove probes more.
11738
11739 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11740
11741         * docs/gst/gstreamer-sections.txt:
11742         * docs/gst/tmpl/gstpad.sgml:
11743         * docs/gst/tmpl/gstprobe.sgml:
11744         * gst/Makefile.am:
11745         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
11746         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
11747         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11748         (gst_pad_push_event), (gst_pad_send_event):
11749         * gst/gstpad.h:
11750         * gst/gstutils.c: (gst_pad_add_data_probe),
11751         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11752         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11753         (gst_pad_remove_buffer_probe):
11754         * gst/gstutils.h:
11755           Remove old probes, add new g-signal-based probes and some utility
11756           functions.
11757
11758 2005-06-29  Edward Hervey  <edward@fluendo.com>
11759
11760         * gst/gstelementfactory.c:
11761         * gst/gstutils.h:
11762         * gst/gstutils.c:
11763         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
11764         the definition to the header file.
11765
11766 2005-06-29  Andy Wingo  <wingo@pobox.com>
11767
11768         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
11769         plugins from the source directory.
11770
11771 2005-06-29  Wim Taymans  <wim@fluendo.com>
11772
11773         * docs/gst/tmpl/gstbuffer.sgml:
11774         * docs/gst/tmpl/gstclock.sgml:
11775         Some fixings for blantently wrong text.
11776
11777 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11778
11779         * check/Makefile.am:
11780         * gst/gst.c: (add_path_func), (init_pre):
11781         * gst/gstregistry.c: (gst_registry_add_path):
11782           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
11783           only scan the GST_PLUGIN_PATH locations, and not add
11784           system locations
11785
11786 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11787
11788         * docs/gst/gstreamer-sections.txt:
11789         * docs/gst/tmpl/gstbasesrc.sgml:
11790         * gst/gstelement.c:
11791         * gst/gstelement.h:
11792         * gst/gstevent.c:
11793         * gst/gstutils.c:
11794           doc fixes
11795
11796 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11797
11798         * docs/manual/advanced-autoplugging.xml:
11799           Fix autoplugging example.
11800
11801 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11802
11803         * docs/manual/advanced-autoplugging.xml:
11804         * docs/manual/mime-world.fig:
11805           Try to get autoplugging working, fix type detection. Fix text
11806           in hello-world image.
11807
11808 2005-06-29  Wim Taymans  <wim@fluendo.com>
11809
11810         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11811         (gst_base_sink_change_state):
11812         Small debug line.
11813
11814         * gst/gstclock.h:
11815         map SIGNAL and BROADCAST to the right function.
11816
11817         * gst/gstobject.h:
11818         Remove redundant braces.
11819
11820         * gst/gstpad.c: (gst_pad_set_caps):
11821         Don't call setcaps function when reseting caps to NULL.
11822
11823         * gst/gstsystemclock.c: (gst_system_clock_dispose),
11824         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
11825         (gst_system_clock_id_unschedule):
11826         Use BROADCAST as this is what we do.
11827
11828 2005-06-29  Wim Taymans  <wim@fluendo.com>
11829
11830         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11831         We are actually prerolling before commiting the state
11832         change. 
11833
11834 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11835
11836         * docs/manual/advanced-clocks.xml:
11837         * docs/manual/advanced-interfaces.xml:
11838         * docs/manual/advanced-metadata.xml:
11839         * docs/manual/advanced-position.xml:
11840         * docs/manual/advanced-schedulers.xml:
11841         * docs/manual/advanced-threads.xml:
11842         * docs/manual/appendix-porting.xml:
11843         * docs/manual/basics-bins.xml:
11844         * docs/manual/basics-bus.xml:
11845         * docs/manual/basics-elements.xml:
11846         * docs/manual/basics-helloworld.xml:
11847         * docs/manual/basics-pads.xml:
11848         * docs/manual/highlevel-components.xml:
11849         * docs/manual/manual.xml:
11850         * docs/manual/thread.fig:
11851           Update (until threads/scheduling) Application Development Manual;
11852           remove GstThread, add GstBus, add simple porting checklist, add
11853           documentation for tag writing, clocks, make all examples until this
11854           part compile and run.
11855         * examples/manual/Makefile.am:
11856           Update from changes to Application Development Manual; add bus
11857           example, remove thread example.
11858
11859 2005-06-28  Wim Taymans  <wim@fluendo.com>
11860
11861         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
11862         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
11863         (gst_bus_source_dispatch):
11864         Add debugging messages.
11865         Make internal methods static.
11866         Handle the case where the bus is flushed in the handler.
11867         
11868         * gst/gstelement.c: (gst_element_get_bus):
11869         Fix refcount in _get_bus();
11870
11871         * gst/gstpipeline.c: (gst_pipeline_change_state),
11872         (gst_pipeline_get_clock_func):
11873         Clock refcounting fixes.
11874         Handle the case where preroll timed out more gracefully.
11875         
11876         * gst/gstsystemclock.c: (gst_system_clock_dispose):
11877         Clean up the internal thread in dispose. This is needed
11878         for subclasses that actually get disposed.
11879         
11880         * gst/schedulers/threadscheduler.c:
11881         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
11882         (gst_thread_scheduler_dispose):
11883         Free thread pool in dispose.
11884
11885 2005-06-28  Andy Wingo  <wingo@pobox.com>
11886
11887         * tests/network-clock-utils.scm (debug, print-event): New utils.
11888
11889         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
11890         (*packet-loss*): Unified loss probability.
11891         (network-time): Report out-of-band events.
11892
11893         * tests/plot-data: Add support for out-of-band events. Hack it
11894         into this script instead of passing it down the pipe; should fix
11895         this later.
11896
11897 2005-06-28  Wim Taymans  <wim@fluendo.com>
11898
11899         * docs/gst/gstreamer.types:
11900         * docs/gst/tmpl/gstbasesrc.sgml:
11901         * docs/gst/tmpl/gstpad.sgml:
11902         Docs fixes.
11903
11904 2005-06-28  Wim Taymans  <wim@fluendo.com>
11905
11906         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
11907         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
11908         (gst_proxy_pad_do_fixatecaps):
11909         Correctly proxy the check_pull_range function.
11910
11911 2005-06-28  Andy Wingo  <wingo@pobox.com>
11912
11913         * tests/network-clock.scm: Removed need for slib.
11914         
11915 2005-06-28  Wim Taymans  <wim@fluendo.com>
11916
11917         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
11918         (gst_basesink_preroll_queue_flush):
11919         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
11920         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
11921         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
11922         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11923         (gst_proxy_pad_set_property):
11924         * gst/gstpad.c:
11925         * gst/gstpad.h:
11926         * gst/gstqueue.c: (gst_queue_init):
11927         The deprecated pad loop function is removed now.
11928
11929 2005-06-28  Andy Wingo  <wingo@pobox.com>
11930
11931         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
11932         New parameters, simulate network packet loss.
11933
11934         * tests/network-clock-utils.scm: Initialize the RNG.
11935
11936 2005-06-28  Wim Taymans  <wim@fluendo.com>
11937
11938         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
11939         (gst_basesink_event), (gst_basesink_deactivate):
11940         Flushing the preroll queue always needs to unlock the waiters.
11941
11942 2005-06-28  Edward Hervey  <edward@fluendo.com>
11943
11944         * gst/gstpipeline.c: (gst_pipeline_send_event): 
11945         Wheen a seek was successful on a pipeline, set the stream_time to the
11946         seek offset in order to have a synchronized stream_time.
11947
11948 2005-06-28  Wim Taymans  <wim@fluendo.com>
11949
11950         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
11951         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
11952         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
11953         (gst_proxy_pad_do_fixatecaps):
11954         Call wrapper function instead of just calling the function
11955         pointers. This takes care of any locking and whatmore.
11956
11957 2005-06-28  Wim Taymans  <wim@fluendo.com>
11958
11959         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
11960         (gst_pad_pull_range):
11961         * gst/gstpad.h:
11962         CONNECTED -> LINKED.
11963
11964 2005-06-28  Andy Wingo  <wingo@pobox.com>
11965
11966         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
11967         source-munging commit!!!
11968
11969         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
11970         (gst_object_sink): Take gpointer arguments, not GstObject --
11971         avoids casts. Like GLib.
11972
11973         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
11974         activate.
11975
11976 2005-06-27  Andy Wingo  <wingo@pobox.com>
11977
11978         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
11979         remaining buffer.
11980
11981         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
11982         returns a sorted copy of the trace list.
11983         (gst_alloc_trace_print_live): New API, only prints traces with
11984         live objects. Sort the list.
11985         (gst_alloc_trace_print_all): Sort the list.
11986         (gst_alloc_trace_print): Align columns.
11987
11988         * gst/elements/gstttypefindelement.c:
11989         * gst/elements/gsttee.c:
11990         * gst/base/gstbasesrc.c:
11991         * gst/base/gstbasesink.c:
11992         * gst/base/gstbasetransform.c:
11993         * gst/gstqueue.c: Adapt for pad activation changes.
11994
11995         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
11996         sched.
11997         (gst_pipeline_dispose): Drop ref on sched.
11998
11999         * gst/gstpad.c (gst_pad_init): Set the default activate func.
12000         (gst_pad_activate_default): Push mode by default.
12001         (pre_activate_switch, post_activate_switch): New stubs, things to
12002         do before and after switching activation modes on pads.
12003         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
12004         the pad's activate function to choose which mode to activate.
12005         Shortcut on deactivation and call the right function directly.
12006         (gst_pad_activate_pull): New API, (de)activates a pad in pull
12007         mode.
12008         (gst_pad_activate_push): New API, same for push mode.
12009         (gst_pad_set_activate_function) 
12010         (gst_pad_set_activatepull_function) 
12011         (gst_pad_set_activatepush_function): Setters for new API.
12012
12013         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
12014         Trace all miniobjects.
12015         (gst_mini_object_make_writable): Unref the arg if we copy, like
12016         gst_caps_make_writable.
12017
12018         * gst/gstmessage.c (_gst_message_initialize): No trace init.
12019
12020         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
12021         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
12022         Adapt for new pad API.
12023
12024         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
12025
12026         * gst/gstelement.h:
12027         * gst/gstelement.c (gst_element_iterate_src_pads) 
12028         (gst_element_iterate_sink_pads): New API functions.
12029         
12030         * gst/gstelement.c (iterator_fold_with_resync): New utility,
12031         should fold into gstiterator.c in some form.
12032         (gst_element_pads_activate): Simplified via use of fold and
12033         delegation of decisions to gstpad->activate.
12034
12035         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
12036         help in debugging.
12037
12038         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
12039         class once in init, like gstmessage. Didn't run into this issue
12040         but it seems correct. Don't initialize a trace, gstminiobject does
12041         that.
12042
12043         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
12044         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
12045         to the bus.
12046         (assert_live_count): New util function, uses alloc traces to check
12047         cleanup.
12048
12049         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
12050         To be modified when unlink drops the internal pad.
12051
12052 2005-06-27  Wim Taymans  <wim@fluendo.com>
12053
12054         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
12055         (gst_bin_change_state):
12056         Cleanup the get_state() function a little, make sure it
12057         iterates the same set of elements.
12058         Added stub iterate_state_order().
12059
12060 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12061
12062         * docs/gst/gstreamer-docs.sgml:
12063         * docs/gst/gstreamer-sections.txt:
12064         * docs/gst/gstreamer.types:
12065         * docs/gst/tmpl/gstbasesink.sgml:
12066         * docs/gst/tmpl/gstbasesrc.sgml:
12067         * docs/gst/tmpl/gstbasetransform.sgml:
12068         * docs/gst/tmpl/gstelement.sgml:
12069         * docs/gst/tmpl/gstiterator.sgml:
12070         * gst/base/gstbasesrc.c:
12071         * gst/base/gstbasesrc.h:
12072         * gst/base/gstbasetransform.h:
12073         * gst/gstelement.c:
12074         * gst/gstiterator.h:
12075           adding basetransform and iterator docs
12076
12077 2005-06-27  Andy Wingo  <wingo@pobox.com>
12078
12079         * docs/design/part-activation.txt: Notes on how activation should
12080         work -- not quite implemented yet.
12081
12082 2005-06-25  Wim Taymans  <wim@fluendo.com>
12083
12084         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
12085         At least get the chain function correct, needs more
12086         fixing.
12087
12088 2005-06-25  Wim Taymans  <wim@fluendo.com>
12089
12090         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
12091         (gst_basesink_handle_object), (gst_basesink_event),
12092         (gst_basesink_do_sync), (gst_basesink_handle_event),
12093         (gst_basesink_change_state):
12094         * gst/gsttask.h:
12095         Right, two problems here: ghostpads don't take locks and
12096         glib _rec_mutex_lock_full() with depth==0 still locks.
12097         Catch illegal locking and g_warn them.
12098
12099 2005-06-25  Wim Taymans  <wim@fluendo.com>
12100
12101         * check/states/sinks.c: (START_TEST), (gst_object_suite):
12102         Have to check for completion now...
12103
12104 2005-06-25  Wim Taymans  <wim@fluendo.com>
12105
12106         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
12107         (gst_basesink_handle_object), (gst_basesink_event),
12108         (gst_basesink_do_sync), (gst_basesink_handle_event),
12109         (gst_basesink_change_state):
12110         * gst/gstpad.h:
12111         Unlock STREAM_LOCK whatever the recursion was.
12112
12113 2005-06-25  Wim Taymans  <wim@fluendo.com>
12114
12115         * gst/base/gstbasesink.c: (gst_basesink_set_property),
12116         (gst_basesink_preroll_queue_empty),
12117         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
12118         (gst_basesink_event), (gst_basesink_do_sync),
12119         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
12120         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
12121         (gst_basesink_change_state):
12122         Reworked the base sink, handle event and buffer serialisation
12123         correctly and removed possible deadlock.
12124         Handle EOS correctly.
12125
12126 2005-06-25  Wim Taymans  <wim@fluendo.com>
12127
12128         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
12129         (gst_pipeline_change_state):
12130         * tools/gst-launch.c: (check_intr), (event_loop), (main):
12131         Allow elements to post EOS in the state change function.
12132         Fix up -launch, make it exit the poll loop when the
12133         pipeline actually changed state.
12134         Fix up warning parsing in -launch.
12135
12136 2005-06-25  Wim Taymans  <wim@fluendo.com>
12137
12138         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
12139         (gst_tee_sink_activate):
12140         Core takes STREAM_LOCK for us now.
12141
12142 2005-06-25  Wim Taymans  <wim@fluendo.com>
12143
12144         * gst/gstelement.c: (gst_element_get_state_func),
12145         (gst_element_set_state):
12146         * gst/gstelement.h:
12147         * gst/gstmessage.c: (gst_message_parse_error),
12148         (gst_message_parse_warning):
12149         Keep track of current target state while performing a state
12150         change so that subclasses can do something interesting.
12151         Fix parsing of warning/error messages when GError is NULL.
12152
12153 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12154
12155         * docs/gst/Makefile.am:
12156         * docs/gst/gstreamer-docs.sgml:
12157         * docs/gst/gstreamer-sections.txt:
12158         * docs/gst/gstreamer.types:
12159         * docs/gst/tmpl/gstbasesink.sgml:
12160         * docs/gst/tmpl/gstbasesrc.sgml:
12161         * docs/gst/tmpl/gstbin.sgml:
12162         * docs/gst/tmpl/gstcompat.sgml:
12163         * docs/gst/tmpl/gstfakesink.sgml:
12164         * docs/gst/tmpl/gstfakesrc.sgml:
12165         * docs/gst/tmpl/gstfilesink.sgml:
12166         * docs/gst/tmpl/gstfilesrc.sgml:
12167         * docs/gst/tmpl/gstindex.sgml:
12168         * docs/manual/appendix-quotes.xml:
12169         * gst/base/gstbasesrc.h:
12170         * gst/elements/gstfakesrc.h:
12171         * gst/gstmessage.h:
12172           start pulling in base classes and elements in our docs
12173
12174 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
12175
12176         * docs/gst/Makefile.am:
12177         * docs/libs/Makefile.am:
12178           fixed make distcheck with gtk-doc 1.3
12179
12180 2005-06-23  Wim Taymans  <wim@fluendo.com>
12181
12182         * gst/gstelement.c: (gst_element_get_state_func),
12183         (gst_element_set_state), (gst_element_change_state):
12184         When the state did not change, also report NO_PREROLL
12185         when it matters.
12186
12187 2005-06-23  Wim Taymans  <wim@fluendo.com>
12188
12189         * gst/gstpad.c: (gst_pad_event_default):
12190         * gst/gstqueue.c: (gst_queue_loop):
12191         No unsafe task pausing please.
12192
12193 2005-06-23  Wim Taymans  <wim@fluendo.com>
12194
12195         * gst/schedulers/threadscheduler.c:
12196         (gst_thread_scheduler_task_start),
12197         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
12198         Ref the task before pushing it on the threadpool. This
12199         makes sure that we have a ref when the threadfunction is
12200         actually called.
12201
12202 2005-06-23  Andy Wingo  <wingo@pobox.com>
12203
12204         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
12205         offset is greater than the file's size.
12206
12207         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
12208         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
12209         * gst/gstobject.c (gst_object_class_init): Make the class lock
12210         recursive. Wim won't let me drop deep_notify. Decodebin works
12211         again, whoopdy doo.
12212
12213         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
12214         internal pad, and hacks accordingly. Doesn't do it on the target
12215         pad because we change its caps. Probably catches all cases of
12216         interest tho.
12217         (gst_ghost_pad_set_property): Connect to notify::caps as
12218         appropritate.
12219
12220         * tests/network-clock.scm (plot-simulation): Pipe data to the
12221         elite python skript.
12222
12223         * tests/network-clock-utils.scm (define-parameter): New macro,
12224         defines a parameter that can be set via the command line.
12225         (set-parameter!, parse-parameter-arguments): Command line args
12226         parser.
12227
12228         * tests/plot-data: Simple matplotlib-based plotter, takes input on
12229         stdin.
12230
12231 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
12232
12233         * gst/elements/gsttypefindelement.c:
12234         (gst_type_find_element_handle_event):
12235           Don't restart typefinding on a discont.
12236         * gst/gstelement.c: (gst_element_set_state):
12237           Debug spelling fix.
12238         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
12239           Allow changing mode of an active pad.
12240           Debug output fixes.
12241         * gst/registries/gstlibxmlregistry.c: (load_feature):
12242           Don't cast a static pad template to a normal pad template.
12243
12244 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12245
12246         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
12247         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
12248           remove gst_strtoll completely, since it didn't actually do
12249           anything more than what g_ascii_strtoull already does.
12250           check for range errors when deserializing
12251           do a cast for the unsigned cases; but further fixing needs
12252           a decision on what the interpretation of "(int)" and
12253           deserialization should be for values that fall outside the
12254           type's boundaries (ie, refuse, or interpret as casting)
12255
12256 2005-06-23  Wim Taymans  <wim@fluendo.com>
12257
12258         * check/Makefile.am:
12259         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
12260         * docs/design/part-live-source.txt:
12261         * docs/design/part-states.txt:
12262         * gst/base/gstbasesrc.c: (gst_basesrc_init),
12263         (gst_basesrc_set_live), (gst_basesrc_is_live),
12264         (gst_basesrc_get_range), (gst_basesrc_activate),
12265         (gst_basesrc_change_state):
12266         * gst/base/gstbasesrc.h:
12267         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12268         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
12269         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
12270         * gst/gstelement.c: (gst_element_get_state_func),
12271         (gst_element_set_state):
12272         * gst/gstelement.h:
12273         * gst/gsttypes.h:
12274         * tools/gst-launch.c: (event_loop), (main):
12275         Added support for live sources and other elements that
12276         cannot do preroll.
12277         Updated design docs, added live-source design doc.
12278         Implemented live source functionality in basesrc
12279         Fix error condition in _bin_get_state()
12280         Implement live source handling in -launch.
12281         Added check for live sources.
12282         Fixed case in GstBin where elements were changed state
12283         multiple times.
12284
12285
12286 2005-06-23  Andy Wingo  <wingo@pobox.com>
12287
12288         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
12289         borken refcounting.
12290
12291         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
12292         gst_caps_replace takes care of this for us.
12293
12294         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
12295         gst_pad_set_caps on the target, not just its setcaps() function.
12296
12297         * tests/network-clock.scm: 
12298         * tests/network-clock-utils.scm: A network clock simulator.
12299         Something of an algorithmic testbed before doing something in C.
12300
12301 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12302
12303         * check/Makefile.am:
12304         * check/gst/capslist.h:
12305           copy over from 0.8, and add two with bitmasks specified with
12306           (int) 0xFF...
12307         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
12308           add test to parse everything from capslist.h
12309         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
12310         (main):
12311           add test for structure deserialization
12312         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
12313           add tests for deserialization of strings to int types
12314         * gst/gststructure.c: (gst_structure_nth_field_name):
12315         * gst/gststructure.h:
12316           add a way to get the name of a field referenced by index
12317         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
12318           instead of checking if the resulting long long lies between
12319           min and max, we check if the long long would fit into
12320           a number of bytes for the final type.
12321           This fixes cases where a string represents 2^32 - 1, which
12322           when cast to int would be the (valid) -1, but is bigger than
12323           G_MAXINT
12324
12325 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12326
12327         * gst/parse/grammar.y:
12328           add a log line for type deserialization
12329
12330 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12331
12332         * check/gst/gstvalue.c: (START_TEST):
12333         * gst/gstvalue.c: (gst_value_deserialize):
12334           return long long, not int, so gint64 deserialization actually
12335           works.  Is there any flag that makes the compiler check this ?
12336           Fixes #308559
12337
12338 2005-06-22  Wim Taymans  <wim@fluendo.com>
12339
12340         * gst/gstbuffer.h:
12341         Added convenience macros for setting buffers in GValue.
12342
12343 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
12344
12345         * check/gst/.cvsignore:
12346         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
12347           add a test deserializing int64, and comment part out because
12348           it fails, yay !
12349
12350 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
12351
12352         * check/Makefile.am:
12353         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
12354         * testsuite/Makefile.am:
12355         * testsuite/caps/Makefile.am:
12356         * testsuite/caps/value_serialize.c:
12357         * testsuite/test_gst_init.c:
12358           move a value_serialize test over
12359
12360 2005-06-20  Wim Taymans  <wim@fluendo.com>
12361
12362         * gst/gstpad.c:
12363         Small doc updates.
12364         
12365         * gst/gstvalue.c: (gst_value_compare_buffer),
12366         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
12367         (gst_value_compare_flags), (gst_value_serialize_flags),
12368         (gst_value_deserialize_flags), (_gst_value_initialize):
12369         Fix serialisation of buffers, they are not boxed types anymore
12370
12371 2005-06-20  Wim Taymans  <wim@fluendo.com>
12372
12373         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
12374         Testcase to show error in buffer-on-caps serialisation.
12375
12376 2005-06-20  Andy Wingo  <wingo@pobox.com>
12377
12378         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
12379         will be adding to later.
12380
12381         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
12382         if its socks fill with rocks.
12383         (gst_system_clock_obtain): Set the name on object construction.
12384         Avoid double-checked locking.
12385
12386 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
12387
12388         * gst/gsturi.c: (gst_element_make_from_uri):
12389           Fix potential endless loop.
12390
12391 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
12392
12393         * check/Makefile.am:
12394           add gsttag
12395         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
12396         (main):
12397           move over from testsuite dir and clean up
12398         * configure.ac:
12399         * gst/gsttag.c:
12400         * testsuite/Makefile.am:
12401         * testsuite/tags/.cvsignore:
12402         * testsuite/tags/Makefile.am:
12403         * testsuite/tags/merge.c:
12404           remove testsuite/tags
12405
12406 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
12407
12408         * docs/gst/gstreamer-sections.txt:
12409         * docs/gst/tmpl/gstenumtypes.sgml:
12410         * win32/gstenumtypes.c:
12411           clean up documentation build a little
12412
12413 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
12414
12415         * check/gstcheck.h:
12416           add macros for checking refcounts on objects and caps
12417         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
12418           add some more unit tests
12419         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12420         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
12421           fix leaked refcounts (I hope :)) so unittest works
12422         * gst/gstpad.h:
12423           whitespace removal
12424
12425 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
12426
12427         * configure.ac: back to HEAD
12428
12429 === release 0.9.1 ===
12430
12431 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
12432
12433         * NEWS:
12434         * RELEASE:
12435           updated
12436
12437 2005-06-17  Andy Wingo  <wingo@pobox.com>
12438
12439         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
12440         assert; it's always possible that the pad gets deactivated in
12441         between the checks in gstpad.c and the implementation. Rely on
12442         finish_preroll() to return a FLUSHING or similar instead of on the
12443         assert.
12444         
12445         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
12446         clock and post an EOS message if we come out of finish_preroll in
12447         the playing state.
12448
12449 2005-06-16  David Schleef  <ds@schleef.org>
12450
12451         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
12452         (gst_capsfilter_set_property): Allow NULL as possible value
12453         for filter_caps property, indicating GST_CAPS_ANY.
12454
12455 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12456
12457         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
12458           fix debug output
12459         * gst/schedulers/Makefile.am:
12460           use libgst prefix
12461         * gstreamer.spec.in:
12462           fix spec for it
12463
12464 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12465
12466         * gstreamer.spec.in:
12467           clean up
12468
12469 2005-06-08  Andy Wingo  <wingo@pobox.com>
12470
12471         * gst/gstutils.c: RPAD fixes all around.
12472         (gst_element_link_pads): Refcounting fixes.
12473
12474         * tools/gst-inspect.c:
12475         * tools/gst-xmlinspect.c:
12476         * parse/grammar.y:
12477         * gst/base/gsttypefindhelper.c:
12478         * gst/base/gstbasesink.c:
12479         * gst/gstqueue.c: RPAD fixes.
12480
12481         * gst/gstghostpad.h:
12482         * gst/gstghostpad.c: New ghost pad implementation as full proxy
12483         pads. The tricky thing is they provide both source and sink
12484         interfaces, since they proxy the internal pad for the external
12485         pad, and vice versa. Implement with lower-level ProxyPad objects,
12486         with the interior proxy pad as a child of the exterior ghost pad.
12487         Should write a doc on this.
12488         
12489         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
12490         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
12491         gst_object API.
12492         
12493         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
12494         pads are real pads. No ghost pads in this file. Not documenting
12495         the myriad s/RPAD/PAD/ and REALIZE fixes.
12496         (gst_pad_class_init): Add properties for "direction" and
12497         "template". Both are construct-only, so they can't change during
12498         the life of the pad. Fixes properly deriving from GstPad.
12499         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
12500         derived objects, just set properties when creating the objects via
12501         g_object_new.
12502         (gst_pad_get_parent): Implement as a function, return NULL if the
12503         parent is not an element.
12504         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
12505         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
12506         
12507         * gst/gstobject.c (gst_object_class_init): Make name a construct
12508         property. Don't set it in the object init.
12509
12510         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
12511         with UNKNOWN direction.
12512         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
12513         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
12514         (gst_element_remove_pad): Remove ghost-pad special cases.
12515         (gst_element_pads_activate): Remove rpad cruft.
12516
12517         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
12518         catch the pad's-parent-not-an-element case.
12519
12520         * gst/gst.h: Include gstghostpad.h.
12521
12522         * gst/gst.c (init_post): No more real, ghost pads.
12523
12524         * gst/Makefile.am: Add gstghostpad.[ch].
12525
12526         * check/Makefile.am:
12527         * check/gst/gstbin.c:
12528         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
12529         into a bin creates ghost pads, and that the refcounts are right.
12530         Partly moved from gstbin.c.
12531
12532 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12533
12534         * check/gst-libs/.cvsignore:
12535         * check/gst/.cvsignore:
12536         * check/pipelines/.cvsignore:
12537           ignore more
12538         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
12539         (START_TEST), (cleanup_suite), (main):
12540           add some tests related to cleanup after running pipelines
12541
12542 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12543
12544         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
12545           add a testsuite for GstBuffer
12546
12547 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12548
12549         * gst/gstminiobject.h:
12550           add defines for accessing the refcount
12551
12552 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
12553
12554         * Makefile.am: added support for html unit test coverage reports
12555
12556 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
12557
12558         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
12559           Free existing caps if the capsfilter changes. Add a FIXME about
12560           setting those caps on the pads.
12561
12562         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
12563           Before adding a ghost pad to a parent bin, check that there isn't
12564           already one for the element on the bin. Prevents infinite recursion
12565           when using decodebin in parse pipelines. Andy says he'll rewrite the
12566           way this works anyway, so ignore the hack.
12567
12568 2005-06-02  Andy Wingo  <wingo@pobox.com>
12569
12570         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
12571         file size, pass it on to the type find helper.
12572
12573         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
12574         segment_start and segment_end properly according to the seek
12575         method. Segment_end is still a bit flaky because offset can be
12576         negative for CUR and END cases, but it takes -1 as an "unset"
12577         value.
12578
12579 2005-06-02  Wim Taymans  <wim@fluendo.com>
12580
12581         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
12582         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
12583         (gst_basesink_activate):
12584         * gst/base/gstbasesink.h:
12585         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
12586         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
12587         (gst_pad_query), (gst_pad_start_task):
12588         * gst/gstpad.h:
12589         * gst/gstqueue.c: (gst_queue_bufferalloc),
12590         (gst_queue_handle_sink_event), (gst_queue_chain):
12591         Bufferalloc: return GstFlowReturn to more accuratly report
12592         why allocation failed.
12593
12594 2005-06-02  Wim Taymans  <wim@fluendo.com>
12595
12596         * gst/gstpipeline.c: (gst_pipeline_send_event):
12597         Take snapshot of state without blocking.
12598
12599 2005-06-02  Wim Taymans  <wim@fluendo.com>
12600
12601         * docs/design/part-TODO.txt:
12602         * docs/design/part-caps.txt:
12603         * docs/design/part-clocks.txt:
12604         * docs/design/part-negotiation.txt:
12605         * docs/design/part-preroll.txt:
12606         Small doc updates 
12607
12608 2005-05-30  Wim Taymans  <wim@fluendo.com>
12609
12610         * gst/elements/gstidentity.c: (gst_identity_event),
12611         (gst_identity_transform), (gst_identity_get_property):
12612         Protect last_message property as it is accessed from
12613         multiple threads.
12614
12615 2005-05-30  Wim Taymans  <wim@fluendo.com>
12616
12617         * gst/gstelement.c: (gst_element_init),
12618         (gst_element_pads_activate), (gst_element_change_state):
12619         Slicker pad activation code.
12620
12621 2005-05-30  Wim Taymans  <wim@fluendo.com>
12622
12623         * gst/Makefile.am:
12624         * gst/gstelement.h:
12625         * gst/gstelementfactory.h:
12626         * gst/gsttypes.h:
12627         Move elementfactory methods to separate .h file.
12628
12629 2005-05-30  Wim Taymans  <wim@fluendo.com>
12630
12631         * docs/design/part-overview.txt:
12632         * gst/gstsystemclock.h:
12633         Small typo fixes, doc updates.
12634
12635 2005-05-30  Wim Taymans  <wim@fluendo.com>
12636
12637         * gst/gst.c: (gst_init_get_popt_table), (init_post),
12638         (init_popt_callback):
12639         Remove cpu-opt flag.
12640
12641 2005-05-30  Wim Taymans  <wim@fluendo.com>
12642
12643         * gst/gstbuffer.c: (gst_subbuffer_finalize),
12644         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
12645         * gst/gstbuffer.h:
12646         Avoid typechecking in places where not needed.
12647         Added accessor for malloc_data.
12648
12649 2005-05-30  Wim Taymans  <wim@fluendo.com>
12650
12651         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
12652         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
12653         (gst_pad_configure_sink), (gst_pad_configure_src),
12654         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
12655         (gst_pad_start_task):
12656         Propagate errors from _set_caps() in configure_src/sink
12657         functions instead of returning TRUE.
12658         FLUSH events can travel up and downstream
12659
12660
12661 2005-05-30  Wim Taymans  <wim@fluendo.com>
12662
12663         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
12664         (gst_basesink_activate):
12665         Handle EOS in preroll.
12666
12667 2005-05-30  Wim Taymans  <wim@fluendo.com>
12668
12669         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
12670         (gst_queue_loop), (gst_queue_handle_src_event):
12671         Remove old pieces of code
12672         Flushing the queue in an upstream event is a very bad idea.
12673
12674 2005-05-26  Andy Wingo  <wingo@pobox.com>
12675
12676         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
12677         gst_value_set_mini_object so as to add a ref on the object (which
12678         will be removed when the value is unset).
12679
12680         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
12681         arg type in ::handoff.
12682
12683         * gst/gstelement.c (gst_element_change_state): Also deactivate
12684         pads in READY->NULL, just in case the element didn't make it to
12685         PAUSED. Wingo tested, Wim approved.
12686
12687 2005-05-26  Wim Taymans  <wim@fluendo.com>
12688
12689         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
12690         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
12691         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
12692         A flushing pad cannot be used to alloc_buffer from.
12693
12694 2005-05-26  Wim Taymans  <wim@fluendo.com>
12695
12696         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
12697         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
12698         (gst_bus_source_dispatch), (gst_bus_source_finalize),
12699         (gst_bus_create_watch), (gst_bus_add_watch_full):
12700         * gst/gstbus.h:
12701         Implement a real GSource and use g_main_context_wakeup() to
12702         signal new messages instead of the socketpair.
12703
12704 2005-05-25  Wim Taymans  <wim@fluendo.com>
12705
12706         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
12707         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
12708         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
12709         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
12710         (gst_pad_send_event), (gst_pad_start_task):
12711         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
12712         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
12713         (gst_queue_sink_activate), (gst_queue_src_activate),
12714         (gst_queue_change_state):
12715         * gst/gstqueue.h:
12716         Fix state changes for non sinks. We now change sinks, then elements
12717         with unconnected srcpads, then the rest.
12718         More efficient queue unlocking in flush and state changes.
12719         Set the pad activate mode even if it does not have an activate
12720         function.
12721
12722 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12723
12724         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
12725           Don't go in pull mode for non-seekable sources.
12726         * gst/elements/gsttypefindelement.h:
12727         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
12728         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
12729         (free_entry), (stop_typefinding),
12730         (gst_type_find_element_handle_event), (find_peek),
12731         (gst_type_find_element_chain), (do_pull_typefind),
12732         (gst_type_find_element_change_state):
12733           Allow typefinding (w/o seeking) in push-mode, simplified version
12734           of what was in 0.8.
12735         * gst/gstutils.c: (gst_buffer_join):
12736         * gst/gstutils.h:
12737           gst_buffer_join() from 0.8.
12738
12739 2005-05-25  Wim Taymans  <wim@fluendo.com>
12740
12741         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
12742         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
12743         (gst_pad_send_event), (gst_pad_start_task):
12744         Disable attempt at mode switching until it is figured out.
12745
12746 2005-05-25  Wim Taymans  <wim@fluendo.com>
12747
12748         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
12749         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
12750         (gst_basesink_finish_preroll), (gst_basesink_chain),
12751         (gst_basesink_loop), (gst_basesink_activate),
12752         (gst_basesink_change_state):
12753         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
12754         (gst_basesrc_get_range), (gst_basesrc_loop),
12755         (gst_basesrc_activate):
12756         * gst/elements/gsttee.c: (gst_tee_sink_activate):
12757         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12758         (gst_real_pad_init), (gst_real_pad_set_property),
12759         (gst_real_pad_get_property), (gst_pad_set_active),
12760         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
12761         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
12762         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
12763         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
12764         (gst_pad_event_default_dispatch), (gst_pad_event_default),
12765         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
12766         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
12767         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
12768         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
12769         (gst_pad_stop_task):
12770         * gst/gstpad.h:
12771         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
12772         (gst_queue_loop), (gst_queue_src_activate):
12773         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
12774         (gst_task_get_state):
12775         * gst/gsttask.h:
12776         * gst/schedulers/threadscheduler.c:
12777         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
12778         Implement gst_pad_pause/start/stop_task(), take STREAM lock
12779         in task function.
12780         Remove ACTIVE pad flag, use FLUSHING everywhere
12781         Added _pad_chain(), _pad_get_range() to call chain/getrange 
12782         functions.
12783         Add locks around IS_FLUSHING when reading.
12784         Take STREAM lock in chain(), get_range() functions so plugins
12785         don't need to take it anymore.
12786         
12787
12788
12789 2005-05-25  Wim Taymans  <wim@fluendo.com>
12790
12791         * tools/gst-launch.c: (event_loop):
12792         Unref message after using its contents instead of
12793         before.
12794
12795 2005-05-24  Wim Taymans  <wim@fluendo.com>
12796
12797         * docs/design/draft-ghostpads.txt:
12798         * docs/design/draft-push-pull.txt:
12799         * docs/design/draft-query.txt:
12800         * docs/design/part-overview.txt:
12801         Docs updates, added general overview doc.
12802
12803 2005-05-21  David Schleef  <ds@schleef.org>
12804
12805         * docs/gst/tmpl/old/GstBin.sgml:
12806         * docs/gst/tmpl/old/GstBuffer.sgml:
12807         * docs/gst/tmpl/old/GstCaps.sgml:
12808         * docs/gst/tmpl/old/GstClock.sgml:
12809         * docs/gst/tmpl/old/GstCompat.sgml:
12810         * docs/gst/tmpl/old/GstData.sgml:
12811         * docs/gst/tmpl/old/GstElement.sgml:
12812         * docs/gst/tmpl/old/GstEvent.sgml:
12813         * docs/gst/tmpl/old/GstIndex.sgml:
12814         * docs/gst/tmpl/old/GstStructure.sgml:
12815         * docs/gst/tmpl/old/GstTag.sgml:
12816         * docs/gst/tmpl/old/cothreads.sgml:
12817         * docs/gst/tmpl/old/cothreads_compat.sgml:
12818         * docs/gst/tmpl/old/gettext.sgml:
12819         * docs/gst/tmpl/old/gobject2gtk.sgml:
12820         * docs/gst/tmpl/old/grammar.tab.sgml:
12821         * docs/gst/tmpl/old/gst-i18n-app.sgml:
12822         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
12823         * docs/gst/tmpl/old/gst_private.sgml:
12824         * docs/gst/tmpl/old/gstaggregator.sgml:
12825         * docs/gst/tmpl/old/gstarch.sgml:
12826         * docs/gst/tmpl/old/gstatomic_impl.sgml:
12827         * docs/gst/tmpl/old/gstbufferstore.sgml:
12828         * docs/gst/tmpl/old/gstdata_private.sgml:
12829         * docs/gst/tmpl/old/gstdisksink.sgml:
12830         * docs/gst/tmpl/old/gstdisksrc.sgml:
12831         * docs/gst/tmpl/old/gstelementfactory.sgml:
12832         * docs/gst/tmpl/old/gstextratypes.sgml:
12833         * docs/gst/tmpl/old/gstfakesink.sgml:
12834         * docs/gst/tmpl/old/gstfakesrc.sgml:
12835         * docs/gst/tmpl/old/gstfdsink.sgml:
12836         * docs/gst/tmpl/old/gstfdsrc.sgml:
12837         * docs/gst/tmpl/old/gstfilesink.sgml:
12838         * docs/gst/tmpl/old/gstfilesrc.sgml:
12839         * docs/gst/tmpl/old/gsthttpsrc.sgml:
12840         * docs/gst/tmpl/old/gstidentity.sgml:
12841         * docs/gst/tmpl/old/gstindexfactory.sgml:
12842         * docs/gst/tmpl/old/gstmarshal.sgml:
12843         * docs/gst/tmpl/old/gstmd5sink.sgml:
12844         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
12845         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
12846         * docs/gst/tmpl/old/gstpadtemplate.sgml:
12847         * docs/gst/tmpl/old/gstpipefilter.sgml:
12848         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
12849         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
12850         * docs/gst/tmpl/old/gstshaper.sgml:
12851         * docs/gst/tmpl/old/gstspider.sgml:
12852         * docs/gst/tmpl/old/gstspideridentity.sgml:
12853         * docs/gst/tmpl/old/gststatistics.sgml:
12854         * docs/gst/tmpl/old/gsttee.sgml:
12855         * docs/gst/tmpl/old/gsttimecache.sgml:
12856         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
12857         * docs/gst/tmpl/old/gstxmlregistry.sgml:
12858         * docs/gst/tmpl/old/gthread-cothreads.sgml:
12859         * docs/gst/tmpl/old/types.sgml:
12860           I didn't intend to add these or check them in.
12861
12862 2005-05-19  David Schleef  <ds@schleef.org>
12863
12864         * configure.ac: Use -no-common everywhere.  In a sane world, it
12865           would be the default in libtool, because without it, you can't
12866           build DLLs on Windows.
12867         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
12868         * docs/gst/gstreamer-sections.txt:
12869         * docs/gst/tmpl/gstcpu.sgml:
12870         * docs/gst/tmpl/gstdata.sgml:
12871         * docs/gst/tmpl/gstthread.sgml:
12872
12873 2005-05-19  David Schleef  <ds@schleef.org>
12874
12875         * gst/gstminiobject.c: (gst_value_set_mini_object),
12876         (gst_value_take_mini_object), (gst_value_get_mini_object):
12877         * gst/gstminiobject.h: Add GValue set/get functions.
12878
12879 2005-05-19  Wim Taymans  <wim@fluendo.com>
12880
12881         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
12882         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
12883         (gst_subbuffer_init), (gst_buffer_is_span_fast):
12884         * gst/gstbuffer.h:
12885         * gst/gstbus.c: (gst_bus_post):
12886         * gst/gstelement.c: (gst_element_get_random_pad):
12887         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
12888         Make subbufer unref the parent in finalize.
12889         some more debugging info.
12890
12891
12892 2005-05-19  Wim Taymans  <wim@fluendo.com>
12893
12894         * gst/base/gstbasesink.c: (gst_basesink_class_init),
12895         (gst_basesink_init), (gst_basesink_finalize),
12896         (gst_basesink_activate), (gst_basesink_change_state):
12897         Don't free preroll queue too early.
12898
12899 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12900
12901         * gst/Makefile.am:
12902         * gst/ROADMAP:
12903           Hi, I'm outdated. Please shoot me.
12904
12905 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12906
12907         * gst/gstpipeline.c: (gst_pipeline_send_event):
12908           Do not access variables after they have been deleted.
12909
12910 2005-05-19  Wim Taymans  <wim@fluendo.com>
12911
12912         * tools/gst-inspect.c: (print_plugin_features):
12913         A plugin feature does unfortunatly not use the
12914         object name yet...
12915
12916 2005-05-18  Wim Taymans  <wim@fluendo.com>
12917
12918         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
12919         Port _span() functions to new subbuffers.
12920
12921 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12922
12923         * gst/gstbin.c: (gst_bin_add_func):
12924           Fix clock settery in bins when adding kids after the clock has
12925           been selected.
12926
12927 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12928
12929         * gst/elements/gstidentity.c: (gst_identity_class_init):
12930           Workaround until signals support GstMiniObject.
12931
12932 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
12933
12934         * gst/gstbuffer.c:
12935         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
12936
12937 2005-05-18  Wim Taymans  <wim@fluendo.com>
12938
12939         * gst/base/Makefile.am:
12940         * gst/base/gstadapter.c: (gst_adapter_base_init),
12941         (gst_adapter_class_init), (gst_adapter_init),
12942         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
12943         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
12944         (gst_adapter_flush), (gst_adapter_available),
12945         (gst_adapter_available_fast):
12946         * gst/base/gstadapter.h:
12947         Ported and added adapter to the base classes.
12948
12949 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12950
12951         * gst/gst.c:
12952         * gst/gstmessage.c:
12953           Make sure the class is reffed/unreffed once before threads can be
12954           used.  Fixes #304551.
12955
12956 2005-05-17  Wim Taymans  <wim@fluendo.com>
12957
12958         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
12959         (gst_basesink_chain_unlocked), (gst_basesink_activate):
12960         * gst/gstminiobject.c: (gst_mini_object_get_type),
12961         (gst_mini_object_free):
12962         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
12963         (gst_pad_push), (gst_pad_push_event):
12964         * gst/gstqueue.c: (gst_queue_change_state):
12965         Don't queue buffers in basesink when we are flushing.
12966         Unref buffer when flushing in basesink.
12967         Flush queue when going to READY
12968         Unref buffer when _push() returns an error.
12969         Don't free MiniObject instance when refcount is incremented
12970         in _finalize() so that we can recover objects.
12971
12972 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
12973
12974         * docs/manual/advanced-schedulers.xml:
12975         * docs/manual/appendix-checklist.xml:
12976         * docs/pwg/advanced-clock.xml:
12977         * docs/pwg/advanced-interfaces.xml:
12978         * docs/pwg/advanced-request.xml:
12979         * docs/pwg/advanced-types.xml:
12980         * docs/pwg/intro-preface.xml:
12981         * examples/plugins/example.c: (gst_example_get_type),
12982         (gst_example_class_init), (gst_example_chain),
12983         (gst_example_set_property), (gst_example_get_property),
12984         (gst_example_change_state), (plugin_init):
12985         * examples/plugins/example.h:
12986           small doc fixes
12987
12988 2005-05-17  Wim Taymans  <wim@fluendo.com>
12989
12990         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
12991         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
12992         * gst/gstqueue.c: (gst_queue_change_state):
12993         Clear queue when going to READY.
12994         Remove IN_SETCAPS flag too.
12995
12996 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
12997
12998         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
12999           Remove implicit cast from gboolean to GstElementStateReturn;
13000           make sure we still return failure in paused => ready case if
13001           the parent class fails to change state and our own stop 
13002           vfunc succeeds.
13003
13004 2005-05-17  Wim Taymans  <wim@fluendo.com>
13005
13006         * tools/gst-launch.c: (event_loop):
13007         Message was unreffed too soon.
13008
13009 2005-05-16  Andy Wingo  <wingo@pobox.com>
13010
13011         * gst/gstbin.c (sink_iterator_filter): Err... um...
13012
13013         * check/gst/gstbin.c (test_ghost_pads): New test for the
13014         ghosting-if-elements-not-in-same-bin behavior.
13015
13016 2005-05-16  David Schleef  <ds@schleef.org>
13017
13018         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
13019         accessing refcount directly.
13020
13021 2005-05-15  David Schleef  <ds@schleef.org>
13022
13023         * check/Makefile.am: remove GstData checks
13024         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
13025         * gst/Makefile.am: add miniobject, remove data
13026         * gst/gst.h: add miniobject, remove data
13027         * gst/gstdata.c: remove
13028         * gst/gstdata.h: remove
13029         * gst/gstdata_private.h: remove
13030         * gst/gsttypes.h: remove GstEvent and GstMessage
13031         * gst/gstelement.c: (gst_element_post_message): fix for API changes
13032         * gst/gstmarshal.list: change BOXED -> OBJECT
13033
13034         Implement GstMiniObject.
13035         * gst/gstminiobject.c:
13036         * gst/gstminiobject.h:
13037
13038         Modify to be subclasses of GstMiniObject.
13039         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
13040         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
13041         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
13042         (gst_subbuffer_get_type), (gst_subbuffer_init),
13043         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
13044         (gst_buffer_span):
13045         * gst/gstbuffer.h:
13046         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
13047         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
13048         (_gst_event_copy), (gst_event_new):
13049         * gst/gstevent.h:
13050         * gst/gstmessage.c: (_gst_message_initialize),
13051         (gst_message_get_type), (gst_message_class_init),
13052         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
13053         (gst_message_new), (gst_message_new_error),
13054         (gst_message_new_warning), (gst_message_new_tag),
13055         (gst_message_new_state_changed), (gst_message_new_application):
13056         * gst/gstmessage.h:
13057         * gst/gstprobe.c: (gst_probe_perform),
13058         (gst_probe_dispatcher_dispatch):
13059         * gst/gstprobe.h:
13060         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
13061         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
13062         (_gst_query_copy), (gst_query_new):
13063
13064         Update elements for GstData -> GstMiniObject changes
13065         * gst/gstquery.h:
13066         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
13067         (gst_queue_chain), (gst_queue_loop):
13068         * gst/elements/gstbufferstore.c:
13069         (gst_buffer_store_add_buffer_func),
13070         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
13071         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
13072         (gst_fakesink_render):
13073         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
13074         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
13075         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
13076         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
13077         (gst_filesrc_create_read):
13078         * gst/elements/gstidentity.c: (gst_identity_class_init):
13079         * gst/elements/gsttypefindelement.c:
13080         (gst_type_find_element_src_event), (free_entry_buffers),
13081         (gst_type_find_element_handle_event):
13082         * libs/gst/dataprotocol/dataprotocol.c:
13083         (gst_dp_header_from_buffer):
13084         * libs/gst/dataprotocol/dataprotocol.h:
13085         * libs/gst/dataprotocol/dp-private.h:
13086
13087 2005-05-15  David Schleef  <ds@schleef.org>
13088
13089         * gst/elements/gstelements.c: Don't include headers that were
13090         just removed.
13091
13092 2005-05-15  David Schleef  <ds@schleef.org>
13093
13094         * gst/elements/Makefile.am: Remove some elements that don't
13095         need to be in the core (or even exist at all).
13096         * gst/elements/gstaggregator.c:
13097         * gst/elements/gstaggregator.h:
13098         * gst/elements/gstmd5sink.c:
13099         * gst/elements/gstmd5sink.h:
13100         * gst/elements/gstmultifilesrc.c:
13101         * gst/elements/gstmultifilesrc.h:
13102         * gst/elements/gstpipefilter.c:
13103         * gst/elements/gstpipefilter.h:
13104         * gst/elements/gstshaper.c:
13105         * gst/elements/gstshaper.h:
13106         * gst/elements/gststatistics.c:
13107         * gst/elements/gststatistics.h:
13108         * po/POTFILES.in: Remove above files.
13109
13110 2005-05-14  Andy Wingo  <wingo@pobox.com>
13111
13112         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
13113         so as to get the refs right.
13114         (sink_iterator_filter): New function, wraps bin_element_is_sink,
13115         unreffing objects that don't pass the filter.
13116
13117         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
13118         gst_element_set_bus.
13119         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
13120         normal cases, this will destroy the bus.
13121
13122         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
13123         object.
13124
13125         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
13126         has no sinks.
13127
13128 2005-05-13  Andy Wingo  <wingo@pobox.com>
13129
13130         * gst/gstutils.c (gst_element_link_pads): Instead of calling
13131         gst_pad_link, call pad_link_maybe_ghosting,
13132         (pad_link_maybe_ghosting): Links pads, making sure that the
13133         elements being linked are in the same bin.
13134         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
13135         Helpers for pad_link_maybe_ghosting.
13136
13137 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
13138
13139         * configure.ac:
13140           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
13141
13142 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
13143
13144         * docs/design/part-element-source.txt:
13145           Mention GstPushSrc
13146
13147 2005-05-12  Wim Taymans  <wim@fluendo.com>
13148
13149         * gst/base/gstbasesink.c: (gst_basesink_init),
13150         (gst_basesink_activate):
13151         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
13152         (gst_basesrc_is_seekable):
13153         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13154         (bin_element_is_sink), (gst_bin_change_state):
13155         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
13156         * gst/gstelement.h:
13157         Identify sinks by their flag to avoid overly complicated
13158         checks (fow now).
13159         Do state changes even for elements not reachable from the
13160         sinks.
13161         BaseSink is a sink now :)
13162         Some more debugging info in the basesrc.
13163
13164
13165 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13166
13167         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
13168           Implement _query on a bin, similar to _send_event.
13169
13170 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
13171
13172         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
13173           Discont event offset format should be GST_FORMAT_BYTES,
13174           not GST_FORMAT_TIME.
13175
13176 2005-05-12  Wim Taymans  <wim@fluendo.com>
13177
13178         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
13179         Same fix as Ronald's but without the signal. 
13180
13181 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13182
13183         * gst/gstutils.c: (gst_element_query_position):
13184           No, an element is not a pad.
13185
13186 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13187
13188         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
13189         (gst_bin_get_state):
13190           If a child is removed from a bin while we remove the child from
13191           the bin and while we're retrieving its state, signal this to the
13192           get_state function so we abort the wait (instead of waiting for
13193           a timeout) and can immediately re-iterate over all other elements.
13194
13195 2005-05-12  Wim Taymans  <wim@fluendo.com>
13196
13197         * gst/base/Makefile.am:
13198         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
13199         (gst_basesrc_start):
13200         * gst/base/gstbasesrc.h:
13201         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
13202         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
13203         (gst_pushsrc_init), (gst_pushsrc_create):
13204         * gst/base/gstpushsrc.h:
13205         Added is_seekable to BaseSrc
13206         Added simple PushSrc.
13207
13208 2005-05-11  Wim Taymans  <wim@fluendo.com>
13209
13210         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
13211         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13212         (gst_element_link_pads), (gst_element_query_position),
13213         (gst_element_query_convert), (intersect_caps_func),
13214         (gst_pad_query_position), (gst_pad_query_convert):
13215         Fix refcounting in utils function.
13216         No point in trying to activate a pad when it's added, it could
13217         be added from the state change function and then we deadlock, the
13218         element has to decide what to do.
13219
13220 2005-05-10  Andy Wingo  <wingo@pobox.com>
13221
13222         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
13223         *all* the arguments.
13224
13225         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
13226         stream lock if it's a FLUSH_DONE; normal flushes don't get the
13227         lock (according to the docs -- if this is wrong change the docs).
13228
13229         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
13230         flush messages in the NULL state.
13231
13232         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
13233         message immediately and return.
13234         (gst_bus_set_flushing): New function. If a bus is flushing, it
13235         flushes out any queued messages and immediately unrefs new
13236         messages. This is so when an element goes to NULL, all of the
13237         unhandled messages coming from it can be freed, and their
13238         references to the element dropped. In other words: message source
13239         ref considered harmful :P
13240
13241         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
13242         we're finished with it.
13243
13244         * gst/gstmessage.c (gst_message_new_state_changed): 
13245
13246 2005-05-10  Wim Taymans  <wim@fluendo.com>
13247
13248         * gst/gstvalue.c: (gst_value_compare_flags),
13249         (gst_value_serialize_flags), (gst_value_deserialize_flags),
13250         (_gst_value_initialize):
13251         Added flags serialize/deserialize/compare code.
13252
13253 2005-05-09  Andy Wingo  <wingo@pobox.com>
13254
13255         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
13256         Intersect the peer's caps with our caps.
13257
13258 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13259
13260         * gst/base/gsttypefindhelper.c: (helper_find_peek):
13261         * gst/elements/gsttypefindelement.c: (find_peek):
13262           Handle negative offsets better. Fixes decodebin.
13263
13264 2005-05-09  Wim Taymans  <wim@fluendo.com>
13265
13266         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
13267         (gst_base_transform_event):
13268         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
13269         Implement accept_caps.
13270         Fix silly lock/unlock mismatch in base class.
13271
13272 2005-05-09  Wim Taymans  <wim@fluendo.com>
13273
13274         * docs/design/draft-push-pull.txt:
13275         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
13276         * gst/elements/gstfilesink.c: (gst_filesink_init),
13277         (gst_filesink_query):
13278         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
13279         (gst_type_find_handle_src_query), (find_element_get_length):
13280         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
13281         * gst/gstelement.h:
13282         * gst/gstmessage.c:
13283         * gst/gstmessage.h:
13284         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
13285         (gst_real_pad_get_caps_unlocked),
13286         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
13287         (gst_pad_event_default_dispatch), (gst_pad_event_default),
13288         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
13289         (gst_real_pad_dispose), (gst_real_pad_finalize),
13290         (gst_pad_load_and_link), (gst_pad_save_thyself),
13291         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
13292         (gst_pad_check_pull_range), (gst_pad_pull_range),
13293         (gst_pad_template_get_type), (gst_pad_template_class_init),
13294         (gst_pad_template_init), (gst_pad_template_dispose),
13295         (name_is_valid), (gst_static_pad_template_get),
13296         (gst_pad_template_new), (gst_static_pad_template_get_caps),
13297         (gst_pad_template_get_caps), (gst_pad_set_element_private),
13298         (gst_pad_get_element_private), (gst_pad_start_task),
13299         (gst_pad_pause_task), (gst_pad_stop_task),
13300         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
13301         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
13302         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
13303         (gst_ghost_pad_new):
13304         * gst/gstpad.h:
13305         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
13306         (gst_query_new_position), (gst_query_set_position),
13307         (gst_query_parse_position), (gst_query_new_convert),
13308         (gst_query_set_convert), (gst_query_parse_convert):
13309         * gst/gstquery.h:
13310         * gst/gstqueryutils.c:
13311         * gst/gstqueryutils.h:
13312         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
13313         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
13314         (gst_queue_handle_src_query):
13315         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13316         (gst_element_query_position), (gst_element_query_convert),
13317         (intersect_caps_func), (gst_pad_query_position),
13318         (gst_pad_query_convert):
13319         * gst/gstutils.h:
13320         * tools/gst-inspect.c: (print_pad_info):
13321         * tools/gst-xmlinspect.c: (print_element_info):
13322         Remove old query functions. Ported old code.
13323         Added position/convert helper functions to gstutils.
13324         Reordered gstpad.c code, grouping relevant things.
13325         Remove gst_message_new(), always need to speficy a specific
13326         message.
13327
13328
13329 2005-05-09  Andy Wingo  <wingo@pobox.com>
13330
13331         * gst/gstiterator.h: Add some includes.
13332
13333         * gst/gstqueryutils.h: Include more headers.
13334
13335         * gst/gstpad.h:
13336         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
13337         some uses of gst_pad_query.
13338
13339         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
13340         NULL out parameters.
13341         (gst_query_new_position): New proc, allocates a new position
13342         query.
13343
13344         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
13345         gstqueryutils.c to the build.
13346
13347         * gst/gststructure.c (gst_structure_set_valist): Implement with
13348         the generic G_VALUE_COLLECT.
13349         
13350 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
13351
13352         * gst/Makefile.am: (gst_headers):
13353         Added gstqueryutils.h to the list of headers to install, that was
13354         a 'nachty' move wingo :)
13355
13356 2005-05-06  Andy Wingo  <wingo@pobox.com>
13357
13358         * gst/gstquery.h
13359         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
13360         GstData, init a memchunk.
13361         (standard_definitions): Add a few query types, deprecate a few.
13362         (gst_query_get_type): New proc.
13363         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
13364         implementation.
13365         (gst_query_new_application, gst_query_get_structure): New public
13366         procs.
13367
13368         * docs/design/draft-query.txt: Removed LINKS from the query types,
13369         because all the rest can be dispatched to other pads -- seemed
13370         ugly to have a query that couldn't be dispatched. internal_links
13371         is fine as a pad method.
13372
13373         * gst/gstpad.h: Add query2 as a pad method, add the new functions
13374         in gstpad.c, but maintain binary compatibility for the moment.
13375         Will fix before 0.9 is out.
13376
13377         * gst/gstqueryutils.c: 
13378         * gst/gstqueryutils.h: New files, implement 3 methods for each
13379         query type: parse_query, parse_response, and set. Probably need an
13380         allocator as well.
13381
13382         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
13383
13384         * gst/elements/gstfilesink.c (gst_filesink_query2):
13385         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
13386         query_types, and formats methods.
13387
13388         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
13389         (gst_pad_set_query2_function): New functions.
13390         (gst_real_pad_init): Set query2_default as the default query2
13391         function. Basically just dispatches to internally linked pads.
13392
13393         Needs review!
13394         
13395         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
13396         without using the atomic operations. Only one thread can possibly
13397         be accessing the data at this point. Changed so as to avoid
13398         gst_atomic operations.
13399
13400 2005-05-06  Wim Taymans  <wim@fluendo.com>
13401
13402         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
13403         Also set caps if we use the fallback buffer alloc.
13404
13405 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
13406
13407         * docs/gst/Makefile.am:
13408         * docs/gst/gstreamer-docs.sgml:
13409         * docs/gst/gstreamer-sections.txt:
13410         * docs/gst/tmpl/gstatomic.sgml:
13411         * docs/gst/tmpl/gstmemchunk.sgml:
13412         * testsuite/elements/struct_i386.h:
13413         * win32/GStreamer.vcproj:
13414         * win32/Makefile:
13415           Purge GstAtomic stuff from docs and win32 makefiles as well
13416
13417 2005-05-06  Wim Taymans  <wim@fluendo.com>
13418
13419         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
13420         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
13421         * gst/gstpad.c: (gst_pad_peer_get_caps):
13422         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
13423         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
13424         (gst_queue_src_activate), (gst_queue_change_state):
13425         * gst/gstqueue.h:
13426         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13427         (intersect_caps_func):
13428         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
13429         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
13430         Some fixes for the peer_get_caps() change.
13431
13432 2005-05-06  Wim Taymans  <wim@fluendo.com>
13433
13434         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
13435         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
13436         (gst_basesink_activate):
13437         Actually do something with error codes returned from the push
13438         functions.
13439
13440 2005-05-06  Wim Taymans  <wim@fluendo.com>
13441
13442         * docs/design/part-element-sink.txt:
13443         * docs/design/part-element-source.txt:
13444         * gst/base/gstbasesink.c: (gst_basesink_class_init),
13445         (gst_basesink_event), (gst_basesink_activate):
13446         * gst/base/gstbasesink.h:
13447         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
13448         (gst_basesrc_activate):
13449         * gst/base/gstbasesrc.h:
13450         * gst/gstelement.c: (gst_element_pads_activate):
13451         Some more documentation.
13452         Fixed scheduling decision in _pads_activate().
13453
13454 2005-05-05  Andy Wingo  <wingo@pobox.com>
13455
13456         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
13457         the test suite.
13458
13459 2005-05-05  Wim Taymans  <wim@fluendo.com>
13460
13461         * gst/base/Makefile.am:
13462         * gst/base/gstbasesink.h:
13463         * gst/base/gstbasesrc.c: (gst_basesrc_init),
13464         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
13465         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
13466         (gst_collectpads_class_init), (gst_collectpads_init),
13467         (gst_collectpads_finalize), (gst_collectpads_new),
13468         (gst_collectpads_set_function), (gst_collectpads_add_pad),
13469         (find_pad), (gst_collectpads_remove_pad),
13470         (gst_collectpads_is_active), (gst_collectpads_collect),
13471         (gst_collectpads_collect_range), (gst_collectpads_start),
13472         (gst_collectpads_stop), (gst_collectpads_peek),
13473         (gst_collectpads_pop), (gst_collectpads_available),
13474         (gst_collectpads_read), (gst_collectpads_flush),
13475         (gst_collectpads_chain):
13476         * gst/base/gstcollectpads.h:
13477         * gst/elements/Makefile.am:
13478         * gst/elements/gstelements.c:
13479         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
13480         (gst_fakesink_get_times), (gst_fakesink_event),
13481         (gst_fakesink_preroll), (gst_fakesink_render):
13482         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
13483         (gst_filesink_init), (gst_filesink_set_location),
13484         (gst_filesink_open_file), (gst_filesink_close_file),
13485         (gst_filesink_pad_query), (gst_filesink_event),
13486         (gst_filesink_render), (gst_filesink_change_state):
13487         * gst/elements/gstfilesink.h:
13488         Added object to help in making collect pad based elements.
13489         Ported filesink.
13490         Make event function in sink baseclass return gboolean.
13491
13492 2005-05-05  Wim Taymans  <wim@fluendo.com>
13493
13494         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
13495         (gst_bin_get_by_name):
13496         * gst/gstbuffer.h:
13497         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
13498         (gst_clock_finalize):
13499         * gst/gstdata.c: (gst_data_replace):
13500         * gst/gstdata.h:
13501         * gst/gstelement.c: (gst_element_request_pad),
13502         (gst_element_pads_activate):
13503         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13504         (gst_object_unref):
13505         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
13506         (gst_pad_set_checkgetrange_function),
13507         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
13508         (gst_pad_check_pull_range), (gst_pad_pull_range),
13509         (gst_static_pad_template_get_caps), (gst_pad_start_task),
13510         (gst_pad_pause_task), (gst_pad_stop_task):
13511         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13512         (gst_element_request_pad), (gst_pad_proxy_getcaps):
13513         Fix name lookup in GstBin.
13514         Added _data_replace() function and _buffer_replace()
13515         Use finalize method to clean up clock.
13516         Fix refcounting on request pads.
13517         Fix pad schedule mode error.
13518         Some more object refcounting debug info,
13519
13520
13521 2005-05-04  Andy Wingo <wingo@pobox.com>
13522
13523         * check/Makefile.am:
13524         * docs/gst/tmpl/gstatomic.sgml:
13525         * docs/gst/tmpl/gstplugin.sgml:
13526         * gst/base/gstbasesink.c: (gst_basesink_activate):
13527         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
13528         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
13529         (gst_basesrc_query), (gst_basesrc_set_property),
13530         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
13531         (gst_basesrc_activate):
13532         * gst/base/gstbasesrc.h:
13533         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
13534         (gst_base_transform_src_activate):
13535         * gst/elements/gstelements.c:
13536         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
13537         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
13538         * gst/elements/gsttee.c: (gst_tee_sink_activate):
13539         * gst/elements/gsttypefindelement.c: (find_element_get_length),
13540         (gst_type_find_element_checkgetrange),
13541         (gst_type_find_element_activate):
13542         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
13543         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
13544         (gst_caps_load_thyself):
13545         * gst/gstelement.c: (gst_element_pads_activate),
13546         (gst_element_save_thyself), (gst_element_restore_thyself):
13547         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
13548         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
13549         * gst/gstpad.h:
13550         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
13551         (gst_xml_parse_file), (gst_xml_parse_memory),
13552         (gst_xml_get_element), (gst_xml_make_element):
13553         * gst/indexers/gstfileindex.c: (gst_file_index_load),
13554         (_file_index_id_save_xml), (gst_file_index_commit):
13555         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
13556         (read_enum), (load_pad_template), (load_feature), (load_plugin),
13557         (load_paths):
13558         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
13559         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
13560         * tools/gst-complete.c: (main):
13561         * tools/gst-compprep.c: (main):
13562         * tools/gst-inspect.c: (print_element_properties_info):
13563         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
13564         * tools/gst-xmlinspect.c: (print_element_properties):
13565         GCC 4 fixen.
13566         
13567 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13568
13569         * gst/gstplugin.c: (gst_plugin_check_module),
13570         (gst_plugin_check_file), (gst_plugin_load_file):
13571             apply patch from #172526 to make register work on MacOSX
13572
13573 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13574
13575         * docs/gst/tmpl/gstconfig.sgml:
13576         * gst/gstconfig.h.in:
13577           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
13578         * testsuite/debug/printf_extension.c: (main):
13579           Do not use GST_PTR_FORMAT on pointers to types with
13580           sizeof < sizeof(gpointer).  Fixes test on 64-bit
13581         * testsuite/elements/property.h:
13582           use correct printf format
13583
13584 2005-05-02  Wim Taymans  <wim@fluendo.com>
13585
13586         * docs/design/draft-push-pull.txt:
13587         * docs/design/draft-query.txt:
13588         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
13589         (gst_basesrc_start):
13590         Added draft for new query API.
13591         Added draft for better selecting scheduling methods.
13592         Make basesrc ignore length if the subclass does not support
13593         it.
13594
13595 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13596
13597         * gst/Makefile.am:
13598           possible fixes for automake-1.5 - _LIBADD is reserved
13599
13600 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13601
13602         * docs/faq/Makefile.am:
13603         * docs/manual/Makefile.am:
13604         * docs/manuals.mak:
13605         * docs/pwg/Makefile.am:
13606         * gst/Makefile.am:
13607           possible fixes for automake-1.5
13608
13609 2005-04-28  Wim Taymans  <wim@fluendo.com>
13610
13611         * gst/base/gstbasesink.c: (gst_basesink_base_init),
13612         (gst_basesink_pad_getcaps), (gst_basesink_init),
13613         (gst_basesink_do_sync):
13614         * gst/gstclock.c: (gst_clock_entry_new):
13615         * gst/gstevent.c: (gst_event_discont_get_value):
13616         * gst/gstpipeline.c: (pipeline_bus_handler),
13617         (gst_pipeline_change_state):
13618         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
13619         Better debugging of clocking info.
13620         Allow NULL values when getting discont values.
13621
13622 2005-04-27  Wim Taymans  <wim@fluendo.com>
13623
13624         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
13625         * check/gst/gstpad.c: (gst_pad_suite):
13626         Increase timeout for checks.
13627
13628 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13629
13630         * check/Makefile.am:
13631           fix the broken rule for cleanup.  Apparently this rule is
13632           only needed on FC2, so maybe this warrants further autotool
13633           inspection.
13634
13635 2005-04-26  Wim Taymans  <wim@fluendo.com>
13636
13637         * gst/gsttrashstack.h:
13638         Ooohh. a nasty one! After having a failed pop() from the stack,
13639         it's possible that the stack is empty. In that case, don't
13640         follow the NULL pointer.
13641
13642 2005-04-25  Wim Taymans  <wim@fluendo.com>
13643
13644         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
13645         (gst_pad_set_checkgetrange_function),
13646         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
13647         (gst_pad_check_pull_range), (gst_pad_pull_range),
13648         (gst_static_pad_template_get_caps), (gst_pad_start_task),
13649         (gst_pad_pause_task), (gst_pad_stop_task):
13650         * gst/gstplugin.c: (gst_plugin_load):
13651         * gst/gstplugin.h:
13652         Remove gst_library_load as it does more harm than good with
13653         the new g_module flags.
13654         Revert bogus caps template check in pad linking, pad caps
13655         are important when linking not the template, which is more
13656         general than the current caps.
13657
13658 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13659
13660         * gst/autoplug/.cvsignore:
13661         * gst/autoplug/Makefile.am:
13662         * gst/autoplug/gstsearchfuncs.c:
13663         * gst/autoplug/gstsearchfuncs.h:
13664         * gst/autoplug/gstspider.c:
13665         * gst/autoplug/gstspider.h:
13666         * gst/autoplug/gstspideridentity.c:
13667         * gst/autoplug/gstspideridentity.h:
13668         * gst/autoplug/spidertest.c:
13669           Die, spider, die.
13670
13671 2005-04-25  Wim Taymans  <wim@fluendo.com>
13672
13673         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
13674         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
13675         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
13676         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
13677         * gst/gstpad.h:
13678         Added stubs for unimplemented functions. 
13679
13680 2005-04-24  David Schleef  <ds@schleef.org>
13681
13682         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
13683         please fix.
13684
13685 2005-04-24  David Schleef  <ds@schleef.org>
13686
13687         Convert everything from GstAtomicInt to g_atomic_int_*, and
13688         remove gstatomic.
13689         * gst/Makefile.am:
13690         * gst/gstatomic.c:
13691         * gst/gstatomic.h:
13692         * gst/gstatomic_impl.h:
13693         * gst/gstbuffer.c:
13694         * gst/gstcaps.c:
13695         * gst/gstcaps.h:
13696         * gst/gstclock.c:
13697         * gst/gstclock.h:
13698         * gst/gstdata.c:
13699         * gst/gstdata.h:
13700         * gst/gstdata_private.h:
13701         * gst/gstevent.c:
13702         * gst/gstinfo.c:
13703         * gst/gstinfo.h:
13704         * gst/gstmessage.c:
13705         * gst/gstobject.c:
13706         * gst/gstobject.h:
13707         * gst/gststructure.c:
13708         * gst/gststructure.h:
13709         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
13710         * gst/gstutils.h:
13711
13712 2005-04-24  David Schleef  <ds@schleef.org>
13713
13714         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
13715         make the regressions tests work.  Remove some code that is no
13716         longer true.
13717         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
13718         Disable warning for pads without templates.
13719
13720 2005-04-24  David Schleef  <ds@schleef.org>
13721
13722         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
13723         functions that handle filtered links.
13724         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
13725         removed functions.
13726         * gst/gstutils.c: Fix/remove utility functions that handle
13727         filtered caps.
13728         * gst/gstutils.h:
13729         * gst/gstvalue.c: Add serialization/deserialization of caps
13730         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
13731         requires fixing so that the filter caps notation creates
13732         a capsfilter element and sets the filter_caps property.  I
13733         think everyone probably wants to keep the shorthand notation.
13734         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
13735         * docs/gst/tmpl/gstpad.sgml:
13736
13737         * gst/elements/gstelements.c: Register capsfilter element.
13738         * gst/Makefile.am: fix spacing
13739         * docs/random/ds/0.9-suggested-changes: random
13740
13741 2005-04-23  David Schleef  <ds@schleef.org>
13742
13743         * gst/elements/Makefile.am:
13744         * gst/elements/gstcapsfilter.c: New element that acts like an
13745         identity, but filters caps.  Will eventually replace filtered
13746         caps in pad linking.
13747         * gst/gstutils.c: (gst_element_create_all_pads): New function
13748         to create all the ALWAYS pads that are registered with an
13749         element class.  This functionality should eventually be
13750         merged in with GstElement initialization.
13751         * gst/gstutils.h:
13752         * testsuite/trigger/README: part of trigger test code that should
13753         have been checked in a long time ago.
13754
13755 2005-04-23  David Schleef  <ds@schleef.org>
13756
13757         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
13758         needed with new versions of libtool (nobody will confirm this),
13759         and hard to carry around.
13760         * gst/autoplug/Makefile.am:
13761         * gst/base/Makefile.am:
13762         * gst/elements/Makefile.am:
13763         * gst/indexers/Makefile.am:
13764         * gst/schedulers/Makefile.am:
13765         * libs/gst/bytestream/Makefile.am:
13766         * libs/gst/control/Makefile.am:
13767         * libs/gst/dataprotocol/Makefile.am:
13768         * libs/gst/getbits/Makefile.am:
13769
13770 2005-04-21  Wim Taymans  <wim@fluendo.com>
13771
13772         * docs/design/draft-push-pull.txt:
13773         * docs/design/part-MT-refcounting.txt:
13774         * docs/design/part-TODO.txt:
13775         * docs/design/part-caps.txt:
13776         * docs/design/part-events.txt:
13777         * docs/design/part-gstbus.txt:
13778         * docs/design/part-gstpipeline.txt:
13779         * docs/design/part-messages.txt:
13780         * docs/design/part-push-pull.txt:
13781         * docs/design/part-query.txt:
13782         Some more docs.
13783
13784 2005-04-21  Wim Taymans  <wim@fluendo.com>
13785
13786         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
13787         (gst_message_new), (gst_message_new_error),
13788         (gst_message_new_warning), (gst_message_new_tag),
13789         (gst_message_new_state_changed), (gst_message_new_application),
13790         (gst_message_get_structure):
13791         * gst/gstmessage.h:
13792         * gst/gststructure.c: (gst_structure_set_parent_refcount),
13793         (gst_structure_copy_conditional):
13794         Use parent refcount in GstMessage to ensure GstStructure
13795         consistency.
13796         Cleaned up headers a bit.
13797         
13798
13799 2005-04-20  Wim Taymans  <wim@fluendo.com>
13800
13801         * gst/base/gstbasesink.c: (gst_basesink_base_init),
13802         (gst_basesink_pad_getcaps), (gst_basesink_init),
13803         (gst_basesink_chain_unlocked):
13804         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
13805         (gst_type_find_helper):
13806         * gst/elements/gsttypefindelement.c:
13807         (gst_type_find_element_have_type), (gst_type_find_element_init),
13808         (stop_typefinding), (gst_type_find_element_handle_event),
13809         (find_suggest), (gst_type_find_element_chain),
13810         (gst_type_find_element_checkgetrange),
13811         (gst_type_find_element_getrange), (do_typefind),
13812         (gst_type_find_element_activate):
13813         * gst/gstbuffer.c: (_gst_buffer_sub_free),
13814         (gst_buffer_default_free), (gst_buffer_default_copy),
13815         (gst_buffer_set_caps):
13816         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
13817         (gst_caps_replace):
13818         * gst/gstmessage.c: (gst_message_new),
13819         (gst_message_new_state_changed):
13820         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
13821         (gst_pad_set_checkgetrange_function),
13822         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
13823         (gst_pad_set_caps), (gst_pad_check_pull_range),
13824         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
13825         * gst/gstpad.h:
13826         * gst/gsttypefind.c: (gst_type_find_register):
13827         Make gst_caps_replace() work like other _replace() functions.
13828         Use _caps_replace() where possible.
13829         Make sure _message_new() initialises its field.
13830         Add gst_static_pad_template_get_caps()
13831
13832
13833 2005-04-18  Andy Wingo  <wingo@pobox.com>
13834
13835         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
13836         on the peer, not the pad. I think that was a typo. Pass an extra
13837         arg to see if random access is possible. Activate the pads as
13838         PULL_RANGE if possible.
13839
13840         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
13841
13842         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
13843         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
13844         to PROP_....
13845
13846 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13847
13848         * docs/faq/using.xml:
13849           Add note on gstreamer-properties (#154996).
13850
13851 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13852
13853         * docs/random/bbb/optional-properties:
13854           Some analysis on optional properties.
13855
13856 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13857
13858         * docs/gst/tmpl/gstelementfactory.sgml:
13859         * gst/gstelement.h:
13860         * gst/gstelementfactory.c: (gst_element_factory_init),
13861         (gst_element_factory_cleanup), (gst_element_register),
13862         (__gst_element_factory_add_static_pad_template),
13863         (gst_element_factory_get_static_pad_templates),
13864         (gst_element_factory_can_src_caps),
13865         (gst_element_factory_can_sink_caps):
13866         * gst/registries/Makefile.am:
13867         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
13868         (gst_xml_registry_class_init), (gst_xml_registry_init),
13869         (gst_xml_registry_new), (gst_xml_registry_set_property),
13870         (gst_xml_registry_get_property), (get_time), (make_dir),
13871         (gst_xml_registry_get_perms_func),
13872         (plugin_times_older_than_recurse), (plugin_times_older_than),
13873         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
13874         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
13875         (add_to_char_array), (read_string), (read_uint), (read_enum),
13876         (load_pad_template), (load_feature), (load_plugin), (load_paths),
13877         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
13878         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
13879         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
13880         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
13881         (gst_xml_registry_rebuild):
13882         * gst/registries/gstlibxmlregistry.h:
13883         * tools/gst-compprep.c: (main):
13884         * tools/gst-inspect.c: (print_pad_templates_info):
13885         * tools/gst-xmlinspect.c: (print_element_info):
13886           Use libxml2 for registry parsing, use staticpadtemplates in
13887           elementfactories. Makes gst_init() +/- 10x faster.
13888
13889 2005-04-12  Wim Taymans  <wim@fluendo.com>
13890
13891         * gst/base/Makefile.am:
13892         * gst/base/gstbasesink.c: (gst_basesink_base_init),
13893         (gst_basesink_pad_getcaps), (gst_basesink_init),
13894         (gst_basesink_event), (gst_basesink_change_state):
13895         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
13896         (gst_basesrc_init), (gst_basesrc_query),
13897         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
13898         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
13899         (gst_basesrc_check_get_range), (gst_basesrc_loop),
13900         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
13901         (gst_basesrc_stop), (gst_basesrc_activate),
13902         (gst_basesrc_change_state):
13903         * gst/base/gsttypefindhelper.c: (helper_find_peek),
13904         (helper_find_suggest), (gst_type_find_helper):
13905         * gst/base/gsttypefindhelper.h:
13906         * gst/elements/Makefile.am:
13907         * gst/elements/gstelements.c:
13908         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
13909         (gst_fakesink_get_times), (gst_fakesink_event),
13910         (gst_fakesink_preroll), (gst_fakesink_render):
13911         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
13912         (gst_fakesrc_init), (gst_fakesrc_event_handler),
13913         (gst_fakesrc_get_property), (gst_fakesrc_create),
13914         (gst_fakesrc_start), (gst_fakesrc_stop):
13915         * gst/elements/gstfakesrc.h:
13916         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
13917         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
13918         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
13919         (gst_filesrc_create_read), (gst_filesrc_create),
13920         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
13921         (gst_filesrc_start):
13922         * gst/elements/gsttypefindelement.c:
13923         (gst_type_find_element_have_type), (gst_type_find_element_init),
13924         (start_typefinding), (stop_typefinding), (push_buffer_store),
13925         (gst_type_find_element_handle_event),
13926         (gst_type_find_element_chain),
13927         (gst_type_find_element_checkgetrange),
13928         (gst_type_find_element_getrange), (do_typefind),
13929         (gst_type_find_element_activate),
13930         (gst_type_find_element_change_state):
13931         * gst/elements/gsttypefindelement.h:
13932         * gst/gstpipeline.c: (pipeline_bus_handler):
13933         Added typefind helper.
13934         Small preroll fix in the base sink.
13935         Disable typefind code in basesrc.
13936         Crude port of typefindelement.
13937         Fakesrc cleanups.
13938
13939
13940 2005-04-11  Wim Taymans  <wim@fluendo.com>
13941
13942         * check/gst/gstbus.c: (gstbus_suite):
13943         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
13944         * check/gstcheck.h:
13945           Fix up the timeout so that the test does not fail.
13946
13947 2005-04-06  Wim Taymans  <wim@fluendo.com>
13948
13949         * gst/base/README:
13950         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
13951         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
13952         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
13953         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
13954         (gst_basesrc_check_get_range), (gst_basesrc_loop),
13955         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
13956         (gst_basesrc_stop), (gst_basesrc_activate),
13957         (gst_basesrc_change_state), (basesrc_find_peek),
13958         (basesrc_find_suggest), (gst_basesrc_type_find):
13959         * gst/base/gstbasesrc.h:
13960         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
13961         (gst_filesrc_class_init), (gst_filesrc_init),
13962         (gst_filesrc_finalize), (gst_filesrc_set_location),
13963         (gst_filesrc_set_property), (gst_filesrc_get_property),
13964         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
13965         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
13966         (gst_filesrc_create_read), (gst_filesrc_create),
13967         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
13968         * gst/elements/gstfilesrc.h:
13969         * gst/gstelement.c: (gst_element_get_state_func),
13970         (gst_element_lost_state), (gst_element_pads_activate):
13971         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
13972         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
13973         (gst_pad_pull_range):
13974         * gst/gstpad.h:
13975         More work on the generic source base class, implement seeking,
13976         query.
13977         Make filesrc extend the base source class.
13978         Added gst_pad_set_checkgetrange_function to GstPad.
13979
13980 2005-04-06  Andy Wingo  <wingo@pobox.com>
13981
13982         * pkgconfig/gstreamer-base.pc.in:
13983         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
13984
13985         * pkgconfig/Makefile.am:
13986         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
13987
13988 2005-04-04  Wim Taymans  <wim@fluendo.com>
13989
13990         * gst/base/Makefile.am:
13991         * gst/base/README:
13992         * gst/base/gstbasesink.c: (gst_basesink_base_init),
13993         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
13994         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
13995         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
13996         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
13997         (gst_basesrc_base_init), (gst_basesrc_class_init),
13998         (gst_basesrc_init), (gst_basesrc_get_formats),
13999         (gst_basesrc_get_query_types), (gst_basesrc_query),
14000         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
14001         (gst_basesrc_set_property), (gst_basesrc_get_property),
14002         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
14003         (gst_basesrc_loop), (gst_basesrc_activate),
14004         (gst_basesrc_change_state):
14005         * gst/base/gstbasesrc.h:
14006         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
14007         (gst_fakesrc_class_init), (gst_fakesrc_init),
14008         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
14009         (gst_fakesrc_get_property), (gst_fakesrc_create):
14010         * gst/elements/gstfakesrc.h:
14011         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
14012         (gst_filesrc_open_file), (gst_filesrc_loop),
14013         (gst_filesrc_activate), (filesrc_find_peek),
14014         (gst_filesrc_type_find):
14015         Made base source class, make fakesrc extend it.
14016         Add comments to basesink class.
14017         Some filesrc cleanup.
14018
14019 2005-03-31  David Schleef  <ds@schleef.org>
14020
14021         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
14022         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
14023         expected to link against libgstreamer.
14024         * gst/base/Makefile.am: link against libgstreamer
14025         * gst/elements/Makefile.am: same
14026
14027 2005-03-31  Andy Wingo  <wingo@pobox.com>
14028
14029         * tests/instantiate/Makefile.am:
14030         * tests/instantiate/caps.c: Add test to test speed of caps copy
14031         and free.
14032
14033         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
14034         GMemChunk to be fair.
14035
14036         * gst/gsttrashstack.h: Remove warning about using the fallback
14037         trash stack implementation, it's still faster than malloc.
14038
14039 2005-03-30  Andy Wingo  <wingo@pobox.com>
14040
14041         * tests/complexity.c: Add a copyright.
14042
14043 2005-03-31  Wim Taymans  <wim@fluendo.com>
14044
14045         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
14046         (gst_base_transform_class_init), (gst_base_transform_init),
14047         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
14048         (gst_base_transform_get_property),
14049         (gst_base_transform_sink_activate),
14050         (gst_base_transform_src_activate),
14051         (gst_base_transform_change_state):
14052         * gst/base/gstbasetransform.h:
14053         * gst/elements/gstidentity.c: (gst_identity_class_init),
14054         (gst_identity_event), (gst_identity_check_perfect),
14055         (gst_identity_transform), (gst_identity_start),
14056         (gst_identity_stop):
14057         Added start/stop methods to transform base class so subclasses 
14058         don't need to deal with state changes even.
14059
14060 2005-03-31  Wim Taymans  <wim@fluendo.com>
14061
14062         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
14063         (gst_event_new_discontinuous), (gst_event_discont_get_value):
14064         * gst/gstevent.h:
14065         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
14066         (gst_pad_pull_range):
14067         Added rate to the discont event to prepare for variable speed
14068         and reverse playback.
14069
14070 2005-03-29  David Schleef  <ds@schleef.org>
14071
14072         * configure.ac:
14073         * testsuite/trigger/Makefile.am:
14074         * testsuite/trigger/trigger.c: A little example program to show
14075         how trigger-based elements can work.
14076
14077 2005-03-29  Wim Taymans  <wim@fluendo.com>
14078
14079         * gst/base/Makefile.am:
14080         * gst/base/README:
14081         * gst/base/gstbasesink.c: (gst_basesink_get_type),
14082         (gst_basesink_base_init), (gst_basesink_class_init),
14083         (gst_basesink_pad_getcaps), (gst_basesink_init),
14084         (gst_basesink_activate), (gst_basesink_change_state):
14085         * gst/base/gstbasesink.h:
14086         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
14087         (gst_base_transform_base_init), (gst_base_transform_finalize),
14088         (gst_base_transform_class_init), (gst_base_transform_init),
14089         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
14090         (gst_base_transform_event), (gst_base_transform_getrange),
14091         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
14092         (gst_base_transform_set_property),
14093         (gst_base_transform_get_property),
14094         (gst_base_transform_sink_activate),
14095         (gst_base_transform_src_activate),
14096         (gst_base_transform_change_state):
14097         * gst/base/gstbasetransform.h:
14098         * gst/elements/gstidentity.c: (gst_identity_finalize),
14099         (gst_identity_class_init), (gst_identity_init),
14100         (gst_identity_event), (gst_identity_check_perfect),
14101         (gst_identity_transform), (gst_identity_set_property),
14102         (gst_identity_get_property), (gst_identity_change_state):
14103         * gst/elements/gstidentity.h:
14104         * gst/gstelement.c: (gst_element_get_state_func),
14105         (gst_element_lost_state), (gst_element_pads_activate):
14106         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
14107         (gst_pad_check_pull_range), (gst_pad_pull_range):
14108         * gst/gstpad.h:
14109         Simplify pad activation.
14110         Added function to check if pull_range can be performed.
14111         Error out when pulling inactive or flushing pads.
14112         Removed const from refcounted types as it does not make sense.
14113         Simplify pad templates in basesink
14114         Added base class for simple 1-to-1 transforms.
14115         Make identity subclass the base transform.
14116
14117 2005-03-29  Andy Wingo  <wingo@pobox.com>
14118
14119         * docs/libs/gstreamer-libs-overrides.txt: 
14120         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
14121         really don't understand what's going on, but like whatever. I want
14122         green buildbot!
14123
14124         * docs/gst/Makefile.am:
14125         * docs/libs/Makefile.am: Dist the overrides files.
14126
14127         * check/Makefile.am (clean-local): Remove .libs directories.
14128
14129         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
14130         elements to EXTRA_DIST, so po/ files are happy.
14131
14132         * po/POTFILES.in: Er, remove it here.
14133
14134         * po/POTFILES: Remove gstspider.c.
14135
14136         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
14137
14138         * docs/libs/gstreamer-libs-docs.sgml: 
14139         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
14140         bytestream.
14141
14142         * tests/complexity.c (main): Set the length of the preroll queue
14143         on the sinks to prevent a lockup.
14144
14145         * libs/gst/dataprotocol/Makefile.am: 
14146         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
14147         the same as the one in check/gst-libs/gdp.c.
14148
14149         * po/, docs/gst/: Commit automatic changes to docs and po files.
14150
14151         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
14152         the versioned libgstbase.
14153
14154         * check/Makefile.am: Depend on an unversioned gst-register, seems
14155         to make autoconf happier.
14156
14157         * gst/base/Makefile.am: Make libgstbase a versioned lib.
14158
14159 2005-03-28  Wim Taymans  <wim@fluendo.com>
14160
14161         * configure.ac:
14162         * docs/design/part-gstelement.txt:
14163         * docs/design/part-negotiation.txt:
14164         * docs/design/part-preroll.txt:
14165         * docs/design/part-scheduling.txt:
14166         * docs/design/part-states.txt:
14167         * gst/Makefile.am:
14168         * gst/base/Makefile.am:
14169         * gst/base/README:
14170         * gst/base/gstbasesink.c: (gst_basesink_get_template),
14171         (gst_basesink_base_init), (gst_basesink_class_init),
14172         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
14173         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
14174         (gst_basesink_set_pad_functions),
14175         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
14176         (gst_basesink_set_property), (gst_basesink_get_property),
14177         (gst_base_sink_get_template), (gst_base_sink_get_caps),
14178         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
14179         (gst_basesink_preroll_queue_push),
14180         (gst_basesink_preroll_queue_empty),
14181         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
14182         (gst_basesink_event), (gst_basesink_get_times),
14183         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
14184         (gst_basesink_chain_unlocked), (gst_basesink_chain),
14185         (gst_basesink_loop), (gst_basesink_activate),
14186         (gst_basesink_change_state):
14187         * gst/base/gstbasesink.h:
14188         * gst/elements/Makefile.am:
14189         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
14190         (gst_fakesink_class_init), (gst_fakesink_init),
14191         (gst_fakesink_set_property), (gst_fakesink_get_property),
14192         (gst_fakesink_get_times), (gst_fakesink_event),
14193         (gst_fakesink_preroll), (gst_fakesink_render),
14194         (gst_fakesink_change_state):
14195         * gst/elements/gstfakesink.h:
14196         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
14197         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
14198         * gst/gstelement.c: (gst_element_add_pad),
14199         (gst_element_get_state_func), (gst_element_abort_state),
14200         (gst_element_commit_state), (gst_element_lost_state),
14201         (gst_element_set_state), (gst_element_pads_activate):
14202         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
14203         * gst/gstpipeline.c: (gst_pipeline_send_event),
14204         (gst_pipeline_change_state):
14205         Added state change code.
14206         Added/updated docs.
14207         Added sink base class, make fakesink extend the base class.
14208         Small cleanups in GstPipeline.
14209
14210 2005-03-26  David Schleef  <ds@schleef.org>
14211
14212         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
14213         is broken and should be implemented in a different library.
14214         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
14215         * gst/gst.h: remove gstcpu.h
14216         * gst/gstcpu.c: remove
14217         * gst/gstcpu.h: remove
14218         * gst/Makefile.am.future: Remove this file.  It's ancient.
14219
14220 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14221
14222         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
14223         (gst_bin_send_event):
14224           Add default event/set_manager handlers. The set_manager handler
14225           takes care that the manager is distributed over kids that were
14226           already in the bin before the manager was set. The event handler
14227           is a utility virtual function that sends the event over all sinks,
14228           so that gst_element_send_event (bin, event); has the expected
14229           behaviour.
14230         * gst/gstpad.c: (gst_pad_event_default):
14231           Re-install default event handling for discontinuities, so that
14232           seeking works without requiring hacks in applications or extra
14233           code in sinks.
14234         * gst/gstpipeline.c: (gst_pipeline_class_init),
14235         (gst_pipeline_send_event):
14236           Half hack, half utility: set a pipeline to PAUSED for seek events,
14237           since that is the only way we can guarantee a/v sync. Means that
14238           you can do gst_element_seek (pipeline, method, pos); on a pipeline
14239           and it "just works".
14240
14241 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14242
14243         * gst/gstpipeline.c: (gst_pipeline_use_clock):
14244           Lock/unlock mismatch.
14245
14246 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
14247
14248         * docs/faq/gst-uninstalled:
14249           add gst-plugins-base
14250         * docs/gst/Makefile.am:
14251           don't error out until docs are fixed
14252         * docs/gst/gstreamer.types:
14253           remove thread
14254
14255 2005-03-22  Wim Taymans  <wim@fluendo.com>
14256
14257         * check/Makefile.am:
14258         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
14259         * gst/gststructure.c: (gst_structure_set_valist),
14260         (gst_structure_copy_conditional):
14261         Activated more tests.
14262         Added message test.
14263         Added G_TYPE_POINTER to GstStructure.
14264         
14265
14266 2005-03-22  Wim Taymans  <wim@fluendo.com>
14267
14268         * docs/design/part-TODO.txt:
14269         * docs/design/part-events.txt:
14270         * docs/design/part-gstbin.txt:
14271         * docs/design/part-gstbus.txt:
14272         * docs/design/part-gstpipeline.txt:
14273         * docs/design/part-messages.txt:
14274         * gst/gstbus.c:
14275         * gst/gstmessage.c:
14276         Docs updates
14277
14278 2005-03-21  Wim Taymans  <wim@fluendo.com>
14279
14280         * gst/gstbus.c: (gst_bus_post):
14281         Fix copy-and-paste error.
14282
14283 2005-03-21  Wim Taymans  <wim@fluendo.com>
14284
14285         * check/Makefile.am:
14286         * gst/Makefile.am:
14287         * gst/elements/Makefile.am:
14288         * gst/elements/gstelements.c:
14289         * gst/elements/gstfakesink.c: (gst_fakesink_init),
14290         (gst_fakesink_event), (gst_fakesink_chain):
14291         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
14292         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
14293         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
14294         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
14295         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
14296         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
14297         (gst_fakesrc_loop), (gst_fakesrc_activate),
14298         (gst_fakesrc_change_state):
14299         * gst/elements/gstfakesrc.h:
14300         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
14301         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
14302         (gst_filesrc_open_file), (gst_filesrc_loop),
14303         (gst_filesrc_activate), (gst_filesrc_change_state),
14304         (filesrc_find_peek), (filesrc_find_suggest),
14305         (gst_filesrc_type_find):
14306         * gst/elements/gstidentity.c: (gst_identity_finalize),
14307         (gst_identity_class_init), (gst_identity_init),
14308         (gst_identity_proxy_getcaps), (identity_queue_push),
14309         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
14310         (gst_identity_getrange), (gst_identity_chain),
14311         (gst_identity_sink_loop), (gst_identity_src_loop),
14312         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
14313         (gst_identity_set_property), (gst_identity_get_property),
14314         (gst_identity_change_state):
14315         * gst/elements/gstidentity.h:
14316         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
14317         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
14318         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
14319         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
14320         (gst_tee_sink_activate):
14321         * gst/elements/gsttee.h:
14322         * gst/gst.c: (gst_register_core_elements), (init_post):
14323         * gst/gst.h:
14324         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
14325         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
14326         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
14327         (gst_bin_change_state):
14328         * gst/gstbin.h:
14329         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
14330         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
14331         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
14332         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
14333         (gst_bus_set_sync_handler), (gst_bus_create_watch),
14334         (bus_watch_callback), (bus_watch_destroy),
14335         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
14336         (poll_timeout), (gst_bus_poll):
14337         * gst/gstbus.h:
14338         * gst/gstcaps.h:
14339         * gst/gstdata.h:
14340         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
14341         (gst_element_post_message), (gst_element_message_full),
14342         (gst_element_get_state_func), (gst_element_get_state),
14343         (gst_element_abort_state), (gst_element_commit_state),
14344         (gst_element_lost_state), (gst_element_set_state),
14345         (gst_element_pads_activate), (gst_element_change_state),
14346         (gst_element_dispose), (gst_element_set_manager_func),
14347         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
14348         (gst_element_set_manager), (gst_element_get_manager),
14349         (gst_element_set_bus), (gst_element_get_bus),
14350         (gst_element_set_scheduler), (gst_element_get_scheduler):
14351         * gst/gstelement.h:
14352         * gst/gstevent.c: (gst_event_new_segment_seek),
14353         (gst_event_new_flush):
14354         * gst/gstevent.h:
14355         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
14356         (_gst_message_free), (gst_message_get_type), (gst_message_new),
14357         (gst_message_new_eos), (gst_message_new_error),
14358         (gst_message_new_warning), (gst_message_new_tag),
14359         (gst_message_new_state_changed), (gst_message_new_application),
14360         (gst_message_get_structure), (gst_message_parse_tag),
14361         (gst_message_parse_state_changed), (gst_message_parse_error),
14362         (gst_message_parse_warning):
14363         * gst/gstmessage.h:
14364         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
14365         (gst_real_pad_set_property), (gst_pad_set_active),
14366         (gst_pad_is_active), (gst_pad_set_blocked_async),
14367         (gst_pad_set_blocked), (gst_pad_is_blocked),
14368         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
14369         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
14370         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
14371         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
14372         (gst_pad_link_filtered), (gst_pad_relink_filtered),
14373         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
14374         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
14375         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
14376         (gst_pad_set_caps), (gst_pad_configure_sink),
14377         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
14378         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
14379         (gst_real_pad_dispose), (gst_real_pad_finalize),
14380         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
14381         (gst_pad_event_default_dispatch), (gst_pad_event_default),
14382         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
14383         * gst/gstpad.h:
14384         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
14385         (pipeline_bus_handler), (gst_pipeline_change_state),
14386         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
14387         * gst/gstpipeline.h:
14388         * gst/gstprobe.h:
14389         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
14390         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
14391         (gst_queue_link_src), (gst_queue_bufferalloc),
14392         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
14393         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
14394         (gst_queue_loop), (gst_queue_handle_src_event),
14395         (gst_queue_handle_src_query), (gst_queue_src_activate),
14396         (gst_queue_change_state):
14397         * gst/gstqueue.h:
14398         * gst/gstscheduler.c: (gst_scheduler_init),
14399         (gst_scheduler_dispose), (gst_scheduler_create_task),
14400         (gst_scheduler_factory_create):
14401         * gst/gstscheduler.h:
14402         * gst/gststructure.c: (gst_structure_get_type),
14403         (gst_structure_copy_conditional):
14404         * gst/gststructure.h:
14405         * gst/gsttaginterface.h:
14406         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
14407         (gst_task_init), (gst_task_dispose), (gst_task_create),
14408         (gst_task_get_state), (gst_task_start), (gst_task_stop),
14409         (gst_task_pause):
14410         * gst/gsttask.h:
14411         * gst/gstthread.c:
14412         * gst/gstthread.h:
14413         * gst/gsttypes.h:
14414         * gst/schedulers/Makefile.am:
14415         * gst/schedulers/cothreads_compat.h:
14416         * gst/schedulers/entryscheduler.c:
14417         * gst/schedulers/faircothreads.c:
14418         * gst/schedulers/faircothreads.h:
14419         * gst/schedulers/fairscheduler.c:
14420         * gst/schedulers/gstbasicscheduler.c:
14421         * gst/schedulers/gstoptimalscheduler.c:
14422         * gst/schedulers/gthread-cothreads.h:
14423         * gst/schedulers/threadscheduler.c:
14424         (gst_thread_scheduler_task_get_type),
14425         (gst_thread_scheduler_task_class_init),
14426         (gst_thread_scheduler_task_init),
14427         (gst_thread_scheduler_task_start),
14428         (gst_thread_scheduler_task_stop),
14429         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
14430         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
14431         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
14432         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
14433         (plugin_init):
14434         * libs/gst/Makefile.am:
14435         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
14436         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
14437         (gst_file_pad_parent_set):
14438         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
14439         (gst_dp_event_from_packet):
14440         * tests/complexity.c: (main):
14441         * tests/mass_elements.c: (main):
14442         * testsuite/states/locked.c: (message_received), (main):
14443         * testsuite/states/parent.c: (main):
14444         * tools/gst-inspect.c: (print_element_flag_info),
14445         (print_implementation_info), (print_pad_info):
14446         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
14447         (main):
14448         * tools/gst-md5sum.c: (event_loop), (main):
14449         * tools/gst-typefind.c: (main):
14450         * tools/gst-xmlinspect.c: (print_element_info):
14451         Next big merge.
14452         Added GstBus for mainloop integration.
14453         Added GstMessage for sending notifications on the bus.
14454         Added GstTask as an abstraction for pipeline entry points.
14455         Removed GstThread.
14456         Removed Schedulers.
14457         Simplified GstQueue for multithreaded core.
14458         Made _link threadsafe, removed old capsnego.
14459         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
14460         Added pad blocking functions.
14461         Reworked scheduling functions in GstPad to prepare for
14462         scheduling updates soon.
14463         Moved events out of data stream.
14464         Simplified GstEvent types.
14465         Added return values to push/pull.
14466         Removed clocking from GstElement.
14467         Added prototypes for state change function for next merge.
14468         Removed iterate from bins and state change management.
14469         Fixed some elements, disabled others for now.
14470         Fixed -inspect and -launch.
14471         Added check for GstBus.
14472
14473 2005-03-10  Wim Taymans  <wim@fluendo.com>
14474
14475         * docs/design/part-MT-refcounting.txt:
14476         * docs/design/part-clocks.txt:
14477         * docs/design/part-gstelement.txt:
14478         * docs/design/part-gstobject.txt:
14479         * docs/design/part-standards.txt:
14480         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
14481         (gst_bin_remove_func), (gst_bin_remove):
14482         * gst/gstbin.h:
14483         * gst/gstbuffer.c:
14484         * gst/gstcaps.h:
14485         * testsuite/clock/clock1.c: (main):
14486         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
14487         (main):
14488         * testsuite/dlopen/loadgst.c: (do_test):
14489         * testsuite/refcounting/bin.c: (add_remove_test1),
14490         (add_remove_test2), (main):
14491         * testsuite/refcounting/element.c: (main):
14492         * testsuite/refcounting/element_pad.c: (main):
14493         * testsuite/refcounting/pad.c: (main):
14494         * tools/gst-launch.c: (sigint_handler_sighandler):
14495         * tools/gst-typefind.c: (main):
14496         Doc updates.
14497         Added doc about clock.
14498         removed gst_bin_iterate_recurse_up(), marked methods
14499         for removal.
14500         Fix more testsuites.
14501
14502 2005-03-09  Wim Taymans  <wim@fluendo.com>
14503
14504         * gst/gstpad.c: (gst_pad_get_direction),
14505         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
14506         (gst_pad_collect_valist):
14507         * testsuite/bins/interface.c: (main):
14508         * testsuite/caps/audioscale.c: (test_caps):
14509         * testsuite/caps/caps.c: (test1), (test2), (test3):
14510         * testsuite/caps/deserialize.c: (main):
14511         * testsuite/caps/enumcaps.c: (main):
14512         * testsuite/caps/filtercaps.c: (main):
14513         * testsuite/caps/intersect2.c: (main):
14514         * testsuite/caps/random.c: (main):
14515         * testsuite/caps/renegotiate.c: (my_fixate), (main):
14516         * testsuite/caps/sets.c: (check_caps):
14517         * testsuite/caps/simplify.c: (check_caps), (main):
14518         * testsuite/caps/subtract.c: (check_caps):
14519         Fix _pad_get_direction wrt ghostpads.
14520         Fix caps testsuite.
14521
14522 2005-03-09  Wim Taymans  <wim@fluendo.com>
14523
14524         * check/Makefile.am:
14525         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
14526         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
14527         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
14528         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
14529         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
14530         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
14531         (gst_bin_remove), (gst_bin_iterate_recurse_up),
14532         (bin_element_is_sink), (gst_bin_iterate_sinks),
14533         (gst_bin_iterate_all_by_interface):
14534         * gst/gstbin.h:
14535         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
14536         (gst_element_change_state), (gst_element_dispose),
14537         (gst_element_finalize), (gst_element_set_loop_function):
14538         * gst/gstelement.h:
14539         * gst/gstiterator.c: (find_custom_fold_func):
14540         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
14541         (gst_pad_collectv), (gst_pad_collect_valist),
14542         (gst_pad_template_new):
14543         * gst/gstpipeline.c: (gst_pipeline_class_init),
14544         (gst_pipeline_dispose), (gst_pipeline_set_property),
14545         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
14546         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
14547         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
14548         * gst/gstutils.h:
14549         * gst/schedulers/entryscheduler.c:
14550         * gst/schedulers/gstbasicscheduler.c:
14551         (gst_basic_scheduler_cothreaded_chain),
14552         (gst_basic_scheduler_chain_add_element):
14553         * testsuite/bins/interface.c: (main):
14554         Added GstBin test.
14555         Added GstSystemClock test.
14556         Implemented clock distribution code in GstBin.
14557         Implemented iterate sinks method for future use.
14558         Rearranged gstelement.h
14559         Fix GstIterator comparison bug.
14560         Moved some code to GstPipeline, mostly clocking related.
14561
14562 2005-03-09  Wim Taymans  <wim@fluendo.com>
14563
14564         * configure.ac:
14565         * gst/gst_private.h:
14566         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
14567         (gst_bin_remove_func), (gst_bin_remove),
14568         (gst_bin_get_by_name_recurse_up):
14569         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
14570         (gst_clock_id_compare_func), (gst_clock_id_wait),
14571         (gst_clock_id_wait_async), (gst_clock_init),
14572         (gst_clock_adjust_unlocked), (gst_clock_get_time):
14573         * gst/gstelement.h:
14574         * gst/gstinfo.c: (_gst_debug_init):
14575         * gst/gstobject.h:
14576         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
14577         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
14578         * gst/gstpad.h:
14579         Bump version number, we're now 0.9.0
14580         Add future debugging category.
14581         Fix NULL _unref() in _get_by_name_recurse_up
14582         Rearrange gstpad.h.
14583         Update some docs.
14584
14585 2005-03-08  Wim Taymans  <wim@fluendo.com>
14586
14587         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
14588         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
14589         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
14590         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
14591         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
14592         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
14593         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
14594         * gst/elements/gstidentity.c: (gst_identity_class_init):
14595         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
14596         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
14597         * gst/elements/gstshaper.c: (gst_shaper_class_init):
14598         * gst/elements/gststatistics.c: (gst_statistics_class_init):
14599         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
14600         (gst_tee_link):
14601         * gst/gstelement.c: (gst_element_class_init),
14602         (gst_element_base_class_init), (gst_element_init),
14603         (gst_element_get_random_pad), (gst_element_wait_state_change),
14604         (gst_element_change_state), (gst_element_dispose),
14605         (gst_element_finalize), (gst_element_set_loop_function):
14606         * gst/gstelement.h:
14607         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
14608         * gst/gstthread.c: (gst_thread_class_init),
14609         (gst_thread_release_children_locks), (gst_thread_change_state):
14610         * gst/schedulers/gstbasicscheduler.c:
14611         (gst_basic_scheduler_loopfunc_wrapper),
14612         (gst_basic_scheduler_chain_wrapper),
14613         (gst_basic_scheduler_src_wrapper),
14614         (gst_basic_scheduler_remove_element):
14615         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
14616         Remove threadsafe properties. Fix elements because GObject
14617         complains when installing a property before declaring a
14618         set/get_property handler.
14619         Rearrange gstelement.h file, use STATE macros for state locks.
14620         Free mutexes in the finalize method instead of dispose.
14621
14622 2005-03-08  Wim Taymans  <wim@fluendo.com>
14623
14624         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
14625         * gst/gstthread.c: (gst_thread_release_children_locks):
14626         Added parentage check.
14627         Fix build og GstThread again.
14628
14629 2005-03-08  Wim Taymans  <wim@fluendo.com>
14630
14631         * docs/design/part-MT-refcounting.txt:
14632         * docs/design/part-conventions.txt:
14633         * docs/design/part-gstobject.txt:
14634         * docs/design/part-relations.txt:
14635         * docs/design/part-standards.txt:
14636         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
14637         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
14638         (gst_bin_get_by_name), (gst_bin_get_by_interface),
14639         (gst_bin_iterate_all_by_interface):
14640         * gst/gstbuffer.h:
14641         * gst/gstclock.h:
14642         * gst/gstelement.c: (gst_element_class_init),
14643         (gst_element_change_state), (gst_element_set_loop_function):
14644         * gst/gstelement.h:
14645         * gst/gstiterator.c:
14646         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
14647         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
14648         (gst_object_dispatch_properties_changed), (gst_object_set_name),
14649         (gst_object_set_parent), (gst_object_unparent),
14650         (gst_object_check_uniqueness):
14651         * gst/gstobject.h:
14652         Docs updates, clean up some headers.
14653
14654 2005-03-07  Wim Taymans  <wim@fluendo.com>
14655
14656         * check/.cvsignore:
14657         * check/Makefile.am:
14658         * check/gst-libs/.cvsignore:
14659         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
14660         * check/gst/.cvsignore:
14661         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
14662         (START_TEST), (gstbus_suite), (main):
14663         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
14664         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
14665         (gst_data_suite), (main):
14666         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
14667         (add_fold_func), (gstiterator_suite), (main):
14668         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
14669         (thread_name_object), (thread_name_object_default),
14670         (gst_object_name_compare), (gst_object_suite), (main):
14671         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
14672         (gst_pad_suite), (main):
14673         * check/gstcheck.c: (gst_check_log_message_func),
14674         (gst_check_log_critical_func), (gst_check_init):
14675         * check/gstcheck.h:
14676         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
14677         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
14678         Added checks.
14679
14680 2005-03-07  Wim Taymans  <wim@fluendo.com>
14681
14682         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
14683         (gst_list_iterator_next), (gst_list_iterator_resync),
14684         (gst_list_iterator_free), (gst_iterator_new_list),
14685         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
14686         (gst_iterator_free), (gst_iterator_push), (filter_next),
14687         (filter_resync), (filter_uninit), (filter_free),
14688         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
14689         (gst_iterator_foreach), (find_custom_fold_func),
14690         (gst_iterator_find_custom):
14691         * gst/gstiterator.h:
14692         Added missing files.
14693
14694 2005-03-07  Wim Taymans  <wim@fluendo.com>
14695
14696         * Makefile.am:
14697         * configure.ac:
14698         * docs/design/part-MT-refcounting.txt:
14699         * docs/design/part-conventions.txt:
14700         * docs/design/part-gstobject.txt:
14701         * docs/design/part-relations.txt:
14702         * examples/mixer/mixer.c: (main):
14703         * examples/thread/thread.c: (eos), (main):
14704         * gst/Makefile.am:
14705         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
14706         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
14707         (gst_spider_plug_from_srcpad):
14708         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
14709         (gst_spider_identity_change_state),
14710         (gst_spider_identity_sink_loop_type_finding):
14711         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
14712         * gst/elements/gstidentity.c: (gst_identity_init):
14713         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
14714         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
14715         * gst/elements/gsttypefindelement.c: (free_entry):
14716         * gst/gst.c:
14717         * gst/gst.h:
14718         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
14719         (gst_bin_set_clock_func), (gst_bin_auto_clock),
14720         (gst_bin_set_index), (gst_bin_set_element_sched),
14721         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
14722         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
14723         (gst_bin_iterate_elements), (iterate_child_recurse),
14724         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
14725         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
14726         (compare_interface), (gst_bin_get_by_interface),
14727         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
14728         * gst/gstbin.h:
14729         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
14730         (gst_buffer_default_free), (gst_buffer_default_copy),
14731         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
14732         (gst_buffer_create_sub):
14733         * gst/gstbuffer.h:
14734         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
14735         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
14736         (gst_caps_unref), (gst_static_caps_get),
14737         (gst_caps_remove_and_get_structure), (gst_caps_append),
14738         (gst_caps_append_structure), (gst_caps_remove_structure),
14739         (gst_caps_copy_nth), (gst_caps_set_simple),
14740         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
14741         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
14742         (gst_caps_structure_intersect_field), (gst_caps_intersect),
14743         (gst_caps_structure_subtract_field), (gst_caps_subtract),
14744         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
14745         (gst_caps_structure_figure_out_union),
14746         (gst_caps_switch_structures), (gst_caps_do_simplify),
14747         (gst_caps_replace), (gst_caps_from_string),
14748         (gst_caps_copy_conditional):
14749         * gst/gstcaps.h:
14750         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
14751         (_gst_clock_id_free), (gst_clock_id_unref),
14752         (gst_clock_id_compare_func), (gst_clock_id_wait),
14753         (gst_clock_id_wait_async), (gst_clock_class_init),
14754         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
14755         (gst_clock_get_time), (gst_clock_set_time_adjust),
14756         (gst_clock_set_property), (gst_clock_get_property):
14757         * gst/gstclock.h:
14758         * gst/gstcompat.h:
14759         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
14760         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
14761         * gst/gstdata.h:
14762         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
14763         (gst_element_requires_clock), (gst_element_provides_clock),
14764         (gst_element_set_clock), (gst_element_clock_wait),
14765         (gst_element_wait), (gst_element_set_time_delay),
14766         (gst_element_is_indexable), (gst_element_add_pad),
14767         (gst_element_add_ghost_pad), (gst_element_remove_pad),
14768         (pad_compare_name), (gst_element_get_static_pad),
14769         (gst_element_request_pad), (gst_element_get_request_pad),
14770         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
14771         (gst_element_class_get_pad_template_list),
14772         (gst_element_class_get_pad_template), (gst_element_error_func),
14773         (gst_element_get_random_pad), (gst_element_get_event_masks),
14774         (gst_element_send_event), (gst_element_seek),
14775         (gst_element_get_query_types), (gst_element_query),
14776         (gst_element_get_formats), (gst_element_convert),
14777         (gst_element_is_locked_state), (gst_element_set_locked_state),
14778         (gst_element_sync_state_with_parent), (gst_element_change_state),
14779         (gst_element_finalize), (gst_element_yield),
14780         (gst_element_interrupt), (gst_element_set_scheduler),
14781         (gst_element_get_scheduler), (gst_element_set_loop_function):
14782         * gst/gstelement.h:
14783         * gst/gstevent.h:
14784         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
14785         (gst_format_get_by_nick), (gst_format_get_details),
14786         (gst_format_iterate_definitions):
14787         * gst/gstformat.h:
14788         * gst/gstindex.c: (gst_index_gtype_resolver):
14789         * gst/gstinfo.c:
14790         * gst/gstinfo.h:
14791         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
14792         (gst_mem_chunk_free):
14793         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
14794         (gst_object_ref), (gst_object_unref), (gst_object_sink),
14795         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
14796         (gst_object_dispatch_properties_changed),
14797         (gst_object_set_name_default), (gst_object_set_name),
14798         (gst_object_get_name), (gst_object_set_name_prefix),
14799         (gst_object_get_name_prefix), (gst_object_set_parent),
14800         (gst_object_get_parent), (gst_object_unparent),
14801         (gst_object_check_uniqueness), (gst_object_save_thyself),
14802         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
14803         (gst_object_set_property), (gst_object_get_property),
14804         (gst_object_get_path_string):
14805         * gst/gstobject.h:
14806         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
14807         (gst_real_pad_init), (gst_real_pad_get_property),
14808         (gst_pad_custom_new), (gst_pad_get_direction),
14809         (gst_pad_set_active), (gst_pad_is_active),
14810         (gst_pad_set_event_function), (gst_pad_is_linked),
14811         (gst_pad_link_free), (gst_pad_link_intersect),
14812         (gst_pad_link_fixate), (gst_pad_set_caps),
14813         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
14814         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
14815         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
14816         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
14817         (gst_pad_get_caps), (gst_pad_peer_get_caps),
14818         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
14819         (gst_pad_realize), (gst_pad_get_allowed_caps),
14820         (gst_real_pad_dispose), (gst_real_pad_finalize),
14821         (gst_pad_collectv), (gst_pad_collect_valist),
14822         (gst_pad_template_dispose), (gst_pad_template_new),
14823         (gst_pad_get_internal_links):
14824         * gst/gstpad.h:
14825         * gst/gstpipeline.c: (gst_pipeline_dispose),
14826         (gst_pipeline_change_state):
14827         * gst/gstpipeline.h:
14828         * gst/gstplugin.c:
14829         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
14830         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
14831         * gst/gstpluginfeature.h:
14832         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
14833         * gst/gstquery.c: (_gst_query_type_initialize),
14834         (gst_query_type_register), (gst_query_type_get_by_nick),
14835         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
14836         * gst/gstquery.h:
14837         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
14838         * gst/gstscheduler.c: (gst_scheduler_add_element),
14839         (gst_scheduler_factory_create):
14840         * gst/gststructure.c: (gst_structure_set_parent_refcount),
14841         (gst_structure_free), (gst_structure_set_name),
14842         (gst_structure_id_set_value), (gst_structure_set_value),
14843         (gst_structure_set_valist), (gst_structure_remove_field),
14844         (gst_structure_remove_fields),
14845         (gst_structure_remove_fields_valist),
14846         (gst_structure_remove_all_fields), (gst_structure_foreach),
14847         (gst_structure_map_in_place),
14848         (gst_caps_structure_fixate_field_nearest_int),
14849         (gst_caps_structure_fixate_field_nearest_double):
14850         * gst/gststructure.h:
14851         * gst/gstsystemclock.c: (gst_system_clock_class_init),
14852         (gst_system_clock_init), (gst_system_clock_dispose),
14853         (gst_system_clock_async_thread),
14854         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
14855         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
14856         * gst/gstsystemclock.h:
14857         * gst/gsttag.c: (gst_tag_list_add_value_internal),
14858         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
14859         * gst/gsttaginterface.c:
14860         * gst/gstthread.c: (gst_thread_dispose),
14861         (gst_thread_release_children_locks), (gst_thread_change_state),
14862         (gst_thread_main_loop):
14863         * gst/gsttrashstack.h:
14864         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
14865         * gst/gsttypes.h:
14866         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
14867         (gst_element_request_pad), (gst_element_get_pad_from_template),
14868         (gst_element_request_compatible_pad),
14869         (gst_element_get_compatible_pad_filtered),
14870         (gst_element_get_compatible_pad), (gst_element_state_get_name),
14871         (gst_element_link_pads_filtered), (gst_element_link_filtered),
14872         (gst_element_link_many), (gst_element_link),
14873         (gst_element_link_pads), (gst_element_unlink_pads),
14874         (gst_element_unlink_many), (gst_element_unlink),
14875         (gst_pad_can_link_filtered), (gst_pad_can_link),
14876         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
14877         (gst_object_default_error), (gst_bin_add_many),
14878         (gst_bin_remove_many), (gst_element_populate_std_props),
14879         (gst_element_class_install_std_props), (gst_buffer_merge),
14880         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
14881         (link_fold_func), (gst_pad_proxy_setcaps):
14882         * gst/gstutils.h:
14883         * gst/gstvalue.c: (gst_value_deserialize_string):
14884         * gst/parse/grammar.y:
14885         * gst/schedulers/gstbasicscheduler.c:
14886         (gst_basic_scheduler_cothreaded_chain),
14887         (gst_basic_scheduler_chain_recursive_add),
14888         (gst_basic_scheduler_pad_link):
14889         * gst/schedulers/gstoptimalscheduler.c:
14890         (get_group_schedule_function),
14891         (gst_opt_scheduler_state_transition),
14892         (gst_opt_scheduler_add_element), (element_get_reachables_func):
14893         * libs/gst/bytestream/bytestream.c:
14894         * libs/gst/dataprotocol/dataprotocol.c:
14895         (gst_dp_header_from_buffer):
14896         * po/nb.po:
14897         * po/ru.po:
14898         * tests/threadstate/threadstate2.c: (eos):
14899         * tools/gst-compprep.c: (main):
14900         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
14901         (print_pad_info), (print_children_info):
14902         * tools/gst-launch.c: (idle_func), (main):
14903         * tools/gst-md5sum.c: (idle_func), (main):
14904         * tools/gst-xmlinspect.c: (print_element_info):
14905         First THREADED backport attempt, focusing on adding locks and
14906         making sure the API is threadsafe. Needs more work. More docs
14907         follow this week.
14908
14909 2005-02-24  Andy Wingo  <wingo@pobox.com>
14910
14911         * tests/bench-complexity.scm:
14912         * tests/complexity.gnuplot: New files, good for running complexity
14913         benchmarks.
14914
14915         * tests/Makefile.am:
14916         * tests/complexity.c: New test, sets up N elements, at each level
14917         teeing into M streams per element. Eeeenteresting.
14918
14919         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
14920         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
14921         running bench-mass_elements.scm.
14922
14923         * tests/bench-mass_elements.scm: New script, runs mass_elements
14924         for various numbers of identities, outputting the results to a
14925         file. Requires guile 1.6. Just for testing.
14926
14927 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14928
14929         * gst/schedulers/fairscheduler.c:
14930           compile with debug disabled
14931
14932 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14933
14934         * configure.ac:
14935           hunting season on 0.9 is now OPEN